Commit graph

1162 commits

Author SHA1 Message Date
Abhinav b99deb59d1 add sync status 2023-10-26 21:44:59 +05:30
Abhinav Kumar 61d64ee44e
show photo-viewer on editor closed (#1404) 2023-10-26 15:33:55 +00:00
Abhinav 11ca5332f4 show photo-viewer if editor closed 2023-10-26 16:45:08 +05:30
Abhinav eeb5c7bfdd add logs for clip 2023-10-26 13:17:50 +05:30
Abhinav 47b7339602 filter clip results 2023-10-26 12:58:28 +05:30
Abhinav 81f7fc504d sort preview files based on clip score 2023-10-26 12:24:22 +05:30
Abhinav 44e0476098 update embedding crypto logic 2023-10-26 12:21:42 +05:30
Crowdin Bot 057b0f0d64 New Crowdin translations by GitHub Action 2023-10-26 05:37:33 +00:00
Abhinav Kumar d4803eeb6b
Image editor overlay (#1396) 2023-10-26 05:36:36 +00:00
Abhinav bc98d821e9 remove commented code 2023-10-26 11:04:57 +05:30
httpjamesm fc00bf9aca
fix: filter application race 2023-10-25 22:05:02 -04:00
httpjamesm 46b003734b
fix: apply hq filters in realtime, equitable blur 2023-10-25 22:04:05 -04:00
Abhinav 0f57002f69 break if embedding length is incorrect 2023-10-25 23:27:16 +05:30
Abhinav b33478522f only enable clip on electron 2023-10-25 22:39:54 +05:30
Abhinav b32ee4bc7d fix search issue 2023-10-25 22:37:35 +05:30
Abhinav 5dc226cfe7 run clip only for personal files 2023-10-25 20:57:53 +05:30
Abhinav 6eb61117e5 fix save embeddings 2023-10-25 20:47:54 +05:30
Abhinav 5708cbb576 refactor code 2023-10-25 14:39:34 +05:30
Abhinav bbd9bda03e update exportCanvasToBlob to promise based 2023-10-25 14:19:14 +05:30
Abhinav 9495e96268 use getFile to get the original file for converion 2023-10-25 14:03:07 +05:30
Abhinav 7ee142169b refactor downloadEditedPhoto and saveCopyToEnte functions 2023-10-25 13:44:25 +05:30
Abhinav 22f5325060 refactor code and add error logging 2023-10-25 13:39:41 +05:30
Abhinav bbb4986c62 clean up code 2023-10-25 12:58:48 +05:30
Abhinav 3f589965ea add logging to functin 2023-10-25 12:54:48 +05:30
Abhinav 0642befcad refactor setShowEditButton update logic and handler functions 2023-10-25 12:49:23 +05:30
Abhinav ea01f24686 use appContext message box for close confirmation message 2023-10-25 12:37:57 +05:30
Abhinav 7b681859d3 add more info to response not received and axios setup error flow 2023-10-25 12:12:00 +05:30
Abhinav 48ee528397 log cf-id and x-request-id in logs 2023-10-25 11:54:58 +05:30
Crowdin Bot 7d5e9f7bf3 New Crowdin translations by GitHub Action 2023-10-25 00:59:03 +00:00
Abhinav 733a107d8b add more logs to the flow 2023-10-23 13:20:36 +05:30
Abhinav 0d48c750f9 fix clip embedding blocking sync 2023-10-23 10:31:01 +05:30
httpjamesm 1599942605
fix: hide edit on videos, live photos and raw 2023-10-21 13:04:25 -04:00
httpjamesm 5be3729fb8
fix: allow closing if no edits made 2023-10-21 12:20:05 -04:00
Abhinav 1390854cfd add clip translation 2023-10-20 09:36:09 +05:30
Abhinav 47794d03cb fix search 2023-10-20 09:35:22 +05:30
Abhinav 3aae181c7e add logs 2023-10-20 09:31:30 +05:30
httpjamesm bfb9604ed9
style: remove unnecessary flex on parent backdrop 2023-10-19 22:40:12 -04:00
httpjamesm 30f155d7f8
style: max height 2023-10-19 22:39:18 -04:00
httpjamesm 6547393586
fix: check if all refs loaded in 2023-10-19 22:37:34 -04:00
httpjamesm e6b1e7573b
feat: controls drawer and mobile optimization 2023-10-19 22:36:25 -04:00
httpjamesm 265e5f84c2
feat: photo editor title 2023-10-19 22:29:15 -04:00
httpjamesm d69530b340
lang: editor translations 2023-10-19 22:22:58 -04:00
httpjamesm 21d19faa58
feat: are you sure close dialog 2023-10-19 22:16:37 -04:00
httpjamesm 26f61dcbcc
fix: add menu item dividers 2023-10-19 22:02:30 -04:00
Abhinav d1f49d5b05 add cancel logic and fixed duplicate file entry 2023-10-19 17:59:53 +05:30
Abhinav 91b47673d5 fix issues 2023-10-19 17:58:53 +05:30
Abhinav 11fa69d990 remove the use of regex 2023-10-19 13:36:01 +05:30
Abhinav 418a7922ab fix areFilesLivePhotoAssets check 2023-10-19 12:52:18 +05:30
Abhinav 57e415714f update removePotentialLivePhotoSuffix to handle 2023-10-19 10:59:04 +05:30
Abhinav 3f7030c9b4 rename functions 2023-10-19 10:56:12 +05:30
Abhinav 2104be3866 pass setUploadProgressView to UploadManager and use it with single file upload 2023-10-19 07:45:52 +05:30
httpjamesm ccd435819b
fix: prepare for upload before uploading 2023-10-18 09:39:03 -04:00
httpjamesm f1f701124a
feat: save edits to ente 2023-10-18 09:33:40 -04:00
Abhinav 866ce000f5 add clip search UI 2023-10-18 15:14:27 +05:30
Abhinav 396a316de5 add getTextEmbedding service and clip search helper utils 2023-10-18 15:11:13 +05:30
Abhinav 3acd38ba24 add clipExtraction logic 2023-10-18 15:04:36 +05:30
Abhinav fbbd4c9c3a add putEmbedding API and return getLatestEmbeddings and runEmbeddingsSync 2023-10-18 14:59:29 +05:30
Abhinav 4f5d19de77 added electron APIs for clipEmbedding extraction 2023-10-18 12:58:06 +05:30
Abhinav afc444305f add embedding sync 2023-10-18 12:51:53 +05:30
Neeraj Gupta d6b7d260f0 LivePhotoCluster: Handle _HVEC suffix 2023-10-18 09:35:05 +05:30
httpjamesm e358ef2f08
perf: don't apply filters on large until export 2023-10-17 22:30:16 -04:00
httpjamesm e019d9bdad
style: backdrop filter on image editor overlay 2023-10-17 22:21:33 -04:00
httpjamesm 5de978918d
feat: canvasLoading 2023-10-17 22:21:02 -04:00
httpjamesm f29e7dbce7
fix: flipped flip plane 2023-10-17 22:13:13 -04:00
httpjamesm 37a4bef438
fix: overlapping in export 2023-10-17 19:52:06 -04:00
httpjamesm 9dc76ab236
fix: reset ctx transforms on flip 2023-10-17 19:50:01 -04:00
httpjamesm c1e9b7b5af
fix: export in original quality using fake canvas 2023-10-17 19:39:23 -04:00
httpjamesm 8a974635e7
revert: remove dragging 2023-10-17 18:16:55 -04:00
httpjamesm fc6ac61376
fix: don't activate spotlight again after dragging 2023-10-15 16:59:39 -04:00
httpjamesm 133c21c0cf
fix: don't allow resizing in invalid conditions 2023-10-15 16:58:50 -04:00
httpjamesm b9a716e318
feat: force aspect ratio resizing 2023-10-15 16:55:30 -04:00
httpjamesm 323beee38c
feat: resizing indicator, activateSpotlight function 2023-10-15 16:49:10 -04:00
httpjamesm f7640b77f8
fix: don't allow moving if clicked outside of crop region 2023-10-15 16:18:02 -04:00
httpjamesm 1e1e84aa80
fix: crop region target 2023-10-15 16:15:21 -04:00
httpjamesm 0e5658b3b5
feat: transparent window illusion when dragging canvas 2023-10-15 15:53:56 -04:00
httpjamesm c72d6fd9c7
feat: drag around crop region 2023-10-15 15:26:28 -04:00
httpjamesm b9a34c4889
fix: don't apply filter if there's no canvas 2023-10-15 14:32:14 -04:00
httpjamesm 7b67610f22
fix: clear canvas before flip 2023-10-15 13:32:30 -04:00
httpjamesm bdedc16ab5
fix: pass canvas ref for transform 2023-10-15 13:19:32 -04:00
httpjamesm c2c510f7e4
feat: colour adjustments 2023-10-15 13:18:45 -04:00
httpjamesm ec8518c1eb
refactor: code-split into transform menu with ctx 2023-10-15 12:54:16 -04:00
httpjamesm ecfde69855
feat: flip image 2023-10-15 12:45:49 -04:00
httpjamesm 0847b8a955
fix: compound rotation 2023-10-15 12:41:51 -04:00
httpjamesm 1062429645
feat: restore original button 2023-10-15 12:41:16 -04:00
httpjamesm 7d5ceaea71
feat: allow rotating after cropping 2023-10-15 12:37:20 -04:00
httpjamesm fdecbe8779
fix: rotation shrinking bug 2023-10-15 12:31:49 -04:00
httpjamesm d951c6e777
fix: proportions when rotating 2023-10-15 12:29:23 -04:00
httpjamesm fe057bdff8
feat: loading icon during image load 2023-10-15 12:27:09 -04:00
httpjamesm 06fcd556ca
feat: show and onClose 2023-10-15 12:20:59 -04:00
httpjamesm 2164d23107
feat: max height and width 2023-10-15 12:17:30 -04:00
httpjamesm 650f4212b4
feat: rotation 2023-10-15 11:53:10 -04:00
httpjamesm 82f7c93040
feat: crop panning 2023-10-14 23:35:33 -04:00
httpjamesm 7fdbaa9e2d
feat: square crop preset 2023-10-14 23:01:20 -04:00
httpjamesm b9b8cfa84b
feat: export, vertical aspect ratios 2023-10-14 22:59:10 -04:00
httpjamesm 3d549a1179
feat: image editor overlay with cropping 2023-10-14 14:43:48 -04:00
Abhinav 03c83c4594 redirect to ente website if albums domain opened without collection props 2023-10-12 17:33:00 +05:30
Abhinav Kumar 3636ab2ad6
Fix misaligned icons (#1389)
Fix misaligned icons
2023-10-11 16:29:24 +00:00
Abhinav df29708bc3 use diff.length for hasMore check 2023-10-11 18:31:40 +05:30
Abhinav Kumar eab65ad893
option to override disableCFUploadProxy (#1386) 2023-10-11 12:45:59 +00:00
Abhinav b6c22768c8 fix fullscreen exit icon 2023-10-11 18:15:23 +05:30
Abhinav ab614ae5b4 remove unnecessary photoswipe boilerplate 2023-10-11 17:39:08 +05:30
Abhinav c679bc38da fix misaligned icons 2023-10-11 17:37:38 +05:30
Abhinav 0f1f8284e9 use custom icon for all photoviewer actions 2023-10-11 14:53:03 +05:30
Abhinav f562915a3d reorder preference options 2023-10-11 11:25:45 +05:30
Abhinav 87aac09f56 add option to override NEXT_PUBLIC_DISABLE_CF_UPLOAD_PROXY locally for testing 2023-10-11 11:21:01 +05:30
Abhinav Kumar ffdf7b65b5
Fix OOM crashes (#1379) 2023-10-04 10:01:25 +00:00
Abhinav 4a1c2e2c79 make static formatters 2023-10-03 19:36:34 +05:30
Abhinav Kumar 74746540cb
reposition convert button (#1377) 2023-10-02 20:31:04 +05:30
Abhinav 6db190832d added arw and tif to supported raw formats list 2023-10-02 14:53:20 +05:30
Abhinav da0649937b replace separate convert button with action bar option 2023-09-26 13:43:20 +05:30
Crowdin Bot 0784db2b4a New Crowdin translations by GitHub Action 2023-09-26 00:59:24 +00:00
Crowdin Bot f65e805873 New Crowdin translations by GitHub Action 2023-09-25 00:59:13 +00:00
Abhinav f08c096ea1 switch to collections/v2 api 2023-09-22 09:43:57 +05:30
Abhinav b58d18b003 replace usage of window['ElectronAPIs'] with globalThis['ElectronAPIs'] to make it worker safe 2023-09-21 21:18:36 +05:30
Abhinav 22f53246f1 add default progressUpdater 2023-09-21 17:33:11 +05:30
Abhinav 74ceccdbee direct import DownloadSharp 2023-09-21 15:54:24 +05:30
Abhinav e624abb1ec redirect to change-password after login 2023-09-21 13:22:58 +05:30
Abhinav 75da4d125e update to use InMemoryStore for redirectURL 2023-09-21 13:06:39 +05:30
Abhinav 535ed8e3df remove appContext redirectURL state and add it to inMemoryStore 2023-09-21 13:02:31 +05:30
Abhinav c847db4ba2 take lock while configuring srp
To prevent multiple  simultaneous execution
2023-09-21 12:35:17 +05:30
Abhinav Kumar 195442e09f
Fix download progress (#1367) 2023-09-20 16:52:24 +05:30
Abhinav 48b1fdd003 remove testing log 2023-09-20 15:59:59 +05:30
Abhinav ccc6b5666f fix live-photo preview 2023-09-20 14:27:52 +05:30
Abhinav e29006f4ce add clear download pogress logic with logs 2023-09-20 13:56:45 +05:30
Abhinav f4e87d934a only show convert option on desktop 2023-09-20 13:30:47 +05:30
Abhinav 9e9298b5e3 add logs 2023-09-20 13:30:47 +05:30
Abhinav 4b5d66baf3 fix handling of conversion failure 2023-09-20 09:13:35 +05:30
Abhinav Kumar 36be8397fc
Refactor photoViewer (#1365) 2023-09-20 09:09:56 +05:30
Abhinav d7a6a0d85e handle if info is missing 2023-09-19 16:48:04 +05:30
Abhinav 1567ff3a1a fallback to fileSize if present , if event.total is missing 2023-09-19 16:45:25 +05:30
Abhinav cbd054b032 handle contentLength not present 2023-09-19 13:14:45 +05:30
Abhinav Kumar d028ff8361
Fixed date time parsing (#1362) 2023-09-19 12:11:14 +05:30
Abhinav ff099d0c1a add unit test for parseDateTimeFromFileName 2023-09-19 11:42:30 +05:30
Abhinav 8d91b798c7 fix hasTimeValues 2023-09-19 11:35:16 +05:30
Abhinav 8a3f58a080 add log for debugging download progress 2023-09-19 10:20:16 +05:30
Abhinav 1817dc5b3d update collect photo link create option icon 2023-09-18 17:01:39 +05:30
Abhinav 29f8f4d328 fix preview removed on conversion failure 2023-09-18 14:09:38 +05:30
Abhinav 243c9a4d49 update to handle isSourceLoaded and conversion failed related state update locally 2023-09-18 13:45:18 +05:30
Abhinav ea38a648eb remove isSourceLoaded and conversionFailed helper stats 2023-09-18 13:35:20 +05:30
Abhinav 3c2b0afe63 rename getUnixTimeInMicroSeconds to validateAndGetCreationUnixTimeInMicroSeconds
and added extra check to prevent date time in future
2023-09-18 12:09:54 +05:30
Abhinav 9fe15d5591 refactor code and fix parsing error 2023-09-18 11:58:17 +05:30
Abhinav 776a17445b don't tab focus on ShowHidePassword password 2023-09-18 10:01:23 +05:30
Crowdin Bot 7b82677b0e New Crowdin translations by GitHub Action 2023-09-18 00:58:32 +00:00
Abhinav 33273bc796 fix default subtext color 2023-09-14 14:38:53 +05:30
Abhinav 7b8107321f fix issues 2023-09-14 14:33:16 +05:30
Abhinav c64a02fa6b fix error icon 2023-09-14 14:29:07 +05:30
Abhinav 73641c61b0 fix isLinkExpired 2023-09-14 14:24:55 +05:30
Abhinav c355464ec5 handle linkExpired 2023-09-14 14:20:45 +05:30
Abhinav a9d8ae9a70 update error usage to critical 2023-09-14 14:17:15 +05:30
Abhinav 4c4c910e2e disable button color that aren't used 2023-09-14 14:16:35 +05:30