Commit Graph

29693 Commits

Author SHA1 Message Date
Manav Rathi
d5d7efd657 doc 3 2024-06-29 10:42:28 +05:30
Manav Rathi
c4b93019d5 doc 2 2024-06-29 10:42:28 +05:30
Manav Rathi
0943d1db8c wip doc 2024-06-29 10:42:28 +05:30
Manav Rathi
822e82d709 [desktop] Speed up reconciliation (#2319)
- Do an upfront directory listing.
- Avoid JSON parsing (the various LivePhoto functions we were callling
were internally doing it), and even when we have to, don't do it twice
(I tested, the JSON parsing does have a noticeable impact)

@ua741 Monkey testing shows it to be _*almost_ O(1) compared to the
earlier O(n). _*almost_ is with many caveats:
- The recursive ls is still multi-second (takes ~5s for 300k files on my
SSD)
- The loop is now almost instantaneous for people who don't have live
photos or have already synced, but there is still one JSON parse (in the
else branch) that'll run for initial exports or people with many live
photos
2024-06-29 09:32:11 +05:30
Manav Rathi
51eec12af5 Avoid JSON parsing, and even when we have to, don't do it twice 2024-06-29 09:14:17 +05:30
Manav Rathi
5da4028ebf [desktop] Speed up reconciliation by doing an upfront directory listing 2024-06-29 08:31:28 +05:30
Manav Rathi
26626797ff [web] Minor localization fixes (#2317) 2024-06-29 08:12:59 +05:30
Manav Rathi
ee3ddad4d1 Fix 2024-06-29 08:11:02 +05:30
Manav Rathi
730ca2119c Fix typo 2024-06-29 08:09:24 +05:30
Manav Rathi
58127591d0 Mark as pending translation 2024-06-29 08:08:55 +05:30
Manav Rathi
c9eaa2df12 Fix 2024-06-29 08:03:36 +05:30
Manav Rathi
66549445d1 [web] Fix download notification text overflow (#2316)
Fix overflowing file name on download success notification in case the
file name is very long and without any spaces.
2024-06-28 22:25:15 +05:30
Manav Rathi
f167839ddc Fix overflowing file name on download success notification
Ellipse text in notifications. This wasn't happening earlier if the file name
was long, without spaces to act as breaks.
2024-06-28 22:20:32 +05:30
Manav Rathi
6f0a36acde Inline 2024-06-28 22:13:13 +05:30
Ashil
1463d4199e [mob][photos] upgrade photo_manager (#2301) 2024-06-28 19:04:54 +05:30
Manav Rathi
959d5c78b2 [desktop] Add logging to help trace memory pressure issues (#2312)
The previous fix did not help the user:
https://discord.com/channels/948937918347608085/1253299055472410645

But I've also been unable to reproduce this on Linux too. Modifying this
code to just log (so that we can better understand before adding ad-hoc
workarounds).
2024-06-28 14:33:52 +05:30
Neeraj Gupta
2ea9b4ba84 [mob] Fix Send link option position for person and unamed group (#2313)
## Description

## Tests
2024-06-28 14:33:44 +05:30
Neeraj Gupta
9df98f8ffb [mob] Show create link for unamed group 2024-06-28 14:30:56 +05:30
Manav Rathi
a58fa405f7 [desktop] Add logging to help trace memory pressure issues
The previous fix did not help the user
https://discord.com/channels/948937918347608085/1253299055472410645

But I've also been unable to reproduce this on Linux.

Modifying this code to just log (so that we can better understand before adding
a workaround).
2024-06-28 14:28:58 +05:30
Neeraj Gupta
120fb38d3f [mob]Extract strings 2024-06-28 13:47:45 +05:30
Manav Rathi
471db8e8c1 [desktop] Reconcile exported files with disk on app start and resync (#2310) 2024-06-28 13:46:28 +05:30
Neeraj Gupta
8613f5e73f [mob] Keep send link as first option 2024-06-28 13:38:23 +05:30
Manav Rathi
22fc61633b [desktop] Reconcile exported files with disk on app start and resync 2024-06-28 13:35:34 +05:30
Manav Rathi
22e7bcb3b0 [desktop] Add CHANGELOG entries for upcoming release (#2309) 2024-06-28 13:26:49 +05:30
Manav Rathi
3aeaf365ca [desktop] Add CHANGELOG entries for upcoming release 2024-06-28 13:24:43 +05:30
Manav Rathi
5140d6c938 [web] Move custom apiOrigin to IndexDB (#2306)
Earlier we were storing the custom API origin setting in local storage.
Local storage is not accessible from web workers, which is a problem in
general (and in particular, this caused face indexing to fail since we
were not able to put the embeddings to remote since that code runs in a
web worker).

Move this to a Indexed DB. Do this in a way we can reuse the same table
for more such ad-hoc keys.
2024-06-27 20:44:21 +05:30
Manav Rathi
c7d5dde9f7 Sigh 2024-06-27 20:30:53 +05:30
Manav Rathi
b84470f574 Fix 2024-06-27 20:13:31 +05:30
Manav Rathi
29a496c039 Fix 2024-06-27 20:11:30 +05:30
Manav Rathi
9f9038ff97 Note 2024-06-27 20:08:47 +05:30
Manav Rathi
d33ba285a6 Replace 2024-06-27 20:06:17 +05:30
Manav Rathi
640fd48e70 Hobgoblin 2024-06-27 20:00:17 +05:30
Manav Rathi
52d7914ad0 Ergonomic kv 2024-06-27 19:58:55 +05:30
Manav Rathi
554a90eec5 Clear on logout 2024-06-27 16:36:30 +05:30
Manav Rathi
3555adae09 Move to correct place 2024-06-27 16:34:19 +05:30
Manav Rathi
ab63ed53df Fix 2024-06-27 16:29:10 +05:30
Manav Rathi
c4c53cd59f Touchups 2024-06-27 16:22:46 +05:30
Manav Rathi
e86b095480 Fin 2024-06-27 16:21:10 +05:30
Manav Rathi
55b2934c62 Continue 2024-06-27 16:20:17 +05:30
Manav Rathi
3f96209dbb Continue 2024-06-27 16:14:05 +05:30
Manav Rathi
9241c2e595 Retain leading slash
Looks pathy-ier
2024-06-27 16:03:19 +05:30
Manav Rathi
94f4dcb9be more 2024-06-27 15:57:36 +05:30
Manav Rathi
f543b402f8 New abstraction 2024-06-27 15:40:35 +05:30
Manav Rathi
1b77c899da The rest 2024-06-27 15:33:00 +05:30
Manav Rathi
1aef9cf179 Update dev-settings page 2024-06-27 15:13:36 +05:30
Manav Rathi
f0b3c4a30a idb-keyval 2024-06-27 14:38:45 +05:30
Neeraj Gupta
0def478b0d Dashboard Improvement (#2304)
Added the required modifications for the URL
2024-06-27 14:23:33 +05:30
atyabbin
f11cc82e44 modification in URL for update subscription 2024-06-27 14:16:29 +05:30
Manav Rathi
a3d7c53395 [web] New translations (#2302)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-27 13:39:30 +05:30
Crowdin Bot
92b4d52a40 New Crowdin translations by GitHub Action 2024-06-27 07:24:24 +00:00