Commit Graph

29667 Commits

Author SHA1 Message Date
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
Manav Rathi
083b7b3d95 [web] Notify user to logout when they change their password elsewhere (#2230)
See code comments for the why and how.

**Tests**

- [x] Normal login
- [x] Normal login but after entering incorrect password once
- [x] Login after changing password
- Superceded by next item: ~~Change password on different browser,
opening tab in earlier browser shows logout prompt~~
- [x] Change password on different browser (with logOutOtherDevices:
false), opening tab in earlier browser transparently logs in
- [ ] Same case, but even if earlier browser was already on the enter
password page
- [x] Change password on same browser, then open another tab. Doesn't
prompt to logout.
- [x] Fresh signup
2024-06-27 12:53:44 +05:30
Laurens Priem
e2e36e285f Face cooldown (#2300)
## Description

- Remove cooldown timer in FaceMlService
- Only load face ML models when actually doing indexing
- Small refactor of FaceMlService

## Tests

Tested in debug mode on my pixel phone.
2024-06-27 06:12:52 +05:30
laurenspriem
c5bcc1992c [mob][photos] Small fix 2024-06-26 23:53:48 +05:30
laurenspriem
2c9b0e77ba [mob][photos] Force run on ML page 2024-06-26 23:11:23 +05:30
laurenspriem
ca7096b87c [mob][photos] Rename 2024-06-26 23:09:27 +05:30
laurenspriem
3a8b2cf7b8 [mob][photos] Small fix 2024-06-26 23:06:10 +05:30
laurenspriem
69bfaf2033 [mob][photos] Only load models when actually indexing locally 2024-06-26 22:00:31 +05:30
laurenspriem
0d12f17576 [mob][photos] Remove cooldown 2024-06-26 18:58:53 +05:30
Manav Rathi
80d5d7e44e [desktop] Fetch face indexes - Part 1/x (#2297)
No functional changes yet, just prep.
2024-06-26 15:27:12 +05:30
Manav Rathi
bfa4806d47 Remove unnecessary automatically made edits 2024-06-26 15:08:37 +05:30
Manav Rathi
2c3bd39ab6 read files 2024-06-26 15:03:37 +05:30
Manav Rathi
1d0cbc527a loop 2024-06-26 15:03:37 +05:30
Manav Rathi
4c8e6853be sync time 2024-06-26 15:03:37 +05:30
Manav Rathi
4839aaaf6d types 2024-06-26 15:03:37 +05:30
Manav Rathi
7cac870a68 API 2024-06-26 15:03:37 +05:30
Manav Rathi
a5a7c4fcb2 Sketch 2024-06-26 15:03:37 +05:30
Manav Rathi
3d91e1c481 doc 2024-06-26 15:03:37 +05:30
Manav Rathi
3193139118 [desktop] Fix stream.end not always being emitted (#2296)
This caused the reference counts to not be zero when we'd go to clear
the cache in `clearPendingUploads`.

Bug introduced in the nightly build, but didn't have any negative impact
except printing an error in the logs because of the unhandled promise
rejection.

Ref: https://github.com/nodejs/node/issues/10871#issuecomment-650150155
2024-06-26 15:00:58 +05:30
Manav Rathi
c354c80b1f [desktop] Fix stream.end not always being emitted
Ref: https://github.com/nodejs/node/issues/10871#issuecomment-650150155
2024-06-26 14:50:43 +05:30
Manav Rathi
b67af0145a [desktop] Ensure cached zips are also marked closeable on errors (#2294) 2024-06-26 10:27:21 +05:30
Manav Rathi
a3bb8fa911 [desktop] Ensure cached zips are also marked closeable on errors 2024-06-26 10:24:04 +05:30
Manav Rathi
2d3e3c91d2 [desktop] Google takeout UX improvements (#2290) 2024-06-25 20:54:23 +05:30
Manav Rathi
baec693c72 lf 2024-06-25 20:13:15 +05:30
Manav Rathi
362179ba8d Retry hint 2024-06-25 20:07:57 +05:30
Manav Rathi
f55c33a4d6 FAQ link 2024-06-25 19:52:44 +05:30