Commit Graph

29992 Commits

Author SHA1 Message Date
Manav Rathi
aebe12bd9e Fix 2024-07-05 20:37:58 +05:30
Manav Rathi
fcb86da03c Update some dependencies (minor versions); pin otpauth
Pin otpauth since upstream changed from jsSHA some other library, and we'd need
to do the same for our steam codes implementation to avoid increasing the bundle
size.

https://github.com/hectorm/otpauth/pull/505

---

For the rest of the updates, Scanned the CHANGELOGs (linked):

@emotion/react, @emotion/styled
- https://github.com/emotion-js/emotion/releases

@mui/icons-material, @mui/material
https://github.com/mui/material-ui/releases

get-user-locale
https://github.com/wojtekmaj/get-user-locale/releases

i18next, i18next-resources-to-backend, react-i18next
https://github.com/i18next/i18next/releases

ml-matrix
https://github.com/mljs/matrix/releases

next
Doesn't have a changelog. Rely on hope.
See: https://github.com/vercel/next.js/discussions/65212

react, react-dom, @types/react, @types/react-dom
https://github.com/facebook/react/blob/main/CHANGELOG.md

react-virtualized-auto-sizer
https://github.com/bvaughn/react-virtualized-auto-sizer/releases

@types/chromecast-caf-receiver, @types/leaflet
Minor updates, type only
2024-07-05 20:31:37 +05:30
Manav Rathi
99af0ff294 Update to vite 5.3.3 (payments)
https://github.com/vitejs/vite/blob/v5.3.3/packages/vite/CHANGELOG.md

Also update sibling @vitejs/plugin-react
2024-07-05 19:49:48 +05:30
Manav Rathi
7cef60f8b9 Inline 2024-07-05 19:39:20 +05:30
Manav Rathi
31b6572e17 New convention 2024-07-05 19:37:27 +05:30
Manav Rathi
d07a46f514 Tense 2024-07-05 19:36:35 +05:30
Manav Rathi
547d03049a [web] Start using TypeScript 5.5 goodies
We updated to 5.5 in https://github.com/ente-io/ente/pull/2351, but I was
waiting for the VS Code release with 5.5 to also go out (so that we don't see
the editor squigglies).
2024-07-05 19:34:47 +05:30
Manav Rathi
18ab41b9ec [workers] Restrict CORS ACAH headers to the whitelist (#2371) 2024-07-05 18:45:22 +05:30
Manav Rathi
e9938c2ac4 [workers] Restrict CORS ACAH headers to the whitelist 2024-07-05 18:17:34 +05:30
Manav Rathi
089ed89045 [meta] Prettier 3.3 (#2370)
No breaking changes that affect us.

https://prettier.io/blog/2024/06/01/3.3.0
2024-07-05 17:55:53 +05:30
Manav Rathi
9c11a7f4b7 [meta] Prettier 3.3
No breaking changes that affect us.

https://prettier.io/blog/2024/06/01/3.3.0
2024-07-05 17:51:07 +05:30
Manav Rathi
543fb835f3 [server] Increase HTTP request body size to prevent 413 Too Large errors (#2369)
Allow HTTP request body up to 4 MB. The default is 1 MB, which is too
small for face embeddings for photos with more than a couple of hundred
faces.

Roughly, each face embedding is 4KB, but encrypting and base-64-ing the
embedding also has a 30% addition (just from one sample I saw), so this
should allow photos with ~700 faces to go through.

Ref:
-
https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
2024-07-05 14:20:31 +05:30
Manav Rathi
0b3ca8db69 [server] Increase HTTP request body size to prevent 413 Too Large errors
Allow HTTP request body up to 4 MB. The default is 1 MB, which is too small for
face embeddings for photos with more than a couple of hundred faces.

Roughly, each face embedding is 4KB, but encrypting and base-64-ing the
embedding also has a 30% addition (just from one sample I saw), so this should
allow photos with ~700 faces to go through.

Ref:
- https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
2024-07-05 14:08:10 +05:30
Manav Rathi
a2ee8a2ee9 [desktop] Embed faces in batches to prevent memory pressure crash (#2368) 2024-07-05 12:54:06 +05:30
Manav Rathi
969154baff [desktop] Embed faces in batches to prevent memory pressure crash 2024-07-05 11:53:52 +05:30
Manav Rathi
9898a7c221 [desktop] Update Electron 30.0.9 => 30.1.2 (#2366)
- Update Electron 30.0.9 => 30.1.2
- Revert to the now un-deprecated API that we were using earlier
- Upgrade lru-cache
2024-07-05 10:59:47 +05:30
Manav Rathi
ef788b16b9 Upgrade lru-cache 2024-07-05 10:57:48 +05:30
Manav Rathi
5f7577309a Revert to the now un-deprecated API that we were using earlier
https://github.com/electron/electron/pull/42411
2024-07-05 10:53:13 +05:30
Manav Rathi
cd39e5e9cd Update Electron 30.0.9 => 30.1.2
https://github.com/electron/electron/releases/tag/v30.1.2
2024-07-05 10:48:04 +05:30
Manav Rathi
588662d1ce [desktop] Only attempt indexing after a successful pull (#2365) 2024-07-05 10:45:56 +05:30
Manav Rathi
4f98e72a58 [desktop] Only attempt indexing after a successful pull 2024-07-05 09:38:03 +05:30
Manav Rathi
5bd3f6076b [infra] Teach copycat db how to restore specific versions (#2363) 2024-07-04 22:08:19 +05:30
Manav Rathi
adcdba3f8f Update SCW cli version
No specific changes, just bringing it up to speed. No breaking changes I noticed in the CHANGELOG
https://github.com/scaleway/scaleway-cli/releases
2024-07-04 22:06:57 +05:30
Manav Rathi
5c4c6f2677 Allow restoring specific backups 2024-07-04 22:06:46 +05:30
Manav Rathi
f217d85b70 [desktop] Allow live indexing during uploads (#2361)
Saves on an unnecessary download.

With this final piece in place, the face indexing part is feature
complete.
2024-07-04 20:31:25 +05:30
Manav Rathi
52448cd2a2 Shorten 2024-07-04 20:26:31 +05:30
Manav Rathi
dca76f304c Increase liveq limit 2024-07-04 20:19:30 +05:30
Manav Rathi
26f6ab0464 Use uploadItem 2024-07-04 20:11:50 +05:30
Manav Rathi
90c01a19a5 Tweak 2024-07-04 19:26:00 +05:30
Manav Rathi
38e23ca1b5 Rename 2024-07-04 19:20:19 +05:30
Manav Rathi
5698ee12a3 Doc 2024-07-04 19:05:19 +05:30
Manav Rathi
c3bbceae49 delegate 2024-07-04 18:45:13 +05:30
Manav Rathi
95ef21ae4f Forward the upload item 2024-07-04 17:39:30 +05:30
Manav Rathi
0ce729a312 Expand 2024-07-04 15:19:11 +05:30
Manav Rathi
73b78916de Ref 2024-07-04 15:16:59 +05:30
Manav Rathi
864e4c6dd1 Rename 2024-07-04 15:16:19 +05:30
Manav Rathi
00de818e65 Index new 2024-07-04 15:12:28 +05:30
Manav Rathi
41fe7ad794 Doc and rearrange 2024-07-04 15:07:10 +05:30
Manav Rathi
13843bf52d [desktop] Regenerate face crops whenever needed (#2358) 2024-07-04 14:14:23 +05:30
Manav Rathi
6d630e0c2a Misc 2024-07-04 14:06:04 +05:30
Manav Rathi
7bd10ed78b Trigger 2024-07-04 13:54:14 +05:30
Manav Rathi
ce0442a5dd Regen if needed 2024-07-04 13:42:56 +05:30
Manav Rathi
b950fde3f2 Regen upper 2024-07-04 13:31:59 +05:30
Manav Rathi
1ab844da36 regen lower 2024-07-04 13:13:44 +05:30
Manav Rathi
eb7611a6d1 Fix warnings on opening drawer 2024-07-04 12:53:26 +05:30
Manav Rathi
ce045fb680 Cleanup 2024-07-04 12:41:02 +05:30
Manav Rathi
594d0e7ea0 The missing bit (as compared to mobile) 2024-07-04 12:17:54 +05:30
Aman Raj Singh Mourya
8c79aedd19 [mob][photos] Implemeted Applock to set custom pin/password (#2130)
This PR add the following features
1. **Device Lock:** If the user's device has a screen lock (PIN,
fingerprint, etc.), it will be used for initial authentication.
2. **Custom PIN/Passwprd**: Users can set a custom PIN/Password for app
access, independent of the device lock.

<br/>
<img width="300"
src="https://github.com/ente-io/ente/assets/146618155/54b044d1-d361-4ed8-a138-87b4838d75fc">
<img align="left" width="300"
src="https://github.com/ente-io/ente/assets/146618155/9bb90ab7-2d97-472e-90da-945a3a043533">

<br/>

<img width="300"
src="https://github.com/ente-io/ente/assets/146618155/8207605f-3495-4f62-bc34-b5a8ec64ab0a">
<img align="left" width="300"
src="https://github.com/ente-io/ente/assets/146618155/9f5fb83f-37a1-4214-b27e-4433b40a8773">
2024-07-04 12:12:40 +05:30
Manav Rathi
401ae85f40 take 3 2024-07-04 12:08:58 +05:30
Manav Rathi
3065b392f3 cmp 2024-07-04 11:44:43 +05:30