Compare commits

..

11291 Commits

Author SHA1 Message Date
Neeraj Gupta
427968a1cd [cli][setup] add: public-albums-url subcommand to configure albums url (#4235)
Adds a command `ente setup public-albums-url`. 


![Capture-Nov-28-17-12-36](https://github.com/user-attachments/assets/1884332f-635e-4173-a48e-69d762725590)
2024-11-29 14:05:04 +05:30
mngshm
8b71ae3b33 chore: grouping imports 2024-11-29 13:45:31 +05:30
mngshm
185a013cff [ente-cli]fix: trim trailing slashes in albumsUrl 2024-11-29 13:41:11 +05:30
Neeraj Gupta
0493f1c306 [server] Enhance alerts + defer replication attemp on size error (#4247)
## Description

## Tests
2024-11-29 13:08:55 +05:30
Manav Rathi
9dd6da97be [desktop] Dependency updates (#4248) 2024-11-29 13:05:27 +05:30
Manav Rathi
18133730d2 Revert prettier update
It is munging markdown lists, let it stabilize.
2024-11-29 13:01:42 +05:30
Neeraj Gupta
002b148dae Increase delay 2024-11-29 12:48:18 +05:30
Manav Rathi
741e592f24 [desktop] Dep updates 2024-11-29 12:44:03 +05:30
Neeraj Gupta
c6ec3fa8fd [server] Fixed delay in next attemp 2024-11-29 12:24:12 +05:30
Manav Rathi
c9b24f09e8 photosd-next 1.7.8-beta (#4246) 2024-11-29 12:12:15 +05:30
Manav Rathi
17dba8f195 photosd-next 1.7.8-beta 2024-11-29 12:10:24 +05:30
Neeraj Gupta
a54cbd779a [server] Alert on object replcement 2024-11-29 12:01:34 +05:30
Neeraj Gupta
99ad1068f0 [server] Retry replication after 7 day instead of 1 (temp change) 2024-11-29 11:11:28 +05:30
Neeraj Gupta
6703f16caa Fix alert copy 2024-11-29 11:07:43 +05:30
Manav Rathi
6b91327bdf photosd-v1.7.7 (#4245) 2024-11-29 11:00:53 +05:30
Manav Rathi
c3d7ddb105 photosd-v1.7.7 2024-11-29 10:59:11 +05:30
Manav Rathi
ad847e88c3 Update README (#4244) 2024-11-29 10:11:54 +05:30
Manav Rathi
219c4e513f Update README 2024-11-29 08:15:58 +05:30
Manav Rathi
31c5f24227 [web] Minor photo viewer refactoring - Part x/x (#4241) 2024-11-29 07:54:34 +05:30
Manav Rathi
4f55aa969e [web] Shared albums refactoring - Part x/x (#4240) 2024-11-29 07:44:09 +05:30
Manav Rathi
9f4561b901 Reuse structure 2024-11-29 07:29:33 +05:30
Manav Rathi
b081537a2c Reuse 2024-11-29 06:05:31 +05:30
Manav Rathi
33ed4a8dff Reuse 2024-11-29 06:05:31 +05:30
Manav Rathi
e912b876db The sync is standalone 2024-11-29 06:05:31 +05:30
Manav Rathi
c1a3cdceed Move 2024-11-29 06:05:31 +05:30
Manav Rathi
f9623ecf75 Shorten 2024-11-29 06:05:31 +05:30
Manav Rathi
35c2526703 Forward 2024-11-29 06:05:31 +05:30
Manav Rathi
e910ae16ff Doc 2024-11-29 06:05:31 +05:30
Manav Rathi
fc40b8fdd4 Reuse 2024-11-29 06:05:31 +05:30
Manav Rathi
cf5b006cab Prune 2024-11-29 06:05:31 +05:30
Manav Rathi
8eeaa5ea98 Prune exports 2024-11-29 06:05:31 +05:30
Manav Rathi
2b88cc3621 Doc 2024-11-29 06:05:31 +05:30
Manav Rathi
302d373af1 Use 2024-11-29 06:05:31 +05:30
Manav Rathi
9f1e8f9254 New way 2024-11-29 06:05:31 +05:30
Jin Cao
74117db8b0 [auth] Add Goverment of Canada Icon (#4172) 2024-11-28 19:24:16 +05:30
Ashil
d26c7fcf8a [mob][photos] Fix video not changing in viewer after deletion (#4237) 2024-11-28 19:22:03 +05:30
Manav Rathi
97c9139b50 [server] Fix and document the internal.admin flag (#4234)
Fix code that didn't even compile, + document
https://github.com/ente-io/ente/pull/4228
2024-11-28 17:59:02 +05:30
Manav Rathi
a1e05b2a9a [web] Don't reset search results on sync completion (#4236)
Plus an unrelated small cleanup of offline message.
2024-11-28 17:38:58 +05:30
ashilkn
481377baeb [mob][photos] Chore 2024-11-28 17:32:54 +05:30
ashilkn
094d879702 [mob][photos] Fix video not changing in viewer after deletion 2024-11-28 17:32:20 +05:30
Manav Rathi
394582b47c Don't reset search results on sync completion 2024-11-28 17:30:04 +05:30
mngshm
5596f46047 [ente-cli]add: public-albums-url subcommand to configure albums url in config file via ente-cli 2024-11-28 17:10:06 +05:30
Manav Rathi
926dce37f8 Extract 2024-11-28 16:53:14 +05:30
Manav Rathi
9e40d3001a Offline msg doesn't make sense for auth since it currently only fetches codes on load 2024-11-28 16:45:16 +05:30
Manav Rathi
836fc951f4 Format 2024-11-28 16:06:43 +05:30
Manav Rathi
f096e084ef Don't apply auto-first-admin if internal.admin is set 2024-11-28 16:04:04 +05:30
Manav Rathi
2196c3dbc8 Fix code that didn't even compile 2024-11-28 15:55:16 +05:30
Manav Rathi
c6872d2d35 [server] Document the internal.admin flag
Complements https://github.com/ente-io/ente/pull/4228
2024-11-28 15:42:33 +05:30
Manav Rathi
1178a3c910 [web] General non-functional cleanup (#4233) 2024-11-28 15:37:15 +05:30
Manav Rathi
4d761f91c4 Workaround for Admins list in Environment Variables by specifying singular admin (#4228)
## Description

This allows working around an issue with Viper where it doesn't properly
unmarshal GetIntSlice from environment variables. Seems like this is a
known issue and is quite old. I'm assuming there isn't plans to fix it
on the Viper side.

https://github.com/spf13/viper/issues/339

## Tests

I'll be brutally honest, I don't know how to run Go, but this seemed
like a pretty quick low hanging fix.
2024-11-28 15:36:46 +05:30
Ashil
7b54f7910a [mob][photos] Fix misaligned hint text in search bar (#4232)
## Description

Fix for the hint text ("Search") in the search bar getting misaligned
more towards the top for smaller font sizes (normal for a big enough
majority of people).
2024-11-28 15:33:17 +05:30
Manav Rathi
4fca50f9a6 Inline and move 2024-11-28 15:30:38 +05:30
ashilkn
61791d5b9b [mob][photos] Fix alginment of hintText in search bar for smaller font sizes 2024-11-28 15:15:04 +05:30
ashilkn
0c39466d1b [mob][photos] Chore 2024-11-28 14:59:39 +05:30
Manav Rathi
8623b8323d Tweak 2024-11-28 14:41:51 +05:30
Manav Rathi
73e0a1dec2 Inline 2024-11-28 14:32:58 +05:30
Ashil
f632aa86d1 [mob][photos] Fix bug when clicking on 'collect' in shared tab to collect photos (#4229) 2024-11-28 14:24:38 +05:30
ashilkn
aed5d962e5 [mob][photos] Fix bug when clicking on 'collect' in shared tab to collect photos 2024-11-28 14:16:59 +05:30
Manav Rathi
4cf4571c31 Inline 2024-11-28 14:14:27 +05:30
Manav Rathi
8c01c7a902 Remove unused variant 2024-11-28 14:09:53 +05:30
Manav Rathi
fca6f36087 Ren 2024-11-28 13:57:43 +05:30
Neeraj Gupta
67f42d0b31 [mob][auth] Send login purpose during ott (#4227)
## Description

## Tests
2024-11-28 13:42:01 +05:30
Andy
55cd084ea8 Add support for specifying a singular admin id to workaround GetIntSlice issue 2024-11-28 03:11:52 -05:00
Neeraj Gupta
fb7080001e [mob][auth] Send login purpose during ott 2024-11-28 13:32:40 +05:30
Manav Rathi
efda227c8a [web] New translations (#4225)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-28 12:55:32 +05:30
Crowdin Bot
f1fbf2c95b New Crowdin translations by GitHub Action 2024-11-28 07:23:08 +00:00
Manav Rathi
b46581790a [web] Ask the user their preferred 2FA choice if both are enabled (#4224)
Sibling of mobile https://github.com/ente-io/ente/pull/4210. Unlike
mobile, we automatically redirect so we need to ask the user their pref
beforehand.
2024-11-28 12:52:22 +05:30
Manav Rathi
4bca5f8bf6 Use 2024-11-28 12:36:22 +05:30
Manav Rathi
6fed5c944b Extract 2024-11-28 12:30:14 +05:30
Neeraj Gupta
0782b00bcd [mob] Enable translation for Ukrainian & Vietnamese (#4223)
## Description

## Tests
2024-11-28 12:10:22 +05:30
Manav Rathi
ee34ed5e1f 2FA choice place 1 2024-11-28 12:08:03 +05:30
Neeraj Gupta
5b3a6049b3 [mob] Enable translation for Ukrainian & Vietnamese 2024-11-28 11:45:26 +05:30
Manav Rathi
eab95b7ed0 [web] Rework upload URL handling (#4222) 2024-11-28 10:57:13 +05:30
Manav Rathi
3298d97bbc Fail upload on dupes 2024-11-28 09:26:39 +05:30
Manav Rathi
b36df8d7ad [web] Rework upload URL handling 2024-11-28 09:21:41 +05:30
Neeraj Gupta
d2761b6be9 [mob] Bump version v0.9.65 (#4217)
## Description

## Tests
2024-11-28 01:21:01 +05:30
Neeraj Gupta
b2482acfc3 [mob] Hint inputType 2024-11-28 01:18:48 +05:30
Neeraj Gupta
9994499050 [mob] Bump version v0.9.65 2024-11-28 01:11:12 +05:30
Neeraj Gupta
5f1beecb8a [mob] Fix person cover refresh issue (#4216)
## Description

## Tests
2024-11-28 00:53:56 +05:30
Neeraj Gupta
35bc7dfee6 [mob] bump version 2024-11-28 00:49:20 +05:30
Neeraj Gupta
32f1a8b3a6 [mob] Fix cover refresh issue 2024-11-28 00:48:52 +05:30
Neeraj Gupta
7e9b3468d7 [mob] Handle null value 2024-11-28 00:48:09 +05:30
Ashil
d2d859a8f7 [mob][photos] Update change log (#4215)
## Description

## Tests
2024-11-27 22:26:13 +05:30
ashilkn
0373141520 [mob][photos] Bump up to v0.9.63 2024-11-27 21:26:35 +05:30
ashilkn
9f110ddc0c [mob][photos] Update change log 2024-11-27 21:26:06 +05:30
Neeraj Gupta
72d9881fe4 [mob] Enable fallback to TOTP if both passkey & totp are enabled (#4210)
## Description

## Tests
2024-11-27 20:18:51 +05:30
Neeraj Gupta
943f4ac973 [server] Create totpSession when both passkey and totp are enabled (#4211)
## Description

- When both `passkeySessionID` and `twoFactorSessionID` are set in the
response, the web will surface passkey based login while mobile will
only surface totp based login.

- For now, I have added a new field in the response
(`twoFactorSessionIDV2) for totpBased twoFactor, that will be only set
when both passkey and totp based MFA are enabled.
- Once both mobile and desktop changes are out, we can remove this new
field `twoFactorSessionIDV2` from the response

Corresponding mobile diff: https://github.com/ente-io/ente/pull/4210
## Tests
2024-11-27 15:27:10 +05:30
Neeraj Gupta
14fe9bcb72 [auth] Enable login via totp when both passkey & totp are enabled 2024-11-27 15:25:45 +05:30
Ashil
06d6706344 [mob][photos] Minor UX improvement (#4213) 2024-11-27 15:23:34 +05:30
ashilkn
9dce5fb6ad Merge branch 'main' into fixes 2024-11-27 15:16:04 +05:30
ashilkn
a1dc65d6ee [mob][photos] Make text of checkbox acknowledging enabling ML clickable 2024-11-27 15:15:42 +05:30
Neeraj Gupta
08160f251a Merge remote-tracking branch 'origin/main' into twoFactorFallBack 2024-11-27 15:03:30 +05:30
Laurens Priem
2828a6a677 [mob][photos] Fix ml banner (#4212)
## Description

Fix ml banner not going away
2024-11-27 15:03:05 +05:30
laurenspriem
29ab1ecd31 [mob][photos] Fix ml banner 2024-11-27 15:01:41 +05:30
Neeraj Gupta
04ee6f8161 [server] Create totpSession when both passkey and totp are enabled 2024-11-27 14:54:24 +05:30
Neeraj Gupta
1b9f6de6bd [mob] Enable fallback to TOTP if both passkey & totp are enabled 2024-11-27 14:50:34 +05:30
Neeraj Gupta
b060906bb4 [mob] Super key 2024-11-27 13:46:32 +05:30
Ashil
fee5631191 [mob][photos] Fix clipping issues + other minor changes (#4201) 2024-11-27 13:11:52 +05:30
Ashil
d5fa3d6351 [mob][photos] Fix edit person screen clipping (#4207) 2024-11-27 12:45:25 +05:30
ashilkn
f458870332 [mob][photos] Fix clipping issue at bottom of edit person screen 2024-11-27 12:43:52 +05:30
Manav Rathi
78852a216d [web] Fix sort order changes not getting reflected until refresh (#4206) 2024-11-27 12:28:50 +05:30
Manav Rathi
91a459d0ed Update active collection property on sync 2024-11-27 12:21:47 +05:30
Neeraj Gupta
484a70f61f [staff] Update staff dashboard (#4205)
## Description

## Tests
2024-11-27 12:00:48 +05:30
ashilkn
bbefcd0438 [mob][photos] Chore 2024-11-27 11:58:36 +05:30
Neeraj Gupta
51aa4cfaeb [staff] Show expired plan in red 2024-11-27 11:58:35 +05:30
Neeraj Gupta
4e1bc124ff [staff] Add option for toggling email 2fa 2024-11-27 11:49:52 +05:30
ashilkn
e1e2d9fe12 [mob][photos] Chore" 2024-11-27 11:48:15 +05:30
Manav Rathi
6dca81e2ff Add caution note in docs 2024-11-27 11:37:05 +05:30
Manav Rathi
63c3df7477 On upload 2024-11-27 11:32:38 +05:30
Manav Rathi
25e6c2c13f [doc] Add metadata q to export faq (#4204) 2024-11-27 11:25:06 +05:30
Manav Rathi
b30a43ed25 [doc] Add metadata q to export faq 2024-11-27 11:24:18 +05:30
ashilkn
0c56c5341a [mob][photos] bump up to v0.9.62 2024-11-27 11:16:18 +05:30
ashilkn
971dbc069c [mob][photos] UI finness on enalbe ML banner 2024-11-27 11:13:59 +05:30
Manav Rathi
004bffefb2 [web] Fix typo in localized string for suggestions (#4203) 2024-11-27 11:09:10 +05:30
Manav Rathi
b0d11c7e4e [web] Fix typo in localized string for suggestions 2024-11-27 11:04:38 +05:30
Manav Rathi
cd0cceaf02 [docs] 2-way caution (#4202) 2024-11-27 11:01:24 +05:30
Manav Rathi
bc0058d827 [docs] 2-way caution 2024-11-27 11:01:11 +05:30
ashilkn
e43a6bbd21 [mob][photos] Fix minor clipping issue on ContinuousRectangleBorder of faces 2024-11-27 10:56:34 +05:30
Ashil
3ddb43b2b3 [mob][photos] Fix build failing (#4199) 2024-11-27 10:52:52 +05:30
Manav Rathi
660ecbf186 [docs] Add further clarify notes around the firefox canvas bug (#4200) 2024-11-27 10:52:39 +05:30
Manav Rathi
046e63a544 [docs] Add further clarify notes around the firefox canvas bug 2024-11-27 10:52:01 +05:30
ashilkn
dd620fcab2 [mob][photos] Fix build failing 2024-11-27 10:17:11 +05:30
Neeraj Gupta
e961755345 [Staff] Update support dashboard (#4198)
## Description

## Tests
2024-11-27 09:56:07 +05:30
Neeraj Gupta
8d32cba241 [staff] Lint fixes 2024-11-27 09:28:05 +05:30
Manav Rathi
5a58bcfacd [API] Add Cache-control: no-store to API responses (#4197)
...instead of adding it to ad-hoc API requests.

---
Tests: Smoke tested photos, shared albums and cast on localhost.
2024-11-27 09:14:41 +05:30
Manav Rathi
7e94b8c780 Fix mobile lint 2024-11-27 09:11:37 +05:30
Neeraj Gupta
f2d3a63c18 [staff] Show devices 2024-11-27 09:08:28 +05:30
Manav Rathi
3049c25db8 [API] Add Cache-control: no-store to API responses
...instead of adding it to ad-hoc API requests.
2024-11-27 08:29:10 +05:30
Laurens Priem
4138b4da51 [mob][photos] Quick fix undo (#4192)
## Description

Quick fix for suggestion undo issue.
2024-11-26 22:02:09 +05:30
laurenspriem
4dd22a646d [mob][photos] Quick fix undo 2024-11-26 21:35:54 +05:30
Ashil
2ae084780e [mob][photos] Fix incorrect condition + show permission dialog to allow link-in-app in debug mode too (#4189) 2024-11-26 21:33:45 +05:30
Laurens Priem
e980e92c8f [mob] Face thumbnails (#4170)
## Description

- Refactor face thumbnail generation
- Solve caching issue in hierarchical search
- Move to full res face thumbnails in suggestions
- Minor changes to suggestions screen

## Tests

Tested in debug mode on my Pixel 8.
2024-11-26 21:08:23 +05:30
laurenspriem
bdec17b024 [mob][photos] forgot somehow 2024-11-26 21:07:55 +05:30
laurenspriem
0f115f0d95 [mob][photos] merge conflicts again 2024-11-26 21:07:40 +05:30
ashilkn
c1ba766a5f [mob][photos] Fix incorrect condition + show permission dialog to allow link-in-app in debug mode too 2024-11-26 19:22:29 +05:30
Ashil
bf7d6a5f03 [mob][photos] Implement deep linking for public links (#3386)
## Description

Opening an Ente photos public link in the app if the app is installed on
device.
2024-11-26 18:41:04 +05:30
ashilkn
4014d62e51 Revert "Revert "[mob][photos] Open albums.ente.io links and not albums.ente.sh""
This reverts commit cec3131a2e.
2024-11-26 18:37:40 +05:30
laurenspriem
1b3d6ca3be Merge branch 'main' into face_thumbnails 2024-11-26 18:30:18 +05:30
Manav Rathi
8520a6e7d4 [web] Auth - Fix eslint overrides (#4188) 2024-11-26 18:15:14 +05:30
Manav Rathi
4891f470b1 Fin 2024-11-26 18:08:30 +05:30
Manav Rathi
8899157c47 ed 2024-11-26 18:06:02 +05:30
ashilkn
cec3131a2e Revert "[mob][photos] Open albums.ente.io links and not albums.ente.sh"
This reverts commit 4532b4ea8f.
2024-11-26 18:03:31 +05:30
Manav Rathi
b1af3dbabd exhaustive-deps 2024-11-26 18:01:55 +05:30
Manav Rathi
e5a43e9738 Memo the context 2024-11-26 18:01:33 +05:30
Manav Rathi
0e4522c287 Handle 401 2024-11-26 17:57:56 +05:30
ashilkn
15f39901c9 [mob][photos] Extract strings 2024-11-26 17:56:55 +05:30
Manav Rathi
6ae53dff02 Log 2024-11-26 17:53:07 +05:30
ashilkn
4532b4ea8f [mob][photos] Open albums.ente.io links and not albums.ente.sh 2024-11-26 17:43:39 +05:30
Manav Rathi
5df217c87e Handle tab logout 2024-11-26 17:42:14 +05:30
ashilkn
33e35ede52 Merge branch 'main' into deeplinks 2024-11-26 17:34:19 +05:30
Manav Rathi
738688c299 lint rec 2024-11-26 17:33:27 +05:30
Manav Rathi
4fc68dc69f exhaustive-deps 2024-11-26 17:31:32 +05:30
Manav Rathi
1f94020738 Rely on types 2024-11-26 17:28:56 +05:30
Manav Rathi
a6a9d2c740 Prune 2024-11-26 17:25:16 +05:30
Manav Rathi
96f21ecbff Conv deprecated 2024-11-26 17:23:13 +05:30
Manav Rathi
20dd64a778 [web] Auth http rewrite 2024-11-26 17:05:46 +05:30
ashilkn
4324433b3e [mob][photos] Fix ordering of files in sub-gallery in link-in-app gallery 2024-11-26 17:00:55 +05:30
Neeraj Gupta
5a3272f855 [staff] Surface auth code count 2024-11-26 16:55:56 +05:30
Neeraj Gupta
57eb1d6ccf [staff] Show correct status for passkey 2024-11-26 16:50:16 +05:30
ashilkn
8d6ae20ebc [mob][photos] Remove unused variables 2024-11-26 16:32:29 +05:30
Manav Rathi
afad2c7879 [web] Document UUID dependency (#4187)
...updating it too.
2024-11-26 16:20:26 +05:30
ashilkn
0c2dc3aee3 [mob][photos] Fix selection sheet not coming up 2024-11-26 16:19:04 +05:30
ashilkn
60b22e5460 [mob][photos] Chore 2024-11-26 16:08:02 +05:30
ashilkn
788d3b979a [mob][photos] Fix selection not working when clicking on public link and android app does a cold start 2024-11-26 16:07:42 +05:30
Manav Rathi
3315408f43 Update and scope
No breaking changes that affect our use of uuid v4 in 9 => 11
https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md
2024-11-26 16:00:15 +05:30
Manav Rathi
895ba6082b Doc 2024-11-26 15:46:27 +05:30
Manav Rathi
705a9ff2be Scope 2024-11-26 15:43:01 +05:30
Manav Rathi
48b3fa8c09 [web] Refactoring - Cast (#4186) 2024-11-26 15:36:47 +05:30
Manav Rathi
7525b0defe Type 2024-11-26 15:02:10 +05:30
Manav Rathi
ec3f5952b0 dep 2024-11-26 14:50:26 +05:30
Neeraj Gupta
32bf1574e8 [server] Fix usage cal in user_details (#4185)
## Description

## Tests
2024-11-26 14:27:35 +05:30
Neeraj Gupta
ccc6981df9 [server] Fix usage cal in user_details 2024-11-26 14:26:17 +05:30
Manav Rathi
56f584c086 Ref 2024-11-26 14:19:15 +05:30
Manav Rathi
5002cf1d62 Fin 2024-11-26 14:07:08 +05:30
Manav Rathi
b2a9ebe3b8 Typed res 2024-11-26 14:02:22 +05:30
Manav Rathi
34a881115f Remove dupe 2024-11-26 13:51:52 +05:30
Manav Rathi
f85246c8d6 Conv 2024-11-26 13:50:05 +05:30
Manav Rathi
960e6085b1 Move 2024-11-26 13:44:30 +05:30
Manav Rathi
489f5f03c0 Prune 2024-11-26 13:43:43 +05:30
Manav Rathi
20cc8a554d [web] New translations (#4184)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-26 13:00:57 +05:30
Crowdin Bot
3421976238 New Crowdin translations by GitHub Action 2024-11-26 07:30:06 +00:00
Manav Rathi
1b169015c5 [web] Translation cleanup (#4183) 2024-11-26 12:48:32 +05:30
Manav Rathi
768195ccb3 wf 2024-11-26 12:43:24 +05:30
Manav Rathi
58399ba359 ft 2024-11-26 12:36:38 +05:30
Manav Rathi
d50c9bc3a6 Editor strings 2024-11-26 12:32:45 +05:30
Manav Rathi
19983b22cc Rename 2024-11-26 12:22:22 +05:30
Manav Rathi
fcaf07e10d Un 2024-11-26 12:15:54 +05:30
Manav Rathi
3c5cc26083 Move 2024-11-26 12:11:12 +05:30
Neeraj Gupta
e87e2938e8 [mob] Refresh UI when person is changed (#4182)
## Description

## Tests
2024-11-26 12:05:49 +05:30
Manav Rathi
c0dd7b0565 [API] Remove trailing slash from inconsistent cast endpoints (#4179)
None of our other endpoints have a trailing slash. Remove this
inconsistency, otherwise clients who'd not provide a trailing slash
would get an unnecessary redirect.

Note that the CORS-aware clients (web, desktop) do not automatically
follow the redirect because the ACAO is missing on the 307, so we need
keep the old endpoints around temporarily.

Tested: with web and museum running locally
2024-11-26 12:03:52 +05:30
Manav Rathi
b3d75b8e66 Rename and fix casing 2024-11-26 12:03:01 +05:30
Manav Rathi
a98f924fb8 Rename 2024-11-26 12:00:04 +05:30
Manav Rathi
540c9cafab Rename and fix 2024-11-26 11:57:19 +05:30
Manav Rathi
8c6bfb320d Rename 2024-11-26 11:51:47 +05:30
Manav Rathi
11e123828d Rename 2024-11-26 11:47:52 +05:30
Manav Rathi
bc09c4bc59 Rename 2024-11-26 11:41:18 +05:30
Manav Rathi
32396f6c38 Ren 2024-11-26 11:39:14 +05:30
Manav Rathi
114996f1a9 Move 2024-11-26 11:38:21 +05:30
Manav Rathi
9e92f2a73f Rename 2024-11-26 11:38:01 +05:30
Manav Rathi
f2b90c5cbd Move to tr 2024-11-26 11:36:36 +05:30
Manav Rathi
73f4bdc6db Rename 2024-11-26 11:35:19 +05:30
Manav Rathi
371d39b778 [web] Send file size when creating files (#4180) 2024-11-26 10:38:21 +05:30
Manav Rathi
1a2de5b81c [web] Send file size when creating files 2024-11-26 10:33:03 +05:30
Manav Rathi
7be9963303 [API] Remove trailing slash from inconsistent cast endpoints
None of our other endpoints have a trailing slash. Remove this inconsistency,
otherwise clients who'd not provide a trailing slash would get an unnecessary
redirect.

Note that the CORS-aware clients (web, desktop) do not automatically follow the
redirect because the ACAO is missing on the 307, so we need keep the old
endpoints around temporarily.

Tested: with web and museum running locally
2024-11-26 09:53:44 +05:30
Manav Rathi
883aed490e [web] Refactoring - Cast (#4178) 2024-11-26 09:28:59 +05:30
Manav Rathi
76c65a92e3 Re 2024-11-26 09:19:50 +05:30
Manav Rathi
8cd0e6186f Re 2024-11-26 09:12:27 +05:30
Manav Rathi
72fb7e7307 Dialog tweaks 2024-11-26 08:37:36 +05:30
Manav Rathi
139d21949c Fix 2024-11-26 08:35:06 +05:30
Neeraj Gupta
4fc1ec5441 Refresh UI when person is changed 2024-11-26 08:34:47 +05:30
Braky
edd879f239 Update Instagram icon (#4173)
only changes the Instagram icon to the color gradient currently in use
2024-11-26 07:38:08 +05:30
Neeraj Gupta
4f2a2a28e5 [server] Sign up completion check during login + update discord alert (#4176)
## Description

## Tests
2024-11-26 07:37:05 +05:30
Manav Rathi
a59bb780ee Use 2024-11-26 07:29:06 +05:30
Manav Rathi
e36aad9f7c Forward 2024-11-26 07:25:57 +05:30
Manav Rathi
2b36a3e82a Doc and rearrange 2024-11-26 07:03:40 +05:30
Neeraj Gupta
39b1061db7 [mob] Fix UX issues in edit person (#4167)
## Description

## Tests
2024-11-26 07:03:15 +05:30
Neeraj Gupta
d4311bc6c2 [server] Include objectKey in size mismatch 2024-11-26 07:00:36 +05:30
Neeraj Gupta
cd1b0b1f6a [server] Add registration check for login 2024-11-26 06:59:32 +05:30
Manav Rathi
7fd2e58fc8 Typed fetch 2024-11-26 06:48:19 +05:30
ashilkn
efa9ae143c [mob][photos] Bump up to v0.9.61 2024-11-25 22:38:48 +05:30
ashilkn
5fd1f1041a Merge branch 'main' into deeplinks 2024-11-25 22:32:14 +05:30
ashilkn
daaa685a3e [mob][photos] Fix selection bug when not logged in 2024-11-25 22:28:42 +05:30
ashilkn
ddcf456850 [mob][photos] Refactor 2024-11-25 22:09:21 +05:30
ashilkn
c2502d4136 [mob][photos] Fix sorting of files in link-in-app gallery 2024-11-25 21:33:24 +05:30
ashilkn
d514a8ea40 [mob][photos] Fix minor issues with selection in in-app link view 2024-11-25 20:41:00 +05:30
ashilkn
8541eaee60 [mob][photos] Use better names 2024-11-25 20:33:52 +05:30
ashilkn
ae81c73d5b [mob][photos] Chore 2024-11-25 20:22:13 +05:30
ashilkn
32293207bd [mob][photos] Refactor 2024-11-25 20:17:19 +05:30
Manav Rathi
840b0fac63 Inline 2024-11-25 19:50:17 +05:30
Manav Rathi
5fe0bf95c4 Prune log only catch 2024-11-25 19:46:05 +05:30
Manav Rathi
c4a2c10059 Rename 2024-11-25 19:45:46 +05:30
Manav Rathi
a1d6f260cf Reuse 2024-11-25 19:43:05 +05:30
Manav Rathi
eecf4a0932 Reuse 2024-11-25 19:41:10 +05:30
Manav Rathi
15d035ed08 Remove unnecessary async 2024-11-25 19:34:35 +05:30
Manav Rathi
befc5bb00c Tweak 2024-11-25 19:27:21 +05:30
Manav Rathi
5a5a228294 Rename 2024-11-25 19:15:46 +05:30
ashilkn
7d6688adff [mob][photos] Use better names to avoid potential confusion 2024-11-25 18:50:08 +05:30
ashilkn
e2e2987e6e [mob][photos] Use collectionID as key for _cachedPublicAlbumKey map instead of authToken 2024-11-25 18:27:44 +05:30
ashilkn
3f21f5afdd [mob][photos] Chore 2024-11-25 18:24:22 +05:30
ashilkn
e7b5e8f135 Merge branch 'deeplinks' into deeplinks_final_touch 2024-11-25 18:08:57 +05:30
ashilkn
dd323e3256 [mob][photos] Use better names 2024-11-25 18:08:31 +05:30
ashilkn
6669e66bb9 [mob][photos] Notifiy/ask use before opening public link in browser after clicking on the upload files option of an in-app public link 2024-11-25 17:57:13 +05:30
laurenspriem
39f089a86b [mob][photos] Simplify 2024-11-25 17:14:23 +05:30
Aman Raj
799cb24c63 [mob][photos] upload files in web_view for public albums 2024-11-25 17:00:41 +05:30
Aman Raj
c7d56c66a2 [mob][photos] Check for uploading files to public collection 2024-11-25 16:58:52 +05:30
laurenspriem
9b24875af6 [mob][photos] fix merge issue 2024-11-25 16:31:24 +05:30
laurenspriem
16b231c6b7 [mob][photos] intl fix 2024-11-25 16:27:12 +05:30
ashilkn
598b941dda [mob][photos] Improve UX on wrong password for in-app public link 2024-11-25 15:58:29 +05:30
laurenspriem
393e3d4fbb [mob][photos] Refactor more 2024-11-25 15:48:20 +05:30
laurenspriem
2eaf4d198a [mob][photos] refactor 2024-11-25 15:39:30 +05:30
Aman Raj
55fa554a9f [mob][photos] fix: download progress dialog non-dismissible 2024-11-25 15:24:20 +05:30
Neeraj Gupta
23c0458968 Lint fix 2024-11-25 15:14:42 +05:30
laurenspriem
695c2cc9e3 [mob][photos] Remove code 2024-11-25 15:02:37 +05:30
Aman Raj
79f19ef0cb [mob][photos] Minor fix 2024-11-25 14:51:07 +05:30
laurenspriem
33e743386f [mob][photos] Generate only six thumbnails on build 2024-11-25 14:44:31 +05:30
Neeraj Gupta
e710323c46 [mob] Fix UX issues in edit person 2024-11-25 14:20:54 +05:30
Manav Rathi
ae4f5cb161 [web] Download related refactoring (#4166)
No functional changes
2024-11-25 11:59:48 +05:30
Manav Rathi
617259b9ef Move 2024-11-25 11:55:48 +05:30
Manav Rathi
ea92931aa4 Cleanup 2024-11-25 11:53:39 +05:30
ashilkn
1a4cd454cc [mob][photos] Fix using app as photo viewer (by sharing from outside app) not working when app is not killed 2024-11-25 11:45:49 +05:30
laurenspriem
88626e4d50 [mob][photos] Rename 2024-11-25 11:35:37 +05:30
Manav Rathi
bffaf65ec5 Move 2024-11-25 11:34:56 +05:30
Manav Rathi
b80b91b6cd Move 2024-11-25 11:19:36 +05:30
laurenspriem
aa7c78ee50 [mob][photos] generated 2024-11-25 11:16:38 +05:30
laurenspriem
b0cc76c60b Merge branch 'main' into face_thumbnails 2024-11-25 11:16:22 +05:30
Manav Rathi
0ee657af1a [web] New translations (#4162)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-25 09:58:42 +05:30
Neeraj Gupta
6ac0bf26a6 [mobile] New translations (#4163)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-11-25 08:27:00 +05:30
Neeraj Gupta
9e225063ee [auth] New translations (#4164)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-11-25 08:26:38 +05:30
Crowdin Bot
7ee572c4aa New Crowdin translations by GitHub Action 2024-11-25 01:17:33 +00:00
Crowdin Bot
41b25f40ed New Crowdin translations by GitHub Action 2024-11-25 01:05:13 +00:00
Crowdin Bot
a2aa9b8717 New Crowdin translations by GitHub Action 2024-11-25 00:36:45 +00:00
laurenspriem
85b7484426 [mob][photos] Reduce max number of thumbnails 2024-11-24 22:56:07 +05:30
laurenspriem
8615180dfe [mob][photos] use full file 2024-11-24 22:47:55 +05:30
laurenspriem
306c55eef6 [mob][photos] Use full res thumbnails for suggestions 2024-11-24 22:07:40 +05:30
Manav Rathi
ceed533383 [web] Switch file downloads to regular fetch (#4156)
...instead of axios.
2024-11-23 17:21:30 +05:30
Manav Rathi
8ae7565542 Tweak 2024-11-23 16:54:58 +05:30
Manav Rathi
503c1b347d Conv and streamline 2024-11-23 16:52:18 +05:30
Manav Rathi
36849a9e5f Conv 2024-11-23 16:44:15 +05:30
Manav Rathi
020d73f04d Prune 2024-11-23 16:40:05 +05:30
Manav Rathi
c391190664 Conv 2024-11-23 16:37:31 +05:30
Manav Rathi
eb979d155c Conv 2024-11-23 16:34:36 +05:30
Manav Rathi
459339f513 Conv 2024-11-23 16:22:55 +05:30
laurenspriem
dd8cef3ddf [mob][photos] keep face crops for clusters as well 2024-11-23 16:07:11 +05:30
Manav Rathi
d6b47dd452 Stateless 2024-11-23 16:00:17 +05:30
laurenspriem
d1e82b9261 [mob][photos] Store face crop as state 2024-11-23 15:49:26 +05:30
Manav Rathi
ea30dbed46 On demand 2024-11-23 15:28:53 +05:30
Manav Rathi
7503c87bee Doc 2024-11-23 14:59:05 +05:30
Manav Rathi
face515003 Prune 2024-11-23 14:33:48 +05:30
Manav Rathi
f2b4f7ada0 Prune 2024-11-23 14:19:19 +05:30
Manav Rathi
954c132491 useSyncExternalStore 2024-11-23 14:16:37 +05:30
Manav Rathi
ef26df12cc Tweak 2024-11-23 13:50:31 +05:30
laurenspriem
0cfcb83438 [mob][photos] person face widget disable thumbnail fallback 2024-11-23 13:17:29 +05:30
laurenspriem
5d66029a26 [mob][photos] Quicker cache method 2024-11-23 13:15:34 +05:30
laurenspriem
733fd45d6f [mob][photos] Consistent face thumbnails in hierarchical 2024-11-23 11:26:27 +05:30
Neeraj Gupta
5786a3cb79 [mob][photos] Fix #2894 - Edited image resolution (#4153)
## Description

Proposal to fix #2894 so that edited image keep same
dimensions/resolution as original image

The issue was that `FlutterImageCompress.compressWithList` was forcing
the result to be resized using the method's default values {minWidth =
1920, minHeight = 1080}.

It is now forcing the size to be the one right before the compression,
after the potential alterations (flip, rotate, ..).

## Tests

Tested on my Pixel 6a

Built with :

Flutter 3.24.3
JDK 17.0.2
Gradle 7.2
2024-11-23 10:45:34 +05:30
Manav Rathi
07ba083dfe [web] Refactoring of downloader - Part x/x (#4155) 2024-11-23 10:21:24 +05:30
Manav Rathi
01cc72a15f Tweaks 2024-11-23 10:21:10 +05:30
Manav Rathi
1e406cdb90 Handle download failures 2024-11-23 10:03:25 +05:30
Manav Rathi
5f6702f0e7 Types 2024-11-23 09:47:32 +05:30
Manav Rathi
41f2433cee Rework the original downloads 2024-11-23 09:42:40 +05:30
Manav Rathi
d740ebf0f5 Tweak 2024-11-23 08:28:31 +05:30
Manav Rathi
d64113976b Remove dead code 2024-11-23 07:52:22 +05:30
Manav Rathi
3c47e86106 [web] General refactoring, focus towards photo viewer - Part x/x (#4154) 2024-11-23 06:39:18 +05:30
Manav Rathi
2ecc1bbf01 Tweak 2024-11-23 06:29:10 +05:30
Manav Rathi
37d3de25b7 Same spelling as the rest of the codebase 2024-11-23 06:21:12 +05:30
Manav Rathi
745b460941 Fin 2024-11-23 06:14:10 +05:30
Manav Rathi
e02e66ea6d Uncontext 2024-11-23 06:12:41 +05:30
Manav Rathi
3017a35a26 Inline 2024-11-23 06:08:52 +05:30
Manav Rathi
d5d6b7b87a Inline 2024-11-23 06:04:15 +05:30
Manav Rathi
ebee0b25a8 Inline 2024-11-23 06:02:35 +05:30
Manav Rathi
4e0d49b689 Inline 2024-11-23 06:00:44 +05:30
Manav Rathi
76bac5aa72 Inline 2024-11-23 05:58:18 +05:30
Manav Rathi
17bbf31049 Inline 2024-11-23 05:56:32 +05:30
Manav Rathi
a91626aa89 Sep 2024-11-23 05:54:25 +05:30
Manav Rathi
33183412cb Prune 2024-11-23 05:01:38 +05:30
Manav Rathi
81a83ae7a3 Inline 2024-11-23 04:58:57 +05:30
Manav Rathi
552def7153 city fetch only once 2024-11-23 04:50:30 +05:30
Neeraj Gupta
3f0ee4a862 [server][delete] return list of apps being used (#4149)
## Description

## Tests
2024-11-22 23:10:44 +05:30
Neeraj Gupta
397746f2bb [mob][photos] extract remaining strings + localization of 'MagicFilters' (#4150)
Similar to #4118 (used same methodology) @laurenspriem

## Description

I have :
- extracted most of the remaining strings (I am excluding all strings
related to debug pages)
- fixed an issue where the magic filters would only show in english in
hierarchical search (were not localized using the built in
'getLocalizedTitle ' function). Modified file is
`mobile/lib/utils/hierarchical_search_util.dart`

## Tests

Tested on my Pixel 6a

Built with :

Flutter 3.24.3
JDK 17.0.2
Gradle 7.2
2024-11-22 23:10:31 +05:30
ashilkn
4706fff599 [mob][photos] Fix issue when opening links in app 2024-11-22 21:58:36 +05:30
Simon Dubrulle
562bb0da7a fix #2894
Edited image will keep same dimensions as original image
2024-11-22 15:10:17 +01:00
Manav Rathi
2157c2c96d [web] General refactoring, focus towards file conversion - Part x/x (#4152) 2024-11-22 18:19:14 +05:30
Manav Rathi
3b2bc8769f Move force conversion decision to the converter 2024-11-22 18:14:12 +05:30
Manav Rathi
4b368ed8df Fix background 2024-11-22 16:52:56 +05:30
Simon Dubrulle
193bef6927 extracted most remaining strings + fixed issue where 'magic' items would always show in english in hierarchical search 2024-11-22 12:22:10 +01:00
Manav Rathi
c6aff85fd6 Prune 2024-11-22 16:34:22 +05:30
Manav Rathi
16fd6bf1e1 Move 2024-11-22 16:28:37 +05:30
Manav Rathi
333c1da531 Fit better 2024-11-22 16:25:09 +05:30
Manav Rathi
1dcf46309d Trim 2024-11-22 16:19:10 +05:30
Neeraj Gupta
338c2ec369 [server][delete] return list of apps being used 2024-11-22 16:17:08 +05:30
Manav Rathi
13f1e0df4f Fix truncation 2024-11-22 16:04:24 +05:30
Manav Rathi
fb1082a7b7 Inline 1 2024-11-22 15:58:42 +05:30
Neeraj Gupta
8e215d783f [server] Encrich admin api response (#4148)
## Description

## Tests
2024-11-22 15:29:24 +05:30
Neeraj Gupta
831e78f510 [server] Trim space 2024-11-22 15:20:38 +05:30
Neeraj Gupta
25596854d3 [server] Additional data for support dashboard 2024-11-22 15:18:24 +05:30
Manav Rathi
6676fd40b4 Remove override
That I can't find the reason for (will restore if needed)
2024-11-22 15:13:32 +05:30
Manav Rathi
3cc93fbf00 Doc 2024-11-22 15:05:24 +05:30
Manav Rathi
7c163a1a7f Doc 2024-11-22 14:50:55 +05:30
Manav Rathi
6fe994a65c Move 2024-11-22 14:32:53 +05:30
laurenspriem
47ad0337bc [mob][photos] Format 2024-11-22 14:17:10 +05:30
Manav Rathi
60b0be15ad Move 2024-11-22 13:48:56 +05:30
Neeraj Gupta
f93885fba3 [server] Return passkey acount 2024-11-22 13:01:52 +05:30
Manav Rathi
ba84e9cf43 [web] Remove old forked ffmpeg (#4147)
Finalization of https://github.com/ente-io/ente/pull/4127
2024-11-22 12:56:57 +05:30
Manav Rathi
9c4c692c31 Unstar 2024-11-22 12:46:45 +05:30
Manav Rathi
1631354fd8 Remove 2024-11-22 12:42:53 +05:30
Manav Rathi
69c42d7037 Remove 2024-11-22 12:37:23 +05:30
Manav Rathi
e8b1d6f220 Remove 2024-11-22 12:36:26 +05:30
Manav Rathi
f925e36845 Remove submodule web/apps/photos/thirdparty/ffmpeg-wasm 2024-11-22 12:35:54 +05:30
Manav Rathi
52130a0f42 Remove old code 2024-11-22 12:34:47 +05:30
Manav Rathi
8418e9abc1 Doc 2024-11-22 12:34:17 +05:30
Manav Rathi
5e7413ae6f [web] Improve error message (#4146) 2024-11-22 12:31:56 +05:30
Manav Rathi
f16526efd7 [web] New promise queue (#4145) 2024-11-22 12:26:33 +05:30
Manav Rathi
89a7c183de [web] Improve error message
Don't include potentially unbounded stack traces in user facing error messages.
2024-11-22 12:25:18 +05:30
Manav Rathi
75972e5170 Use 2024-11-22 12:17:32 +05:30
Manav Rathi
d8821a0d73 Use 2024-11-22 12:05:19 +05:30
Manav Rathi
e919bf9e1b Write a new promise queue 2024-11-22 12:01:04 +05:30
Manav Rathi
1d070e831b Terminology 2024-11-22 10:37:50 +05:30
Alex Rirak
3dc4d03a87 [AUTH] Fix logo for KnownHost.com + Add dark mode support to Carta.com logo (#4121)
## Description
 - Fix logo for KnownHost.com
 - Add dark mode support to Carta.com logo
2024-11-22 09:57:40 +05:30
Manav Rathi
7708e57ab4 [web] Enable Vietnamese (#4142) 2024-11-22 08:52:56 +05:30
Manav Rathi
6a06e99cb5 [web] Enable Vietnamese 2024-11-22 08:48:33 +05:30
Manav Rathi
0c3cdc57e8 [web] [auth] Translation tweaks (#4141) 2024-11-22 08:42:11 +05:30
Manav Rathi
20fdecaf53 [web] [auth] Translation tweaks 2024-11-22 08:38:12 +05:30
Manav Rathi
cfdc5f00a2 [web] New translations (#4140)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-22 08:36:38 +05:30
Crowdin Bot
8edeef0963 New Crowdin translations by GitHub Action 2024-11-22 03:02:56 +00:00
Manav Rathi
3863878ffc [web][auth] Improve empty state (#4139)
Fixes: https://github.com/ente-io/ente/discussions/4134
2024-11-22 08:31:59 +05:30
Manav Rathi
a84a8d6f04 p => Typography 2024-11-22 08:29:13 +05:30
Manav Rathi
defbdf528c [web][auth] Improve empty state
Fixes: https://github.com/ente-io/ente/discussions/4134
2024-11-22 08:25:22 +05:30
Neeraj Gupta
f0dd74070e [mob][auth] Send signup as purpose during registration (#4133)
## Description

## Tests
2024-11-22 00:56:20 +05:30
mangesh
658177c916 [docs]: move cli self host guide to help page (from ente/cli/docs/sel… (#4128) 2024-11-22 00:53:43 +05:30
Neeraj Gupta
98abac9c77 [mob][auth] Send signup as purpose during registration 2024-11-22 00:52:57 +05:30
Neeraj Gupta
ab2f46e2db [server]Throw err if account registration is completed (#4129)
## Description

## Tests
2024-11-22 00:31:16 +05:30
Laurens Priem
8504f849ea [mobile][photos] Extracted hardcoded english strings + improved trans… (#4118)
## Description

In this PR, I have followed advices from @laurenspriem (in #4039) to:

- extract 15 hardcoded english strings (so that they can be exposed in
Crowdin)
- fix existing string which was wrongly using a parameter (placeholder)
- update the translations documentation so that it includes the
recommended (and hereby followed) approach

This is a follow up of #4040, after having discussed with @laurenspriem
(in #4039).

## Tests
Tested on my Pixel 6a (manually checked multiple new strings, the
easiest ones to trigger, but not all the 15)

Built with :

Flutter 3.24.3
JDK 17.0.2
Gradle 7.2
2024-11-21 20:12:17 +05:30
ashilkn
aaab52c974 Merge branch 'main' into deeplinks 2024-11-21 19:25:14 +05:30
Simon Dubrulle
192ee98c76 Merge branch 'main' into extract_strings_and_improve_translations_doc 2024-11-21 13:50:30 +01:00
ashilkn
a53efda913 [mob][photos] Update media_extension ref 2024-11-21 18:20:06 +05:30
ashilkn
8c36fdb264 [mob][photos] Fix null check used in null value error 2024-11-21 17:42:56 +05:30
Manav Rathi
763248ffc2 [web] Switch to assets (#4130)
- And don't block on cities fetch during remoteSync
2024-11-21 17:41:47 +05:30
ashilkn
5056977e7f [mob][photos] Change copies 2024-11-21 17:33:45 +05:30
laurenspriem
f737bcc7dc [mob][photos] toast message when clicking unclustered face 2024-11-21 17:27:35 +05:30
Neeraj Gupta
f37b25a1c7 [server]Throw err if account registration is completed 2024-11-21 17:26:32 +05:30
Manav Rathi
da884a1b10 Switch 2024-11-21 17:21:24 +05:30
Manav Rathi
12de02f1b5 Don't block on cities fetch during remoteSync 2024-11-21 17:09:59 +05:30
ashilkn
7d96f38e53 [mob][photos] Only show dialog asking for permission to open public link in-app in the android app's independednt and fdroid versions 2024-11-21 17:04:56 +05:30
Manav Rathi
1a9e25a6d8 Switch 2024-11-21 16:50:39 +05:30
laurenspriem
f9865e3fbe Merge branch 'main' into face_thumbnails 2024-11-21 16:31:51 +05:30
ashilkn
45bf98c859 Merge branch 'main' into deeplinks 2024-11-21 15:52:46 +05:30
mangeshrex
746c815186 [docs]: move cli self host guide to help page (from ente/cli/docs/self-hosting.md) 2024-11-21 15:38:39 +05:30
Manav Rathi
cb11062d23 [web] Use upstream ffmpeg WASM (#4127)
* ~0.10 => 0.12 of https://ffmpegwasm.netlify.app
* The old version still needs to be cleaned up, will do that in a
subsequent PR
2024-11-21 15:24:55 +05:30
Neeraj Gupta
76255069f2 [mob] Refactor UX for saving and editing person (#4126)
## Description

## Tests
2024-11-21 15:20:34 +05:30
Manav Rathi
44dee7aa0b LF 2024-11-21 15:20:07 +05:30
Neeraj Gupta
eeff11c795 Lint fix 2024-11-21 15:17:40 +05:30
Neeraj Gupta
3db2f75216 Lint fixes 2024-11-21 15:11:09 +05:30
Manav Rathi
632c5b5acf Restore queue
Observed on Safari

> Failed to generate video thumbnail using the wasm FFmpeg web worker, will
  fallback to canvas: RuntimeError: Out of bounds memory access (evaluating
  'Module["_malloc"](len)')
2024-11-21 15:06:58 +05:30
Neeraj Gupta
e0188687c0 Bump mob photos version 2024-11-21 14:59:03 +05:30
Neeraj Gupta
80e998231e Show merged clusters 2024-11-21 14:58:33 +05:30
Neeraj Gupta
b586957adc Show merged photos during edit person 2024-11-21 14:53:03 +05:30
Manav Rathi
e17bc10d67 Use nid 2024-11-21 14:44:05 +05:30
Manav Rathi
8a2e81cfef yarn 2024-11-21 14:39:30 +05:30
Manav Rathi
4509d8c23f Fit in 2024-11-21 14:10:22 +05:30
Neeraj Gupta
9e8bbe3a40 Use new shape for faceWidget 2024-11-21 14:10:11 +05:30
Neeraj Gupta
60df8392af Update review suggestions ui 2024-11-21 13:44:24 +05:30
Manav Rathi
e0d41f6024 Doc path 2024-11-21 13:34:19 +05:30
Neeraj Gupta
fb801fdfa6 Update UI 2024-11-21 12:48:00 +05:30
Manav Rathi
b9a77cc8ce Swap 2024-11-21 12:46:18 +05:30
Neeraj Gupta
d74e5bc723 Update person suggestions ui 2024-11-21 12:28:12 +05:30
Manav Rathi
c001ea5682 [web] General refactoring - Part x/x (#4124) 2024-11-21 11:56:14 +05:30
Manav Rathi
3cd17087b0 lf + space 2024-11-21 11:49:23 +05:30
Manav Rathi
8a95089a48 Swap 2024-11-21 11:44:41 +05:30
Manav Rathi
4d40f49754 Migrate to fetch 2024-11-21 11:40:50 +05:30
Manav Rathi
8d141d451d Space 2024-11-21 11:28:33 +05:30
Manav Rathi
9aa28027dc Same convention as other packages 2024-11-21 11:27:21 +05:30
Manav Rathi
2195c79fcc Move 2024-11-21 11:25:11 +05:30
Manav Rathi
d857648af9 Inline and move 2024-11-21 11:22:10 +05:30
Manav Rathi
68d475c224 Move 2024-11-21 11:12:06 +05:30
Manav Rathi
d60193fa56 Move 2024-11-21 11:10:05 +05:30
Neeraj Gupta
09953bbc34 Merge remote-tracking branch 'origin/main' into save_contact 2024-11-21 11:06:24 +05:30
Neeraj Gupta
5f60db24ea Support for editing person birthdate and cover 2024-11-21 11:03:29 +05:30
Manav Rathi
228bf49eb3 Prevent layout shift 2024-11-21 10:45:36 +05:30
Manav Rathi
eb55dad4a9 Trim 2024-11-21 10:32:49 +05:30
Manav Rathi
6e6c4ee72b Move 2024-11-21 10:28:00 +05:30
Manav Rathi
0fa7da8bb6 Move 2024-11-21 10:25:10 +05:30
Manav Rathi
8505383827 Localize 2024-11-21 10:12:53 +05:30
Manav Rathi
142a1bd684 Move 2024-11-21 09:40:58 +05:30
Manav Rathi
780da003cc Import 2024-11-21 09:33:36 +05:30
ashilkn
6c7d403d5d [mob][photos] Fix red screen error caused by the dialog asking for permission to allow opening album links in-app 2024-11-21 08:56:29 +05:30
Manav Rathi
5bdc754513 [web] General cleanup (#4122) 2024-11-21 08:33:01 +05:30
Manav Rathi
bef67b60b3 Use same check throughout 2024-11-21 08:25:27 +05:30
Manav Rathi
e4023f66f2 Allow running desktop and web apps simultaneously in dev mode 2024-11-21 08:24:04 +05:30
Manav Rathi
252587ffa5 Move 2024-11-21 07:54:18 +05:30
Manav Rathi
27f18b5936 Reuse 2024-11-21 07:33:39 +05:30
Manav Rathi
3dfdd0ec3c Rename 2024-11-21 07:29:24 +05:30
Manav Rathi
3578ed1eef Merge 2024-11-21 06:53:24 +05:30
Manav Rathi
aa3c212b26 Move 2024-11-21 06:33:47 +05:30
Simon Dubrulle
8cef4a14b1 [mobile][photos] Extracted hardcoded english strings + improved translations documentation + fixed malformed string that is using placeholder 2024-11-20 22:18:00 +01:00
Ashil
e7c3c6d9de [mob][photos] Fix blank screen coming up right after freeing up space when deleting in batches (#4113) 2024-11-20 22:27:08 +05:30
ashilkn
1db6c99b28 [mob][photos] Handle deep link from public album by opening the album in app 2024-11-20 21:10:02 +05:30
ashilkn
cda749ddfd [mob][photos] Remove stale code 2024-11-20 20:07:32 +05:30
Manav Rathi
328c27b676 [web] Forward some methods via the new crypto worker interface (#4114) 2024-11-20 19:12:42 +05:30
Manav Rathi
165ffabdcb Bypass 2024-11-20 19:03:10 +05:30
Manav Rathi
70a5274eea Reduce concepts, & avoid naming two things as EncryptedFile 2024-11-20 18:58:00 +05:30
Manav Rathi
d05dd416ca Fwd 2024-11-20 18:36:32 +05:30
ashilkn
492016ae36 [mob][photos] Fix blank screen coming up right after freeing up space when deleting in batches 2024-11-20 18:33:09 +05:30
Manav Rathi
2884c0aedf Fwd 2024-11-20 18:27:56 +05:30
Manav Rathi
91e45fe64a Restore thumb 2024-11-20 18:16:56 +05:30
Neeraj Gupta
5590f72b12 [mob]Support for editing name/birthday for person 2024-11-20 16:41:31 +05:30
Manav Rathi
040c893107 [web] Non-functional crypto layer ontology tweaks (#4111)
This PR reworks the names etc, and how the parameters and names fit in
the ontology of our crypto layers as part of our long term improvements
to the crypto layering, but doesn't change _any_ implementation
specifics.
2024-11-20 16:38:13 +05:30
Manav Rathi
045f367012 Tweak outline 2024-11-20 16:20:29 +05:30
Manav Rathi
105f750c95 Rework decryption 2024-11-20 16:16:04 +05:30
Manav Rathi
7f80ef1879 Rework 2024-11-20 15:03:01 +05:30
Neeraj Gupta
943e79464a Lint fixes 2024-11-20 14:41:19 +05:30
Neeraj Gupta
f38ee6369f [mob[ Added doc for mobile translations + added 2 new source string… (#4040)
This is my first contribution and I wanted to start with something
'simple'. My goal is to further contribute to the translation of Ente
photos. I am trying to understand that process which is not yet entirely
clear to me, especially when it comes to which files must be (or do not
need to be) generated.

## Description
As a first (small) step, I have:
- created 2 new source strings ('collaboratorsSuccessfullyAdded' and
'viewersSuccessfullyAdded') that replace hardcoded text in the
"add_a_participant" page.
- Created draft of a documentation for translations on mobile app (based
on the doc for web app)

## Tests

Tested on my Pixel 6a

Built with :
- Flutter 3.24.3
- JDK 17.0.2
- Gradle 7.2

## Questions
- I have manually updated the `l10n.dart` file (using existing similar
strings ) but I guess it should be automatically generated from the
`intl_en.arb` file, correct? If so, is it something anyone can do and
can we add the step in the doc?
- Should the other languages be updated as well in that commit, or will
they only be updated via the Github Crowdin action ? Looking at the
existing PR, it seems like they might need to be updated as well in the
commit.
2024-11-20 14:19:10 +05:30
Manav Rathi
fac2b34045 Interim type 2024-11-20 13:38:59 +05:30
Vishnu Mohandas
c074ee0780 Fix auth icons (#4108) 2024-11-20 13:26:23 +05:30
vishnukvmd
e7b97c2407 Merge branch 'main' into fix-auth-icons 2024-11-20 13:20:15 +05:30
Manav Rathi
a40cf7d880 Doc 2024-11-20 13:18:49 +05:30
vishnukvmd
7bc2ecb3e8 v4.1.1 2024-11-20 13:17:19 +05:30
vishnukvmd
b12ecea496 Revert "Add new icons (#3776)"
This reverts commit a6e4f9e603.
2024-11-20 13:16:43 +05:30
vishnukvmd
746046ac11 Update simple-icons 2024-11-20 13:10:02 +05:30
Manav Rathi
76dca8e5f6 Rename 2024-11-20 13:02:52 +05:30
Manav Rathi
b21ab6779a Direct 2024-11-20 12:47:17 +05:30
Vishnu Mohandas
3c5f6dd510 [docs] Document the threat model for app lock 2024-11-20 11:50:47 +05:30
Manav Rathi
2515ad0640 [web] Post eslint migration cleanup (#4106)
More needs to be done, but gradually.
2024-11-20 11:31:39 +05:30
Manav Rathi
510f94fc51 lf 2024-11-20 11:21:49 +05:30
Manav Rathi
fb7f64bd35 Tighten 2024-11-20 11:15:26 +05:30
Manav Rathi
f3bfc8525b Fix 2024-11-20 10:32:22 +05:30
Manav Rathi
c6fd49bff5 Prune 2024-11-20 10:29:19 +05:30
Manav Rathi
0fca6728cd Fix 2024-11-20 10:25:34 +05:30
Manav Rathi
8f0efb41fe Auto fix 2024-11-20 10:22:21 +05:30
Manav Rathi
8272703a21 Auto fix 2024-11-20 10:20:28 +05:30
Manav Rathi
8f0ec55e54 Fix 2024-11-20 10:18:50 +05:30
Manav Rathi
ebe0292cb4 Prune 2024-11-20 10:14:30 +05:30
Manav Rathi
132e509589 Apply rec 2024-11-20 10:09:56 +05:30
Manav Rathi
ba8ccbf065 Prune 2024-11-20 10:08:41 +05:30
Manav Rathi
f5512d3cd8 Apply autofixes prefer-regexp-exec 2024-11-20 10:07:42 +05:30
Manav Rathi
3b0544d779 Prune 2024-11-20 10:05:54 +05:30
Manav Rathi
a370188504 Fix awaited returns 2024-11-20 10:04:27 +05:30
Manav Rathi
07b1709308 Prune 2024-11-20 10:01:46 +05:30
Manav Rathi
4e5c99aafe Prune 2024-11-20 10:00:52 +05:30
Manav Rathi
fdf0e3f0ad Fix 2024-11-20 09:53:46 +05:30
Manav Rathi
98bfb8b5f5 This shouldn't be named useFoo, leaving that refactoring for later 2024-11-20 09:47:14 +05:30
Manav Rathi
cd6c3d9158 Prune 2024-11-20 09:45:57 +05:30
Manav Rathi
6533883eaa Prune 2024-11-20 09:43:50 +05:30
Manav Rathi
6fe4201eb8 Prune 2024-11-20 09:42:37 +05:30
Manav Rathi
09f76599b2 Prune 2024-11-20 09:39:57 +05:30
Manav Rathi
04a8bd6209 Apply lints 2024-11-20 09:38:35 +05:30
Manav Rathi
3d3ee1bb6f Apply lints 2024-11-20 09:36:04 +05:30
Manav Rathi
af82ef194d Not awaiting promises to retain existing behavior 2024-11-20 09:32:27 +05:30
Manav Rathi
1ddd143b2e Context 2024-11-20 09:19:56 +05:30
Manav Rathi
1ec67c6baf Prune 2024-11-20 09:07:20 +05:30
Manav Rathi
80146522ad Start fixing 2024-11-20 08:28:17 +05:30
Manav Rathi
3dd136bdf3 Tweaks 2024-11-20 08:19:46 +05:30
Manav Rathi
f69832ea16 Fix updated rule 2024-11-20 08:13:39 +05:30
Manav Rathi
e55181a9be Bring back the rest that are needed 2024-11-20 08:07:04 +05:30
Manav Rathi
8f43f27fcf Tweak ignores 2024-11-20 08:03:56 +05:30
Manav Rathi
916b56fa65 The files filter has a big impact on speed 2024-11-20 07:59:57 +05:30
Manav Rathi
c211a829f8 Bring back overrides 2024-11-20 07:56:54 +05:30
Manav Rathi
89b90c9332 Fix overwriting 2024-11-20 07:53:02 +05:30
Manav Rathi
7c2b8422a8 Dot's no longer needed
From docs:

> If you are using a flat configuration file(eslint.config.js), you can also omit the file arguments and ESLint will use .
2024-11-20 07:45:25 +05:30
Manav Rathi
2daca31499 [web] ESLint 8 => 9 (#4097)
This does the bulk of the migration. Will migrate the source to the new
rules in smaller subsequent PRs.
2024-11-19 20:14:40 +05:30
ashilkn
0a6e1a5730 [mob][photos] Configure clicking on albums.ente.sh links to open up the app on iOS 2024-11-19 20:11:44 +05:30
Manav Rathi
886a0ddb25 Update 2024-11-19 20:10:24 +05:30
Manav Rathi
9e2a70e469 tsc on build-config 2024-11-19 20:04:52 +05:30
Manav Rathi
e668c86185 Fix 2024-11-19 19:59:17 +05:30
Manav Rathi
2bda469176 Swap 2024-11-19 19:52:48 +05:30
Manav Rathi
91ddce1425 Fix 2024-11-19 19:49:42 +05:30
Manav Rathi
5c6784c549 Swap 2024-11-19 19:47:28 +05:30
Manav Rathi
01f1172382 Swap 2024-11-19 19:46:37 +05:30
Manav Rathi
87ac2360eb Swap 2024-11-19 19:44:24 +05:30
Manav Rathi
31b50852b6 Swap 2024-11-19 19:39:59 +05:30
Manav Rathi
c506eec544 Fix 2024-11-19 19:38:42 +05:30
Manav Rathi
938679922c Swap 2024-11-19 19:35:14 +05:30
Manav Rathi
1aac1ae3c3 Fix for now 2024-11-19 19:33:33 +05:30
Manav Rathi
a3586fed7e Swap 2024-11-19 19:32:52 +05:30
Manav Rathi
097b90eeda Get it to run 2024-11-19 19:31:33 +05:30
Manav Rathi
83adb94fc9 Swap 2024-11-19 19:29:52 +05:30
Manav Rathi
e6cbd75a52 Fix as per new rules 2024-11-19 19:28:04 +05:30
Manav Rathi
02c9f9f615 Swap 2024-11-19 19:25:18 +05:30
Manav Rathi
453c825cc6 Autofixer no-duplicate-type-constituents 2024-11-19 19:22:25 +05:30
Manav Rathi
ea19cd08c6 Swap 2024-11-19 19:20:31 +05:30
Manav Rathi
4a3260f627 Auto fixer for new lint rule 2024-11-19 19:19:31 +05:30
Manav Rathi
0271e53c26 Swap 2024-11-19 19:15:07 +05:30
Manav Rathi
1b772b644a Move to config 2024-11-19 19:14:12 +05:30
Manav Rathi
2bde3fb0d7 Squash 2024-11-19 19:12:22 +05:30
Manav Rathi
db5049b801 Swap 2024-11-19 19:06:17 +05:30
Manav Rathi
32cd241982 Merge 2024-11-19 19:02:30 +05:30
Manav Rathi
0338313f73 rr 2024-11-19 19:00:10 +05:30
Manav Rathi
0f93c48e10 Scope 2024-11-19 18:57:40 +05:30
Manav Rathi
dbfb5e5da3 hp 2024-11-19 18:49:40 +05:30
Manav Rathi
5209562bba rv 2024-11-19 18:47:24 +05:30
Manav Rathi
69d4e632f4 rp 2024-11-19 18:40:49 +05:30
Manav Rathi
b5be13df2c Cleanup 2024-11-19 18:27:24 +05:30
Manav Rathi
ebcabe5bfe Restore rules 2024-11-19 18:25:41 +05:30
Manav Rathi
41cdb73382 Upd 2024-11-19 18:22:23 +05:30
Manav Rathi
da71a34f75 TC 2024-11-19 18:15:51 +05:30
Neeraj Gupta
b0b527d2ea [mob] Clean up 2024-11-19 18:12:58 +05:30
Manav Rathi
2bdf85403b Direct 2024-11-19 18:09:47 +05:30
Manav Rathi
56b72bd55b Chain 2024-11-19 18:05:45 +05:30
Manav Rathi
dbeb95d438 wip checkpoint 2024-11-19 17:57:59 +05:30
Neeraj Gupta
572f2aff88 [mob] Hide merge section if no suggestion 2024-11-19 17:55:41 +05:30
Neeraj Gupta
a2d022f751 [mob] UI Changes 2024-11-19 17:53:23 +05:30
Manav Rathi
143d346ed4 eslint migration wip checkpoint 2024-11-19 17:49:37 +05:30
Neeraj Gupta
7e7d53fbaf [mob] Rename icons and action name for people bar 2024-11-19 17:22:20 +05:30
Laurens Priem
29b2bd577c [mob][photos] Fix ConcurrentModificationError (#4095)
## Description

Fix ConcurrentModificationError
2024-11-19 17:01:42 +05:30
laurenspriem
55044b1818 [mob][photos] Fix ConcurrentModificationError 2024-11-19 17:00:09 +05:30
Neeraj Gupta
c25310059a Merge remote-tracking branch 'origin/main' into save_contact 2024-11-19 16:50:11 +05:30
Ashil
538967bda0 Update apple-app-site-association for opening public link album in-app. (#4093) 2024-11-19 14:27:39 +05:30
Ashil
f848f64dc5 Update apple-app-site-association for opening public link album in-app. 2024-11-19 14:09:33 +05:30
Laurens Priem
8b07db8a73 Ml sync fix (#4027)
## Description

Remotely safe faceIDs of a certain person that are rejected by the user.
2024-11-19 13:43:45 +05:30
Manav Rathi
f7aaa7a2c8 [web] Lint infrastructure cleanup - Part 1/x (#4092) 2024-11-19 13:10:36 +05:30
Manav Rathi
4536486daa Prep 2024-11-19 12:57:26 +05:30
Manav Rathi
dee8f8af6c Prune 2024-11-19 12:53:48 +05:30
Manav Rathi
cbf48df272 Inline base config 2024-11-19 12:44:45 +05:30
Manav Rathi
cda9f17bcb Inline 2024-11-19 12:36:23 +05:30
Manav Rathi
28d6a525db Swap 2024-11-19 12:32:54 +05:30
Manav Rathi
27c7221483 Swap 2024-11-19 12:28:42 +05:30
Manav Rathi
e2636edbb9 Swap 2024-11-19 12:25:14 +05:30
Manav Rathi
3a3f9fbd94 Swap to newer 2024-11-19 12:20:21 +05:30
simondubrulle
bdf1023612 Merge pull request #1 from simondubrulle/main
Synced with main
2024-11-19 07:31:20 +01:00
Neeraj Gupta
18cf3f2e60 [mob] Add new screen for save person 2024-11-19 11:53:06 +05:30
Neeraj Gupta
14adea59bf Use super 2024-11-19 10:57:40 +05:30
Neeraj Gupta
e204450f2a [server] Handle error in bonus reversal (#4089)
## Description

## Tests
2024-11-19 10:30:09 +05:30
Neeraj Gupta
05f5c7f439 [server] Wrap inside db transaction 2024-11-19 10:28:02 +05:30
Neeraj Gupta
641a73c101 [server] validate bonus reversal 2024-11-19 10:24:58 +05:30
Manav Rathi
bd33bec3e6 [desktop] Move out of labs (#4088)
Prep for next release.
2024-11-19 08:18:23 +05:30
Manav Rathi
68c230dae9 Fix scroll (partially)
We want the consent message to be scrollable. The current changes are a partial
solution, the navbar still shows through at times.
2024-11-19 08:13:11 +05:30
Manav Rathi
a2b9126c88 Rename 2024-11-19 06:34:24 +05:30
Manav Rathi
07600c6018 Inline consent contents 2024-11-18 20:23:57 +05:30
Manav Rathi
0024ee5b77 wip checkpoint 2024-11-18 20:10:48 +05:30
Manav Rathi
d5d97d3d6e Prep 2024-11-18 19:58:30 +05:30
Manav Rathi
e3e9febeb3 Always show people section btn on destkop 2024-11-18 19:02:14 +05:30
ashilkn
e7d6ea0f3a [mob][photos] Cancel subscription to linkStream in passkey page after use 2024-11-18 19:02:05 +05:30
Manav Rathi
ed5c4dfc7e Unlab 2024-11-18 18:58:48 +05:30
Manav Rathi
43d47f1c4c [web] Deprecate our home grown ensure (#4082)
ensure:

     Error: Required value was undefined

Built in undefined property access (note how the error message has more
info):

     TypeError: Cannot read properties of undefined (reading 'length')
2024-11-18 18:43:48 +05:30
Manav Rathi
ebbca2b609 Fin 2024-11-18 18:37:30 +05:30
Manav Rathi
ebd550505f Cont 2024-11-18 18:32:51 +05:30
Manav Rathi
24b9e629c1 Cont 2024-11-18 18:29:15 +05:30
ashilkn
a86b6dddd4 [mob][photos] Resolve merge conflicts and merge main 2024-11-18 18:24:05 +05:30
Manav Rathi
a261d1b3a2 Continue 17bcf21216 2024-11-18 18:17:57 +05:30
Manav Rathi
17bcf21216 Start deprecating ensure
ensure:
    Error: Required value was undefined

Built in undefined property access (note how the error message has more info):
    TypeError: Cannot read properties of undefined (reading 'length')
2024-11-18 18:01:44 +05:30
Manav Rathi
49f8f0aadd [web] Periodic dependency update (#4080) 2024-11-18 17:40:36 +05:30
Manav Rathi
6304af0b31 Other updates 2024-11-18 17:35:26 +05:30
Manav Rathi
ed2ad06515 Fix comlink init (after dep update) 2024-11-18 17:33:28 +05:30
Manav Rathi
daee8fb4f6 Update deps 2024-11-18 16:56:15 +05:30
Manav Rathi
9b8851e007 [desktop] Support rejected faces in clusters synced with remote (#4051)
Sibling of https://github.com/ente-io/ente/pull/4027
2024-11-18 15:50:45 +05:30
Manav Rathi
c120ab0596 assigned and rejected should not intersect 2024-11-18 15:47:41 +05:30
Manav Rathi
038f776dec [web] Add workaround for black grid lines when zooming onto images in Chrome (#4076)
Fixes https://github.com/ente-io/ente/issues/4067
2024-11-18 14:22:59 +05:30
Manav Rathi
77844f802c [web] Add workaround for black grid lines when zooming onto images in Chrome
Fixes https://github.com/ente-io/ente/issues/4067
2024-11-18 14:19:25 +05:30
rippleFCL
9401c9f0e1 [cli] Update Ente CLI ENTE_CLI_SECRETS_PATH docs (#4047)
Co-authored-by: seeg <dev@charlie.fyi>
2024-11-18 14:15:43 +05:30
Ashil
cdb00ed06b [mob][photos] Faces UI enhancement (#4073) 2024-11-18 14:14:40 +05:30
Nugraha Yoga
05b88bb831 [mob] Fix market URI on mobile (#4054)
## Description
This PR fix typos in the market URI that resulted in 404 page on android
market.

![image](https://github.com/user-attachments/assets/f91669f0-cace-4f93-8a55-202adda4c164)
2024-11-18 14:14:18 +05:30
Aaron
34bce7c1d3 [auth][l10n]: Add Catalan translation (#4052) 2024-11-18 14:14:08 +05:30
Nikunj Kumar Nakum
78871e2843 Added Bluesky logo (#4061)
## Description
added bluesky logo
## Tests
2024-11-18 14:11:26 +05:30
Neeraj Gupta
7c3ff50b7f [mobile] New translations (#4069)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-11-18 14:09:35 +05:30
Neeraj Gupta
c4ad530bc1 [auth] New translations (#4070)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-11-18 14:07:49 +05:30
Manav Rathi
7acb76fda8 [desktop] Dependency updates (#4075) 2024-11-18 13:57:07 +05:30
Manav Rathi
c37f6d2904 [desktop] Dependency updates 2024-11-18 13:53:27 +05:30
Manav Rathi
e7a5f51a37 [web] New translations (#4068)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-18 13:35:40 +05:30
ashilkn
f42ae367dc [mob][photos] Fix loading and error state of 'all' screen of people section 2024-11-18 11:01:11 +05:30
ashilkn
4f86ca9415 Merge branch 'main' into faces_UI_enhancement 2024-11-18 10:51:04 +05:30
ashilkn
47b668a82a [mob][photos] Minor animation tweaks: 2024-11-18 10:48:46 +05:30
Neeraj Gupta
72d09bec50 [auth] Implement Custom Sorting (#4072)
## Description
This pull request introduces functionality to enable custom sorting for
TOTP codes in the app. Users can now drag and drop codes to rearrange
their order. The updated order is synced across all devices.
2024-11-18 10:31:53 +05:30
ashilkn
9de634ab8b [mob][photos] Use an app bar that occupies less space on UI in 'all' section of people section compared to the app bar used in 'all' screen of other sections 2024-11-18 10:31:05 +05:30
ashilkn
58887ce044 [mob][photos] Make 'all' screen of people section more similar to 'all' screen of other sections 2024-11-18 10:25:07 +05:30
ashilkn
ad4b5832ca [mob][photos] Fix appBar color change on scroll 2024-11-18 10:23:18 +05:30
ashilkn
8ba65c599a [mob][photos] Fix SafeArea widget breaking the item size logic on 'all' screen of people section 2024-11-18 10:00:01 +05:30
Crowdin Bot
665609d2b3 New Crowdin translations by GitHub Action 2024-11-18 01:17:41 +00:00
Crowdin Bot
60f5d91f45 New Crowdin translations by GitHub Action 2024-11-18 01:05:19 +00:00
Crowdin Bot
54d791e723 New Crowdin translations by GitHub Action 2024-11-18 00:36:55 +00:00
Vishnu Mohandas
e719cde4e3 Update admin.md 2024-11-17 22:03:23 +05:30
Aman Raj
01d182a496 [auth] added a new parameter to keep track of position of code 2024-11-16 21:20:46 +05:30
Aman Raj
20308e99e9 [auth] logic to cache codes and to save & update them 2024-11-16 21:19:04 +05:30
Aman Raj
2bc1ce9f92 [auth] added reorder code screen 2024-11-16 21:17:47 +05:30
Aman Raj
b69b6fc6a7 [auth] added edit icon to reorder codes 2024-11-16 20:49:02 +05:30
laurenspriem
12fc4816c7 [mob][photos] More refactor 2024-11-16 19:00:50 +05:30
laurenspriem
826383ccdf [mob][photos] Refactor face thumbnail generation 2024-11-16 18:43:24 +05:30
Manav Rathi
b5843cdf60 Update people after file upload 2024-11-16 14:49:47 +05:30
Manav Rathi
73d71834b9 Don't rely on count to track changes since we can now have rejns 2024-11-16 13:34:54 +05:30
Manav Rathi
95905a4187 Fix 2024-11-16 12:50:47 +05:30
Manav Rathi
1aae178179 Use 2024-11-16 09:56:05 +05:30
Manav Rathi
0e6705f8e1 Compute rejected clusters 2024-11-16 09:27:20 +05:30
Manav Rathi
8cf87acb7b Rework 2024-11-15 22:01:29 +05:30
Manav Rathi
f1ba5cfc43 Distinguish between suggestion reject and saved choice reject 2024-11-15 22:01:29 +05:30
Manav Rathi
f9fb65db41 Reject on unassign 2024-11-15 22:01:28 +05:30
Manav Rathi
5abd6468c7 Prune on positive suggestion accept 2024-11-15 22:01:28 +05:30
Manav Rathi
fb3c845759 Add cluster 2024-11-15 22:01:28 +05:30
Manav Rathi
f6eeb6abce Apply rejections to suggestion base clusters 2024-11-15 22:01:28 +05:30
Manav Rathi
c577ccd7e4 Filter out rejected face IDs when using remote cgroups 2024-11-15 22:01:28 +05:30
Manav Rathi
ddd13a88be Types 2024-11-15 22:01:28 +05:30
ashilkn
392ec34f25 [mob][photos] Remove hero animation from People section because when it's enabled, there is a UI glitch because of an issue in flutter
https://github.com/flutter/flutter/issues/47991
2024-11-15 20:57:15 +05:30
Prateek Sunal
e0ffde3f25 [mob][image-editor] dismiss page on save edits (#4036)
## Description

Previously saving edits would not close the page, this PR fixes that.

## Tests
2024-11-15 19:48:55 +05:30
Simon Dubrulle
a88586c437 Added (draft) doc for mobile translations + added 2 new source strings for "add_participant_page" 2024-11-15 13:40:29 +01:00
ashilkn
102929a5d6 [mob][photos] Decrease the chances of hero animation not working between faces in 'All' screen of People and People section when going back to search section from 'All' screen 2024-11-15 17:43:32 +05:30
Laurens Priem
c94feb0e40 Ml banner (#4039)
## Description

Add banner in home gallery for enabling ML. 

## Tests

Tested in debug mode on my Pixel 8.
2024-11-15 16:17:04 +05:30
laurenspriem
93986461dd [mob][photos] Copy changes 2024-11-15 16:06:11 +05:30
laurenspriem
4ce2d0a1e2 [mob][photos] ml section empty copy 2024-11-15 16:02:45 +05:30
laurenspriem
d4479a1a66 [mob][photos] Extract to string 2024-11-15 15:49:58 +05:30
laurenspriem
0f3e490699 [mob][photos] Don't keep showing the banner 2024-11-15 15:45:23 +05:30
laurenspriem
8a7e11e4af [mob][photos] Enable ml banner 2024-11-15 15:37:35 +05:30
ashilkn
27d5ef2bc0 [mob][photos] Fix alignment of faces in People section 2024-11-15 15:31:53 +05:30
laurenspriem
8d2288fbb4 [mob][photos] super key 2024-11-15 15:22:27 +05:30
Neeraj Gupta
179e586671 [mob] Refactor 2024-11-15 15:18:29 +05:30
Neeraj Gupta
92f6d027db [mob] Clean up 2024-11-15 15:13:23 +05:30
ashilkn
39252122ef [mob][photos] Show all faces in 'All' section of faces 2024-11-15 13:35:41 +05:30
Vishnu Mohandas
3c3c66ee8b [server] Update constraints for adding BF deal by support (#4038) 2024-11-15 13:32:01 +05:30
vishnukvmd
fe59e0ae65 [server] Update constraints for adding BF deal by support 2024-11-15 13:24:22 +05:30
ashilkn
184323429a [mob][photos] Create new 'All' page for people section 2024-11-15 13:22:29 +05:30
Manav Rathi
80710d29c4 [web] Retain original's file creation time on edits (#4037) 2024-11-15 10:38:57 +05:30
Manav Rathi
057bd3a4d2 Retain more info
Also invent a new scheme for passing around this data instead of piggy backing
on the JSON route, since the JSON route has other complications (e.g. it strips
off the "-edited" prefix) that we'd anyways would've needed to workaround.
2024-11-15 10:31:16 +05:30
Manav Rathi
708109f5e4 [web] Retain original's file creation time on edits 2024-11-15 09:10:28 +05:30
Prateek Sunal
120053f61d fix: dismiss image editor on save edits 2024-11-15 02:24:13 +05:30
Manav Rathi
e645081b12 [web] Show files that are archived in two ways in the archive section (#4035) 2024-11-14 22:14:13 +05:30
Manav Rathi
ba314455e2 [web] Show files that are archived in two ways in the archive section 2024-11-14 22:06:34 +05:30
tigattack
a5480025e9 Create custom icon for authentik (#4029)
* Adds a custom icon for [authentik](https://goauthentik.io/).
* Fixes minor formatting issues in `custom-icons.json`.
2024-11-14 17:31:49 +05:30
ashilkn
e9923fbf44 [mob][photos] Change UI of PersonSearchExample widget 2024-11-14 17:07:38 +05:30
Braky
916ae34bac Add three new icons (#4011)
Includes custom icons for

- Microsoft 365
- Raindrop.io
- WEB.DE
2024-11-14 16:54:01 +05:30
Neeraj Gupta
dfc6358314 [staff] Suraface error as alert & send token via header (#4033)
## Description

## Tests
2024-11-14 16:53:47 +05:30
Neeraj Gupta
ce61965ed6 [cli] Don't perform CLI secret initialisation unless needed (#4028)
## Description

Calling `GetOrCreateClISecret()` can cause issues in some unattended
scenarios.

I'm creating a Brew formula for ente CLI with the following test:

```
  test do
    assert_match "Version #{version}", shell_output("#{bin}/ente version")
  end
```

When running `brew test` for the formula, ente would fail with the
following error: `2024/11/13 11:49:56 error setting password in keyring:
exit status 154`

And I would see this pop-up:


![image](https://github.com/user-attachments/assets/ccd64b0d-1cb8-469c-9c16-be1b944d3b72)
2024-11-14 16:18:01 +05:30
Neeraj Gupta
9f9567817d [staff]Suraface error as alert & send token via header 2024-11-14 16:15:52 +05:30
Neeraj Gupta
f2210fbbae [staff] Surface error as dialog 2024-11-14 16:01:38 +05:30
Neeraj Gupta
0c3909b2d3 [staff] Fix disable 2FA (#4032)
## Description

## Tests
2024-11-14 15:11:43 +05:30
Neeraj Gupta
eb949bcad9 [staff] Lint fix 2024-11-14 15:07:24 +05:30
Neeraj Gupta
a1f0c1024b [staff] Fix disable 2FA 2024-11-14 14:59:44 +05:30
Neeraj Gupta
3f6f031cfe Merge branch 'main' into save_contact 2024-11-14 11:55:50 +05:30
Manav Rathi
3d0cc31816 [web] Reduce use of exceptions for control flow (#4031) 2024-11-14 10:27:09 +05:30
Manav Rathi
65a2b5aeeb LF 2024-11-14 10:19:14 +05:30
Manav Rathi
d8706580c3 Inline 2024-11-14 10:15:22 +05:30
Manav Rathi
548724ae0a Remove ad-hoc retry
If this is needed, will add it back with a comment explaining why the workaround
was needed.
2024-11-14 10:07:57 +05:30
Manav Rathi
54b4c01f51 Don't use exceptions for control flow 2024-11-14 09:59:19 +05:30
Manav Rathi
86f859aaca Don't use exceptions for control flow 2024-11-14 09:49:47 +05:30
Manav Rathi
f749f9de65 Unused and inline 2024-11-14 07:55:49 +05:30
Manav Rathi
805dfdc825 Unused 2024-11-13 21:21:04 +05:30
Manav Rathi
cce3063cf1 Inline 2024-11-13 21:09:55 +05:30
Manav Rathi
2910a8ac39 Inline 2024-11-13 21:04:21 +05:30
Manav Rathi
dbf877b9bb Inline 2024-11-13 21:01:45 +05:30
tigattack
cfae8523a1 [cli] Don't perform CLI secret initialisation when not needed
Calling `GetOrCreateClISecret()` can cause issues in some unattended scenarios.
2024-11-13 12:22:08 +00:00
Laurens Priem
b8981be2e6 [mob][photos] Copy change for model download (#4026)
## Description

Copy change to avoid giving the impression that models keep getting
downloaded.
2024-11-13 16:55:15 +05:30
Manav Rathi
cbc2a8f63c Inline 2024-11-13 16:43:10 +05:30
laurenspriem
f1ca5ccbd0 [mob][photos] Copy change for model download 2024-11-13 16:38:17 +05:30
laurenspriem
3d6106c1c1 [mob][photos] Add empty check 2024-11-13 16:06:50 +05:30
Manav Rathi
fcfc6972d1 [web] Fix search when an album only has symlinks (#4025)
The uniquification would prevent albums that only contains photos that
are
already present in another album from appearing in search results.
2024-11-13 15:57:07 +05:30
Manav Rathi
0c820a6ec4 [web] Fix search when an album only has symlinks
The uniquification would prevent albums that only contains photos that are
already present in another album from appearing in search results.
2024-11-13 15:54:12 +05:30
laurenspriem
1ed03c5942 [mob][photos] Safe removed clusters in rejected faces 2024-11-13 15:45:59 +05:30
Manav Rathi
fab883c49a [server] Add validation for object_keys (#4022)
## Description

## Tests
2024-11-13 15:24:18 +05:30
laurenspriem
822aa7fcd4 [mob][photos] Make sure user can add back rejected faces 2024-11-13 14:38:51 +05:30
Neeraj Gupta
bd53eaec28 [server] Add validation for object_keys 2024-11-13 12:04:55 +05:30
Neeraj Gupta
c2380de406 [mob] Clean up multipart upload on put or update error (#4021)
## Description

## Tests
2024-11-13 12:01:23 +05:30
Neeraj Gupta
3d8bdb751c [mob] Handle 401 during multipart failure (#4015)
## Description

## Tests
2024-11-13 12:00:47 +05:30
laurenspriem
4a495e5806 [mob][photos] Make other clustering methods private 2024-11-13 11:22:38 +05:30
laurenspriem
5d99a7c757 [mob][photos] Dont recluster rejected face to cluster mapping 2024-11-13 11:21:43 +05:30
Neeraj Gupta
ff218c3e4d [mob] Clean up multipart upload on put or update error 2024-11-13 11:16:19 +05:30
Manav Rathi
4b99b1c20c [web] General refactoring - Uploads UI - Part x/x (#4020) 2024-11-13 09:28:46 +05:30
Manav Rathi
e747494ef1 Tweak 2024-11-13 07:28:23 +05:30
Manav Rathi
fc114c7d92 Inline fin 2024-11-13 07:12:45 +05:30
Manav Rathi
3e94ea8f81 Tweak 2024-11-13 07:09:57 +05:30
Manav Rathi
b7c81656a3 Inline 2024-11-13 07:01:13 +05:30
Manav Rathi
b3d2846b2f Inline 2024-11-13 06:56:19 +05:30
Manav Rathi
0794f570a8 Inline 1 2024-11-13 06:43:21 +05:30
Manav Rathi
604c4462fe Tweaks 2024-11-13 06:31:19 +05:30
laurenspriem
4c222f2cd7 [mob][photos] Get rid of remotely rejected faces from local person 2024-11-12 21:36:49 +05:30
Manav Rathi
c96b510997 Inline 2024-11-12 19:34:39 +05:30
Manav Rathi
f2e3daaa12 [web] New translations (#4018)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-12 19:17:15 +05:30
Crowdin Bot
6f03b72bf2 New Crowdin translations by GitHub Action 2024-11-12 13:46:09 +00:00
Manav Rathi
217c749970 [web] General refactoring - Uploads (#4017) 2024-11-12 19:15:21 +05:30
Manav Rathi
67cd42fd23 Prune unused phase
Removed in 6aed8d3002
2024-11-12 19:10:06 +05:30
Manav Rathi
57d6fb3bc9 Ref 2024-11-12 19:01:28 +05:30
Manav Rathi
8d00796a32 Rename and use same convention 2024-11-12 18:24:49 +05:30
Manav Rathi
df19e12ab8 Last 2024-11-12 18:18:10 +05:30
Manav Rathi
5461bd112f Swap 2024-11-12 18:13:51 +05:30
Manav Rathi
bbd5aa6b3e Align divider with main view divider
+label tr
2024-11-12 17:29:24 +05:30
Manav Rathi
a52afe509c Conv 2024-11-12 17:25:49 +05:30
Manav Rathi
e5dee17127 Conv 2024-11-12 17:12:33 +05:30
Manav Rathi
55fdcc8446 Inline into last call site 2024-11-12 17:03:33 +05:30
Manav Rathi
d4cae11a9b Remove unnecessary wrapper 2024-11-12 16:52:20 +05:30
Manav Rathi
3b84f76de8 Sync sizes 2024-11-12 16:47:08 +05:30
Manav Rathi
61bc7c95b2 Tweak spacing 2024-11-12 16:21:42 +05:30
Manav Rathi
4c12fb15b1 Icon name consistency 2024-11-12 16:06:11 +05:30
laurenspriem
b9c63426fc [mob][photos] Assign not person feedback for completely rejected remote cluster 2024-11-12 14:54:25 +05:30
Neeraj Gupta
306978291b [mob] Handle 401 during multipart failure 2024-11-12 14:28:00 +05:30
Manav Rathi
2421d69fd0 [web] Enable Portuguese translations (#4014) 2024-11-12 13:07:29 +05:30
Neeraj Gupta
b0674cd5f3 [server] Fix BF handling for bonus calculation (#4012)
## Description

## Tests
2024-11-12 11:00:33 +05:30
Neeraj Gupta
13053decf0 [server] Fix BF handling for bonus calculation 2024-11-12 11:00:03 +05:30
Manav Rathi
36ed4464c1 [web] Enable Portuguese translations 2024-11-12 10:50:48 +05:30
Manav Rathi
f20672e4e2 [web] New translations (#4007)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-12 10:44:11 +05:30
Crowdin Bot
799229531c New Crowdin translations by GitHub Action 2024-11-12 05:09:59 +00:00
laurenspriem
015790874e [mob][photos] Pull rejected faces for person from remote 2024-11-12 09:26:04 +05:30
laurenspriem
908a55bb20 [mob][photos] Push not person feedback 2024-11-11 15:42:24 +05:30
Neeraj Gupta
81ea2b8059 An attempt to fix the Custom Icon for Coinbase (#3995)
The icon currently only displays as a small black circle in the app.
I've replaced the SVG file entirely, and hopefully that'll fix the
issue.
2024-11-11 11:59:37 +05:30
Neeraj Gupta
73fcd25d22 [mobile] New translations (#4008)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-11-11 11:55:59 +05:30
Neeraj Gupta
8628597450 [auth] New translations (#4009)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-11-11 11:55:38 +05:30
Crowdin Bot
8e28498b9b New Crowdin translations by GitHub Action 2024-11-11 01:17:14 +00:00
Crowdin Bot
0b5f9a4b18 New Crowdin translations by GitHub Action 2024-11-11 01:05:17 +00:00
Manav Rathi
7fd708bec7 [web] Rearrange files (#4001)
(mostly) non-functional rearrangement of code, with a long term aim at a
better split of photos and public albums code.
2024-11-09 18:59:10 +05:30
Manav Rathi
03f5b78872 Inline 2024-11-09 18:45:11 +05:30
Manav Rathi
d641b21edf Move 2024-11-09 18:39:58 +05:30
Manav Rathi
8a4df07082 Inline 2024-11-09 18:16:26 +05:30
Manav Rathi
b174d5f725 Fix calculation 2024-11-09 18:11:49 +05:30
Manav Rathi
d9256eaf95 Inline 2024-11-09 18:06:32 +05:30
Manav Rathi
7727ed8b6e Inline 2024-11-09 18:02:01 +05:30
Manav Rathi
fab7ecb980 Inline 2024-11-09 17:45:06 +05:30
Manav Rathi
5dfd3f3540 Unused 2024-11-09 17:39:37 +05:30
Manav Rathi
9ac9842e53 Inline 2024-11-09 17:38:23 +05:30
Manav Rathi
52a98c4973 Inline 2024-11-09 17:33:13 +05:30
Manav Rathi
5de432839f Inline 2024-11-09 17:29:26 +05:30
Manav Rathi
c0e93244f0 Inline 2024-11-09 17:24:53 +05:30
Manav Rathi
dc07bd9c74 Inline 2024-11-09 17:17:45 +05:30
Manav Rathi
c6bdd4bd8f Inline 2024-11-09 17:06:51 +05:30
Manav Rathi
a594e4fa83 Unused 2024-11-09 16:53:55 +05:30
Manav Rathi
76b50fab68 Inline 2024-11-09 16:53:19 +05:30
Manav Rathi
f6bc2a58e5 Inline 2024-11-09 16:52:01 +05:30
Manav Rathi
15ae4a47a6 Inline 2024-11-09 16:46:12 +05:30
Manav Rathi
b43b01433f Inline 2024-11-09 16:44:23 +05:30
Manav Rathi
423ef09aa0 Inline 2024-11-09 16:41:57 +05:30
Manav Rathi
f79cc7cd8f Inline 2024-11-09 16:40:15 +05:30
Manav Rathi
042e605c51 Tweak 2024-11-09 16:36:03 +05:30
Manav Rathi
6265a56128 Inline 2024-11-09 16:34:28 +05:30
Manav Rathi
6b4c514010 Tweak 2024-11-09 16:32:00 +05:30
Manav Rathi
466c9276af Inline 2024-11-09 16:30:59 +05:30
Manav Rathi
c4e54d1a6d Move 2024-11-09 16:29:15 +05:30
Manav Rathi
071f7ad658 Empty 2024-11-09 16:25:57 +05:30
Manav Rathi
83de44f857 Fix warnings 2024-11-09 16:08:18 +05:30
Manav Rathi
de3e4a8e8c Ignore self clicks 2024-11-09 15:54:46 +05:30
Manav Rathi
2a205d6b7b Tweak 2024-11-09 15:43:34 +05:30
Manav Rathi
b2914e3fae Move 2024-11-09 15:37:43 +05:30
Manav Rathi
0fe9f4db4b Tweak 2024-11-09 15:35:13 +05:30
Manav Rathi
cebb213eaa Tweak 2024-11-09 15:13:48 +05:30
Manav Rathi
0c4f248041 Inline 2024-11-09 15:05:24 +05:30
Manav Rathi
ae29519b00 Unused 2024-11-09 15:01:40 +05:30
Manav Rathi
1ebf1443cf [web] New translations (#3999)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-09 14:48:50 +05:30
Crowdin Bot
a471dce8a8 New Crowdin translations by GitHub Action 2024-11-09 09:18:28 +00:00
Manav Rathi
23c8bf1086 [web] Dialog related refactoring (#3998) 2024-11-09 14:44:50 +05:30
Manav Rathi
702f4e5b5a Fix casing (and lint) 2024-11-09 14:40:01 +05:30
Manav Rathi
d401f008ca Fix path 2024-11-09 14:34:03 +05:30
Manav Rathi
eec9de0907 Move 2024-11-09 14:30:01 +05:30
Manav Rathi
85fa95a42f Rename 2024-11-09 14:28:56 +05:30
Manav Rathi
60987c268f Remove unused 2024-11-09 14:26:08 +05:30
Manav Rathi
9c581d19b7 Tweak 2024-11-09 14:07:10 +05:30
Manav Rathi
e350ac2076 Ref 2024-11-09 13:33:12 +05:30
Manav Rathi
039b77e979 Move 2024-11-09 13:22:26 +05:30
Manav Rathi
1fe5864143 Better fullwidthing on mobile sized screens 2024-11-09 13:13:05 +05:30
Manav Rathi
6b85687f72 Ref 2024-11-09 12:59:17 +05:30
Manav Rathi
653bab956a Move 2024-11-09 12:47:24 +05:30
Manav Rathi
522d8f5ba7 Conv 2024-11-09 12:39:52 +05:30
Manav Rathi
0e2e3c14ec [web] New translations (#3997)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-09 12:25:27 +05:30
Crowdin Bot
5d7f4dd9ed New Crowdin translations by GitHub Action 2024-11-09 06:53:26 +00:00
Manav Rathi
53c258d0a8 [web] Migrate off deprecated dialog component (#3996) 2024-11-09 12:22:46 +05:30
Manav Rathi
ce274e0fc3 Rename 2024-11-09 12:17:51 +05:30
Manav Rathi
e2ce301885 Ref fin 2024-11-09 11:54:15 +05:30
NanoBunTV
e15e62f1a6 An attempt to fix the Custom Icon for Coinbase
The icon currently only displays as a small black circle in the app.
2024-11-09 00:22:31 -06:00
Vishnu Mohandas
ae89637cf9 [server] Send a notification email on BF deal purchase (#3994)
<img width="634" alt="Screenshot 2024-11-09 at 11 13 38 AM"
src="https://github.com/user-attachments/assets/156d86ae-1bf3-411a-9dfb-f992d9e34abd">
2024-11-09 11:42:56 +05:30
Manav Rathi
cd879975d2 Ref wip 2024-11-09 11:39:32 +05:30
Manav Rathi
ae783693ae Tweak 2024-11-09 11:25:45 +05:30
vishnukvmd
f5549d4458 [server] Send a notification email on BF deal purchase 2024-11-09 11:13:14 +05:30
Manav Rathi
2ce1876db8 Inline 2024-11-09 11:10:33 +05:30
Manav Rathi
eea5a9592b Use normal dialog 2024-11-09 11:03:33 +05:30
Manav Rathi
f75b2904f4 [web] New translations (#3993)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-09 10:46:57 +05:30
Crowdin Bot
079f208a96 New Crowdin translations by GitHub Action 2024-11-09 05:15:59 +00:00
Manav Rathi
7fc3e35b01 [web] Make some error messages more precise and concise (#3992) 2024-11-09 10:45:17 +05:30
Manav Rathi
38c809857f [web] Make some error messages more precise and concise 2024-11-09 10:41:57 +05:30
Ashil
d25b1f7b65 [mob][photos] Concatenate strings more efficiently (#3985)
## Description

If number of iterations are high, concatenating a list of values to a
string using `str1 += str2` can block the UI thread.
Using `List.join()` is a much more efficient way to do this.
2024-11-09 09:34:49 +05:30
Neeraj Gupta
f7a3de78a3 [mob] Imporve remote face sync (#3990)
## Description

## Tests
2024-11-09 08:46:36 +05:30
Neeraj Gupta
d2788d66d4 [mob] Add logs 2024-11-09 08:44:59 +05:30
Neeraj Gupta
619476892a [mob] Update local feedback on remote data change 2024-11-09 08:41:03 +05:30
Neeraj Gupta
d769cfad55 [mob] Refactor 2024-11-09 08:27:52 +05:30
ashilkn
1e9188f510 [mob][photos] Replace string concatenation happening in loop using '+' with more efficient alternative of by using 'List.join(). If number of iterations are very large, using '+' for concatenation can block the UI thread' 2024-11-08 21:38:33 +05:30
Manav Rathi
daa87ef79b [web] New translations (#3984)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-08 20:29:45 +05:30
Crowdin Bot
86c4e92585 New Crowdin translations by GitHub Action 2024-11-08 14:58:02 +00:00
Manav Rathi
157746b45a [web] Translation cleanup (#3983)
...related to dialogs etc that were recently changed
2024-11-08 20:27:17 +05:30
Manav Rathi
5c1984f7df Move 2024-11-08 20:23:47 +05:30
Manav Rathi
43f72cb360 Casing 2024-11-08 20:21:49 +05:30
Manav Rathi
3ca7805d6a Rename 2024-11-08 20:14:07 +05:30
Manav Rathi
d3fdd23061 Rename 2024-11-08 20:11:31 +05:30
Manav Rathi
d3d6c7120c Remove unused and shorten 2024-11-08 20:06:06 +05:30
Manav Rathi
c66e8f6544 Unused 2024-11-08 20:00:44 +05:30
Manav Rathi
f623724a78 Rename and dedup 2024-11-08 20:00:22 +05:30
Manav Rathi
49e3c8cc1a Rename 2024-11-08 19:55:02 +05:30
Manav Rathi
a3864b9f91 Rename 2024-11-08 19:48:35 +05:30
Manav Rathi
a3fc11db1c Rename 2024-11-08 19:46:10 +05:30
Manav Rathi
26c1e289b9 Rename 2024-11-08 19:40:05 +05:30
Manav Rathi
f69934eb7a Rename 2024-11-08 19:37:39 +05:30
Manav Rathi
9999c05d25 Rename 2024-11-08 19:34:48 +05:30
Manav Rathi
1ef1079cc5 Fix the interpolation 2024-11-08 19:32:06 +05:30
Manav Rathi
672ee27b7d [web] New translations (#3981)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-08 19:30:20 +05:30
Crowdin Bot
e4f88f33ae New Crowdin translations by GitHub Action 2024-11-08 13:57:59 +00:00
Manav Rathi
75d44e2f71 [web] Convert all remaining alert related uses of the deprecated dialog API (#3980) 2024-11-08 19:26:11 +05:30
Manav Rathi
bf8e271088 Cleanup 2024-11-08 19:18:28 +05:30
ashilkn
214dcce6ad [mob][photos] Remove unused methods 2024-11-08 19:05:19 +05:30
Manav Rathi
52866bdc8e Support secondary 2024-11-08 18:59:12 +05:30
Manav Rathi
92f7ff3139 Swap 2024-11-08 18:41:53 +05:30
Manav Rathi
e25c245e0c Swap 2024-11-08 18:37:55 +05:30
Ashil
e6b06453a6 [mob][photos] Fix cast not working on android (Pair with PIN option) (#3979) 2024-11-08 18:35:17 +05:30
Manav Rathi
4ce5c34baa Swap 2024-11-08 18:34:28 +05:30
ashilkn
10f9638f24 [mob][photos] Chore 2024-11-08 18:30:29 +05:30
ashilkn
8965f1cd09 [mob][photos] Fix: Cast not working on android (Pair with PIN option) 2024-11-08 18:27:35 +05:30
Manav Rathi
47119bf94b Swap 2024-11-08 18:25:15 +05:30
Manav Rathi
5ee24729e3 Chain 2024-11-08 18:21:16 +05:30
Manav Rathi
37192af79d Swap 2024-11-08 18:13:26 +05:30
Manav Rathi
eeb83d8c12 Swap 2024-11-08 18:05:27 +05:30
Manav Rathi
07e25d982e Swap 2024-11-08 18:03:07 +05:30
Manav Rathi
d03cce5984 Swap 2024-11-08 17:59:45 +05:30
Vishnu Mohandas
a8b1299117 [server] Update constraints to allow for BF 2024 (#3978) 2024-11-08 17:57:31 +05:30
vishnukvmd
949c3c3c73 [server] Update constraints to allow for BF 2024 2024-11-08 17:45:16 +05:30
Vishnu Mohandas
4dfb73e3d9 [server] Black Friday 2024 (#3977) 2024-11-08 16:28:24 +05:30
vishnukvmd
a558da2706 [server] Black Friday 2024 2024-11-08 16:14:59 +05:30
Ashil
616a7959e9 [mob][photos] Hierarchical search (#3969)
### Description

Hierarchical Search with filter types
- Album
- Contact
- Face
- File type (Photos, Videos, Live Photos)
- Location 
- Magic (Semantic search filter)
- Only them (Filter by photos only containing selected faces)


https://github.com/user-attachments/assets/8312f0a7-7b1d-4e91-ab25-d89bf0cd6e46

Closes #943
2024-11-08 16:00:10 +05:30
Manav Rathi
5802881c4b Swap 2024-11-08 15:48:51 +05:30
Manav Rathi
90cbe994a7 Swap 2024-11-08 15:46:02 +05:30
Manav Rathi
784b4af576 Remove deprecated 2024-11-08 15:43:29 +05:30
Manav Rathi
0b92e0b437 Swap 2024-11-08 15:41:35 +05:30
Manav Rathi
427c560d3f Swap 2024-11-08 15:30:44 +05:30
Manav Rathi
eeb68588a0 Swap 2024-11-08 15:26:17 +05:30
Manav Rathi
892a836fca Swap 2024-11-08 15:21:23 +05:30
Manav Rathi
c4d502f494 GE 2024-11-08 14:52:41 +05:30
Manav Rathi
cdf761d46b Multiline titles 2024-11-08 14:45:38 +05:30
Manav Rathi
60774518b2 Swap 2024-11-08 14:41:57 +05:30
Manav Rathi
f15aa51bd6 Swap 2024-11-08 14:34:09 +05:30
Manav Rathi
96ceead110 Inline 2024-11-08 14:28:53 +05:30
Manav Rathi
d69ca844ac Empty unused 2024-11-08 14:24:25 +05:30
Manav Rathi
801bf16b92 Unused 2024-11-08 14:08:59 +05:30
Manav Rathi
71727048aa Move 2024-11-08 13:58:21 +05:30
Manav Rathi
cb18772ec9 [web] New translations (#3976)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-08 13:48:31 +05:30
Crowdin Bot
ccaba92832 New Crowdin translations by GitHub Action 2024-11-08 08:17:29 +00:00
Manav Rathi
db44cb9823 [web] Allow for proper translation instead of splicing together strings (#3975) 2024-11-08 13:46:42 +05:30
Manav Rathi
98eef0603f Allow for proper translation instead of splicing together strings 2024-11-08 13:38:57 +05:30
Manav Rathi
1334ce879e [web] New translations (#3974)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-08 12:33:26 +05:30
Crowdin Bot
bf012572b8 New Crowdin translations by GitHub Action 2024-11-08 07:02:43 +00:00
Manav Rathi
02be77de74 [web] Translations cleanup (#3973) 2024-11-08 12:31:55 +05:30
Manav Rathi
053a97ad8a Rename 2024-11-08 12:28:53 +05:30
Manav Rathi
8d70936251 Remove unused 2024-11-08 12:26:27 +05:30
Manav Rathi
84bd08bdf4 Rename 2024-11-08 12:24:54 +05:30
Manav Rathi
0dc6dbb7ec Rename 2024-11-08 12:23:27 +05:30
Manav Rathi
ae79c10322 Rename and move 2024-11-08 12:20:39 +05:30
Manav Rathi
efb319ba5e Rename 2024-11-08 12:18:40 +05:30
Manav Rathi
022d766564 Fix casing 2024-11-08 12:12:25 +05:30
Manav Rathi
d2d75291ee Rename 2024-11-08 12:11:10 +05:30
Manav Rathi
1cc39ff489 Rename 2024-11-08 12:08:48 +05:30
Manav Rathi
7b43d5731d Rename 2024-11-08 12:05:38 +05:30
Manav Rathi
5f26a0e5b7 Rename 2024-11-08 12:02:02 +05:30
Manav Rathi
4835780698 Rename 2024-11-08 11:54:57 +05:30
Manav Rathi
bd151523d1 [web] New translations (#3972)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-08 11:50:13 +05:30
Crowdin Bot
31bc5cd72d New Crowdin translations by GitHub Action 2024-11-08 06:19:15 +00:00
Manav Rathi
3169bcbc5b [web] Payments UI related refactoring (#3971)
* No major functional changes intended (some small fixes only)
* Main motivation was to consolidate the "user details" related state
2024-11-08 10:48:16 +05:30
Manav Rathi
6460fd25ab Fix 2024-11-08 10:25:11 +05:30
Manav Rathi
d743b4ab22 Fix import 2024-11-08 10:21:41 +05:30
Manav Rathi
a1320d89ed Remove unnecessary click handler 2024-11-08 10:11:11 +05:30
Manav Rathi
632bb931da Tweak spacing 2024-11-08 09:51:57 +05:30
Manav Rathi
5c2378604a Better indication of progress in the middle while the page load is shifting 2024-11-08 07:43:42 +05:30
Manav Rathi
71e0fc2dd9 Tweak spacing again 2024-11-08 07:36:32 +05:30
Manav Rathi
a34defed94 btn color 2024-11-08 07:29:02 +05:30
Manav Rathi
9b753d7a2f Tweak spacing 2024-11-08 07:22:37 +05:30
ashilkn
65131a15ef [mob][photos] Fix 2024-11-07 23:59:18 +05:30
ashilkn
25b26ec303 [mob][photos] Workaround for a UX issue 2024-11-07 23:31:48 +05:30
ashilkn
88440400c2 [mob][photos] Fix loading state not appearing when the first filter is added in hierarchical search 2024-11-07 23:29:24 +05:30
ashilkn
88f613187d Revert "[mob] Render people section in GridView (#3958)"
This reverts commit 7a99c8be63, reversing
changes made to 287d4b00e1.
2024-11-07 23:15:17 +05:30
ashilkn
b108785979 [mob][photos] Bump up to v0.9.58 2024-11-07 22:58:57 +05:30
ashilkn
899c1d7041 [mob][photos] Remove unnecessary check 2024-11-07 22:55:35 +05:30
ashilkn
219ff7d2e9 Revert "[mob][photos] Add option to make 'only them' filter work a little different only for testing, for feedback on which option is better"
This reverts commit ebae813ee3.
2024-11-07 22:34:09 +05:30
ashilkn
65e8ff4da8 [mob][photos] Resolve merge conflicts and merge main 2024-11-07 22:21:44 +05:30
ashilkn
9becee9a85 [mob][photos] Remove unnecessary clipping 2024-11-07 22:09:03 +05:30
ashilkn
52663ae218 [mob][photos] Add comment 2024-11-07 22:00:34 +05:30
ashilkn
c5aecaf501 [mob][photos] Remove unused method 2024-11-07 21:54:11 +05:30
ashilkn
655d9602e0 [mob][photos] Dispose all notifiers of SearchFilterDataProvider after use 2024-11-07 21:47:58 +05:30
ashilkn
b83b7ad295 [mob][photos] Use better names 2024-11-07 20:23:34 +05:30
ashilkn
ae3b784463 [mob][photos] Improvements on PeopleBanner shown in hierarchical search 2024-11-07 19:59:14 +05:30
Manav Rathi
578b4a6577 sessid is optional 2024-11-07 19:29:48 +05:30
Manav Rathi
33ec855b40 Ensure confirmation is visible 2024-11-07 19:18:05 +05:30
Manav Rathi
7385d665d2 Integrated handling 2024-11-07 19:02:40 +05:30
Manav Rathi
02364b95c0 Don't allow dialog to be closed during operations 2024-11-07 18:42:36 +05:30
ashilkn
93fd05818a [mob][photos] Show 'Add a name' banner if an unnamed cluster is applied in hierarchical search
If there are multiple applied unnamed clusters, the banner will be shown for the first one
2024-11-07 18:35:21 +05:30
Manav Rathi
0b1f6e84a3 Fix 2024-11-07 18:29:23 +05:30
Manav Rathi
c37c6fda95 Fix paths 2024-11-07 18:10:59 +05:30
Manav Rathi
a09c01ce6d Fix the circular zod object import deps 2024-11-07 18:07:01 +05:30
ashilkn
68fa429611 [mob][photos] Make PeopleBanner UI better and minimal 2024-11-07 18:07:00 +05:30
ashilkn
4b2a845fd0 [mob][photos] Give a more subtle shadow for PeopleBanner 2024-11-07 17:35:11 +05:30
Neeraj Gupta
d6a7626906 [mob] Prioritize fetch for already indexed files (#3967)
## Description
- The app will first fetch indexes for files that are already indexed
before performing local indexing.
- If local indexing is disabled, the app will only fetch indexes for
files already indexed on the server.
## Tests
2024-11-07 17:20:46 +05:30
NanoBunTV
68d835c779 Add Custom Icon for PebbleHost, Restream, and Terabit (#3964)
https://pebblehost.com

https://restream.io

https://terabit.io
2024-11-07 17:04:08 +05:30
Neeraj Gupta
fd24628f7a [mob] Only return indexed files if local indexing is disabled 2024-11-07 16:57:35 +05:30
Neeraj Gupta
19ccc5338f [mob] Skip deleting downloaded models 2024-11-07 16:56:23 +05:30
Neeraj Gupta
27f55b1756 [mob] clean up icon 2024-11-07 16:41:22 +05:30
Neeraj Gupta
214dcddb65 [mob] Prioritize fetch for already indexed files. 2024-11-07 16:18:33 +05:30
ashilkn
0815bfd7b7 [mob][photos] Use better name 2024-11-07 15:12:24 +05:30
Manav Rathi
6cc8f2b965 Mig 2024-11-07 15:03:12 +05:30
Manav Rathi
6f1de7e537 Inline 2024-11-07 15:01:00 +05:30
Manav Rathi
5fd0459237 Mig 2024-11-07 14:58:55 +05:30
Manav Rathi
7dd085c321 Migrate to new dialog 2024-11-07 14:56:33 +05:30
Neeraj Gupta
6edacd2f1d [mob] FDStatus: Store objectID and nonce 2024-11-07 14:53:24 +05:30
Manav Rathi
7bd3d754c7 mig 2024-11-07 14:45:58 +05:30
Neeraj Gupta
6d7044ee3e [server] refactor fd status API (#3966)
## Description

## Tests
2024-11-07 14:34:03 +05:30
Neeraj Gupta
ccc436be26 [server] refactor fd status API 2024-11-07 14:33:04 +05:30
Manav Rathi
03c37ae448 mig 2024-11-07 14:31:33 +05:30
Manav Rathi
c0cc6c35df Mig2 2024-11-07 14:28:37 +05:30
Manav Rathi
c879e8cb77 Migrate from deprecated methods 2024-11-07 14:24:03 +05:30
Manav Rathi
da3f3fbb57 fin 2024-11-07 14:09:24 +05:30
Manav Rathi
d481fa5cde m4 2024-11-07 13:58:05 +05:30
Manav Rathi
f575d428fe once over 2024-11-07 13:55:43 +05:30
Manav Rathi
32f53eb9f3 vis 2024-11-07 13:35:40 +05:30
Neeraj Gupta
f543f32df2 Merge branch 'main' into file_data_v2 2024-11-07 13:34:33 +05:30
Manav Rathi
3c5e20dd50 Tweak 2024-11-07 13:03:53 +05:30
Manav Rathi
33beb2824a flexier parsing 2024-11-07 12:30:04 +05:30
Manav Rathi
93edaed4fc sync local state 2024-11-07 12:03:13 +05:30
Manav Rathi
1f8ddb0c08 wip checkpoint 2024-11-07 11:54:32 +05:30
Neeraj Gupta
27188596af [mob][photos] UI tweaks on pricing page (#3962)
## Description

#### Before
<img
src="https://github.com/user-attachments/assets/b8436f93-1e73-4751-92dd-3996be5c45b6"
width="400" alt="pricing page before">

#### After
<img
src="https://github.com/user-attachments/assets/b72cc507-36b1-48ee-ae59-d9b0fc7841ab"
width="400" alt="pricing page after">
2024-11-07 11:23:53 +05:30
Manav Rathi
ec1b294425 wip checkpoint 2024-11-07 11:05:41 +05:30
Manav Rathi
9bea0c4aab leave 2024-11-07 10:53:57 +05:30
Manav Rathi
e468c61867 wip checkpoint 2024-11-07 10:45:09 +05:30
Manav Rathi
fa98bcc745 wip checkpoint 2024-11-07 10:05:27 +05:30
Manav Rathi
13e013eaa9 wip checkpoint 2024-11-07 09:57:43 +05:30
Manav Rathi
94db831266 Use 2024-11-07 09:38:17 +05:30
Manav Rathi
3c03bbac05 copy over 2024-11-07 09:30:54 +05:30
Neeraj Gupta
82c1987a6d [cli] Default to ENTE_CLI_CONFIG_DIR, fallback to ENTE_CLI_CONFIG_PAT… (#3961)
…H for compatibility

## Description

## Tests
2024-11-06 23:12:37 +05:30
ashilkn
f2e99d5efd [mob][photos] Keep the galleryType as GalleryType.peopleTag when an 'Only them' filter is applied when, the initial filter is a face filter so that the selection option are of the inital face filter's
Needed to write extra code to make it work for 'Only them' face since the current logic checks if inital filter is in applied list, and if yes keep the gallery type unchanged and if not, change gallery type to GalleryType.searchResults. Since an 'Only them' filter is not exactly the same as a Face filter, had to write more code to handle this case since the 'Only them' filter can have the inital Face filter in it
2024-11-06 22:03:40 +05:30
ashilkn
d355d4c1f0 [mob][photos] Fix null check operator used on null value exception right after adding name to a person 2024-11-06 21:39:14 +05:30
ashilkn
b4f192fac1 [mob][photos] Minor fix 2024-11-06 21:17:06 +05:30
ashilkn
042cbdeee7 [mob][photos] Refactor 2024-11-06 21:16:24 +05:30
Neeraj Gupta
8e1b6d32ee Added Custom Icon for Ko-fi (#3956)
https://ko-fi.com
2024-11-06 20:25:34 +05:30
ashilkn
ca3c7ae526 [mob][photos] UI tweaks on pricing page 2024-11-06 19:13:44 +05:30
Neeraj Gupta
8ff6ab6c04 [cli] Default to ENTE_CLI_CONFIG_DIR, fallback to ENTE_CLI_CONFIG_PATH for compatibility 2024-11-06 19:09:26 +05:30
Manav Rathi
384fcf4b38 Fix 2024-11-06 19:09:08 +05:30
ashilkn
84d7a37789 [mob][photos] Extract string and use workaround for avoiding having context as a long lived object 2024-11-06 18:57:30 +05:30
Manav Rathi
0a2f92fc86 Conv 2024-11-06 18:55:11 +05:30
Manav Rathi
2b91cbd0d2 Move 2024-11-06 18:53:12 +05:30
Manav Rathi
7cd54f4815 Global handling of in-flight requests during logout 2024-11-06 18:42:19 +05:30
ashilkn
6fa7e033d9 [mob][photos] Chore 2024-11-06 18:42:01 +05:30
Manav Rathi
748605ff00 logout 2 2024-11-06 18:30:56 +05:30
Manav Rathi
53d01b2aa4 init 2024-11-06 18:22:57 +05:30
Manav Rathi
afed732e68 snap wip 2024-11-06 18:19:18 +05:30
Manav Rathi
221c79a6b8 snap wip 2024-11-06 18:08:15 +05:30
Manav Rathi
7fb2fb6dde z wip 2024-11-06 17:47:00 +05:30
Neeraj Gupta
fb710ac41b [server] Add delay in fileData replication (#3960)
## Description
Added additional logs for passkey authentication failures.

## Tests
2024-11-06 17:37:56 +05:30
Neeraj Gupta
9a683d65c9 [server] Log userID on passkey auth failure 2024-11-06 17:36:18 +05:30
Neeraj Gupta
9e06245941 [server] increse file data replication lockTime 2024-11-06 17:36:18 +05:30
Neeraj Gupta
a87fdfa94b fix log msg 2024-11-06 17:36:18 +05:30
Neeraj Gupta
ff7d65041a [server] Avoid immedidate sync 2024-11-06 17:36:18 +05:30
Manav Rathi
e64829410b z 2024-11-06 16:04:35 +05:30
Manav Rathi
f932a16528 Split 2024-11-06 15:52:06 +05:30
Manav Rathi
565dce5a1d T 2024-11-06 15:32:45 +05:30
ashilkn
64b113bd21 [mob][photos] Refactor 2024-11-06 15:21:45 +05:30
Manav Rathi
7fc692312c Axios artifact 2024-11-06 15:16:40 +05:30
Manav Rathi
892edde5dd LF 2024-11-06 15:07:48 +05:30
Manav Rathi
9737405c3a Move checkpoint 2024-11-06 14:54:13 +05:30
Manav Rathi
fc8bf78fc3 Move wip chkpt 2024-11-06 14:44:12 +05:30
Manav Rathi
8f3de6b6fb Move (wip checkpoint) 2024-11-06 14:34:03 +05:30
Neeraj Gupta
7a99c8be63 [mob] Render people section in GridView (#3958)
## Description

## Tests
2024-11-06 14:29:49 +05:30
Neeraj Gupta
6e86c7dff0 [mob] Show people in grid view 2024-11-06 14:25:42 +05:30
Manav Rathi
a7675e9a08 Move 2024-11-06 14:25:39 +05:30
Manav Rathi
47f70250a2 Unused 2024-11-06 14:25:20 +05:30
Manav Rathi
2f6f1a4c6b Move 2024-11-06 14:24:29 +05:30
Manav Rathi
d377205942 Dedup 2024-11-06 14:20:35 +05:30
Manav Rathi
033e06e8ef Move 2024-11-06 14:16:23 +05:30
Manav Rathi
ac05f9fbd7 Move 2024-11-06 14:12:20 +05:30
Manav Rathi
80870d84a7 Move 2024-11-06 14:08:17 +05:30
Manav Rathi
cf928948ce Doc 2024-11-06 14:06:39 +05:30
Manav Rathi
8080c91f79 Rearrange 2024-11-06 14:01:45 +05:30
Manav Rathi
8225070dd3 Inline 2024-11-06 13:57:10 +05:30
Manav Rathi
eb5f2e5e46 Inline 2024-11-06 13:54:59 +05:30
Manav Rathi
0a45caa5b2 Inline 2024-11-06 13:43:20 +05:30
Neeraj Gupta
0e27e1c928 [mob] Lint suggestion 2024-11-06 13:38:23 +05:30
Manav Rathi
dc8db28695 Tweak 2024-11-06 13:38:17 +05:30
Neeraj Gupta
fad4077f76 [mob] Separate all page for people 2024-11-06 13:37:50 +05:30
Manav Rathi
ad698a9abd Inline 2024-11-06 13:32:09 +05:30
Manav Rathi
944df7ecf3 Inline 2024-11-06 13:30:42 +05:30
Manav Rathi
5fff967620 re 2024-11-06 13:27:02 +05:30
Manav Rathi
abbc7a5748 Doc 2024-11-06 13:24:42 +05:30
Manav Rathi
4bc8ef6bc9 Inline 2024-11-06 13:19:08 +05:30
Manav Rathi
9c9036a8ee Use 2024-11-06 13:11:59 +05:30
Manav Rathi
99fe407684 z 2024-11-06 13:03:48 +05:30
Manav Rathi
044c82eacc Move 2024-11-06 12:46:06 +05:30
Manav Rathi
d7665d289c period 2024-11-06 12:39:38 +05:30
Neeraj Gupta
6a878b165d [mob] Lint 2024-11-06 12:38:36 +05:30
Manav Rathi
1d7c807e5f z 2024-11-06 12:38:04 +05:30
Manav Rathi
900ea0469f Ref 2024-11-06 12:26:59 +05:30
Manav Rathi
3a5189e715 Ref 2024-11-06 12:20:25 +05:30
Manav Rathi
dbdcadf452 Move and rewrite 2024-11-06 12:01:51 +05:30
Manav Rathi
07cd61a6f0 Inline 2024-11-06 11:57:45 +05:30
Manav Rathi
4257a34aed type 2024-11-06 11:54:47 +05:30
Manav Rathi
6d2bd35a66 Move 2024-11-06 11:50:38 +05:30
Manav Rathi
5c656f2378 Unused 2024-11-06 11:43:47 +05:30
Manav Rathi
287d4b00e1 [web] General (non-functional) rearrangement of code (#3957) 2024-11-06 11:36:34 +05:30
Manav Rathi
91b4ef2915 LF 2024-11-06 11:33:14 +05:30
Manav Rathi
e267dc6bc9 Move 2024-11-06 11:23:20 +05:30
Manav Rathi
6830ace1ce Inline 2024-11-06 11:16:11 +05:30
Manav Rathi
25f6ad893d Fix lints 2024-11-06 11:13:50 +05:30
Manav Rathi
bbc7d63250 Move 2024-11-06 11:12:30 +05:30
Manav Rathi
b03effff3e Tweak 2024-11-06 11:09:30 +05:30
Manav Rathi
339cdeaa55 Tweak 2024-11-06 11:03:14 +05:30
Manav Rathi
59e9e26d06 Flatten 2024-11-06 10:53:13 +05:30
Manav Rathi
c7b9a35034 Conv 2024-11-06 10:49:11 +05:30
NanoBunTV
c0a47b21f3 Added Custom Icon for Ko-fi
https://ko-fi.com
2024-11-05 23:18:21 -06:00
Manav Rathi
e07bf90f7a Remove deprecated defaultProps 2024-11-06 10:41:25 +05:30
Manav Rathi
0464e31393 Move 2024-11-06 10:30:32 +05:30
Manav Rathi
8ac01c96a3 Inline 2024-11-06 10:28:55 +05:30
Manav Rathi
0087be4938 Inline 2024-11-06 10:26:56 +05:30
Manav Rathi
f3c4ca932d Inline 2024-11-06 10:23:19 +05:30
Manav Rathi
499763edac Inline 2024-11-06 10:21:43 +05:30
Manav Rathi
2ee6e7edc4 Inline 2024-11-06 10:19:01 +05:30
Manav Rathi
058e157941 Inline 2024-11-06 10:15:10 +05:30
Manav Rathi
e7b7b3c1cc Inline 2024-11-06 10:13:11 +05:30
Manav Rathi
d50c577a2f Inline 2024-11-06 10:10:07 +05:30
Manav Rathi
ce80a002ea Inline 2024-11-06 10:09:21 +05:30
Manav Rathi
22b0d47e0a Unused 2024-11-06 10:06:44 +05:30
Manav Rathi
079154198b Inline 2024-11-06 10:01:41 +05:30
Manav Rathi
542cb16e1a Inline 2024-11-06 10:01:07 +05:30
Manav Rathi
2bb4be423f Inline 2024-11-06 09:59:59 +05:30
Manav Rathi
e87096aba5 Split 2024-11-06 09:51:40 +05:30
Manav Rathi
ac1045f9fe [web] Remove unused yarn invocations (#3955)
These are in infra.
2024-11-06 09:37:40 +05:30
Manav Rathi
37aa2af39d Fix 2024-11-06 09:31:52 +05:30
Manav Rathi
00791641a4 [web] Remove unused yarn invocations
These are in infra.
2024-11-06 09:28:19 +05:30
ashilkn
6a5b7f2166 [mob][photos] bump up to v0.9.57 2024-11-05 22:33:30 +05:30
ashilkn
bdc80c8f97 Merge branch 'main' into hierarchical_search 2024-11-05 22:31:42 +05:30
ashilkn
39a3a9a8fa [mob][photos] Avoid recomputing results of 'Only them' filter if already available 2024-11-05 22:29:55 +05:30
ashilkn
ebae813ee3 [mob][photos] Add option to make 'only them' filter work a little different only for testing, for feedback on which option is better 2024-11-05 22:27:38 +05:30
ashilkn
f09005ed95 [mob][photos] Make filtering of 'Only them' filter faster by making one db query instead of two and log and handle any errors when filtering using the 'Only them' filter 2024-11-05 21:01:35 +05:30
ashilkn
724b9620be [mob][photos] chore 2024-11-05 19:45:29 +05:30
Manav Rathi
ca0ab41403 [web] Improve handling of the CF Upload proxy flag (#3951) 2024-11-05 19:35:31 +05:30
Manav Rathi
4f0ba47c2e Fix 2024-11-05 19:15:41 +05:30
Manav Rathi
448a8789fa Switch 2024-11-05 19:07:00 +05:30
Manav Rathi
b730d41eca Update in shared albums manually 2024-11-05 18:54:55 +05:30
Manav Rathi
3e130d09ea Split so that it can be used by albums app 2024-11-05 18:46:47 +05:30
Manav Rathi
9d31ea521d Remove out of date comment 2024-11-05 18:30:52 +05:30
Manav Rathi
55b36501a0 Alt 2024-11-05 18:28:03 +05:30
Manav Rathi
237495d48f Move 2024-11-05 17:33:00 +05:30
mangesh
b6e5703ed9 [docs][without-docker]: make the docs more verbose wherever needed (#3937) 2024-11-05 16:59:58 +05:30
ashilkn
30cde90a68 [mob][photos] Only add initialGalleryFilter to filters to avoid in recommendations list when there are no applied filters
This resolves a bug: If 'A' is the initialGalleryFilter and a filter 'B' is applied (in this state both A and B filters are applied), and then the filter 'A' is removed, in recommendations, filter 'A' is not recommended since it's passed as a filter to avoid in recommendations
2024-11-05 16:18:49 +05:30
Neeraj Gupta
5450ac7a67 [mob] Fix appBar color change on scroll 2024-11-05 15:55:00 +05:30
Manav Rathi
228cea5b98 [web] Drawer refactoring - Maps settings (#3947) 2024-11-05 15:46:54 +05:30
Manav Rathi
385367a3df Inline 2024-11-05 15:41:33 +05:30
Murat Karayel
fc7da2081a [Auth] Fix title typo (#3946)
ClouDNS title typo

icon not showing in app because of typo
2024-11-05 15:32:29 +05:30
Manav Rathi
d26c4a7a84 Remove old code 2024-11-05 15:10:46 +05:30
Neeraj Gupta
1078a5edf8 [mob] Fix date parsing for batched photos from signal (#3945)
## Description
Related to https://github.com/ente-io/ente/issues/3851
## Tests
2024-11-05 15:08:52 +05:30
Neeraj Gupta
a200c4ac5f [mob] Fix date parsing for batched photos from signal 2024-11-05 15:07:58 +05:30
Manav Rathi
869f3b6138 Dedup 2024-11-05 14:57:44 +05:30
Manav Rathi
bf2c02e25c Use 2024-11-05 14:38:26 +05:30
Manav Rathi
ecca8be1d7 Fix 2024-11-05 14:33:32 +05:30
Manav Rathi
514129e07b Use 2024-11-05 14:31:49 +05:30
Manav Rathi
79d5d4ac1c Wrap 2024-11-05 14:25:33 +05:30
Manav Rathi
ead44dd73a Fix invalid nesting of p within p 2024-11-05 14:16:52 +05:30
Manav Rathi
1dd45a2e04 Make the message optional 2024-11-05 14:12:26 +05:30
Manav Rathi
a048f1a38f Use 2024-11-05 14:05:52 +05:30
Manav Rathi
1713510f2b New 2024-11-05 14:02:09 +05:30
Manav Rathi
66fc440d1b Move 2024-11-05 13:49:44 +05:30
Manav Rathi
05e5f9f675 Inline load and error states 2024-11-05 13:36:54 +05:30
Manav Rathi
d2b3de08c1 Placeholder 2024-11-05 13:20:53 +05:30
Manav Rathi
1b4c9217b6 Remote 2024-11-05 13:17:30 +05:30
Manav Rathi
f52ece7bb5 Allow subscriptions 2024-11-05 13:11:58 +05:30
Manav Rathi
862ba7b241 [web] New translations (#3942)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-05 12:24:57 +05:30
Crowdin Bot
65ba38968d New Crowdin translations by GitHub Action 2024-11-05 06:52:41 +00:00
Manav Rathi
2d80779b09 [desktop] Move face clustering related strings to translation (#3941) 2024-11-05 12:19:31 +05:30
Neeraj Gupta
7f1630967b [auth] Bump version v4.1.0 (#3940)
## Description

## Tests
2024-11-05 12:15:53 +05:30
Manav Rathi
5dcd4547d6 Move to tr 2024-11-05 12:14:28 +05:30
Manav Rathi
96b9b36c69 Move to tr 2024-11-05 12:07:49 +05:30
Neeraj Gupta
8a0d5ab9ef [auth] Bump version v4.1.0 2024-11-05 11:57:02 +05:30
Manav Rathi
ce02909b5d Use 2024-11-05 11:56:34 +05:30
Manav Rathi
fc6ab58514 Rename 2024-11-05 11:56:22 +05:30
Manav Rathi
38ed590a2b Move to tr 2024-11-05 11:52:20 +05:30
Manav Rathi
e4bfa1ddb1 Move 2024-11-05 11:47:49 +05:30
Neeraj Gupta
fb4c1b206d [mob] Basic skeleton to save person 2024-11-05 11:47:23 +05:30
Manav Rathi
8feef3f36f Remove unused 2024-11-05 11:45:09 +05:30
Manav Rathi
e7c788a793 [web] New translations (#3939)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-05 11:37:02 +05:30
Crowdin Bot
9223f83a4e New Crowdin translations by GitHub Action 2024-11-05 06:03:38 +00:00
Manav Rathi
151c8cd734 [web] Translation cleanup (#3938)
Related to the recent drawer refactorings
2024-11-05 11:32:51 +05:30
Manav Rathi
b494cc248b Unused 2024-11-05 11:23:21 +05:30
Manav Rathi
4794de7d74 Consistent casing 2024-11-05 11:22:44 +05:30
Manav Rathi
787d4388d3 Rename 2024-11-05 11:18:10 +05:30
Manav Rathi
934b1383b5 Rename 2024-11-05 11:15:11 +05:30
mangeshrex
7689e0a9f2 [docs][without-docker]: make the docs more verbose wherever needed 2024-11-05 11:11:49 +05:30
Manav Rathi
91e0ede0a6 Rename and move 2024-11-05 11:10:41 +05:30
Manav Rathi
7dd7194a7a Remove unused 2024-11-05 11:06:49 +05:30
Manav Rathi
b18de12f28 Rename 2024-11-05 11:06:07 +05:30
Manav Rathi
23ac921fb5 Remove unused 2024-11-05 11:01:16 +05:30
Manav Rathi
faf8720fdc [web] Drawer refactoring - Part x/x (#3936) 2024-11-05 10:59:33 +05:30
Manav Rathi
e2e3551ce4 Ditto 2024-11-05 10:53:02 +05:30
Manav Rathi
90a0a44ae2 Move 2024-11-05 10:32:52 +05:30
Murat Karayel
215837ac4a [Auth] New icons (#3854)
New icons:
+ Binance TR
+ ClouDNS
+ CSFloat

⁕ Revamped Ubiquiti icon

› altNames for WARGAMING.NET
2024-11-05 10:32:36 +05:30
Manav Rathi
6112396479 Move 2024-11-05 10:26:55 +05:30
Manav Rathi
70f40aa103 Update 2024-11-05 10:16:08 +05:30
ashilkn
472bf48b42 [mob][photos] Remove face IDs that aren't associated with any cluster from getting added to the 'Only them' filter results 2024-11-05 10:10:59 +05:30
Manav Rathi
73ea3d167d Enable state 2024-11-05 09:55:54 +05:30
Manav Rathi
e04cd24e91 Tweak 2024-11-05 09:42:44 +05:30
Manav Rathi
089808892b Update 2024-11-05 09:37:06 +05:30
Manav Rathi
07995dcbb8 md 2024-11-05 09:33:28 +05:30
Manav Rathi
dfd55328c7 md 2024-11-05 09:30:00 +05:30
Neeraj Gupta
c69afd28a3 [Auth - Custom Icons] Fixed spelling mistake for Ubiquiti SSO (#3877)
### Description:
Fixed spelling mistake for one of Ubiquiti's "altNames".

### Changes:
`"Ubiquti SSO` ---> `"Ubiquiti SSO"`
2024-11-05 09:20:10 +05:30
ashilkn
fb9b3543e0 [mob][photos] Remove stale code 2024-11-04 20:22:39 +05:30
ashilkn
b2da30e207 [mob][photos] Show 'Only them' filter in recommendations right after a person screen is opened, even when there are no filters selected 2024-11-04 19:19:52 +05:30
Manav Rathi
748f65e536 [web] Continuing settings drawer related refactoring (#3933) 2024-11-04 19:16:02 +05:30
Manav Rathi
da0bee0cc4 2FA drawer 2024-11-04 19:10:59 +05:30
Manav Rathi
23d739c380 Tweak 2024-11-04 18:57:05 +05:30
Manav Rathi
0a122b9fed Ditto 2024-11-04 18:47:33 +05:30
Manav Rathi
6b0b5fc3ce Touchups 2024-11-04 18:31:04 +05:30
Manav Rathi
fd29a26210 Swap 2024-11-04 18:22:45 +05:30
Manav Rathi
cbe7407c14 Dup 2024-11-04 18:19:40 +05:30
Manav Rathi
5311714bff Don't rely on container 2024-11-04 18:14:53 +05:30
Neeraj Gupta
c967abbae7 [server] Log additional details on replication failure (#3932)
## Description

## Tests
2024-11-04 18:01:54 +05:30
Neeraj Gupta
0fc17e9453 [server] Log additional details on replication failure 2024-11-04 18:00:59 +05:30
Manav Rathi
f52420df20 Shorten 2024-11-04 18:00:13 +05:30
ashilkn
b036079249 [mob][photos] Do not show any face filters in recommendations when an 'Only them' filter is applied 2024-11-04 17:49:20 +05:30
Alex Rirak
0edfb461af [AUTH] Add icon for Carta.com, KnownHost.com, TRowePrice.com (#3908)
## Description
- Added an Icon for Carta.com
- Added an Icon for KnownHost.com
- Added an Icon for TRowePrice.com
- Updated Config
2024-11-04 16:04:40 +05:30
Laurens Priem
59f7b316c3 Copy (#3930)
Copy change
2024-11-04 16:04:17 +05:30
Manav Rathi
27aaf78499 Split off 2024-11-04 15:59:52 +05:30
Neeraj Gupta
82223de0ba [mob] Fix nav bug during person label assignment (#3931)
## Description

## Tests
2024-11-04 15:58:48 +05:30
Neeraj Gupta
a4de4fe4b7 [mob] Fix nav bug during person label assignment 2024-11-04 15:54:59 +05:30
Manav Rathi
d5071628b6 Consistent 2024-11-04 15:48:42 +05:30
Manav Rathi
ec776e9f98 Unnest 2024-11-04 15:41:40 +05:30
Manav Rathi
8cf4c008d5 Ren 2024-11-04 15:31:29 +05:30
Manav Rathi
5c4aed51f2 [web] Refactoring - Nested left sidebar drawer (#3928) 2024-11-04 15:27:08 +05:30
Manav Rathi
7c91f1059d LF 2024-11-04 15:24:11 +05:30
Manav Rathi
3c15f80a79 Restore basic usability 2024-11-04 15:19:57 +05:30
Manav Rathi
f164df75fc Remove unnecessary boxes 2024-11-04 15:15:23 +05:30
Manav Rathi
18daf681de Update 2024-11-04 15:10:12 +05:30
Manav Rathi
ff42397316 Use 2024-11-04 14:54:01 +05:30
Manav Rathi
302dff72a4 Drop the workaround 2024-11-04 14:31:08 +05:30
Manav Rathi
d9e106088a S3 2024-11-04 14:28:25 +05:30
Manav Rathi
31cdb63c7d S2 2024-11-04 14:19:48 +05:30
Manav Rathi
b1c7c238a9 Sketch 2024-11-04 14:14:17 +05:30
Manav Rathi
bd35f3e43d Rename 2024-11-04 14:05:24 +05:30
Manav Rathi
cfcbed2613 Move 2024-11-04 14:01:43 +05:30
laurenspriem
0197451d0e Merge branch 'main' into mobile_ml_naming 2024-11-04 14:01:19 +05:30
Neeraj Gupta
63471eea85 [mob] Add attributes for person email & userID 2024-11-04 13:44:07 +05:30
Manav Rathi
80d35ea2fe [infra] Add data-puller CF worker (#3927) 2024-11-04 13:43:59 +05:30
Manav Rathi
fd301ff116 [infra] Add data-puller CF worker 2024-11-04 13:40:41 +05:30
Manav Rathi
34f485c658 [docs] Add note about leafmost folder (#3924) 2024-11-04 11:38:50 +05:30
Manav Rathi
fcb966f649 [docs] Add note about leafmost folder 2024-11-04 11:37:08 +05:30
mangesh
ca7ed779d6 minor fix: describing markdown syntax type. (#3879) 2024-11-04 11:34:06 +05:30
mangesh
1fcdc7cc73 add: resource links for running museum as a bg service (#3890) 2024-11-04 11:32:56 +05:30
Neeraj Gupta
1ae5b614f4 [auth] New translations (#3918)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-11-04 11:32:30 +05:30
Neeraj Gupta
c58dffd5c9 [mob] Handle 404 for multipart failure (#3923)
## Description

## Tests
2024-11-04 11:29:04 +05:30
Neeraj Gupta
ef329177c0 Merge remote-tracking branch 'origin/main' into file_data_v2 2024-11-04 09:51:16 +05:30
Neeraj Gupta
c13364513b [auth] Remove bad icon 2024-11-04 09:50:16 +05:30
Manav Rathi
5ef200d520 [desktop] Fix build failures due to apt failures (#3922) 2024-11-04 09:47:28 +05:30
Manav Rathi
a11dd01d4a [desktop] Fix build failures due to apt failures
https://github.com/ente-io/ente/pull/3921/files
2024-11-04 09:46:28 +05:30
Manav Rathi
86af6653dd [desktop] Fix build failures due to apt failures (#3921)
https://github.com/actions/runner-images/issues/6039#issuecomment-1209531257
2024-11-04 09:42:37 +05:30
github-actions[bot]
7e7e1983b7 [mobile] New translations (#3917)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-11-04 09:41:56 +05:30
Neeraj Gupta
cb37870911 Rename file back to original name 2024-11-04 09:36:30 +05:30
Neeraj Gupta
257aae3d81 Temporarily rename file to resolve case sensitivity issue 2024-11-04 09:36:29 +05:30
Manav Rathi
a1bb2ff0c1 [desktop] Fix build failures due to apt failures
https://github.com/actions/runner-images/issues/6039#issuecomment-1209531257
2024-11-04 09:32:47 +05:30
Manav Rathi
1a338f2451 [web] Fix capitalization for the uk-UA lang (#3920)
https://github.com/ente-io/ente/issues/3634#issuecomment-2448388285
2024-11-04 08:23:02 +05:30
Manav Rathi
432acfbeb6 [web] Fix capitalization for the uk-UA lang
https://github.com/ente-io/ente/issues/3634#issuecomment-2448388285
2024-11-04 08:19:12 +05:30
Manav Rathi
af2b6e3918 [web] New translations (#3916)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-04 08:17:44 +05:30
Crowdin Bot
46f7d14964 New Crowdin translations by GitHub Action 2024-11-04 01:17:23 +00:00
Crowdin Bot
caf0374f80 New Crowdin translations by GitHub Action 2024-11-04 00:35:43 +00:00
Manav Rathi
d4587abf3f [web] Minor drawer related refactoring (#3891)
Non functional
2024-10-30 23:04:12 +05:30
Manav Rathi
4e47d856bf Rename and move 2024-10-30 23:01:11 +05:30
Manav Rathi
c2514bc336 Default anchor is already left 2024-10-30 22:34:07 +05:30
Manav Rathi
7f3996c0ba [web] Settings related refactoring (#3888)
Prep for moving the preferences code into packages/new/photos.
2024-10-30 22:26:47 +05:30
Manav Rathi
b7af7be2da LF 2024-10-30 22:20:20 +05:30
Manav Rathi
8685222472 Only attempt to init settings after login 2024-10-30 21:59:28 +05:30
ashilkn
b2c6374010 [mob][photos] Stop showing name of face filter so that it occupies less space in UI 2024-10-30 21:24:20 +05:30
ashilkn
e0e6980dac [mob][photos] Use thumbnail image for face filter thumbnails 2024-10-30 21:09:33 +05:30
mangeshrex
5a37760cf1 add: resource links for running museum as a bg service 2024-10-30 20:50:54 +05:30
ashilkn
556fb50870 [mob][photos] Move different filter chip widgets to separate files 2024-10-30 15:56:18 +05:30
ashilkn
da38c3e9f5 [mob][photos] Fix missing files in hierarchical search when searching over an archived album 2024-10-30 15:40:33 +05:30
Manav Rathi
f502246cde LF 2024-10-30 14:42:24 +05:30
Manav Rathi
774227c14e Split again 2024-10-30 14:37:40 +05:30
ashilkn
862e84e6b2 [mob][photos] Make 'only them' filter working, showing filtered files in gallery 2024-10-30 14:33:08 +05:30
Manav Rathi
98ad12b415 Start using 2024-10-30 14:28:25 +05:30
Manav Rathi
9b04de216c wip: checkpoint 2024-10-30 14:02:43 +05:30
Manav Rathi
6b71ce2cf9 To settings 2024-10-30 13:27:43 +05:30
Manav Rathi
3483466391 Rename 2024-10-30 13:25:27 +05:30
Manav Rathi
5609778ca1 Transition to settings 2024-10-30 13:25:14 +05:30
Manav Rathi
072c472f1c Outline 2024-10-30 13:11:44 +05:30
Manav Rathi
b8dea0f296 Outline 2024-10-30 12:27:11 +05:30
Manav Rathi
56bac2160e Combine 2024-10-30 12:12:19 +05:30
Manav Rathi
258d1768fd Inline 2024-10-30 11:31:02 +05:30
Manav Rathi
23e6788891 [web] [desktop] Retain JPEG originals even on date modifications (#3887) 2024-10-30 10:57:34 +05:30
Manav Rathi
28cb942e6c Fix formatting lint issue 2024-10-30 10:53:02 +05:30
Manav Rathi
f97952298d [web] [desktop] Retain JPEG originals even on date modifications 2024-10-30 10:34:42 +05:30
ashilkn
e6813aa042 [mob][photos] When an 'only them' filter is added, remove all individual face filters from applied list 2024-10-29 20:20:31 +05:30
Manav Rathi
ac6524121a [web] General refactoring - Update the OTP input component package (#3884) 2024-10-29 19:37:21 +05:30
Manav Rathi
8e5fc76ef1 Move dep to correct place 2024-10-29 19:29:12 +05:30
Manav Rathi
d2db27d4ee Style to fit during the login flow 2024-10-29 19:27:33 +05:30
Manav Rathi
d9e6ff2fee Autofocus back to first on error 2024-10-29 19:21:20 +05:30
ashilkn
4717e48598 [mob][photos] Show thumbnail for 'only them' filter with different layouts depending on the number of faces in filter 2024-10-29 18:52:52 +05:30
Manav Rathi
61936029e8 Update 2024-10-29 18:34:52 +05:30
laurenspriem
1277c9d188 [mob][photos] Copy 2024-10-29 18:16:16 +05:30
ashilkn
f753779860 [mob][photos] Create only them filter and add it to recommendations on a condition 2024-10-29 17:26:18 +05:30
mangesh
3244f9d37e minor fix: describing markdown syntax type. 2024-10-29 13:15:26 +05:30
Neeraj Gupta
b886a9e31c [mob] Add support for storing fileDataInfo 2024-10-29 13:11:40 +05:30
Manav Rathi
da6b0c920a Doc 2024-10-29 12:54:20 +05:30
Manav Rathi
28691784bf Unused CSS 2024-10-29 12:45:53 +05:30
Manav Rathi
0e12a390f4 [web] General minor refactorings (#3878)
Circling around how to extract the share page
2024-10-29 12:35:20 +05:30
Manav Rathi
c6bcd7ccf0 Fin 2024-10-29 12:21:47 +05:30
Manav Rathi
eb0af57a84 Autofocus on the delete action only in the file viewer context 2024-10-29 12:14:36 +05:30
Manav Rathi
d15f8451fe Stable identity of context functions to prevent unnecessary rerenders 2024-10-29 12:14:36 +05:30
Neeraj Gupta
5568a86fb2 [mob] Remove dead code 2024-10-29 11:47:11 +05:30
Neeraj Gupta
ea8e561e04 [mob] generated 2024-10-29 11:43:49 +05:30
Neeraj Gupta
ee36ebc6a6 [mob] Add migration for filedata 2024-10-29 11:43:39 +05:30
Manav Rathi
75c280d86b Auth app doesn't use it 2024-10-29 11:10:52 +05:30
Manav Rathi
04d07fc94f Should be fixed upstream
https://github.com/klendi/react-top-loading-bar/issues/52
2024-10-29 11:06:37 +05:30
Manav Rathi
6f576bdae6 Update 2024-10-29 10:56:35 +05:30
Manav Rathi
145dd4d50b Prune 2024-10-29 10:54:30 +05:30
Manav Rathi
a0ea952932 Doc 2024-10-29 10:54:13 +05:30
Manav Rathi
06a0a8177b Unused css
Best I can tell, it seems a leftover from 7df731ed2c
2024-10-29 10:46:12 +05:30
Manav Rathi
4df1e16b90 Use the mui built in icons
The ad-hoc variation did not fit in with the rest of the icons (e.g it had a different stroke width, and general vibe)
2024-10-29 09:57:31 +05:30
Manav Rathi
8ce0775514 Remove unused 2024-10-29 09:47:08 +05:30
zDqrK404
44ccc69f77 [AUTH] Add Icon for DigiFinex.com (#3858)
## Description

Added a Icon for DigiFinex.com 

And Updated Index for it in custom-icons.json 

## Tests

None 
2024-10-29 09:34:25 +05:30
mangesh
85ae97c459 [draft] Docs for self hosting ente without docker (#3831)
## Description

in draft 

## Tests
2024-10-29 09:34:05 +05:30
mangesh
fd4de8b67b [docs][ente-cli]: add docs to troubleshoot keyring errors (#3870)
## Description

Adding docs for setting up the ENTE_CLI_SECRET_PATH variable. This fix
is for errors related to keyrings with ente-cli.

## Tests
2024-10-29 09:33:37 +05:30
KingLuc12
ae0c379e3f Update custom-icons.json
Changed one of the "altNames" from "Ubiquti SSO" to "Ubiquiti SSO".
2024-10-28 20:58:06 +00:00
KingLuc12
19c81646e3 Merge branch 'ente-io:main' into main 2024-10-28 20:55:14 +00:00
Manav Rathi
5bf1c4e14f [docs] Update ML FAQ to reflect functionality in latest desktop release (#3874)
/cc @laurenspriem, please reword if needed!
2024-10-28 18:20:12 +05:30
Manav Rathi
c09fc35488 [docs] Update ML FAQ to reflect functionality in latest desktop release 2024-10-28 18:16:09 +05:30
Manav Rathi
16ef8c548d [desktop] Start next release train (#3873)
Also updated 1.7.6 changelog with two entries I'd forgotten to add
earlier.
2024-10-28 17:52:47 +05:30
Manav Rathi
3a406d46c2 [desktop] Start next release train
Also updated 1.7.6 changelog with two entries I'd forgotten to add earlier.
2024-10-28 17:50:47 +05:30
ashilkn
b05373c8f2 [mob][photos] Change configuration in iOS to open albums.ente.sh instead of albums.ente.io 2024-10-28 17:37:15 +05:30
Manav Rathi
bc70689b9d photosd-v1.7.6 (#3872) 2024-10-28 17:14:09 +05:30
Manav Rathi
4246cc2f15 photosd-v1.7.6 2024-10-28 17:12:41 +05:30
Manav Rathi
3ec04beb61 [auth] Fix case insensitive rename (#3871)
A recent PR seems to have added "Render.svg". I'm not sure of the
intent, but
this seems to have been meant as replacement of the existing
"render.svg" (note
the different case). Because of how the macOS APFS filesystem and git
interact,
main is now showing as dirty on a git checkout.

Based on a visual comparison, and assuming the most recent PR is the
meant to
intentionally update this file, I've retained "Render.svg".
2024-10-28 17:10:32 +05:30
Manav Rathi
4e7dca6e4e [auth] Fix case insensitive rename
A recent PR seems to have added "Render.svg". I'm not sure of the intent, but
this seems to have been meant as replacement of the existing "render.svg" (note
the different case). Because of how the macOS APFS filesystem and git interact,
main is now showing as dirty on a git checkout.

Based on a visual comparison, and assuming the most recent PR is the meant to
intentionally update this file, I've retained "Render.svg".
2024-10-28 17:07:22 +05:30
Neeraj Gupta
8dce201ec6 Merge branch 'main' into file_data_v2 2024-10-28 15:55:46 +05:30
github-actions[bot]
60aae73223 [mobile] New translations (#3869)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-28 15:55:14 +05:30
Neeraj Gupta
d3dd168b2a [server] generated strings 2024-10-28 15:38:55 +05:30
LeGenDaRy
a6e4f9e603 Add new icons (#3776)
Add new icons
2024-10-28 15:14:31 +05:30
Neeraj Gupta
bec0f639d6 [server] API to get file data status (#3868)
## Description
Note:
This API won't really return status/diff for deleted files. The clients
will primarily use this data to identify for which all files we already
have preview generated or it's ML inference is done.
This doesn't simulate perfect diff behaviour as we won't maintain a
tombstone entries for the deleted API.
## Tests
2024-10-28 15:14:09 +05:30
Neeraj Gupta
70f79ebae4 [server] Change method type 2024-10-28 15:12:24 +05:30
Neeraj Gupta
17d1589859 [server] API to get index diff status 2024-10-28 15:03:08 +05:30
github-actions[bot]
dcd112bfdf [mobile] New translations (#3862)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-28 10:29:11 +05:30
github-actions[bot]
d3ce42fca1 [auth] New translations (#3863)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-28 10:26:21 +05:30
KingLuc12
d7e10a5e7a [Custom Icons] Add Ubiquiti (#3825)
## Description
Added Ubiquiti to the custom icons.
2024-10-28 10:25:43 +05:30
Manav Rathi
b4467771c0 [web] Enable Ukrainian (#3865) 2024-10-28 10:10:03 +05:30
Manav Rathi
984800379e [web] Enable Ukrainian 2024-10-28 10:02:53 +05:30
Manav Rathi
24c6d52b54 [web] New translations (#3861)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-28 09:57:52 +05:30
Crowdin Bot
54787eaf8d New Crowdin translations by GitHub Action 2024-10-28 00:36:03 +00:00
ashilkn
322c729c13 [mob][photos] Curate slightly better recommendations in app bar
Before, the recommendations were only based on relevance. Now the recommendations will be mostly relevant and a bit more diverse when it comes to type of filter
2024-10-26 18:50:24 +05:30
ashilkn
2c4c25feb3 [mob][photos] Create FilterTypeNames enum and enforce that a new entry is added here any time a new class extends HierarchicalSearchFilter 2024-10-26 18:40:57 +05:30
Aman Raj Singh Mourya
c849ea1046 [mob][photos] use better dialog widget to ask permissions 2024-10-26 17:12:52 +05:30
Manav Rathi
85e6fb60dc [desktop] Fix OOM on large library imports (#3847)
It is hard for me to be certain, but I feel this should resolve the
sporadic OOMs that have been reported when uploading large libraries.

- https://github.com/ente-io/ente/issues/2500 
- https://github.com/ente-io/ente/discussions/3420

There are two fixes here:

1. First one is a inefficient array concat in our code. This was not
incorrect per se, but it did lead to an allocation pattern that caused
V8's GC to crash the renderer with OOMs.

2. But even after the first fix, I was able to sometimes reproduce OOMs.
I added a lot of instrumentation (I've cherry-committed some of it to
git history for future reference when debugging similar issues), but I
couldn't spot any abnormal allocation patterns during uploads. Out of
ideas, I started imagining it was a Chromium issue, and on a whim, I
updated Electron 30 => 33 (something I needed to do anyway, as part of
regular app dependency updates). That apparently has resolved the
remaining OOMs.

With these changes, I've not been able to reproduce a crash even after
bumping up the parallel upload count from 4 to 12. I've let the parallel
upload count be at the existing 4 for now, but if indeed we stop getting
field reports of OOM crashes after this is released, we can increase
that too in the future.
2024-10-26 15:33:09 +05:30
Manav Rathi
f5ad895768 Revert "Debugging instrumentation"
This reverts commit 6700f912fc (it was always meant to be reverted, and only a history entry)
2024-10-26 14:36:22 +05:30
Manav Rathi
158254a658 Update to Electron 33
Two reasons:

- Electron 30 is end of support

- The prev-to-prev commit didn't fix all OOMs
  (3511fcf723), and they still sporadically
  occur. But there isn't any any aberrant memory consumption I can spot (See
  prev commit for some example instrumentation, the app's memory usage doesn'
  exceed a few hundred MBs at any point). So to rule out an upstream issue.
2024-10-26 14:24:36 +05:30
Manav Rathi
6700f912fc Debugging instrumentation
commiting to keep them in history
2024-10-26 14:20:13 +05:30
Neeraj Gupta
a830026640 [server] Add '/' before query params for an album's share URL (#3843) 2024-10-26 13:58:44 +05:30
Aman Raj Singh Mourya
b3f332cbb5 [mob][photos] open owned collection without fetching from the server 2024-10-26 13:14:45 +05:30
ashilkn
3b8c1ed9e3 [server] Add '/' before query params for an album's share URL 2024-10-26 07:51:20 +05:30
Prateek Sunal
e75913cb96 [auth] linux fixes (#3334)
## Description

- fix #2563 #2564
- update binary name

## Tests
2024-10-25 22:31:16 +05:30
Manav Rathi
3511fcf723 [desktop] Fix an OOM on large library imports
Should reduce the following occurrences (This should make it better, but there
might be other reasons for the OOM too): -
https://github.com/ente-io/ente/issues/2500 - -
https://github.com/ente-io/ente/discussions/3420

---

Here, the issue is that the combineChunksToFormUploadPart function, while not
incorrect, is terribly inefficent in how it combines Uint8Arrays byte by
byte. This apparently causes an allocation pattern that the V8 garbage
collector, Oilpan, doesn't like, and crashes the renderer process with:

    [main] <--- Last few GCs --->
    [main]
    [main] [17639:0x13000e90000]    39409 ms: Mark-Compact (reduce) 48.1 (57.8) -> 47.7 (52.8) MB, pooled: 0 MB, 35.08 / 0.04 ms  (average mu = 0.857, current mu = 0.906) CppHeap allocation failure; GC in old space requested
    [main]
    [main]
    [main] <--- JS stacktrace --->
    [main]
    [main] [17639:1025/145540.195043:ERROR:v8_initializer.cc(811)] V8 process OOM (Oilpan: Large allocation.).

The effort was primarily spent in getting it to a reproducible-ish state, and I
can now sporadically reproduce this watching a folder full of large videos, and
setting the network conditions in DevTools to 3G. For real users, what probably
happens is, depending on network speed, there is a potential race condition
where 4 multipart uploads may start within the same GC cycle (but I'm guessing
here, since the setup I have for reproducing this is still very sporadic).

Here is a smaller isolated example. This code, when repeatedly invoked in a
setTimeout (independent of any uploads or anything else in the app), causes the
renderer to OOM within a minute.

    import { wait } from "@/utils/promise";

    async function combineChunksToFormUploadPart() {
        const combinedChunks = [];
        for (let i = 0; i < 5 * 5; i++) {
            const { done, value: chunk } = await readDo();
            if (done) {
                break;
            }
            for (let index = 0; index < chunk.length; index++) {
                combinedChunks.push(chunk[index]!);
            }
        }
        return Uint8Array.from(combinedChunks);
    }

    const readDo = async () => {
        await wait(10);
        const ENCRYPTION_CHUNK_SIZE = 4 * 1024 * 1024;
        return {
            done: false,
            value: Uint8Array.from(
                Array(ENCRYPTION_CHUNK_SIZE).fill(Math.random()),
            ),
        };
    };

---

Some flags which helped in debugging:

    app.commandLine.appendSwitch("js-flags", "--expose_gc --trace_gc --trace_gc_verbose");
2024-10-25 20:49:03 +05:30
Manav Rathi
24009842d7 [docs] [web] Add NVM as an alternative (#3842) 2024-10-25 19:10:09 +05:30
Manav Rathi
1b6dda46df Add NVM as an alternative 2024-10-25 19:07:09 +05:30
Ashil
9956faf4b3 Update sha256 fingerprint of ente photos in Digital asset links JSON (#3841) 2024-10-25 17:38:19 +05:30
ashilkn
a829681970 Update sha256 fingerprint of ente photos in Digital asset links JSON 2024-10-25 17:34:03 +05:30
Neeraj Gupta
27dd13324e ML Lite (#3838)
## Description

- Adds an option to not index files locally on mobile
- Uses the global ML flag for consent

## Tests

Tested in debug mode on my Pixel 8.
2024-10-25 11:18:36 +05:30
laurenspriem
0a2090e2fb [mob][photos] Rename keys 2024-10-25 11:15:19 +05:30
laurenspriem
656baa972d [mob][photos] Simplify 2024-10-25 10:39:51 +05:30
laurenspriem
ab4d73e172 [mob][photos] Fix 2024-10-25 10:35:53 +05:30
laurenspriem
f81c7f6faa [mob][photos] Refactor 2024-10-25 10:23:35 +05:30
ashilkn
1c3bdb6d69 Merge branch 'main' into hierarchical_search 2024-10-25 09:58:37 +05:30
ashilkn
8b647ed0b1 [mob][photos] Wrap safearea around FilterOptionsBottomSheet 2024-10-25 09:57:39 +05:30
ashilkn
a29f9db35d [mob][photos] Show loading state in gallery from when a filter is applied to when all computation related to it finishes 2024-10-25 09:10:51 +05:30
ashilkn
ae5ae0c770 [mob][photos] Enable hierarchical search for uncategorized album 2024-10-25 08:34:55 +05:30
ashilkn
567ae6aa41 Revert "[mob][photos] Change leading width of appbar when filters are applied"
This reverts commit 925abee3c5.
2024-10-25 08:23:38 +05:30
ashilkn
53e7bbac78 [mob][photos] Chore 2024-10-24 22:15:04 +05:30
ashilkn
e944b6e8cb [mob][photos] Performance improvements 2024-10-24 22:13:00 +05:30
ashilkn
925abee3c5 [mob][photos] Change leading width of appbar when filters are applied 2024-10-24 21:10:52 +05:30
ashilkn
dabf4bb309 [mob][photos] Remove duplicate people naming banner 2024-10-24 21:02:40 +05:30
ashilkn
656d103e9d [mob][photos] Stop showing cluster id in UI 2024-10-24 20:59:25 +05:30
Manav Rathi
37d763bfcd [infra] Add some notes on creating a graphical cloud VM (#3830) 2024-10-24 20:22:42 +05:30
Manav Rathi
3c8b023cd0 Tweak 2024-10-24 20:20:03 +05:30
laurenspriem
8bf29ee82f [mob][photos] Fix remote fetch counter 2024-10-24 19:46:42 +05:30
laurenspriem
b85e830a2b [mob][photos] Remove unneeded 2024-10-24 19:33:57 +05:30
laurenspriem
9e1d32fd88 [mob][photos] Fix colors 2024-10-24 19:28:25 +05:30
laurenspriem
4c63ffa90f [mob][photos] Inherited widget fix 2024-10-24 19:21:53 +05:30
Aman Raj Singh Mourya
10ca0b7669 Merge branch 'deeplinks' of https://github.com/ente-io/ente into deeplinks 2024-10-24 19:12:36 +05:30
Aman Raj Singh Mourya
621df27da9 [mob][photos] added android_intent_plus to open app settings for permissions 2024-10-24 19:12:33 +05:30
Aman Raj Singh Mourya
020033bd92 [mob][photos] Ask permission to enable deeplinks for github & fdroid users 2024-10-24 19:10:52 +05:30
ashilkn
5498438384 [mob][photos] Increase size of face filter chip in all filters view 2024-10-24 19:10:36 +05:30
laurenspriem
d16566ec31 [mob][photos] format 2024-10-24 19:07:25 +05:30
ashilkn
83cfd4ab4b [mob][photos] UI improvements in filter chips 2024-10-24 19:06:05 +05:30
laurenspriem
d2f20140da [mob][photos] format 2024-10-24 19:02:13 +05:30
laurenspriem
054a9deb59 [mob][photos] Only index locally if enough RAM 2024-10-24 19:00:22 +05:30
ashilkn
32b5b903be [mob][photos] Show close icon always inside the generic filter chip 2024-10-24 18:38:24 +05:30
laurenspriem
e500ef2144 [mob][photos] Extract strings 2024-10-24 17:56:41 +05:30
ashilkn
96cba31c29 [mob][photos] Chore 2024-10-24 17:54:01 +05:30
laurenspriem
602e820442 [mob][photos] Fix ML consent logic 2024-10-24 17:51:24 +05:30
laurenspriem
811ba9abfa [mob][photos] Prettier UI 2024-10-24 17:34:25 +05:30
laurenspriem
ca900d5a9a [mob][photos] Update ML debug options 2024-10-24 17:19:42 +05:30
ashilkn
8c708530ef [mob][photos] Perf improvements to hierarchical search
Normal search and hierarchical search needs slightly different set of files. Refactored code in such a way that the elements in both these lists are references of a elements in a list of all files and hence reducing the memory needed for search and hierarchical search combined. Files used for hierarchical search contain only uploaded files now, rather than mix of uploaded and un-uploaded, reducing iterations required for hierarchical search
2024-10-24 17:17:50 +05:30
Aman Raj Singh Mourya
9d045f51eb [mob][photos] resolve merge conflicts 2024-10-24 17:17:49 +05:30
laurenspriem
e969f8fa33 [mob][photos] Format 2024-10-24 17:10:35 +05:30
laurenspriem
39182fa9a4 [mob][photos] Enable local indexing by default 2024-10-24 17:09:11 +05:30
laurenspriem
1bf6b56f96 [mob][photos] Switch ML flags 2024-10-24 17:06:33 +05:30
Manav Rathi
18927c9e1c Notes on install
Ref: https://timoanttila.com/blog/install-xfce-to-hetzner-cloud
2024-10-24 16:55:10 +05:30
Saijo George
67c9d8b413 Update custom-icons.json for impact.com (#3820)
## Description

## Tests
2024-10-24 14:41:07 +05:30
laurenspriem
ee59fe8dcd [mob][photos] Toggle for local indexing 2024-10-24 14:29:39 +05:30
ashilkn
7be790d8ff [mob][photos] Bump up to v0.9.54 2024-10-24 14:20:08 +05:30
ashilkn
24bb6f28a9 Merge branch 'main' into deeplinks 2024-10-24 14:16:33 +05:30
Neeraj Gupta
70b90e8123 [mob] Bump version v0.9.53 (#3829)
## Description

## Tests
2024-10-24 12:14:42 +05:30
Neeraj Gupta
41a1d9042d [mob] Bump version v0.9.53 2024-10-24 12:14:11 +05:30
ashilkn
d45cb08fec [mob][photos] Remove duplicates and don't show files in ignored collections in Hierarchical search gallery 2024-10-24 11:52:44 +05:30
Neeraj Gupta
fb92cc49e4 [mob][auth] Fix detection of default locale (#3819)
## Description

## Tests
2024-10-24 11:23:38 +05:30
Neeraj Gupta
de435ecf33 [auth] Fix auto detection for default locale 2024-10-24 11:16:48 +05:30
Laurens Priem
e93f6b1c3b [mob][photos] Revert onnx preprocessing (#3818)
## Description

Reverting some changes that moved preprocessing inside ONNX because it's
giving memory issues.

## Tests

Tested in debug mode on my pixel 8.
2024-10-24 08:22:22 +05:30
KingLuc12
4668be96c1 Added Ubiquiti to "custom-icons.json" 2024-10-23 23:00:37 +01:00
KingLuc12
9b6a7881a5 Add files via upload 2024-10-23 22:50:24 +01:00
Prateek Sunal
58e2bc1f6c chore: lint fix 2024-10-24 00:43:28 +05:30
Prateek Sunal
269e68f32a fix: migration logic update 2024-10-24 00:43:04 +05:30
Prateek Sunal
5a7a5d6778 Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-24 00:34:30 +05:30
Prateek Sunal
d75bb9e8c9 fix: rethrow error after migrate db fails 2024-10-24 00:29:56 +05:30
Prateek Sunal
6004016331 Merge remote-tracking branch 'refs/remotes/origin/auth-linux-fixes' into auth-linux-fixes 2024-10-24 00:28:20 +05:30
Prateek Sunal
ab4fae7922 fix: migrate db on mac 2024-10-24 00:26:22 +05:30
laurenspriem
77dc0ba6f0 [mob][photos] ML Lite initial commit 2024-10-23 22:43:28 +05:30
ashilkn
2ec911da06 [mob][photos] Fix files in group in HierarchicalSearchGallery not ordered by creation time + reduce iterations 2024-10-23 21:41:42 +05:30
ashilkn
5e56ec21b7 [mob][photos] Use better name for function 2024-10-23 21:39:11 +05:30
ashilkn
6a692ebc73 [mob][photos] Clear all file selections when filters are applied 2024-10-23 20:46:26 +05:30
ashilkn
43dc2794d7 [mob][photos] Keep selection sheet the same until the initial top level filter of the gallery is removed. Once removed, use GalleryType.searchResult for the selection sheet 2024-10-23 20:39:11 +05:30
ashilkn
802ba55016 [mob][photos] Group filter recommendations by type in appbar 2024-10-23 18:44:35 +05:30
ashilkn
e7525ff5ea [mob][photos] Elevate app bar which has filters when gallery is scroll underneath to it (only visible in light theme) 2024-10-23 18:21:39 +05:30
ashilkn
9983689c74 [mob][photos] Fade the left edge of applied filters in appbar so that the filters fade away to the left when scrolling 2024-10-23 18:06:09 +05:30
ashilkn
b7f23a74c3 [mob][photos] Add icons for TopLevelGenericFilter search results 2024-10-23 18:05:12 +05:30
ashilkn
7ed11779bd [mob][photos] Show a gallery's TopLevelGenericFiter too in all filters view 2024-10-23 17:58:17 +05:30
Neeraj Gupta
e25eac5d62 [mob] Lint fix 2024-10-23 17:39:02 +05:30
Neeraj Gupta
e4647c07d5 [mob] Fix autoLanguage detection 2024-10-23 17:25:57 +05:30
laurenspriem
3a8ec51674 [mob][photos] Revert onnx preprocessing 2024-10-23 17:05:13 +05:30
ashilkn
37f2b9f70e [mob][photos] Fix filters getting squished a bit because of it's size constrain and it's outer stroke width 2024-10-23 16:39:11 +05:30
Manav Rathi
85f0920c5b [desktop] People grouping - Finishing touches (#3817) 2024-10-23 16:32:02 +05:30
ashilkn
f9d6c54004 [
mob][photos] Slight changes to UI in all filters view and in app bar and fix clipping issue of overflowing of widget content (of filter chip) by changing the design
2024-10-23 16:26:26 +05:30
Manav Rathi
30bb3e8c38 Fix 2024-10-23 16:21:53 +05:30
Manav Rathi
f98c837442 Tweak spacing 2024-10-23 16:18:44 +05:30
Manav Rathi
bc938ea17e Is fine 2024-10-23 16:15:53 +05:30
Manav Rathi
cb13e8ddb0 Tweak 2024-10-23 16:12:45 +05:30
Neeraj Gupta
cb9d9f700c [cli] Bump version 2024-10-23 16:11:46 +05:30
Neeraj Gupta
3b17d497be [cli] Fix login for auth app when passkey is enabled (#3815)
## Description

## Tests
2024-10-23 16:10:50 +05:30
Neeraj Gupta
819c0bc13c [cli] Fix login for auth app when passkey is enabled 2024-10-23 16:09:17 +05:30
Manav Rathi
62fb7ba459 Fix condition 2024-10-23 16:03:47 +05:30
Manav Rathi
e21cd29b98 Remove dupes 2024-10-23 15:52:29 +05:30
Manav Rathi
c4f0f0a32f Allow unignores 2024-10-23 15:45:26 +05:30
Neeraj Gupta
0c162912ab [cli] Improve error message (#3814)
## Description

## Tests
2024-10-23 15:32:44 +05:30
Neeraj Gupta
d2ad58aead [mob] Reduce noise from sentry (#3802)
## Description

## Tests
2024-10-23 15:32:30 +05:30
Neeraj Gupta
40dcd4b0ca [cli] Improve error message 2024-10-23 15:31:50 +05:30
Manav Rathi
8f9c36b192 Retain state for use in showing toggle 2024-10-23 15:23:05 +05:30
Manav Rathi
d112007b7b Show ignored people in file info 2024-10-23 15:19:31 +05:30
Manav Rathi
b4643e9741 Remove testing asserts 2024-10-23 14:42:55 +05:30
Manav Rathi
9e09344163 Fix selection on add 2024-10-23 14:36:25 +05:30
Manav Rathi
531d4ede40 Selection reset will automatically happen on deleting 2024-10-23 14:22:39 +05:30
Manav Rathi
329eba2491 Split 2024-10-23 14:11:42 +05:30
Manav Rathi
653f686ee0 id is enough 2024-10-23 14:05:26 +05:30
Manav Rathi
87ffb455be Select on add 1 2024-10-23 13:50:49 +05:30
Manav Rathi
00be1940d2 Update people view when state changes 2024-10-23 13:42:33 +05:30
Manav Rathi
f3a0540abd Fix 2024-10-23 13:27:22 +05:30
Manav Rathi
cb9855124c [web] Use reducer for gallery - Fin 7/7 (#3811)
This finishes the overall move for the time being, preparing the ground
for the people related gallery tweaks that we need to make.
2024-10-23 12:18:03 +05:30
Manav Rathi
c8b057cf9d Deterministically handle the extra entry 2024-10-23 12:10:51 +05:30
Manav Rathi
9c8701cd8c Use 2024-10-23 12:00:04 +05:30
Manav Rathi
717cada22d wip checkpoint 2024-10-23 11:32:35 +05:30
Manav Rathi
3f1ee5e7cd wip checkpoint 2024-10-23 11:25:08 +05:30
Manav Rathi
a6d96d542a filter in reducer - wip checkpoint 2024-10-23 10:30:22 +05:30
Manav Rathi
c165fad0fb Tune 2024-10-23 10:17:44 +05:30
Manav Rathi
a0f0bbdeb9 [web] Use reducer for gallery - Part 6/x (#3810) 2024-10-23 10:09:36 +05:30
Manav Rathi
b5b2609946 Use 2024-10-23 10:05:13 +05:30
Manav Rathi
38b0c9fded wip compiles 2024-10-23 09:52:43 +05:30
Manav Rathi
4566353ab6 wip checkpoint 2024-10-23 09:39:06 +05:30
ashilkn
3dabf7e89c [mob][photos] Make all filters button's UI better 2024-10-23 08:57:39 +05:30
Manav Rathi
9438247828 wip checkpoint 2024-10-23 08:26:39 +05:30
ashilkn
9722cd5d67 [mob][photos] Create a bigger view that shows all applied and recommended filters (bottom sheet) and make changes related to it 2024-10-22 22:52:43 +05:30
ashilkn
8e7a560ad4 [mob][photos] Pass FileTypeFilter instead of TopLevelGenericFilter for file type search results 2024-10-22 21:28:50 +05:30
Manav Rathi
1979da383f focus wip 2024-10-22 21:17:03 +05:30
Manav Rathi
997cf72eae Move 2024-10-22 20:53:43 +05:30
Manav Rathi
e3ebc1b11a Move 2024-10-22 20:36:36 +05:30
Manav Rathi
4a7d849d94 T 2024-10-22 20:28:06 +05:30
Manav Rathi
7c168fd9db Prune 2024-10-22 20:12:20 +05:30
Manav Rathi
76ba2fde01 Unlink archive / hidden 2024-10-22 20:05:10 +05:30
Manav Rathi
ff06c4d1cf Prune 2024-10-22 20:00:22 +05:30
Manav Rathi
8f481e5471 dedup 2024-10-22 19:48:53 +05:30
Manav Rathi
fa2689d14b Split 2024-10-22 19:22:52 +05:30
Manav Rathi
104029e720 Move 2024-10-22 19:10:57 +05:30
Manav Rathi
60261b9d06 Log the entire state 2024-10-22 18:44:42 +05:30
ashilkn
f62c4e3900 [mob][photos] Add UI change for face filter chip when filter is applied 2024-10-22 17:55:49 +05:30
ashilkn
f774a9a3c3 [mob][photos] Bug fix 2024-10-22 17:40:37 +05:30
ashilkn
1e868ac624 [mob][photos] Add 'isApplied' state to filters, change UI for applied filters 2024-10-22 17:17:00 +05:30
ashilkn
2d6bd7f5a5 [mob][photos] Only show most relevant filters in app bar as recommendation and capped to max 16 2024-10-22 15:20:48 +05:30
Neeraj Gupta
44756e7268 [mob] Fix faceSync issue due to parsing failure (#3799)
## Description

## Tests
2024-10-22 14:28:58 +05:30
Neeraj Gupta
953518fa73 [mob] Reduce noise from sentry 2024-10-22 14:28:28 +05:30
Manav Rathi
caf47ad14b [web] Use reducer for gallery - Part 5/x (#3801) 2024-10-22 14:11:19 +05:30
Manav Rathi
15ebb65f1c Agenda 2024-10-22 14:04:12 +05:30
Neeraj Gupta
672e21d5dc [mob] Safely parse faceBoxJson 2024-10-22 13:50:11 +05:30
Manav Rathi
873ac6b6f7 Forward people state 2024-10-22 13:48:01 +05:30
Neeraj Gupta
a29af35881 [mob] generated strings 2024-10-22 13:46:45 +05:30
Neeraj Gupta
375ab4e4b0 [mob] Refactor 2024-10-22 13:46:36 +05:30
ashilkn
1701311be3 [mob][photos] Minor fix 2024-10-22 12:47:10 +05:30
ashilkn
da21dcbd9e [mob][photos] Show loading indicator till the image of face in face filter is ready 2024-10-22 12:35:58 +05:30
Manav Rathi
b4b864a869 D3 2024-10-22 12:26:52 +05:30
Manav Rathi
2852d3867e D2 2024-10-22 12:19:49 +05:30
Manav Rathi
1a0fd43803 D1 2024-10-22 12:11:55 +05:30
Manav Rathi
5615cb42ad Hidden 2 2024-10-22 12:05:17 +05:30
Manav Rathi
1ce72fd97e Hidden 2024-10-22 11:50:15 +05:30
Manav Rathi
db3c642bc9 Update 2024-10-22 11:41:27 +05:30
Manav Rathi
f2effa245f Move 1 2024-10-22 11:28:52 +05:30
Neeraj Gupta
b08a16eafb [server] Add API to terminate userSession (#3797)
## Description

## Tests
2024-10-22 10:19:07 +05:30
Neeraj Gupta
4dc2d277d2 [server] Add API to terminate userSession 2024-10-22 10:16:52 +05:30
Ashil
92478ecb9c [mob][photos] Fix buggy create album (#3791) 2024-10-21 21:34:55 +05:30
Ashil
745513f379 [mob][photos] Fix blank screen coming up when an error is thrown when freeing up space (#3792) 2024-10-21 21:34:35 +05:30
ashilkn
a5016d3582 [mob][photos] Remove build-failing translations 2024-10-21 21:07:49 +05:30
ashilkn
7f67c88a8e [mob][photos] Fix blank screen coming up when an error is thrown when freeing up space 2024-10-21 21:04:42 +05:30
ashilkn
1a92a9e967 [mob][photos] Fix buggy create album 2024-10-21 20:28:27 +05:30
Ashil
1c02d6d8ec [mob][photos] Fix blank screen issue when closing modal (#3789) 2024-10-21 20:07:55 +05:30
Neeraj Gupta
0bfee489a8 [mob][perf] Avoid XMP extraction on main thread (#3787) 2024-10-21 20:07:14 +05:30
Manav Rathi
bbf119bca8 [web] Use reducer for gallery - Part 4/x (#3790) 2024-10-21 19:18:29 +05:30
Manav Rathi
bd90f21618 Fix 2024-10-21 19:12:31 +05:30
ashilkn
4edbc69bf2 [mob][photos] Bump up to v0.9.52 2024-10-21 19:00:16 +05:30
Manav Rathi
e2bffffec6 Intermediate 2024-10-21 18:56:56 +05:30
ashilkn
9713e96896 [mob][photos] Stop popping root navigator to avoid black screen from appearing 2024-10-21 18:56:13 +05:30
Manav Rathi
84ab342004 Move 2024-10-21 18:02:02 +05:30
Manav Rathi
82e72b8d8e Sketch 2024-10-21 18:02:02 +05:30
Manav Rathi
489e80df4b Sketch 2024-10-21 18:02:02 +05:30
Manav Rathi
4da2f32e71 Move 2024-10-21 18:02:02 +05:30
Manav Rathi
038c91e652 Move 2024-10-21 18:02:02 +05:30
ashilkn
04b4b6cbd1 [mob][photos] Remove method that would never be used 2024-10-21 17:39:32 +05:30
Manav Rathi
245bb3c1b2 [server] [docs] Update references to outdated postgres (#3788) 2024-10-21 17:36:43 +05:30
Manav Rathi
b513ba2da5 [server] [docs] Update references to outdated postgres 2024-10-21 17:34:20 +05:30
Neeraj Gupta
88452b991c [auth] fix formatting in custom_icons (#3773)
## Description

The PR #3482 broke the [lint for
auth](https://github.com/ente-io/ente/actions/runs/11096891779/job/31533991573?pr=3482).
This PR fixes that and also formats the document.

## Tests
2024-10-21 17:18:15 +05:30
Neeraj Gupta
7b8db79e61 [auth] New translations (#3782)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-10-21 17:17:55 +05:30
Neeraj Gupta
510bea6dcf [mobile] New translations (#3781)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-10-21 17:17:37 +05:30
Neeraj Gupta
6a6f6ffbb9 Add support for the password flag to the decrypt command (#3779)
## Description

This PR adds a new flag `--password` (with `-p` for short format) to the
`auth decrypt` command.
This will allow to run the decryption in just one command, without the
need for interactive user input.

## Tests

Run the command with a `--password` or `-p` flag and check the encrypted
file is correctly decrypted.
2024-10-21 17:16:54 +05:30
Neeraj Gupta
877820e114 [mob] Remove unused method 2024-10-21 17:13:32 +05:30
Neeraj Gupta
da7a0a60bf [mob][perf] Avoid XMP extraction on main thread 2024-10-21 17:10:32 +05:30
Neeraj Gupta
c20b3cf585 [mob] Add method to getXMP data via computer 2024-10-21 17:05:27 +05:30
ashilkn
f03cb6e9f1 [mob][photos] Fix black screen issue when deleting a file after opening it 2024-10-21 16:56:48 +05:30
ashilkn
fa076305df [mob][photos] Add animation to changes in recommended filter in appbar 2024-10-21 15:44:53 +05:30
Manav Rathi
823553e93b [web] Start moving gallery state into a reducer - Part 3/x (#3786)
Cleanup pending from part 1 and 2
2024-10-21 15:36:10 +05:30
Manav Rathi
018d915269 Use 2024-10-21 15:27:29 +05:30
Manav Rathi
1bd15a8365 Make optional 2024-10-21 15:19:06 +05:30
Neeraj Gupta
df863d1602 [mob] Log when clip embeddings are read from DB 2024-10-21 15:10:34 +05:30
Manav Rathi
ecb3b75a21 Inline 2024-10-21 15:07:22 +05:30
Manav Rathi
b06c80e813 Tweak 2024-10-21 15:04:49 +05:30
Manav Rathi
059c59ed28 Tweak 2024-10-21 14:42:20 +05:30
Manav Rathi
572b1c4f63 Improve 2024-10-21 14:25:56 +05:30
Manav Rathi
19a685917a Improve 2024-10-21 14:24:32 +05:30
Manav Rathi
2d0e2000c2 Improve 2024-10-21 14:14:17 +05:30
Manav Rathi
456f9f6abd Improve 2024-10-21 13:57:45 +05:30
Manav Rathi
28778d687e [docs] Add links to more external contributed tutorials (#3784) 2024-10-21 11:49:49 +05:30
Manav Rathi
f6404e8c46 [docs] Add links to more external contributed tutorials 2024-10-21 11:47:05 +05:30
Manav Rathi
94d9aeb67a [web] New translations (#3780)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-21 11:00:21 +05:30
ashilkn
8a130b52c2 [mob][photos] Improve UI of appbar when there are added filters 2024-10-21 08:34:57 +05:30
Crowdin Bot
397215c30b New Crowdin translations by GitHub Action 2024-10-21 01:17:18 +00:00
Crowdin Bot
8e809d4d46 New Crowdin translations by GitHub Action 2024-10-21 01:05:09 +00:00
Crowdin Bot
49ce6ca47f New Crowdin translations by GitHub Action 2024-10-21 00:35:00 +00:00
Alba Rincón
e791b40309 Add support for the password flag to the decrypt command 2024-10-20 20:54:40 +02:00
Prateek Sunal
da5ae6a38e fix(auth): add comma and fix formatting 2024-10-20 00:24:03 +05:30
Prateek Sunal
4000adaee4 Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-20 00:11:25 +05:30
ashilkn
f63e8b51d9 [mob][photos] Use service locators where ever necessary 2024-10-19 22:44:08 +05:30
ashilkn
9a07038bdf [mob][photos] Resolve merge conflicts and merge main 2024-10-19 22:40:17 +05:30
ashilkn
3716eb3d30 [mob][photos] Make MagicResultScreen hierarchical searchable 2024-10-19 22:22:06 +05:30
ashilkn
59333b700c [mob][photos] Make UI of Appbar and filter chips better 2024-10-19 22:01:07 +05:30
ashilkn
5111b98839 [mob][photos] Pass matchedUploadedIDs to MagicFilter right when recommendations are curated for MagicFilter to work when applied 2024-10-19 20:24:08 +05:30
ashilkn
f66e49313d [mob][photos] Show magic filter recommendations for a gallery using magic cache used for the discovery section 2024-10-19 19:26:43 +05:30
Manav Rathi
8a22b0ece3 [web] Start moving gallery state into a reducer - Part 2/x (#3768) 2024-10-19 18:02:00 +05:30
Manav Rathi
dc6ebf6033 Fix 2024-10-19 17:54:48 +05:30
Manav Rathi
8e14157c6a Tweak 2024-10-19 17:46:52 +05:30
Manav Rathi
e9e785e926 Use 2024-10-19 17:40:39 +05:30
Manav Rathi
1b637a7fe6 ui collections 2024-10-19 17:18:47 +05:30
Ashil
7b984b4af2 Add digital asset links for ente photos android app to enable public link handling (#3759) 2024-10-19 17:10:39 +05:30
Manav Rathi
1479638f08 Move 2024-10-19 17:00:59 +05:30
Manav Rathi
8432d05051 Derive 2024-10-19 16:49:23 +05:30
Manav Rathi
f9a29a9e17 Derive 2024-10-19 16:33:35 +05:30
Manav Rathi
407eaeb53a Tinker 2024-10-19 16:16:39 +05:30
Neeraj Gupta
07d1454741 [mob] Bump version v0.9.51 2024-10-19 15:47:45 +05:30
Neeraj Gupta
66620f5f61 [mob] Service locator for faceRecognition service 2024-10-19 15:47:45 +05:30
Neeraj Gupta
f149634311 [mob] Wait till indexing for downloading models 2024-10-19 15:47:45 +05:30
Neeraj Gupta
774a73bbf3 [mob] Minor refactor 2024-10-19 15:47:45 +05:30
Neeraj Gupta
38208059b6 [mob] Lint fixes 2024-10-19 15:47:45 +05:30
Neeraj Gupta
bba975e6b6 [mob] Minor refactor 2024-10-19 15:47:45 +05:30
Neeraj Gupta
e95aae589c [mob] Rename 2024-10-19 15:47:45 +05:30
Neeraj Gupta
35941b7f72 [mob] Service locator for mlController 2024-10-19 15:47:45 +05:30
Neeraj Gupta
674b5a9899 [mob] Remove redundant eventFire attempt 2024-10-19 15:47:45 +05:30
Neeraj Gupta
82af918c6c [Fix] Enable interfaction handling for MLController in iOS 2024-10-19 15:47:45 +05:30
Manav Rathi
1ba3d97045 Move to derived state 2024-10-19 15:40:51 +05:30
Manav Rathi
84f263adac fin 2024-10-19 15:17:16 +05:30
Manav Rathi
235067ecee wip checkpoint 2024-10-19 15:01:55 +05:30
Manav Rathi
df7ed0c405 wip checkpoint 2024-10-19 14:52:26 +05:30
Manav Rathi
5ed210c7ec wip checkpoint 2024-10-19 14:42:42 +05:30
Manav Rathi
0971362e06 dev scaffold 2024-10-19 14:22:03 +05:30
Manav Rathi
cae16c1580 Move 2024-10-19 14:07:55 +05:30
Manav Rathi
18ebc485df Move 2024-10-19 13:34:09 +05:30
Manav Rathi
a6611e9631 wip: checkpoint 2024-10-19 13:26:26 +05:30
Manav Rathi
3c82d966b2 [web] Start moving gallery state into a reducer - Part 1/x (#3765) 2024-10-19 12:46:41 +05:30
Manav Rathi
78cfba6822 Try to fix lint on CI
Works locally, but fails on GA

346:5  error  Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-unnecessary-condition')
2024-10-19 12:43:21 +05:30
Manav Rathi
b4533a5a61 Inline 2024-10-19 12:28:20 +05:30
Manav Rathi
8cbbdde6c3 Remove extraneous exports 2024-10-19 12:26:30 +05:30
Manav Rathi
1d255f9951 Move to reducer 2024-10-19 12:21:57 +05:30
Manav Rathi
f2659cbb35 Retain older behaviour 2024-10-19 11:49:14 +05:30
Manav Rathi
b974be5c61 Lint 2024-10-19 11:36:10 +05:30
Manav Rathi
9db7a780e0 fin move of derived state to reducer file 2024-10-19 11:29:51 +05:30
Neeraj Gupta
49c8e545b3 [server] Remove freshToken req for account recovery 2024-10-19 11:16:57 +05:30
Manav Rathi
2d19991aaf wip checkpoint 2024-10-19 11:14:12 +05:30
Manav Rathi
f718c20362 wip: checkpoint 2024-10-19 11:03:44 +05:30
Neeraj Gupta
3e679ec718 [mob] Bump version 2024-10-19 10:50:25 +05:30
Neeraj Gupta
8a75e8487a [mob] App start perf improvement 3/x (#3753)
## Description

## Tests
2024-10-19 10:48:48 +05:30
Neeraj Gupta
0dc44b9337 [mob] Service locator for billingService 2024-10-19 10:43:37 +05:30
Manav Rathi
9f9c060694 Unasync 2024-10-19 10:30:00 +05:30
Manav Rathi
4275974eec +1 2024-10-19 10:26:28 +05:30
Laurens Priem
7997f4673d FAQ on Machine Learning in help docs (#3761)
## Description

FAQ section in help.ente.io on Machine Learning features.
2024-10-19 10:18:34 +05:30
laurenspriem
f7d683b839 [docs] Add note 2024-10-19 10:17:17 +05:30
Manav Rathi
9d483f14a4 For removing async 2024-10-19 10:15:17 +05:30
laurenspriem
89408621cb [docs] format 2024-10-19 10:13:59 +05:30
laurenspriem
08d5913c00 [docs] Use backticks 2024-10-19 10:12:17 +05:30
Manav Rathi
240c3191b5 Apply collection sort only when showing normal collections 2024-10-19 09:58:56 +05:30
Manav Rathi
ea9f7dc54c Rearrange 2024-10-19 09:58:34 +05:30
Laurens Priem
51bc6bbc83 Yolo splits (#3756)
## Description

Renamed a initializer inside YOLOv5Face model as it was causing issues
on iOS. Using this updated version on all platforms out of precaution
and consistency.

## Tests

Tested on Neeraj's phone that the issue is no longer reproducible.
2024-10-19 09:54:13 +05:30
Manav Rathi
ae824cd822 dispatch 2024-10-19 09:46:37 +05:30
Manav Rathi
36f41f5267 Reducer 1 2024-10-19 09:39:14 +05:30
Neeraj Gupta
93f3f3d550 [mob] Lint fix 2024-10-18 22:58:03 +05:30
laurenspriem
815135e63b [docs] Link to FAQ 2024-10-18 22:50:52 +05:30
Neeraj Gupta
be6a002374 [mob] ServiceLocator for MagicCacheService 2024-10-18 22:50:50 +05:30
laurenspriem
d87bf13b45 [docs] Add machine learning FAQ 2024-10-18 22:47:46 +05:30
laurenspriem
4a2ee6f5de [docs] Link to ducky origin post 2024-10-18 21:50:47 +05:30
Neeraj Gupta
53aa8c72f8 [mob] ServiceLocator for TrashService 2024-10-18 21:42:05 +05:30
ashilkn
641aaf9d56 [mob][photos] Resolve merge conflicts and merge main 2024-10-18 20:27:42 +05:30
ashilkn
02554a4a06 Add digital asset links for ente photos android app to enable public link handling 2024-10-18 20:22:15 +05:30
ashilkn
0fc63396b7 [mob][photos] Chore 2024-10-18 20:03:32 +05:30
ashilkn
0c185d3446 [mob][photos] Resolve merge conflicts and merge main 2024-10-18 19:04:21 +05:30
ashilkn
063d87e44a [mob][photos] Use HierarchicalSearchGallery in PeoplePage when searching so that the gallery updates when adding/removing filters 2024-10-18 18:57:13 +05:30
laurenspriem
bd7747e566 [desktop] Change to altered yolo model 2024-10-18 17:22:30 +05:30
laurenspriem
f686292a72 [mob][photos] Change to altered yolo model 2024-10-18 17:19:58 +05:30
laurenspriem
94727252ae Merge branch 'main' into yolo_splits 2024-10-18 17:18:23 +05:30
Laurens Priem
024aa0a41d Ml fixes (#3752)
## Description

Various small fixes and improvements

## Tests

Tested in debug mode on my Pixel 8.
2024-10-18 17:17:36 +05:30
laurenspriem
ffdb3c9629 [infra] Solve yolo splits issue in model creation 2024-10-18 17:15:13 +05:30
Neeraj Gupta
af94e8163a [mob] ServiceLocator for UserRemoteFlagService 2024-10-18 16:55:02 +05:30
Manav Rathi
442c20b175 [desktop] Make all people clickable in file info (#3755) 2024-10-18 16:34:48 +05:30
Manav Rathi
9a601b2080 LF 2024-10-18 16:31:33 +05:30
Laurens Priem
5b0e67b9b6 Document issue with VSCode and notebooks. (#3754)
## Description

Document issue with VSCode and notebooks.
2024-10-18 16:30:06 +05:30
Neeraj Gupta
722cdb2f42 [mob] Fix typo 2024-10-18 16:13:03 +05:30
Manav Rathi
804dc98f68 Adapt 2024-10-18 16:08:40 +05:30
laurenspriem
fd827351ad [infra] Rewrite line 2024-10-18 15:59:22 +05:30
laurenspriem
09207af9bc [infra] Document issue VSCode and notebooks 2024-10-18 15:57:06 +05:30
Manav Rathi
01277d6f5a Make people a normal info item 2024-10-18 15:56:32 +05:30
Manav Rathi
e2b43fa677 Use stroke color 2024-10-18 15:52:27 +05:30
Manav Rathi
5c6f7cd018 Improve alignment, don't misuse button 2024-10-18 15:47:27 +05:30
Neeraj Gupta
6df4825f84 [mob] Use service locator for locationService 2024-10-18 15:40:41 +05:30
Neeraj Gupta
3cd384a7ba [mob] Reload location discovery section post cities load 2024-10-18 15:34:04 +05:30
Manav Rathi
d17932dde8 Tweak alignment 2024-10-18 15:23:27 +05:30
Manav Rathi
917fd1435c Tweak 2024-10-18 15:18:26 +05:30
laurenspriem
8f0dc8b8dc [mob][photos] Move name banner to top 2024-10-18 14:50:02 +05:30
Neeraj Gupta
04de72dafc [mob] Remove duplicate log 2024-10-18 14:45:32 +05:30
Manav Rathi
1dd969a7a2 Redo 2024-10-18 14:42:05 +05:30
Neeraj Gupta
5d09123cbc [mob] Add delay before loading cities 2024-10-18 14:39:45 +05:30
Manav Rathi
433000918f Tweak 2024-10-18 14:28:46 +05:30
Manav Rathi
08483f5a3f Tweak 2024-10-18 14:24:23 +05:30
Manav Rathi
9a8d9f03a1 Use 2024-10-18 14:18:15 +05:30
Manav Rathi
67d05f3c97 Move 2024-10-18 14:14:39 +05:30
Neeraj Gupta
f4c14d5984 [mob] Schedule sync after runApp (#3751)
## Description
Although we don't await on the result, running these method can affect
app start up time because the OS may take some CPU away till it execute
the next step.

## Tests
2024-10-18 14:08:53 +05:30
Manav Rathi
b7dda8c3b6 Tweak 2024-10-18 14:07:04 +05:30
Neeraj Gupta
6a2166809f [mob] Schedule sync after runApp 2024-10-18 14:04:17 +05:30
Manav Rathi
e3da55b611 Inline 2024-10-18 14:03:08 +05:30
Manav Rathi
56f1d2d9ee suffix 2024-10-18 14:02:16 +05:30
Manav Rathi
8db6f860f5 Inline 2024-10-18 14:01:23 +05:30
Manav Rathi
fe09b2e71e Tweak size 2024-10-18 13:58:33 +05:30
Manav Rathi
ddee942362 [desktop] People - Support Ignore (#3749) 2024-10-18 13:44:33 +05:30
Manav Rathi
7f14ec6b34 Don't overload the word snapshot 2024-10-18 13:26:26 +05:30
Manav Rathi
476b1f9828 Use 2024-10-18 13:10:36 +05:30
Manav Rathi
18e0e91bbd Recon checkpoint 2024-10-18 13:06:43 +05:30
Manav Rathi
e28eb325b3 wip checkpoint prep for making all faces clickable 2024-10-18 12:43:49 +05:30
Manav Rathi
82fc08aac4 Rename 2024-10-18 11:18:21 +05:30
Manav Rathi
714585f574 Move 2024-10-18 11:10:38 +05:30
Manav Rathi
fe25c498f0 Move 2024-10-18 11:09:22 +05:30
Manav Rathi
faa2e1edfb Inline 2024-10-18 11:04:36 +05:30
Manav Rathi
2f7ea0f232 Remote clusters are already removed from local list during reconcileClusters 2024-10-18 10:47:00 +05:30
Manav Rathi
863f80e4f3 Clarity 2024-10-18 10:42:00 +05:30
Manav Rathi
7cf5812536 Tweak 2024-10-18 10:36:43 +05:30
Manav Rathi
ad683e1ce4 Ignore 1 2024-10-18 10:20:07 +05:30
ashilkn
c8990d8f40 [mob][photos] Make filters useable (make them appear on appbar) in named people page 2024-10-18 09:50:10 +05:30
ashilkn
fd9269ccdf [mob][photos] Make sure AppliedFilters or RecommendedFilters widget is not used when a gallery is not hierarchical searchable 2024-10-18 09:41:13 +05:30
ashilkn
c7a692cb4d [mob][photos] Fix face thumbnail not appearing when filter is applied 2024-10-18 07:25:24 +05:30
ashilkn
288e987246 [mob][photos] Add more logging in filtering files 2024-10-18 07:13:48 +05:30
laurenspriem
cc1866893e [mob][photos] Extract to string 2024-10-17 22:07:21 +05:30
laurenspriem
53cb48b87c [mob][photos] Make merge clearer 2024-10-17 22:02:40 +05:30
ashilkn
e616071395 [mob][photos] Optimize getting uploaded file IDs associated with personID and clusterID when applying face filters 2024-10-17 21:20:40 +05:30
laurenspriem
fefd785e50 [mob][photos] Extract string 2024-10-17 20:58:27 +05:30
laurenspriem
773188db90 [mob][photos] Extract string 2024-10-17 20:56:43 +05:30
ashilkn
2f54acab58 [mob][photos] Make face filtering work (yet to be optimized for performance) 2024-10-17 19:14:24 +05:30
Manav Rathi
191a1ed94c [desktop] People suggestions - Implement save functionality (#3745) 2024-10-17 17:55:21 +05:30
Manav Rathi
96551812e0 dedup 2024-10-17 17:54:20 +05:30
ashilkn
1136d47c09 [mob][photos] Show face thumbnail and name of face if available in FaceFilterChip 2024-10-17 17:46:41 +05:30
laurenspriem
a3140d9d76 Merge branch 'main' into ml_fixes 2024-10-17 17:29:54 +05:30
Neeraj Gupta
7b012d3cca [mob] App startup improvements 1/x (#3741)
## Description

## Tests
2024-10-17 17:27:56 +05:30
Manav Rathi
e70738b1e1 Fix order again 2024-10-17 17:25:45 +05:30
Neeraj Gupta
a398f7e19e [mob] Switch to better pkg for user-agent 2024-10-17 17:15:03 +05:30
laurenspriem
89d6b0d92f [mob][photos] Logs 2024-10-17 17:11:16 +05:30
laurenspriem
2b338a3c63 [mob][photos] Check and remove old models 2024-10-17 17:10:32 +05:30
Aman Raj Singh Mourya
191a03c6d0 [mob][photos] change accepted links from albums.ente.io to albums.ente.sh 2024-10-17 17:07:37 +05:30
Manav Rathi
a85445b375 Show recent rejections 2024-10-17 17:02:46 +05:30
Manav Rathi
7f10af4d58 Fix order 2024-10-17 16:28:41 +05:30
Neeraj Gupta
b3243be90a [mob] Add utility to quickly measure time taken from previous step 2024-10-17 16:26:32 +05:30
Neeraj Gupta
d66ab0b24e [mob] Generated strings 2024-10-17 15:56:26 +05:30
Neeraj Gupta
a7daf36a57 [mob] Lint fix 2024-10-17 15:56:20 +05:30
laurenspriem
2b8c93ec1b Merge branch 'main' into ml_fixes 2024-10-17 15:45:17 +05:30
Neeraj Gupta
787f2908da [mob] ServiceLocator for EntityService 2024-10-17 15:44:34 +05:30
laurenspriem
edae970e8c [mob][photos] Move up remove option for cluster 2024-10-17 15:34:36 +05:30
Neeraj Gupta
08b07cdcf1 Merge remote-tracking branch 'origin/main' into clean_up 2024-10-17 15:31:52 +05:30
Neeraj Gupta
5cff4357ee [mob] ServiceLocator for updateService 2024-10-17 15:31:28 +05:30
laurenspriem
cc1332856d [mob][photos] Surface hide within person cluster 2024-10-17 15:30:12 +05:30
Neeraj Gupta
230f0b63d6 [mob] Fix typo 2024-10-17 15:11:50 +05:30
Manav Rathi
6514cbfe60 Remove circular dependency between ml/index and ml/people 2024-10-17 15:01:59 +05:30
Neeraj Gupta
345a25e33a [mobile] New translations (#3742)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-10-17 14:58:51 +05:30
Crowdin Bot
39c98b1e6f New Crowdin translations by GitHub Action 2024-10-17 09:17:27 +00:00
Neeraj Gupta
b9e5b10ed6 [mob] Use service locator for storage bonus 2024-10-17 14:33:00 +05:30
Manav Rathi
33233661ad Resets 2024-10-17 14:27:52 +05:30
Neeraj Gupta
46e3faeb46 [mob] refactor 2024-10-17 14:09:18 +05:30
Manav Rathi
c3f980de5b Log counts 2024-10-17 13:59:07 +05:30
Manav Rathi
ced3d1284e Move 2024-10-17 13:55:07 +05:30
Manav Rathi
1d04eb30a0 Checkpoint 2024-10-17 13:36:47 +05:30
Neeraj Gupta
54461453eb [mob] Remove unused method 2024-10-17 13:33:08 +05:30
Manav Rathi
dca7e90994 Remote 2024-10-17 13:31:15 +05:30
Manav Rathi
f61dabc0ae wip: checkpoint 2024-10-17 13:11:16 +05:30
Manav Rathi
b33e155b10 Match remote nomenclature 2024-10-17 12:27:08 +05:30
Manav Rathi
93b1db4b0c Scaffold 2024-10-17 12:16:27 +05:30
Brian Choromanski
6f5c1b8e3f [auth] Bugfix/auth icons with period (#3559)
## Description

Previously it would check if the substring that precedes the first `.`
or `(` of the lowercase spaceless provider title was a valid icon.

Now: 
1. Checks if lowercase spaceless provider title is valid icon
2. If the title contains a `(` it checks if the preceding part of the
title is a valid icon
3. If the title contains a `.` it checks if the preceding part of the
title is a valid icon

| Provider Title | Previous Check | Now Checks |
| -------- | ------- | ----------|
| Login.gov | `login` | `login.gov`  |
| GOV.UK (Brian) | `gov` | `gov.uk(brian)` then `gov.uk`  |
| PayPal.com (Visa) | `paypal`  | `paypal.com(visa)`  then
`paypal.com`  then `paypal` |
| Amazon.com | `amazon`  | `amazon.com`  then `amazon` |

This PR resolves issue #3473
2024-10-17 12:13:27 +05:30
Manav Rathi
a3c2bf73ae Use 2024-10-17 11:55:18 +05:30
Neeraj Gupta
607dfadb00 [auth] fix(linux): generic icon on Wayland sessions (#3737)
This change sets the program name to the application ID, which helps
various
systems like GTK and desktop environments map this running application
to its
corresponding .desktop file. This ensures better integration by allowing
the
application to be recognized beyond its binary name.

Notably, this is necessary on Wayland to map the running application
window to
the desktop file, and therefore apply the correct icon.

This is the [same fix that is applied to new Flutter
projects](https://github.com/flutter/flutter/pull/154522).

|  | Before | After |
|--------|--------|--------|
| Window |
![before-window](https://github.com/user-attachments/assets/71f3c5bb-f5e0-4d33-a9f6-344480761f53)
|
![after-window](https://github.com/user-attachments/assets/b208bfd2-25c0-4583-9bce-46f5761f0886)
|
| Taskbar |
![before-taskbar](https://github.com/user-attachments/assets/77b05efb-890e-4ef8-bd3f-2236c0284d19)
|
![after-taskbar](https://github.com/user-attachments/assets/ff9aa8e1-5372-4888-8f54-7e96f85610c8)
|


## How to test

- Run `main` on a Wayland session
- Note the generic Wayland logo for the icon in the window decorations,
taskbar, task switcher (alt+tab), and overview effects
- Run this branch, note the correct ente auth icon is now used
2024-10-17 11:53:55 +05:30
Neeraj Gupta
f71280b74b [mob] Hide storage bonus banner after single tap (#3740)
## Description

## Tests
2024-10-17 11:40:37 +05:30
Neeraj Gupta
b4d076d44c [mob] Hide storage bonus banner after single tap 2024-10-17 11:38:48 +05:30
Manav Rathi
7477b640fe Persistence 2024-10-17 11:06:18 +05:30
laurenspriem
f2849b3daf [mob][photos] Show smaller people clusters for small libraries 2024-10-17 10:31:32 +05:30
ashilkn
0ef03389ab [mob][photos] Pass FaceFilter.name as null if face name is not available (when personId is null) instead of passing clusterID 2024-10-17 09:16:36 +05:30
ashilkn
c4d49f4176 [mob][photos] Use FaceFilterChip instead of GenericFilterChip where ever necessary 2024-10-17 09:05:30 +05:30
ashilkn
a7420be774 [mob][photos] Remove no more necessary abstract method 'resultType' in HierarchicalSearchFilter 2024-10-17 09:03:57 +05:30
ashilkn
6252753512 Merge branch 'main' into hierarchical_search 2024-10-17 08:47:00 +05:30
ashilkn
b9b9dac719 [mob][photos] Remove unused extension on ResultType 2024-10-17 08:45:36 +05:30
ashilkn
6facd67452 [mob][photos] Add more documentation about TopLevelGenericFilter 2024-10-17 08:28:50 +05:30
ashilkn
863ba6b955 [mob][photos] Clean up isSameFilter implementations 2024-10-17 08:25:12 +05:30
Kristen McWilliam
9637c16684 fix(linux): generic icon on Wayland sessions
This change sets the program name to the
application ID, which helps various systems like
GTK and desktop environments map this running
application to its corresponding .desktop file.
This ensures better integration by allowing the
application to be recognized beyond its binary
name.
2024-10-16 16:35:58 -04:00
Manav Rathi
929c971339 [web] New translations (#3736)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-16 21:54:37 +05:30
Crowdin Bot
bbcce445ea New Crowdin translations by GitHub Action 2024-10-16 16:24:07 +00:00
Manav Rathi
c3e1f80cc1 [web] Remove unused / unnecessary code (#3735)
& minor tweaks
2024-10-16 21:53:20 +05:30
Manav Rathi
9411df282e Prep for making this section always visible on desktop 2024-10-16 21:49:00 +05:30
Manav Rathi
73a038a3a4 Use 2024-10-16 21:41:42 +05:30
Manav Rathi
0dfcf448ac Remove unused method from context 2024-10-16 21:35:51 +05:30
Manav Rathi
833e985d62 Use standard message as elsewhere 2024-10-16 21:35:51 +05:30
Manav Rathi
791fe45767 Tweak icon placement 2024-10-16 21:35:51 +05:30
Manav Rathi
b3469d3ac8 Fix width when translations are small 2024-10-16 21:35:51 +05:30
Manav Rathi
f86dda2665 [desktop] People suggestions - Make it faster (#3733) 2024-10-16 21:14:19 +05:30
Manav Rathi
7b49e0b2a4 Cleanup after testing 2024-10-16 20:53:15 +05:30
Manav Rathi
15b151fcc0 Debugging shows that random sampling is taking good fraction of total prep time
prep is the one which takes most, almost 10x of loop/post
2024-10-16 20:49:35 +05:30
Manav Rathi
1e72a3ba34 Cleanup 2024-10-16 20:31:06 +05:30
Neeraj Gupta
f32d881485 [mob][photos] Add artificial delay to debug thrown exception (#3729) 2024-10-16 16:30:50 +05:30
Ashil
88210223be [mob][photos] Bump up to v0.9.49 (#3730) 2024-10-16 16:29:41 +05:30
ashilkn
2301244cd6 [mob][photos] Bump up to v0.9.49 2024-10-16 16:17:46 +05:30
ashilkn
c62a3258ad [mob][photos] Refactor 2024-10-16 16:00:23 +05:30
ashilkn
deef7ac290 [mob][photos] Wrap with unawaited 2024-10-16 15:55:15 +05:30
ashilkn
15074c1945 [mob][photos] Make return type more correct 2024-10-16 15:49:02 +05:30
laurenspriem
7df6872579 [mob][photos] Show suggestions more often 2024-10-16 15:47:42 +05:30
ashilkn
182972ce4a [mob][photos] Add delay before calling setHideAppContent in init of LockScreenSettings to check whether 'lateinit property activity has not been initialized' PlatformExecption goes away 2024-10-16 15:47:42 +05:30
laurenspriem
2f7515f9e3 [mob][photos] Clarify ml debug options 2024-10-16 14:58:54 +05:30
Neeraj Gupta
e52fad6b2c [mob] Upgrade onnxruntime (#3726)
## Description

## Tests
2024-10-16 13:18:35 +05:30
Neeraj Gupta
beca27a0f5 [mob] Upgrade onnxruntime 2024-10-16 13:18:01 +05:30
Neeraj Gupta
8ee62da280 [auth] updated icons for dark/light modes (#3535) 2024-10-16 12:51:53 +05:30
laurenspriem
e6af91e9e3 [mob][photos] Comment 2024-10-16 12:28:55 +05:30
laurenspriem
04688225fa [mob][photos] Option for disabling remote fetch 2024-10-16 12:28:45 +05:30
Manav Rathi
5ef1b62854 [desktop] People suggestions - WIP - Part x/x (#3725)
Use a median based suggestion mechanism.
2024-10-16 12:24:05 +05:30
mangesh
e99a0444f9 Adding steps to install dependencies (#3693)
## Description

This PR includes some minor updates with the installation of
dependencies. I tried setting up ente on a fresh server and I did not
notice that I did not have all the dependencies until I was getting
stopped by errors at every step.

## Tests

Any tests needed for docs ?
2024-10-16 12:20:37 +05:30
Manav Rathi
6578d4e570 Sort by median sim 2024-10-16 12:05:52 +05:30
Manav Rathi
56365ac520 Use median check 2024-10-16 11:57:59 +05:30
Manav Rathi
e697b863e7 Debugging timings 2024-10-16 10:57:12 +05:30
Manav Rathi
90494c6144 Filter empty suggestions 2024-10-16 10:53:11 +05:30
Ashil
7dbc1f9389 [mob][photos] Fix system back gesture closing the app when triggered after closing a modal (#3723)
Closes #3613 
Resolves issues in #3524 which are reproducible after a modal is closed
(like bottom sheets, dialogs etc).
2024-10-16 09:49:14 +05:30
ashilkn
56604f627e [mob][photos] Bump up to v0.9.48 2024-10-16 09:26:23 +05:30
ashilkn
0a8d403ea0 [mob][photos] Fix system back gesture closing the app when triggered after closing a modal 2024-10-16 09:09:07 +05:30
Manav Rathi
a60a6c84cf [web] Support Italian 🇮🇹 and Lithuanian 🇱🇹 translations (#3721) 2024-10-16 09:02:16 +05:30
Manav Rathi
12161eec26 Use endonyms consistently 2024-10-16 08:57:50 +05:30
Manav Rathi
73f823b21e [web] Added Italian 🇮🇹 and Lithuanian 🇱🇹 translations 2024-10-16 08:53:16 +05:30
Manav Rathi
eda51ecab5 [web] Suggestions from translators in Crowdin (#3720) 2024-10-16 08:42:35 +05:30
Manav Rathi
97fc3539b6 [web] Suggestions from translators in Crowdin 2024-10-16 08:38:40 +05:30
Manav Rathi
9f2c7811ec [web] New translations (#3719)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-16 08:37:05 +05:30
Crowdin Bot
cb38af127b New Crowdin translations by GitHub Action 2024-10-16 03:05:14 +00:00
Neeraj Gupta
33b7cafb9d [mob] Bump version v0.9.48 (#3716)
## Description

## Tests
2024-10-15 20:57:02 +05:30
Neeraj Gupta
e0988596e4 [mob] Bump version v0.9.48 2024-10-15 20:54:52 +05:30
laurenspriem
6d2c3fcd0f [mob][photos] Lock file 2024-10-15 18:04:38 +05:30
laurenspriem
1163174538 [mob][photos] Remove old dependency 2024-10-15 17:59:26 +05:30
Ashil
745ff262da [mob][photos] fix video editor back button (#3695)
## Description
Back doesn't work when in video editor.
## Tests
2024-10-15 17:55:59 +05:30
Manav Rathi
335e4777a3 [desktop] People suggestions - WIP - Part x/x (#3712) 2024-10-15 17:15:28 +05:30
Manav Rathi
a0b601c847 Enable for internal users 2024-10-15 17:08:20 +05:30
Manav Rathi
9c4d734b26 Fix 2024-10-15 16:57:14 +05:30
Manav Rathi
b2b649d203 Disambiguate implementations 2024-10-15 16:44:51 +05:30
Manav Rathi
358f741d7d Use via worker 2024-10-15 16:41:32 +05:30
Manav Rathi
e0b8999696 Reset scroll pos 2024-10-15 16:38:47 +05:30
Neeraj Gupta
fa8060ee6b [mob] Minor improvements for ml sync (#3711)
## Description

## Tests
2024-10-15 16:35:39 +05:30
Neeraj Gupta
2b147c1a87 [mob] Minor improvements for ml sync 2024-10-15 16:34:38 +05:30
Manav Rathi
2c91eb82bc Use a disambiguating background 2024-10-15 16:25:12 +05:30
Manav Rathi
a745b69ebe State updates 2024-10-15 15:50:52 +05:30
Neeraj Gupta
39f4f55bae [mob] Handle int value for face[blur] json (#3709)
## Description

## Tests
2024-10-15 15:44:54 +05:30
Neeraj Gupta
270aa4301e [mob] Fix query for getPersonToClusterIdToFaceIds 2024-10-15 15:41:24 +05:30
Manav Rathi
6b05782446 Show option only if there is something to revert 2024-10-15 15:37:01 +05:30
Manav Rathi
865b5f3c8f rework fin 2024-10-15 15:34:33 +05:30
Neeraj Gupta
81d9cc6e7f Merge remote-tracking branch 'origin/main' into face_parse 2024-10-15 15:19:03 +05:30
Neeraj Gupta
2e15cb35bc [mob] Handle invalid logger name 2024-10-15 15:18:26 +05:30
Manav Rathi
b21639059e Rework wip 2024-10-15 15:14:56 +05:30
Neeraj Gupta
5a691778f6 [mob] Fix init for discovery section (#3708)
## Description

## Tests
2024-10-15 15:13:51 +05:30
Neeraj Gupta
bee9694f34 [mob] Add mount check 2024-10-15 15:13:14 +05:30
Neeraj Gupta
9f1a3ad7d6 [mob] Handle int value for face[blur] json 2024-10-15 15:06:32 +05:30
Neeraj Gupta
5e401cc9a8 [mob] Add missing await 2024-10-15 14:59:50 +05:30
Neeraj Gupta
2e36ea788c [mob] Fix init for discovery section 2024-10-15 14:52:36 +05:30
Manav Rathi
520777083b Use 2024-10-15 14:48:16 +05:30
Manav Rathi
ebab2e0387 wip checkpoint 2024-10-15 14:12:12 +05:30
Manav Rathi
3298cb6c14 wip checkpoint 2024-10-15 14:01:15 +05:30
Manav Rathi
c629d66d67 List order is not reflective of primary 2024-10-15 13:53:54 +05:30
Manav Rathi
a14db23873 wip fin 2024-10-15 13:36:06 +05:30
Manav Rathi
f89c03318a wip checkpoint 2024-10-15 13:21:32 +05:30
Manav Rathi
3121462829 wip checkpoint 2024-10-15 13:11:25 +05:30
Manav Rathi
050347762a Alt 2024-10-15 12:37:23 +05:30
Manav Rathi
a27310b80c Toggle 2024-10-15 12:09:58 +05:30
Ashil
c3c8d157e3 [mob][photos] Fix build error due to 'other' missing in translation (#3706) 2024-10-15 12:03:36 +05:30
ashilkn
97fad5962e [mob][photos] Fix build error due to 'other' missing in translation 2024-10-15 12:01:44 +05:30
Manav Rathi
f9ad4c36a6 RestoreIcon 2024-10-15 11:51:18 +05:30
mangeshrex
084d70ccaa fix: reorganize the structure of commands 2024-10-15 11:50:31 +05:30
Manav Rathi
78a87ad6d4 Increase preview count 2024-10-15 11:33:14 +05:30
Manav Rathi
d8ed89d5fd Flip 2024-10-15 11:00:49 +05:30
Manav Rathi
8e35068271 Count 2024-10-15 11:00:20 +05:30
Manav Rathi
79740eeee7 Avatar fit 2024-10-15 10:39:45 +05:30
Manav Rathi
a6a647786f Subtitle 2024-10-15 10:32:48 +05:30
Neeraj Gupta
832841e424 [auth] fix: don't use GNOME header bar outside of GNOME (#3688)
Currently, Flutter defaults to always using GTK
window decorations regardless of the window
manager, when running Wayland. This makes the app
look out of place on KDE Plasma and other Qt-based desktop environments.

This change checks the XDG_CURRENT_DESKTOP
environment variable to determine the running
desktop environment, and if it is GNOME continues
to use the GTK header, otherwise it uses the Qt
header.

| Before | After |
|--------|--------|
|
![before](https://github.com/user-attachments/assets/db7161fa-3d87-4c62-bc38-e74763cb2304)
|
![after](https://github.com/user-attachments/assets/f6ece7d6-f2cc-4ee7-b3d2-3eda722aee67)
|
2024-10-15 10:19:43 +05:30
Brian Choromanski
d2110afe68 [auth] Alt names not being formatted when processing (#3516)
## Description

The alt names are not being lowercased or striped of whitespace.
2024-10-15 10:07:28 +05:30
LauShyO
78c51a7042 [auth]Added Logos & Added altName (#3482)
Added logos for:

Band
LINUX DO
Binance
jianguoyun
tianyiyun
aliyun
Lark
tencent cloud
qiniuyun
volcengine
BaiduCloud
NeteaseMail
BBS.NGA

Added altName for:

okx
Nintendo
2024-10-15 10:05:08 +05:30
Neeraj Gupta
6279b280a8 [mobile] New translations (#3690)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-10-15 10:04:26 +05:30
Neeraj Gupta
b56cd4490b [auth] New translations (#3691)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-10-15 10:04:17 +05:30
Manav Rathi
bf5f9b6af5 Avatars 1 2024-10-15 09:51:52 +05:30
Manav Rathi
74bbdd5e72 Random sampling 2024-10-15 09:47:47 +05:30
Manav Rathi
b11e0e42bf Pick until 3 2024-10-15 09:43:40 +05:30
Manav Rathi
192f2062b9 [web] EnteFile related refactoring (#3705)
Non functional changes only.

Also move the RecoveryKey component out of the photos app specific
namespace since it is used also in the account creation flow.
2024-10-15 09:31:24 +05:30
Manav Rathi
ef64bfb249 Fix 2024-10-15 09:19:55 +05:30
Manav Rathi
3935734942 Move 2024-10-15 09:18:09 +05:30
Manav Rathi
785f54e043 Move 2024-10-15 09:13:25 +05:30
Manav Rathi
5d9e37730f Move 2024-10-15 09:06:31 +05:30
Manav Rathi
1df253d41a Move 2024-10-15 09:02:35 +05:30
Manav Rathi
3a4e798e1e Move 2024-10-15 09:00:11 +05:30
Manav Rathi
97eaafc67c Doc 2024-10-15 08:53:07 +05:30
Manav Rathi
80f5cf0f66 Move 2024-10-15 08:40:46 +05:30
Manav Rathi
d2db4c9cfa Merge 2024-10-15 08:35:34 +05:30
Manav Rathi
7a95495390 Scope 2024-10-15 08:31:46 +05:30
Manav Rathi
4fa7a4e794 Move 2024-10-15 08:27:58 +05:30
Manav Rathi
de5772b045 Unused 2024-10-15 08:23:37 +05:30
Manav Rathi
877e36ab96 Unused 2024-10-15 08:22:03 +05:30
Manav Rathi
8c176cce22 Localize 2024-10-15 08:20:01 +05:30
Manav Rathi
be1a79b1a3 [web] Remove prefix where not required for disambiguation 2024-10-15 08:07:13 +05:30
Aman Raj Singh Mourya
73ee5a8131 [mob][photos] fix video editor back button 2024-10-14 19:02:15 +05:30
Manav Rathi
44ba81e781 [desktop] People suggestions - WIP - Part x/x (#3694) 2024-10-14 17:40:17 +05:30
Manav Rathi
bf096572a6 Include preview faces 2024-10-14 17:35:20 +05:30
Manav Rathi
5aeb3fa615 List 2024-10-14 17:05:13 +05:30
Manav Rathi
8c6363efce Toggle fin 2024-10-14 16:51:51 +05:30
mangeshrex
3639a01d2b docs: add steps to install dependencies 2024-10-14 16:40:50 +05:30
Manav Rathi
7701823abb Toggle 2024-10-14 16:01:28 +05:30
Manav Rathi
74d4046671 List 3 2024-10-14 15:47:28 +05:30
ashilkn
ea983dd76b [mob][photos] Remove toHierarchicalSearchFilter which is no longer used from HierarchicalSearchFilter 2024-10-14 15:45:05 +05:30
Manav Rathi
efb88f1c90 List 2 2024-10-14 15:27:18 +05:30
Manav Rathi
e0519d30e9 List1 2024-10-14 14:55:57 +05:30
Manav Rathi
f5229f1117 Workarounds take 2 2024-10-14 14:37:05 +05:30
Manav Rathi
4173a8a02f Add workarounds for lack of stable person identity 2024-10-14 13:55:39 +05:30
Manav Rathi
616e970dd0 Refactor 2024-10-14 13:29:53 +05:30
Manav Rathi
0053f4fcbd See if a reducer helps 2024-10-14 13:19:16 +05:30
Manav Rathi
8af518a9db Regenerate suggestions on each open even for the same person 2024-10-14 13:09:56 +05:30
Manav Rathi
61e870fe79 [docs] Desktop large uploads - Add a note about the underlying likely cause (#3692) 2024-10-14 12:36:51 +05:30
Manav Rathi
2fc6a24565 [docs] Desktop large uploads - Add a note about the underlying likely cause 2024-10-14 12:36:06 +05:30
Manav Rathi
14f618af71 Improvements to the Auth FAQs (#3682)
## Description

Fixes many inconsistencies and grammatical errors in the Auth FAQs.
2024-10-14 10:41:48 +05:30
Manav Rathi
70d74a47e0 [web] New translations (#3689)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-14 10:40:42 +05:30
Crowdin Bot
704db942da New Crowdin translations by GitHub Action 2024-10-14 01:17:22 +00:00
Crowdin Bot
c89efebf7a New Crowdin translations by GitHub Action 2024-10-14 01:05:03 +00:00
Crowdin Bot
028036128a New Crowdin translations by GitHub Action 2024-10-14 00:35:07 +00:00
Kristen McWilliam
2f9ff47720 fix: don't use GNOME header bar outside of GNOME
Currently, Flutter defaults to always using GTK
window decorations regardless of the window
manager, when running Wayland. This makes the app
look out of place on KDE Plasma and other Qt-based
desktop environments.

This change checks the XDG_CURRENT_DESKTOP
environment variable to determine the running
desktop environment, and if it is GNOME continues
to use the GTK header, otherwise it uses the Qt
header.
2024-10-13 18:19:09 -04:00
Jake Anto
7b1f42714c Format with Prettier 2024-10-12 19:30:04 +00:00
Jake Anto
fe46b68a4e Fix grammar and clarity 2024-10-12 19:23:40 +00:00
Jake Anto
af5afb124d Fix naming inconsistencies 2024-10-12 19:12:27 +00:00
Jake Anto
9dc989a613 Fix grammar and clarity 2024-10-12 19:08:28 +00:00
Jake Anto
e8cf688d95 Fix typo 2024-10-13 00:24:42 +05:30
Manav Rathi
14a350b261 [web] People suggestions - WIP - Part x/x (#3679) 2024-10-12 18:31:11 +05:30
Manav Rathi
15e0c96db5 [web][auth] Fix signups (#3677) 2024-10-12 17:54:14 +05:30
Manav Rathi
2d7fa257cd [web][auth] Fix signups 2024-10-12 17:51:29 +05:30
Manav Rathi
54b6e6636e Error indicator 2024-10-12 17:41:19 +05:30
Manav Rathi
2bec720074 Empty states 2024-10-12 17:16:13 +05:30
Manav Rathi
1e8ae47f2e Add caption 2024-10-12 16:59:18 +05:30
Manav Rathi
c0a1b2daef Center 2024-10-12 16:50:53 +05:30
Manav Rathi
67fda60ba5 Actions 2024-10-12 12:52:57 +05:30
Manav Rathi
51cf2aef4b Action buttons 2024-10-12 12:35:05 +05:30
Manav Rathi
572a36abcc Ignore singletons 2024-10-12 12:15:07 +05:30
Manav Rathi
552116f51c Match material (and macOS) convention whilst retaining document order 2024-10-12 12:11:14 +05:30
Manav Rathi
46ea59ed9e Rename 2024-10-12 12:06:19 +05:30
Manav Rathi
ed7047e440 Scaffold 2024-10-12 11:56:57 +05:30
Manav Rathi
4085742de9 Forward 2024-10-12 11:44:11 +05:30
Manav Rathi
1cb0799bd0 Outline 2024-10-12 11:20:15 +05:30
Manav Rathi
7506a35f1f Add convenience hooks 2024-10-12 10:14:50 +05:30
Manav Rathi
1ac9594fe3 [web] Rename the breakpoint hook (#3670)
Did this while sketching out a people suggestion approach, though it is
conceptually unrelated.
2024-10-12 08:48:47 +05:30
Manav Rathi
ab75a9e55f Fix typo 2024-10-12 08:45:08 +05:30
Manav Rathi
85cb80597f Sketch 2024-10-12 08:40:01 +05:30
Manav Rathi
dfa782068f Occam 2024-10-12 08:31:42 +05:30
Manav Rathi
605e9ae533 Scaffold 2024-10-12 08:16:28 +05:30
Prateek Sunal
b9a76c369e Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-11 22:49:33 +05:30
ashilkn
171e96976a [mob][photos] Attach a SearchResults's corresponding HierarchicalSearchFilter to it when ever a instance is created 2024-10-11 20:57:45 +05:30
Manav Rathi
9cc3ade58e [desktop] People - WIP - Part x/x (#3667)
- Move cluster merging from behind ff
- Other minor people related features
2024-10-11 19:56:37 +05:30
Manav Rathi
26e4b6a724 Lint fix 2024-10-11 19:52:41 +05:30
Manav Rathi
b2100c1e1f Show the error inline 2024-10-11 19:29:52 +05:30
Manav Rathi
71982d5557 Show the error inline 2024-10-11 19:27:49 +05:30
Manav Rathi
4bf2780807 Fix loading indicator 2024-10-11 19:19:20 +05:30
Manav Rathi
d1a202fd8b Prevent layout shift on mobile 2024-10-11 19:14:20 +05:30
Manav Rathi
04b61ddb21 Reintroduce row, but deviate from material to retain accessibility
row-reverse causes the tab order to deviate from the reading order
2024-10-11 18:54:14 +05:30
Manav Rathi
70cd901571 Visual 2024-10-11 18:51:32 +05:30
Manav Rathi
413d85bbf9 Differentiate 2024-10-11 18:43:56 +05:30
Manav Rathi
1332dffad3 Tweak 2024-10-11 18:32:39 +05:30
Manav Rathi
d3b45cab6d Dedup 2024-10-11 18:27:39 +05:30
Manav Rathi
6515e13a9a Alt 2024-10-11 18:24:41 +05:30
Manav Rathi
e9ed2fd332 Split 2024-10-11 18:21:28 +05:30
Manav Rathi
b5d2fbbd69 Unused 2024-10-11 18:02:52 +05:30
Manav Rathi
58ff5a6ede Switch to new code path 2024-10-11 18:00:49 +05:30
Manav Rathi
f69ada05de [web] Translations cleanup (#3666) 2024-10-11 16:42:40 +05:30
Manav Rathi
75b127f8c8 Rename 2024-10-11 16:39:31 +05:30
Manav Rathi
38a0d73926 Rename 2024-10-11 16:34:54 +05:30
Manav Rathi
a32ceed72a Rename and move 2024-10-11 16:34:10 +05:30
Manav Rathi
547d64f3b2 Rename 2024-10-11 16:31:25 +05:30
Manav Rathi
d2c8f0bff4 [web] New translations (#3665)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-11 16:29:34 +05:30
Crowdin Bot
f1e148e316 New Crowdin translations by GitHub Action 2024-10-11 10:57:28 +00:00
Manav Rathi
5cd8ae0677 [web] Misc code touchups (#3664) 2024-10-11 16:11:59 +05:30
Manav Rathi
2f1ecbc79d Lint 2024-10-11 16:07:59 +05:30
Manav Rathi
893b504e94 The error is now handled inline 2024-10-11 15:59:38 +05:30
Manav Rathi
bd97a49640 Use 2024-10-11 15:46:56 +05:30
Manav Rathi
4ecd89f326 Use 2024-10-11 15:41:08 +05:30
Manav Rathi
897c584438 Sort and use 2024-10-11 15:38:01 +05:30
Manav Rathi
293d0a642f Use 2024-10-11 15:32:42 +05:30
Manav Rathi
9d9baa5bc5 Use 2024-10-11 15:29:31 +05:30
Manav Rathi
4384a72f3a Use 2024-10-11 15:25:33 +05:30
Manav Rathi
d527a97cd5 Download 2024-10-11 15:10:31 +05:30
Manav Rathi
d665a6a23a Switch 2024-10-11 14:47:27 +05:30
Manav Rathi
c92bfc1f1c Use 2024-10-11 14:42:14 +05:30
Manav Rathi
4bef94aac0 Inline 2024-10-11 14:30:39 +05:30
Manav Rathi
add1c7a089 Same as the other TitledMiniDialogs 2024-10-11 14:11:00 +05:30
Manav Rathi
0466d7024a Fix same issue elsewhere 2024-10-11 14:06:27 +05:30
Manav Rathi
c7191ae7f0 row-reverse is (a) infrequently needed, and (b) causes a accessibility disconnect 2024-10-11 14:01:05 +05:30
Manav Rathi
e5c6999b94 Exit section 2024-10-11 13:54:42 +05:30
Manav Rathi
5442742cf3 Fix lints 2024-10-11 13:41:35 +05:30
Manav Rathi
4bfcd9d374 Trim 2024-10-11 13:31:56 +05:30
Manav Rathi
651575ec6e Update 2024-10-11 13:28:46 +05:30
Manav Rathi
06f19b26d2 Update 2024-10-11 12:32:46 +05:30
Manav Rathi
b92e9e366b Remove spurious warning 2024-10-11 12:01:51 +05:30
Manav Rathi
e1199222e1 Abstract 2024-10-11 11:58:21 +05:30
Manav Rathi
2465871c7c Extract 2024-10-11 11:41:43 +05:30
Manav Rathi
7788ba1fa4 Move 2024-10-11 11:36:16 +05:30
Manav Rathi
88801beaf1 Use 2024-10-11 11:31:58 +05:30
Manav Rathi
be60bec4ae Switch 2024-10-11 11:24:07 +05:30
Manav Rathi
6c8bec0bad prettier 2024-10-11 11:14:04 +05:30
Manav Rathi
f3eb0fc181 [desktop] Remove old ML models when downloading new ones (#3661) 2024-10-11 10:31:50 +05:30
Manav Rathi
3512615780 [desktop] Remove old ML models when downloading new ones 2024-10-11 10:25:52 +05:30
Laurens Priem
b9dd0bc3b7 ONNX changes (#3654)
## Description

- Quantized the CLIP text encoder
- Moved preprocessing and postprocessing of face detection inside the
model
- Optimised the ONNX models more wherever possible
- Created a place in infra for ML version control of sorts

## Tests

Have tested the changes on mobile, but not on desktop. Please carefully
review the changes on desktop, especially regarding the face detection
post-processing, more specifically the image (re-)size correction.
2024-10-11 10:02:11 +05:30
ashilkn
4450018491 [mob][photos] Create a different filter chip widget for faces and a generic one for everything else 2024-10-11 08:45:24 +05:30
ashilkn
b9a99d89af [mob][photos] Create a custom filter chip for hierarchical search 2024-10-11 07:52:06 +05:30
Neeraj Gupta
61236650dc [auth] Add custom icons for Simplicity, RealMe, and PBTech (#3549)
Added custom icons for:
- [Simplicity](https://simplicity.kiwi/), an investment/superannuation
provider
- [RealMe](https://www.realme.govt.nz/), a government authentication
service
- [PBTech](https://www.pbtech.co.nz/), a tech retailer

None of which currently have icons in the authenticator.
2024-10-11 02:26:41 +05:30
Neeraj Gupta
cbbaecb2a2 [mobile] New translations (#3598)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-10-11 02:21:59 +05:30
Neeraj Gupta
1400604687 [auth] New translations (#3599)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-10-11 02:21:26 +05:30
Neeraj Gupta
aed85f2327 [auth][win] remove win_http_client.dart (#3578)
## Description

This wasn't really fixing the SSL Certificate issue faced by multiple
Windows 10 & 11 user.

The new guide should be followed instead:
https://help.ente.io/auth/troubleshooting/windows-login

## Tests
2024-10-11 02:20:51 +05:30
Manav Rathi
41c8f9578f [web] Translation cleanup (#3660) 2024-10-10 21:02:58 +05:30
Manav Rathi
62ecfc34c2 Rename and move 2024-10-10 20:56:35 +05:30
Manav Rathi
1c1ad93875 Rename 2024-10-10 20:54:41 +05:30
Manav Rathi
c23fc79134 Trim 2024-10-10 20:53:03 +05:30
Manav Rathi
16f54342ae Rename 2024-10-10 20:49:38 +05:30
Manav Rathi
96e541acb4 Fix 2024-10-10 20:48:32 +05:30
Manav Rathi
fa75392a37 Rename 2024-10-10 20:43:45 +05:30
Manav Rathi
c48fbb328b Rename 2024-10-10 20:41:29 +05:30
Manav Rathi
29477ab4a0 Move 2024-10-10 20:40:27 +05:30
Manav Rathi
d1bcd12599 Rename 2024-10-10 20:38:21 +05:30
Manav Rathi
86add71393 Rename 2024-10-10 20:31:17 +05:30
Manav Rathi
a7c31b65a2 Rename 2024-10-10 20:26:03 +05:30
ashilkn
f5cadb3b7a [mob][photos] Curate face filters and show in recommendations 2024-10-10 19:50:38 +05:30
ashilkn
bc90b6d980 [mob][photos] FaceFilter should accept either personId or clusterId 2024-10-10 19:29:49 +05:30
Laurens Priem
8dfd7b5921 [mob][photos] Decode heic using flutter compress (#3658)
## Description

Change decode method for heic for ML to using flutter_image_compress.

## Tests

Tested in debug mode on my pixel 8.
2024-10-10 19:08:39 +05:30
laurenspriem
1cdc7aa594 [mob][photos] Decode heic using flutter compress 2024-10-10 18:45:05 +05:30
Manav Rathi
54662a34ea [web] Dialog enhancements - Part x/x (#3657) 2024-10-10 17:36:28 +05:30
ashilkn
66a13392a9 [mob][photos] Make implementation of abstract fn isSameFilter() more accurate when the fn is used to compare two same sub-HierarchicalSearchFilter types 2024-10-10 17:36:21 +05:30
Manav Rathi
710b7e93dc Ok is a better title, the go back is a bit confusing 2024-10-10 17:25:58 +05:30
Manav Rathi
78962b2611 Touchups 2024-10-10 17:21:51 +05:30
Manav Rathi
de74acedab Use inbuilt error handler 2024-10-10 17:11:25 +05:30
Manav Rathi
4d3b89048c Fix error about nesting p in div 2024-10-10 17:06:22 +05:30
Manav Rathi
5e639e9729 Provision an error handler 2024-10-10 17:03:29 +05:30
Manav Rathi
24dc72eee3 Loose ends 2024-10-10 16:48:10 +05:30
Manav Rathi
e822d327e4 All cases 2024-10-10 16:46:30 +05:30
Manav Rathi
ed17206f51 Fix warnings 2024-10-10 16:46:30 +05:30
Manav Rathi
151c50f7af Tune semantics 2024-10-10 16:46:30 +05:30
Manav Rathi
dde2b8894a Test 1 2024-10-10 16:04:59 +05:30
Manav Rathi
288d66dfa7 Finish re 2024-10-10 16:02:07 +05:30
Manav Rathi
f9209e212d wip checkpoint 2024-10-10 15:57:04 +05:30
Manav Rathi
d6a39ae452 wip checkpoint 2024-10-10 15:41:32 +05:30
Manav Rathi
6b64e20a7e Move 2024-10-10 15:22:21 +05:30
Manav Rathi
03e5e16bc3 Move 2024-10-10 15:00:28 +05:30
Manav Rathi
79eb912a42 Fin apps/accounts 2024-10-10 14:55:45 +05:30
Manav Rathi
68e7a38463 Another helper 2024-10-10 14:37:06 +05:30
Manav Rathi
88c10db52d Create helper hook 2024-10-10 14:18:34 +05:30
Manav Rathi
8b24225fbb wip checkpoint 2024-10-10 13:49:28 +05:30
Manav Rathi
473e22c0c1 wip checkpoint 2024-10-10 13:49:28 +05:30
Manav Rathi
0a6ffb226f wip: checkpoint 2024-10-10 13:49:28 +05:30
Manav Rathi
a0ecc943d4 Fix 2024-10-10 13:49:28 +05:30
Manav Rathi
86f0dbb620 Rename 2024-10-10 13:49:28 +05:30
Manav Rathi
d904b9318a Remove unnecessary setter deps
> React guarantees that setState function identity is stable and won't change on
> re-renders. Thus it is safe to omit it from the useEffect or useCallback
> dependency list.
>
> https://legacy.reactjs.org/docs/hooks-reference.html#usestate
2024-10-10 13:49:28 +05:30
Manav Rathi
0e46287eee Add icon to error 2024-10-10 13:49:28 +05:30
Manav Rathi
f5ebecfa69 Move icon to the right 2024-10-10 13:49:28 +05:30
Manav Rathi
4908648137 Similar to TitledMiniDialog 2024-10-10 13:49:28 +05:30
Manav Rathi
d2d5f630aa Use 2024-10-10 13:49:28 +05:30
Manav Rathi
8999c7045a Avoid a useEffect (eventually) 2024-10-10 13:49:28 +05:30
Manav Rathi
d5d015c13c Tweak 2024-10-10 13:49:28 +05:30
Manav Rathi
8479809109 Rename 2024-10-10 13:49:28 +05:30
Manav Rathi
c7dd5dcbca zi 2024-10-10 13:49:28 +05:30
Manav Rathi
126904c68f Move 2024-10-10 13:49:28 +05:30
Manav Rathi
145c7356a8 Rename 1 2024-10-10 13:49:28 +05:30
Manav Rathi
0dd5fd6d23 Use standard components 2024-10-10 13:49:28 +05:30
Manav Rathi
bc3488cb9c Dedup 2024-10-10 13:49:28 +05:30
Manav Rathi
2cede3a46f Reify 2024-10-10 13:49:28 +05:30
Manav Rathi
ceed538181 Inline 2024-10-10 13:49:28 +05:30
Manav Rathi
ec37cb3eff Prune 2024-10-10 13:49:28 +05:30
Manav Rathi
4b38164c58 Prune (secondary prop was set but was not being used) 2024-10-10 13:49:28 +05:30
Manav Rathi
66ac35cbcc Prune 2024-10-10 13:49:28 +05:30
Manav Rathi
9e10ec7ff6 Dup 2024-10-10 13:49:28 +05:30
Manav Rathi
2f4c4e0948 Remove unused 2024-10-10 13:49:28 +05:30
Manav Rathi
cc0902f021 [web] [auth] Fix crash due to incorrect context (#3653)
Introduced since the deployment this morning.
2024-10-10 13:22:09 +05:30
Manav Rathi
dd2bc6df9a Fix lints 2024-10-10 13:19:26 +05:30
Manav Rathi
edd3aa4ea0 [web] [auth] Fix crash due to incorrect context
Introduced since the deployment this morning.
2024-10-10 13:15:03 +05:30
ashilkn
6c5b0a6578 [mob][photos] Chore 2024-10-10 10:09:19 +05:30
ashilkn
87ff4076b0 [mob][photos] Create FaceFilter class 2024-10-10 10:09:01 +05:30
Manav Rathi
aed143919e [web] New translations (#3650)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-10 07:53:42 +05:30
Crowdin Bot
3607bb95a4 New Crowdin translations by GitHub Action 2024-10-10 02:21:28 +00:00
Vishnu Mohandas
11edb980e8 [docs] Update FAQ about key rederivation 2024-10-09 21:14:52 +05:30
Prateek Sunal
726ee5918b fix(auth): don't require libsodium for some packaging 2024-10-09 18:06:06 +05:30
Manav Rathi
d53b0b62c4 [desktop] People - WIP - Part x/x (#3645)
Associating an cluster with an existing cgroup now works (behind a ff).
2024-10-09 17:55:16 +05:30
Manav Rathi
9411f28194 Tweak 2024-10-09 17:45:01 +05:30
Manav Rathi
c27393c97e Remove test code 2024-10-09 17:38:11 +05:30
Manav Rathi
de5e811f12 API 2024-10-09 17:15:34 +05:30
Manav Rathi
66123e2876 Allow passing args 2024-10-09 17:09:45 +05:30
Manav Rathi
17f02cd749 Outline, inspired by https://github.com/jonatanklosko/material-ui-confirm 2024-10-09 16:50:05 +05:30
Manav Rathi
9c35c28e90 Set fullWidth on the alert dialog scenario 2024-10-09 16:50:05 +05:30
Manav Rathi
2540a8bcfe Fix 2024-10-09 16:29:28 +05:30
Manav Rathi
832a8c77c9 Move 2024-10-09 16:29:28 +05:30
ashilkn
0dd3e5d452 [mob][photos] Fix typo 2024-10-09 15:32:23 +05:30
Manav Rathi
6e08ca8f14 Inline 2024-10-09 15:26:06 +05:30
Manav Rathi
ea0532d76a Move to the same file 2024-10-09 15:25:00 +05:30
Manav Rathi
0a424deceb Remove intermediary 2024-10-09 15:11:35 +05:30
Manav Rathi
08623b50db Use 2024-10-09 15:07:45 +05:30
Manav Rathi
fb4c15bf52 Cleanup 2024-10-09 15:05:08 +05:30
Vishnu Mohandas
bdb30f15fa Smaller logos 2024-10-09 15:00:30 +05:30
Manav Rathi
4cd3590a07 Use 2024-10-09 14:46:34 +05:30
Aman Raj Singh Mourya
86b70ab034 [mob][photos] hide "add photos" for deeplinks, will implement after v1 2024-10-09 14:41:04 +05:30
Manav Rathi
8717ca1b28 Rename and move 2024-10-09 14:39:36 +05:30
Manav Rathi
1de0fe9ab2 Mark the problematic ones 2024-10-09 14:19:05 +05:30
Manav Rathi
c3389a6cf8 Don't use the retry variant by default
The op might not be retriable
2024-10-09 14:13:52 +05:30
Manav Rathi
ef75956a24 Fix typo
b03907deca
2024-10-09 14:10:42 +05:30
Manav Rathi
f2dc01c579 Move app context to new 2024-10-09 14:10:36 +05:30
Manav Rathi
c297a60c85 Impl 2024-10-09 13:11:17 +05:30
Manav Rathi
744707ca5c Use actual API 2024-10-09 13:07:04 +05:30
Manav Rathi
4e5747b19b Inline 2024-10-09 13:00:34 +05:30
Manav Rathi
51be3fb130 Remove hover tooltip so that people behave same as collections 2024-10-09 12:55:55 +05:30
Vishnu Mohandas
c556c1e882 Add Obtainium links to docs (#3642)
This PR includes updates to the documentation to make it easier for
people to add both Auth and Photos to Obtainium. I also fixed the
incorrect spelling of "Obtainium".
2024-10-09 12:39:14 +05:30
Manav Rathi
810729add9 [web] Add People WIP - Part x/x (#3641) 2024-10-09 12:22:29 +05:30
Manav Rathi
0934aa9c6d Name by page 2024-10-09 12:15:34 +05:30
Hamish
85a5c99d46 Merge branch 'obtainium' of git@github.com:Hamster45105/ente.git 2024-10-09 17:39:22 +11:00
Hamish
8a256da26a Update information in Obtainium help sections
- Fix spelling
- Add link to instantly add
2024-10-09 17:38:34 +11:00
Hamish
d20717df00 Add Obtainium badges to README 2024-10-09 17:34:08 +11:00
Hamish
490c05ed98 Upload Obtainium badge 2024-10-09 17:31:29 +11:00
Manav Rathi
c29d9fcc45 Some components will need to be split 2024-10-09 11:52:40 +05:30
Manav Rathi
9f97814027 Promote 2024-10-09 11:47:45 +05:30
Manav Rathi
f41bd698f7 Promote 2024-10-09 11:41:09 +05:30
Manav Rathi
05d9b18e9e Breathing space at the top 2024-10-09 11:10:06 +05:30
Manav Rathi
fcc4122bcb [web] Bulk fav: Tweaks (#3640) 2024-10-09 10:23:52 +05:30
Manav Rathi
77c1642b38 Don't show in archive 2024-10-09 10:22:34 +05:30
Manav Rathi
9b4658dc14 Update tooltip in the selection bar 2024-10-09 10:17:25 +05:30
Manav Rathi
aac7544818 Dup, keeping existing translations where possible 2024-10-09 10:16:52 +05:30
Manav Rathi
5e810e65a8 Rename 2024-10-09 10:08:15 +05:30
Manav Rathi
9637816262 [web] Bulk fav: Refresh on success 2024-10-09 10:02:00 +05:30
Manav Rathi
6183263e60 [web] New translations (#3639)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-09 09:59:07 +05:30
Crowdin Bot
336bf4e383 New Crowdin translations by GitHub Action 2024-10-09 04:27:02 +00:00
Manav Rathi
2a19e6ecf7 [web] Misc translation cleanup (#3638) 2024-10-09 09:56:21 +05:30
Manav Rathi
e035bf48e1 Unused 2024-10-09 09:52:59 +05:30
Manav Rathi
c1309cd97c Rename 2024-10-09 09:50:37 +05:30
Manav Rathi
062ef579c1 Move 2024-10-09 09:47:44 +05:30
Manav Rathi
efa5e6a448 Rename 2024-10-09 09:46:15 +05:30
Manav Rathi
97c28b4fb7 Rename 2024-10-09 09:40:40 +05:30
Manav Rathi
b00bc79c38 Remove accidentally commited overwrite 2024-10-09 09:37:44 +05:30
Manav Rathi
ef9d7f4214 [web] add favorite button to SelectedFileBar to bulk favorite selection (#3631)
## Description
This allows on the web app to bulk favorite multiple photos in one go,
by adding a favorite button to the SelectedFileOptions.tsx component.
Just like for the Android App.
This could be enhanced by having the button plain or empty depending the
selection and by setting/unsetting favarite depending previous status.
For now it just set as favorite whatever the status (like the Android
app).

## Tests
- Select at least 2 pictures in another album than hidden, favorited,
trash, ...
- Click at top right of the screen the favorite icon
- the favorite icon on the previously selected thumbnails should appear
2024-10-09 09:36:45 +05:30
Manav Rathi
c99a616978 [web] New translations (#3636)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-09 09:24:16 +05:30
Crowdin Bot
273947df19 New Crowdin translations by GitHub Action 2024-10-09 03:50:18 +00:00
Manav Rathi
0f68d02f83 [web] Tweaks to the gallery empty state (#3635) 2024-10-09 09:17:43 +05:30
Manav Rathi
7c21ed8869 Disable user select on the welcome text too since ente cannot be selected 2024-10-09 09:01:07 +05:30
Manav Rathi
3068b369e4 Declutter 2024-10-09 08:57:54 +05:30
Manav Rathi
d43d82c9c1 Tweak 2024-10-09 08:56:23 +05:30
Manav Rathi
a6cff1ffeb Align 2024-10-09 08:54:59 +05:30
Manav Rathi
55fde1d87c Same default height as img 2024-10-09 08:22:39 +05:30
Manav Rathi
09c92827bb Fix vertical align 2024-10-09 08:03:18 +05:30
Manav Rathi
2283d19d57 Allow specifying width and height 2024-10-09 07:54:26 +05:30
Apalepex
d976c066e1 lint fix 2024-10-08 18:22:21 +02:00
Apalepex
fa88313ddc remove unused 2024-10-08 18:11:42 +02:00
Apalepex
00346534b4 remove unused 2024-10-08 17:52:08 +02:00
Prateek Sunal
8bd6f23236 fix(workflow): remove libwebkit 2024-10-08 21:21:07 +05:30
Prateek Sunal
d3c0dbaa64 fix: dependencies and generic name 2024-10-08 21:19:43 +05:30
Manav Rathi
ad4f4e293c [web] Various UI tweaks (#3630) 2024-10-08 21:16:11 +05:30
Prateek Sunal
cdeb1aa9bc fix(auth): update coping mechanism 2024-10-08 21:13:36 +05:30
Apalepex
e0de52b915 add fav button 2024-10-08 17:38:39 +02:00
Prateek Sunal
337743bcf0 fix: update database path 2024-10-08 20:48:24 +05:30
Manav Rathi
692bb0221c Remove unnecessary customization 2024-10-08 20:42:17 +05:30
Manav Rathi
823347fdd2 Doc 2024-10-08 20:35:24 +05:30
Manav Rathi
1caff81a88 Remove unused 2024-10-08 20:34:09 +05:30
Manav Rathi
1a6cfe2264 Remove unused 2024-10-08 20:27:46 +05:30
Manav Rathi
c122bbcde9 Rearrange 2024-10-08 20:22:13 +05:30
Manav Rathi
3e3effe8a0 Remove unnecessary Box, use brand green 2024-10-08 20:20:10 +05:30
Manav Rathi
10e5018f94 Colocate 2024-10-08 20:13:29 +05:30
Manav Rathi
1c535cd9f0 Move 2024-10-08 20:08:55 +05:30
Manav Rathi
3d863d49e1 Tweak 2024-10-08 20:06:50 +05:30
Manav Rathi
ca89e31602 Doc 2024-10-08 20:06:05 +05:30
Prateek Sunal
c2413a599e fix: copy internal files recursively 2024-10-08 19:19:22 +05:30
Manav Rathi
982e5876d9 Inline 2024-10-08 19:19:17 +05:30
Prateek Sunal
10b4abf9cd fix: remove dependency on desktop webview 2024-10-08 18:34:40 +05:30
Manav Rathi
8bc8ed95a9 [web] Update doc to remove confusing pk annotation (#3629) 2024-10-08 18:12:12 +05:30
Manav Rathi
c4d89f07af [web] Update doc to remove confusing pk annotation 2024-10-08 18:09:45 +05:30
Manav Rathi
f4c7cff9e2 [infra] Document Sentry backup/restore (#3626) 2024-10-08 18:04:58 +05:30
Manav Rathi
89f1f001ad [infra] Document Sentry backup/restore 2024-10-08 18:04:14 +05:30
Prateek Sunal
b72f047526 Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-08 17:53:59 +05:30
Prateek Sunal
802aabdda5 fix: try to solidify the logic for directory migration 2024-10-08 17:50:09 +05:30
Aman Raj Singh Mourya
6ea51a70f5 [mob][photos] using ReceiveSharingIntent to listen to deeplink & showing loading dialog till the album is fetched 2024-10-08 16:38:27 +05:30
Manav Rathi
f3f69ade45 Inline 2024-10-08 15:58:14 +05:30
Manav Rathi
fe8884c37f Remove unnecessary button 2024-10-08 15:26:37 +05:30
Manav Rathi
c90c740d83 Inline 2024-10-08 14:57:57 +05:30
Ashil
bb0f7915f0 [mob][photos] Prep for new release (#3624) 2024-10-08 14:43:50 +05:30
Manav Rathi
8606f43173 Move to base 2024-10-08 14:41:02 +05:30
ashilkn
ca5ac8da6b [mob][photos] Run flutter pub upgrade 2024-10-08 14:12:54 +05:30
ashilkn
978f82c809 [mob][photos] Bump up version to v0.9.47 2024-10-08 14:12:34 +05:30
ashilkn
bc84ea7529 [mob][photos] bump up photo_manager version in pubspec.yaml. Note: the version is already 3.5.0 in pubspec.lock, just updating it in pubspec.yaml 2024-10-08 14:12:02 +05:30
Aman Raj Singh Mourya
45ba65682c [mob][photos] hide owner avatar if file is from a public link 2024-10-08 13:32:15 +05:30
Manav Rathi
019b9c3ebd [web] Deduplicate buttons (#3622)
And some fixes / tweaks to the recently added fav overlay.
2024-10-08 13:21:38 +05:30
Manav Rathi
f1d1bf9e02 Fin 2024-10-08 13:15:27 +05:30
Manav Rathi
8b64c6d2bc Switch 2024-10-08 13:14:41 +05:30
Manav Rathi
8ece709661 Up 2024-10-08 13:10:52 +05:30
Manav Rathi
ac9648e885 Conv 2024-10-08 13:07:03 +05:30
Aman Raj Singh Mourya
22737f139b [mob][photos] Hide file owner if file is a public shared file 2024-10-08 13:05:18 +05:30
Manav Rathi
ac9e907961 Fix crash 2024-10-08 11:37:27 +05:30
Manav Rathi
3bfe471110 Use 2024-10-08 11:35:14 +05:30
Manav Rathi
bd9cb1ac86 Use 2024-10-08 11:28:00 +05:30
Manav Rathi
5746ad1942 Switch 2024-10-08 11:13:37 +05:30
Manav Rathi
50f924e3c5 Switch 2024-10-08 11:00:24 +05:30
Manav Rathi
851ca1afe2 Fin 2024-10-08 10:45:24 +05:30
Manav Rathi
d7fd432f6e Move to base (since it in used in accounts) 2024-10-08 10:38:08 +05:30
Manav Rathi
3be7abf381 Use new one 2024-10-08 10:25:45 +05:30
Manav Rathi
41fce9b57c Slightly less obtrusive
Need proper designs
2024-10-08 09:20:30 +05:30
Manav Rathi
d8f98b4daa Give more space for the crop button 2024-10-08 09:10:31 +05:30
Manav Rathi
51be8e0622 It is not using the loader 2024-10-08 09:02:51 +05:30
Manav Rathi
f0ea95e141 Extract 2024-10-08 09:01:55 +05:30
Manav Rathi
a0f0333f5f Switch 2024-10-08 08:59:31 +05:30
Manav Rathi
fb2fd7d986 Switch 2024-10-08 08:52:25 +05:30
Manav Rathi
d9dddec33c Fix lints 2024-10-08 08:42:30 +05:30
Manav Rathi
fe79e4a5eb [web] add fav icon to picture thumbnails (#3620)
## Description
web client : Add the favorite icon to a memory thumbnail in the gallery,
looking just like in the Android app
## Tests
- favorite a picture
- in the gallery, check that the favorite icon is showed n the picture
thumbnail, as an overlay
2024-10-08 08:38:34 +05:30
Apalepex
d781d2c2fc web client : add fav icon to picture thumbnails 2024-10-07 22:51:18 +02:00
Prateek Sunal
d79cbf5e5f fix(linux): update metadata according to flatpak 2024-10-07 22:37:17 +05:30
Manav Rathi
9be5d1461d [web] Loading button component (#3612) 2024-10-07 21:16:34 +05:30
Manav Rathi
28529560f0 Move 2024-10-07 21:12:09 +05:30
Manav Rathi
ca08b3eb5f Move 2024-10-07 21:11:17 +05:30
Manav Rathi
dfab58ce33 Loading button 2024-10-07 21:05:28 +05:30
Manav Rathi
d69d223bce [web] Reset scroll state on mode/person change (#3611)
Fixes https://github.com/ente-io/ente/issues/3603
2024-10-07 20:49:02 +05:30
Manav Rathi
02f42a0bb7 [web] Reset scroll state on mode/person change
Fixes https://github.com/ente-io/ente/issues/3603
2024-10-07 20:43:20 +05:30
ashilkn
7504e01bf7 [mob][photos] Enable hierarchical search in location screen 2024-10-07 20:14:46 +05:30
ashilkn
af8d630060 [mob][photos] Use GalleryAppBar widget on location screen 2024-10-07 20:05:46 +05:30
Manav Rathi
d502a10103 [web] New translations (#3610)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-07 20:00:10 +05:30
Crowdin Bot
127172938b New Crowdin translations by GitHub Action 2024-10-07 14:29:04 +00:00
Manav Rathi
dae65736a8 [web] People picker - WIP - Part x/x (#3608) 2024-10-07 19:58:19 +05:30
Manav Rathi
c0e9642d97 lf 2024-10-07 19:49:44 +05:30
Manav Rathi
aedbbeb321 Rename 2024-10-07 19:42:01 +05:30
Manav Rathi
c88fb258be Add variant 2024-10-07 19:41:17 +05:30
Manav Rathi
17948e8364 Rename 2024-10-07 19:39:12 +05:30
Manav Rathi
1c3f560cb0 Prep for main merge 2024-10-07 19:29:23 +05:30
Manav Rathi
3a95823256 Adding an artificial delay is perhaps not the best?
Need to think more
2024-10-07 19:18:58 +05:30
Manav Rathi
2e5c678690 Success 2024-10-07 18:56:05 +05:30
Vishnu Mohandas
1a3ca7c0fe Add installation instructions for Auth (#3605) 2024-10-07 18:49:32 +05:30
vishnukvmd
cb404637cf Add installation instructions for Auth 2024-10-07 18:48:57 +05:30
Vishnu Mohandas
617090a8c5 Add doc for installation (#3604) 2024-10-07 18:42:56 +05:30
vishnukvmd
bfdda59b39 Add doc for installation 2024-10-07 18:42:33 +05:30
ashilkn
2611cdc480 [mob][photos] Only show what comes before '@' in the name of contacts filter 2024-10-07 18:37:22 +05:30
ashilkn
b68fdf3d15 [mob][photos] Fix 'cannot modify an unmodifiable set' bug 2024-10-07 18:33:35 +05:30
Manav Rathi
c37e5afed1 Up 2024-10-07 18:26:03 +05:30
ashilkn
d91a710f18 [mob][photos] Add ResultType used in search a member of HierarchicalSerachFilter and make use of it in isSameFilter() for isSameFilter() to work when comparing other filters and TopLevelGenericFilters 2024-10-07 18:11:50 +05:30
Manav Rathi
373d25e2d6 More 2024-10-07 17:58:03 +05:30
Vishnu Mohandas
157cefd657 Update intl_en.arb 2024-10-07 17:15:20 +05:30
Manav Rathi
63b3732f82 Fill in 2024-10-07 17:09:36 +05:30
ashilkn
f1535f901f [mob][photos] Pass better string for FileTypeFilter. Also, do it in such a way that name() of HierarchicalSearchFilter doesn't need a BuildContext parameter 2024-10-07 17:04:16 +05:30
ashilkn
5f2cc6f6c3 [mob][photos] Add initialFilter in search results page depending on the type of search result passed 2024-10-07 16:26:05 +05:30
Manav Rathi
1c306bf7b5 Scaffold 2024-10-07 16:22:30 +05:30
Manav Rathi
a13f3020ca Tie into the flow 2024-10-07 16:12:12 +05:30
Manav Rathi
3eb9b6bd77 [doc] Mention the location of the exported JSON (#3601) 2024-10-07 15:16:22 +05:30
Manav Rathi
3d994a5f07 yarn pretty 2024-10-07 15:14:42 +05:30
Manav Rathi
fbc68f1143 [doc] Mention the location of the exported JSON 2024-10-07 15:13:18 +05:30
ashilkn
e6590a7190 [mob][photos] Wrap GalleryFilesState over SharedPublicCollectionPage to fix error 2024-10-07 15:03:38 +05:30
ashilkn
27bce439c4 Merge branch 'main' into deeplinks 2024-10-07 14:24:51 +05:30
Ashil
4f19c40492 Media extension fix for deeplinks (#3584)
## Description

## Tests
2024-10-07 14:24:18 +05:30
Manav Rathi
7227a4b084 Remove workaround 2024-10-07 14:22:12 +05:30
Manav Rathi
62f1713a1a People 2024-10-07 14:02:43 +05:30
Ashil
c56a96454a [auth] Auth lockscreen fixes (#3545)
## Description

1. Removed the logout button from the lockscreen if app in without
backup state
2. Show a warning dialog when user try to set the app lock for the 1st
time

## Tests
<img
src="https://github.com/user-attachments/assets/1f12d651-12ee-4ad5-9a17-cc0c0b3c4d61"
width=200>
2024-10-07 14:02:00 +05:30
Manav Rathi
72842e8c36 Shortcircuit 2024-10-07 13:51:34 +05:30
Manav Rathi
bb13d1d98f Segue 2024-10-07 12:18:08 +05:30
Manav Rathi
ec115b3f8b Dup 2024-10-07 11:36:08 +05:30
Manav Rathi
8e79884e31 Better match the design 2024-10-07 11:15:48 +05:30
Manav Rathi
70051b66b7 Scaffold 2024-10-07 10:18:17 +05:30
Manav Rathi
46134b3b9a related 2024-10-07 10:01:11 +05:30
Manav Rathi
b1c30417ba [web] New translations (#3597)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-07 09:18:17 +05:30
Crowdin Bot
90b994c752 New Crowdin translations by GitHub Action 2024-10-07 01:17:23 +00:00
Crowdin Bot
0d4d39a959 New Crowdin translations by GitHub Action 2024-10-07 01:05:09 +00:00
Crowdin Bot
344c3d72ec New Crowdin translations by GitHub Action 2024-10-07 00:35:12 +00:00
ashilkn
aa9fbd281e [mob][photos] Create a top level generic filter to be used for search ResultTypes(s) for which we don't plan to keep a subtype of HierarchicalSearchFilter 2024-10-05 22:18:18 +05:30
ashilkn
fac18333ce [mob][photos] Improve performance when adding/removing filters during hierarchical search by using cached results of applied filters instead of iterating through all filters and files 2024-10-05 19:45:55 +05:30
Manav Rathi
b26e3b31d8 [web] New translations (#3586)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-05 18:33:53 +05:30
Crowdin Bot
2cc9801fbc New Crowdin translations by GitHub Action 2024-10-05 13:02:05 +00:00
Manav Rathi
2ee2377490 [web] Collection selector related cleanup - Part 2/2 (#3585)
Completes https://github.com/ente-io/ente/pull/3581
2024-10-05 18:31:21 +05:30
Manav Rathi
dd65f4f156 Remove unused translation 2024-10-05 18:17:26 +05:30
Manav Rathi
d5216886d8 Rename 2024-10-05 18:16:30 +05:30
Manav Rathi
02e059989e Improve accessibility by using a button 2024-10-05 18:14:13 +05:30
Manav Rathi
61763ed16f Rename 2024-10-05 18:00:03 +05:30
Manav Rathi
51e8c2797d Remove unnecessary wrapper 2024-10-05 17:55:01 +05:30
Manav Rathi
4a1db1edcc Use same as choice modal 2024-10-05 17:48:23 +05:30
ashilkn
42c9ae4caf [mob][photos] Remove dead code 2024-10-05 17:42:57 +05:30
Manav Rathi
9a7a338339 Don't nest div in h2 2024-10-05 17:36:02 +05:30
Manav Rathi
4fd3fb09c9 Fix 2024-10-05 17:08:20 +05:30
Vishnu Mohandas
11bbb70c3f [auth][mac] bump versions in Podfile.lock (#3583)
## Description

- Bump versions in Podfile

## Tests
2024-10-05 17:06:36 +05:30
Aman Raj Singh Mourya
0ace359983 [mob][photos] media_extension fix to support deeplinks 2024-10-05 17:04:09 +05:30
Manav Rathi
5605c5b794 Remove override chains that nop each other 2024-10-05 17:01:27 +05:30
Manav Rathi
14c5ea5b86 Remove theme dep 2024-10-05 16:58:32 +05:30
Manav Rathi
6fc1f8c2d0 Tweaks 2024-10-05 16:52:22 +05:30
Prateek Sunal
0dfa8ceee1 chore(macos): bump version locks 2024-10-05 16:50:59 +05:30
ashilkn
bbc894cfda [mob][photos] Add contacts filter in hierarchical search 2024-10-05 16:46:12 +05:30
Manav Rathi
29ae5bfb09 Lints + usecb to prevent unnecessary rerenders after adding onClose as dep 2024-10-05 16:30:38 +05:30
Prateek Sunal
b970f047e4 [auth][macos] show hidden window when user clicks on the dock (#3582)
## Description

In the current version of Ente Auth, nothing happens when the user
closes the Ente Auth window on macOS and then clicks on the Ente Auth
icon in the dock.

This PR changes this behaviour and brings it in-line with other macOS
applications by showing the main application window when the user clicks
on the dock icon.

## Tests
2024-10-05 16:23:03 +05:30
Vishnu Mohandas
752f50efd2 [auth] update dependencies for ios (#3577)
## Description

## Tests
2024-10-05 16:19:23 +05:30
Manav Rathi
7737d162ce Fin 2024-10-05 16:15:32 +05:30
ashilkn
d7eb0e9dc3 [mob][photos] Create ContactsFilter class 2024-10-05 16:14:55 +05:30
Manav Rathi
c10317ae2a wip checkpoint 2024-10-05 16:06:20 +05:30
ashilkn
45e2ca52c9 Merge branch 'main' into hierarchical_search 2024-10-05 16:03:29 +05:30
Manav Rathi
b3f210702d wip: checkpoint 2024-10-05 15:45:10 +05:30
Manav Rathi
8b6ae56202 Rename 2024-10-05 15:32:39 +05:30
Manav Rathi
b51bacb3f8 Early exit 2024-10-05 15:28:39 +05:30
Manav Rathi
5c6b0b8679 Fix some 2024-10-05 15:16:45 +05:30
Tomasz Mikus
2c417cd711 Autofocus the search box when the "Search" button is clicked.
This commit adds the much-needed ability to autofocus the search box on macOS.
2024-10-05 10:44:44 +01:00
Manav Rathi
64065b9a2f Cleanup 2024-10-05 15:03:59 +05:30
Manav Rathi
211d2ac4a9 Move 2024-10-05 15:00:58 +05:30
Tomasz Mikus
fca8e13c03 Add the ability to show the Ente Auth window on macOS after it was closed.
Currently, nothing happens when the user closes the Ente Auth window on macOS and then clicks on the Ente Auth icon in the dock. This commit changes this behaviour and brings it in-line with other macOS applications by showing the main application window when the user clicks on the dock icon.
2024-10-05 10:29:55 +01:00
Manav Rathi
535963b229 Remove double negation 2024-10-05 14:52:35 +05:30
Manav Rathi
b4470e1e62 [web] Collection selector related cleanup - Part x/x (#3581)
No functional changes. Intend to use this as a base for people selector,
so this is prep work.
2024-10-05 12:20:38 +05:30
Manav Rathi
b00009aaab Cleanup 2024-10-05 12:12:39 +05:30
Manav Rathi
b1f603d463 Move 2024-10-05 12:06:47 +05:30
Manav Rathi
79b311af8d Rename 2024-10-05 12:03:09 +05:30
Manav Rathi
68c28df945 Move up 2024-10-05 11:35:27 +05:30
Manav Rathi
924707fa56 Move out 2024-10-05 11:28:30 +05:30
Manav Rathi
a218d09960 Tweak 2024-10-05 10:49:28 +05:30
Manav Rathi
c012055835 Move 2024-10-05 10:27:49 +05:30
Manav Rathi
5e5d362341 Doc 2024-10-05 10:24:02 +05:30
Manav Rathi
fe473bcd0a Move 2024-10-05 10:13:25 +05:30
Manav Rathi
855d0d43b6 Doc 2024-10-05 10:06:33 +05:30
Manav Rathi
fdc641be88 Move 2024-10-05 10:02:59 +05:30
Manav Rathi
fb4712dced Leftover 2024-10-05 10:00:21 +05:30
Prateek Sunal
2dbbff0185 fix(auth): remove win http client 2024-10-04 23:30:20 +05:30
Prateek Sunal
83990e1160 chore: lint fixes 2024-10-04 22:18:53 +05:30
Prateek Sunal
44d8f8b96f chore: update windows files 2024-10-04 22:18:26 +05:30
Prateek Sunal
f76e64157b chore(auth): update packages 2024-10-04 22:18:03 +05:30
Aman Raj Singh Mourya
bd01340315 [auth] minor fixes 2024-10-04 21:41:05 +05:30
Aman Raj Singh Mourya
c50067bf7d [auth] Update string 2024-10-04 21:39:04 +05:30
Vishnu Mohandas
48840a3df4 [mob][photos] Fix build failing with xcode 16 update (#3576)
## Description

Checked for any regressions.
Read through and checked all breaking changes in change logs of updated
dependencies.
2024-10-04 19:25:48 +05:30
ashilkn
1942239989 [mob][photos] Replace deprecated memebers with replacements 2024-10-04 19:21:02 +05:30
ashilkn
7ff420a82e [mob][photos] Fix build failing with xcode 16 update 2024-10-04 19:15:38 +05:30
Manav Rathi
8be54b3f31 [web] Dialogs, oh my (#3575)
Not much changes functionally, some cleanup, documentation, and add a
few new patterns (This is all in prep for the new add people dialog)
2024-10-04 17:45:27 +05:30
Manav Rathi
db95c07e73 Use 2024-10-04 17:26:43 +05:30
Manav Rathi
507c79c2a1 Don't put divs inside h tags
Same as 248c24b522
2024-10-04 17:17:36 +05:30
Manav Rathi
8f39473720 Tweak 2024-10-04 17:01:47 +05:30
Manav Rathi
c4e9e6014b Add some visual distinction vis a vis the buttons 2024-10-04 16:59:07 +05:30
Manav Rathi
248c24b522 Don't put the div inside the h2
The MUI docs use an absolutely positioned close button, but that comes with other problems.

So instead nest the h2 inside a flex.
2024-10-04 16:50:19 +05:30
Manav Rathi
3c7db36f62 Unnest and fix 2024-10-04 16:34:17 +05:30
Manav Rathi
5a4c08fa5d Tweak GT header for new h6 2024-10-04 16:31:21 +05:30
Manav Rathi
1cf4e920f2 Fix some changes because of switch to h6 2024-10-04 16:27:37 +05:30
Manav Rathi
a26838db00 Tweak DevSettings for new h6 2024-10-04 16:19:32 +05:30
Manav Rathi
17608df71e Provide our own h6 instead of relying on the implicit one 2024-10-04 16:09:40 +05:30
ashilkn
05b14ac32e [mob][photos] Return false if file doesn't have location data on checking if a file matches a location filter 2024-10-04 15:38:57 +05:30
Manav Rathi
e19100cbac Even the inline start needs to be provided 2024-10-04 15:31:29 +05:30
ashilkn
e2897b7d18 [mob][photos] Curate location filters in isolate 2024-10-04 15:31:16 +05:30
ashilkn
3427f1778e [mob][photos] Create LocationFilter class 2024-10-04 15:14:23 +05:30
Manav Rathi
0322b125a1 Don't involve the margin 2024-10-04 14:56:38 +05:30
Manav Rathi
702561e215 Remove unnecessary containers 2024-10-04 14:47:31 +05:30
Manav Rathi
351026377f Let it be 2024-10-04 14:40:30 +05:30
Manav Rathi
0a8cfb108a '16px 24px' is when dividers is set 2024-10-04 14:16:32 +05:30
Manav Rathi
ffbe03c283 Doc 2024-10-04 14:00:24 +05:30
Manav Rathi
8fefddde7a Associate 2024-10-04 13:46:16 +05:30
Manav Rathi
aac4c261db Merge in root styleOverrides 2024-10-04 13:18:28 +05:30
Manav Rathi
baeb09a800 Start rooting 2024-10-04 13:14:00 +05:30
Manav Rathi
ed69d7874e Clarify that it'll also work for reimports (#3574) 2024-10-04 12:58:36 +05:30
Manav Rathi
ef66e94cb1 Clarify that it'll also work for reimports 2024-10-04 12:56:42 +05:30
Manav Rathi
7d1a674f22 Inline 2024-10-04 12:29:20 +05:30
Manav Rathi
536936f97b Rename 2024-10-04 12:18:19 +05:30
Manav Rathi
395d8a8ab8 Move to new 2024-10-04 12:10:35 +05:30
Manav Rathi
a0b80a40f4 Inline 2024-10-04 11:51:55 +05:30
Manav Rathi
5c93b5a1af Attempt at disentangling the global overrides 2024-10-04 10:34:37 +05:30
Manav Rathi
9d8cec7c4c [web] New translations (#3572)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-04 09:59:47 +05:30
Crowdin Bot
f61174a5c7 New Crowdin translations by GitHub Action 2024-10-04 04:24:50 +00:00
Manav Rathi
8ddd9f07cc [web] Translation cleanup (#3571) 2024-10-04 09:53:55 +05:30
Manav Rathi
0ae498d9c1 Rename 2024-10-04 09:49:10 +05:30
Manav Rathi
0957ab7f66 [web] Dialog related refactoring (#3565)
Non functional tweaks in how the dialog related code is structured. More
to come. Prep for adding people merging.
2024-10-03 18:50:57 +05:30
Manav Rathi
a7443710ac Tweak 2024-10-03 18:15:37 +05:30
Manav Rathi
1d8f4b2ebc Usability 2024-10-03 18:06:15 +05:30
Manav Rathi
cd2d7be69a The "&&&"s are to override the style overrides
...which is what I want to refactor away, this is an intermediate step.
2024-10-03 17:51:37 +05:30
Vishnu Mohandas
491b628577 [mob][photos] log number of row in filesDB for debugging perf issues (#3564) 2024-10-03 17:11:06 +05:30
ashilkn
bd5e53b83d [mob][photos] log number of row in filesDB for debugging perf issues 2024-10-03 17:06:31 +05:30
Manav Rathi
27bdc5d229 Reduce font weight 2024-10-03 17:05:04 +05:30
Manav Rathi
d40f4a78c6 Remove unnecessary wrap 2024-10-03 16:59:02 +05:30
Manav Rathi
6ccc85d318 Inline 2024-10-03 16:56:37 +05:30
Manav Rathi
51ba9270e7 Use 2024-10-03 16:00:55 +05:30
Manav Rathi
8db71fe45e Doesn't inherit from MUI button 2024-10-03 15:59:48 +05:30
Manav Rathi
0a095d71f8 Move 2024-10-03 15:59:48 +05:30
Manav Rathi
f3ea391aa9 Rename and move 2024-10-03 15:44:16 +05:30
Manav Rathi
a273bbb577 Tweak 2024-10-03 15:42:48 +05:30
Manav Rathi
6c4ef2e674 [web] Use (lat, long) from public magic metadata (#3561) 2024-10-03 12:30:08 +05:30
Manav Rathi
237b7c4116 Use (lat, long) 2024-10-03 12:11:30 +05:30
Manav Rathi
379d549300 Prep 2024-10-03 12:09:10 +05:30
Manav Rathi
aecd7dc9f9 Doc lat/lng 2024-10-03 12:07:53 +05:30
Manav Rathi
8ccfe3c609 Ref 2024-10-03 12:03:49 +05:30
Manav Rathi
91c8406e27 Doc 2024-10-03 11:51:58 +05:30
Manav Rathi
d0341ba50c Remove unused return 2024-10-03 11:42:09 +05:30
ashilkn
4b72817864 [mob][photos] Make initialGalleryFilter non-nullable and make a a required parameter of SearchFilterDataProvider 2024-10-03 08:47:35 +05:30
ashilkn
acfe65bf37 [mob][photos] Enable hierarchical search in search results page 2024-10-03 08:41:17 +05:30
Manav Rathi
d93d4a3601 [web] Fix recover redirect (#3560)
Ref: 59bf51346c
2024-10-03 08:37:06 +05:30
Manav Rathi
10f4fd1118 [web] Fix recover redirect
Ref: 59bf51346c
2024-10-03 08:21:27 +05:30
ashilkn
18a22c8014 [mob][photos] Handle and log failures in curating and applying filters 2024-10-03 07:51:15 +05:30
ashilkn
2c2c7f6c9e [mob][photos] Fix null check used on null value exception + refactor filtering of files 2024-10-03 07:47:05 +05:30
ashilkn
6aec2c5718 [mob][photos] Curate both album and fileType filters and add all to applied filters at once 2024-10-03 07:22:19 +05:30
ashilkn
38e9496b8c [mob][photos] Add comment 2024-10-03 07:09:37 +05:30
ashilkn
369bdc8f4c [mob][photos] Create function to curate file type filters 2024-10-03 07:08:04 +05:30
ashilkn
a29fd51855 [mob][photos] Create FileTypeFilter class for photos, videos and live photos filters 2024-10-02 11:08:51 +05:30
ashilkn
a105195481 [mob][photos] Make matchedUploadedIDs a property of HierarchicalSearchFilter so that it's a property of all filters that extend it 2024-10-02 10:49:23 +05:30
ashilkn
007f7aa5d6 [mob][photos] Create a new widget 'HierarchicalSearchGallery' and use it when the first filter is added instead of handling everything in the 'Gallery' widget
Using a separate gallery for Hierarchical Search makes it easier to plug this in in different galleries
2024-10-02 10:05:26 +05:30
wiki-Bird
7357d0599b Update custom-icons.json / custom icons with Simplicity, RealMe, and PBTech 2024-10-02 16:02:29 +13:00
Aman Raj Singh Mourya
2b856305b2 [mob][photos] skip deleted files 2024-10-01 21:05:18 +05:30
Aman Raj Singh Mourya
ac86b3097c [auth] string fixes 2024-10-01 16:49:12 +05:30
Aman Raj Singh Mourya
063a8dd792 [auth] Extract strings 2024-10-01 16:40:13 +05:30
ashilkn
2292146706 [mob][photos] Refactor 2024-10-01 15:58:48 +05:30
Aman Raj Singh Mourya
ea5fa5b252 [auth] warning dialog 2024-10-01 00:47:13 +05:30
Aman Raj Singh Mourya
94298cc1b5 [auth] hide logout button from lockscreen when app in useWithoutBackup state 2024-10-01 00:39:00 +05:30
Aman Raj Singh Mourya
f2e3b0e0bf [auth] key to store the status of applock warning 2024-10-01 00:38:23 +05:30
Manav Rathi
f9cf9733a0 [web] Update docs after verifying the behaviour (#3542)
Indeed, it seems like the default is not a hand pointer, and MUI has
customized its button, so we need to replicate that behaviour if we
directly use HTML buttons.

Ref:
-
https://ux.stackexchange.com/questions/3788/default-cursor-on-mouse-over-of-a-button-is-not-a-hand-pointer
2024-09-30 21:03:43 +05:30
Manav Rathi
8a5a923c93 [web] Update docs after verifying the behaviour
Indeed, it seems like the default is not a hand pointer, and MUI has customized
its button, so we need to replicate that behaviour if we directly use HTML
buttons.

Ref:
- https://ux.stackexchange.com/questions/3788/default-cursor-on-mouse-over-of-a-button-is-not-a-hand-pointer
2024-09-30 20:54:22 +05:30
Manav Rathi
3483ea0d1b [web] Parse description from Google Takeout metadata JSON (#3540)
Fixes https://github.com/ente-io/ente/issues/3537
2024-09-30 17:10:43 +05:30
Manav Rathi
b6baffa97e Add CHANGELOG entry too 2024-09-30 17:07:06 +05:30
Manav Rathi
1dfd295f40 Use 2024-09-30 16:55:56 +05:30
Manav Rathi
49b5c2ca14 Doc 2024-09-30 16:51:30 +05:30
ashilkn
60c718c7ed [mob][photos] Move filtering logic outside of gallery to reduce clutter in gallery file 2024-09-30 16:38:54 +05:30
ashilkn
b7f899cd88 [mob][photos] Fix incorrect order of files in _allGalleryFiles compared to file order in gallery 2024-09-30 16:04:12 +05:30
ashilkn
c27451f46b [mob][photos] Update all files in GalleryFilesState when filters are added in hierarchical search in a gallery 2024-09-30 16:02:27 +05:30
Neeraj Gupta
dccd98dd0c Update Authy Migration formatting (#3538)
## Description

## Tests
2024-09-30 15:10:15 +05:30
setalp
0002e871c2 Update Authy Migration formatting 2024-09-30 13:50:04 +05:30
Manav Rathi
d8356ae0c0 Parse description 2024-09-30 13:08:35 +05:30
ashilkn
79e49d49d4 [mob][photos] Resolve merge conflicts and merge main 2024-09-30 13:01:35 +05:30
Neeraj Gupta
3178a7a61d [auth] New translations (#3534)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-09-30 12:09:16 +05:30
Neeraj Gupta
2f2fc43fa6 [mobile] New translations (#3533)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-09-30 12:08:22 +05:30
Ashil
093d7fd333 [mob][photos] Remove legacy code in detail page (#3496)
## Description

Removed use of `asyncLoader` in `DetailPage` and instead, all files in
gallery is now stored in an inherited widget (`GalleryFilesState`) and
`DetailPage` uses that list of files instead of fetching from DB using
`asyncLoader`. This 'all files' list reflects all changes in gallery (as
observed when testing) so there is no issue of the list being out of
sync with gallery.

Where ever possible, `GalleryFilesState` has been wrapped around the
`Scaffold` of galleries, so that all files are accessible to all
ancestors of a gallery's `Scaffold`, which could come useful in the
future.
2024-09-30 11:57:48 +05:30
Manav Rathi
0bc96f58fd [web] New translations (#3532)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-30 10:29:03 +05:30
Crowdin Bot
3f7a42ba49 New Crowdin translations by GitHub Action 2024-09-30 04:58:27 +00:00
connor
0a5d0f515f [auth] updated icons for dark/light modes 2024-09-29 20:33:04 -05:00
Crowdin Bot
9bc3926372 New Crowdin translations by GitHub Action 2024-09-30 01:04:58 +00:00
Crowdin Bot
2d17aa5550 New Crowdin translations by GitHub Action 2024-09-30 00:34:58 +00:00
Sven
7dcfc8ee47 [auth] Add Wargaming icon (#3529)
## Description
Adds the Wargaming.net icon to Ente Auth
2024-09-29 22:24:38 +05:30
Prateek Sunal
ae77a38846 fix: don't include build number for version 2024-09-29 16:05:02 +05:30
Prateek Sunal
d7946fbfc5 fix(linux): update version in appdata 2024-09-29 14:41:01 +05:30
Neeraj Gupta
fa361904f6 [mob] Misc bug fixes (#3522)
## Description

## Tests
2024-09-29 11:17:51 +05:30
Neeraj Gupta
00e75c0fb2 [mob] Lint 2024-09-29 09:54:20 +05:30
Neeraj Gupta
026ab8dcc6 [mob] Bump version: v0.9.46 2024-09-29 09:53:15 +05:30
Neeraj Gupta
7d42ed37e1 Merge remote-tracking branch 'origin/main' into bug_fixes 2024-09-29 09:52:49 +05:30
Neeraj Gupta
a5d01a9ffe [mob] Fix avatar faceID 2024-09-29 09:52:41 +05:30
Neeraj Gupta
675b7f6cea [mob] Sync cgroup as part of ML 2024-09-29 09:45:48 +05:30
Neeraj Gupta
772373580a [mob] Stop consuming errors for trash 2024-09-29 09:42:25 +05:30
Neeraj Gupta
f0a19e38aa [mob] Fix hide cluster property 2024-09-29 09:41:35 +05:30
Manav Rathi
d1d6590547 [web] Sync locations only once on app start if there are pending uploads (#3521) 2024-09-29 05:52:32 +05:30
Manav Rathi
03da960c33 Start with a idle state
Not sure why it was true - there is a possibility that this was intentional, but
I can't think why. The reason for changing it is to fix our "isForced" logic
(otherwise the non-file-related sync doesn't run on app start), without
introducing _another_ flag to track if the sync was initiated from a gallery
useEffect or by the preUploadSync.
2024-09-29 05:40:37 +05:30
Manav Rathi
2bdc010849 [web] Do not perform multiple non-file-syncs in parallel
e.g. this might cause multiple requests to getOrCreate a location tag entity
key. Remote will reject the second one, so no harm will come of it, but still
its better to enforce serialization to make the mental model of the code easier
to reason about.
2024-09-29 05:20:12 +05:30
Prateek Sunal
594843f48b fix(linux): metainfo package name 2024-09-29 04:08:16 +05:30
Prateek Sunal
4c5942016f fix: make release path generic 2024-09-28 22:15:53 +05:30
Prateek Sunal
39765dd802 fix: path for release 2024-09-28 22:13:25 +05:30
Prateek Sunal
bd9bcf607c Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-09-28 21:42:51 +05:30
Prateek Sunal
30e26a815f chore: bump version to 4.0.3 2024-09-28 21:39:42 +05:30
Prateek Sunal
d873921422 chore: remove clip_ggml again 2024-09-28 21:37:31 +05:30
Prateek Sunal
c160afc6de [auth] fix x64 installer on arm64 Windows (#3502)
Portable x64 Ente Auth works on arm64 Windows, but the installer version
fails due to not supporting arm64. As per Inno Setup's documentation the
'x64' option will only allow installing on x64 Windows, changing to
'x64compatible' allows the x64 installer to work on arm64 as well.
2024-09-28 21:33:40 +05:30
Manav Rathi
f971b968af [desktop] Start next release cycle (#3515) 2024-09-28 19:35:58 +05:30
Manav Rathi
c8468efd20 [desktop] Start next release cycle 2024-09-28 19:21:49 +05:30
Manav Rathi
9515cf70f5 photosd-v1.7.5 (#3514) 2024-09-28 18:54:54 +05:30
Manav Rathi
963650db4b [desktop] Use most recent face as the auto-cover (#3513) 2024-09-28 18:40:54 +05:30
Manav Rathi
a2841a8af2 Use most recent face as the auto-cover 2024-09-28 18:32:30 +05:30
Manav Rathi
6a6db0813f [desktop] People: Remove from behind internal user flag (#3511) 2024-09-28 17:51:14 +05:30
Manav Rathi
66fad15743 Add CHANGELOG entry 2024-09-28 17:41:54 +05:30
Manav Rathi
eb4d77bd24 Un-ff 2024-09-28 17:37:46 +05:30
Manav Rathi
e2c0aed2e4 Remove early exit threshold
It did not appear to be obviously helping the speed (or hurting the quality), so
remove it to reduce the number of concepts at play.
2024-09-28 17:22:44 +05:30
Manav Rathi
5a5e046192 Fix hidden sync with existing mobile app 2024-09-28 17:22:03 +05:30
Manav Rathi
42a6e3ac25 [web] New translations (#3509)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-28 16:50:31 +05:30
Crowdin Bot
7fdb8a6dae New Crowdin translations by GitHub Action 2024-09-28 11:18:59 +00:00
Manav Rathi
ef63d4c7a0 [web] Translation cleanup (#3508) 2024-09-28 16:40:28 +05:30
Manav Rathi
60b9d1e43f Rename 2024-09-28 16:32:45 +05:30
Manav Rathi
c453c7dc81 Remove unused 2024-09-28 16:30:31 +05:30
Manav Rathi
5c41e8ad3c Rename 2024-09-28 16:28:49 +05:30
Manav Rathi
53c706fba7 Rename 2024-09-28 16:27:26 +05:30
Manav Rathi
27a34a08f4 Rename 2024-09-28 16:25:29 +05:30
Manav Rathi
6bea1fa0f5 Rename 2024-09-28 16:24:22 +05:30
Manav Rathi
a97ca411d7 Rename 2024-09-28 16:12:45 +05:30
Manav Rathi
636cd1395c Rename 2024-09-28 16:08:16 +05:30
Manav Rathi
6e23e5e453 Cons 2024-09-28 16:07:17 +05:30
Manav Rathi
77f5d21dad Rename 2024-09-28 16:04:38 +05:30
Manav Rathi
5d210ab740 Rename 2024-09-28 16:02:41 +05:30
Manav Rathi
8d14997f36 [web] New translations (#3507)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-28 16:00:58 +05:30
Crowdin Bot
b6059273fb New Crowdin translations by GitHub Action 2024-09-28 10:27:04 +00:00
Neeraj Gupta
1dde716d26 [mob] Fix: Enable video upload without thumbnail for shared files (#3506)
## Description

## Tests
2024-09-28 14:22:35 +05:30
Neeraj Gupta
8629212584 [mob] Allow video upload with empty thumbnail 2024-09-28 14:18:21 +05:30
Neeraj Gupta
08cf14a72b [mob] Minor improvement in magicSearch cache refresh 2024-09-28 14:14:08 +05:30
Vishnu Mohandas
fe5da2ee8b [docs] Update ML article (#3504) 2024-09-27 23:13:06 -07:00
vishnukvmd
f255ded0b6 [docs] Update ML article 2024-09-27 23:07:32 -07:00
Manav Rathi
59bf51346c [web] Fix redirect on parallel login (#3503) 2024-09-28 10:23:49 +05:30
Manav Rathi
3288f3250b Extract 2024-09-28 10:16:12 +05:30
Manav Rathi
1eb5eaece9 Freshness check 2024-09-28 10:08:11 +05:30
Manav Rathi
08f84c9cf8 Also handle for auth 2024-09-28 09:54:51 +05:30
omove
6d969ab72a [auth] fix x64 install on arm64 Windows
Inno Setup's 'x64' option only allows install on x64 Windows, changing to 'x64compatible' allows x64 installation on arm64 and x64 Windows.
2024-09-28 00:05:59 -04:00
Manav Rathi
da8326229c [web] Redirect to password input on no-email-MFA + new tab
Fixes the following bug report, for a user who has email verification disabled:

> and about verify in new tab...
> it happens when u r at password page after entering email and opening
  ente.auth.io in new tab opens the verify page instead of password
2024-09-28 09:32:25 +05:30
Manav Rathi
05763a5d83 [desktop] People - Empty state (#3498)
+ thumbnails
2024-09-27 20:33:57 +05:30
Manav Rathi
d7e2330f20 Fix render loop 2024-09-27 20:29:14 +05:30
Manav Rathi
99ba5a31d3 Fix warning 2024-09-27 19:27:48 +05:30
Manav Rathi
2aaa23312b Both buttons 2024-09-27 19:15:12 +05:30
Manav Rathi
cc262aad0c New semantics 2024-09-27 19:06:32 +05:30
Manav Rathi
72c93a1703 Tweak styling 2024-09-27 18:44:53 +05:30
ashilkn
2d7e58d743 [mob][photos] Stop passing to GalleryFileWidget as it's no longer needed 2024-09-27 18:41:12 +05:30
ashilkn
fa3a9f4f52 [mob][photos] Stop passing sort order to DetailPage since DetailPage uses files in GalleryFilesState which updates when sort order changes in gallery 2024-09-27 18:41:12 +05:30
ashilkn
0dcc840179 [mob][photos] Remove commented out code 2024-09-27 18:41:12 +05:30
ashilkn
58384004b4 [mob][photos] Minor perf improvement when deleting in DetailPage 2024-09-27 18:41:12 +05:30
ashilkn
3361c1f149 [mob][photos] Stop using async loader in details page. Instead use the list of files in gallery from the GalleryState inherited widget 2024-09-27 18:41:12 +05:30
ashilkn
c7a4cbc365 [mob][photos] Create new inheirted widget to store all files in gallery and throw exception/assert to make sure it's never used incorrectly 2024-09-27 18:41:12 +05:30
ashilkn
de9c294977 [mob][photos] Document use of isSelectionMode in Gallery widget 2024-09-27 18:40:21 +05:30
Manav Rathi
2f27ae7b19 Empty state 2024-09-27 18:37:16 +05:30
Manav Rathi
039256cb05 wip checkpoint people empty state 2024-09-27 18:28:44 +05:30
Aman Raj Singh Mourya
38311cfc47 [mob][photos] show error dialog when something goes wrong 2024-09-27 18:19:54 +05:30
Manav Rathi
167c4efc40 wip empty state 2024-09-27 18:05:49 +05:30
Manav Rathi
5b73eee14c Don't show bar controls in people section 2024-09-27 18:01:16 +05:30
Manav Rathi
eafc8fc4cb Fix logout 2024-09-27 17:12:56 +05:30
Aman Raj Singh Mourya
ac656cfe9f [mob][photos] cached public collectionID 2024-09-27 17:09:26 +05:30
Aman Raj Singh Mourya
1bcacc921b [mob][photos] fixed album name not displaying and app bar fixes 2024-09-27 17:08:45 +05:30
Manav Rathi
370d4af008 Thumbnails shouldn't be revoked
So make the face crops behave the same too
2024-09-27 17:07:37 +05:30
Manav Rathi
4bb6aa2b39 Use 2024-09-27 16:48:18 +05:30
Manav Rathi
01f31c352b Support face crops 2024-09-27 16:47:35 +05:30
Manav Rathi
50c60dff1c [desktop] People - Enable for internal (#3492)
Nearing readiness for beta release
2024-09-27 14:08:39 +05:30
Manav Rathi
7bdbaec443 Unconditionally enable for internal 2024-09-27 14:01:44 +05:30
Manav Rathi
57d245d9e0 Select person 2024-09-27 13:57:04 +05:30
Manav Rathi
8a953cab88 Fix alignment etc 2024-09-27 13:33:03 +05:30
Manav Rathi
2827a166dc people list checkpoint 2024-09-27 13:24:31 +05:30
Manav Rathi
4e04739d54 wip checkpoint 2024-09-27 12:54:17 +05:30
Manav Rathi
7a60b1e15e wip checkpoint 2024-09-27 12:34:41 +05:30
Manav Rathi
e2e374fbf4 wip checkpoint 2024-09-27 12:25:53 +05:30
Manav Rathi
71adb1e366 Another 2024-09-27 11:46:01 +05:30
Manav Rathi
393878a52e More workarounds 2024-09-27 11:35:35 +05:30
Manav Rathi
7644900bd8 Use 2024-09-27 11:26:35 +05:30
Manav Rathi
e70f9b5ccd Ignore temp deleted etc 2024-09-27 11:03:30 +05:30
Manav Rathi
a37ff3cf57 Workarounds 2024-09-27 10:53:28 +05:30
Manav Rathi
9235e41855 Prepare to allow filtering people at the gallery layer 2024-09-27 10:46:34 +05:30
Manav Rathi
71369bf5c9 State 2024-09-27 10:29:33 +05:30
Manav Rathi
924f5ce19b Keep people first 2024-09-27 10:14:53 +05:30
Manav Rathi
4d4b3f8bef Notify about live uploads 2024-09-27 10:06:56 +05:30
Manav Rathi
27a0d7707e Return the count of items indexed 2024-09-27 08:39:29 +05:30
Manav Rathi
57ea097a5d Use new nomenclature 2024-09-27 08:21:58 +05:30
Manav Rathi
2c0f2d43e7 Allow flex 2024-09-27 08:15:56 +05:30
Prateek Sunal
528f503444 Merge remote-tracking branch 'origin/auth-linux-fixes' into auth-linux-fixes 2024-09-27 00:25:31 +05:30
Prateek Sunal
fa9d171287 Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-09-27 00:25:15 +05:30
Prateek Sunal
43ba2ee2da Merge remote-tracking branch 'origin' into auth-linux-fixes 2024-09-27 00:24:12 +05:30
Prateek Sunal
3292655ff7 fix(deb): don't include build number in desktop file 'Version' 2024-09-27 00:23:14 +05:30
Manav Rathi
968067d6aa [desktop] People WIP - More CRUD ops (#3485) 2024-09-26 21:49:42 +05:30
Manav Rathi
de6a494da7 Reset selection 2024-09-26 21:42:59 +05:30
Prateek Sunal
e13f2a379a [auth] add show notes for mobile and desktop menu (#3451)
## Description

## Tests
2024-09-26 21:40:54 +05:30
Manav Rathi
4c0c05a54a qp 2024-09-26 21:20:35 +05:30
Manav Rathi
ac04ceadce Delete 2024-09-26 21:06:40 +05:30
Manav Rathi
91127b6ce5 Don't used cached data
e.g. after a rename, the active person still has the old name even though the
list of people has updated.
2024-09-26 20:48:51 +05:30
Manav Rathi
f95cc1f135 Fix 2024-09-26 20:37:03 +05:30
Manav Rathi
64d7959c95 Split 2024-09-26 20:33:51 +05:30
Manav Rathi
9a444b4881 Rename 2024-09-26 20:33:02 +05:30
Manav Rathi
795187177d Need to also update local clusters 2024-09-26 20:21:16 +05:30
Manav Rathi
54c5c2ce7e Reload 2024-09-26 20:03:12 +05:30
Manav Rathi
1a966fdedd Add workaround
306bc56c21/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart (L701)
2024-09-26 18:46:14 +05:30
Manav Rathi
6f9cd84b6d Shorten to reduce noise 2024-09-26 18:31:10 +05:30
Manav Rathi
4506e5b6d9 [desktop] People WIP - Allow adding (#3481) 2024-09-26 18:24:34 +05:30
Manav Rathi
1c74eae132 Add a workaround 2024-09-26 18:21:19 +05:30
Manav Rathi
262ff01999 Fix lints 2024-09-26 17:44:18 +05:30
Manav Rathi
1daa0f3e07 Proxy 2024-09-26 17:31:15 +05:30
Manav Rathi
c4931de42e Add 2024-09-26 17:28:19 +05:30
Manav Rathi
77cdf673a9 Add a quick action 2024-09-26 17:22:35 +05:30
Manav Rathi
7ff5f74fa6 Use a slide 2024-09-26 17:18:10 +05:30
Neeraj Gupta
57a425e14c [mob] Run discovery forcefully when ml is toggled 2024-09-26 17:13:29 +05:30
Manav Rathi
642c85fe59 Make tsc happy 2024-09-26 17:13:24 +05:30
Manav Rathi
0e046b9c8a wip checkpoint 2024-09-26 17:03:22 +05:30
Manav Rathi
be222f53bf rename 2024-09-26 16:24:50 +05:30
Manav Rathi
0498c70bad Uncustom 2024-09-26 16:19:44 +05:30
Manav Rathi
08fcc02282 Scaffold 2024-09-26 16:03:50 +05:30
Manav Rathi
aef32027a1 Name input 2024-09-26 15:49:25 +05:30
Manav Rathi
f9cbce66c0 Newer 2024-09-26 15:01:29 +05:30
Manav Rathi
39d39eb195 Opts 2024-09-26 14:51:59 +05:30
Manav Rathi
b052026526 Fix console warning 2024-09-26 14:45:57 +05:30
Manav Rathi
8a79ae9b96 Use 2024-09-26 14:37:04 +05:30
Manav Rathi
dbd160c135 Start at attempting to abstract wrap
This can be done much better in many small ways, for now just attempting a
start.
2024-09-26 14:30:56 +05:30
Manav Rathi
7634ba0dea Split options 2024-09-26 14:17:35 +05:30
Manav Rathi
840ba2803e Take 2 2024-09-26 14:11:16 +05:30
Manav Rathi
3093894b12 as const wasn't working
Current tsc - 5.6
2024-09-26 14:09:08 +05:30
Manav Rathi
41d5960d1f Retain type 2024-09-26 13:52:31 +05:30
Manav Rathi
fb63b1d832 Center align 1 2024-09-26 13:18:57 +05:30
Manav Rathi
68c93537d3 Fix thin outline on placeholder 2024-09-26 12:38:45 +05:30
Manav Rathi
0f73a68681 Tweak spacing to account for the "People" option 2024-09-26 12:33:26 +05:30
Manav Rathi
306bc56c21 [desktop] People WIP (Part x/x) - Start uploading updates to cgroups (#3477) 2024-09-26 12:17:24 +05:30
Manav Rathi
feec9a475b Remove unnecessary sort 2024-09-26 12:10:46 +05:30
Manav Rathi
8314cda12a Tweak logging 2024-09-26 12:09:11 +05:30
Manav Rathi
4cc8be748c Fix indexing into the wrong faces 2024-09-26 12:02:27 +05:30
Manav Rathi
5a33820877 Fix 2024-09-26 12:00:39 +05:30
Neeraj Gupta
830f1b9c18 [auth] Enable l10n for Vietnamese, Arabic, Greek, & Slovak (#3476)
## Description

## Tests
2024-09-26 11:31:11 +05:30
Neeraj Gupta
c81cf5a432 Add altName back to T-Mobile icon that was previously removed from json (#3465)
## Description

## Tests
2024-09-26 11:29:39 +05:30
Neeraj Gupta
f71c3f4171 [auth] Enable l10n for Vietnamese, Arabic, Greek, & Slovak 2024-09-26 11:28:05 +05:30
Manav Rathi
5b99902d68 Workaround a spurious tsc error 2024-09-26 11:17:40 +05:30
Neeraj Gupta
2569337be8 [auth] Auth minor improvements & bug fixes (#3475)
## Description

## Tests
2024-09-26 11:14:59 +05:30
Neeraj Gupta
87f7d3a484 [auth] Show theme option for windows & linux 2024-09-26 11:12:16 +05:30
Neeraj Gupta
8fa6adb16a [auth] Default to non-compact mode 2024-09-26 11:09:58 +05:30
Neeraj Gupta
00c9572b43 [auth] Remove double authentication for passkey 2024-09-26 11:09:28 +05:30
Manav Rathi
9424b7a65e Remove unused intermediate concept 2024-09-26 11:09:02 +05:30
Manav Rathi
af680b6da3 Update 2024-09-26 10:54:50 +05:30
Manav Rathi
3826c1f957 Reorder 2024-09-26 10:49:02 +05:30
Manav Rathi
3b6bee6042 Only one diff sync per set 2024-09-26 10:47:42 +05:30
Manav Rathi
2163a5fbea refactor 2024-09-26 10:39:42 +05:30
Manav Rathi
8e485bfe39 Layer 2024-09-26 10:36:04 +05:30
Manav Rathi
c361fcbff4 Entity CRUD 2024-09-26 10:01:27 +05:30
ashilkn
2523a32e94 Merge branch 'main' into hierarchical_search 2024-09-26 09:50:26 +05:30
Manav Rathi
ba063bf4a7 Enable for internal 2024-09-26 09:45:48 +05:30
Manav Rathi
82c0bbb879 Tinker 2024-09-26 09:36:25 +05:30
Manav Rathi
711f31991d Doc 2024-09-26 09:35:58 +05:30
Manav Rathi
9c0d9ac538 Optimize no-op case 2024-09-26 09:34:05 +05:30
Manav Rathi
2521cd6d31 Tweak spacing 2024-09-26 09:09:25 +05:30
Manav Rathi
b5db5e2b83 kMinimumClusterSizeSearchResult
Although that is the file count
2024-09-26 08:57:20 +05:30
Manav Rathi
7d52b60cd9 Retain all clusters so that files get marked 2024-09-26 08:54:48 +05:30
Manav Rathi
08765ccd39 Clip with preprocessing inside ONNX on web (#3466)
## Description

Switched to new clip ONNX model on web, where preprocessing is done
inside ORT. This means it's more performant and more advanced image
processing.

## Tests

Not tested at all! I'm sure I've made a small mistake somewhere, please
review and test carefully.
The only thing properly tested is the model itself, this approach is
tested and passed on mobile.

Also, there's one "TODO: manav" pending, please check.
2024-09-26 08:25:52 +05:30
Manav Rathi
3dcf5fa860 Remove unused anti-aliasing code (since CLIP now uses ONNX) 2024-09-26 07:59:36 +05:30
Manav Rathi
cda925fc80 Tweaks (non-functional) 2024-09-26 07:25:25 +05:30
Laurens Priem
7b2206161e Clip with preprocessing inside ONNX on mobile (#3467)
## Description

Switched to new clip ONNX model on mobile, where preprocessing is done
inside ORT. This means it's more performant and more advanced image
processing.

## Tests

Tested in debug mode on my Pixel 8.
2024-09-26 05:44:19 +05:30
Prateek Sunal
bbd7be4423 fix: remove onNotes tap for mobile 2024-09-26 01:11:29 +05:30
laurenspriem
c8ab6be9f8 [web][photos] Remove old clip preprocessing code web 2024-09-25 23:54:37 +05:30
laurenspriem
5609309660 [web][photos] Move to new clip with preprocessing included 2024-09-25 23:53:28 +05:30
laurenspriem
fa19254bbc [mob][photos remove old clip preprocessing code 2024-09-25 23:04:29 +05:30
laurenspriem
70476b2011 [mob][photos] Remove todo 2024-09-25 23:00:52 +05:30
laurenspriem
7dd9d8aef3 [mob][photos] new clip works 2024-09-25 22:58:23 +05:30
casualsailo
13727b9a96 Add altName back to T-Mobile icon that was previously removed from json 2024-09-25 09:13:33 -07:00
Manav Rathi
6decb15be7 [desktop] People WIP- Part x/x (+ bugfix, clear ML DB on logout) (#3464) 2024-09-25 20:59:09 +05:30
Manav Rathi
a93c43d341 Add missing % symbol 2024-09-25 20:46:18 +05:30
Manav Rathi
40b1cdcabb Clear ML DB on logout 2024-09-25 20:42:16 +05:30
Manav Rathi
f5ee46189c Extract and tweak 2024-09-25 20:35:36 +05:30
Manav Rathi
48cab57d53 Wait for indexing to complete before clustering 2024-09-25 20:00:33 +05:30
ashilkn
38ee4cd1da [mob][photos] Safely add filters to recommended list ensuring that the not any already existing filters in recommended or applied is added 2024-09-25 19:23:34 +05:30
Manav Rathi
7c867f94bf [desktop] People WIP - Part x/x (#3460) 2024-09-25 19:16:12 +05:30
ashilkn
8169bbe1fa [mob][photos] Curate new album filters on each new udpate to applied filters 2024-09-25 19:11:50 +05:30
Manav Rathi
3465253fcc Transform 2024-09-25 18:53:41 +05:30
Manav Rathi
61b324ca05 Rearrange 2024-09-25 18:53:41 +05:30
Manav Rathi
cb57351951 Split 2024-09-25 18:53:41 +05:30
Manav Rathi
3f4250dab3 Reconcile 1 2024-09-25 18:53:41 +05:30
Manav Rathi
1efbbf2b2f Rearrange 2024-09-25 18:53:41 +05:30
Manav Rathi
1ff21b3d8e Start with existing clusters 2024-09-25 18:53:41 +05:30
Manav Rathi
31ffc5bee5 Doc 2024-09-25 18:53:40 +05:30
Manav Rathi
6cd43707a8 Pull 2024-09-25 18:53:40 +05:30
Manav Rathi
3324019b38 Percentage during clustering 2024-09-25 18:53:40 +05:30
Manav Rathi
cc02236ca9 Rename 2024-09-25 18:53:40 +05:30
Manav Rathi
ece4980d94 Mention our experience so far 2024-09-25 18:53:40 +05:30
ashilkn
17cf7fe6a4 [mob][photos] On applying the first filter on hierarchical search, add the initial gallery filter to applied filters
If we are on an album named 'Trip to Coorg' and another album filter is added, a functional  filter chip will get added to applied filters automatically
2024-09-25 15:41:07 +05:30
Aman Raj Singh Mourya
d6bed953a1 [mob][photos] made shared_public_collection to handle public link seprately 2024-09-25 15:18:17 +05:30
Neeraj Gupta
47b6e758d2 [mob] Fix Handling live photo dups with different zip side (#3452)
## Description

## Tests
2024-09-25 14:48:46 +05:30
laurenspriem
53c19bc64e [mob][photos] Temp disable custom plugin 2024-09-25 14:40:40 +05:30
laurenspriem
bd232c151a [mob][photos] Test for iOS 2024-09-25 14:34:25 +05:30
Manav Rathi
8970074f80 [web] Store user entities verbatim (#3458) 2024-09-25 13:58:46 +05:30
Manav Rathi
27d901bc60 Fix key names in migration 2024-09-25 13:49:39 +05:30
Manav Rathi
e87a6a5106 Fix 2024-09-25 13:47:24 +05:30
Manav Rathi
7f132b1827 cgroups 2024-09-25 13:41:54 +05:30
Manav Rathi
b763cab1ba Generic pull 2024-09-25 13:26:15 +05:30
Aman Raj Singh Mourya
a8d1a80578 Merge branch 'main' into deeplinks 2024-09-25 13:24:20 +05:30
ashilkn
bd6fe03710 [mob][photos] Do not show up the initial gallery filter on hierarchical search's filter recommendations
For example, if we search for an album 'Trip to Coorg' and go in the album, 'Trip to Coorg' shouldn't come up in recommended filters
2024-09-25 13:14:54 +05:30
Neeraj Gupta
e1a7d61d49 [auth] Misc bugs fix (#3455)
## Description

## Tests
2024-09-25 12:51:00 +05:30
Neeraj Gupta
0a4d415950 [auth] Improve code formatting 2024-09-25 12:48:38 +05:30
Neeraj Gupta
c9af246a3a [auth] Bump version 2024-09-25 12:45:01 +05:30
Neeraj Gupta
718c2544c8 [auth] Update simple-icons 2024-09-25 12:44:35 +05:30
Neeraj Gupta
2c4cbed467 [auth] Handle case when issuer contains : 2024-09-25 12:39:36 +05:30
Neeraj Gupta
cd917f58ca [auth] Increase refresh frequency 2024-09-25 12:34:05 +05:30
Manav Rathi
15a7e0b805 Mig 2024-09-25 12:27:51 +05:30
Manav Rathi
f702a93031 Save JSON directly 2024-09-25 12:23:56 +05:30
Manav Rathi
432ef74101 Support arbitrary JSON values in kv store 2024-09-25 12:18:06 +05:30
Manav Rathi
dd5dae2833 Notes 2024-09-25 12:06:16 +05:30
ashilkn
88891bf24e [mob][photos] Go back to search screen if all applied filters are de-selected 2024-09-25 11:55:07 +05:30
ashilkn
798c8f0782 [mob][photos] Enable use of hierarchical search in album page 2024-09-25 11:54:27 +05:30
Manav Rathi
2c0739e1d1 Footprint 2024-09-25 10:40:17 +05:30
Manav Rathi
3449021272 Move to utils 2024-09-25 10:23:50 +05:30
Manav Rathi
c01a439b81 Split 2024-09-25 10:22:38 +05:30
Manav Rathi
1d5cca6ee1 namespace 2024-09-25 10:00:07 +05:30
Manav Rathi
55022ec1ee [web] Introduce selection context (#3453)
This is prep for photos in the people section to be selectable.
2024-09-25 09:45:05 +05:30
Neeraj Gupta
821787f81d Merge remote-tracking branch 'origin/main' into handle_live_photo_dups 2024-09-25 06:34:51 +05:30
Neeraj Gupta
bc7704916a [mob] Bump version 2024-09-25 06:34:44 +05:30
Neeraj Gupta
7ed620d817 [mob] Fix dedupe for live photos with different size 2024-09-25 06:34:19 +05:30
Prateek Sunal
1bfa7b1998 fix: add show notes for mobile and desktop menu 2024-09-25 05:39:22 +05:30
Aman Raj Singh Mourya
bda3ec2e3a [mob][photos] added a new gallery type for shared public link 2024-09-25 01:04:23 +05:30
Aman Raj Singh Mourya
71e87ad2aa [mob][photos] Updated public_url to save shared public link data 2024-09-25 01:03:37 +05:30
Prateek Sunal
484b05bdb2 fix: update receipe for linux and windows 2024-09-25 00:16:59 +05:30
Manav Rathi
0cff1ef315 rename 2024-09-24 20:19:10 +05:30
Manav Rathi
fe2d69aad3 mark as needing doing 2024-09-24 19:41:04 +05:30
Manav Rathi
e55c6fef4d Explicit list 2024-09-24 19:30:40 +05:30
Manav Rathi
e53312304a Mirror search mode 2024-09-24 19:27:45 +05:30
Manav Rathi
f6f81c4eeb Add to collection creates 2 entries for a file 2024-09-24 19:25:27 +05:30
ashilkn
1258558be8 [mob][photos] Improve curation of album filter recommendation 2024-09-24 19:19:33 +05:30
Manav Rathi
9574704154 Tweak people selection options 2024-09-24 19:03:46 +05:30
Manav Rathi
bad6fd9fae [web] Introduce selection context
- For handling collection / people split
- This can be done better (much!), need to revisit
2024-09-24 18:45:21 +05:30
Aman Raj Singh Mourya
886d7e98d4 [mob][photos] minor changes 2024-09-24 18:35:04 +05:30
Manav Rathi
06bd58edce [web] People bar - Part x/x (#3445) 2024-09-24 18:30:41 +05:30
Manav Rathi
459b49a121 lf 2024-09-24 18:22:43 +05:30
ashilkn
468386ede6 [mob][photos] Get just the album filters logic working on gallery 2024-09-24 18:19:55 +05:30
Neeraj Gupta
6d0f44b1da [auth] Minor improvements (#3443)
## Description

## Tests
2024-09-24 16:51:41 +05:30
Manav Rathi
5076cf7647 tweak 2024-09-24 16:50:04 +05:30
Neeraj Gupta
c656a1c6a4 Merge remote-tracking branch 'origin/main' into auth_window_size 2024-09-24 16:49:10 +05:30
Neeraj Gupta
14a3f426ce [AUTH] Replace Icon for bybit.com (#3279)
### Replaced old very transparented ByBit Icon with a Visible and Clear
Icon for in-App

### A new Original Background and Proper Text Color has been Added to
the Icon to Replace the Old One
2024-09-24 16:48:48 +05:30
Neeraj Gupta
cfe83a40e5 [auth] Added and updated icons (#3419)
## Description

Added logos:
- 23andMe
- ForUsAll
- Guideline
- Gusto
- ID.me
- Login.gov
- Titan

Updated:
- Canva
- Coinbase
- eBay

Fixed T-Mobile that had an icon but was removed from the json.
2024-09-24 16:47:31 +05:30
Neeraj Gupta
c90feccfa4 [auth] Bump version v4.0.1 2024-09-24 16:46:43 +05:30
Neeraj Gupta
06a55bc11a [auth] Use SelectableText for notes 2024-09-24 16:46:25 +05:30
Manav Rathi
a0df76c2c3 Color 2024-09-24 16:46:16 +05:30
Neeraj Gupta
aa8d910a0b [auth] Fix bottom bar for iPad 2024-09-24 16:40:09 +05:30
Manav Rathi
e10613fa0f person header 2024-09-24 16:38:10 +05:30
Manav Rathi
f45b48a347 unfile 2024-09-24 16:36:06 +05:30
Neeraj Gupta
75362199e5 [server] Remove invites & remove members during closeFamily (#3442)
## Description

Currently, we force the admin to remove the members themself and revoke
the invite before a family account can be closed.
Going forward, this action will be automatically done. This will help in
reducing support overhead.

## Tests
2024-09-24 16:17:49 +05:30
Manav Rathi
4d56b4b406 rename 2024-09-24 16:16:54 +05:30
Manav Rathi
f07f3b320e move returns together 2024-09-24 16:03:42 +05:30
Neeraj Gupta
006eed1cd8 [auth] Request authentication to view passkeys (#3424)
## Description

## Tests
2024-09-24 16:01:31 +05:30
Manav Rathi
3e5a9271d7 prune 2024-09-24 16:00:56 +05:30
Neeraj Gupta
9dd18f0137 [auth] Show notes on bottom action bar 2024-09-24 15:59:51 +05:30
Manav Rathi
002a652cfd fin 2024-09-24 15:54:48 +05:30
Neeraj Gupta
40f34417d9 [auth] Fix state refresh bug 2024-09-24 15:50:42 +05:30
Manav Rathi
ffa80c9db2 newer 2024-09-24 15:42:17 +05:30
Manav Rathi
62dadd7e75 shorter 2024-09-24 15:41:07 +05:30
Manav Rathi
d2fe71f478 unnest 2024-09-24 15:37:36 +05:30
Manav Rathi
f856db2cb7 use newer 2024-09-24 15:35:24 +05:30
Manav Rathi
25386d194b use newer 2024-09-24 15:33:38 +05:30
Manav Rathi
35f7ce07f1 use newer 2024-09-24 15:30:20 +05:30
Neeraj Gupta
8c722c39ec [server] Remove invites & remove members during closeFamily 2024-09-24 15:28:47 +05:30
Manav Rathi
c71c3e7ef8 use newer 2024-09-24 15:25:11 +05:30
Manav Rathi
d3ab7f530c overlay 2024-09-24 15:22:02 +05:30
Manav Rathi
be2b01f722 unused 2024-09-24 15:13:24 +05:30
Manav Rathi
9ac05bc873 header 1 2024-09-24 15:03:19 +05:30
Manav Rathi
be7bb8e4b6 temp move 2024-09-24 14:42:10 +05:30
Manav Rathi
be4536ac30 extract 2024-09-24 14:26:49 +05:30
Manav Rathi
47e2d2f915 tweak 2024-09-24 14:15:56 +05:30
Manav Rathi
b47c027cbd rename 2024-09-24 14:08:50 +05:30
Manav Rathi
4e6dd14c71 [web] People bar - Part x/x (#3440) 2024-09-24 13:55:19 +05:30
Manav Rathi
34edc9b2e8 new 2024-09-24 12:46:11 +05:30
Manav Rathi
51f64799aa rename 2024-09-24 12:25:57 +05:30
Manav Rathi
4791b10d91 rename 2024-09-24 12:21:16 +05:30
Manav Rathi
c595c88e82 person sugg 2024-09-24 12:12:34 +05:30
Manav Rathi
6657695858 Fix 2024-09-24 12:06:37 +05:30
Manav Rathi
bc5be62de4 Header 2024-09-24 11:48:44 +05:30
Manav Rathi
78fd9cc6e6 Select 2024-09-24 11:35:30 +05:30
Manav Rathi
29aa608399 Ah 2024-09-24 10:19:40 +05:30
Manav Rathi
310e319057 2nd dup 2024-09-24 10:15:22 +05:30
Manav Rathi
bef3d0949c Mode switcher 2024-09-24 10:04:19 +05:30
Manav Rathi
e45baf6238 Button 2024-09-24 09:48:47 +05:30
Manav Rathi
454f93fadb rename 2024-09-24 09:35:19 +05:30
Manav Rathi
76a6b7402c [web] New translations (#3433)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-24 08:56:16 +05:30
Manav Rathi
9d4c5b29b3 [web] Gallery bar refactoring (#3437)
Prepping for showing people here
2024-09-24 08:55:53 +05:30
Manav Rathi
ae50c83960 Fix 2024-09-24 08:35:50 +05:30
Manav Rathi
c6fdd6352e Add an exception 2024-09-24 08:33:27 +05:30
Manav Rathi
bed57c083c Fix lints 2024-09-24 08:29:59 +05:30
Manav Rathi
cda5caec3f Move 2024-09-24 08:13:15 +05:30
Manav Rathi
01d48b0fcc Rearrange 2024-09-24 08:09:25 +05:30
Manav Rathi
4780f545fe Rearrange 2024-09-24 08:02:56 +05:30
Manav Rathi
80ed1e47b0 Move 2024-09-24 07:58:48 +05:30
Manav Rathi
5c7f775f14 Move 2024-09-24 07:53:21 +05:30
Manav Rathi
7ff5d40152 wip: checkpoint 2024-09-24 07:14:21 +05:30
Manav Rathi
b4dbd942ab wip: checkpoint 2024-09-24 07:03:05 +05:30
Manav Rathi
627a53428a wip: checkpoint 2024-09-24 06:48:46 +05:30
Manav Rathi
35581099fc New order 2024-09-24 05:35:09 +05:30
Manav Rathi
e62dfe0a07 Unenum 2024-09-24 04:59:29 +05:30
Manav Rathi
21ae075674 Move 2024-09-24 04:51:06 +05:30
Manav Rathi
2660cee263 Rename 2024-09-24 04:49:08 +05:30
Manav Rathi
2ae8a11138 Rename 2024-09-24 04:48:09 +05:30
Crowdin Bot
70c62a62a6 New Crowdin translations by GitHub Action 2024-09-23 23:10:26 +00:00
Manav Rathi
a43599aad2 [web] Empty state tweaks (#3432)
- Stay on empty albums after ops
- Modify empty state message
2024-09-24 04:39:35 +05:30
Manav Rathi
5bcce4d610 Modify empty state message 2024-09-24 04:34:03 +05:30
Manav Rathi
d61d9b95ad Stay on empty albums
Change the behaviour to stay on the empty album (instead of automatically
jumping to all) even after all files have been deleted/moved from it. Use case
is that I might want to upload new ones.
2024-09-24 04:33:14 +05:30
Connor McCurdy
682d97f15a Delete auth/assets/custom-icons/icons/drop.svg
Removed drop logo that was added in initial commit
2024-09-23 11:04:14 -05:00
Connor McCurdy
46b210c600 Removed drop
Realized it's a dead platform
2024-09-23 10:59:47 -05:00
Manav Rathi
4f5f90259d [web] More refactoring, prepping for the people bar (#3430) 2024-09-23 20:53:18 +05:30
Aman Raj Singh Mourya
119ae6d345 [mob][photos] remove redundant logging 2024-09-23 20:43:08 +05:30
Manav Rathi
d8d5e62888 deprecate half 2024-09-23 20:40:06 +05:30
Manav Rathi
2cef85dfd9 new 2024-09-23 20:36:07 +05:30
Manav Rathi
31ef1e4e29 Genericize 2024-09-23 20:24:02 +05:30
Manav Rathi
952e9254b4 rearrange 2024-09-23 20:06:37 +05:30
Manav Rathi
8e7ec58f45 rearrange 2024-09-23 19:58:45 +05:30
Manav Rathi
7422568093 rearrange 2024-09-23 19:48:29 +05:30
Manav Rathi
39b09abc50 person 2024-09-23 19:35:20 +05:30
Manav Rathi
8b3315e85f Cleanup 2024-09-23 19:26:08 +05:30
Manav Rathi
19273927d1 wip: checkpoint 2024-09-23 19:17:07 +05:30
Manav Rathi
374625f5b3 Use a callback ref so that it's always updated
https://legacy.reactjs.org/docs/hooks-faq.html#how-can-i-measure-a-dom-node
2024-09-23 19:03:13 +05:30
Manav Rathi
2fae026a77 Make sure types are at the latest 2024-09-23 19:02:23 +05:30
Manav Rathi
01488be836 wip: checkpoint 2024-09-23 17:28:11 +05:30
Manav Rathi
953c915508 Tweak 2024-09-23 17:20:53 +05:30
Manav Rathi
9a0ea3ac43 Match the event name 2024-09-23 16:59:39 +05:30
Manav Rathi
42d36b35d2 [web] Exif fixes and improvements (#3426) 2024-09-23 16:18:18 +05:30
Manav Rathi
630b6d4101 Fail the upload of file instead of adding malformed metadata
Mobile app crash

 [DiffFetcher] [SEVERE] [2024-09-14 01:03:33.632159] type 'List<dynamic>' is not a subtype of type 'int?'
⤷ type: _StackTrace
⤷ error: #0      PubMagicMetadata.fromMap (package:photos/models/metadata/file_magic.dart:91)

ce5354e19d/mobile/lib/models/metadata/file_magic.dart (L91)
2024-09-23 15:44:23 +05:30
Manav Rathi
72ba8bcd64 Fix crash on viewing exif with the following data:
{
    "tags": {
        "icc": {
            "value": {
                "en-US": "Camera RGB Profile",
                ...
                "zh-CN": "?? RGB ????"
            },
            "description": {
                "en-US": "Camera RGB Profile",
                "es-ES": "Perfil RGB para CÔøΩmara",
                ...
                "zh-CN": "?? RGB ????"
            }
        }
    }
}
2024-09-23 15:30:58 +05:30
Manav Rathi
93f753fdff [web] Live photo clubbing improvements (#3422) 2024-09-23 15:12:24 +05:30
Aman Raj Singh Mourya
27defa92c2 [auth] extract strings 2024-09-23 15:12:15 +05:30
Aman Raj Singh Mourya
6ba9ed9f8d [auth] authentication to view passkey 2024-09-23 15:11:20 +05:30
Manav Rathi
6c5c3131f5 Handle tz 2024-09-23 14:39:34 +05:30
Neeraj Gupta
bb23c750a5 [mob] Discover improvements (#3421)
## Description

## Tests
2024-09-23 14:38:16 +05:30
Neeraj Gupta
c036c8c7ba [mob] Bump version 2024-09-23 14:34:35 +05:30
Neeraj Gupta
6464bf172f refactor 2024-09-23 14:30:40 +05:30
Neeraj Gupta
46e6af660e [mob] Log to match count for magicSearch 2024-09-23 14:29:02 +05:30
Neeraj Gupta
b18d987ba2 [mob] Upgrade discover results more frequently 2024-09-23 14:26:31 +05:30
Manav Rathi
6b12f0a595 Fix 2024-09-23 13:59:48 +05:30
connor
40b2b725b4 [auth] Added and updated icons 2024-09-23 03:20:45 -05:00
Manav Rathi
00346db9f9 Add GT special case 2024-09-23 13:45:33 +05:30
Manav Rathi
78826d7782 Keep the JSON avail in the top leevl fn 2024-09-23 13:40:04 +05:30
Manav Rathi
31f591c28f Move 2024-09-23 13:35:18 +05:30
Manav Rathi
0b0d8bd026 Rename 2024-09-23 13:30:39 +05:30
Manav Rathi
76e4d535b4 [desktop] People bar - WIP - Part x/x (#3418) 2024-09-23 13:11:15 +05:30
Neeraj Gupta
7f00b2619e [auth] New translations (#3414)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-09-23 11:54:58 +05:30
Manav Rathi
6a592af94a tweak 2024-09-23 11:50:54 +05:30
Neeraj Gupta
bea6e8b473 [auth] Make compact mode default & minor fixes (#3416)
## Description

## Tests
2024-09-23 11:48:56 +05:30
Neeraj Gupta
7cfdd6ec55 [mob] Safe parse h/w from public magicMetadata (#3417)
## Description

## Tests
2024-09-23 11:48:31 +05:30
Manav Rathi
b97cf93c12 wip: checkpoint 2024-09-23 11:48:25 +05:30
Manav Rathi
2865113c4d wip: checkpoint 2024-09-23 11:42:49 +05:30
Neeraj Gupta
ee1dbd7e84 Safe parse h/w from public magicMetadata 2024-09-23 11:42:15 +05:30
Neeraj Gupta
5a21c932df Lint fix 2024-09-23 11:29:45 +05:30
Manav Rathi
c4021a82f5 Help out tsc
Ref: https://stackoverflow.com/questions/45555748/assign-to-union-type-in-typescript
2024-09-23 11:29:04 +05:30
Neeraj Gupta
6e209a68e2 [mobile] New translations (#3413)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-09-23 11:27:18 +05:30
Neeraj Gupta
090e2f235b Update auth faq.md (#3415)
## Description

## Tests
2024-09-23 11:26:04 +05:30
Neeraj Gupta
a536d6af63 auth: show action button to update windows cert 2024-09-23 11:25:36 +05:30
Manav Rathi
53cf029f00 wip: checkpoint 2024-09-23 11:20:31 +05:30
Neeraj Gupta
48d6c2d008 [auth] Use web for FAQ 2024-09-23 11:12:52 +05:30
Manav Rathi
28095ca935 Extract 2024-09-23 11:04:00 +05:30
Manav Rathi
d31d7592cb Use standard memo
Too many renders for this component (both before and after):
- page load - 23
- click - 6
2024-09-23 10:57:12 +05:30
Neeraj Gupta
7645ec0e24 Update auth faq.md 2024-09-23 10:38:38 +05:30
Neeraj Gupta
5c0fe9c411 [auth] Use help website for FAQ 2024-09-23 10:31:31 +05:30
Manav Rathi
80416d5b90 tweak 2024-09-23 10:11:20 +05:30
Manav Rathi
9ce432681e Reorder 2024-09-23 10:08:29 +05:30
Manav Rathi
e91cddbc25 Restore clickable header 2024-09-23 09:58:38 +05:30
Neeraj Gupta
a37dcceb41 [auth] Enable compact mode by default 2024-09-23 09:44:11 +05:30
Manav Rathi
aa31e4354c [web] New translations (#3411)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-23 09:11:53 +05:30
Crowdin Bot
a92115ffb1 New Crowdin translations by GitHub Action 2024-09-23 01:17:18 +00:00
Crowdin Bot
7f0d028b55 New Crowdin translations by GitHub Action 2024-09-23 01:04:53 +00:00
Crowdin Bot
628edf713b New Crowdin translations by GitHub Action 2024-09-23 00:33:54 +00:00
Neeraj Gupta
4f74470abe [auth] Minor fixes (#3403)
## Description

## Tests
2024-09-22 22:32:22 +05:30
Neeraj Gupta
b5ad13ee69 [auth] Add device auth check for passkey 2024-09-22 22:29:07 +05:30
Neeraj Gupta
4383512540 [auth] Minor fix 2024-09-22 22:26:35 +05:30
Neeraj Gupta
59a68b56bc [auth] Improve account name parsing 2024-09-22 22:23:58 +05:30
Neeraj Gupta
09c4b19449 [auth][l10n]: Add Bulgarian translation (#3402)
## Description

## Tests
2024-09-22 22:17:49 +05:30
Crea7orX
d4cd71b56c [auth][l10n]: Add Bulgarian translation 2024-09-22 18:52:19 +03:00
Vishnu Mohandas
a01ea511e9 [docs] Update links to Auth (#3393) 2024-09-22 10:11:45 +05:30
vishnukvmd
ab6f514d23 Update links to Auth 2024-09-21 21:41:25 -07:00
Aman Raj Singh Mourya
fd3991bab6 [mob][photos] updated public_url.dart to store additional information of public links 2024-09-21 19:29:07 +05:30
Aman Raj Singh Mourya
add3278c89 [mob][photos] fuction to handle deeplinks 2024-09-21 19:28:09 +05:30
Aman Raj Singh Mourya
130418e443 [mob][photos] add configurations for opening links in mobile app 2024-09-21 19:27:06 +05:30
Manav Rathi
b4d8dea2ef [desktop] Add CHANGELOG entry for shared export (#3385)
https://github.com/ente-io/ente/pull/3319
2024-09-21 18:22:19 +05:30
Manav Rathi
2abd0b0588 [desktop] Add CHANGELOG entry for shared export
https://github.com/ente-io/ente/pull/3319
2024-09-21 18:21:23 +05:30
Manav Rathi
dae0492800 [web] Album cast dialog - Non functional tweaks (#3384) 2024-09-21 18:16:44 +05:30
Trekky12
94a8ff2c6f Include exporting of shared files on desktop (#3319)
## Description
This PR adds a new switch on the ExportModal to include export of shared
files.
This should fix https://github.com/ente-io/ente/discussions/2322
2024-09-21 18:14:09 +05:30
ashilkn
6aebe8ad39 [mob][photos] Show applied filters in app bar of search result page (unpolished UI) 2024-09-21 18:03:16 +05:30
ashilkn
d7a08bed88 [mob][photos] chore 2024-09-21 18:00:09 +05:30
Manav Rathi
aae00dcc15 Doc 2024-09-21 17:59:41 +05:30
ashilkn
2b5bb5f338 [mob][photos] Create AppliedFilters widget 2024-09-21 17:59:37 +05:30
Manav Rathi
18c7d59f90 Spacing 2024-09-21 17:57:29 +05:30
Manav Rathi
fcf87d237b Spacing 2024-09-21 17:39:28 +05:30
Manav Rathi
f88022730a Regular button works for us 2024-09-21 17:35:37 +05:30
Manav Rathi
753ed30d5c Tinker 2024-09-21 17:25:13 +05:30
Manav Rathi
216be38915 Use same convention for modals 2024-09-21 17:23:17 +05:30
Manav Rathi
164ace9f8c Tinker 2024-09-21 17:17:37 +05:30
Manav Rathi
a97bb195b6 Update docs
We're moving to nanoids
2024-09-21 17:09:39 +05:30
Manav Rathi
9ecb7c4044 Remove unused 2024-09-21 17:04:37 +05:30
Manav Rathi
1895e90b3e Workaround 2024-09-21 17:02:49 +05:30
Manav Rathi
f118a9d2f2 Rename to mirror sender 2024-09-21 16:49:15 +05:30
Manav Rathi
bb5261f73b Tweaks 2024-09-21 16:42:46 +05:30
Manav Rathi
225dade722 Use types 2024-09-21 16:36:08 +05:30
Manav Rathi
c39a3c789d Add types 2024-09-21 16:30:03 +05:30
ashilkn
98aca5090b [mob][photos] Use better name for widget 2024-09-21 16:24:08 +05:30
Manav Rathi
28580cf107 Prune 2024-09-21 16:19:31 +05:30
ashilkn
d55559b811 [mob][photos] Show recommendations on the search results page 2024-09-21 16:17:12 +05:30
Manav Rathi
6799ee3832 Prune unused 2024-09-21 16:15:09 +05:30
ashilkn
63649a25e4 [mob][photos] Create a MVP widget of recommendations row that can be plugged in to bottom of app bar, which will show curated recommendations of filters specific to a gallery 2024-09-21 16:05:35 +05:30
Manav Rathi
d86df11f15 [web] New translations (#3383)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-21 15:50:35 +05:30
Crowdin Bot
7b04bd548a New Crowdin translations by GitHub Action 2024-09-21 10:19:47 +00:00
Manav Rathi
ffaf4659ce [web] Remove unnecessary translation (#3382)
This title is not adding anything to the dialog
2024-09-21 15:49:02 +05:30
Manav Rathi
8fc38244f3 [web] Remove unnecessary translation
This title is not adding anything to the dialog
2024-09-21 15:48:15 +05:30
Manav Rathi
415cf451a8 [web] New translations (#3380)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-21 15:06:19 +05:30
Crowdin Bot
f4709d3442 New Crowdin translations by GitHub Action 2024-09-21 09:34:20 +00:00
ashilkn
85fe1168a1 [mob][photos] Improvements to SearchFilterDataProvider 2024-09-21 15:01:18 +05:30
Manav Rathi
0f6c8a6441 [web] Translation cleanup (#3379) 2024-09-21 14:52:01 +05:30
Manav Rathi
f337b1ff36 Move 2024-09-21 14:45:56 +05:30
Manav Rathi
2799652d3a Rename 2024-09-21 14:42:41 +05:30
Manav Rathi
6b92acbb11 Rename 2024-09-21 14:38:37 +05:30
Manav Rathi
a343fe5427 Rename 2024-09-21 14:35:42 +05:30
Manav Rathi
d10e37454d Rename 2024-09-21 14:31:54 +05:30
Manav Rathi
1cb80e619b Rename 2024-09-21 14:31:09 +05:30
Manav Rathi
d307b4bf07 Rename 2024-09-21 14:28:14 +05:30
Manav Rathi
5967f2a66a Rename 2024-09-21 14:25:46 +05:30
Manav Rathi
6e6248a3c2 Rename 2024-09-21 14:23:42 +05:30
Manav Rathi
aff37dc5df Rename 2024-09-21 14:21:21 +05:30
Manav Rathi
b2b4a703ac Rename 2024-09-21 14:17:53 +05:30
Manav Rathi
46f9a16db9 Rename 2024-09-21 14:14:09 +05:30
Manav Rathi
d232c94547 Move 2024-09-21 14:12:36 +05:30
Manav Rathi
dc6217eb7a Rename 2024-09-21 14:11:15 +05:30
Manav Rathi
98123438fa Move 2024-09-21 14:10:29 +05:30
Manav Rathi
4c51c960f2 Rename 2024-09-21 14:07:44 +05:30
Manav Rathi
a89d7e472f Rename 2024-09-21 14:02:53 +05:30
Manav Rathi
ef1b192ced Rename 2024-09-21 14:01:05 +05:30
Manav Rathi
19d82d332c Move 2024-09-21 14:00:14 +05:30
Manav Rathi
0d97355838 Rename 2024-09-21 13:58:57 +05:30
Manav Rathi
04b296587a Move 2024-09-21 13:52:57 +05:30
Manav Rathi
3193778c98 Rename 2024-09-21 13:52:21 +05:30
Manav Rathi
4a7ec88424 Rename 2024-09-21 13:49:56 +05:30
Manav Rathi
201bda3999 Rename 2024-09-21 13:48:24 +05:30
Manav Rathi
50ab94a355 Rename 2024-09-21 13:46:05 +05:30
Manav Rathi
790f34662a Move 2024-09-21 13:44:19 +05:30
Manav Rathi
d0138310dc Rename Rename 2024-09-21 13:43:07 +05:30
Manav Rathi
cb66494924 Rename 2024-09-21 13:33:33 +05:30
Manav Rathi
a322a28e44 Rename 2024-09-21 13:33:01 +05:30
Manav Rathi
a95a21790b Rename 2024-09-21 13:27:37 +05:30
Manav Rathi
e8d0673a9a [web] Collection bar refactoring (#3377)
Prep for showing people here.
2024-09-21 13:23:56 +05:30
Manav Rathi
f8f4db409b Fix lints 2024-09-21 13:18:30 +05:30
Manav Rathi
f4e260cfb3 Inline 2024-09-21 12:46:36 +05:30
Manav Rathi
e605169ac1 Height 2024-09-21 12:42:06 +05:30
Manav Rathi
811fe93dcc Wrap all network ops 2024-09-21 12:31:10 +05:30
Manav Rathi
6d7a6b86f7 Mark unawaited 2024-09-21 12:18:54 +05:30
Manav Rathi
5760b6a56b Reduce boilerplate 2024-09-21 12:16:27 +05:30
Manav Rathi
6b04ef69ed memo
preemptive optimization, might not be necessary
2024-09-21 11:54:05 +05:30
Manav Rathi
2f0d06cad7 Cleanup 2024-09-21 11:52:20 +05:30
Manav Rathi
08ee4e2861 Dedup 2024-09-21 11:49:18 +05:30
Manav Rathi
282b440d0f Cleanup 2024-09-21 11:46:39 +05:30
Manav Rathi
c9e29dbcbe Direct 2024-09-21 11:39:31 +05:30
Manav Rathi
ca62fb5105 Direct 2024-09-21 11:35:17 +05:30
Manav Rathi
58ca0a5cd4 Direct 2024-09-21 11:32:14 +05:30
Neeraj Gupta
3ef7185166 [doc] Update Referral.md (#3375)
## Description

## Tests
2024-09-21 11:26:08 +05:30
Manav Rathi
b92e9f4c6e Direct 2024-09-21 11:26:07 +05:30
Manav Rathi
2f2eb4e265 Reify 2024-09-21 11:23:49 +05:30
Manav Rathi
17aa385782 Reify 2024-09-21 11:22:59 +05:30
Neeraj Gupta
0ac6ea9af8 [doc] Update Referral.md 2024-09-21 11:14:49 +05:30
Manav Rathi
fce4c9869e Reify 2024-09-21 11:05:04 +05:30
Manav Rathi
1eca25b050 Reify 2024-09-21 11:01:13 +05:30
Manav Rathi
47a0ee749e wrap 2024-09-21 10:56:50 +05:30
Manav Rathi
1c86a69cd6 Use 2024-09-21 10:53:49 +05:30
Manav Rathi
ce8310c874 Reify 2024-09-21 10:50:08 +05:30
Manav Rathi
e607b4e3ed Reify 2024-09-21 10:30:37 +05:30
Manav Rathi
498a4dcd4e Reify 2024-09-21 10:28:53 +05:30
Manav Rathi
624726734f Reify 2024-09-21 10:25:46 +05:30
Neeraj Gupta
4b4350c107 [mob] Fix various issues from bug tracking tool (#3362)
## Description

## Tests
2024-09-21 10:22:47 +05:30
Manav Rathi
ecb785d75c Rename 2024-09-21 10:17:41 +05:30
Manav Rathi
2c1637c55c Reify 2024-09-21 10:16:17 +05:30
Neeraj Gupta
31f210da31 [mob] Fix 2024-09-21 10:10:59 +05:30
Manav Rathi
777f298ca3 Less noise 2024-09-21 09:43:06 +05:30
Neeraj Gupta
c5c86c484e Merge remote-tracking branch 'origin/main' into cleanup_config 2024-09-21 09:41:34 +05:30
Neeraj Gupta
e9b3e76b50 [mob] Bump version v0.9.43 2024-09-21 09:40:57 +05:30
Manav Rathi
15e31f1763 Unwrap a component that has no logic 2024-09-21 09:40:48 +05:30
Neeraj Gupta
fffebec025 [mob] Fix sub price order 2024-09-21 09:40:29 +05:30
Manav Rathi
35957b1f40 Position the spinner better 2024-09-21 09:39:17 +05:30
Manav Rathi
6ee7500011 Inline and reify 2024-09-21 09:32:08 +05:30
Neeraj Gupta
803195afdd [mob] Fix lint 2024-09-21 09:17:24 +05:30
Manav Rathi
2c23c3463e Reify 2024-09-21 09:15:35 +05:30
Manav Rathi
39c5a3f1bd Reify 2024-09-21 09:09:27 +05:30
Manav Rathi
c625593162 Fwd 2024-09-21 09:03:20 +05:30
Manav Rathi
5864648c24 Abstract 2024-09-21 08:59:26 +05:30
Manav Rathi
b605e41f9e Wrap 2024-09-21 08:50:49 +05:30
Manav Rathi
ffc082eec4 3 2024-09-21 08:44:02 +05:30
Manav Rathi
692e12979b Remove args from handler 2024-09-21 08:32:22 +05:30
Manav Rathi
9ff6a79ada Unex 2024-09-21 08:14:56 +05:30
Manav Rathi
530ae6c0be Up 2024-09-21 08:14:00 +05:30
Manav Rathi
1aab753046 Inline 2024-09-21 08:13:10 +05:30
Manav Rathi
3e131464e6 Pl 2024-09-21 08:11:52 +05:30
Manav Rathi
1aa940d410 Inline 2024-09-21 08:11:10 +05:30
Manav Rathi
33bc19978c Inline 2024-09-21 08:09:41 +05:30
Manav Rathi
4670c1d712 Inline 2024-09-21 08:08:24 +05:30
Manav Rathi
ff32e6852e Inline 2024-09-21 08:06:19 +05:30
Manav Rathi
b39e727e0a Move 2024-09-21 08:03:54 +05:30
Manav Rathi
2a1931157c Doc 2024-09-21 07:57:35 +05:30
Manav Rathi
15370fa731 Rename Fin 2024-09-21 07:54:17 +05:30
Manav Rathi
b65a7055c1 Rename 2 2024-09-21 07:28:33 +05:30
Manav Rathi
1a336769b9 Rename 1 2024-09-21 07:15:39 +05:30
Manav Rathi
aa6eebca27 Inline 2024-09-21 07:13:15 +05:30
Manav Rathi
c41ad8b1a9 Inline 2024-09-21 07:13:07 +05:30
Manav Rathi
9ca651f4b7 Inline 2024-09-21 07:11:44 +05:30
Manav Rathi
255302e3cd Inline 2024-09-21 07:10:38 +05:30
Manav Rathi
a4fa8e0deb Inline 2024-09-21 07:09:30 +05:30
Manav Rathi
ffa1d90ed8 Inline 2024-09-21 07:08:31 +05:30
Manav Rathi
ef6734195f Inline 2024-09-21 07:05:31 +05:30
Manav Rathi
50a0dc754b Inline 2024-09-21 07:02:51 +05:30
Neeraj Gupta
19eb1bdb22 [cli] Handle decryption for new libsodium wrapper (#3374)
## Description

## Tests
2024-09-21 06:51:49 +05:30
Neeraj Gupta
f11493842e [cli] Handle decryption for new libsodium wrapper 2024-09-21 06:50:33 +05:30
Manav Rathi
b7a8e33665 Tweak 2024-09-21 06:41:30 +05:30
Manav Rathi
abce21d819 Move 2024-09-21 06:17:12 +05:30
Manav Rathi
2db43536f7 Doc 2024-09-21 05:59:44 +05:30
Manav Rathi
ee685bcc5d Rearrange 2024-09-21 05:47:49 +05:30
Manav Rathi
6a489ad520 wip: checkpoint 2024-09-20 20:24:11 +05:30
ashilkn
e8b2adb199 [mob][photos] Curate album filters for search result page (just getting the data without showing it on UI) 2024-09-20 19:38:29 +05:30
ashilkn
80c3106bfc [mob][photos] Write method to curate album filters for a list of EnteFiles 2024-09-20 19:36:21 +05:30
ashilkn
080aeeecdb [mob][photos] Add more fields in search filter models 2024-09-20 19:33:55 +05:30
ashilkn
72a40a63d9 [mob][photos] Create an inherited widget to store searchFilterDataProvider for gallery screens 2024-09-20 19:01:14 +05:30
ashilkn
6a735e1a6a [mob][photos] Create a SearchFilterDataProvider which will be used to update the recommended and applied filters list and make it possible to listen to applied and recommended state changes separately from it 2024-09-20 19:00:01 +05:30
Manav Rathi
3c61b49548 checkpoint 2024-09-20 18:49:29 +05:30
Manav Rathi
6a24528ed0 wip: checkpoint 2024-09-20 18:36:09 +05:30
Manav Rathi
ebc40d1b65 checkpoint 2024-09-20 18:11:08 +05:30
Manav Rathi
405c0c343f [desktop] Clustering WIP - Part x/x (#3364)
The sync scaffolding is mostly in place now.
2024-09-20 17:52:57 +05:30
Neeraj Gupta
f8b77f71b5 [mob] Add is mounted check 2024-09-20 17:47:45 +05:30
Manav Rathi
ed907c71f8 Let tsc know 2024-09-20 17:45:49 +05:30
Neeraj Gupta
94513e8c8e [mob] Compute relevant position for magic search 2024-09-20 17:38:01 +05:30
Neeraj Gupta
f3e98cff34 [mob] Fix handling of empty fileIDToPosMap 2024-09-20 17:31:39 +05:30
Neeraj Gupta
49e7c4baaf Add mount check 2024-09-20 17:24:37 +05:30
Ashil
29a72ac4a1 [auth] Add onPressed color for Custom Keyboard in App Lock (#3361)
## Description

## Tests
2024-09-20 17:23:58 +05:30
Manav Rathi
2722b50cc0 Sequence 2024-09-20 17:22:29 +05:30
Aman Raj Singh Mourya
36079aa2dc [auth] Add onPressed color for Custom Keyboard in App Lock 2024-09-20 17:20:46 +05:30
Aman Raj Singh Mourya
891af00454 [mob][photos] Add onPressed State Color for Custom Keyboard in App Lock (#3360)
## Description

## Tests
2024-09-20 17:03:16 +05:30
Aman Raj Singh Mourya
783c0c48ef [mob][photos] On press color for custom keyboard 2024-09-20 16:50:32 +05:30
Manav Rathi
ed1c9df007 Funnel the same way 2024-09-20 16:50:02 +05:30
Manav Rathi
f64c0dcc86 Move into worker for now 2024-09-20 16:13:49 +05:30
Manav Rathi
9d1332bff1 Prune 2024-09-20 16:04:22 +05:30
Manav Rathi
000fe87ebb Prune unused 2024-09-20 16:00:59 +05:30
Manav Rathi
6344a3c640 bona fide 2024-09-20 15:55:46 +05:30
Manav Rathi
18a0b18a13 Auto debug 2024-09-20 15:47:40 +05:30
Neeraj Gupta
d4cdfc8834 [mob] HotFix: Show discover section for all users (#3358)
## Description

## Tests
2024-09-20 15:37:34 +05:30
Neeraj Gupta
aa2b81ad7e [mob] HotFix: Show discover section for all users 2024-09-20 15:36:45 +05:30
Manav Rathi
df17b11573 Make the animation fit the page better 2024-09-20 15:33:01 +05:30
Manav Rathi
8ca3b80e94 Match the (temp) search placeholder message 2024-09-20 14:00:53 +05:30
Manav Rathi
345cc2f34f Fix the UI updates 2024-09-20 14:00:53 +05:30
Manav Rathi
c4f70c370e Integrate clustering progress into ML status 2024-09-20 14:00:53 +05:30
Manav Rathi
e8b692b5ad Prep for clustering updates 2024-09-20 14:00:53 +05:30
Manav Rathi
7b552a1ee3 count 2024-09-20 14:00:53 +05:30
Manav Rathi
5d6ac29d71 Remove no-longer used hdbscan code
We'll follow mobile's linear clustering.
2024-09-20 14:00:52 +05:30
Manav Rathi
8a031360c5 Remove the debug scaffolding 2024-09-20 14:00:52 +05:30
Vishnu Mohandas
c9fd0183e7 [doc] Document limitations (#3356) 2024-09-20 11:52:53 +05:30
vishnukvmd
6753f1e9f7 [doc] Document limitations 2024-09-19 23:11:29 -07:00
Manav Rathi
806098961b [web] Transcode videos if they are smaller than 100 MB (#3355)
Fixes: https://github.com/ente-io/ente/issues/2581
2024-09-20 11:29:56 +05:30
Manav Rathi
21e45e8138 [web] Transcode videos if they are smaller than 100 MB
Fixes: https://github.com/ente-io/ente/issues/2581
2024-09-20 11:04:21 +05:30
Prateek Sunal
cdbcc93571 chore: lint fixes 2024-09-20 01:06:36 +05:30
Vishnu Mohandas
1de1273391 Update export.md 2024-09-20 00:14:52 +05:30
Manav Rathi
8ea7481a98 [desktop] Cgroups WIP - Part x/x (#3353) 2024-09-19 20:55:29 +05:30
Manav Rathi
12da709445 lf 2024-09-19 20:50:16 +05:30
Manav Rathi
5c601ab2cc We no longer have a maxHeight 2024-09-19 20:45:24 +05:30
Manav Rathi
87bdab027e Snapshot 2024-09-19 20:45:24 +05:30
Manav Rathi
50f4878d0f Doc 2024-09-19 20:45:24 +05:30
Manav Rathi
523336d644 Unalias 2024-09-19 20:45:24 +05:30
Manav Rathi
4b7104bf4e Inline 2024-09-19 20:45:24 +05:30
Manav Rathi
6a8ca4c2cf Inline 2024-09-19 20:45:24 +05:30
Manav Rathi
2e6c7d29e4 Inline 2024-09-19 20:45:24 +05:30
Manav Rathi
b7f86b3e89 T 2024-09-19 20:45:24 +05:30
Manav Rathi
384b4d2c35 [infra] Copycat db - Include pg_restore (#3352) 2024-09-19 20:39:04 +05:30
Manav Rathi
e6d7d2298c Update 2024-09-19 20:38:27 +05:30
Manav Rathi
6139ed45cd Revert "Remove postgres dep not needed in production"
This reverts commit e695f2eccb.
2024-09-19 20:33:42 +05:30
Manav Rathi
6662f51a5f [deskop] People WIP - Part x/x (#3351) 2024-09-19 18:30:08 +05:30
Manav Rathi
1108fa9f79 fix npe 2024-09-19 18:26:38 +05:30
Manav Rathi
2b02ea7409 filter 2024-09-19 18:26:19 +05:30
Manav Rathi
cdca58eb3c Tweak 2024-09-19 18:07:02 +05:30
Manav Rathi
0381dee786 buttons 2024-09-19 17:56:26 +05:30
Manav Rathi
1c727131ad Use a button 2024-09-19 17:22:00 +05:30
Manav Rathi
944070eb23 The blur is needed 2024-09-19 17:19:29 +05:30
Manav Rathi
f2b86ff1e1 Propagate 2024-09-19 17:19:29 +05:30
Manav Rathi
a14160f799 Person mode - 1 2024-09-19 17:19:29 +05:30
Manav Rathi
dcca546e5a [meta] [infra] Rename workflow file to use same extension as the rest (#3350) 2024-09-19 17:15:26 +05:30
Manav Rathi
bb0bdf113e [meta] [infra] Rename workflow file to use same extension as the rest 2024-09-19 17:13:11 +05:30
Manav Rathi
a323c7b31b [infra] copycat-db: update deps (#3349) 2024-09-19 17:11:36 +05:30
Manav Rathi
2d46b70d8f Update to latest scw 2024-09-19 17:10:39 +05:30
Manav Rathi
e695f2eccb Remove postgres dep not needed in production 2024-09-19 17:07:40 +05:30
Manav Rathi
1942935c3c [web] Show the focus-visible state on delete autofocus (#3348) 2024-09-19 17:01:02 +05:30
Manav Rathi
cef85ddd9f Add outline offset to the focus-visible indicator 2024-09-19 16:56:09 +05:30
Manav Rathi
341ef58970 Fix focus visible on opening dialog 2024-09-19 16:53:00 +05:30
Neeraj Gupta
983cfe4482 [mob][photos] Remove trigger to send logs from grant permissions screen (#3345)
## Description

This was added to debug an issue. The issue is resolved, so removing it.
2024-09-19 15:36:55 +05:30
Neeraj Gupta
2ae23dfa3d [docs] Update auth export.md (#3347)
## Description

## Tests
2024-09-19 15:25:28 +05:30
Neeraj Gupta
b269fddac2 Update export.md 2024-09-19 15:24:21 +05:30
ashilkn
a77e9aa37e [mob][photos] Create model for album filter 2024-09-19 15:18:33 +05:30
Manav Rathi
ca5be3518b [server] Postgres 12 => 15 in sample docker compose file (+ add migration guide) (#3342) 2024-09-19 15:13:13 +05:30
ashilkn
b85a90e5dd [mob][photos] Remove unused debouncer 2024-09-19 14:36:41 +05:30
ashilkn
a4c47ffbd4 [mob][photos] Remove trigger to send logs from grand permissions screen 2024-09-19 14:33:58 +05:30
Neeraj Gupta
4ee9815971 [server] Increase waittime on delete error (#3344)
## Description

## Tests
2024-09-19 11:56:28 +05:30
Neeraj Gupta
5f873a0f7b Increase waittime on error 2024-09-19 11:55:54 +05:30
Neeraj Gupta
d02da225f8 [server] Slow down crons (#3343)
## Description

## Tests
2024-09-19 11:50:22 +05:30
Neeraj Gupta
a8c7dd52ba [server] Slow down crons 2024-09-19 11:49:48 +05:30
Manav Rathi
84900159ae Fix typos 2024-09-19 10:34:07 +05:30
Manav Rathi
6ed0ad806e pg 15 2024-09-19 10:30:58 +05:30
Manav Rathi
c1b6458e2e [web/desktop] Make images on deduplicate selectable (#3333)
The duplicate images page has a image preselected but there is no
checkbox available.
When unselecting this image there is no possibility to do a new
selection.

This PR adds the same checkbox like on the gallery to select images on
the deduplication page.
2024-09-19 09:52:58 +05:30
Neeraj Gupta
a7cc96d994 Bump auth version (#3341)
## Description

## Tests
2024-09-19 07:00:23 +05:30
Neeraj Gupta
2a483edbe4 Bump auth version 2024-09-19 06:59:56 +05:30
Neeraj Gupta
428d786f10 [infra] Use JAVA 17 for auth release workflow (#3340)
## Description

## Tests
2024-09-19 06:59:05 +05:30
Neeraj Gupta
7d66b4c29f Use JAVA 17 for auth release workflow 2024-09-19 06:58:27 +05:30
Neeraj Gupta
fa7c417e69 [cli] Bump version (#3339)
## Description

## Tests
2024-09-19 01:21:29 +05:30
Neeraj Gupta
affb9bb783 [cli] Bump version 2024-09-19 01:20:56 +05:30
Neeraj Gupta
8d737f79b5 [auth] Bump version v3.1.8 (#3337)
## Description

## Tests
2024-09-19 01:15:04 +05:30
Neeraj Gupta
41b20a6b48 [auth] Bump version v3.1.8 2024-09-19 01:14:30 +05:30
Neeraj Gupta
fcd1554f7c [mobile] New translations (#3336)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-09-19 01:12:35 +05:30
Neeraj Gupta
fe37bb5544 [auth] New translations (#3335)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-09-19 01:12:09 +05:30
Crowdin Bot
6493e54db9 New Crowdin translations by GitHub Action 2024-09-18 19:41:45 +00:00
Crowdin Bot
d23cab124e New Crowdin translations by GitHub Action 2024-09-18 19:41:36 +00:00
Neeraj Gupta
ee0ebe8602 [cli] Add support for exporting Ente authenticator codes (#3328)
## Description

## Tests
2024-09-19 01:09:18 +05:30
Prateek Sunal
00415cb6fe chore: lint fixes 2024-09-19 01:04:47 +05:30
Prateek Sunal
6af1604026 fix(auth): add migrate naming changes for linux 2024-09-19 01:04:40 +05:30
Trekky12
53b7ea6203 Make images on deduplicate selectable
The duplicate images page has a image preselected but there is no
checkbox available.
When unselecting this image there is no possibility to do a new
selection.

This commit adds the same checkbox like on the gallery to select images
on the deduplication page.
2024-09-18 19:50:08 +02:00
Prateek Sunal
2e01a96477 fix: add xdg directories for linux 2024-09-18 20:25:27 +05:30
Prateek Sunal
fa8a8dd639 fix(auth[linux]): update binary name 2024-09-18 20:24:20 +05:30
Prateek Sunal
4a03388cf1 fix: update binary name 2024-09-18 19:50:59 +05:30
Manav Rathi
a9da87881d [web] Show checkbox on hover (#3330)
Fixes: https://github.com/ente-io/ente/issues/3293
2024-09-18 19:07:24 +05:30
Manav Rathi
89815d47ff [web] Show checkbox on hover
Fixes: https://github.com/ente-io/ente/issues/3293
2024-09-18 19:02:09 +05:30
Manav Rathi
2cc1573b1b [desktop] Cluster groups WIP - Part x/x (#3329) 2024-09-18 18:53:56 +05:30
Manav Rathi
160565f216 Fix 2024-09-18 18:27:47 +05:30
Manav Rathi
6f84371cfa Tweak 2024-09-18 18:23:36 +05:30
Manav Rathi
7c07c8dadb Tweak 2024-09-18 18:02:04 +05:30
Manav Rathi
27c191eaf1 [web] Cluster groups WIP, and search improvements (#3327) 2024-09-18 17:52:42 +05:30
Neeraj Gupta
6872587083 [cli] Add support for exporting codes 2024-09-18 17:36:24 +05:30
Manav Rathi
bc7f4fd9fc Fix 2024-09-18 17:12:10 +05:30
Manav Rathi
7bf37c2800 Unsearchable 2024-09-18 17:09:38 +05:30
Manav Rathi
215126f695 Include underscores 2024-09-18 17:02:54 +05:30
Manav Rathi
0aad23d860 RE everywhere 2024-09-18 16:57:43 +05:30
Manav Rathi
34762cc303 re 2024-09-18 16:45:51 +05:30
Manav Rathi
b254bb5b0c Word match 2024-09-18 16:32:30 +05:30
Manav Rathi
c80a066518 Use 2024-09-18 16:20:43 +05:30
Manav Rathi
00ffe8f129 People b4 clip 2024-09-18 16:15:07 +05:30
Manav Rathi
70ee3e3fbe lf 2024-09-18 16:15:07 +05:30
Manav Rathi
f37f807045 checkpoint 2024-09-18 16:15:07 +05:30
Manav Rathi
6254fe032b wip checkpoint 2024-09-18 16:15:07 +05:30
Manav Rathi
63138a539a wip checkpoint 2024-09-18 16:15:07 +05:30
Manav Rathi
37765169a4 Integrate 2024-09-18 16:15:07 +05:30
Manav Rathi
b7a45b4327 Match server schema 2024-09-18 16:15:07 +05:30
Manav Rathi
1521971a5d Place 2024-09-18 16:15:07 +05:30
Manav Rathi
d62ca44675 Impl details 2024-09-18 16:15:07 +05:30
Manav Rathi
02c428971c Untrig 2024-09-18 16:15:07 +05:30
Manav Rathi
beabb4815b Tweak search cards 2024-09-18 16:15:07 +05:30
Manav Rathi
87f9537bb2 Untrig 2024-09-18 16:15:06 +05:30
Manav Rathi
69a5795c86 Await not trigger 2024-09-18 16:15:06 +05:30
Manav Rathi
212ab374ac Set cgroups 2024-09-18 16:15:06 +05:30
Manav Rathi
dc23c7eebd searchable cgroups 2024-09-18 16:15:06 +05:30
Manav Rathi
31459d9339 Namespace 2024-09-18 16:15:06 +05:30
Neeraj Gupta
5cc4a5ed07 Print custom host with version 2024-09-18 16:07:05 +05:30
Neeraj Gupta
cda7dda3cb [cli] Add API to get authenticator data 2024-09-18 16:06:45 +05:30
Neeraj Gupta
6b831378ba [mobile] New translations (#3325)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-09-18 15:10:09 +05:30
Crowdin Bot
49b34bdb19 New Crowdin translations by GitHub Action 2024-09-18 09:37:29 +00:00
Neeraj Gupta
bf17902e73 [mob] Change log (#3324)
## Description

## Tests
2024-09-18 14:55:38 +05:30
Neeraj Gupta
3fa85b4ce9 [mob] Bump version v0.9.41 2024-09-18 14:50:42 +05:30
Neeraj Gupta
8b4d38a50a [mob] Add change log 2024-09-18 14:50:17 +05:30
Neeraj Gupta
57e2ff4908 Fix typo 2024-09-18 14:45:19 +05:30
Neeraj Gupta
f890f612f4 [mob] Extract strings (#3323)
## Description

## Tests
2024-09-18 12:49:46 +05:30
Neeraj Gupta
038a40b320 Lint fix 2024-09-18 12:46:44 +05:30
Neeraj Gupta
5fa05e3406 Extract strings 2024-09-18 12:39:38 +05:30
Neeraj Gupta
3577b1f213 Lint 2024-09-18 12:16:15 +05:30
Neeraj Gupta
9df36a50bf [mob] Minor fixes for discover (#3320)
## Description

## Tests
2024-09-18 12:06:03 +05:30
Neeraj Gupta
7e16f4f5be [mob] bump version v0.9.40 2024-09-18 12:05:44 +05:30
Neeraj Gupta
30b508fa56 [mob] Enable discover for all 2024-09-18 12:05:13 +05:30
Neeraj Gupta
d308eb9274 [mob] Fix ordering for discover results 2024-09-18 12:04:27 +05:30
Neeraj Gupta
b4c6805d42 [mob] Support for force refresh 2024-09-18 11:52:03 +05:30
Neeraj Gupta
9c1f744f73 [mob] Switch to list for maintaining order 2024-09-18 11:42:54 +05:30
Neeraj Gupta
5ce1a91146 [server] Remove timelimit for applying referral code (#3322)
## Description

## Tests
2024-09-18 11:22:48 +05:30
Neeraj Gupta
41512540e4 [server] Remove timelimit for applying referral code 2024-09-18 11:20:15 +05:30
ashilkn
2c4dd13ab0 [mob][photos] Update magic section UI when magic cache gets updated 2024-09-18 09:17:17 +05:30
Neeraj Gupta
637974f63b [mob] Fix showRecent handling in all page 2024-09-18 00:27:56 +05:30
Neeraj Gupta
70fdfb6901 [mob] Discover changes (#3315)
## Description

## Tests
2024-09-17 23:53:22 +05:30
Neeraj Gupta
4e7d9ed7d9 [mob][photos] Fix grey screen flash from late initialisation error right after granting photo and video permission on logging in (#3316) 2024-09-17 20:59:54 +05:30
Neeraj Gupta
5da924f7e4 [mob][photos] Added dark theme assets for empty album state (#3318) 2024-09-17 20:50:21 +05:30
Aman Raj Singh Mourya
2988767f97 [mob][photos] minor changes 2024-09-17 20:46:29 +05:30
Aman Raj Singh Mourya
232d02a990 [mob][photos] assets for empty album state in dark theme 2024-09-17 20:46:00 +05:30
Manav Rathi
df13dd2bfc [desktop] People - Part x/x (#3317) 2024-09-17 20:33:49 +05:30
Manav Rathi
18a7fce523 Cleanup 2024-09-17 20:23:52 +05:30
Manav Rathi
c03b3fd203 Clickable 2024-09-17 20:13:59 +05:30
ashilkn
42ce7a0d39 [mob][photos] Fix grey screen flash from late initialisation error right after granting photo and video permission on logging in 2024-09-17 18:12:43 +05:30
Manav Rathi
bcd1fd0cc8 People list - 1 2024-09-17 17:49:51 +05:30
Neeraj Gupta
e799843c59 bump version 2024-09-17 17:46:10 +05:30
Neeraj Gupta
fff633aebe [mob] Keep json sorting for discover 2024-09-17 17:40:26 +05:30
Neeraj Gupta
63144d50fc [mob] Hook refresh for discover section 2024-09-17 17:32:40 +05:30
Manav Rathi
0431493736 Fix sizing on mobile screens and long search texts 2024-09-17 17:24:40 +05:30
Neeraj Gupta
7d647cf4f1 [mob] Only run clustering if needed 2024-09-17 17:13:43 +05:30
Neeraj Gupta
e66c4390bb [mob] Fix delay 2024-09-17 17:09:00 +05:30
Neeraj Gupta
df44e6d1a9 [mob] Fix delay 2024-09-17 16:53:44 +05:30
Neeraj Gupta
fd29a982cc [mob] Support for showing recent first in discover 2024-09-17 16:47:17 +05:30
Neeraj Gupta
6720f16ceb [mob] Support for excluding video in discover 2024-09-17 16:38:54 +05:30
Manav Rathi
8685bae282 Introduce 2024-09-17 16:34:17 +05:30
Neeraj Gupta
72c1d83714 [mob] Inline 2024-09-17 16:25:17 +05:30
Neeraj Gupta
bf65faef33 [mob] Log query in debug mode only 2024-09-17 16:22:27 +05:30
Neeraj Gupta
29503a077d [mob] Optimize cache update 2024-09-17 16:18:42 +05:30
Neeraj Gupta
f2f332062f [mob] Rename 2024-09-17 16:12:08 +05:30
Neeraj Gupta
e79e932014 [mob] Speed up computation of discover section 2024-09-17 16:06:08 +05:30
Manav Rathi
f5dba2f36e [web] Show empty albums also (#3313)
Matches the behaviour on mobile.
2024-09-17 16:04:28 +05:30
Manav Rathi
9f92787ac6 [web] Show empty albums also
Matches the behaviour on mobile.
2024-09-17 15:57:21 +05:30
Neeraj Gupta
66c3870518 [mob] Cache magic result in memory 2024-09-17 15:47:26 +05:30
Neeraj Gupta
98e0aeee8a [mob] Log time taken to get all results 2024-09-17 15:22:03 +05:30
Neeraj Gupta
785cac2c70 [mob] Define modal for remote prompt 2024-09-17 15:03:30 +05:30
Neeraj Gupta
258c47eba4 [mob] Clean up 2024-09-17 14:41:08 +05:30
Neeraj Gupta
466ec23248 [mob] Add debug option to update cache 2024-09-17 14:31:21 +05:30
Neeraj Gupta
3c7b8fd0e8 [mob] Used computer to read prompt 2024-09-17 14:31:10 +05:30
Vishnu Mohandas
6a1021c353 [auth] Change ordering for menu items (#3309) 2024-09-17 13:11:16 +05:30
vishnukvmd
6e07aacc3f [auth] Change ordering for menu items 2024-09-17 13:10:49 +05:30
Neeraj Gupta
454f498a7c [auth] Reduce code sharing duration + minor fixes (#3308)
## Description

## Tests
2024-09-17 11:55:08 +05:30
Neeraj Gupta
9169b344fb Lint fix 2024-09-17 11:45:31 +05:30
Neeraj Gupta
13e6c982a6 [auth] Bump version 2024-09-17 11:41:59 +05:30
Neeraj Gupta
3d096311f4 [auth] Reduce code sharing duration 2024-09-17 11:41:05 +05:30
Neeraj Gupta
a97dddf8e5 [auth] Clean up trash actions 2024-09-17 11:39:25 +05:30
Neeraj Gupta
23574a2e3a [auth] Remove view qr code option 2024-09-17 11:35:08 +05:30
Neeraj Gupta
ce5354e19d [mob][auth] Upgrade flutter v3.24.3 (#3307)
## Description

## Tests
2024-09-17 11:16:46 +05:30
Neeraj Gupta
d11aeee29c [mob] Fix sort order for backup status (#3306)
## Description

## Tests
2024-09-17 11:12:41 +05:30
Neeraj Gupta
776881d75f [auth[submodule] Upgrade flutter v3.24.3 2024-09-17 11:12:08 +05:30
Neeraj Gupta
b9eef77d3a [mob][auth] Upgrade flutter v3.24.3 2024-09-17 11:11:33 +05:30
Neeraj Gupta
93ab5f4a84 [mob] Fix sort order for backup status 2024-09-17 11:09:06 +05:30
Neeraj Gupta
50e8757c8f [mob] Remove tf so files (#3304)
## Description

## Tests
2024-09-17 11:08:25 +05:30
Neeraj Gupta
a5f543151b [mob] Remove tf so files 2024-09-17 10:38:55 +05:30
Neeraj Gupta
2d0ceebb43 [mobile] New translations (#3305)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-09-17 10:38:27 +05:30
Crowdin Bot
17991bb6fc New Crowdin translations by GitHub Action 2024-09-17 05:05:46 +00:00
Manav Rathi
64090ad9ee [server] Document the optionality of SMTP auth (#3303)
https://github.com/ente-io/ente/pull/3251
2024-09-17 10:30:24 +05:30
Manav Rathi
9e26397c1b [server] Document the optionality of SMTP auth
https://github.com/ente-io/ente/pull/3251
2024-09-17 10:29:46 +05:30
zDqrK404
1e8b184ed0 Merge branch 'ente-io:main' into main 2024-09-17 10:55:12 +06:00
Manav Rathi
aed48026c3 [web] New translations (#3283)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-17 09:51:55 +05:30
Neeraj Gupta
7911c14e40 [server] Return 4xx for bad request (#3302)
## Description

## Tests
2024-09-17 09:50:38 +05:30
Neeraj Gupta
c315bc9da1 [auth] Update coach screen (#3300)
## Description

![image](https://github.com/user-attachments/assets/2b22c56b-7e65-49ca-afd8-74af961a9dc1)


## Tests
2024-09-17 09:48:40 +05:30
Neeraj Gupta
6fe4c0147a [auth] v3.1.6 2024-09-17 09:48:21 +05:30
Neeraj Gupta
5e7c5e0d6f log 2024-09-17 09:47:59 +05:30
Neeraj Gupta
802ba2bc5b [server] Gracefully handle duplicate update req (#3301)
## Description

## Tests
2024-09-17 09:14:19 +05:30
Neeraj Gupta
fb4f5c2095 [auth] Update coach screen 2024-09-17 09:05:15 +05:30
github-actions[bot]
9ce8470af5 [auth] New translations (#3285)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-17 08:56:05 +05:30
github-actions[bot]
e0fe62e717 [mobile] New translations (#3284)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-17 08:55:45 +05:30
Trekky12
8056720e23 Add possibility to define cli download tmp path with env variable (#3298)
## Description
When the /tmp folder is tmpfs the size is restricted and the download
failes when this tmp folder is full.
This PR introduces a enviroment variable to set the tmp download folder.
2024-09-17 08:55:11 +05:30
Trekky12
e6d4e835db Fix exporting of live photos with cli (#3297)
Fix issue #1998
2024-09-17 08:54:39 +05:30
Prateek Sunal
f4995cba56 [auth] replace slidable with bottom sheet (#3275)
## Description

Show options in bottom sheet in a horizontal manner to better utilize
space and remove slidable.

## Tests
2024-09-16 14:57:24 +05:30
Prateek Sunal
73a323d927 Merge branch 'main' into auth-ux-improvements 2024-09-16 14:57:03 +05:30
Manav Rathi
8ed58127e1 [server] Optional SMTP authentication (#3251)
## Description
When using a local relay server, not authentication is needed. To
support this use-case authentication is only send to the server when an
user and password are set in the configuration file.

See error message from https://github.com/ente-io/ente/discussions/3179
2024-09-16 11:53:58 +05:30
Neeraj Gupta
9c975eae69 [auth]: use correct value for compact mode in code widget (#3276) 2024-09-16 06:43:11 +05:30
Crowdin Bot
139e47867d New Crowdin translations by GitHub Action 2024-09-16 00:33:56 +00:00
Prateek Sunal
6008243c86 fix: remove extra enum 2024-09-16 05:00:05 +05:30
Prateek Sunal
04afcbe678 chore: remove extras 2024-09-16 04:59:22 +05:30
Prateek Sunal
6c603cb012 feat(bottom-sheet): use ente photos like bottom bar 2024-09-16 04:55:36 +05:30
zDqrK404
daa9e01729 [AUTH] Add Icon for ByBit.com 2024-09-16 01:54:20 +06:00
zDqrK404
a6ab51727c Delete auth/assets/custom-icons/icons/bybit.svg 2024-09-16 01:53:43 +06:00
Prateek Sunal
6d1ab3f1ca fix: don't show bg painter if not pinned 2024-09-15 21:37:23 +05:30
Prateek Sunal
660b5160f2 fix: don't use incorrect value for isCompactMode 2024-09-15 21:35:53 +05:30
Prateek Sunal
964075a32c fix: show bottom sheet on long press and remove slidable 2024-09-15 21:12:03 +05:30
Tobias Genannt
d25420c867 [server] Optional SMTP authentication
When using a local relay server, not authentication is needed. To
support this use-case authentication is only send to the server when an
user and password are set in the configuration file.
2024-09-15 15:15:10 +02:00
Vishnu Mohandas
a9c646ca77 [auth] Remove nesting for notes (#3271) 2024-09-14 20:14:31 +05:30
vishnukvmd
10d6e18332 [auth] Remove nesting for notes 2024-09-14 20:12:14 +05:30
Vishnu Mohandas
0feb5519ba [auth] Minor improvements to the sharing page (#3270)
## Description
- [x] Update logo
- [x] Added some margin at the bottom so the CTA is visible on mobile

## Tests
- [x] Tested locally
2024-09-14 20:04:08 +05:30
vishnukvmd
30a2752f9d Add bottom margin so the CTA is visible on mobile browsers 2024-09-14 19:53:53 +05:30
Vishnu Mohandas
608234d4ed [auth] Minor improvements (#3269) 2024-09-14 19:48:52 +05:30
vishnukvmd
2a8eb2aaf7 [auth] Update logo on share page 2024-09-14 19:48:44 +05:30
Manav Rathi
304a7df033 [web] Autofocus on the delete button on the confirmation dialog (#3268)
Fixes https://github.com/ente-io/ente/issues/3227
2024-09-14 19:28:29 +05:30
vishnukvmd
52fe082bae Localize 2024-09-14 19:27:28 +05:30
vishnukvmd
3a45640a17 Remove button labels 2024-09-14 19:24:05 +05:30
vishnukvmd
5c1b3886ed Update icon for Trash 2024-09-14 19:22:01 +05:30
Manav Rathi
3a10c853d0 Attempt to fix the focus getting lost 2024-09-14 19:21:26 +05:30
Manav Rathi
4f00a87e29 Theme 2024-09-14 18:15:53 +05:30
Manav Rathi
2db5ca81f5 Move the disableRipple behaviour up 2024-09-14 18:05:25 +05:30
Manav Rathi
3352e2a075 [web] Autofocus on the delete button on the confirmation dialog 2024-09-14 17:18:45 +05:30
Manav Rathi
266d75a574 [web] Thumbnails: Handle the first click on mobile devices (#3266)
Using opacity: 0 to was causing the first click to be intercepted by the
input element itself on mobile devices.
2024-09-14 15:35:08 +05:30
Manav Rathi
217d4d950e [web] Handle the first click on mobile devices
Using opacity: 0 to was causing the first click to be intercepted by the input
element itself on mobile devices.
2024-09-14 15:30:58 +05:30
Neeraj Gupta
c42ebf3377 [auth] Bump version (#3260)
## Description

## Tests
2024-09-13 18:08:33 +05:30
Neeraj Gupta
d3b30052e2 [auth] Bump version 2024-09-13 18:08:05 +05:30
Neeraj Gupta
490996193a [auth] Add workflow for internal release (#3259)
## Description

## Tests
2024-09-13 17:43:48 +05:30
Neeraj Gupta
02d69b3b1c [auth] Add workflow for internal release 2024-09-13 17:43:07 +05:30
Neeraj Gupta
0ea77ee1f4 [auth] Trash, Notes, Compact Mode, & Sharing (#3258)
## Description

## Tests
2024-09-13 17:29:55 +05:30
Neeraj Gupta
0379d14640 Lint fix 2024-09-13 17:26:33 +05:30
Neeraj Gupta
6d316d25d3 [auth][web] Display shared codes (#3257)
## Description

## Tests
2024-09-13 17:17:33 +05:30
Neeraj Gupta
6ba88d5d19 [mob] Enable back up status & improve error handling (#3253)
## Description

## Tests
2024-09-13 14:56:48 +05:30
Neeraj Gupta
34a8dc21c6 [mob] Clean up quick collection on error 2024-09-13 14:53:14 +05:30
Neeraj Gupta
864d150552 [server] Fix sharing validation (#3254)
## Description

## Tests
2024-09-13 14:31:39 +05:30
Neeraj Gupta
fbef356ab5 [mob] Update UI 2024-09-13 14:28:48 +05:30
Neeraj Gupta
0947b2bbaa [server] Fix sharing validation 2024-09-13 14:14:31 +05:30
Neeraj Gupta
b74de7f424 [mob] Bump version v0.9.38 2024-09-13 14:10:45 +05:30
Neeraj Gupta
651899cd23 [mob] Update copy 2024-09-13 14:08:37 +05:30
Neeraj Gupta
534250320c [mob] Fix routing 2024-09-13 14:08:31 +05:30
Neeraj Gupta
deef4886eb [mob] Enable backup status 2024-09-13 13:54:28 +05:30
Neeraj Gupta
58b82b46f3 [mob] Skip placeHolder creation on link gen failure 2024-09-13 13:53:01 +05:30
Neeraj Gupta
82712e9313 [mob] Handle subscription err during sendLink 2024-09-13 13:52:29 +05:30
Neeraj Gupta
accf563519 [auth][web] Update UI for shared codes 2024-09-13 11:36:04 +05:30
Neeraj Gupta
e8acaf7457 [auth] Fix: uriEncdoe issuer name (#3252)
## Description

## Tests
2024-09-13 10:43:42 +05:30
Neeraj Gupta
b5f8964dc4 [auth] Fix case when all codes are trashed 2024-09-13 10:35:11 +05:30
Neeraj Gupta
0275d08e27 Merge branch 'fix_issuer_name_encoding' into auth_trash 2024-09-13 10:27:24 +05:30
Neeraj Gupta
75c3bc1c84 [auth] Fix: uriEncdoe issuer name 2024-09-13 09:59:15 +05:30
Neeraj Gupta
08a77a2def [auth] Fix codeCount for sharing 2024-09-13 09:35:12 +05:30
Neeraj Gupta
74dc15c38c [auth] minor fixes 2024-09-13 09:23:22 +05:30
Neeraj Gupta
baeb47f94b [auth] Ignore exception during os share 2024-09-13 09:21:19 +05:30
Neeraj Gupta
ef5f58e5a2 [auth][web] Render shared codes 2024-09-13 09:19:26 +05:30
Neeraj Gupta
d77f4af04b [auth][mob] Allow sharing of codes 2024-09-13 09:17:49 +05:30
Ashil
0c8f05076a [mob][auth] Bump up auth to v3.1.4 (#3248) 2024-09-12 22:22:57 +05:30
Manav Rathi
023a13927c [web] Cluster groups - Prep (#3249)
Resuming on the cgroup changes.
2024-09-12 18:59:10 +05:30
Manav Rathi
c8c3d8f814 Prep 2024-09-12 18:49:25 +05:30
Manav Rathi
9400f2e134 Integrate 2024-09-12 18:37:47 +05:30
Manav Rathi
8cd43e9e4b Dup 2024-09-12 18:31:25 +05:30
Manav Rathi
44d66da742 More state 2024-09-12 18:20:19 +05:30
ashilkn
bc0d6adfd1 [mob][auth] Bump up auth to v3.1.4 2024-09-12 18:14:16 +05:30
Ashil
cc80453b12 [mob][photos] Fix exceptions from incorrect use of InheritedWidget (#3247)
## Description

- Avoid potential and fix current issues caused due to calling
`dependOnInheritedWidgetOfExactType<T>()` in initState (i.e, before the
widget is build).
2024-09-12 18:01:31 +05:30
Manav Rathi
816d74a5e6 SearchPerson => Person 2024-09-12 18:00:56 +05:30
Neeraj Gupta
710bb61f21 [auth] Fix bug in code generation 2024-09-12 17:34:26 +05:30
ashilkn
d649cbd9fa [mob][photos] Avoid passing text gotten from inherited widget 2024-09-12 17:32:43 +05:30
Manav Rathi
85fe4b317d Remove empty files 2024-09-12 17:31:26 +05:30
Manav Rathi
623f2c1985 Alt 2024-09-12 17:19:51 +05:30
Manav Rathi
5bcb8fe2ea [web] Continue display of trashed items if mobile search is active (#3246)
...but empty
2024-09-12 17:16:47 +05:30
Manav Rathi
b8f2b850c3 [web] Continue display of trashed items if mobile search is active
...but empty
2024-09-12 17:12:48 +05:30
ashilkn
d976986473 [mob][photos] Fix exceptions from calling dependOnInheritedWidgetOfExactType in init state 2024-09-12 17:04:58 +05:30
Manav Rathi
e6ad4db6d6 [web] Finish search refactoring (#3245)
Should be faster too, by ~50%.

Wraps up the series of PRs over the last few days to refactor search, as
a precursor to integrating the people suggestions.
2024-09-12 16:33:27 +05:30
Manav Rathi
897dd78ffd Remove stale TODO 2024-09-12 16:26:18 +05:30
Manav Rathi
016761be9a Cleanup 2024-09-12 16:20:37 +05:30
Manav Rathi
2990ba855f Speed 2024-09-12 16:03:56 +05:30
Prateek Sunal
09f65eeff7 [auth] Fix duplicate tags entry (#3243)
fixes #1794
2024-09-12 16:02:48 +05:30
Neeraj Gupta
bd18dc7a62 [auth] Disable sharing for HOTP codes 2024-09-12 15:40:30 +05:30
Neeraj Gupta
9ccb597e6e [auth] Add hook to share code 2024-09-12 15:37:49 +05:30
Manav Rathi
38b3e04718 Reset placeholder - Part Deux
Fixes 117c884b3e to also reset the icon

Underlying reason:
https://github.com/JedWatson/react-select/issues/5219

Nb: React itself does not recommend null either

> The value you pass to controlled components should not be `undefined` or `null`.
>
> https://react.dev/reference/react-dom/components/input
2024-09-12 15:18:22 +05:30
Neeraj Gupta
af9e865745 [auth] Add dropdown_button2 dep 2024-09-12 14:35:03 +05:30
Neeraj Gupta
c47fcba5cc [auth] Add method to generate future codes 2024-09-12 14:35:03 +05:30
Neeraj Gupta
02501caa71 [auth] Add viewQR code option on Edit screen 2024-09-12 14:35:03 +05:30
Neeraj Gupta
823eb068f0 [auth] Add option to restore from trash 2024-09-12 14:35:03 +05:30
Neeraj Gupta
954afd6409 [auth] Fix UX issue on deleting last code from trash 2024-09-12 14:35:03 +05:30
Neeraj Gupta
9933e18ba5 [auth] Reduce extend ratio for compact mode 2024-09-12 14:35:03 +05:30
Neeraj Gupta
1ff0ab1adf [auth] Bump version 2024-09-12 14:35:03 +05:30
Neeraj Gupta
3bb9790229 [auth][mob] Add compact mode 2024-09-12 14:35:01 +05:30
Neeraj Gupta
0ad84be3ab [auth] Minor fix 2024-09-12 14:33:30 +05:30
Neeraj Gupta
35916af7bf [auth] Show trashed icons in the end 2024-09-12 14:33:30 +05:30
Neeraj Gupta
72648286f2 [auth] Show trashed icons in the end 2024-09-12 14:33:30 +05:30
Neeraj Gupta
42611085f4 [auth] Ignore tags for trashed codes 2024-09-12 14:33:30 +05:30
Neeraj Gupta
f7e37c6b2c [auth] Add support for trashing codes 2024-09-12 14:33:30 +05:30
Neeraj Gupta
f44f21c5ad [auth] Bypass auth in debugMode if recently authenticated 2024-09-12 14:33:30 +05:30
Neeraj Gupta
05200878f2 [auth] Add support for adding notes 2024-09-12 14:33:30 +05:30
Neeraj Gupta
583163968d [auth] Limit text field length 2024-09-12 14:33:30 +05:30
Neeraj Gupta
53c553db02 [auth] Move field label to left 2024-09-12 14:33:30 +05:30
Manav Rathi
d65597c44f Handle album selection 2024-09-12 14:30:13 +05:30
Manav Rathi
117c884b3e Reset to placeholder on reset 2024-09-12 14:22:26 +05:30
Manav Rathi
32315b1149 Fix 2024-09-12 14:00:47 +05:30
Manav Rathi
a9537e59cf Lint fix 2024-09-12 13:47:12 +05:30
Manav Rathi
2cd2aee11c Fix gallery 3 2024-09-12 13:45:31 +05:30
Manav Rathi
5aa9671037 Gallery fix 2 2024-09-12 13:39:48 +05:30
Manav Rathi
859cfc46d3 Fix gallery 1 2024-09-12 13:28:55 +05:30
Neeraj Gupta
22927fa285 [mob] Backup status fixes (#3244)
## Description
* Fixes sorting order
* Added scrollbar for quick navigation
## Tests
2024-09-12 13:28:12 +05:30
Neeraj Gupta
ae52adc0f5 [mob] Add scrollbar for backup status 2024-09-12 13:23:41 +05:30
Neeraj Gupta
dd1321a555 Check for mount 2024-09-12 13:23:27 +05:30
Manav Rathi
060a055d38 Fix bar 2024-09-12 13:22:29 +05:30
Neeraj Gupta
bb92766d5e [mob] Defer loading of thumbnail 2024-09-12 13:22:02 +05:30
kishan-dhankecha
aedb689e45 fixed duplicated code being added bug 2024-09-12 13:05:38 +05:30
Manav Rathi
877c0a7c73 wip 4 2024-09-12 12:56:24 +05:30
Manav Rathi
74f6e52c74 wip 3 2024-09-12 12:56:24 +05:30
Manav Rathi
5bc5823ef2 wip 2024-09-12 12:56:24 +05:30
Manav Rathi
45b0dd4887 R 2024-09-12 12:56:24 +05:30
Manav Rathi
18f622d007 wip 2024-09-12 12:56:24 +05:30
Manav Rathi
ae7134a80f New types wip 2024-09-12 12:56:24 +05:30
Manav Rathi
d06f7a869e types wip 2024-09-12 12:56:24 +05:30
Manav Rathi
be9c686d71 Lint 3 2024-09-12 12:56:24 +05:30
Manav Rathi
fcd4f36036 Lint 2 2024-09-12 12:56:24 +05:30
Manav Rathi
fbd8346edf Fix lint 1 2024-09-12 12:56:24 +05:30
Manav Rathi
4c5b59b453 Move to new 2024-09-12 12:56:24 +05:30
Manav Rathi
03b6ed6f1a Tile dup 2024-09-12 12:56:24 +05:30
Manav Rathi
b5eaa757da Move 2024-09-12 12:56:24 +05:30
Manav Rathi
ea46ac0196 Rearrange 2024-09-12 12:56:24 +05:30
Manav Rathi
88a0a2f9fc Style tweaks 2024-09-12 12:56:24 +05:30
Manav Rathi
eb2d1f04c4 Remove unused 2024-09-12 12:56:24 +05:30
Manav Rathi
feb0dde706 Inline 2024-09-12 12:56:24 +05:30
Manav Rathi
973eac2b34 Add workaround to restore suggestions on focus
openMenuOnClick and openMenuOnFocus did not seem to work for AsyncSelect.

Workaround source:
https://github.com/JedWatson/react-select/issues/5714#issuecomment-1653251587

The underlying problem is perhaps because of an earlier workaround we are using, for editable selects.
https://github.com/JedWatson/react-select/issues/4675#issuecomment-944010398
2024-09-12 12:56:23 +05:30
Manav Rathi
a16830f5ca Prefix match for file types 2024-09-12 12:56:23 +05:30
Manav Rathi
315529eebf T 2024-09-12 12:56:23 +05:30
Neeraj Gupta
d3f72a036f [mob] Fix backup item card 2024-09-12 12:20:20 +05:30
Neeraj Gupta
e308a63f2b [mob] Fix sort order for backup status 2024-09-12 12:05:54 +05:30
Neeraj Gupta
b0bcb4550e [mob] Enable l10n for ja (#3240)
## Description

## Tests
2024-09-12 11:42:13 +05:30
Kishan Dhankecha
8b43f18f6a [AUTH] Made dart analyzer happy (#3226)
## Description
Updated some deprecated stuff to its replacements to make analyzer happy

## Tests
Changes are not affecting any tests
2024-09-12 11:35:43 +05:30
Neeraj Gupta
66bc855e4a [mob] Bump version v0.9.37 2024-09-12 11:32:26 +05:30
Neeraj Gupta
6854d2885a [mob] Extract string 2024-09-12 11:31:57 +05:30
Neeraj Gupta
21ff032cad [mob] Show processing progress for iOS 2024-09-12 11:31:57 +05:30
Ashil
c1dbc82338 [mob][photos] Increase time taken to show up send logs CTA on loading local photos screen (#3238)
## Description

Noticed that it takes 40 seconds or more for me at times. So increasing
the time to reduce number of potential unnecessary tickets.
2024-09-12 11:21:56 +05:30
bsian03
4c7d3a37b4 [Auth] Add icon for GOV.UK (#3132)
Adds the icon for UK government online services (Government Gateway)
2024-09-12 11:21:22 +05:30
ashilkn
658768f853 [mob][photos] Increase time taken to show up send logs CTA on loading local photos screen 2024-09-12 11:19:31 +05:30
Kishan Dhankecha
29a88e673f [auth] Fix rendering issue #3229 (#3230)
## Description
Fixes the bug in the code list by adding a key to the CodeWidget
2024-09-12 11:18:08 +05:30
MonkeySaint
f2f6160aff [docs] [auth] Add the new method to extract TOTP codes from authy (#3121)
## Description
Adds an option to export authy codes with a rooted android device. I
will probably modify [the tool
used](https://github.com/puddly/android-otp-extractor) so it exports to
an Ente compatible json file later but this will work for any uses who
need to export from authy (Likely do to them blocking rooted users now
like me)
2024-09-12 11:15:48 +05:30
Neeraj Gupta
27091f568f [mobile][photos] Improve magic section UX (#3235)
## Description

Check commits. 


https://github.com/user-attachments/assets/07f8aeec-163d-4ef7-b7f5-e78a475d364d



## Tests

Tested all changes.
2024-09-12 11:14:38 +05:30
ashilkn
30f1b4e006 [mob][photos] Add comment 2024-09-12 07:01:00 +05:30
ashilkn
168d7a1652 [mob][photos] Refactor 2024-09-12 06:56:09 +05:30
ashilkn
bd0c35f64f [mob][photos] Add more gallery types to show 'archive' in selection sheet 2024-09-12 06:48:03 +05:30
ashilkn
f4c7e60b5a [mob][photos] Make hero animation work between magic section's all screen and the screen that comes up when selecting a suggession from there 2024-09-12 06:26:53 +05:30
Manav Rathi
734de8129a [web] Search refactoring - Part x/x (#3233) 2024-09-11 21:23:37 +05:30
Manav Rathi
1fd9ea7a27 Prune and doc 2024-09-11 21:17:45 +05:30
Manav Rathi
c2ea68c39c Prune 2024-09-11 20:58:57 +05:30
Manav Rathi
e0db188195 Temporary backtrack 2024-09-11 20:56:17 +05:30
Manav Rathi
1317791fed Ontology 2024-09-11 20:53:00 +05:30
Manav Rathi
044e1b687f cap 2024-09-11 20:34:38 +05:30
ashilkn
75b06a1cab [mob][photos] Sort by most relevant by default when searching for magic results 2024-09-11 20:22:26 +05:30
Manav Rathi
57cf26c01c fn 2024-09-11 20:21:18 +05:30
ashilkn
0ae32a3882 [mob][photos] Make hero animations work 2024-09-11 20:21:14 +05:30
Manav Rathi
2f9bbbc84c Fix 2024-09-11 20:06:23 +05:30
Manav Rathi
5b2be09a6a To new 2024-09-11 19:57:01 +05:30
Manav Rathi
bf001794b4 Also pass collections 2024-09-11 19:49:17 +05:30
ashilkn
d5027c4c65 [mob][photos] Sort magic result screen by most relevant by default 2024-09-11 19:48:22 +05:30
ashilkn
db13764b04 [mob][photos] Extract strings 2024-09-11 19:44:48 +05:30
ashilkn
37022f7d7d [mob][photos] Add option to sort by most recent and most relevant on magic results screen 2024-09-11 18:54:36 +05:30
Manav Rathi
ace2e5bb27 Move 2024-09-11 18:10:50 +05:30
Manav Rathi
c809d572f7 Move 2024-09-11 17:53:46 +05:30
Manav Rathi
a4a2623074 Move 2024-09-11 17:17:06 +05:30
Manav Rathi
87e31965e5 Move up 2024-09-11 17:11:53 +05:30
Manav Rathi
012a796894 New type 2024-09-11 17:09:14 +05:30
Manav Rathi
cc3caf2e5d doc 2024-09-11 16:57:49 +05:30
Manav Rathi
1d239d409f Fin 2024-09-11 12:19:45 +05:30
Manav Rathi
71d77a62fd Use colors from theme 2024-09-11 12:15:19 +05:30
Connor
79f75ee861 Added Capacities logo to icons and to custom-icons.json (#3198) 2024-09-11 12:03:19 +05:30
Neeraj Gupta
f3ea825429 [mob](upload-status): fixes (#3141)
## Description

These PR does following fixes to upload status:
- Always maintain order or backup status.
  - failed -> in queue -> in background -> uploading -> uploaded
- Show previous uploaded items in this too
2024-09-11 12:02:06 +05:30
Neeraj Gupta
0d991a1420 [mob][photos] Run clip and faces parallel in same isolate (#3193)
## Description

Run faces and clip pipelines in parallel in isolate on mobile.

## Tests

Tested in debug mode on my own pixel 8.
2024-09-11 12:01:32 +05:30
Manav Rathi
985ebc2f77 Theme + memo 2024-09-11 11:48:31 +05:30
Manav Rathi
17c17dd901 Hook 2024-09-11 11:44:30 +05:30
Manav Rathi
0004650b2f [web] Package updates (#3225) 2024-09-11 11:39:06 +05:30
Manav Rathi
f3a3c68488 [web] Package updates 2024-09-11 11:13:25 +05:30
ashilkn
83ffce2a24 [mob][photos] Keep order of files (sorted by highest score) in magic section 2024-09-11 11:03:34 +05:30
ashilkn
9fa1e77947 [mob][photos] Use better names 2024-09-11 11:00:24 +05:30
Manav Rathi
ac10329597 [web] Search related refactoring - Part x/x (#3224) 2024-09-11 10:57:31 +05:30
Manav Rathi
7b890e21d5 Prune 2024-09-11 10:49:12 +05:30
Manav Rathi
509f10f765 Remove refresh workarounds 2024-09-11 10:44:57 +05:30
Manav Rathi
dd9cd53176 Live updates 2024-09-11 10:41:47 +05:30
Manav Rathi
5e18c87bee Cleanup 2024-09-11 10:36:20 +05:30
Manav Rathi
2e0a771068 General update 2024-09-11 10:25:34 +05:30
Manav Rathi
558b9e0b70 Remove default options that are interfering 2024-09-11 10:22:51 +05:30
Manav Rathi
79cd1dd0d1 Another attempt at fixing react-select issues 2024-09-11 10:03:30 +05:30
Manav Rathi
0d079fc593 Clean 2024-09-11 09:21:07 +05:30
Manav Rathi
30901462bc ML aware suppress 2024-09-11 09:21:07 +05:30
Manav Rathi
403801aac8 Hide the menu on no results
react-select seems to be handling false (the result &&) and null
differently. Only on returning null is it supressing the rendering of a
placeholder menu.
2024-09-11 09:21:07 +05:30
Manav Rathi
1dcfcb6250 Alternative & hopefully less hacky approach 2024-09-11 09:21:07 +05:30
Manav Rathi
b279ed4489 [web] Add workaround for dup emotion used by react-select (#3222)
Ref: https://github.com/JedWatson/react-select/issues/5658
2024-09-11 09:19:56 +05:30
Manav Rathi
3cc1f3e9d7 [web] Add workaround for dup emotion used by react-select
Ref: https://github.com/JedWatson/react-select/issues/5658
2024-09-11 09:15:27 +05:30
Laurens Priem
23d9ed65ec Merge branch 'main' into ml_parallel 2024-09-10 11:12:51 -04:00
Manav Rathi
a496debb5f [web] Search: Fix loading indicator position (#3217)
Fix for layout issue introduced in last PR -
https://github.com/ente-io/ente/pull/3216
2024-09-10 20:25:54 +05:30
Manav Rathi
d199260a63 Fix loading indicator position 2024-09-10 20:21:00 +05:30
Manav Rathi
353646e4bf [web] Search refactoring - Part x/x (#3216) 2024-09-10 20:03:44 +05:30
Manav Rathi
b46c2c13cc Tinker 2024-09-10 19:58:05 +05:30
Manav Rathi
a8caeb38ba Omit children
No functional impact
2024-09-10 19:50:49 +05:30
Manav Rathi
6592ab6188 Unused 2024-09-10 19:45:16 +05:30
Manav Rathi
6dc552f015 Visual 2024-09-10 19:44:10 +05:30
Manav Rathi
8365ca000c MUI builtin 2024-09-10 19:28:11 +05:30
Manav Rathi
dbb596b3c2 Fix placeholder handling for v5 of react-select 2024-09-10 19:21:33 +05:30
Prateek Sunal
a947cc69de fix(upload-status): only get files that have upload file id and are owned by user 2024-09-10 19:08:53 +05:30
Prateek Sunal
a3c0e46f1d fix: remove unwanted log 2024-09-10 19:07:15 +05:30
Manav Rathi
7794be5993 Some colors from theme 2024-09-10 19:06:20 +05:30
Manav Rathi
a6e5f01ab9 Remove wrapper 2024-09-10 19:01:37 +05:30
ashilkn
c6ba5e4f70 [mob][photos] Bring Magic section right below faces in search tab 2024-09-10 19:01:02 +05:30
Manav Rathi
093c95263f Remove double memo 2024-09-10 19:00:58 +05:30
Manav Rathi
a4d068468d Quite wonky 2024-09-10 18:48:21 +05:30
Ashil
066d4c201d [mob][photos] Discovery tweaks (#3215)
## Description

Check commits
2024-09-10 18:34:20 +05:30
ashilkn
ae5ebf4bf9 [mob][photos] Make reading of magic cache syncronous for faster loading of search tab 2024-09-10 18:28:09 +05:30
ashilkn
c9a96df720 [mob][photos] Respect the order given in JSON of magic prompts on the UI 2024-09-10 18:17:42 +05:30
ashilkn
537f376ebd [mob][photos] Remove limit of discovery section for non-internal users 2024-09-10 18:12:09 +05:30
Manav Rathi
58f1cec916 Doc 2024-09-10 18:09:13 +05:30
ashilkn
4c3007ccc8 [mob][photos] Make most of file io async in handling magic cache 2024-09-10 17:57:34 +05:30
Ashil
73cae89fc5 [mob][photos] Require Authentication on App Reopen from Guest View (#3131)
This PR introduces a security enhancement that requires authentication
when the app is reopened after being closed while in guest view.
2024-09-10 17:30:58 +05:30
Ashil
c3cb706f51 [mob][photos] Kill the app on logging out from lockscreen (#3214)
## Description 

If lockscreen is above some screens (like an album) and user logs out,
the app goes back to that screen after logging out.
Killing the app right after logging out was the easiest fix.
2024-09-10 17:29:31 +05:30
ashilkn
a703847130 [mob][photos] Kill the app on logging out from lockscreen 2024-09-10 17:22:05 +05:30
Manav Rathi
4299ebcf1b Tinker 2024-09-10 17:18:15 +05:30
Vishnu Mohandas
a15d5e7d1e [mob]Fix build failing (#3213) 2024-09-10 17:18:00 +05:30
ashilkn
849d2c3d3e [mob]Fix build failing 2024-09-10 17:16:16 +05:30
Aman Raj Singh Mourya
3e136baee2 [mob][photos] Refractor code 2024-09-10 17:01:35 +05:30
Manav Rathi
f11c455b6b Props 2024-09-10 17:00:55 +05:30
Manav Rathi
b0f7ce3f61 Doc 2024-09-10 16:47:17 +05:30
Ashil
9c18bbd46e [mob][photos] Add New Album Card Widget for Collecting Photos (#2734) 2024-09-10 16:34:54 +05:30
ashilkn
9c81d59833 [mob][photos] Resolve merge conflicts and merge main 2024-09-10 16:32:33 +05:30
Manav Rathi
51ee4a128a Types 1 2024-09-10 15:51:48 +05:30
Manav Rathi
e5411cb1da Update react-select 4 => 5
Will resolve breaking changes subsequently
2024-09-10 15:41:26 +05:30
Manav Rathi
289d403e0c Update debounce 2024-09-10 15:39:51 +05:30
Manav Rathi
0fe35ac161 Inline (in prep for further refactoring) 2024-09-10 15:16:41 +05:30
Ashil
ff1fa3d391 [mob][photos] Add CTA to send logs if stuck on local sync screen (#3206)
## Description

Once 40 seconds have passed on the local photos sync screen, a help icon
will appear on the app bar.
<img
src="https://github.com/user-attachments/assets/2fe26b99-edb5-446e-a4f2-f12386f9192c"
width="40%" height="40%" alt="helpicon">
<img
src="https://github.com/user-attachments/assets/36f471b7-06b1-4f08-9a9e-073b54611d99"
width="40%" height="40%" alt="dialog">
2024-09-10 15:07:41 +05:30
Ashil
87f74b5ade [auth] Add Appbar Lock Icon for Manual App Locking on Desktop + fix bugs (#3108)
## Description

When app lock is enabled on Auth's desktop app and when
closed/minimised, the app is not getting locked in certain cases. As a
workaround for that, have added a button to manually lock the app.
2024-09-10 15:06:39 +05:30
ashilkn
4a21d0bfac [mob][photos] Fix build failing 2024-09-10 15:04:58 +05:30
ashilkn
b2e9b242ad [mob][photos] Add comment 2024-09-10 15:00:55 +05:30
ashilkn
acdd38743c [mob][photos] Kill app so that the app starts afresh after logging out from the lockscreen 2024-09-10 14:54:00 +05:30
Manav Rathi
c00c10301d MBox 2024-09-10 14:43:02 +05:30
Manav Rathi
d05438e034 R 2024-09-10 14:32:06 +05:30
Manav Rathi
d3cf65f1c0 Box 2024-09-10 14:29:50 +05:30
Manav Rathi
960104b042 R 2024-09-10 14:29:50 +05:30
Manav Rathi
d78acd4205 [docs] Remove fixed ffmpeg workaround (#3209)
1.7.4 has been released a week ago with this fixed
2024-09-10 14:26:15 +05:30
Manav Rathi
dd4dca4473 [docs] Remove fixed ffmpeg workaround
1.7.4 has been released a week ago with this fixed
2024-09-10 14:24:50 +05:30
Neeraj Gupta
05c9f83399 [cli] Base64 Encode the CLI secrets (#3208)
## Description

Related to #1510 & [#3163](https://github.com/ente-io/ente/pull/3163)

This potential fix was only possible due to amazing investigation done
by @shoetten

## Tests
Did basic sanity testing on local machine
2024-09-10 14:17:25 +05:30
Neeraj Gupta
821edd00f7 [cli] Check for secret key length while reading from file 2024-09-10 14:16:36 +05:30
Aman Raj Singh Mourya
068cad2207 [mob][photos] Extract strings 2024-09-10 13:58:42 +05:30
Neeraj Gupta
9e068bdc90 [cli] Base64 encode CLI secrets 2024-09-10 13:46:35 +05:30
Neeraj Gupta
e70bf6a379 [cli] Add check for deviceKey size 2024-09-10 13:46:15 +05:30
Aman Raj Singh Mourya
2a0c7d1e56 [mob][photos] Refractor code 2024-09-10 13:44:00 +05:30
Manav Rathi
32a4204609 [web] Translation cleanup (#3207) 2024-09-10 13:27:46 +05:30
Manav Rathi
74b3b00ea5 Reorder and rename 2024-09-10 13:24:37 +05:30
Manav Rathi
01fba0b722 Reorder and rename 2024-09-10 13:20:12 +05:30
Manav Rathi
fa290752c9 Reorder 2024-09-10 13:18:28 +05:30
Manav Rathi
4ed769271d Rename 2024-09-10 13:13:47 +05:30
Manav Rathi
7f1e7615cf Rename 2024-09-10 13:13:06 +05:30
Manav Rathi
2d4dc568fb [web] Translation cleanup 2024-09-10 13:09:51 +05:30
Manav Rathi
02eefcd00f [web] New translations (#3205)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-10 13:06:01 +05:30
Manav Rathi
e742342dd8 [web][meta] Ignore stale lint runs on PR push (#3204)
Ref:
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-using-concurrency-and-the-default-behavior
2024-09-10 13:05:29 +05:30
Crowdin Bot
b812070ae1 New Crowdin translations by GitHub Action 2024-09-10 07:33:48 +00:00
Manav Rathi
70dada90b2 [web][meta] Ignore stale lint runs on PR push
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-using-concurrency-and-the-default-behavior
2024-09-10 13:02:12 +05:30
Manav Rathi
b3d2e29e28 [web] Search refactoring - Part x/x (#3203) 2024-09-10 12:59:13 +05:30
ashilkn
bb0f31f814 [mob][photos] Extract strings 2024-09-10 12:58:36 +05:30
Manav Rathi
c0c477a3b7 Remove debug log 2024-09-10 12:55:07 +05:30
Manav Rathi
a55c735d13 Fix mobile search bar 2024-09-10 12:53:31 +05:30
Aman Raj Singh Mourya
86bbfbe254 Merge branch 'auth_lock_icon' of https://github.com/ente-io/ente into auth_lock_icon 2024-09-10 12:53:02 +05:30
Aman Raj Singh Mourya
ba270000b2 [auth] Fix logout action 2024-09-10 12:52:27 +05:30
ashilkn
5fceb9898f [mob][photos] Remove gesture that triggered send logs from local sync screen 2024-09-10 12:52:11 +05:30
ashilkn
1cf28e0dd5 [mob][photos] easy to find cta to send logs if app is stuck in local sync screen 2024-09-10 12:47:40 +05:30
Manav Rathi
ffe290d56d Sym 2024-09-10 12:35:39 +05:30
Manav Rathi
7e8344cd4e Bespoke 2024-09-10 12:22:04 +05:30
Manav Rathi
3fc66ce202 Bespoke 2024-09-10 12:07:57 +05:30
Manav Rathi
167b9cfa42 Icon 2024-09-10 11:55:26 +05:30
Manav Rathi
00070d06b6 Props 2024-09-10 11:53:06 +05:30
Manav Rathi
9520898032 [web] Directly import into the selected album on drag and drop (#3201)
Ref:
https://github.com/ente-io/ente/discussions/2707#discussioncomment-10589669
2024-09-10 11:04:11 +05:30
Manav Rathi
71ee7ac019 [web] Directly import into the selected album on drag and drop
Ref: https://github.com/ente-io/ente/discussions/2707#discussioncomment-10589669
2024-09-10 11:01:05 +05:30
Manav Rathi
e77d7a42f5 [web] Fix build (#3200)
ReferenceError: Cannot access 'T' before initialization
at Object.dP
(/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/6368.js:218:1594)

When accessing the GAP

    grid-column-gap: ${f.dP}px;
2024-09-10 10:11:00 +05:30
Manav Rathi
99291c2576 [web] Fix build
ReferenceError: Cannot access 'T' before initialization
    at Object.dP (/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/6368.js:218:1594)

When accessing the GAP

    grid-column-gap: ${f.dP}px;
2024-09-10 10:07:21 +05:30
Manav Rathi
e9bd4a4dc5 [cast] Fix cast continually getting reset (#3199) 2024-09-10 10:06:53 +05:30
Manav Rathi
1b95ce330a Fix lint 2024-09-10 09:58:36 +05:30
Manav Rathi
26641a4584 [cast] Fix cast continually getting reset 2024-09-10 09:52:44 +05:30
Manav Rathi
27140c04c9 [desktop][photos] Use antialias with clip image (#3192)
## Description

Adds antialias to clip image preprocessing

## Tests

Only tested the mobile implementation which follows exactly the same
logic. So review carefully.
2024-09-10 09:17:32 +05:30
Manav Rathi
0bf3c64ceb 1 2024-09-10 09:06:53 +05:30
Manav Rathi
13565a0904 Fix kernel construction
.fill(0) was missing
2024-09-10 08:51:37 +05:30
Laurens Priem
642b7ae5ba Mob antialias (#3191)
## Description

- Stop using unnecessary ByteData and Color classes, using simple
Uint8List and RGB integers instead
- Use antialias for clip image preprocessing

## Tests

Tested by comparing resulting embedding to Python.
2024-09-09 22:59:18 -04:00
Manav Rathi
6776c49750 Fix some lint warnings (no functional changes) 2024-09-10 08:09:21 +05:30
Manav Rathi
1189610b42 Fix typo in docs (#3196)
## Description
Fix Raivo OTP typo
2024-09-10 07:31:57 +05:30
Manav Rathi
839cddfe7f [docs][server] Add more links to the self hosting docs (#3197)
Add more links to the self hosting docs from the server/ READMEs to try
and make them easier to find.

/cc @ua741
2024-09-10 07:31:03 +05:30
Manav Rathi
86e2db388e [docs] Add more links to the self hosting docs
To make them easier to find.
2024-09-10 07:27:08 +05:30
dnred
608b078065 Fix typo 2024-09-09 22:48:41 +02:00
laurenspriem
74d2c07ea0 [mob][photos] Run clip and faces parallel in same isolate 2024-09-09 15:49:27 -04:00
laurenspriem
a84cc07aa2 [desktop][photos] Use antialias with clip image 2024-09-09 13:43:35 -04:00
Prateek Sunal
d2f2028f55 fix(intl): remove extra { in front of {{{count 2024-09-09 21:04:50 +05:30
Prateek Sunal
53e2aeff3f Merge remote-tracking branch 'origin/main' into mob-upload-status-fixes 2024-09-09 20:59:38 +05:30
Prateek Sunal
80aebe3869 fix(upload-status): show all uploads, even from past 2024-09-09 20:53:14 +05:30
Neeraj Gupta
7f0e2bcb9e [mob] Bump version v0.9.36 2024-09-09 19:50:54 +05:30
Neeraj Gupta
cc2b0a610f [mob] Add additional logs & error handling on permission grant screen 2024-09-09 19:50:54 +05:30
Manav Rathi
d7a2883b5c [web] Misc cleanup and refactoring (#3185)
Continuation of https://github.com/ente-io/ente/pull/3182
2024-09-09 19:32:25 +05:30
Manav Rathi
6a76583e1b Rely on the button's behavior 2024-09-09 19:25:59 +05:30
Manav Rathi
c161d6272a Remove unnecessary wrapper 2024-09-09 19:24:33 +05:30
Manav Rathi
62cdfc9680 Same breakpoint 2024-09-09 19:17:51 +05:30
Manav Rathi
ff5826ec21 Bespoke 2024-09-09 19:06:26 +05:30
Manav Rathi
69ec80831c Dup 2024-09-09 19:02:23 +05:30
Manav Rathi
b80bb138e2 Inline 2024-09-09 19:00:41 +05:30
Manav Rathi
0fb114967a Inline 2024-09-09 18:54:55 +05:30
Manav Rathi
e9d55adfff R 2024-09-09 18:49:06 +05:30
Manav Rathi
ba1ef42355 Same as elsewhere 2024-09-09 18:34:33 +05:30
Manav Rathi
c23bb13187 Inline 2024-09-09 18:31:36 +05:30
Manav Rathi
330ff5b9d0 Deps 2024-09-09 18:26:35 +05:30
Manav Rathi
132c399e32 Fix typo 2024-09-09 18:19:58 +05:30
Manav Rathi
c5c2a1bbf4 Unenum 2024-09-09 18:17:23 +05:30
Manav Rathi
3ce5b43126 doc react-select 2024-09-09 18:14:11 +05:30
Manav Rathi
423c9c7b9c Don't need the jsxImportSource anymore 2024-09-09 18:10:57 +05:30
Manav Rathi
45b05fc823 Fix 2024-09-09 18:00:52 +05:30
Manav Rathi
808fc51966 Refactor 2024-09-09 17:43:05 +05:30
Manav Rathi
bb4f415ae1 Inline 2024-09-09 17:39:13 +05:30
Manav Rathi
f6f7fb3b8f Inline 2024-09-09 17:37:06 +05:30
Manav Rathi
d22d97ed65 Reuse existing breakpoints 2024-09-09 17:35:32 +05:30
Manav Rathi
3a2881b350 Tweak 2024-09-09 17:21:39 +05:30
Manav Rathi
0d59377284 Prune unused 2024-09-09 17:19:13 +05:30
Manav Rathi
b3016dffca Inline and prune 2024-09-09 17:13:41 +05:30
Manav Rathi
32601826c1 [web] Misc cleanup and refactoring (#3182)
No functional changes intended.
2024-09-09 17:03:11 +05:30
Manav Rathi
f5aebd7044 Lint 2024-09-09 16:56:41 +05:30
Manav Rathi
457d0977b6 Move 2024-09-09 16:51:06 +05:30
Manav Rathi
befa3f82ed Inline 2024-09-09 16:47:11 +05:30
Manav Rathi
56ca068a2c Up 2024-09-09 16:44:39 +05:30
Manav Rathi
d09b447574 Inl 2024-09-09 16:43:20 +05:30
Manav Rathi
e5939e3ca5 Move 2024-09-09 16:42:47 +05:30
Manav Rathi
2bd45883ce Inline 2024-09-09 16:41:32 +05:30
Manav Rathi
d3b47776c3 Inline and prune 2024-09-09 16:39:17 +05:30
Manav Rathi
c1d9763945 Inline 2024-09-09 16:37:26 +05:30
Manav Rathi
83126c3ec4 Inline 2024-09-09 16:36:22 +05:30
Manav Rathi
c4f08715ed Inline 2024-09-09 16:35:07 +05:30
Manav Rathi
5ad7e2f128 Inline 2024-09-09 16:34:22 +05:30
Manav Rathi
0299024804 Rearrange 2024-09-09 15:31:03 +05:30
Manav Rathi
aaa4727bc0 Inline 2024-09-09 15:27:36 +05:30
Manav Rathi
f69760808a Scope type 2024-09-09 15:18:56 +05:30
Manav Rathi
9598ad7a73 Prune state 2024-09-09 15:15:36 +05:30
Manav Rathi
bf00d844dd Refactor 2024-09-09 15:13:45 +05:30
Manav Rathi
87110408ef Inline 2024-09-09 15:00:26 +05:30
Manav Rathi
546e40c1ff Trim exports 2024-09-09 14:58:39 +05:30
Manav Rathi
8306b5d534 Remove unused 2024-09-09 14:48:06 +05:30
Manav Rathi
34897247dd [web] Streamline the family portal redirect (#3181) 2024-09-09 14:35:28 +05:30
Manav Rathi
9037973ced Retain the dialog 2024-09-09 14:30:34 +05:30
Manav Rathi
672865c062 Remove double redirection 2024-09-09 14:28:23 +05:30
Manav Rathi
96f10bebd4 Inline 2024-09-09 14:22:36 +05:30
Manav Rathi
8aed23ca93 Inline 2 2024-09-09 14:07:01 +05:30
Manav Rathi
19f18fe032 Inline 2024-09-09 14:02:14 +05:30
Manav Rathi
9bf4edecdb [server][web] Remove unused redirects (#3180)
Verified by building museum locally after the changes.

/cc @ua741
2024-09-09 13:55:16 +05:30
Manav Rathi
af6feaf735 [server] Remove unused roadmap related endpoints 2024-09-09 13:46:54 +05:30
Manav Rathi
289ddd673b [web] Remove unused redirects 2024-09-09 13:42:39 +05:30
Crowdin Bot
0aeff4a8ae New Crowdin translations by GitHub Action 2024-09-09 11:53:23 +05:30
Tanguy
f15daa9a0f Change PayPal logo to the new one 2024-09-09 11:53:05 +05:30
Crowdin Bot
c7da14f52e New Crowdin translations by GitHub Action 2024-09-09 11:52:51 +05:30
Manav Rathi
23c27aa781 [web] Handle the newer signal screenshot filename format
Ref: https://github.com/ente-io/ente/discussions/2446#discussioncomment-10580240
2024-09-09 11:52:08 +05:30
Manav Rathi
e5671a1fcc [web] Cleanup the date parsing code (#3175)
Prep for adding a new format case.
2024-09-09 11:22:30 +05:30
Manav Rathi
3b5c2b830e Cleanup 2024-09-09 11:15:03 +05:30
Manav Rathi
7fc7d79554 null => undef 2024-09-09 10:59:40 +05:30
Manav Rathi
417ac32f54 Tinker 2024-09-09 10:56:54 +05:30
Manav Rathi
713b01fc7d Split 2024-09-09 10:53:00 +05:30
Manav Rathi
8ed80d3feb Remove overloading 2024-09-09 10:49:19 +05:30
Manav Rathi
b59b07e93d Rearrange 2024-09-09 10:40:27 +05:30
Manav Rathi
1f2b09e704 Cleanup 2024-09-09 10:29:51 +05:30
Manav Rathi
6b3d39fbd7 [docs] update import.md (#3168)
## Description

seperated -> separated
2024-09-09 09:24:59 +05:30
Manav Rathi
98ed6c3fcb [web] New translations (#3171)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-09 09:24:11 +05:30
Crowdin Bot
faa09134d5 New Crowdin translations by GitHub Action 2024-09-09 00:33:13 +00:00
Ikko Eltociear Ashimine
b271e19dc8 [docs] update import.md
seperated -> separated
2024-09-09 03:15:31 +09:00
laurenspriem
762fa7150e [mob][photos] Refactor 2024-09-08 19:28:06 +02:00
laurenspriem
db6f8dbff8 [mob][photos] comment 2024-09-08 14:26:45 +02:00
laurenspriem
af25c83aa2 [mob][photos] Use antialias for 80% scale and lower 2024-09-08 14:19:58 +02:00
Vishnu Mohandas
cca59a33b9 [staff] Increase number of years available within DatePicker to 100 (#3165) 2024-09-08 02:30:22 +05:30
vishnukvmd
4246d2a91b [staff] Increase number of years available within DatePicker to 100 2024-09-08 02:30:05 +05:30
Manav Rathi
b52476855f [web] More search related refactoring (#3162)
Preparing for showing cgroups in the search dropdown.
2024-09-07 18:16:13 +05:30
Manav Rathi
d5e7dbc762 LF 2024-09-07 18:13:23 +05:30
Manav Rathi
af8756218e Rename 2024-09-07 18:06:14 +05:30
Manav Rathi
ce271d2288 Unindex 2024-09-07 17:20:20 +05:30
Manav Rathi
60dd2dd800 Inline 2024-09-07 17:15:23 +05:30
Manav Rathi
52880e94a9 Remove unused 2024-09-07 17:11:49 +05:30
Manav Rathi
974cec75be Rename 2024-09-07 17:09:03 +05:30
Manav Rathi
3baa699d79 Inline 2024-09-07 17:08:49 +05:30
Manav Rathi
3423a7aa5d Inline 2024-09-07 17:07:13 +05:30
Manav Rathi
60f7282774 Inline 2024-09-07 17:04:47 +05:30
Manav Rathi
980a1f4c5a Inline 2024-09-07 17:02:37 +05:30
Manav Rathi
3cb0c1b325 Inline 2024-09-07 17:01:12 +05:30
Manav Rathi
752ae51f46 ns 2024-09-07 16:59:10 +05:30
Manav Rathi
c4c9f71b01 Inline 2024-09-07 16:58:32 +05:30
Manav Rathi
7a85fa5c61 Inline 2024-09-07 16:56:43 +05:30
Manav Rathi
e9a6b55ba4 Lowercased + searchable 2024-09-07 16:31:42 +05:30
Manav Rathi
8e7a3a9347 Pass lft 2024-09-07 16:07:00 +05:30
Manav Rathi
d6344093b6 OnnA 2024-09-07 14:51:54 +05:30
Manav Rathi
34211dafef Nomenclature 2024-09-07 14:31:48 +05:30
Manav Rathi
e140b2f663 [web] Misc tweaks (#3161) 2024-09-07 14:23:59 +05:30
Manav Rathi
d2deea9502 Inline 2024-09-07 14:17:41 +05:30
Manav Rathi
31bfb53dfb Inline inmems 2024-09-07 13:27:23 +05:30
Manav Rathi
b6ced23649 Casing 2024-09-07 13:02:57 +05:30
Manav Rathi
6af03fdfca Move clip code to new home 2024-09-07 13:00:22 +05:30
Manav Rathi
88684c9725 [web] Search related translation cleanup (#3158) 2024-09-07 12:02:28 +05:30
Manav Rathi
9ab641c19a lc 2024-09-07 11:59:23 +05:30
Manav Rathi
c8740e7331 Use 2024-09-07 11:54:54 +05:30
Manav Rathi
6aa9bd7e8c P2 2024-09-07 11:53:30 +05:30
Manav Rathi
d6bf9689ff Shift and lc 2024-09-07 11:43:37 +05:30
Manav Rathi
1876fb7431 Unused 2024-09-07 11:38:13 +05:30
Manav Rathi
50a5394165 Lowercase 2024-09-07 11:37:03 +05:30
Manav Rathi
b54a572da6 Use 2024-09-07 11:35:52 +05:30
Manav Rathi
1f934eaefa lc 2024-09-07 11:32:17 +05:30
Manav Rathi
87d75fd718 Dedup 2024-09-07 11:30:38 +05:30
Manav Rathi
d22e39b3f3 Rename 2024-09-07 11:16:44 +05:30
Manav Rathi
add5b856dc Extrac 2024-09-07 11:08:32 +05:30
Manav Rathi
2f19a21b5f [web] New translations (#3157)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-07 10:56:57 +05:30
Crowdin Bot
ee9db04c08 New Crowdin translations by GitHub Action 2024-09-07 05:25:24 +00:00
Manav Rathi
68c51c4549 [web] Refactoring in preparation of introducing a cgroup sync (#3156) 2024-09-07 10:53:23 +05:30
Manav Rathi
762bf413e8 Web workers cannot access session store 2024-09-07 10:19:20 +05:30
Manav Rathi
6159f5e4ee cen 2024-09-07 10:11:44 +05:30
Manav Rathi
b70444acac Update docs 2024-09-07 10:07:55 +05:30
Manav Rathi
dd53cf4e58 Handle NaNs 2024-09-07 06:35:02 +05:30
laurenspriem
23eaab0757 [mob][photos] Fix regression I created 2024-09-06 17:27:42 +02:00
Manav Rathi
c662023819 Mirror the parse 2024-09-06 20:55:31 +05:30
Manav Rathi
3d1c106759 allSettled swallows errors
all still runs to completion, it just rejects early
2024-09-06 19:58:13 +05:30
Manav Rathi
90e2dca36b Fin 2 2024-09-06 19:58:13 +05:30
Manav Rathi
79b2933be7 Fin 1 2024-09-06 19:58:13 +05:30
Manav Rathi
eb16c925d2 Prep 2024-09-06 19:58:13 +05:30
Manav Rathi
1bef528fde Prune 2024-09-06 19:58:13 +05:30
Manav Rathi
bcf579e7d7 Don't need the squares 2024-09-06 19:58:13 +05:30
Manav Rathi
bf7cbe141d lt wip 2024-09-06 19:58:13 +05:30
Manav Rathi
fce4295e2a PF 2024-09-06 19:58:13 +05:30
Manav Rathi
fc95069421 City parse 1 2024-09-06 19:58:13 +05:30
Manav Rathi
77ac215b76 Fix lint 2024-09-06 19:58:13 +05:30
Manav Rathi
85397732c8 Rename 2024-09-06 19:58:13 +05:30
Manav Rathi
49a81c10db Better mirror the google format by including seconds and using UTC 2024-09-06 19:58:13 +05:30
Manav Rathi
b742ffcafd Doc 2024-09-06 19:58:13 +05:30
Manav Rathi
55ece20d70 timestamp is a string 2024-09-06 19:58:13 +05:30
Manav Rathi
261a7f278b Fix 2024-09-06 19:58:13 +05:30
Manav Rathi
e6605d7ac9 Log 2024-09-06 19:58:13 +05:30
Manav Rathi
20247493c8 Separate parsing 2024-09-06 19:58:13 +05:30
Manav Rathi
cfea740511 Parse 2024-09-06 19:58:13 +05:30
Manav Rathi
9e48010ee6 Latlng 2024-09-06 19:58:13 +05:30
Manav Rathi
ff4b388877 Clean 2024-09-06 19:58:13 +05:30
Manav Rathi
5195e2ac74 Move 2024-09-06 19:58:13 +05:30
Manav Rathi
f958b16343 Rearrange 2024-09-06 19:58:12 +05:30
Manav Rathi
18e3adde11 Refactor search code
In prep for moving location tags handling to @/new
2024-09-06 19:58:12 +05:30
Manav Rathi
9476d26972 Mention version 2024-09-06 19:58:12 +05:30
Manav Rathi
8cfe36be68 Remove legacy locale mapper 2024-09-06 19:58:12 +05:30
Manav Rathi
6e8514e08c Add sanity checker 2024-09-06 19:58:12 +05:30
Manav Rathi
c67a6b0c9e Clean 2024-09-06 19:58:12 +05:30
Manav Rathi
13199bb3f7 Use 2024-09-06 19:58:12 +05:30
Manav Rathi
5fd0b46756 Remove legacy apiOrigin migration
> "Note that the legacy value was never in production builds, only nightlies, so
  this code can be removed soon"
2024-09-06 19:58:12 +05:30
Manav Rathi
c90315679f Migrator 2024-09-06 19:58:12 +05:30
Manav Rathi
a9be915f87 Remote Loc 1 2024-09-06 19:58:12 +05:30
Manav Rathi
57e7eb9e05 Keep them separate 2024-09-06 19:58:12 +05:30
Manav Rathi
785e96036a Add cleanup code 2024-09-06 19:58:12 +05:30
Manav Rathi
98979a2271 New path 2024-09-06 19:58:12 +05:30
Manav Rathi
eb91b6ea6d Doc 2024-09-06 19:58:12 +05:30
Manav Rathi
9af44e15b4 Keygen 2024-09-06 19:58:12 +05:30
Manav Rathi
4edaebe054 Split 2024-09-06 19:58:12 +05:30
ashilkn
fe92c1b30f [mob][photos] Fix discovery section not appearing 2024-09-06 19:19:43 +05:30
laurenspriem
e9d6f46997 [mob][photos] Use antialias with clip image 2024-09-06 14:16:27 +02:00
laurenspriem
9b743d7afe [mob][photos] Stop using ByteData directly 2024-09-06 13:51:01 +02:00
ashilkn
e1feb8bcd5 [mob][photos] UI changes 2024-09-06 16:47:34 +05:30
laurenspriem
c94db7e9b8 [mob][photos] Remove unused method 2024-09-06 13:10:56 +02:00
Laurens Priem
dfc35d00da [mob][photos] Log with .log instead of .txt (#3150)
## Description

Title
2024-09-06 12:47:38 +02:00
ashilkn
8b2322ef6c [mob][photos] Minor change 2024-09-06 16:17:17 +05:30
laurenspriem
9bd29228b0 [mob][photos] Log with .log instead of .txt 2024-09-06 12:38:50 +02:00
Neeraj Gupta
3437b41114 [mob] Ensure file is not uploaded before deleting localFile 2024-09-06 15:17:01 +05:30
ashilkn
76a1423e72 [auth] Add space between lock and search icon 2024-09-06 14:50:45 +05:30
ashilkn
b99145e863 Merge branch 'main' into auth_lock_icon 2024-09-06 14:40:59 +05:30
Manav Rathi
e2ec5469a7 [server] Log slowUpload for all destinations (#3148)
## Description

## Tests
2024-09-06 13:38:17 +05:30
Neeraj Gupta
9920578ca2 [server] Log slowUpload for all destinations 2024-09-06 13:29:57 +05:30
Neeraj Gupta
be1ca57515 [mob] Add gen id in temp file path 2024-09-06 11:41:52 +05:30
Neeraj Gupta
7c2ce513df [mob] Additional check for fileSize for multipart upload 2024-09-06 11:41:52 +05:30
Neeraj Gupta
1b6dbbc288 [mob] Compute encFileSize just once 2024-09-06 11:41:52 +05:30
Neeraj Gupta
138515da02 [mob] Reuse same fileSize 2024-09-06 11:41:52 +05:30
Neeraj Gupta
5820d03bb5 [mob] Rethrow exception due to content size 2024-09-06 11:41:52 +05:30
Neeraj Gupta
4999e9d944 [mob] Update uuid pkg 2024-09-06 11:41:52 +05:30
Manav Rathi
3ef528cdf6 [docs] Mention auth s3 (#3146) 2024-09-06 09:31:33 +05:30
Manav Rathi
1571b70716 yarn pretty 2024-09-06 09:28:09 +05:30
Manav Rathi
16181dd1b9 [docs] Mention auth s3 2024-09-06 09:27:36 +05:30
Prateek Sunal
f7d9a3cd17 mob[panorama]: add back button to viewer screen (#3140)
## Description

Add back button to Panorama screen which will disappear as soon as timer
expires i.e. 5 seconds and reappear on screen tap.

## Tests
2024-09-06 06:33:18 +05:30
Prateek Sunal
1e6d91b50f fix(upload-status): always sort list 2024-09-06 02:38:54 +05:30
Prateek Sunal
73bdba5076 fix(panorama): add back button to viewer screen 2024-09-06 02:31:55 +05:30
Prateek Sunal
c67540b728 [auth](macos) update podfile lock (#3130)
## Description

## Tests
2024-09-05 14:59:40 +05:30
Manav Rathi
3df7ec4692 [server] Load museum.yaml after configuration.yaml (#3134)
Since museum.yaml is gitignored, loading it the last makes it easier to
do ad-hoc configuration changes without marking the git tree dirty.
2024-09-05 10:24:09 +05:30
Manav Rathi
bd94e27af6 Add an example 2024-09-05 10:23:20 +05:30
Manav Rathi
9a37542158 [server] Load museum.yaml after configuration.yaml
Since museum.yaml is gitignored, loading it the last makes it easier to do
ad-hoc configuration changes without marking the git tree dirty.
2024-09-05 09:59:32 +05:30
Manav Rathi
4fe7ec6257 Add hint on how to remove the temporary container 2024-09-05 09:43:49 +05:30
Manav Rathi
bdacd1058e 16 => 15 for now 2024-09-05 09:41:38 +05:30
Manav Rathi
7fb31eee0a Punctuation 2024-09-05 09:41:38 +05:30
Manav Rathi
f1adcd4573 Add macOS example 2024-09-05 09:41:37 +05:30
Manav Rathi
130b2757a9 [docs] Postgres 12 => 16 migration guide 2024-09-05 09:41:37 +05:30
Manav Rathi
c71b7de363 [desktop] Update dependencies (#3129)
Routine updates now that the latest release has been released.
2024-09-05 09:24:05 +05:30
Manav Rathi
ea8c28a205 Regen 2024-09-05 09:22:58 +05:30
Aman Raj Singh Mourya
f448c66c17 [mob][photos] Fixed bottom button spacing 2024-09-04 22:07:14 +05:30
Aman Raj Singh Mourya
3c850ef195 [mob][photos] Fix border of card widget 2024-09-04 21:55:49 +05:30
Aman Raj Singh Mourya
9afb59ea87 [auth] Extract strings 2024-09-04 21:46:33 +05:30
Aman Raj Singh Mourya
b3c6c0fc9b [mob][photos] Show lockscreen when guestview is enabled and app is killed 2024-09-04 20:44:47 +05:30
Prateek Sunal
ae758a114a update: pod file 2024-09-04 20:04:04 +05:30
Manav Rathi
01e1af1fbd [desktop] Update dependencies 2024-09-04 19:28:19 +05:30
Manav Rathi
3759019cbc [desktop] Start next release train (#3128) 2024-09-04 19:06:04 +05:30
Manav Rathi
9cff56c1a4 [desktop] Start next release train 2024-09-04 19:03:21 +05:30
Manav Rathi
511fb8de6a photosd-v1.7.4 (#3127) 2024-09-04 18:39:42 +05:30
Manav Rathi
fd36ede27b photosd-v1.7.4 2024-09-04 18:36:53 +05:30
Ashil
a904263ed5 [mob][photos] Consider sample aspect ratio or pixel aspect ratio when parsing width and height of video used for calculating aspect ratio (#3126)
## Description

Most videos have a [Pixel aspect
ratio](https://en.wikipedia.org/wiki/Pixel_aspect_ratio#:~:text=The%20aspect%20ratio%20of%20the%20pixels%20themselves%20is%20known%20as,PAR%20%3D%20DAR%20%2F%20SAR)
of 1:1. For the ones that do not have a PAR of 1:1, just using height
and width from exif to calculate the aspect ratio of the video won't
work. In such cases, `sample_aspect_ratio` should be considered.

## Tests

Tested and working without bugs.
2024-09-04 18:04:21 +05:30
ashilkn
02aae58e71 [mob][photos] Consider sample aspect ratio or pixel aspect ratio when parsing width and height of video used for calculating aspect ratio 2024-09-04 17:54:21 +05:30
Manav Rathi
7495b6c2c4 [desktop] Add What's New (2) (#3125) 2024-09-04 15:38:25 +05:30
Manav Rathi
aa1e2188fb [desktop] Add What's New (2) 2024-09-04 15:30:43 +05:30
Manav Rathi
8c3c401efb [server] Increase expiry time for free subscriptions (#3124)
## Description
For existing users, the expiry time is random date in future: Tuesday,
July 2, 2120
## Tests
Locally, made the change to show expiry time for free plan and verified
that
- for existing account, new expiry time was shown.
 - For new account, the expiry time was 100 years from now.
2024-09-04 13:14:21 +05:30
Neeraj Gupta
5cd37a02c7 [server] Bump up expiry_time for free plan 2024-09-04 13:05:36 +05:30
Manav Rathi
2bb1670428 [desktop] Clustering - Incorporate low quality face heuristics (#3123) 2024-09-04 12:43:45 +05:30
Manav Rathi
485e8444fe Inc 2024-09-04 12:31:02 +05:30
Manav Rathi
5395ca5caf UI 3 2024-09-04 12:18:55 +05:30
Neeraj Gupta
c416819f0a [server] Increase duration of free trial 2024-09-04 12:18:06 +05:30
Neeraj Gupta
0a1e062caf [mob] Bump version 2024-09-04 11:59:34 +05:30
Neeraj Gupta
85230b5123 [mob] Pop only when there's screen in stack 2024-09-04 11:59:34 +05:30
Neeraj Gupta
a33cff7406 [mob] Fix icon 2024-09-04 11:59:34 +05:30
Neeraj Gupta
006cddccd9 [mob] Add change log 2024-09-04 11:59:34 +05:30
Neeraj Gupta
67867cc127 [mob] Remove noisy log 2024-09-04 11:59:34 +05:30
Neeraj Gupta
f0bb00f977 [mob] Show backup status for internal users 2024-09-04 11:59:34 +05:30
Neeraj Gupta
54290886ea [mob] iOS build changes 2024-09-04 11:59:34 +05:30
Manav Rathi
816b26475a UI 2 2024-09-04 11:06:20 +05:30
Manav Rathi
46d7d4e587 UI 1 2024-09-04 11:00:35 +05:30
Manav Rathi
263f94418d Filter during enumeration 2024-09-04 10:57:38 +05:30
Manav Rathi
f990863bb2 Retain that info 2024-09-04 10:44:32 +05:30
Manav Rathi
d91cd53375 Ren 2024-09-04 10:37:37 +05:30
Manav Rathi
6a9fdd6c77 sw 2024-09-04 10:36:27 +05:30
Manav Rathi
f1185fcade Add low quality face condition 2024-09-04 10:33:16 +05:30
Laurens Priem
0cef11266a Clip vector (#3117)
## Description

Use SIMD for magic search
2024-09-04 03:51:14 +02:00
Laurens Priem
653fc1880f [mob][photos] Log index status of user (#3118)
## Description

Log ML index status, so in future issues we won't have to ask the user.
2024-09-04 03:50:42 +02:00
laurenspriem
cbf84922bb [mob][photos] Log index status of user 2024-09-03 21:53:19 +02:00
laurenspriem
0cad88f1ab [mob][photos] Remove duplicate code 2024-09-03 21:07:13 +02:00
laurenspriem
1b7f8ff648 [mob][photos] Less ambiguous naming 2024-09-03 21:04:30 +02:00
laurenspriem
7097cb335d [mob][photos] Improve magic search speed using simd 2024-09-03 18:48:16 +02:00
laurenspriem
877c660ba9 [mob][photos] Remove unused cosine distance functions 2024-09-03 18:34:08 +02:00
Neeraj Gupta
04f6461cb5 [mob] Bump version v0.9.34 2024-09-03 21:23:28 +05:30
Neeraj Gupta
6566973f3e [mob] Gracefully handle dup mapping 2024-09-03 21:23:28 +05:30
ashilkn
8e014ae7c6 [mob][photos][auth] Fix lockscreen not automatically appearing on opening app
This does not fix the root cause, this is just a workaround. The root cause is somewhere in didChangeAppLifecycleState in app_lock.dart
2024-09-03 21:07:26 +05:30
Neeraj Gupta
929c706fc0 [mob][photos] Fix video player issues (#3110) 2024-09-03 21:07:11 +05:30
Laurens Priem
debf52ee88 Ml logging (#3112)
## Description

- Regular logging now shows in user logs
- Cleaned up logging around ML indexing
- Refactored all isolates services into single interface
- Try converting to jpg on all failed decoding for ML on Android


## Tested

Tested in debug mode on my pixel 8 phone.
2024-09-03 17:36:55 +02:00
Vishnu Mohandas
d993430c01 Fix Triple-T filenames (#3114)
Import recommendations from https://github.com/ente-io/ente/pull/3107.
2024-09-03 17:51:18 +05:30
vishnukvmd
f337b835d0 Fix Triple-T filenames 2024-09-03 17:47:57 +05:30
Manav Rathi
f8c44feab8 [desktop] Clustering WIP - Part x/x (#3113) 2024-09-03 17:40:54 +05:30
Manav Rathi
0329c40265 Tweak 2024-09-03 17:36:21 +05:30
Aman Raj Singh Mourya
1fde4b9f16 [mob][photos] same action like new card widget when tap on Collect event photos 2024-09-03 17:35:17 +05:30
Neeraj Gupta
e58c48aa70 [auth] bump target sdk version (#3102) 2024-09-03 17:23:42 +05:30
Manav Rathi
96ee1e3ed2 Sync with mobile 2024-09-03 17:21:35 +05:30
Prateek Sunal
60b66b5e7f revert: build gradle signing config 2024-09-03 17:18:23 +05:30
Aman Raj Singh Mourya
db1eb19ef0 [mob][photos] Floating button background color fixed 2024-09-03 17:16:11 +05:30
laurenspriem
13f1309857 [mob][photos] Logging 2024-09-03 13:36:48 +02:00
laurenspriem
4ee96637de [mob][photos] logs 2024-09-03 13:27:30 +02:00
laurenspriem
dae8fbc9b5 [mob][photos] Redundant logging 2024-09-03 13:25:08 +02:00
laurenspriem
4abd131b8a [mob][photos] Remove redundant logging 2024-09-03 13:21:50 +02:00
Aman Raj Singh Mourya
9b0d11963c [mob][photos] Fixed border stroke 2024-09-03 16:49:50 +05:30
laurenspriem
ed3b27475e [mob][photos] Try converting any unsupported format on Android 2024-09-03 13:13:56 +02:00
laurenspriem
9dadb92d8d [mob][photos] Last logging todos 2024-09-03 12:49:45 +02:00
Johannes7k75
7d0ae17ddd Update README.md (#3023)
## Description

Changes the name of the docker image that gets build.

## Tests
2024-09-03 15:55:48 +05:30
ashilkn
fe8600d569 [mob][photos] Fix: Null check operator used on a null value 2024-09-03 15:42:01 +05:30
laurenspriem
1433903fac [mob][photos] Remove redundant testing code 2024-09-03 12:06:24 +02:00
laurenspriem
ab636232ff [mob][photos] Cleaner logging 2024-09-03 12:04:35 +02:00
Manav Rathi
76f3a523c1 Prune 2024-09-03 15:31:55 +05:30
Manav Rathi
b53197d948 [desktop] Speed up dot product (#3109)
Use the Float32Array variant, and let the JS JIT take it from there.

Makes the magic search (except first one) and clustering at least 2x
faster (first magic search is not as fast as it does the conversion,
rest are).

Some test numbers.

```
[main] [info] 5399 embeddings 29 million ops 11 seconds      normal
[main] [info] 5399 embeddings 29 million ops  8 seconds      float32
[main] [info] 5399 embeddings 29 million ops  8 seconds      float32 with loop unrolling
[main] [info] 5399 embeddings 29 million ops  4 seconds      simsimd
[rndr] [info] 5399 embeddings 29 million ops 12 seconds      normal
[rndr] [info] 5399 embeddings 29 million ops  7 seconds      float32
[rndr] [info] 5399 embeddings 29 million ops  7 seconds      float32 with loop unrolling
[rndr] [info] 5399 embeddings 29 million ops  7 seconds      wasm simd
```
2024-09-03 15:24:53 +05:30
Aman Raj Singh Mourya
0b5e057e4e [auth] Changed location of lock icon 2024-09-03 15:20:17 +05:30
Manav Rathi
38f58ae5f9 Lint fix 2024-09-03 15:17:46 +05:30
Manav Rathi
875fd10b50 Tweak 2024-09-03 15:13:47 +05:30
Manav Rathi
041aaea0b9 Use F32 variant everywhere 2024-09-03 15:05:51 +05:30
Manav Rathi
e2c0501e3d Clean up 2024-09-03 14:57:05 +05:30
Manav Rathi
d841ae5a60 Clear cache only on new index generation 2024-09-03 14:49:38 +05:30
Aman Raj Singh Mourya
d139d23c21 [auth] Lock icon to manually lock app on desktop 2024-09-03 14:24:41 +05:30
Manav Rathi
5e65001e37 Float32 opt for clip 2024-09-03 14:14:00 +05:30
laurenspriem
e70656b5a3 [mob][photos] documentation 2024-09-03 10:20:08 +02:00
Manav Rathi
b30705fa31 Use
For an example datasat with 4700 eligible images, this halved the time.
2024-09-03 13:46:51 +05:30
ashilkn
26c6078693 [mob][photos] Avoid PathNotFoundException on disposing native video widget 2024-09-03 13:33:49 +05:30
Manav Rathi
9a68c48456 Add a Float32Array variant
Some test numbers

[main] [info] 5399 embeddings 29 million ops 11 seconds      normal
[main] [info] 5399 embeddings 29 million ops  8 seconds      float32
[main] [info] 5399 embeddings 29 million ops  8 seconds      float32 with loop unrolling
[main] [info] 5399 embeddings 29 million ops  4 seconds      simsimd
[rndr] [info] 5399 embeddings 29 million ops 12 seconds      normal
[rndr] [info] 5399 embeddings 29 million ops  7 seconds      float32
[rndr] [info] 5399 embeddings 29 million ops  7 seconds      float32 with loop unrolling
[rndr] [info] 5399 embeddings 29 million ops  7 seconds      wasm simd
2024-09-03 13:28:44 +05:30
Aman Raj Singh Mourya
6185556b9b [mob][photos] Fix floating button background color 2024-09-03 13:21:45 +05:30
laurenspriem
2828fdf2c6 [mob][photos] Minor change 2024-09-02 18:36:31 +02:00
laurenspriem
b598729f28 [mob][photos] Simplify face clustering isolate service 2024-09-02 18:33:29 +02:00
Manav Rathi
86d3067713 [desktop] Fix early exit threshold (#3103) 2024-09-02 21:56:37 +05:30
Manav Rathi
38e5b4da82 [desktop] Fix early exit threshold 2024-09-02 21:53:21 +05:30
laurenspriem
e1288bfd61 [mob][photos] Simplify MLIndexingIsolate 2024-09-02 18:12:11 +02:00
Prateek Sunal
cde45111f6 chore: update taget sdk version 2024-09-02 21:10:16 +05:30
laurenspriem
947bd57b99 [mob][photos] Small changes 2024-09-02 17:16:48 +02:00
Manav Rathi
e800d048f2 [desktop] Clustering WIP - Part x/x (#3101) 2024-09-02 20:40:42 +05:30
laurenspriem
a788313974 [mob][photos] Extra isolate response check using nanoID 2024-09-02 17:06:43 +02:00
Manav Rathi
3d2492a045 Prevent form reset on scroll 2024-09-02 20:34:07 +05:30
laurenspriem
9fe76eb527 [mob][photos] Use isolate abstraction on MLComputer 2024-09-02 16:56:04 +02:00
Manav Rathi
6fabb39788 Memoize options form
Doesn't prevent it from getting recreated though
2024-09-02 20:12:39 +05:30
Manav Rathi
c403f4f3a1 Fix the same overwriting bug again 2024-09-02 19:55:30 +05:30
Manav Rathi
5f6ae20f96 Log 2024-09-02 19:49:40 +05:30
Manav Rathi
b879cbed32 First render 2024-09-02 19:39:22 +05:30
Manav Rathi
602aa74bd9 Fix batch sizes 2024-09-02 19:27:04 +05:30
Manav Rathi
9db616e965 Move out to prevent extra renders 2024-09-02 19:20:08 +05:30
laurenspriem
163c8161fc [mob][photos] Isolate base mvp 2024-09-02 15:44:24 +02:00
Manav Rathi
2619059f58 Fix 2024-09-02 19:12:01 +05:30
Manav Rathi
9e7033ce54 Simplify 2024-09-02 18:58:11 +05:30
Manav Rathi
bc653494aa Deterministic 2024-09-02 18:55:12 +05:30
Manav Rathi
bb84a609a0 Fix indexing 2024-09-02 18:36:57 +05:30
Manav Rathi
53b1b162b2 Lookback 2024-09-02 18:16:43 +05:30
Manav Rathi
70e56d748a And only for clusters 2024-09-02 17:45:09 +05:30
Manav Rathi
9428a13f7a Opt 2024-09-02 17:42:54 +05:30
Manav Rathi
81ded2b247 Show progress 2024-09-02 17:37:36 +05:30
Manav Rathi
1d2eed2b46 [server] Gracefully handle auth key exist err (#3098)
## Description

## Tests
Tested locally
Lint also works fine locally.
2024-09-02 17:15:52 +05:30
Manav Rathi
a55a70266b Impl 2024-09-02 17:15:03 +05:30
Neeraj Gupta
fd4d8ea2e8 [mob] Bump version v0.9.33 (#3099)
## Description

## Tests
2024-09-02 17:09:27 +05:30
Neeraj Gupta
4e4e865497 [mob] Bump version v0.9.33 2024-09-02 17:09:07 +05:30
Manav Rathi
3cef7ff545 Progress 2024-09-02 17:08:58 +05:30
Neeraj Gupta
6e07067d94 [mob][photos] Add option to enable or disable looping of videos (#3059)
https://github.com/user-attachments/assets/e6635b09-d0d2-4f7e-b75f-513899c996ad
2024-09-02 17:07:47 +05:30
github-actions[bot]
509596ff76 [mobile] New translations (#3095)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-02 17:06:36 +05:30
Tanguy
aa4bb92a8f [auth] Fix & add icons (#3097)
- Add colored Amazon icon
- Fix some icons visibility by adding `mix-blend-mode:difference`
- Restore the actual Kraken logo (the previous one was the mobile app
icon)

<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-09-02 17:06:09 +05:30
Ashil
0dd3f7ef46 [mob][photos] Trigger send logs on scale gesture (#3096)
## Description

If stuck in some screens like the "Grant permission" and "Loading local
photos" screen, there is no way to send logs.
Now, if a scale gesture is detected in any of these screens, logs can be
sent.
2024-09-02 17:05:26 +05:30
Neeraj Gupta
a54237e8e2 [server] Gracefully handle auth key exist err 2024-09-02 17:04:04 +05:30
ashilkn
104d98b765 [mob][photos] Cancel timer after use 2024-09-02 16:50:41 +05:30
ashilkn
75448d5e5a [mob][photos] Add gesture interaction on grant permission screen and local photo sync screen to send logs 2024-09-02 16:48:23 +05:30
Manav Rathi
371dcf8ab9 More params 2024-09-02 16:47:49 +05:30
laurenspriem
da316fdcfd [mob][photos] refactor 2024-09-02 12:45:30 +02:00
laurenspriem
ba083fff70 [mob][photos] exception handlign works in isolate 2024-09-02 12:45:08 +02:00
Manav Rathi
30d5fedb11 sort by photo date 2024-09-02 15:57:18 +05:30
Neeraj Gupta
187a149716 [mob] Show total memory count to upload 2024-09-02 15:46:21 +05:30
Neeraj Gupta
28e691122f [mob] Fix translations 2024-09-02 15:46:21 +05:30
Neeraj Gupta
5fef369e91 [mob] Surface backup status 2024-09-02 15:46:21 +05:30
laurenspriem
dcac233296 [mob][photos] refactor 2024-09-02 11:50:06 +02:00
laurenspriem
b90a719972 [mob][photos] Cleaner indication of isolate logging 2024-09-02 11:24:57 +02:00
ashilkn
d42d8965e6 [mob][photos] Resolve merge conflicts and merge main 2024-09-02 14:52:22 +05:30
ashilkn
ab86c5129e [mob][photos] Refactor 2024-09-02 14:46:52 +05:30
Manav Rathi
5b0c32084a [desktop] Clustering WIP - Part x/x (#3093)
- Prefer existing clusters when adding
- Add min threshold
2024-09-02 14:08:27 +05:30
Manav Rathi
c0ad778c90 Add min threshold 2024-09-02 13:56:00 +05:30
Manav Rathi
a6359f0756 Prefer existing clusters when adding 2024-09-02 13:44:30 +05:30
Louis Lam
7500fdd380 Request focus on the search box when clicked the search icon 2024-09-02 12:16:25 +05:30
Tanguy
0fc0a00f47 Add Battle.net icon 2024-09-02 12:15:29 +05:30
Tanguy
05bcfdc16e Fix TCPShield icon 2024-09-02 12:15:29 +05:30
Tanguy
dca50a4e45 Refactor 2024-09-02 12:15:29 +05:30
Tanguy
e16fa2dc31 Fix typo 2024-09-02 12:15:29 +05:30
Tanguy
dc120a06ca Refactor 2024-09-02 12:15:29 +05:30
Tanguy
05cf33ffb2 Remove unnecessary hex fields 2024-09-02 12:15:29 +05:30
Tanguy
0a7a8e49fe Reorder alphabetically 2024-09-02 12:15:29 +05:30
Tanguy
a1742f71e0 Fix typo 2024-09-02 12:15:29 +05:30
Tanguy
b1e727f269 Refactor 2024-09-02 12:15:29 +05:30
Tanguy
dbde6abc8c Refactor and clean code 2024-09-02 12:15:29 +05:30
Tanguy
a13256cf39 Remove unnecessary slug fields 2024-09-02 12:15:29 +05:30
Tanguy
1197e11f58 Remove unnecessary slug fields 2024-09-02 12:15:29 +05:30
Crowdin Bot
743fc4aa41 New Crowdin translations by GitHub Action 2024-09-02 12:14:55 +05:30
Crowdin Bot
71644e255d New Crowdin translations by GitHub Action 2024-09-02 12:14:24 +05:30
Manav Rathi
7f32b99284 [web] New translations (#3089)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-09-02 08:28:14 +05:30
Crowdin Bot
746aa4cb96 New Crowdin translations by GitHub Action 2024-09-02 00:32:36 +00:00
laurenspriem
d40dc06171 [mob][photos] MVP logs working in isolate 2024-09-01 22:53:24 +02:00
Neeraj Gupta
7354f69dc3 [auth][perf] Avoid redundant totp computation 2024-09-01 19:43:37 +05:30
Neeraj Gupta
815dd6b4b6 [auth][perf] Cache timer progress widget 2024-09-01 19:43:37 +05:30
Neeraj Gupta
33c843e5d8 [auth][perf] Reduce redundant painting 2024-09-01 19:43:37 +05:30
Manav Rathi
2473c4109e [desktop] Fix flakiness in reading zip files (#3079) 2024-08-31 18:50:16 +05:30
Manav Rathi
171a8670a4 Balance ref counts 2024-08-31 18:28:40 +05:30
Manav Rathi
027e3425bb Gracefully handle aborts 2024-08-31 18:18:02 +05:30
Manav Rathi
138dcf3d2a Simplify 2024-08-31 17:58:35 +05:30
Manav Rathi
8231964023 [desktop] Fix flakiness in reading zip files
I'm not sure what was the issue in the existing code, but I happened to chance
on a setup that reproduced the flakiness that some customers have reported (that
reading the zips sometimes fails). There wasn't anything specific in the setup -
I was reading a 50 MB zip file, a file which I'd read multiple times before,
except this time it seemed to invariably result in failures during read.

Replacing the node stream to web stream conversion with this new approach fixes
the flakiness, at least in the reproducible scenario that I was encountering.
2024-08-31 17:18:03 +05:30
Manav Rathi
e9a8a97982 [web] New translations (#3073)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-31 15:51:42 +05:30
Crowdin Bot
7dece286ec New Crowdin translations by GitHub Action 2024-08-31 10:18:47 +00:00
Manav Rathi
dc32172d8c [web] Make it more apparent what the create albums button does (#3076)
Change title of the button from "New album" to "Create albums" to
indicate that it can be used to preserve albums.

See: https://github.com/ente-io/ente/issues/3067
2024-08-31 15:48:00 +05:30
Manav Rathi
22c5485b3b [web] Make it more apparent what the create albums button does
Change title of the button from "New album" to "Create albums" to indicate that
it can be used to preserve albums.

See: https://github.com/ente-io/ente/issues/3067
2024-08-31 15:43:18 +05:30
Manav Rathi
73894ade73 [desktop] Clustering WIP - Part x/x (#3074) 2024-08-31 13:45:02 +05:30
Manav Rathi
7a7c8c02de Remove debug code 2024-08-31 13:39:37 +05:30
Manav Rathi
72dc526724 Form tweaks 2024-08-31 13:38:44 +05:30
Manav Rathi
7a48b32bd5 More counts 2024-08-31 13:01:06 +05:30
Manav Rathi
db58520afe Without ID 2024-08-31 12:36:51 +05:30
Manav Rathi
1ec9dfea7f Equal sized buttons 2024-08-31 12:21:25 +05:30
Manav Rathi
e36f081d96 Cleanup 2024-08-31 11:42:11 +05:30
Manav Rathi
cfcd41fc7e Cleanup 2024-08-31 11:26:48 +05:30
Manav Rathi
60cac291ff Cleanup 2024-08-31 11:13:23 +05:30
Manav Rathi
c3cfb7ae2f Clean up 2024-08-31 11:11:18 +05:30
Manav Rathi
067ba8ea85 Fix form rerendering
The item renderer should not be defined inline otherwise it will get re-created
each time the parent component (list) gets rerendered.

https://github.com/bvaughn/react-window/issues/413#issuecomment-597876562
2024-08-31 10:38:38 +05:30
Manav Rathi
14a4398a14 Restructure to avoid unnecessary rerenders 2024-08-31 09:45:43 +05:30
Manav Rathi
ff759c31b2 [web] Indicate that hash comparision is also used in the detail message (#3072)
Context: https://github.com/ente-io/ente/discussions/3070
2024-08-31 09:30:06 +05:30
Manav Rathi
854198f215 [web] Indicate that hash comparision is also used in the detail message
Context: https://github.com/ente-io/ente/discussions/3070
2024-08-31 09:25:17 +05:30
Manav Rathi
6fcfa3d984 Live photo changelog (#3071)
https://github.com/ente-io/ente/pull/2865
2024-08-31 07:24:23 +05:30
Manav Rathi
1e1ef7f94b Live photo changelog
https://github.com/ente-io/ente/pull/2865
2024-08-31 07:22:48 +05:30
Manav Rathi
b47f627508 [desktop] Clustering WIP - Part x/x (#3061) 2024-08-30 21:21:25 +05:30
Manav Rathi
0da8f45084 Fix form reset 2024-08-30 21:09:42 +05:30
Manav Rathi
c147ec1067 Ensure nums
There's a better way, just debugging code for now
2024-08-30 21:00:13 +05:30
ashilkn
e4149fa55e [mob][photos] Chore 2024-08-30 19:59:05 +05:30
Manav Rathi
ccb0e5278d Minscore 2024-08-30 19:58:55 +05:30
ashilkn
cb83f3592b [mob][photos] Use custom icon for 'loop video off' button 2024-08-30 19:48:29 +05:30
Manav Rathi
342af990f6 [desktop] Clustering WIP - Part x/x (#3058) 2024-08-30 19:16:20 +05:30
Manav Rathi
737e46a90e Use correct type 2024-08-30 19:15:04 +05:30
Manav Rathi
b7e67d4e2a Lint fix 2024-08-30 19:11:51 +05:30
Manav Rathi
4dc9ed6438 Don't overwrite submitting state 2024-08-30 19:02:12 +05:30
ashilkn
e1f2a7dcf7 [mob][photos] Improve play pause button in video player 2024-08-30 18:50:48 +05:30
ashilkn
70ad285e09 [mob][photos] Extract strings 2024-08-30 18:21:36 +05:30
ashilkn
d2459016f1 [mob][photos] Change copy 2024-08-30 18:19:11 +05:30
ashilkn
c6ec5cf645 [mob][photos] Fix state issue with video loop toggle button 2024-08-30 18:14:08 +05:30
Manav Rathi
1881dde11f Fix aliasing 2024-08-30 18:13:10 +05:30
Manav Rathi
b06bd19bc9 Unclustered 2024-08-30 18:09:09 +05:30
Manav Rathi
b93a591401 Rem params 2024-08-30 17:58:47 +05:30
Manav Rathi
7ff9dd5a57 LF 2024-08-30 17:48:29 +05:30
Manav Rathi
96397c24b4 Fin 2024-08-30 17:36:01 +05:30
laurenspriem
a9bc6502cb [mob][photos] proper logging in ML indexing isolate 2024-08-30 13:58:46 +02:00
Manav Rathi
4f4eb773fc Clean 2024-08-30 17:24:49 +05:30
Manav Rathi
48e00a0ecc Linear 2024-08-30 17:05:16 +05:30
ashilkn
f8593255ac [mob][photos] Fix most of the seekbar issues when turning off looping videos 2024-08-30 16:59:26 +05:30
Manav Rathi
598d5aab10 propagate 2024-08-30 16:47:07 +05:30
ashilkn
26cb81a720 [mob][photos] almost fully functional toggle for toggling video loop 2024-08-30 16:21:36 +05:30
Manav Rathi
20c742d43d form 2 2024-08-30 16:19:16 +05:30
laurenspriem
1b1f54feb0 [mob][photos] Actual logging in cluster isolate 2024-08-30 12:22:58 +02:00
Neeraj Gupta
6da1f892ce Bump version 2024-08-30 15:44:00 +05:30
Neeraj Gupta
e243a914e9 [mob] Show backup status on status_bar tap 2024-08-30 15:44:00 +05:30
Neeraj Gupta
df3ba86977 Update build file 2024-08-30 15:44:00 +05:30
laurenspriem
91646a809b [mob][photos] Actual logging in ML Computer 2024-08-30 12:07:06 +02:00
Vishnu Mohandas
2db170a3ae Add FAQ about shared item organization (#3052) 2024-08-30 15:23:51 +05:30
vishnukvmd
d9ca47914d Add FAQ about shared item organization 2024-08-30 15:23:26 +05:30
Manav Rathi
657f27822c form 1 2024-08-30 15:21:28 +05:30
Manav Rathi
ed3d8b984e Scrollable header 2024-08-30 15:09:53 +05:30
Neeraj Gupta
ed1970b6d8 [docs] Add troubleshooting guide for auth 2024-08-30 14:52:27 +05:30
Manav Rathi
d374960c35 Tweak the debugging panel 2024-08-30 13:21:14 +05:30
Neeraj Gupta
3feac9f0b4 [mob] Bump version v0.9.31 2024-08-30 13:16:52 +05:30
ashilkn
dc6fde9f77 [mob][photos] Fix: audio not playing on iOS when in silent mode 2024-08-30 13:06:55 +05:30
Neeraj Gupta
be3a709335 [server] Use nanoId as reqID 2024-08-30 09:16:43 +05:30
Manav Rathi
883bdcd845 [desktop] Clustering WIP - Part x/x (#3040) 2024-08-29 21:03:09 +05:30
Manav Rathi
d5a1187e13 Prep 2024-08-29 20:52:13 +05:30
ashilkn
d413ed2de0 [mob][auth] Update flutter version in github workflows 2024-08-29 20:46:24 +05:30
ashilkn
ac0ae00015 [mob][auth] Update flutter submodule to v3.24.1 2024-08-29 20:46:24 +05:30
Prateek Sunal
325871f7c5 fix(backup): attach reason of error, use ListView.builder, use upload instead of forceUpload 2024-08-29 20:45:51 +05:30
Prateek Sunal
5662661326 fix(backup-status): limit folder name to single line 2024-08-29 20:45:51 +05:30
Prateek Sunal
864b5514be feat(backup): introduce backup status screen 2024-08-29 20:45:51 +05:30
Prateek Sunal
2044d3eb6b chore: add translation keys 2024-08-29 20:45:51 +05:30
Prateek Sunal
577b262418 fix: change sentence case for android debug builds 2024-08-29 20:45:51 +05:30
Manav Rathi
d6c7ab0735 Inline 2024-08-29 20:18:31 +05:30
Manav Rathi
15884597b4 uc 2024-08-29 20:03:06 +05:30
Manav Rathi
4fd32155dc Worker 2024-08-29 19:55:05 +05:30
Manav Rathi
c9acda1b6d Show direction 2024-08-29 19:47:16 +05:30
Manav Rathi
29b5830e19 Print scores 2024-08-29 19:31:24 +05:30
Manav Rathi
3d95212023 Preview 2024-08-29 19:22:55 +05:30
Manav Rathi
2179b193d2 Preview 2024-08-29 19:15:34 +05:30
Manav Rathi
89a5a9f42f Prune 2024-08-29 18:42:17 +05:30
Manav Rathi
cd69e00451 Batch 2024-08-29 18:27:44 +05:30
Tanguy
fc66c3e689 Add Upstox icon 2024-08-29 18:10:19 +05:30
Manav Rathi
67ea0cfe73 Debugging code 2024-08-29 18:07:37 +05:30
Manav Rathi
406ac81684 [server] Gracefully handle deleted users (#3035)
## Description

## Tests
2024-08-29 18:06:44 +05:30
Manav Rathi
c1f16a5b6a [web] Make web app's log handling consistent with how desktop app does it (#3034) 2024-08-29 18:04:02 +05:30
Neeraj Gupta
236d24c79b [server] Gracefully handle deleted users 2024-08-29 18:01:06 +05:30
Manav Rathi
b55cf7c0d8 Update 2024-08-29 17:51:48 +05:30
Manav Rathi
87d6105159 Remove leftover migration code 2024-08-29 17:51:03 +05:30
Manav Rathi
194f07d48e Fix style lint issue 2024-08-29 17:50:09 +05:30
araghon007
0c48f53ab1 Remove X.com custom icon 2024-08-29 17:43:41 +05:30
Manav Rathi
6aba9064a7 [web] Make web app's log handling consistent with how desktop app does it 2024-08-29 17:36:40 +05:30
Manav Rathi
a2f87c8bd5 [web] Clear cached thumbnails if the source file is edited (#3032)
This still doesn't clear the cached React component, but now at least
the thumbnail would be refreshed on the next refresh of the page.
2024-08-29 17:32:49 +05:30
Manav Rathi
67361113af Help the linter move on 2024-08-29 17:28:11 +05:30
Aaron Torres
3d2a66023d Add RippleMatch icon 2024-08-29 17:22:47 +05:30
Manav Rathi
d99e405f10 [web] Clear cached thumbnails if the source file is edited 2024-08-29 17:16:10 +05:30
ashilkn
d5a8f234f8 [mob][photos] fix: creating a new album from hidden section is not hidden by default 2024-08-29 16:47:37 +05:30
Laurens Priem
018bd8a767 Ml fixesv148 (#3028)
## Description

- Don't process ML on mobile for large files
- ML user developer options to clear local data
2024-08-29 11:52:13 +02:00
Manav Rathi
e1e92d944a [desktop] Cluster WIP - Switch to HDBSCAN (#3024) 2024-08-29 08:17:04 +05:30
Manav Rathi
5dd1720b88 lf 2024-08-29 08:13:56 +05:30
Manav Rathi
e84903d2dd Switch 2024-08-29 08:01:43 +05:30
Manav Rathi
ca1a292fb2 Prep to try the hdbscan 2024-08-29 07:27:01 +05:30
Manav Rathi
62ba1f0f75 [desktop] Add CHANGELOG entry for Intel macOS fix (#3022)
Also tweak the github action again.
2024-08-28 20:40:22 +05:30
Manav Rathi
5ca3ca5289 Add CHANGELOG entry 2024-08-28 20:38:28 +05:30
Manav Rathi
ac5d37a9e3 Not helping, this is just causing it to run twice 2024-08-28 20:38:25 +05:30
Manav Rathi
23732dd087 [desktop] Cluster WIP - Part x/x (#3021) 2024-08-28 20:18:14 +05:30
Manav Rathi
5aae59cdda Add limits 2024-08-28 20:10:23 +05:30
Manav Rathi
3563c20997 Add limits 2024-08-28 20:04:59 +05:30
Manav Rathi
14ac034c0b Provide both options 2024-08-28 19:45:47 +05:30
Manav Rathi
cd5e40a1f5 Vars 2024-08-28 17:44:04 +05:30
Manav Rathi
72cc188efe Incorporate blur 2024-08-28 17:39:09 +05:30
Manav Rathi
2d50da84c8 Show blur 2024-08-28 17:29:52 +05:30
laurenspriem
dd6f88a1cd [mob][photos] Move 2024-08-28 13:49:07 +02:00
laurenspriem
ac5d9d99f1 [mob][photos] ML user developer options 2024-08-28 13:46:58 +02:00
Vishnu Mohandas
5ff595b268 Update string (#3018) 2024-08-28 16:39:23 +05:30
vishnukvmd
3cebd975a8 Update string 2024-08-28 16:38:56 +05:30
Manav Rathi
dac0dfb8f9 Set cgroups 2024-08-28 16:29:17 +05:30
Manav Rathi
77cf819ab4 Indicate cluster 2024-08-28 16:18:57 +05:30
Manav Rathi
760b1f3f85 Neighbours 2024-08-28 15:14:58 +05:30
laurenspriem
db8e203c36 [mob][photos] Always log basic info on empty result 2024-08-28 11:21:50 +02:00
laurenspriem
1e9a014ce7 [mob][photos] Minor cleanup 2024-08-28 11:12:22 +02:00
laurenspriem
e1ce353069 [mob][photos] Don't process large files on mobile 2024-08-28 11:08:18 +02:00
Vishnu Mohandas
2d97aa2e59 [docs] Tweaks to the Google import steps (#3014)
This is how it looks. It is getting a bit too long, so not 100%
satisfied with this.

<img width="703" alt="Screenshot 2024-08-28 at 13 56 25"
src="https://github.com/user-attachments/assets/bf8d0e56-baa2-4a8b-80a1-de40e8896108">
2024-08-28 14:00:14 +05:30
Manav Rathi
584ce6d416 [docs] Tweaks to the Google import steps 2024-08-28 13:57:22 +05:30
laurenspriem
61c1847d75 [mob][photos] Move 2024-08-28 10:19:39 +02:00
Manav Rathi
b922d135c5 [docs] Add a intro to backup FAQ since this question keeps coming up (#3013)
e.g. https://github.com/ente-io/ente/discussions/3009
2024-08-28 13:34:56 +05:30
Manav Rathi
aedf659144 Link 2024-08-28 13:31:50 +05:30
Manav Rathi
ca3ec5e94c pretty 2024-08-28 13:30:02 +05:30
Manav Rathi
e605d4c0df [docs] Add a intro to backup FAQ since this question keeps coming up
e.g. https://github.com/ente-io/ente/discussions/3009
2024-08-28 13:28:45 +05:30
Tanguy
74377a93d8 Fix #2018 2024-08-28 13:17:01 +05:30
Manav Rathi
d9d286d94e [desktop] Cluster debugging page (#3012) 2024-08-28 13:13:02 +05:30
Manav Rathi
8e87ebd50b Inline 2024-08-28 12:14:03 +05:30
Manav Rathi
87750805ae Inline 2024-08-28 11:44:29 +05:30
Manav Rathi
9908cf5a29 Debug code 2024-08-28 10:48:10 +05:30
Manav Rathi
0657b16002 Debugging page 2024-08-28 10:09:19 +05:30
Manav Rathi
703ba3ef6e [desktop] Clustering WIP - Part x/x (#3003) 2024-08-27 20:04:21 +05:30
Manav Rathi
3a64b675bb [server] Minor copy change (#3002)
## Description

## Tests
2024-08-27 20:03:25 +05:30
Manav Rathi
cfe9178301 Experiment to try and reduce the latency 2024-08-27 20:00:38 +05:30
Neeraj Gupta
b3d94e9bcf [server] Minor copy change 2024-08-27 19:51:28 +05:30
Manav Rathi
8aac4bf55f Fix 2024-08-27 19:50:39 +05:30
Manav Rathi
ca9c244182 Split 2024-08-27 19:27:31 +05:30
Manav Rathi
c4f81f55d1 Fix 2024-08-27 19:18:30 +05:30
Manav Rathi
8397ed52ce Tweaks 2024-08-27 19:14:34 +05:30
Manav Rathi
92859aa748 Doc 2024-08-27 18:44:51 +05:30
Manav Rathi
1fcc425779 Integrate 2024-08-27 18:31:07 +05:30
Manav Rathi
52bfe0310a Algo 2024-08-27 18:28:52 +05:30
Manav Rathi
1a9a36cb4c Scaffold 2024-08-27 18:18:09 +05:30
Manav Rathi
3f12ff2830 Opt 2024-08-27 18:18:09 +05:30
Manav Rathi
15ba2dd297 Start working on clustering again 2024-08-27 18:18:09 +05:30
Neeraj Gupta
b9dd371676 [mob] bump version 2024-08-27 18:14:57 +05:30
Neeraj Gupta
0f47842b5f [mob] generated files 2024-08-27 18:14:57 +05:30
Manav Rathi
49895a7d7f [web] Show ML option only on desktop (#2997)
This had been accidentally left enabled on web. The ML wouldn't run,
just the option was being shown.
2024-08-27 18:09:50 +05:30
Manav Rathi
520d893fd2 Show ML option only on desktop 2024-08-27 18:05:36 +05:30
Neeraj Gupta
e25d439b9b [server] Update validation for storage bonus 2024-08-27 16:30:04 +05:30
Neeraj Gupta
7103477598 [server] Reduce filedata delete worker count to 1 2024-08-27 16:30:04 +05:30
Neeraj Gupta
b0379e8945 [mob] Fix missing magic search 2024-08-27 16:24:03 +05:30
Crowdin Bot
4649561886 New Crowdin translations by GitHub Action 2024-08-27 16:21:21 +05:30
Laurens Priem
1cfb83ab02 Tiny cleanup (#2986)
## Description

Nothing worth mentioning really.
2024-08-27 12:34:55 +02:00
Laurens Priem
b7eb130a63 Merge branch 'main' into tiny_cleanup 2024-08-27 12:34:48 +02:00
Neeraj Gupta
c2a5f85a02 [mob] Skip untranslated strings 2024-08-27 16:02:33 +05:30
Neeraj Gupta
b9f8f55a30 [mob] Upgrade crowdin config 2024-08-27 15:59:07 +05:30
Neeraj Gupta
5e05e50049 [mob] Fix lint 2024-08-27 15:48:25 +05:30
Neeraj Gupta
cba69a84d3 [mob] Skip exporting untranslated strings for store listing 2024-08-27 15:40:27 +05:30
laurenspriem
8044bd75df [mob][photos] stop annoying analyzer emphasis 2024-08-27 12:09:51 +02:00
laurenspriem
9b82ba22a3 [mob][photos] Remove last tflite remnants 2024-08-27 11:41:59 +02:00
Neeraj Gupta
ac3061a232 Revert "[mob]Remove dst from crowdin template"
This reverts commit 4278e9c474.
2024-08-27 14:42:20 +05:30
Neeraj Gupta
4278e9c474 [mob]Remove dst from crowdin template 2024-08-27 14:35:04 +05:30
Ashil
3be95042a3 [mob][photos] update flutter version in README.md (#2978) 2024-08-27 14:18:30 +05:30
ashilkn
b1f3b440f7 [mob][photos] changes in pubspec.lock 2024-08-27 14:18:17 +05:30
ashilkn
55b4ce8326 [mob][photos] Update flutter version in github workflows 2024-08-27 14:09:27 +05:30
ashilkn
6c5dd38dbf [mob][photos] Update flutter version to 3.24.1 in README.md 2024-08-27 14:06:50 +05:30
Laurens Priem
3f9f554b4c ML file download logs (#2979)
## Description

More logging regarding download/obtaining file for ML indexing
2024-08-27 10:33:29 +02:00
Crowdin Bot
2450dcf4c2 New Crowdin translations by GitHub Action 2024-08-27 13:57:19 +05:30
laurenspriem
7718da93a5 [mob][photos] Logs 2024-08-27 10:23:15 +02:00
ashilkn
ef01223d9d [mob][photos] update flutter version in README.md 2024-08-27 13:49:28 +05:30
laurenspriem
d299f94518 [mob][photos] More logs 2024-08-27 10:11:12 +02:00
laurenspriem
375260d701 [mob][photos] Better logging for image retrieval 2024-08-27 10:05:31 +02:00
Manav Rathi
dc49a59111 [desktop] Specify an action version (#2977)
Apparently, specifying something after the @ is necessary. Without this,
the action stopped working.

Updates https://github.com/ente-io/ente/pull/2976.
2024-08-27 13:21:01 +05:30
Manav Rathi
13dea41c97 [desktop] Specify an action version
Apparently, specifying something after the @ is necessary. Without this, the
action stopped working.
2024-08-27 12:54:55 +05:30
Manav Rathi
3e4f8e7041 [desktop] Use latest version of our updated fork of the electron-builder action (#2976)
So that it refs this commit

eff78a1d33
2024-08-27 12:45:06 +05:30
Manav Rathi
f3860a077e [desktop] Use latest version of our updated fork of the electron-builder action
So that it refs this commit
eff78a1d33
2024-08-27 12:44:33 +05:30
Manav Rathi
cee429abdb Update the docs around ffmpeg on Intel macOS (#2974) 2024-08-27 12:40:28 +05:30
Manav Rathi
80b86189d0 Update the docs around ffmpeg on Intel macOS 2024-08-27 12:39:51 +05:30
Neeraj Gupta
4ecc64e478 [server] Handle case when no entry exists in trash 2024-08-27 12:35:24 +05:30
Manav Rathi
46e1552f1e [server] Cache count improvement (#2972)
## Description
This does not handle the case where the server might get multiple
request for same user to get the count, and the file count is not cached
yet.

## Tests
2024-08-27 12:15:09 +05:30
Manav Rathi
34183aab64 [desktop] Fix broken nightly builds due to ajv (#2971)
I'm not sure why it started happening now. Earlier I thought it was
because of this - https://github.com/ente-io/ente/pull/2969 - but that
was a red-herring (I think!), instead this likely got triggered because
of

eff78a1d33.

This change fixed the issue locally, will see if it works on CI too.

Workaround from:
https://github.com/ajv-validator/ajv/issues/2443#issuecomment-2147026958
2024-08-27 12:04:29 +05:30
Neeraj Gupta
e32facf3e6 [server] Refresh fileCount only if trash or usage changed 2024-08-27 12:01:00 +05:30
Manav Rathi
571d721925 [desktop] Fix broken nightly builds due to ajv
I'm not sure why it started happening now. Earlier I thought it was because of
this - https://github.com/ente-io/ente/pull/2969 - but that was a red-herring (I
think!), instead this likely got triggered because of
eff78a1d33.

This change fixed the issue locally, will see if it works on CI too.

Workaround from:
https://github.com/ajv-validator/ajv/issues/2443#issuecomment-2147026958
2024-08-27 12:00:40 +05:30
Manav Rathi
f1e91ab11a [server] Allow adding bonus storage (#2970)
## Description

## Tests
2024-08-27 11:44:00 +05:30
Neeraj Gupta
a5b289d290 [server] Allow 200,1TB, & 2TB 2024-08-27 11:36:26 +05:30
Neeraj Gupta
0925f7f0a2 [server] Allow adding support bonus 2024-08-27 11:32:48 +05:30
Neeraj Gupta
bf7f1d43c0 [server] Update endpoint 2024-08-27 11:26:59 +05:30
Neeraj Gupta
e0eda79a91 [server] Refactor 2024-08-27 11:20:27 +05:30
Neeraj Gupta
9334540e1e [server] Rename 2024-08-27 11:14:34 +05:30
Neeraj Gupta
f67516f696 [server] Remove duplicate code 2024-08-27 10:56:56 +05:30
Manav Rathi
5663378bf2 [desktop] Fix macOS universal binaries (#2969)
The previous approach worked, but we ran into some other issues

    Uncaught Exception:
    Error: Cannot find module 'ajv/dist/compile/codegen'
    Require stack:
-
/Applications/ente.app/Contents/Resources/app.asar/node_modules/ajv-formats/dist/limit.js

As an alternative, try to use the yarn equivalent(-ish).
2024-08-27 10:52:49 +05:30
Manav Rathi
45c4d1c623 [server] Remove unused endpoint (#2968)
## Description

## Tests
2024-08-27 10:51:47 +05:30
Manav Rathi
7129b2822b [desktop] Fix macOS universal binaries
The previous approach worked, but we ran into some other issues

    Uncaught Exception:
    Error: Cannot find module 'ajv/dist/compile/codegen'
    Require stack:
    - /Applications/ente.app/Contents/Resources/app.asar/node_modules/ajv-formats/dist/limit.js

As an alternative, try to use the yarn equivalent(-ish).
2024-08-27 10:50:51 +05:30
Neeraj Gupta
65497862ea [server] Remove unused endpoint 2024-08-27 10:48:56 +05:30
Manav Rathi
e2c3b625db [server] Log slow replication upload (#2966)
## Description

## Tests
2024-08-27 10:07:40 +05:30
Manav Rathi
acfbcf1cf4 [desktop] Fix action (#2967)
Fix for https://github.com/ente-io/ente/pull/2965
2024-08-27 10:03:27 +05:30
Manav Rathi
c1327fd8aa [desktop] Fix action
Fix for https://github.com/ente-io/ente/pull/2965
2024-08-27 10:02:45 +05:30
Neeraj Gupta
706bb12273 [server] Log slow replication 2024-08-27 10:00:06 +05:30
Manav Rathi
323f027a9d [desktop] Create ffmpeg universal binaries for macOS (#2965)
Tested locally, still need to run it as a GitHub action to verify that
it is working as intended.

Refs:
-
https://www.npmjs.com/package/ffmpeg-static#electron--other-cross-platform-packaging-tools
- https://github.com/eugeneware/ffmpeg-static/issues/35
- https://github.com/eugeneware/ffmpeg-static/issues/136
2024-08-27 09:57:35 +05:30
Manav Rathi
248d8e09a9 [desktop] Create ffmpeg universal binaries for macOS
Tested locally, still need to run it as a GitHub action to verify that it is
working as intended.

Refs:
- https://www.npmjs.com/package/ffmpeg-static#electron--other-cross-platform-packaging-tools
- https://github.com/eugeneware/ffmpeg-static/issues/35
- https://github.com/eugeneware/ffmpeg-static/issues/136
2024-08-27 09:54:30 +05:30
Manav Rathi
716b1be234 [meta] Run PRs lint checks for pull requests from external forks (#2959)
Currently, for PRs opened by external contributors, the various lint
checks don't run (sometimes causing code that fails basic lint checks to
be committed to main).

<img width="796" alt="Screenshot 2024-08-26 at 21 56 01"
src="https://github.com/user-attachments/assets/d7607c65-1849-4ec3-ae0e-011161015fce">

From my current understanding (I find the docs around this confusing -
I'm not sure about this), we need to instead use "pull_request". Refs:

*
https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
*
https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/

Note that even then, we will need a manual step to approve running the
lints for first time contributors. Which is fine, at least we'll see the
option, unlike right now where they just can't be run until the code
hits main.

<img width="542" alt="Screenshot 2024-08-26 at 21 56 17"
src="https://github.com/user-attachments/assets/d5281a04-c6f8-4bd6-b368-b4bd99b943ef">
2024-08-27 08:06:53 +05:30
Neeraj Gupta
8f5f1a22ee [auth] Fix Aegis import without group 2024-08-27 05:16:05 +05:30
Vishnu Mohandas
f9b740b683 Update docs (#2961) 2024-08-26 22:33:28 +05:30
vishnukvmd
2f0cef6ab9 [docs] Add FAQ 2024-08-26 22:32:44 +05:30
Neeraj Gupta
58575a2dc7 [mob] Update version v0.9.30 2024-08-26 22:25:52 +05:30
Manav Rathi
8813b0cf1c [meta] Run PRs lint checks for pull requests from external forks
Currently, for PRs opened by external contributors, the various lint checks
don't run (sometimes causing code that fails basic lint checks to be committed
to main).

From my current understanding (I find the docs around this confusing), we need
to instead use the "pull_request" target. Refs:

* https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
* https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/

Note that even then, we will need a manual step to approve running the lints for
first time contributors. Which is fine, at least we'll see the option, unlike
right now where they just can't be run until the code hits main.
2024-08-26 21:50:04 +05:30
Vishnu Mohandas
ef26c39378 [docs] Remove stale question about magic search (#2957)
Not sure if this distinction is relevant anymore, but if needed can
retain it too (just saw it when modifying something else).
2024-08-26 21:45:11 +05:30
vishnukvmd
fd4026f27a [doc] Update information about lost password + recovery key 2024-08-26 21:43:25 +05:30
Vishnu Mohandas
dee504be93 [docs] Update answer (#2958) 2024-08-26 21:36:45 +05:30
vishnukvmd
7485c4a02f [docs] Update answer 2024-08-26 21:36:15 +05:30
Manav Rathi
4c1a2b88a2 [docs] Remove stale question about magic search
Not sure if this distinction is relevant anymore.
2024-08-26 21:32:05 +05:30
Manav Rathi
e05b7b4d49 [docs] Move preserving folder structure into its own subsection (#2956) 2024-08-26 21:20:13 +05:30
Manav Rathi
ef7dfd5054 Clarify nested 2024-08-26 21:19:15 +05:30
Manav Rathi
f40257e21d [docs] Move preserving folder structure into its own subsection 2024-08-26 21:16:11 +05:30
Tanguy
15dc823109 [auth] Add & change icons (#2954)
- Add G2A icon.
- Update Teleport icon.
- Add `mix-blend-mode:difference` to SVGs containing white/black parts
to make them visible in both dark and light themes, while preserving the
brand guideline (GitHub, Ubisoft, Mistral, Filen).
**On Android Studio emulators, this `mix-blend-mode` can appear
glitched, but it works fine (verified on iPhone).**

<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [x] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-08-26 20:31:34 +05:30
Laurens Priem
5c64d53e5a [mob][photos] Log format of decoding error (#2951)
## Description

Title
2024-08-26 16:54:18 +02:00
laurenspriem
0121643558 [mob][photos] Log format of decoding error 2024-08-26 16:53:01 +02:00
Manav Rathi
e3e7105393 [web] Fix lint issues in recent external PRs (#2950) 2024-08-26 20:21:58 +05:30
Manav Rathi
fc4429925b Fix lint issues 2024-08-26 20:14:00 +05:30
Manav Rathi
57cc101fcf [desktop] Fix video upload when metadata extraction fails (#2949)
e.g. on Intel macOS. Regression introduced in 1.7.3, specifically
862495c29e.
2024-08-26 20:12:47 +05:30
Laurens Priem
210706e978 Solve onnx build issue Android (#2948)
## Description

Solve build issue on Android
2024-08-26 16:38:50 +02:00
Manav Rathi
c0e6449962 [desktop] Fix video upload when metadata extraction fails
e.g. on Intel macOS. Regression introduced in 1.7.3, specifically 862495c29e.
2024-08-26 20:01:20 +05:30
laurenspriem
e98e8833e6 [mob][photos] Clip logs 2024-08-26 16:15:49 +02:00
laurenspriem
1f05ae268f [mob][photos] updated onnxruntime without android binary 2024-08-26 16:04:32 +02:00
Neeraj Gupta
924bee53e8 [server] Upload fileData in async manner 2024-08-26 17:19:54 +05:30
Neeraj Gupta
b258c3a6b7 [server] Remove slow req logging 2024-08-26 17:19:54 +05:30
Neeraj Gupta
3dd9be921a [mob] Bump version v0.9.29 2024-08-26 17:00:55 +05:30
Neeraj Gupta
a10972319b [mob] Potential fix for notification order 2024-08-26 17:00:55 +05:30
Neeraj Gupta
0af37e8cbe [mob] Generated strings 2024-08-26 17:00:55 +05:30
Manav Rathi
ea6591e072 [web] New translations (#2941)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-26 15:51:52 +05:30
Crowdin Bot
87567ad8ee New Crowdin translations by GitHub Action 2024-08-26 10:19:59 +00:00
Vishnu Mohandas
4a6942f604 Remove extra space before comma (#2940) 2024-08-26 15:49:13 +05:30
vishnukvmd
b18f7fbfad Remove extra space before comma 2024-08-26 15:40:54 +05:30
Vishnu Mohandas
42c77fd506 ente -> Ente (#2938)
Fixes #2936.
2024-08-26 15:24:40 +05:30
Ashil
217831cf36 [mob][photos] Fix SafeArea UI issues on file viewer (#2935) 2024-08-26 15:24:33 +05:30
vishnukvmd
aa696e8457 ente -> Ente 2024-08-26 15:23:15 +05:30
Vishnu Mohandas
33170f240d [server] Fixed typo (#2937)
## Description

## Tests
2024-08-26 15:21:59 +05:30
Neeraj Gupta
dec57863bd [server] Fixed typo 2024-08-26 15:17:08 +05:30
ashilkn
572bca145a [mob][photos] Remove unnecessary safearea from top of video player controls 2024-08-26 15:10:29 +05:30
ashilkn
9c503437b6 [mob][photos] Fix UI regression 2024-08-26 15:07:35 +05:30
Z13B
9de3bdcd03 [auth] Added Bethesda Softworks icon 2024-08-26 15:05:25 +05:30
ashilkn
661f93a1bc [mob][photos] Fix safeArea issues on file viewer 2024-08-26 14:47:23 +05:30
Vishnu Mohandas
934f83fe04 [doc] Update image in doc (#2933)
## Description

## Tests
2024-08-26 14:29:43 +05:30
vishnukvmd
f6dcda8835 [doc] Update image in doc 2024-08-26 14:29:16 +05:30
Neeraj Gupta
999de31233 [server] Fix go mod 2024-08-26 14:22:02 +05:30
Neeraj Gupta
95a7d9288d [mob] Fixed typo 2024-08-26 14:07:37 +05:30
Manav Rathi
0a93ce0a46 [server] Fix go-away version (#2925)
## Description

## Tests
2024-08-26 12:08:36 +05:30
Prateek Sunal
9aefea66d2 chore: update packages 2024-08-26 12:07:42 +05:30
Prateek Sunal
3a65f49ab3 chore: remove -pre from pubspec 2024-08-26 12:07:42 +05:30
Prateek Sunal
f54a9429de chore: remove unwanted 2024-08-26 12:07:42 +05:30
Prateek Sunal
ebc28fb831 fix: unfold constants 2024-08-26 12:07:42 +05:30
Prateek Sunal
1bcf2c92b4 fix: scaling of text in code, etc 2024-08-26 12:07:42 +05:30
Crowdin Bot
3b6c840a94 New Crowdin translations by GitHub Action 2024-08-26 12:07:09 +05:30
Neeraj Gupta
a4420efd52 [server] Fix go-away version 2024-08-26 11:56:02 +05:30
casualsailo
4f7b100d7a Add BinanceUS icon 2024-08-26 11:25:37 +05:30
casualsailo
25a1dbcfd0 Add Wealthfront icon 2024-08-26 11:25:37 +05:30
casualsailo
e7c6eec555 Add T-Mobile icon 2024-08-26 11:25:37 +05:30
Neeraj Gupta
34706eff46 [server] Treat invalid attestation resp as badRequest 2024-08-26 11:25:05 +05:30
SpeeterYT
0d33c68d22 Added FritzBox to custom-icons.json
Added FritzBox to custom-icons.json. It uses the same svg as myfritz, so its entry was extended insted of creating a new one
2024-08-26 11:18:44 +05:30
Manav Rathi
71e837555c Fix links (#2922)
Fixes https://github.com/ente-io/ente/issues/2885
2024-08-26 11:17:29 +05:30
Brogio
93e2036cfd Update referral.go to check for profanity in code (#2868)
## Description
Checks if the code contains profanity

## Tests
2024-08-26 11:17:14 +05:30
Crowdin Bot
1df05a8117 New Crowdin translations by GitHub Action 2024-08-26 11:16:28 +05:30
Manav Rathi
d710ccae9b Fix links
Fixes https://github.com/ente-io/ente/issues/2885
2024-08-26 10:57:12 +05:30
Manav Rathi
0b0dbf2839 [desktop] Fix link in dependencies docs (#2920)
Fixes https://github.com/ente-io/ente/issues/2884
2024-08-26 10:54:32 +05:30
Manav Rathi
ebcec9bad9 [desktop] Fix link in dependencies docs
Fixes https://github.com/ente-io/ente/issues/2884
2024-08-26 10:53:10 +05:30
Manav Rathi
ef78ffcc30 [web] New translations (#2913)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-26 10:46:08 +05:30
Manav Rathi
b03ad7fad4 [web][photos] Fix vertical mirror icon (#2856)
## Description
This PR changes the rotation of the vertical mirror icon to be rotated
by 90deg


![image](https://github.com/user-attachments/assets/1c8c4f1b-c130-42ba-a240-f8a2d51d046e)
It's German but should show the fix

## Tests
2024-08-26 10:44:52 +05:30
Manav Rathi
14e5a720e7 [web][photos] Fix search icon layout & color (#2911)
This fixes the search icon in the search box not being centered properly
and also not having the muted color style.

The container is a flex-box layout which already tries to center its
items. But due to the icons in MUI having a display of `inline-block`,
our `Box` container also needs `display: inline-flex` to properly
calculate the height. Now the box container is the same height as the
icon and it gets centered correctly again.
This is the same methodology that the MUI native `IconButton` also uses
as a display value. See
https://github.com/mui/material-ui/issues/33020#issuecomment-1149971549

Current web version:

![image](https://github.com/user-attachments/assets/44ca19e3-16c3-4349-9ecd-5089b3876f76)

Proposed fix:

![image](https://github.com/user-attachments/assets/1b707cf3-a9cb-44cb-99ae-4eb4d350f20e)


This also removes the `icon` CSS class from the Box container since it
does not exist anyway. And we fixed the theme color not being applied.
This was otherwise just passed as a raw string to the color property and
now correctly uses the intended theme color.

Thanks!
2024-08-26 10:44:12 +05:30
Manav Rathi
ab2cd75da9 [web][photos] Fix web navbar button sizes (#2912)
Two minor style fixes for the nav bar. 

1. Sidebar 3-lines IconButton had its left padding set to 0, which
causes issues.
2. Upload icon on mobile had the wrong height and thus weird ripple /
hover effects.

Please see the respective commit for details & the reasoning.

How those currently look:

![image](https://github.com/user-attachments/assets/16466b61-dcf0-4647-953e-b680b53943e0)

![image](https://github.com/user-attachments/assets/63ccc4e6-97c2-4e39-8c76-6267bb0e8ae2)

How they look with the proposed fix:

![image](https://github.com/user-attachments/assets/9b1ba2c3-cabf-4ee7-b1e4-66ad3a09ec22)

![image](https://github.com/user-attachments/assets/82e0b49c-dc05-4ae9-a6c8-06efc8d364f3)


Thanks!
2024-08-26 10:42:25 +05:30
Crowdin Bot
0a2f8879a6 New Crowdin translations by GitHub Action 2024-08-26 00:31:54 +00:00
Saibotk
2584a1d09f [web][photos] Fix search icon layout & color
This fixes the search icon in the search box not being centered properly and also not having the muted color style.

The container is a flex-box layout which already tries to center its items. But due to the icons in MUI having a display of `inline-block`, our `Box` container also needs `display: inline-flex` to properly calculate the height. Now the box container is the same height as the icon and it gets centered correctly again.
This is the same methodology that the MUI native `IconButton` also uses
as a display value. See https://github.com/mui/material-ui/issues/33020#issuecomment-1149971549

This also removes the `icon` css class from the Box container since it does not exist anyway. And we fixed the theme color not being applied. This was otherwise just passed as a raw string to the color property and now correctly uses the intended theme color.
2024-08-26 01:36:39 +02:00
Saibotk
f77fadee26 [web][photos] Fix mobile upload button hover & position
The hover and ripple effects and the positioning were off on the mobile upload button, because the `.mobile-button` class used the wrong class to let the element appear again. It used `display: block`, but the MUI IconButton actually has `display: inline-flex`, which will also fix the wrong height of the button.

See https://github.com/mui/material-ui/issues/33020
2024-08-26 01:28:19 +02:00
Saibotk
7e61c07a49 [web][photos] Fix missing sidebar button padding
Previously the button was assigned 0 left padding instead of its default 12px padding. This caused the ripple and hover effects to be off. It also caused the button to be right on the screen edge on mobile.

This is now fixed by just removing the override.
2024-08-26 01:25:34 +02:00
JamesS-M
fe8d5a98c5 add wealthsimple icon 2024-08-25 14:55:21 +05:30
Aman Raj Singh Mourya
ad0bc4a634 [mob][photos] Extract string 2024-08-25 05:54:08 +05:30
Aman Raj Singh Mourya
b9a2cea390 [mob][photos] added authentication to view passkeys 2024-08-25 05:54:08 +05:30
Shamshid
09da5ca550 [Auth] Optimize and improve icons (#2843)
Overall custom_icons directory size improvement is from **1.3M -> 704K**

#### Replaced image data icons:
- 3commas
- Addy_io
- Bitskins
- Bitvavo
- Configcat
- Controld
- Kpn
- Marketplacedottf
- Odido
- Peerberry
- Porkbun
- Skinport
- Tweakers
- Wise

#### Optimized icons:
- Bitwarden
- Bloom_host
- Booking
- Brave_creators
- Cloudamqp
- Cloudflare
- Epic_games
- Google
- HuggingFace
- Kraken
- Mintos
- Mistral
- MyFritz
- Notion
- Nucommunity
- Nvidia
- Rockstar_games
- Samsung
- Sms_pool_net
- Synology_dsm
- Teleport
- Twitch
- Ubisoft
- Uphold
- Whmcs
- Windscribe
- Ynab

#### Improved icons:
- LocalWP
- Mercado_livre
- Transip
- Twingate
- Ubuntu_one
- Wyze
- Yandex

#### Fixed icons:
- Workos
- Poloniex
- Proxmox
- Registro_br
2024-08-25 05:53:26 +05:30
ludespeedny
4adf74b062 [Auth] Adjust icons (#2831)
Removed extra line after "enom" and adjusted itch.io icon color to more
closely match their recommended color in dark and light mode.
2024-08-25 05:51:49 +05:30
Laurens Priem
c818e6f408 [mob][photos] Type error (#2880)
## Description

## Tests
2024-08-25 02:01:01 +02:00
laurenspriem
066b251f75 [mob][photos] Type error 2024-08-24 21:51:39 +02:00
Manav Rathi
3b4917913a [web] Update yarn.lock (#2872)
Leftover bit of https://github.com/ente-io/ente/pull/2849
2024-08-24 17:18:37 +05:30
Manav Rathi
e10d581bdb [web] Update yarn.lock
Leftover bit of https://github.com/ente-io/ente/pull/2849
2024-08-24 17:14:30 +05:30
Manav Rathi
f82df77bf8 [docs] Document first user as admin (#2871)
https://github.com/ente-io/ente/pull/2869/
2024-08-24 17:03:27 +05:30
Manav Rathi
d0a485f8aa [docs] Document first user as admin
https://github.com/ente-io/ente/pull/2869/
2024-08-24 17:02:20 +05:30
Manav Rathi
8fc319abdf [server] Treat firstUser as admin if admins config is empty (#2869)
## Description

## Tests
2024-08-24 16:48:20 +05:30
Neeraj Gupta
9be01793ac remove check for deleted user 2024-08-24 16:46:15 +05:30
Neeraj Gupta
829b4ab436 [server] Treat firstUser as admin if admins config is empty 2024-08-24 16:35:25 +05:30
Manav Rathi
b190efa814 [server] Handle case where fileInfo is missing (#2867)
## Description
This fixes the 5xx alert for file/info endpoint due to panic

## Tests
Verified that lint works fine locally
PS: This endpoint is used by mobile to backfill file size information,
which is primarily used for dedupe and sort by size feature,.
2024-08-24 16:17:27 +05:30
Neeraj Gupta
5edf3f8e1d [server] Handle case where fileInfo is missing 2024-08-24 16:09:17 +05:30
Neeraj Gupta
cef54aafec [server] Log slow files data put requests (#2866)
## Description

## Tests
2024-08-24 16:02:43 +05:30
Neeraj Gupta
0bc8b428bb [server] Log slow files data put requests 2024-08-24 16:00:15 +05:30
Manav Rathi
006015bd25 [web] Change live photo clubbing threshold to 2 minutes (#2865) 2024-08-24 15:48:25 +05:30
Manav Rathi
391ccb051c [web] Change live photo clubbing threshold to 2 minutes 2024-08-24 15:47:41 +05:30
Neeraj Gupta
408537e016 [server] Added APIs for ops (#2864)
## Description

## Tests
2024-08-24 15:40:14 +05:30
Neeraj Gupta
c00d18cb5d minor refactor 2024-08-24 15:39:45 +05:30
Neeraj Gupta
27546fb558 [server] Allow both enabling or removing email MFA 2024-08-24 15:38:13 +05:30
Manav Rathi
983765db11 [docs] Mention FS times (#2863) 2024-08-24 15:37:16 +05:30
Neeraj Gupta
6786491d72 [server] Add admin endpoint to add ott 2024-08-24 15:35:53 +05:30
Manav Rathi
2a8ff8e1c8 [docs] Mention FS times 2024-08-24 15:35:45 +05:30
Neeraj Gupta
6baa1c08c5 [server] Admin endpoint to disable email mfa 2024-08-24 15:09:32 +05:30
Neeraj Gupta
6cd3dab5d3 [auth] Fix import errors (#2862)
## Description

## Tests
2024-08-24 14:53:38 +05:30
Neeraj Gupta
b8e89ac78a [auth] Lint fixes 2024-08-24 14:28:19 +05:30
Neeraj Gupta
724dcd97c1 [auth] Fix steam import from 2fas 2024-08-24 14:22:35 +05:30
Neeraj Gupta
5a35edbbab [auth] Fix bug in importing account with special chars 2024-08-24 14:09:24 +05:30
Neeraj Gupta
f7c2898e09 [mob] Fix remove from cluster & provide option to delete files from cluster view (#2858)
## Description

## Tests
2024-08-24 13:54:41 +05:30
Neeraj Gupta
0258df5f41 [auth] Log provider when code parsing fails 2024-08-24 13:53:39 +05:30
Manav Rathi
05cf7c9c91 [web] Club into a live photo only if within 5 mins (#2859) 2024-08-24 13:42:12 +05:30
Manav Rathi
c0f628ce2d Club into a live photo only if within 5 mins 2024-08-24 13:24:43 +05:30
Manav Rathi
18a6af3776 Alt 2024-08-24 13:07:46 +05:30
Neeraj Gupta
63e21126f5 [mob] Show delete face option on face group page 2024-08-24 12:58:40 +05:30
Neeraj Gupta
66c88fa067 [mob] Fix type error 2024-08-24 12:57:23 +05:30
Neeraj Gupta
0aba538dd8 [server] Handle invalid domain err (#2848)
## Description

## Tests
2024-08-24 12:51:32 +05:30
Manav Rathi
a9f0da7ed3 Move 2024-08-24 12:36:55 +05:30
Manav Rathi
32f8717224 [desktop] Remove unnecessary readwrite tx (#2857) 2024-08-24 11:30:20 +05:30
Manav Rathi
6fc1ab02aa [docs] Authy guide obsolete notice (#2853)
## Description
As Authy no longer supports its desktop apps, moving from Authy to Ente
Auth using the methods are not possible. This PR adds this notice to the
guide.

it was fun while it lasted 😔 

## Tests
2024-08-24 11:26:29 +05:30
Manav Rathi
9f166d2e48 [desktop] Remove unnecessary readwrite tx 2024-08-24 11:22:13 +05:30
Johannes7k75
26c2d9a9dd fix rotation of vertical mirror 2024-08-23 23:30:04 +02:00
Johannes7k75
fa72aac869 Update TransformMenu.tsx 2024-08-23 23:24:05 +02:00
green.
a61b52ac10 Update index.md 2024-08-23 20:46:00 +02:00
Vishnu Mohandas
de341b2621 [photos] v0.9.28 2024-08-23 23:00:04 +05:30
Manav Rathi
9417b99abe [web] Improved date search, including support for day of week and hour of day (#2849)
Fixes https://github.com/ente-io/ente/discussions/2821
2024-08-23 21:48:14 +05:30
Manav Rathi
3cca9512df LF 2024-08-23 21:43:40 +05:30
Manav Rathi
5fd92096c9 Add CHANGELOG entry 2024-08-23 21:41:25 +05:30
Manav Rathi
68d722d06b Use UI date 2024-08-23 21:37:18 +05:30
Manav Rathi
a84aa346f5 Better hours 2024-08-23 21:28:26 +05:30
Laurens Priem
e68952f2dd Ml debug (#2847)
Various minor fixes for ML:
- Only download model on Wifi and notify user
- Fix ML queue not stopping on interaction
- Partial fix for ML stopping randomly
- Fix ML queue not stopping on disabling ML
- Update ML debug options
2024-08-23 17:56:57 +02:00
Vishnu Mohandas
b11f2adfbe [server] Increase the limit for referral code length (#2845) 2024-08-23 21:21:19 +05:30
Laurens Priem
6f65afc4e5 Merge branch 'main' into ml_debug 2024-08-23 17:49:20 +02:00
laurenspriem
abd5234e7c [mob][photos] resolve merge conflict 2024-08-23 17:48:18 +02:00
Manav Rathi
ee3a920227 Hour 2024-08-23 21:11:21 +05:30
Neeraj Gupta
0e0f06d9a6 [server] Handle invalid domain err 2024-08-23 21:02:07 +05:30
Manav Rathi
a1237dfafe Fix undefineds 2024-08-23 20:55:42 +05:30
Manav Rathi
d4a59983cb Fix holiday parsing 2024-08-23 20:47:26 +05:30
laurenspriem
44a6f256d6 [mob][photos] Show errored faces count 2024-08-23 17:16:38 +02:00
Manav Rathi
177d3dcccf Guarantees 2024-08-23 20:27:28 +05:30
Manav Rathi
039055ccc0 Dedup 2024-08-23 20:24:30 +05:30
Manav Rathi
00865e3ee2 Handle years
Ref: https://github.com/wanasit/chrono/issues/296
2024-08-23 20:23:04 +05:30
vishnukvmd
e9686613b6 Increase the limit for referral code length 2024-08-23 20:21:54 +05:30
laurenspriem
ac3a323abd [mob][photos] ml debug options 2024-08-23 16:51:54 +02:00
Manav Rathi
da5da33dc2 Weekday 2024-08-23 20:09:19 +05:30
Vishnu Mohandas
ad6028d55e Fix status bar issue (#2842)
## Description

Status bar was not adapting to it's background. See status bar on both
before and after screen recordings here:

#### Before


https://github.com/user-attachments/assets/dd899686-43f5-4ab4-ad2c-865bfba1e4d9


#### After



https://github.com/user-attachments/assets/5c0d3544-30ed-43ac-9e7d-5002c6b0add6
2024-08-23 19:04:51 +05:30
laurenspriem
de25072755 [mob][photos] ml debug options 2/x 2024-08-23 15:30:46 +02:00
laurenspriem
e47b4169ed [mob][photos] small refactor 2024-08-23 15:26:23 +02:00
ashilkn
2d4225f6ad [mob][photos] Revert change to dark theme elevation colors becuase of inconsistancy across app with some dark theme colors of few components 2024-08-23 18:53:54 +05:30
Ashil
0eb291071b Revert app bar changes (#2841) 2024-08-23 18:38:23 +05:30
laurenspriem
370731b56a [mob][photos] ml debug options 1/x 2024-08-23 15:06:33 +02:00
ashilkn
20223ddec8 [mob][photos] Refactor + minor UI change 2024-08-23 18:35:05 +05:30
ashilkn
67ee521775 Revert "[mob][photos] Create separate widget for home tab's app bar"
This reverts commit 0e642cd254.
2024-08-23 18:24:06 +05:30
ashilkn
66d7e7e043 Revert "[mob][photos] Refactor + UI tweaks on home app bar"
This reverts commit 183ed3f1d7.
2024-08-23 18:22:18 +05:30
ashilkn
52b13d25b5 [mob][photos] chore 2024-08-23 18:19:41 +05:30
Manav Rathi
118b828ee5 Update matcher 2024-08-23 18:18:19 +05:30
ashilkn
295fa609a6 Revert "[mob][photos] Add shadow to home tab's app bar"
This reverts commit 3461201708.
2024-08-23 18:18:05 +05:30
ashilkn
7f3d7c530f Revert "[mob][photos] Show home tab app bar only on home tab"
This reverts commit 4ad9089f90.
2024-08-23 18:15:23 +05:30
Manav Rathi
8379fb726d Parse 2024-08-23 17:59:50 +05:30
ashilkn
a913d2550d [mob][photos] Fix status bar not adapting it's color with each screen's appbar colour, which is it's background 2024-08-23 17:43:56 +05:30
Manav Rathi
27c5153fb3 Less arbitrary 2024-08-23 17:43:29 +05:30
ashilkn
4ad9089f90 [mob][photos] Show home tab app bar only on home tab 2024-08-23 17:38:42 +05:30
laurenspriem
c3e8a81845 [mob][photos] Lint warnings 2024-08-23 13:57:40 +02:00
Manav Rathi
a5ffb0f4bd Rename 2024-08-23 17:27:38 +05:30
Manav Rathi
aaadffa613 Move 2024-08-23 17:22:21 +05:30
laurenspriem
0178296850 [mob][photos] Stop indexing queue when ML is disabled 2024-08-23 13:50:04 +02:00
Manav Rathi
5a107db577 Document chrono-node 2024-08-23 16:59:48 +05:30
Manav Rathi
cdecf089fc [desktop] Update dependencies (#2840) 2024-08-23 16:09:22 +05:30
Manav Rathi
97d63c940e New rule!
https://typescript-eslint.io/rules/return-await/
2024-08-23 16:05:11 +05:30
Manav Rathi
d96e747c5e Regen yarn.lock 2024-08-23 16:02:18 +05:30
Manav Rathi
5fe1fc8039 Update eslint and frens 2024-08-23 15:59:30 +05:30
Manav Rathi
d9ec49b0ac Update electron updater
https://github.com/electron-userland/electron-builder/releases
2024-08-23 15:59:04 +05:30
Manav Rathi
8118f980f6 List out in full and patch updates
Going forward, we'll use npx npm-check-updates to update the package.json so the
full version numbers are desirable.
2024-08-23 15:50:00 +05:30
Manav Rathi
9743115851 Update ONNX runtime 0.18 => 0.19
https://github.com/microsoft/onnxruntime/releases
2024-08-23 15:44:41 +05:30
Manav Rathi
5a226502c1 Update Electron 30.2.0 => 30.4.0
Routine update, no changes that impact us noticed in the changelog
https://github.com/electron/electron/releases
2024-08-23 15:37:38 +05:30
laurenspriem
f0c546bc3b [mob][photos] clip bilinear 2024-08-23 12:01:35 +02:00
Manav Rathi
577e4765a7 [web] Switch to libsodium-wrappers-sumo (#2839) 2024-08-23 14:46:27 +05:30
Manav Rathi
46f53494df Update 2024-08-23 14:39:05 +05:30
Manav Rathi
d788ca28af Update 2024-08-23 14:35:19 +05:30
Laurens Priem
c4c489abb0 [mob][photos] Use bilinear interpolation for clip (#2838)
## Description

Bilinear interpolation
2024-08-23 10:53:31 +02:00
laurenspriem
a328189891 [mob][photos] Use bilinear interpolation for clip 2024-08-23 10:35:26 +02:00
Manav Rathi
c509bffaa3 Switch to libsodium-wrappers-sumo 2024-08-23 13:21:32 +05:30
Manav Rathi
89effbabc1 [web] Improve the handling of ellipsized labels (#2837)
The overflow: "hidden" on the two parent divs is still needed, for
reasons I don't fully understand, need to debug further at some point.
2024-08-23 12:54:27 +05:30
Neeraj Gupta
c60a61565d [server] Return 400 on invalid RCPT address (#2836)
## Description

## Tests
2024-08-23 12:01:16 +05:30
Neeraj Gupta
251716bad6 [server] Return 400 on invalid RCPT address 2024-08-23 11:58:55 +05:30
Vishnu Mohandas
ee68880f51 [mob] Revert to custom onnxruntime fork (#2834)
## Description

## Tests
2024-08-23 10:47:01 +05:30
Manav Rathi
9577ff7776 Remove unnecessary rep 2024-08-23 10:44:57 +05:30
Manav Rathi
467dccf8bb Use 2024-08-23 10:43:52 +05:30
Neeraj Gupta
270acf1896 [mob] Bump version v0.9.27 2024-08-23 10:40:30 +05:30
Neeraj Gupta
630770be56 Use old onnx package to unblock release 2024-08-23 10:40:06 +05:30
Neeraj Gupta
6e13216c53 Revert "[mob] Fix android build (#2832)"
This reverts commit 5735e050e2, reversing
changes made to 7ddee7d75e.
2024-08-23 10:38:04 +05:30
Manav Rathi
f3dae23e2a Use 2024-08-23 10:36:53 +05:30
Manav Rathi
489dc2e46d Extract 2024-08-23 10:33:26 +05:30
Neeraj Gupta
5735e050e2 [mob] Fix android build (#2832)
## Description

## Tests
Build worked locally
2024-08-23 10:20:17 +05:30
Neeraj Gupta
385655365d [mob] Fix android build 2024-08-23 10:06:17 +05:30
Manav Rathi
f0bf07a384 Move variant into custom component 2024-08-23 09:51:57 +05:30
Shamshid
7ddee7d75e [Auth] Add HuggingFace icon (#2827) 2024-08-23 04:43:07 +05:30
laurenspriem
bb6ac34920 [mob][photos] Keep triggering ML on ML settings page 2024-08-22 16:37:09 +02:00
laurenspriem
5eb153a310 [mob][photos] Prevent double ML sessions in debug iOS 2024-08-22 16:23:14 +02:00
laurenspriem
1d50cdeeca [mob][photos] Fix ml not stopping on interaction 2024-08-22 16:18:16 +02:00
laurenspriem
eaf136d34f [mob][photos] notify user if model download is paused 2024-08-22 15:37:03 +02:00
ashilkn
b96185df63 [mob][photos] Change elevation colors of app 2024-08-22 18:43:14 +05:30
Vishnu Mohandas
bf5e2004cf Update email templates (#2823)
## Description

Updates all templates apart from the ones for family plans to use simple
HTML.

The OTT email is no longer marked as spam by Gmail.

## Tests
- [x] Responsive
- [x] Supports both light and dark themes

## Screenshots

<img width="600" alt="Screenshot 2024-08-22 at 6 16 38 PM"
src="https://github.com/user-attachments/assets/78465ffe-399d-430c-9025-d3c77ff72f67">

<img width="600" alt="Screenshot 2024-08-22 at 6 16 58 PM"
src="https://github.com/user-attachments/assets/1e497cd1-f04a-403a-b4c7-8581f5cfbb91">

<img width="300"
src="https://github.com/user-attachments/assets/ce422733-5a5c-4b30-a6f5-c5003b3da0ed"/>

<img width="300"
src="https://github.com/user-attachments/assets/4468e465-2700-4771-878b-32b19a901074"/>
2024-08-22 18:40:10 +05:30
Manav Rathi
a7fcb44983 [docs] Troubleshooting photo dates from GT (#2824) 2024-08-22 18:31:29 +05:30
Manav Rathi
06f6c5c318 Casing 2024-08-22 18:31:07 +05:30
Manav Rathi
3e3795444a [docs] Troubleshooting photo dates from GT 2024-08-22 18:28:47 +05:30
laurenspriem
51cf793012 [mob][photos] Remove unneeded beta check 2024-08-22 14:52:47 +02:00
laurenspriem
6adbf17630 [mob][photos] Only download models on wifi 2024-08-22 14:52:09 +02:00
vishnukvmd
92ab8e5289 ente -> Ente 2024-08-22 18:12:08 +05:30
vishnukvmd
d37c85bce2 Minor updates to family plan templates 2024-08-22 18:09:23 +05:30
vishnukvmd
f64de55b30 Update more templates 2024-08-22 18:05:49 +05:30
ashilkn
3461201708 [mob][photos] Add shadow to home tab's app bar 2024-08-22 17:58:57 +05:30
vishnukvmd
08f428f4dd Update some more templates 2024-08-22 17:49:20 +05:30
vishnukvmd
eee01322c8 Update first upload template for mobile 2024-08-22 17:40:07 +05:30
vishnukvmd
36085eb78f Update first upload template 2024-08-22 17:36:24 +05:30
ashilkn
183ed3f1d7 [mob][photos] Refactor + UI tweaks on home app bar 2024-08-22 17:35:55 +05:30
Neeraj Gupta
f5258744b4 [mob] Release tensors to avoid OOM error (#2822)
## Description

## Tests
2024-08-22 17:27:54 +05:30
Neeraj Gupta
3687fc0eaa [mob][photos] Bump version v0.9.26 2024-08-22 17:20:51 +05:30
Neeraj Gupta
1554d50d8f Merge branch 'main' into switch_to_upstream 2024-08-22 17:19:43 +05:30
Neeraj Gupta
0d63a3073b [mob]Release tensors to avoid OOM error 2024-08-22 17:15:19 +05:30
vishnukvmd
369db73212 Update change-email template 2024-08-22 17:09:20 +05:30
vishnukvmd
ba1cd6a8cc Update green 2024-08-22 17:08:11 +05:30
vishnukvmd
8b40f70936 Simply email verification template 2024-08-22 17:06:10 +05:30
ashilkn
0e642cd254 [mob][photos] Create separate widget for home tab's app bar 2024-08-22 16:46:11 +05:30
Vishnu Mohandas
363f7c9ca0 Prompt family members to contact admin to change referral code (#2816) 2024-08-22 14:15:04 +05:30
Neeraj Gupta
6db9a6bedc [mob][ml] reduce parallel download to 5 for ios 2024-08-22 14:03:06 +05:30
Vishnu Mohandas
2ffad1f2a2 Update watch-folders.md 2024-08-22 13:48:09 +05:30
Laurens Priem
f4314ca220 Ml copy (#2817)
## Description

Copy changes for ML
2024-08-22 10:13:53 +02:00
laurenspriem
fea2cc27d8 Revert change 2024-08-22 09:48:45 +02:00
laurenspriem
0ba2bd92b5 [mob][photos] Another copy change 2024-08-22 09:42:22 +02:00
vishnukvmd
4ee815e530 Prompt family members to contact admin to change referral code 2024-08-22 13:10:30 +05:30
laurenspriem
67f230fac5 [mob][photos] Indexing description copy change 2024-08-22 09:19:14 +02:00
Neeraj Gupta
c42fd383a8 [mob] Switch to upstream pkg for onnxruntime 2024-08-22 11:54:59 +05:30
Nikunj Kumar Nakum
e1da8b90fd [auth] Updated Kraken icon (#2763)
## Description
Updated kraken icon to latest icon
## Tests
2024-08-22 10:01:12 +05:30
S T
c2e540f821 [auth][l10n] Added Ukrainian translation (#2806)
## Description

## Tests

Co-authored-by: stro <stro@cpan.org>
2024-08-22 10:00:39 +05:30
Neeraj Gupta
241e69755e [mob][photos] Fix person cover photo (#2804)
## Description

## Tests
2024-08-21 23:39:57 +05:30
Neeraj Gupta
ab58dcfeb4 [mob][photos] Fix person cover photo 2024-08-21 23:37:29 +05:30
Neeraj Gupta
1941b4cec6 [mob] Fix redundant model download & rename (#2803)
## Description

## Tests
2024-08-21 23:24:47 +05:30
Neeraj Gupta
9156121954 bump version 2024-08-21 23:14:53 +05:30
Neeraj Gupta
a1b447c5c8 [mob] Rename 2024-08-21 23:14:28 +05:30
Neeraj Gupta
165f288ad9 [mob] Remove unused key 2024-08-21 23:08:50 +05:30
Neeraj Gupta
7e9d9bc126 [mob] iOS Build changes 2024-08-21 23:05:50 +05:30
Neeraj Gupta
5beec1d3dd [mob] Skip magic refresh if indexing is disabled 2024-08-21 23:05:40 +05:30
Manav Rathi
8afbda259a [desktop] Bump up the version for the next series (#2802) 2024-08-21 22:26:23 +05:30
Manav Rathi
f34a2cb217 [desktop] Bump up the version for the next series 2024-08-21 22:23:26 +05:30
Neeraj Gupta
2f68f5184b [mob] Bump version v0.9.24 (#2801)
## Description

## Tests
2024-08-21 22:11:25 +05:30
Neeraj Gupta
936f3842f9 [mob] Bump version v0.9.24 2024-08-21 22:10:59 +05:30
Neeraj Gupta
d719ad31f7 [mob] Disable global ml flag (#2799)
## Description

## Tests
2024-08-21 22:07:04 +05:30
Laurens Priem
448a6c8924 Heic decode (#2800)
## Description

- Converts heic files to jpg on Android if heic decoding for ML fails
2024-08-21 18:35:54 +02:00
laurenspriem
3d92a13df6 [mob][photos] Rename ML DB 2024-08-21 18:34:57 +02:00
laurenspriem
5ef4b7160e [mob][photos] Store ML results on remote first 2024-08-21 18:31:55 +02:00
Prateek Sunal
29c16b737d fix(mob): readd missing key in locals (#2798)
## Description

The commit
7dd1804e2e
removed the key, this commit re-add's the key.
2024-08-21 21:58:22 +05:30
Neeraj Gupta
58dee0ef5a [mob] Disable global ml flag 2024-08-21 21:51:35 +05:30
laurenspriem
87a17c0034 [mob][photos] Convert heic to jpg for ML on Android 2024-08-21 18:20:49 +02:00
Prateek Sunal
cc10a3a4ac fix(mob): readd missing key in locals 2024-08-21 21:47:04 +05:30
Ashil
cbbee23f82 [mob][auth] Change dialog copy (#2796) 2024-08-21 20:18:33 +05:30
ashilkn
0ae080ea6a [mob][auth] bump up version to 3.1.3 2024-08-21 20:14:56 +05:30
ashilkn
7dd1804e2e [mob][auth] change copy 2024-08-21 20:13:57 +05:30
Laurens Priem
8e263a3b66 Ml invalid formats (#2793)
## Description

- Cleaned up processing of ML results
- Handle invalid image formats for ML

## Tests

Locally tested on my phone in debug mode
2024-08-21 14:39:59 +02:00
Neeraj Gupta
487591fa03 Add option to claim a custom referral code (#2794) 2024-08-21 18:09:46 +05:30
vishnukvmd
a43b97026a Add option to claim a custom referral code 2024-08-21 17:39:23 +05:30
Laurens Priem
cf5b4abc39 Merge branch 'main' into ml_invalid_formats 2024-08-21 13:42:57 +02:00
laurenspriem
a4309a0ab3 [mob][photos] Fix stuck on invalid image formats 2024-08-21 13:38:37 +02:00
laurenspriem
f4a46a1fd3 [mob][photos] Refactor MLResults processing 2024-08-21 13:33:20 +02:00
Neeraj Gupta
0e63126cb6 Referal api (#2792)
## Description

## Tests
2024-08-21 16:44:46 +05:30
Neeraj Gupta
6ec39e2e6b [server] lint fix 2024-08-21 16:41:10 +05:30
Neeraj Gupta
c57bc22987 [server] Fix request type 2024-08-21 16:39:09 +05:30
Neeraj Gupta
7d969cdada [server] Apply change limit only for user edit 2024-08-21 16:36:36 +05:30
Neeraj Gupta
27c5a179ab [server] Add check for existingCode 2024-08-21 16:34:49 +05:30
Ashil
45cd19047a [mob][photos] Fixed App Lock typo (#2789) 2024-08-21 16:28:58 +05:30
Neeraj Gupta
e5d6d324db Add API to update referral code 2024-08-21 16:28:24 +05:30
Aman Raj Singh Mourya
bbaabeef38 [mob][photos] Hide share icon when collection is from Collect Photos 2024-08-21 16:23:13 +05:30
Aman Raj Singh Mourya
093b736a3b [mob][photos] Fixed sharing of album 2024-08-21 16:19:19 +05:30
ashilkn
9e5484f5ad [mob][photos] Resolve merge conflicts 2024-08-21 16:13:20 +05:30
ashilkn
199938d4b6 [mob][photos] Remove stale entry in l10n.dart 2024-08-21 16:12:02 +05:30
Vishnu Mohandas
76df33dc8c [mob][photos] Update guest view icon (#2791) 2024-08-21 15:57:40 +05:30
ashilkn
ab295d9a91 [mob][photos] Update guest view icon 2024-08-21 15:55:58 +05:30
Vishnu Mohandas
b4a4b0cc04 Remove extra newline in string 2024-08-21 15:45:44 +05:30
Vishnu Mohandas
aa2e4b1970 Update auth github workflows to use flutter 3.24.0 (#2790)
## Description

## Tests
2024-08-21 15:31:37 +05:30
ashilkn
54a0a09251 Update auth github workflows to use flutter 3.24.0 2024-08-21 15:14:41 +05:30
laurenspriem
147a0e005b [mob][photos] Rename 2024-08-21 11:33:14 +02:00
laurenspriem
701e48c54c [mob][photos] Rename for clarity 2024-08-21 11:32:23 +02:00
laurenspriem
ed2978bf55 [mob][photos] constructor 2024-08-21 11:31:24 +02:00
Ashil
e4753b3e08 Fix build failing auth (#2788) 2024-08-21 14:58:28 +05:30
Aman Raj Singh Mourya
5009453659 [mob][photos] Fixed appLock typo 2024-08-21 14:55:27 +05:30
ashilkn
77bd056f40 [mob][auth] generated code on running flutter clean and flutter pub get 2024-08-21 14:54:38 +05:30
Manav Rathi
9a36f0e7b4 photosd-v1.7.3 (#2787)
Completes the accidentally leftover package.json update in
b202ac0b5e
2024-08-21 14:48:48 +05:30
Manav Rathi
d75a1c367d photosd-v1.7.3
Completes the accidentally leftover package.json update in b202ac0b5e
2024-08-21 14:44:53 +05:30
Neeraj Gupta
3572465906 [mob] Defer clip cache referesh untill next query (#2786)
## Description

## Tests
2024-08-21 14:33:39 +05:30
Neeraj Gupta
3f3f3202af [mob] Clean up 2024-08-21 14:21:25 +05:30
Neeraj Gupta
268eeab094 [mob] Avoid refreshing cache unless search is initiated 2024-08-21 14:15:58 +05:30
Manav Rathi
f53ae48a43 photosd-v1.7.3 (#2784) 2024-08-21 14:04:57 +05:30
Manav Rathi
b202ac0b5e photosd-v1.7.3 2024-08-21 13:56:08 +05:30
Manav Rathi
b591f3d851 [web] New translations (#2766)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-21 13:54:35 +05:30
Crowdin Bot
2eb6d914c3 New Crowdin translations by GitHub Action 2024-08-21 08:22:08 +00:00
Neeraj Gupta
857e83afef [server] Fix statusCode for expired sessions (#2783)
## Description

## Tests
2024-08-21 13:45:57 +05:30
Neeraj Gupta
5ad6f0bd74 [server] Fix statusCode for expired sessions 2024-08-21 13:44:30 +05:30
ashilkn
d27dffc351 [mob][photos] upgrade flutter_local_notifications 2024-08-21 13:43:39 +05:30
Aman Raj Singh Mourya
70cc6a35d7 [mob][photos] Used better names 2024-08-21 13:36:54 +05:30
Ashil
a728dd043a [mob][photos] Change guest view icon (#2782)
![guest_view-2](https://github.com/user-attachments/assets/caf88451-0131-4c73-8226-6eb61976db17)

![guest_view](https://github.com/user-attachments/assets/e8d5ba9e-b45a-43bc-a009-deb187275743)
2024-08-21 13:14:07 +05:30
ashilkn
bb65354ac7 [mob][photos] Change guest view icon at all places 2024-08-21 13:03:25 +05:30
Neeraj Gupta
0b0fa12184 [mob][auth] Update flutter submodule to use v3.24.0 (#2778)
## Description

## Tests
2024-08-21 12:46:24 +05:30
Neeraj Gupta
02bedbfa18 [server] Fix skip log check (#2781)
## Description

## Tests
2024-08-21 12:44:39 +05:30
Neeraj Gupta
5ac92f5ce4 [server] Fix skip log check 2024-08-21 12:42:10 +05:30
ashilkn
c68691abbb [mob][photos] Modify SelectionActionButton to render icons from an svg asset 2024-08-21 12:35:01 +05:30
Neeraj Gupta
f5f9946046 [mob] Change log (#2779)
## Description

## Tests
2024-08-21 12:21:54 +05:30
Neeraj Gupta
69102ab9e8 [mob] Change log 2024-08-21 12:21:24 +05:30
ashilkn
90a7c7604f [mob][auth] Update flutter submodule to use v3.24.0 2024-08-21 12:09:44 +05:30
Neeraj Gupta
bf61cda403 [mob] CLIP & Face indexing V2 (#2777)
## Description

## Tests
2024-08-21 11:43:41 +05:30
Neeraj Gupta
dd738927fd [mob] Avoid redundant event 2024-08-21 10:44:51 +05:30
Neeraj Gupta
eb3637deef [mob] Remove unused method 2024-08-21 10:28:51 +05:30
Neeraj Gupta
5f8d0e1f3b [mob] Fix log 2024-08-21 09:50:17 +05:30
Manav Rathi
db60ddae4c [desktop] Prep for release (#2767)
- **Disable all clustering traces**
- **Fix variable capturing**
- **Show the delete options for long folder names too**
- **Show ML option to public beta**
- **Rename DBs**
2024-08-21 00:45:56 +05:30
Manav Rathi
371267ee4e Lint fix 2024-08-21 00:42:01 +05:30
Manav Rathi
4644bde60d Rename DBs 2024-08-21 00:30:14 +05:30
Manav Rathi
d7f9851bb2 Show ML option to public beta 2024-08-21 00:25:20 +05:30
Manav Rathi
bc93124da0 Show the delete options for long folder names too 2024-08-21 00:22:02 +05:30
Manav Rathi
d01a94fbec Fix variable capturing 2024-08-20 22:41:29 +05:30
Manav Rathi
346ef9b17d Disable all clustering traces 2024-08-20 21:46:50 +05:30
Manav Rathi
e8c6c88f64 [desktop] Update translation (#2765) 2024-08-20 21:21:01 +05:30
Manav Rathi
f2f4bf2fd7 [desktop] Update translation 2024-08-20 21:13:56 +05:30
Ashil
019457be02 [mob][auth] Option to add pin/passcode without having a system lock (#2738) 2024-08-20 19:36:10 +05:30
laurenspriem
2324ba6108 [mob][photos] Rename to avoid confusion 2024-08-20 15:17:07 +02:00
laurenspriem
187dc5ed90 [mob][photos] Remove unused incorrect method 2024-08-20 15:09:46 +02:00
Ashil
73b7b2e190 [mob][auth] local_auth upgrade & work around for new applock key (#2752) 2024-08-20 18:11:06 +05:30
Neeraj Gupta
5b816ecb8a [mob] Update copy 2024-08-20 16:59:19 +05:30
Neeraj Gupta
29d571e71a [mob] bump version v0.9.23 2024-08-20 16:53:53 +05:30
Neeraj Gupta
3fa16625be [mob] Skip disabling consent on mobile 2024-08-20 16:53:22 +05:30
Neeraj Gupta
ae06577b00 Increase padding 2024-08-20 16:51:21 +05:30
Neeraj Gupta
6ba4892294 Update UX for ml settings 2024-08-20 16:50:37 +05:30
Neeraj Gupta
cb784d5ec7 Handle int value in embedding 2024-08-20 16:26:31 +05:30
Neeraj Gupta
d0abf2141f [mob] Clean up 2024-08-20 16:21:12 +05:30
Aman Raj Singh Mourya
eb568080dd [mob][auth] Used better names 2024-08-20 15:56:40 +05:30
Neeraj Gupta
dae5c1a0b8 [mob] Lint fi 2024-08-20 15:49:31 +05:30
Neeraj Gupta
7a197124ea [mob] Log when magicSearch is disabled 2024-08-20 15:49:01 +05:30
Neeraj Gupta
86065a6b56 Minor fix 2024-08-20 15:43:48 +05:30
Neeraj Gupta
729c3598da Update copy 2024-08-20 15:37:27 +05:30
Neeraj Gupta
c7c22bee88 Update copy 2024-08-20 15:35:17 +05:30
Neeraj Gupta
0cacc88918 Merge branch 'clip_face_integration' of https://github.com/ente-io/auth into clip_face_integration 2024-08-20 14:45:27 +05:30
Neeraj Gupta
dfe329eef9 [mob] Minor refactor 2024-08-20 14:38:26 +05:30
laurenspriem
8c8d81c40e [mob][photos] ML settings add indicator for wifi pause 2024-08-20 11:05:51 +02:00
Neeraj Gupta
52d1ba237a [mob] Pass correct ml version 2024-08-20 14:28:31 +05:30
Neeraj Gupta
bdac85b320 Merge remote-tracking branch 'origin/main' into clip_face_integration 2024-08-20 13:25:28 +05:30
Neeraj Gupta
6e4e19d7f4 [mob] bump version v0.9.22 2024-08-20 13:25:11 +05:30
Neeraj Gupta
152e895b87 [mob] Add divider 2024-08-20 13:24:05 +05:30
Neeraj Gupta
13449ff169 Fix padding 2024-08-20 13:23:20 +05:30
Neeraj Gupta
508bc4a3e9 [mob] Enable native onnx plugin for droid 2024-08-20 13:21:50 +05:30
Neeraj Gupta
0b7ee1ad0b [mob] Add proguard rule for ai.onnxruntime 2024-08-20 13:20:06 +05:30
Neeraj Gupta
3a0d6e808b [mob] Fix tensor size for clip image 2024-08-20 12:54:26 +05:30
Neeraj Gupta
692589e4c4 [mob] bump version v0.9.21 2024-08-20 12:04:46 +05:30
Neeraj Gupta
8cacb650b6 [mob] Move resumable upload setting 2024-08-20 12:04:04 +05:30
Neeraj Gupta
8b62c18171 [mob] UX change 2024-08-20 11:48:01 +05:30
Neeraj Gupta
359af7e2eb [mob] Hide clusterID 2024-08-20 11:43:35 +05:30
Manav Rathi
fe82faf80f [doc] Large upload troubleshooting (#2761) 2024-08-20 11:28:36 +05:30
Manav Rathi
00eb440c01 [doc] Large upload troubleshooting 2024-08-20 11:26:10 +05:30
Neeraj Gupta
f84ebce2b1 [mob] Ask for ml consent while enabling ML 2024-08-20 11:02:27 +05:30
Manav Rathi
38662f6b6c [web] New translations (#2760)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-20 10:59:26 +05:30
Crowdin Bot
029b43b13d New Crowdin translations by GitHub Action 2024-08-20 05:29:06 +00:00
Neeraj Gupta
6caf6c48a6 [mob] Ask for ml consent while enabling ML 2024-08-20 10:56:53 +05:30
Manav Rathi
468d429ecc Add workaround for Polish plurals (#2759)
Instead of foo_other, i18n seems to fallback to the base language
translation for languages like Polish that have multiple plurals.

Use the workaround mentioned here:
https://github.com/i18next/i18next/issues/1851#issuecomment-1464017036
2024-08-20 10:46:35 +05:30
Manav Rathi
19c6ebefd3 Add note 2024-08-20 10:45:20 +05:30
Neeraj Gupta
730a0d4fae [mob] Rename 2024-08-20 10:44:30 +05:30
Neeraj Gupta
9f41257139 [mob] Remove feature flag for ML beta 2024-08-20 10:43:20 +05:30
Manav Rathi
5cd093c413 Add workaround for Polish plurals
Instead of foo_other, i18n seems to fallback to the base language translation
for languages like Polish that have multiple plurals.

Use the workaround mentioned here: https://github.com/i18next/i18next/issues/1851#issuecomment-1464017036
2024-08-20 10:37:18 +05:30
Manav Rathi
8fed43ec00 [web] New translations (#2758)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-20 10:26:57 +05:30
Crowdin Bot
6ba92298dd New Crowdin translations by GitHub Action 2024-08-20 04:49:15 +00:00
Manav Rathi
88d6f78741 [web] Further refactoring of the crypto layering (#2755)
\+ tweaks to the indexing process
2024-08-19 21:20:27 +05:30
Manav Rathi
0a35291084 Lint fix 2024-08-19 21:16:00 +05:30
Manav Rathi
adefb78cac Updated Mastodon links (#2754)
Changed the links in the social section and readme to Fosstodon instead
of mstdn
2024-08-19 21:08:43 +05:30
Brogio
8c5b07b3ce Update README.md 2024-08-19 17:14:31 +02:00
Brogio
8d667f86b1 Update social_section_widget.dart 2024-08-19 17:10:50 +02:00
Brogio
f7666deb5a Update social_section_widget.dart
Updated Mastodon link
2024-08-19 17:10:07 +02:00
Aman Raj Singh Mourya
1323525cd8 [mob][auth] Independent applock implemented 2024-08-19 18:59:03 +05:30
Aman Raj Singh Mourya
f84054b4ce [mob][auth] macOS pin/passcode support 2024-08-19 17:36:04 +05:30
Aman Raj Singh Mourya
bc94882234 [mob][auth] Upgraded local_auth 2.2.0 -> 2.3.0 2024-08-19 17:34:50 +05:30
Aman Raj Singh Mourya
95a03ef86d [mob][auth] Minor fixes 2024-08-19 17:06:48 +05:30
Aman Raj Singh Mourya
48c29700a4 [mob][auth] Work around for new applock key 2024-08-19 16:47:47 +05:30
Manav Rathi
d7d5b0aa9b [web] New translations (#2750)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-19 16:29:23 +05:30
Manav Rathi
63d65a4311 Expose decryptBlob to main thread 2024-08-19 15:55:07 +05:30
Manav Rathi
d6151a89e8 Fix 2024-08-19 15:46:52 +05:30
Manav Rathi
e6f26e62ae Fix jumping 2024-08-19 15:40:57 +05:30
Manav Rathi
3f9a7e08a1 Better state during initial load 2024-08-19 15:36:30 +05:30
Manav Rathi
c39fcb3968 Use 2024-08-19 15:19:26 +05:30
Manav Rathi
c0e48c7ada keygen 2024-08-19 15:19:26 +05:30
Manav Rathi
62c32d02ce Start treating it as a gateway 2024-08-19 15:19:26 +05:30
Manav Rathi
5640086932 Remove unnecessary conversion attempt 2024-08-19 15:19:26 +05:30
Crowdin Bot
b443d5f472 New Crowdin translations by GitHub Action 2024-08-19 09:44:48 +00:00
Manav Rathi
81b913cb79 [desktop] Indexing tweaks (#2749) 2024-08-19 15:14:05 +05:30
Manav Rathi
769b3ab21f i18n 2024-08-19 15:05:31 +05:30
Neeraj Gupta
38d866148f Reduce delay in loading model 2024-08-19 15:01:54 +05:30
Manav Rathi
a43c0baa46 Avoid non-greppable context APIs for i18n 2024-08-19 15:00:49 +05:30
Manav Rathi
d7fb8cf82b Handle the idle transition in the UI 2024-08-19 14:56:01 +05:30
Manav Rathi
d96d4773cf Fix status during live uploads 2024-08-19 14:42:46 +05:30
Manav Rathi
cf3b757021 Most recent file IDs first 2024-08-19 14:31:51 +05:30
Neeraj Gupta
c0201c6246 Merge branch 'main' into clip_face_integration 2024-08-19 14:20:41 +05:30
Neeraj Gupta
9325e1476f [mob] Bump version 2024-08-19 14:19:33 +05:30
Neeraj Gupta
979df107bf [mob] Turn of native onnx for android 2024-08-19 14:19:19 +05:30
Neeraj Gupta
aaebef5b22 [mob] Show score if query contains score threshold 2024-08-19 14:18:45 +05:30
Manav Rathi
fed7864b11 Fetching state 2024-08-19 13:49:36 +05:30
Neeraj Gupta
60cee41a44 [auth] New translations (#2746)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-08-19 12:14:15 +05:30
Ashil
8e3183ed8f [mob][photos] Workaround for android 10 free up space issue (#2637) 2024-08-19 11:51:23 +05:30
Manav Rathi
c4b47dcc14 [web] New translations (#2744)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-19 09:55:55 +05:30
Neeraj Gupta
2856bfb7f4 [mobile] New translations (#2745)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-08-19 07:19:08 +05:30
Crowdin Bot
6bdafc0ed2 New Crowdin translations by GitHub Action 2024-08-19 01:16:45 +00:00
Crowdin Bot
21764a520f New Crowdin translations by GitHub Action 2024-08-19 01:04:15 +00:00
Crowdin Bot
4a19bfdcde New Crowdin translations by GitHub Action 2024-08-19 00:31:56 +00:00
Vishnu Mohandas
3d41b555b6 fix: fdroid icon background (#2741)
## Description

Fdroid icon for auth was white, whilst we have already moved to purple
gradient. This PR adds the same adaptive background for fdroid as it is
for normal build.

The below Fdroid build recipe regenerates the icons that's why it was
not correct before:

3bbf65e8f0/metadata/io.ente.auth.yml (L58)
2024-08-18 22:19:33 +05:30
Prateek Sunal
92e0d82123 fix: fdroid icon background 2024-08-18 22:16:09 +05:30
Neeraj Gupta
9b9c7e91f4 [mob] use blur instead of blurhash in panorama (#2739)
## Description

Blurhash was not perfect, so replaced it with gaussian blur (20)
instead.

## Tests
2024-08-18 07:56:50 +05:30
Prateek Sunal
0c94613fdf Merge remote-tracking branch 'origin/main' into mob-pano 2024-08-17 22:36:37 +05:30
Prateek Sunal
54c699b6d5 fix: use blur instead of blurhash in panorama 2024-08-17 22:36:01 +05:30
Manav Rathi
d3f3679fb0 [web] Iterate on the cluster related crypto (#2737) 2024-08-17 22:18:30 +05:30
Manav Rathi
505dc7c20d Fix 2024-08-17 22:03:52 +05:30
Manav Rathi
8601662ea1 Un2 2024-08-17 21:51:50 +05:30
Manav Rathi
08c3b172d9 Update types 2024-08-17 21:49:39 +05:30
Manav Rathi
76da94cf78 Add the variant 2024-08-17 21:42:13 +05:30
Manav Rathi
0240b37032 Denoise 2024-08-17 21:33:15 +05:30
Manav Rathi
9ae5006a4a Mig 2024-08-17 21:30:54 +05:30
Manav Rathi
0ee84db02f Mig 2024-08-17 21:29:40 +05:30
Manav Rathi
b329085940 Mig 2024-08-17 21:25:57 +05:30
Manav Rathi
de3943e69c Prune 2024-08-17 21:22:54 +05:30
Manav Rathi
069cf82bbb Mig 2024-08-17 21:21:09 +05:30
Manav Rathi
eafa662cc0 Prune 2024-08-17 21:13:48 +05:30
Manav Rathi
6488c4fa0e Sigh 2024-08-17 21:10:11 +05:30
Manav Rathi
25f1087685 Unused 2024-08-17 21:05:49 +05:30
Manav Rathi
788ce53388 Use 2024-08-17 21:04:02 +05:30
Manav Rathi
757ff5cd9a New 2024-08-17 21:02:34 +05:30
Manav Rathi
68e5d842e5 Tweak 2024-08-17 20:57:20 +05:30
Manav Rathi
fdfaadfb1e Use 2024-08-17 20:56:05 +05:30
Manav Rathi
0fcd21f61d Use 2024-08-17 20:53:10 +05:30
Manav Rathi
4fa3b177c6 Use 2024-08-17 20:48:41 +05:30
Manav Rathi
2775917e44 Parallel hierarchy 2024-08-17 20:45:17 +05:30
Manav Rathi
360113c3ac Use newer pattern in more places 2024-08-17 20:21:49 +05:30
Aman Raj Singh Mourya
f338e40876 [mob][auth] Option to add pin/passcode without a having a systemLock 2024-08-17 19:48:06 +05:30
Aman Raj Singh Mourya
3a4246b82d [mob][auth] Added key to check if appLock is set or not 2024-08-17 19:47:10 +05:30
Aman Raj Singh Mourya
fbc6137b3e [mob][auth] Directly route to appLock in case of no systemLock found 2024-08-17 19:33:54 +05:30
Manav Rathi
5c09359738 Remove unnecessary conversion 2024-08-17 18:54:50 +05:30
Manav Rathi
90ffb68b51 key variants too 2024-08-17 18:53:00 +05:30
Manav Rathi
d1b7177a53 We need both 2024-08-17 18:49:41 +05:30
Manav Rathi
890ed7dd4b Cleanup 2024-08-17 18:43:31 +05:30
Manav Rathi
25b9a36554 Fix
crypto_secretbox_easy takes a string, but that's a UTF-8 string, not the base64 one that we're looking for.
2024-08-17 18:30:37 +05:30
Manav Rathi
cf6508be4a Enc 2024-08-17 17:33:22 +05:30
Manav Rathi
153be4990a Rearrange 2024-08-17 17:13:16 +05:30
Manav Rathi
f3e947f47e Match the types 2024-08-17 17:10:06 +05:30
Manav Rathi
f0b86323c3 Attempt to curb the combinatorial explosion 2024-08-17 17:00:47 +05:30
Manav Rathi
dbe98acbd7 Dec 2024-08-17 16:38:51 +05:30
Manav Rathi
93d48f6d6f Fix 2024-08-17 11:14:02 +05:30
Manav Rathi
d91462773a Use same nomenclature as the architecture document 2024-08-17 11:07:11 +05:30
Manav Rathi
3962f3a133 Use same nomenclature as the architecture document 2024-08-17 11:07:11 +05:30
Manav Rathi
bc192e5b00 Hold remote to the delete invariant 2024-08-17 11:07:11 +05:30
Manav Rathi
462adf7429 Nomenclature 2024-08-17 11:07:11 +05:30
Neeraj Gupta
78a727c750 [auth] Improve recovery input validation (#2735)
## Description

## Tests
2024-08-17 06:57:58 +05:30
Neeraj Gupta
3676151dde [auth] Bump version 3.1.2 2024-08-17 06:52:04 +05:30
Neeraj Gupta
9f23403604 Use word position 2024-08-17 06:51:16 +05:30
Neeraj Gupta
eace1150f5 [auth] Improve error message for invalid recovery input 2024-08-17 06:46:53 +05:30
Aman Raj Singh Mourya
5792c2bae6 [mob][photos] Add New Album Card Widget for Collecting Photos 2024-08-17 01:57:38 +05:30
Neeraj Gupta
329f320720 Update min score for magic search 2024-08-16 18:21:28 +05:30
Manav Rathi
191e32463f [desktop] Hide People header until we start showing clusters (#2730) 2024-08-16 18:10:12 +05:30
Neeraj Gupta
c34ea7848e Bump version 2024-08-16 18:07:28 +05:30
Manav Rathi
0a59597301 Padding at the top 2024-08-16 18:07:22 +05:30
Neeraj Gupta
4e7e506e4d [Fix] Avoid queueing same fileID again 2024-08-16 18:00:05 +05:30
Manav Rathi
f89e3793ec Hide People header until we start showing clusters 2024-08-16 17:59:26 +05:30
Neeraj Gupta
b03b5806db refactor 2024-08-16 17:50:44 +05:30
Manav Rathi
201b2eda67 [desktop] Improve robustness of cluster disabling condition (#2729)
Otherwise the code reaches the isInternalUser on logout, triggered by
the search service, and at a point when it does not have the auth token
anymore. Doesn't impact production builds, but doesn't hurt to make the
check more robust say for people who're trying dev builds.
2024-08-16 17:47:58 +05:30
Manav Rathi
c5ee50b3a2 [desktop] Improve robustness of cluster disabling condition
Otherwise the code reaches the isInternalUser on logout, triggered by the search
service, and at a point when it does not have the auth token anymore. Doesn't
impact production builds, but doesn't hurt to make the check more robust say for
people who're trying dev builds.
2024-08-16 17:41:13 +05:30
Manav Rathi
b5b4d1df65 [web] Crypto: Use Box vs Blob to classify secretbox vs secretstream-one-shot (#2728) 2024-08-16 17:37:11 +05:30
Neeraj Gupta
b6d5ebc5b4 rename 2024-08-16 17:23:38 +05:30
Neeraj Gupta
2cf8bd14f9 rename 2024-08-16 17:12:00 +05:30
Neeraj Gupta
5b1631a1a4 Merge branch 'main' into clip_face_integration 2024-08-16 17:08:16 +05:30
Manav Rathi
2d5faa3964 Dec 2024-08-16 17:05:39 +05:30
Manav Rathi
371fda4e97 B64 2024-08-16 16:51:38 +05:30
Neeraj Gupta
1430c12de4 [mob] Show model download progress 2024-08-16 16:44:58 +05:30
Neeraj Gupta
5d59b7d43d [mob] Show percentage for ML model download 2024-08-16 16:44:16 +05:30
Manav Rathi
44bdb016a8 Swap 2024-08-16 16:34:06 +05:30
Manav Rathi
763d9727e6 Dec 2024-08-16 16:26:44 +05:30
Manav Rathi
38d39c123d Dec types 2024-08-16 16:21:48 +05:30
Manav Rathi
3b0ec7ce71 Use 2024-08-16 16:06:15 +05:30
Manav Rathi
2e0ad673cf B64 variant 2024-08-16 16:03:13 +05:30
Manav Rathi
0de05fdc36 Remove duplication 2024-08-16 16:00:04 +05:30
Vishnu Mohandas
a19e4879db Update Google Photos Takeout Instructions (#2648)
Simplify instructions
Remove note
Expand step 9 to incorporate note

## Description
Raises an important caveat closer to a relevant step. 
## Tests
N/A
2024-08-16 15:58:18 +05:30
Manav Rathi
fcad2157bc Update 2024-08-16 15:53:16 +05:30
Manav Rathi
94a40838a3 Box variant 2024-08-16 15:48:36 +05:30
Manav Rathi
54efdd1072 Use existing primitive 2024-08-16 15:48:36 +05:30
Manav Rathi
797dcc4a1e Streamline 2024-08-16 15:48:36 +05:30
Manav Rathi
ed6dc3ca6c Tweak 2024-08-16 15:48:36 +05:30
Manav Rathi
4fda7c3c86 Move 2024-08-16 15:48:36 +05:30
Manav Rathi
cbb36214a3 New terms 2024-08-16 15:48:36 +05:30
Manav Rathi
7e03462891 Terminology 2024-08-16 15:48:36 +05:30
Manav Rathi
f37220bf20 Terminology 2024-08-16 15:48:35 +05:30
Manav Rathi
1a6ae93a7a More 2024-08-16 15:48:35 +05:30
Manav Rathi
5e67bf90c5 Outline 2024-08-16 15:48:35 +05:30
Manav Rathi
89fd65d925 [desktop] person => cgroup (#2727)
https://github.com/ente-io/ente/pull/2718
2024-08-16 15:45:54 +05:30
Manav Rathi
ddf530f236 sync 2024-08-16 15:29:53 +05:30
Manav Rathi
3bc41f253b Propagate 2024-08-16 15:22:02 +05:30
Manav Rathi
2ae98148ae Fin db 2024-08-16 15:19:43 +05:30
Manav Rathi
3f20f572d2 Propagate 2024-08-16 15:16:58 +05:30
Neeraj Gupta
1731aeb87d [mob] Fix state refresh when model is being downloaded 2024-08-16 15:13:01 +05:30
Manav Rathi
f5738f8460 CGroup 2024-08-16 15:07:09 +05:30
Neeraj Gupta
78fc2aec88 [mob] Fix model path for progress 2024-08-16 15:05:02 +05:30
Manav Rathi
4f0145e6d3 Remove unused 2024-08-16 14:32:29 +05:30
Manav Rathi
37bbefa16b [desktop] Sync ML status immediately on login (#2726) 2024-08-16 14:24:04 +05:30
Manav Rathi
e3d7b14442 Use 2024-08-16 14:05:14 +05:30
Neeraj Gupta
fd00b4ffae refactor 2024-08-16 13:59:10 +05:30
Manav Rathi
b04831d4df Split ML status sync 2024-08-16 13:34:19 +05:30
Manav Rathi
b9102a4074 [web] Log during logout (#2723)
Helps in tracing event sequences in logs.
2024-08-16 13:17:19 +05:30
Neeraj Gupta
d94f8be520 [mob] Bypass map permission dialog if already given (#2722)
## Description

## Tests
2024-08-16 13:15:03 +05:30
Neeraj Gupta
811aba2baf [mob] Remove unused field 2024-08-16 13:14:24 +05:30
Neeraj Gupta
3c11b705ac [mob] Switch to nanoID, gzip person feedback, & merge ml db (#2724)
## Description

## Tests
2024-08-16 13:13:50 +05:30
Manav Rathi
a31a761933 [web] Log during logout
Helps in tracing event sequences in logs
2024-08-16 13:08:00 +05:30
Neeraj Gupta
c69280a3d7 [mob] ios build change 2024-08-16 13:06:02 +05:30
Neeraj Gupta
32fa1b1466 [mob]Bypass map permission dialog if already given 2024-08-16 13:05:51 +05:30
Neeraj Gupta
b88b81615d [server] Enable multi-part upload flag for mobile (#2721)
## Description

## Tests
2024-08-16 12:27:50 +05:30
Neeraj Gupta
741107e950 [server] Enable multi-part upload flag for mobile 2024-08-16 12:27:10 +05:30
Manav Rathi
4dbf8cbd54 [docs] Add note about avoiding NAS (#2720) 2024-08-16 12:19:16 +05:30
Manav Rathi
6627faed8c Add sidebar entry 2024-08-16 12:18:58 +05:30
Manav Rathi
29b81a468c [docs] Add note about avoiding NAS 2024-08-16 12:16:16 +05:30
Neeraj Gupta
1ca1967ec2 Rename person_v2 as cgroup 2024-08-16 12:13:56 +05:30
Neeraj Gupta
10087c3cc0 [server] Switch to nano_id for entity_data (#2718)
## Description

## Tests
Tested locally that new location tag were getting created, and we are
able to delete or edit existing tag.
2024-08-16 12:10:23 +05:30
Neeraj Gupta
175fe103e5 rename 2024-08-16 11:56:41 +05:30
Neeraj Gupta
c759d37fd3 Add entity type validation 2024-08-16 11:40:31 +05:30
Neeraj Gupta
05df5962ef Use nanoId for entity_data.id 2024-08-16 11:10:28 +05:30
Neeraj Gupta
9f043eba24 [server] Change entity_data.id from uuid to string 2024-08-16 10:30:18 +05:30
Ashil
b35b6a5983 [mob][photos] Remove feature flag from panorama viewer feature (#2715) 2024-08-16 10:28:36 +05:30
Ashil
2fe45ff10f [mob][photos] Add more logs on deleting local files (#2713) 2024-08-16 10:28:24 +05:30
ashilkn
c599ca2d80 [mob][photos] Remove feature flag from panorama viewer feature 2024-08-16 09:44:50 +05:30
Manav Rathi
27b20b4fc7 [docs] Mention Firefox jitter in auth FAQ (#2714) 2024-08-16 09:43:02 +05:30
Manav Rathi
4028041c90 Update README.md (#2705)
I updated the sentence "Ente Photos is a paid service, but we offer a
free trial. You can also clone this repository and choose to self host."
to reflect that Ente now offers a permanent free option with 5GB of free
storage.
2024-08-16 09:42:22 +05:30
Manav Rathi
53a292f97d yarn pretty 2024-08-16 09:40:46 +05:30
Manav Rathi
eff5b4fef4 Mention in FAQ
https://github.com/ente-io/ente/issues/2657#issuecomment-2283088810
2024-08-16 09:39:36 +05:30
ashilkn
a999eddbfe [mob][photos] Add more logs on deleting local files 2024-08-16 09:36:56 +05:30
Neeraj Gupta
555f23a519 [cli] Fix temp file deletion on windows (#2712)
## Description

## Tests
2024-08-16 09:20:04 +05:30
Neeraj Gupta
1fd238a89a [cli] Fix temp file deletion on windows 2024-08-16 09:19:26 +05:30
Vishnu Mohandas
ed1ee18e74 Update icon for Panorama view (#2710) 2024-08-15 19:18:23 +05:30
vishnukvmd
ddcc93c692 Update icon for Panorama view 2024-08-15 18:52:25 +05:30
Vishnu Mohandas
0e81dfb31a [docs] Minor update (#2709) 2024-08-15 17:35:32 +05:30
vishnukvmd
3418e69b95 [docs] Minor update 2024-08-15 17:34:36 +05:30
Vishnu Mohandas
ea18da295e [mob] Bump version 2024-08-15 17:26:09 +05:30
Brogio
d0e77e1673 Update README.md
Removed free trial
2024-08-14 17:29:20 +02:00
Ashil
f638b41508 [mob][photos] Use native video player (#2700)
## Description

- Use (Native video
player)[https://pub.dev/packages/native_video_player] for video
playback. With this, HDR videos can be played without tone-mapping to
SDR, preserving the full HDR quality and dynamic range.
**Note**: HDR will be supported only if the device supports it. Also,
only video formats that are supported by the device will be playable.
- Better UX/UX for video player.
- Also see #2694 
- Closes #1350 #832 #1166 



https://github.com/user-attachments/assets/f62bdff6-3218-4314-bd8b-651a6a3f8586



## Tests

- Tested playback on both iOS and Android devices with remote, local and
shared media videos.
2024-08-14 18:11:10 +05:30
Ashil
a5c0ae81bf [mob][photos] Update android target SDK (#2675)
No behavioural changes added in API level 34 

https://developer.android.com/reference/android/os/Build.VERSION_CODES#VANILLA_ICE_CREAM


https://medium.com/androiddevelopers/picking-your-compilesdkversion-minsdkversion-targetsdkversion-a098a0341ebd#.fo6h6k65r

Looks safe to update without testing.
2024-08-14 18:10:57 +05:30
Ashil
46e585dbf7 [mob][photos] Fix Safe area issues (#2703) 2024-08-14 17:33:45 +05:30
ashilkn
d2536241f7 [mob][photos] chore 2024-08-14 17:32:26 +05:30
ashilkn
ecbd2b4480 [mob][photos] Fix safearea issues 2024-08-14 17:21:23 +05:30
Neeraj Gupta
37dec0018c [cli] Skip export with bad time stamp (#2702)
## Description

## Tests
2024-08-14 17:14:51 +05:30
Neeraj Gupta
39e505a3ec update docs 2024-08-14 17:14:35 +05:30
Neeraj Gupta
ae98af9f8c bump cli version 2024-08-14 17:12:49 +05:30
Neeraj Gupta
5bd7170755 [cli] Fix error log 2024-08-14 17:11:13 +05:30
Neeraj Gupta
ab17ae71d0 [cli] Continue export on bad timestamp marshal error 2024-08-14 17:10:58 +05:30
ashilkn
f40f39984a [mob][photos] Fix safearea issues 2024-08-14 16:53:22 +05:30
Neeraj Gupta
fda7722adb [mob] Add option under advance settings to enable multi part upload (#2697)
## Description

## Tests
- Verified that by turning off the flag from server, we are not seeing
the option to enable multi part upload.
2024-08-14 16:36:23 +05:30
Neeraj Gupta
4fc1d708b9 [server] Add auth key validation (#2696)
## Description
This avoids the 5xx error for authEntity which happens when we try to
create an auth entity without reporting the corresponding key

## Tests
2024-08-14 16:35:42 +05:30
Manav Rathi
efb89e710c [desktop] Clustering WIP - Part 2/x (#2701) 2024-08-14 16:06:17 +05:30
Neeraj Gupta
359572f4b2 Remove keyValidation from diff 2024-08-14 16:05:22 +05:30
Manav Rathi
5d9d3457ec [server] Use the go.sum cache during CI lint (#2699)
Unrelated to the lint failures, I noticed that we were not using the
go.sum file during the lint steps.
2024-08-14 16:02:27 +05:30
ashilkn
1e3a726eaa [mob] Fix 'skip' button being under navigation bar 2024-08-14 15:52:34 +05:30
Manav Rathi
e21a4b4f9e Handle deleted better 2024-08-14 15:39:04 +05:30
Neeraj Gupta
0c20be98d7 [mob] Allow injecting score threshold in query 2024-08-14 15:37:29 +05:30
ashilkn
0753b59e4a [mob][photos] Pause new video player if app is not in fg 2024-08-14 15:34:14 +05:30
Neeraj Gupta
b7acd3033d [mob] Fix typo 2024-08-14 15:32:31 +05:30
Manav Rathi
e946749b2e Fixes for person v2 2024-08-14 15:29:28 +05:30
Manav Rathi
b6b87c196f Update comment 2024-08-14 15:20:05 +05:30
Manav Rathi
367a715aa8 Reduce CLIP threshold to 0.175 2024-08-14 15:19:10 +05:30
Neeraj Gupta
a90cb4e45f [mob] Fix queries 2024-08-14 14:41:11 +05:30
Manav Rathi
6a8fe71000 Extra 2024-08-14 14:38:33 +05:30
Neeraj Gupta
bfec2ff2be [mob] Use single db for ml data 2024-08-14 14:22:02 +05:30
Neeraj Gupta
810cf6f885 [mob] Use single db for ml data 2024-08-14 14:21:52 +05:30
Manav Rathi
bb56fddd45 lf 2024-08-14 14:20:23 +05:30
Manav Rathi
4e1d80380c pv2 2024-08-14 14:00:39 +05:30
Manav Rathi
fd1f3c6710 Sync 1 2024-08-14 13:51:43 +05:30
Manav Rathi
ee5acf6a2e Sketch 2024-08-14 13:46:27 +05:30
Neeraj Gupta
5625071fe8 Rearrange 2024-08-14 13:24:39 +05:30
Neeraj Gupta
3a1025a2b9 Lint fix 2024-08-14 13:07:01 +05:30
Manav Rathi
3a85e9dcae ek type 2024-08-14 13:04:08 +05:30
Manav Rathi
dffe364c51 Read ss 2024-08-14 12:49:21 +05:30
Neeraj Gupta
9f96ef8d83 [mob] Switch to person_v2 where data is gzipped 2024-08-14 12:27:36 +05:30
Manav Rathi
da4ba85c7c wip ek 2024-08-14 12:26:11 +05:30
Neeraj Gupta
d7ffb3c7e0 Update endpoint 2024-08-14 12:25:54 +05:30
Neeraj Gupta
9d9b4f00ed Fix nano id alphabets 2024-08-14 12:25:36 +05:30
Neeraj Gupta
9e22cfa972 Add method to async decrypt json data 2024-08-14 12:25:21 +05:30
ashilkn
b99e835d79 [mob][photos] Refactoring 2024-08-14 12:21:35 +05:30
Manav Rathi
62652ea617 [server] Send 5xx if query to validate token fails (#2695)
## Description

## Tests
2024-08-14 11:56:46 +05:30
ashilkn
7e36ad357b [mob][photos] Chore 2024-08-14 11:47:48 +05:30
Manav Rathi
4ea6f1cbfc [server] Fix lint failures on CI 2024-08-14 11:30:32 +05:30
Manav Rathi
c164b0710a key 2024-08-14 11:24:29 +05:30
Neeraj Gupta
d8b338a1e8 [cli] Add filters for Export (#2596)
## Description

Feature: Add support for selective export with filters for account,
albums, and options to exclude hidden or shared files.

    Flags Added:
        --shared: Include shared albums in export (default: true).
        --hidden: Include hidden albums in export (default: true).
        --albums: Comma-separated list of album names to export.
--emails: Comma-separated list of emails of the accounts that needs to
be exported

Behavior: By default, both hidden and shared albums are exported.

## Tests
Tested locally
2024-08-14 11:23:50 +05:30
Manav Rathi
81885d6814 Tweak 2024-08-14 11:21:04 +05:30
Neeraj Gupta
7b402e46bd [mob] Control the enable multipart option via feature flag 2024-08-14 11:20:30 +05:30
Manav Rathi
ad156bc33a Diff 2024-08-14 11:16:26 +05:30
Manav Rathi
050bbfbbb3 Discussion 2024-08-14 11:11:43 +05:30
Neeraj Gupta
7ba4aebf86 [mob] Add toggle button to enable multipart upload 2024-08-14 11:09:43 +05:30
Neeraj Gupta
1eea5ffab1 [mob] Switch to 20MB for multipart upload 2024-08-14 11:09:03 +05:30
Neeraj Gupta
bc43d3b461 Update avatar faceID key 2024-08-14 10:52:51 +05:30
Neeraj Gupta
04343b2a6c [server] Add auth key validation 2024-08-14 10:43:18 +05:30
Neeraj Gupta
9d48fa4a50 [server] Send 5xx if query to validate token fails 2024-08-14 10:22:57 +05:30
Manav Rathi
1314b8ccbb sync 2 2024-08-14 09:48:08 +05:30
Manav Rathi
d5d0e98197 Person 2024-08-14 09:11:56 +05:30
Manav Rathi
82b8658268 lint-fix 2024-08-14 08:45:00 +05:30
Neeraj Gupta
df46eeab10 refactor 2024-08-13 23:12:29 +05:30
Manav Rathi
f802e87215 To search person 2024-08-13 21:03:22 +05:30
Manav Rathi
565546755a Split the type 2024-08-13 21:03:22 +05:30
Manav Rathi
113bd9744e Update all 2024-08-13 21:03:22 +05:30
Manav Rathi
3097810f2c Top scorer 2024-08-13 21:03:22 +05:30
Manav Rathi
207f9c50cf Clean 2024-08-13 21:03:22 +05:30
Manav Rathi
1c9a14cfdc Tweak 2024-08-13 21:03:22 +05:30
Manav Rathi
5e4f0d4caf A2 2024-08-13 21:03:22 +05:30
Manav Rathi
7f9391f89f Parse 2024-08-13 21:03:22 +05:30
Manav Rathi
614c312876 Tentative DB schema 2024-08-13 21:03:22 +05:30
Manav Rathi
5081dc904b Enhance 2024-08-13 21:03:22 +05:30
Manav Rathi
ef7b978cd5 Outline 2024-08-13 21:03:22 +05:30
Manav Rathi
2376327e52 zt 2024-08-13 21:03:22 +05:30
Ashil
f264461390 [mob][photos] Fullscreen UX improvements (#2694)
## Description

- Snapping when tapping to remove controls + app and bottom bar from a
photo or video is no more.
- System navigation bar has been change to be transparent.
- On iOS, nothing changes visually. 

#### Before:


https://github.com/user-attachments/assets/4665ec52-31d8-4cab-8ca1-d830579c0f60


https://github.com/user-attachments/assets/95adf062-260a-4b23-810f-550c83c2e562

#### After:


https://github.com/user-attachments/assets/75307e63-df21-490b-ab6f-ef7c4de66c06


https://github.com/user-attachments/assets/83f89387-7fc2-41c3-a55a-3b2d62ef5bfb
2024-08-13 20:20:56 +05:30
ashilkn
0c097b38f4 [mob][photos] chore 2024-08-13 20:19:10 +05:30
ashilkn
e74aac0023 [mob][photos] Remove listener 2024-08-13 19:59:40 +05:30
ashilkn
8d0e3e972f [mob][photos] Fix or make UI and layout better of the system navigation bar, home bottom navigation bar and the search widget 2024-08-13 19:49:41 +05:30
Neeraj Gupta
ffd9e2e06c Switch to nano_id for clusterIDs 2024-08-13 18:25:13 +05:30
ashilkn
c10eb97511 [mob][photos] Fix screen snapping when toggling to full screen when viewing items + imporve full screen UX on the new native video player 2024-08-13 17:48:36 +05:30
Neeraj Gupta
f1d6382b39 Add cluster nanoID 2024-08-13 17:13:31 +05:30
Neeraj Gupta
1b314687a9 Add dependency on nano_id pkg 2024-08-13 16:50:01 +05:30
ashilkn
6fa5571e19 Merge branch 'main' into use_native_video_player 2024-08-13 15:37:03 +05:30
Manav Rathi
49f069c9cf Add timeout for replication lock query & allow updating metadata with less keys (#2692)
## Description

## Tests
2024-08-13 15:25:24 +05:30
Neeraj Gupta
2228874898 [Fix] Handle case when existing metadata is null 2024-08-13 15:22:02 +05:30
Manav Rathi
c6bdeeb722 [server] Minor tweaks to the new FileData API URLs (#2689)
- Start with leading slash for easier greppability
- Omit trailing slash for consistency

No production clients are using this yet, so should be safe.

Tested the two embedding related ones on localhost.
2024-08-13 15:19:11 +05:30
Neeraj Gupta
8299c029ec Add 10 second timeout while locking row for replication 2024-08-13 15:17:33 +05:30
Neeraj Gupta
9132fc5ec8 Allow updating metadata with fewer keys 2024-08-13 15:15:40 +05:30
Manav Rathi
8a67eb7417 [web] Fix width of all albums dialog (#2691)
Fixes bug introduced in 1c0261bc5c
2024-08-13 13:49:47 +05:30
Manav Rathi
b0c18f9fd4 [web] Fix width of all albums dialog
Fixes bug introduced in 1c0261bc5c
2024-08-13 13:41:55 +05:30
Manav Rathi
91de9c38cc [desktop] Tweak the integration of the new file data APIs (#2690) 2024-08-13 13:32:08 +05:30
Manav Rathi
3980d6b614 Nomen 2024-08-13 13:27:03 +05:30
Manav Rathi
fd6cab6c26 Add CHANGELOG entry 2024-08-13 13:19:36 +05:30
Manav Rathi
3604fbe352 Clarify and note 2024-08-13 13:18:57 +05:30
Manav Rathi
9422398922 New and fold 2024-08-13 13:15:29 +05:30
Manav Rathi
cb8a5a72f5 Rename 2024-08-13 13:11:19 +05:30
Manav Rathi
3b63089b42 Fin2 2024-08-13 12:58:31 +05:30
Manav Rathi
eb2520e55c Fin 2024-08-13 12:48:33 +05:30
Manav Rathi
96948c8699 Fix context 2024-08-13 12:24:21 +05:30
Manav Rathi
0e04dd7393 [web] New translations (#2688)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-13 12:20:01 +05:30
Manav Rathi
d9d4ffa9e7 [server] Minor tweaks to the new FileData API URLs
- Start with leading slash for easier greppability
- Omit trailing slash for consistency

No production clients are using this yet, so should be safe.
2024-08-13 12:17:53 +05:30
Manav Rathi
ff1c20288f More 2024-08-13 12:13:57 +05:30
Manav Rathi
55bd59ec6a WIP cleanup 2024-08-13 12:07:48 +05:30
Manav Rathi
520647d77f Split 2024-08-13 12:07:48 +05:30
Manav Rathi
fa91430276 Rename 2024-08-13 12:07:48 +05:30
Crowdin Bot
a995a2ff0c New Crowdin translations by GitHub Action 2024-08-13 06:36:03 +00:00
Manav Rathi
28a97a39b2 [desktop] Update consent prompts (#2687) 2024-08-13 12:05:14 +05:30
Manav Rathi
dd74a0d6c3 [desktop] Update consent prompts 2024-08-13 11:39:32 +05:30
Manav Rathi
3c92ac9100 [web] New translations (#2677)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-13 11:28:13 +05:30
Crowdin Bot
048c5aa540 New Crowdin translations by GitHub Action 2024-08-13 05:50:21 +00:00
Neeraj Gupta
f1d828455d [server] Skip logging large payloads on successful requests (#2683)
## Description

## Tests
2024-08-13 11:20:08 +05:30
Manav Rathi
efcad99737 [web] Remove the potentially confusing modification time from UI (#2685)
Also, gracefully handle a missing modification time and public magic
metadata.
2024-08-13 11:18:54 +05:30
Manav Rathi
146b4ac296 Remove the confusing modification time option from the UI
It is not the upload time
2024-08-13 11:06:18 +05:30
Manav Rathi
0c3a676572 Handle missing pub magic mdt 2024-08-13 11:04:38 +05:30
Manav Rathi
c23ba06b0d Dedup 2024-08-13 10:59:20 +05:30
Manav Rathi
6b30bb52b8 Same file also doesn't have public magic metadata
file id 52422
2024-08-13 10:53:20 +05:30
Manav Rathi
6f1ddb892f Gracefully handle a missing modification time 2024-08-13 10:46:49 +05:30
Neeraj Gupta
3f9d8ea752 Merge branch 'main' into clip_face_integration 2024-08-13 10:46:18 +05:30
Neeraj Gupta
a0d33ecde1 [mob] Integrate new APIs & switch CLIP model (#2684)
## Description

## Tests
2024-08-13 10:33:52 +05:30
Neeraj Gupta
7b610dbc34 [server] Log request body in output for error 2024-08-13 10:26:57 +05:30
Neeraj Gupta
5d0c337bfb [server] Reduce log noise 2024-08-13 10:22:16 +05:30
Prateek Sunal
2274be94c3 [auth] don't use privacy screen for desktop (#2680)
## Description

## Tests
2024-08-12 22:09:34 +05:30
Prateek Sunal
546820542a chore: bump version 2024-08-12 22:06:58 +05:30
Prateek Sunal
0a66098ee6 fix(auth): don't use privacy screen for desktop 2024-08-12 22:06:25 +05:30
Neeraj Gupta
cfadd700ff [server][file-data] Fix query to mark replication as done 2024-08-12 21:59:00 +05:30
Neeraj Gupta
6fc24f6900 Reduce ctx timeout duration 2024-08-12 21:39:49 +05:30
Neeraj Gupta
ff72590958 Fix bug in GetAndLockUnreplicatedObject query 2024-08-12 21:39:49 +05:30
Neeraj Gupta
bd53c4a2f3 Switch to mobileclip 2024-08-12 20:43:16 +05:30
Neeraj Gupta
d3e73035d1 [mob] Update as per new API spec 2024-08-12 20:37:44 +05:30
Manav Rathi
f38d9deb11 [desktop] [docs] Rename ML (#2676) 2024-08-12 20:26:27 +05:30
Manav Rathi
bcc5cde399 Rename doc 2024-08-12 20:22:10 +05:30
Manav Rathi
c3eafb50b6 Change translations 2024-08-12 20:18:19 +05:30
ashilkn
0d82f6ec65 [mob][photos] Update android target SDK 2024-08-12 19:58:39 +05:30
Shamshid
c1ee9a5d37 [Auth] fix Booking and Blockchain icons (#2656)
Fix Booking.com and Blockchain.com icons loading issue
2024-08-12 18:08:54 +05:30
Vishnu Mohandas
a61d62d862 Minor update 2024-08-12 18:01:32 +05:30
Neeraj Gupta
988d1ef895 [server] Fix multi part get url (#2672)
## Description

## Tests
2024-08-12 17:14:37 +05:30
Neeraj Gupta
c62842e6bb Fix multi part get 2024-08-12 17:13:32 +05:30
Manav Rathi
644827aea1 [desktop] Use new ML apis (#2670) 2024-08-12 16:40:37 +05:30
Neeraj Gupta
54bca8570e [server] Minor fixes (#2671)
## Description

## Tests
2024-08-12 16:40:26 +05:30
Neeraj Gupta
641a9c9e1a [server] Minor fixes 2024-08-12 16:39:36 +05:30
Manav Rathi
3feeb40a9e Update 2024-08-12 16:29:47 +05:30
Manav Rathi
17de43a857 worker's can't localStorage 2024-08-12 16:27:25 +05:30
Neeraj Gupta
6259a97f0e [server] Add support for file-data (#2662)
## Description

## Tests
2024-08-12 16:21:09 +05:30
Manav Rathi
b4ba6834e9 Use newer file-data APIs 2024-08-12 16:20:03 +05:30
Neeraj Gupta
ac64aadb3a [sever][replication] Avoid long running txn during replication (#2669)
## Description
Going forward, we pick a row for replication, and immediately mark
replication attempt. Once that's done, we try to replicate the object,
and update it's status without any transaction.

The initial locking and marking the replication attempt should ideally
ensure that no other worker will pick up the row for replication for
next 24hours.

## Tests
2024-08-12 16:09:41 +05:30
Prateek Sunal
be21ef9c50 [auth] allow without backups use for windows (#2650)
## Description

Windows client without pin/password should also be able to use the app,
without backups as they can set app lock afterwards.

## Tests
2024-08-12 15:54:52 +05:30
Neeraj Gupta
4ce3362186 document 2024-08-12 15:52:46 +05:30
Neeraj Gupta
8b33612879 clean up 2024-08-12 15:49:14 +05:30
Neeraj Gupta
992ac53a27 [sever][replication] Avoid long txn during replication 2024-08-12 15:41:29 +05:30
Manav Rathi
fc63e683a7 [web] New translations (#2668)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-12 14:45:07 +05:30
Neeraj Gupta
06bd039a80 Update index query 2024-08-12 14:43:48 +05:30
Crowdin Bot
d37f7a5314 New Crowdin translations by GitHub Action 2024-08-12 09:12:38 +00:00
Manav Rathi
6266d16544 [web] Tweak translation keys (#2667) 2024-08-12 14:41:48 +05:30
Manav Rathi
f2ae7c6ff9 Rename 2024-08-12 14:36:34 +05:30
Manav Rathi
04fd2d4410 echo '494m502\nwq' | ed -s $f 2024-08-12 14:35:07 +05:30
Manav Rathi
0c3ef07b3b [web] Rename tr keys 2024-08-12 14:32:45 +05:30
Ashil
6aee3a50f5 [mob][photos] Fix Autofill Issue with Proton Pass in App Lock (#2664) 2024-08-12 14:28:47 +05:30
Manav Rathi
7cc3e1cf99 [web] New translations (#2666)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-12 14:24:56 +05:30
Crowdin Bot
e8d804468e New Crowdin translations by GitHub Action 2024-08-12 08:53:59 +00:00
Manav Rathi
ea01c43e6a [desktop] Towards public beta of advanced (ML) search - Part 2/x (#2665) 2024-08-12 14:23:17 +05:30
Aman Raj Singh Mourya
e8a78cd818 [mob][photos] Auto-fill password for Applock 2024-08-12 14:07:08 +05:30
Manav Rathi
20fb9e99f0 context 2024-08-12 14:05:18 +05:30
ashilkn
fd0925f59e [mob][photos] Improve video loading UI 2024-08-12 13:33:58 +05:30
Neeraj Gupta
a6c5d03286 rename 2024-08-12 13:21:11 +05:30
Neeraj Gupta
1564d9c0ca refactor 2024-08-12 13:10:54 +05:30
Manav Rathi
3502fcac5e Move strings to translations 2024-08-12 13:10:15 +05:30
ashilkn
9c48cf4dc3 [mob][photos] Fix minor UI issue 2024-08-12 13:09:37 +05:30
Neeraj Gupta
c88dd22e9c [server] Add bucket b6 2024-08-12 13:07:55 +05:30
Neeraj Gupta
108e103e64 Add an icon to open the active location on Maps (#2663)
## Description

This change introduces a navigate button on the top-right corner that
will use [maps_launcher](https://pub.dev/packages/maps_launcher) to open
the center-point of the view port (by default the location of the photo
that was opened) in the device's default maps application.

<img width="200"
src="https://github.com/user-attachments/assets/baca54b8-5757-4c9b-a10f-3fccead2f142"/>
2024-08-12 13:04:52 +05:30
Neeraj Gupta
0c392a22a4 [server] Rename 2024-08-12 13:04:13 +05:30
Neeraj Gupta
4a13b04b1c [server] Update db script 2024-08-12 13:03:51 +05:30
ashilkn
ac5da3ac1e [mob][photos] commit pubspec.lock and Podfile.lock changes 2024-08-12 13:01:39 +05:30
Manav Rathi
bbac3a2a94 Update key 2024-08-12 12:54:58 +05:30
vishnukvmd
bcf29d971e Fix more warnings 2024-08-12 12:49:45 +05:30
vishnukvmd
ec8bd5bc7f Fix lint warnings 2024-08-12 12:46:25 +05:30
vishnukvmd
43e711274e Add an icon to open the active location on Maps 2024-08-12 12:39:41 +05:30
github-actions[bot]
930c080dcf [auth] New translations (#2660)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-08-12 12:14:45 +05:30
github-actions[bot]
9be3051671 [mobile] New translations (#2659)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-08-12 12:13:54 +05:30
Manav Rathi
7a113a3aba Preciser 2024-08-12 11:50:59 +05:30
Manav Rathi
d1b7d942b1 [desktop] [docs] Towards public beta of advanced (ML) search (#2661) 2024-08-12 11:14:57 +05:30
Manav Rathi
2830d32c79 Shorten 2024-08-12 11:10:18 +05:30
Manav Rathi
92adb3ad6f Remove old one 2024-08-12 11:05:50 +05:30
Manav Rathi
83e9b18eba Update link 2024-08-12 10:38:05 +05:30
Manav Rathi
a70a3c7078 edit 2024-08-12 10:27:33 +05:30
Manav Rathi
66726846da d1 2024-08-12 10:23:25 +05:30
Manav Rathi
f80e91a65c [web] New translations (#2658)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-12 09:53:23 +05:30
Crowdin Bot
62a979656f New Crowdin translations by GitHub Action 2024-08-12 00:32:10 +00:00
Manav Rathi
e618f13041 [web] Improve layering of the crypto abstractions (#2651) 2024-08-10 20:40:10 +05:30
Manav Rathi
215899f35a Nicer 2024-08-10 20:28:35 +05:30
Manav Rathi
004dd3bd0c Rearrange to make webpack happy
Something in the previous arrangement was causing webpack to not pack
worker/worker.ts as a web worker.
2024-08-10 20:28:17 +05:30
Manav Rathi
98a9fc39ec Direct 2024-08-10 20:12:36 +05:30
Manav Rathi
e6250e2cc3 Reorder 2024-08-10 20:11:29 +05:30
Manav Rathi
ccceb8c26a Direct 2024-08-10 20:10:02 +05:30
Manav Rathi
a7fcf7da9b Fixes 2024-08-10 20:04:50 +05:30
Manav Rathi
2b7ee9f42f Forward 2024-08-10 20:03:40 +05:30
Manav Rathi
de03265675 Leftovers 2024-08-10 20:00:16 +05:30
Manav Rathi
b7de8ca9e5 Update import 2024-08-10 19:57:12 +05:30
Manav Rathi
b8830144be Remove the no longer needed indirection 2024-08-10 19:55:24 +05:30
Manav Rathi
8acc5ac62d Propagate 2024-08-10 19:50:36 +05:30
Manav Rathi
041ad135c9 Use during upload 2024-08-10 19:31:20 +05:30
Manav Rathi
ff7718a878 Fin 2024-08-10 19:17:23 +05:30
Manav Rathi
95cfdc4eaa Rearrange 2024-08-10 19:11:24 +05:30
ashilkn
7bbf926986 [mob][photos] Bump up version to 0.9.17 2024-08-10 18:23:46 +05:30
ashilkn
df234660a0 [mob][photos] chore 2024-08-10 18:19:40 +05:30
ashilkn
f89bc22dc4 Merge branch 'main' into use_native_video_player 2024-08-10 18:15:00 +05:30
Manav Rathi
e29c9288c0 Abstract 2024-08-10 18:02:44 +05:30
ashilkn
cbdf6ea0e3 [mob][photos] Fix UI for native video player on memories 2024-08-10 17:58:01 +05:30
Manav Rathi
50d7d7e9a1 Proxy 2024-08-10 17:55:39 +05:30
Manav Rathi
d6bf243701 More 2024-08-10 17:53:12 +05:30
Manav Rathi
4e49a352be Integrate 2024-08-10 17:39:29 +05:30
ashilkn
de1f287c1c [mob][photos] Keep video playing until the currently playing video completely off the screen 2024-08-10 17:37:29 +05:30
Neeraj Gupta
bac660f7a0 [server] Lint fix 2024-08-10 17:20:03 +05:30
Neeraj Gupta
97c9253127 [server] Support for reporting preview video 2024-08-10 17:16:35 +05:30
Manav Rathi
d5d7786b24 Types 2024-08-10 17:09:43 +05:30
ashilkn
1aa38253a3 [mob][photos] Chore 2024-08-10 16:42:54 +05:30
ashilkn
c27017e77e [mob][photos] UX improvements on native video player 2024-08-10 16:41:01 +05:30
Manav Rathi
ca9726969c Impl 2 2024-08-10 16:32:30 +05:30
Manav Rathi
f5b6145da1 Impl 1 2024-08-10 16:32:30 +05:30
Manav Rathi
231e831c75 Refactor 2024-08-10 16:32:30 +05:30
Manav Rathi
85020a490e Rearrange 2024-08-10 16:32:30 +05:30
Manav Rathi
d13c23f2d8 Doc 2024-08-10 16:32:30 +05:30
Manav Rathi
a029b16851 Transparent but handrolled proxy 2024-08-10 16:32:29 +05:30
Ashil
5044a0c33f [mob][photos] Guest view final changes (#2645) 2024-08-10 16:17:42 +05:30
ashilkn
c079ed12ca [mob][photos] UX improvements on native video player 2024-08-10 16:12:22 +05:30
Prateek Sunal
18b0bd4996 fix(auth): allow without backups for windows 2024-08-10 16:00:31 +05:30
ashilkn
9abd9e126c [mob][photos] Fix seeking UX issue when video just started playing 2024-08-10 15:49:33 +05:30
ashilkn
f7345102a2 [mob][photos] Do not hide controls when seeking + Hide controls after seeking + do not surface controls when video starts over when playing in loop: 2024-08-10 15:31:30 +05:30
Neeraj Gupta
407364b626 Add Shakepay and Newton Crypto icons (#2634)
## Description

* Adds icons for Shakepay and Newton Crypto exchanges
* Shakepay icon derived from [press
kit](https://shakepay.com/images/shakepay_media_assets_2023.zip)
* Newton icon derived from [homepage](https://newton.co) (their press
kit leads to 404)

## Tests
2024-08-10 15:24:07 +05:30
ludespeedny
23da3b1c84 Custom icons for auth (#2646)
Added "enom" as a custom icon and added the entry in custom-icons.json
file.
2024-08-10 15:23:35 +05:30
vktr2b
42c3482423 Added & Improved Logos (#2642)
## Description
Added logos for:

- Infomaniak
- OpenObserve
- Vikunja
- SMSPool
- SMTP2GO

Improvements / Minor Changes 

- Brave Icon config
- Crypto.com Icon config
2024-08-10 15:23:04 +05:30
Manav Rathi
4ea95c7d77 [desktop] Use MobileCLIP for magic search (#2649) 2024-08-10 14:08:37 +05:30
Manav Rathi
ac8a5b491d Update refs 2024-08-10 13:47:10 +05:30
Manav Rathi
72bce123a5 Cleanup 2024-08-10 13:42:26 +05:30
Manav Rathi
5bbc2615e4 Tune the threshold for MobileCLIP
Experimentation.

- 0.15 was noisy
- 0.23 was too strict
2024-08-10 13:39:14 +05:30
Manav Rathi
1f28fdada2 Bilinear 2024-08-10 13:11:18 +05:30
Manav Rathi
b503f75999 Don't need the mean/std 2024-08-10 13:09:23 +05:30
Jaspal Suri
fb867bd351 Update Google Photos Takeout Instructions
Simplify instructions
Remove note
Expand step 9 to incorporate note
2024-08-10 00:06:10 -07:00
Manav Rathi
5ce8d9838f 224 => 256
https://github.com/apple/ml-mobileclip/blob/main/mobileclip/configs/mobileclip_s2.json
2024-08-10 09:51:37 +05:30
Manav Rathi
93c5825364 Add MobileCLIP URLs 2024-08-10 09:47:10 +05:30
Manav Rathi
82ecbe6866 [desktop] Clustering - Part 2/x (#2647) 2024-08-10 09:33:25 +05:30
Manav Rathi
62e27916b7 lf 2024-08-10 09:09:50 +05:30
ashilkn
4cb0a5306a [mob][photos] Hide/show controls when necessary in native video player 2024-08-09 22:26:07 +05:30
ashilkn
5e7febd8f2 [mob][photos] Added comment 2024-08-09 21:04:56 +05:30
ashilkn
73c4fd3488 [mob][photos] Only initialize native video player and load video when the file is completely visible
Without this, if two high res potrait videos are loaded, one of them goes blank
2024-08-09 21:03:11 +05:30
Manav Rathi
5d28f75c1a Dedup 2024-08-09 20:30:03 +05:30
ashilkn
ac27a22ddb [mob][photos] UX improvements in native video player 2024-08-09 20:28:19 +05:30
Manav Rathi
e7e74c17f8 Fix debug flow 2024-08-09 20:24:56 +05:30
Prateek Sunal
4d8e80041d [mob][panorama] update panorama checking mechanism (#2532)
## Description

Panorama was getting checked every time and was not getting cached. This
PR creates mediaType to classify image whether it's panorama or not.

- If a image can be panorama (Any side Dimensions >8000px and 2 * height
>= width or 2 * width >= height) it will try to check metadata if image
could be panorama.
- Opening details pane will check metadata if image is panorama or not.
- Gyroscope button is introduced along with proper panoramic view
instead of 360* view for Images that have Cropped metadata.
2024-08-09 20:22:12 +05:30
Prateek Sunal
72cdb2424a Merge branch 'main' into mobile-panorama-fix 2024-08-09 20:21:49 +05:30
Prateek Sunal
38c3e73638 fix: move panorama icon to middle 2024-08-09 20:18:28 +05:30
ashilkn
e0fbc64f08 [mob][photos] Handle errors 2024-08-09 19:36:59 +05:30
ashilkn
41a304a18c [mob][photos] log errors from native video player if any 2024-08-09 19:30:07 +05:30
ashilkn
09c3d9e025 [mob][photos] UI fixes on native video player 2024-08-09 19:15:19 +05:30
ashilkn
03f0db92ad [mob][photos] Remove unnecessary delay 2024-08-09 19:08:59 +05:30
ashilkn
1e7c1396e0 [mob][photos] Delete cache only on iOS 2024-08-09 19:03:03 +05:30
ashilkn
6b8473a958 [mob][photos] UI fix for play pause button 2024-08-09 18:58:29 +05:30
ashilkn
c4770e8645 [mob][photos] Refactoring 2024-08-09 18:19:08 +05:30
Aman Raj Singh Mourya
2d768c9c61 [mob][photos] Fallback for no device lock found for guest view and extracted strings 2024-08-09 16:44:44 +05:30
Manav Rathi
839727393b Debugging code 2024-08-09 16:17:09 +05:30
Neeraj Gupta
c8a8cbee60 refactor 2024-08-09 15:54:16 +05:30
Neeraj Gupta
251a627219 delete 2024-08-09 15:51:38 +05:30
Neeraj Gupta
cd2fde2c2e [server] 1/n Support for persisting preview video 2024-08-09 15:50:29 +05:30
Manav Rathi
7bde0dea8c test harness 2024-08-09 15:48:30 +05:30
Manav Rathi
46082796d7 Decrypt 2024-08-09 15:36:15 +05:30
Manav Rathi
7d52f917c1 [docs] Clarifications (#2644) 2024-08-09 14:50:08 +05:30
Manav Rathi
980ff741ba yarn pretty 2024-08-09 14:48:08 +05:30
Manav Rathi
286517338e pretty 2024-08-09 14:47:23 +05:30
Manav Rathi
e5eb9fee7a [docs] Clarifications 2024-08-09 14:46:22 +05:30
Manav Rathi
8f167d81fc Types 2024-08-09 14:36:27 +05:30
Manav Rathi
1c84b32608 Specifize 2024-08-09 14:22:26 +05:30
Vishnu Mohandas
1e3110ca9c [docs] updated Googletakeout (#2643) 2024-08-09 14:15:44 +05:30
Vishnu Mohandas
0412c37bf5 Update index.md 2024-08-09 14:14:52 +05:30
Manav Rathi
777ce3f4a8 Sketch 2024-08-09 13:41:39 +05:30
Manav Rathi
5fa719f3e9 Sketch 2024-08-09 13:26:32 +05:30
Neeraj Gupta
7834662340 [server] Clean up 2024-08-09 13:08:46 +05:30
Manav Rathi
29d7403cda Non-trivial ones 2024-08-09 12:43:56 +05:30
ashilkn
46a7880f05 [mob][photos] Extract strings 2024-08-09 12:41:04 +05:30
Neeraj Gupta
ffbd76b88b [server] Support for replicating ml data 2024-08-09 12:40:52 +05:30
ashilkn
762daa6bd5 [mob][photos] Change icon of guest view 2024-08-09 12:33:45 +05:30
Manav Rathi
890ea6c8d1 Closer 2024-08-09 12:33:33 +05:30
Ashil
fdf3b6e85d [mob][photos] Swipe lock for multiple files (#2631) 2024-08-09 12:13:51 +05:30
Manav Rathi
cfcfade152 People list 2024-08-09 12:00:31 +05:30
Neeraj Gupta
da09a5261b [server] Fix key look up 2024-08-09 11:57:21 +05:30
Manav Rathi
5c7c4ad35a Fix 2024-08-09 11:41:59 +05:30
Manav Rathi
771327a551 gen 2024-08-09 11:35:50 +05:30
Manav Rathi
526546da59 Promise 2024-08-09 11:30:21 +05:30
Jay
a32a9dea3f [docs] updated googletakeout 2024-08-09 11:18:17 +05:30
Manav Rathi
69627ee8d6 Start moving the plumbing out 2024-08-09 11:14:23 +05:30
Manav Rathi
292a8eb00f Group state 2024-08-09 10:33:24 +05:30
Manav Rathi
685680c6da Integrate 2024-08-09 09:48:01 +05:30
Prateek Sunal
8db29a25a4 fix: review changes 2024-08-09 02:41:44 +05:30
Prateek Sunal
10d6caa4e1 fix: review changes 2024-08-09 02:40:03 +05:30
Prateek Sunal
fb2c17c510 fix: update panorama package to support sensor tweaks 2024-08-09 02:32:14 +05:30
Aman Raj Singh Mourya
5925dfb3fc [mob][photos] Minor fixes 2024-08-08 21:41:46 +05:30
Manav Rathi
65b0a061b7 [desktop] Cluster - Initial steps (#2640)
- No functional changes
- Also add nanoid dep
2024-08-08 21:01:41 +05:30
Manav Rathi
7c435b9ae5 [web] Fix referrer policy (#2639)
Ref: https://web.dev/articles/referrer-best-practices
2024-08-08 20:20:29 +05:30
Manav Rathi
7dcfe12d1d [web] Fix referrer policy
Ref: https://web.dev/articles/referrer-best-practices
2024-08-08 20:17:16 +05:30
ashilkn
b4500ef4d7 [mob][photos] Workaround for android 10 free up space issue
Workaround for deletedIDs being empty on android 10
2024-08-08 15:26:14 +05:30
Neeraj Gupta
4920ecf643 rename 2024-08-08 14:44:42 +05:30
Neeraj Gupta
58e55a7a00 [server] Clean up 2024-08-08 14:19:50 +05:30
Neeraj Gupta
86ad432d5b [server] Implement file data deleted using existing table as queue 2024-08-08 14:16:40 +05:30
Manav Rathi
0fcecc7786 [web] Improve handling of cancelled sub updates (#2635)
This fixes an issue where a user with a cancelled _and_ expired
subscription would try to purchase a plan, and would instead get
redirected to the updated subscription flow in stripe (instead of the
buy flow).

Smoke tested a few scenarios locally.
2024-08-08 14:15:55 +05:30
Manav Rathi
a3c51044c4 Unused 2024-08-08 14:02:24 +05:30
Manav Rathi
488c239cf2 Use 2024-08-08 13:59:44 +05:30
Manav Rathi
d26aafc5f4 Flowchart 2024-08-08 13:57:17 +05:30
Neeraj Gupta
272d17615e [server] Remove fileData cleanup via queue 2024-08-08 13:03:34 +05:30
Neeraj Gupta
50f6fd7440 Add request to get preview url 2024-08-08 12:51:42 +05:30
Manav Rathi
5ad1bacf3e Swap 2024-08-08 12:46:13 +05:30
Manav Rathi
1c8512ad81 wip harness 2024-08-08 12:38:33 +05:30
Manav Rathi
c784831ded Test 2024-08-08 12:35:04 +05:30
Manav Rathi
d53d39b400 Loop 2024-08-08 12:27:19 +05:30
ashilkn
eaf6147f2b Merge branch 'main' into guest_view 2024-08-08 12:12:12 +05:30
Manav Rathi
e31f0b042d Sketch 2024-08-08 12:05:20 +05:30
Neeraj Gupta
2eb0cb3487 Update DB Schema 2024-08-08 12:04:05 +05:30
Manav Rathi
395fe16d8a dp 2024-08-08 11:52:30 +05:30
Manav Rathi
ce421eded4 nanoids 2024-08-08 11:17:18 +05:30
Manav Rathi
5cc8479354 Outline 2 2024-08-08 10:50:49 +05:30
Manav Rathi
08303d2bb6 Outline 2024-08-08 10:36:48 +05:30
httpjamesm
00d0cfe72c feat: add shakepay and newton icon metadata 2024-08-08 00:12:51 -04:00
httpjamesm
f3b13042ca feat: newton crypto icon 2024-08-08 00:11:42 -04:00
httpjamesm
6fbc807225 feat: shakepay icon 2024-08-08 00:09:55 -04:00
Manav Rathi
9ec1affcbb docs: section links Method (#2633)
## Description
Link separate by hyphen for scrolling through intended section title.
## Tests
2024-08-08 09:13:05 +05:30
Guspan Tanadi
67d0fb1c31 docs: section links Method 2024-08-08 07:32:39 +07:00
Prateek Sunal
b6602d052f Merge remote-tracking branch 'origin/main' into mobile-panorama-fix 2024-08-08 04:01:24 +05:30
Prateek Sunal
7cafa9ccb6 fix(mob/panorama): add background pattern 2024-08-08 04:00:59 +05:30
Aman Raj Singh Mourya
b7bd8c83ba [mob][photos] Swipe lock for multiple files 2024-08-08 00:44:27 +05:30
Manav Rathi
36de2db175 [web] Finalize migration to new Exif library (#2630) 2024-08-07 21:07:37 +05:30
Prateek Sunal
a09794304c [auth] redirect support issues to github discussion (#2605)
## Description

same as title
2024-08-07 20:22:55 +05:30
Manav Rathi
fe97828328 Remove debug log 2024-08-07 19:50:00 +05:30
ashilkn
3652430b59 [mob][photos] Set volume to full in native video player 2024-08-07 18:57:27 +05:30
ashilkn
553e62dfae [mob][photos] Minor UI enhancements on native video player controls 2024-08-07 17:55:55 +05:30
ashilkn
a4c0c8b999 [mob][photos] Show duration and current position in duration in the native video player 2024-08-07 17:44:19 +05:30
Neeraj Gupta
1bb4940e14 Handle deletion from inFlight replica 2024-08-07 16:46:02 +05:30
Manav Rathi
959f887d2f Remove unused flexibility 2024-08-07 16:08:20 +05:30
ashilkn
7910d92d34 [mob][photos] Theme changes to seek bar 2024-08-07 16:00:13 +05:30
Manav Rathi
6967d1235e derived 2024-08-07 15:55:10 +05:30
Manav Rathi
ca1039884f Remove exif extraction during indexing 2024-08-07 15:50:10 +05:30
ashilkn
551c151f1e [mob][photos] Seek bar minor improvement 2024-08-07 15:47:50 +05:30
Manav Rathi
777f9e9704 - @xmldom/xmldom
(In next commit we'll remove it from the indexer)
2024-08-07 15:42:44 +05:30
ashilkn
af758d4e85 [mob][photos] Make dragging of seek bar interactive, both in the seek bar widget and in the video 2024-08-07 15:39:09 +05:30
Manav Rathi
527dfc3721 Remove exifr 2024-08-07 15:34:55 +05:30
Neeraj Gupta
5f14057b65 Update schema to add in-flight list of regions 2024-08-07 15:34:21 +05:30
Manav Rathi
8cde8d6d66 [web] Use new Exif library during uploads (#2629) 2024-08-07 15:16:51 +05:30
ashilkn
7795625708 [mob][photos] Move SeekBar and PlayPauseButton widgets to separate files 2024-08-07 15:07:52 +05:30
Manav Rathi
0b279111dd Use during uploads 2024-08-07 15:07:50 +05:30
ashilkn
c572fc171c [mob][photos] Make seeking work (only when seeking ends) 2024-08-07 14:58:38 +05:30
ashilkn
d452d1acb0 [mob][photos] Stop animating seek bar after being seeked when video is paused 2024-08-07 14:57:28 +05:30
Manav Rathi
1fdeebed28 Integrate 2024-08-07 14:37:12 +05:30
dnred
139d3b99a1 Change Auth mobile apps' names to "Ente Auth" (#2622)
## Description

Changed the name of the Auth mobile app to "Ente Auth" on both Android
and iOS to make it consistent with the naming of Ente Photos and to also
make it consistent on both platforms.
2024-08-07 14:34:01 +05:30
Manav Rathi
0a3182be53 Not deprecated 2024-08-07 14:15:12 +05:30
Shamshid
1db7bf2902 [Auth] Add 3 new icons (#2627)
## Description

Add icons for:
- [Booking.com](http://booking.com/)
- [Blockchain.com](https://blockchain.com/)
- [BitOasis](https://bitoasis.net/)
2024-08-07 14:07:14 +05:30
Manav Rathi
920b4e6823 Unnull 2024-08-07 13:55:18 +05:30
Manav Rathi
fe399762f5 Doc 2024-08-07 13:22:15 +05:30
Manav Rathi
9a60bf3ba6 Doc 2024-08-07 13:06:46 +05:30
Manav Rathi
862495c29e Up 2024-08-07 13:00:59 +05:30
Manav Rathi
5c0a80415d Give both a shot 2024-08-07 12:56:59 +05:30
Neeraj Gupta
075096258f Rename 2024-08-07 12:56:39 +05:30
Manav Rathi
728c3a80f4 Scaffold 2024-08-07 12:47:19 +05:30
Manav Rathi
6adbb82d54 p1 2024-08-07 12:40:18 +05:30
ashilkn
4c02e8ffa3 [mob][photos] Create seek bar that moves with video and animate the seek bar between each second with also handling edge cases
The native video player package that is used only emits an event at each second when the video is played. For a good looking seek bar, have animate it in between seconds
2024-08-07 12:31:15 +05:30
Manav Rathi
1fc1d3f4c0 Rearrange 2024-08-07 12:30:49 +05:30
Manav Rathi
05725dfdeb lay of the land 2024-08-07 12:26:02 +05:30
Manav Rathi
25c97dea48 Switch 2024-08-07 12:21:17 +05:30
Manav Rathi
9cc8469ed9 Remove unused 2024-08-07 12:04:34 +05:30
Manav Rathi
fead530786 Use in fixer 2024-08-07 11:41:29 +05:30
Neeraj Gupta
1cf9a15f48 [mob] Refactor 2024-08-07 11:24:32 +05:30
Manav Rathi
4d6b57b96c [web] Use the new date/time persistence format for edits (#2628) 2024-08-07 11:13:42 +05:30
Manav Rathi
74e50a8e37 Show from both places 2024-08-07 11:02:17 +05:30
Manav Rathi
62436db1c3 Add sync variant 2024-08-07 10:56:25 +05:30
Manav Rathi
f4adea5a60 Add wrapper 2024-08-07 10:33:53 +05:30
Manav Rathi
7ecfa20f03 Up 2024-08-07 10:19:12 +05:30
Manav Rathi
71b909d950 Outline 2024-08-07 10:15:14 +05:30
Manav Rathi
36673997dd lf 2024-08-07 09:37:05 +05:30
Manav Rathi
5d16f5735b Inline 2024-08-06 20:39:34 +05:30
Manav Rathi
8e284c1139 Don't use the offset 2024-08-06 20:30:05 +05:30
Manav Rathi
657ea68122 Keep in sync 2024-08-06 20:21:56 +05:30
Manav Rathi
a6cc6f24d0 Use newer fields 2024-08-06 20:05:27 +05:30
Neeraj Gupta
98a6bf9164 Store bucketID for temp objects 2024-08-06 17:01:06 +05:30
Neeraj Gupta
7dadd1eb0a [mob] Fix bug 2024-08-06 16:50:37 +05:30
ashilkn
4abbb5c591 [mob][photos] Fix unexpected behaviour of play pause button 2024-08-06 16:34:56 +05:30
ashilkn
5351377ae7 [mob][photos] Make play pause controls for native video player 2024-08-06 16:29:16 +05:30
Manav Rathi
af4064b97a Prepare for merge 2024-08-06 16:24:40 +05:30
Neeraj Gupta
84fa8f343b clean up 2024-08-06 15:34:27 +05:30
Neeraj Gupta
ec91e75780 [server] Handle fileData cleanup on file Deletion 2024-08-06 15:31:53 +05:30
Manav Rathi
9ceae94071 Update docs 2024-08-06 15:30:38 +05:30
Neeraj Gupta
885aac832f [mob] Fix bug 2024-08-06 15:29:47 +05:30
Manav Rathi
962a260e4b Copy over another hack 2024-08-06 15:27:05 +05:30
Manav Rathi
d30773e68a Fix 2024-08-06 15:22:38 +05:30
Manav Rathi
2c6298d6c3 Test 2 2024-08-06 14:56:21 +05:30
Neeraj Gupta
96a9782937 [mob] Switch to new APIs 2024-08-06 14:51:43 +05:30
Manav Rathi
07786140f9 Give it a spin 2024-08-06 14:47:30 +05:30
Manav Rathi
7d36808bb5 Sprinkled with TODOs, but a checkpoint 2024-08-06 14:28:51 +05:30
Neeraj Gupta
4ab03ee35f [mob] Switch to new API 2024-08-06 14:27:28 +05:30
Manav Rathi
a61ea9338e Add note about Zod and exactOptionalPropertyTypes 2024-08-06 14:07:21 +05:30
Manav Rathi
1c4ae46270 wip 1 2024-08-06 13:53:55 +05:30
Neeraj Gupta
2e82c96b2a [mob] Update empty faceID 2024-08-06 13:50:36 +05:30
Neeraj Gupta
a4921110a2 [mob] generated strings 2024-08-06 13:49:38 +05:30
Neeraj Gupta
67c2d94d5e Merge branch 'main' into clip_face_integration 2024-08-06 13:29:58 +05:30
Manav Rathi
1570b0a551 Entry point 2024-08-06 13:06:26 +05:30
ashilkn
eab1be3753 [mob][photos] Add native_video_player to pubspec.yaml 2024-08-06 12:42:45 +05:30
ashilkn
51f0cfff06 Merge branch 'main' into use_native_video_player 2024-08-06 11:32:50 +05:30
Ashil
b8cb480d23 [mob][photos] Fix bug in parsing rotation metadata from video using FFProbe (#2595)
### Description

Parse width and height of video correctly using FFProbe by 
- Considering both `coded_height` & `height` + `coded_width` + `width`
keys to parse height and width of video. Came across two videos where
`coded_width` and `coded_height` were both `0` where as `height` and
`width` had the correct values.
- Parse `rotation` from `side_data_list` and consider `rotation` for
accurate (i.e, not flipped) dimensions.

Have made sure the correct height and width of the video is shown on the
video's file info. Sometimes there could be a slight difference from
what a user would expect, if the `coded_side` is different from `side`
(`side` is `width` or `height`). Will be fixing this in future.
Ref:
https://superuser.com/questions/1523944/whats-the-difference-between-coded-width-and-width-in-ffprobe
2024-08-06 11:25:13 +05:30
Prateek Sunal
d9bd96ce34 Merge remote-tracking branch 'origin/main' into mobile-panorama-fix 2024-08-06 02:31:52 +05:30
Manav Rathi
a821d1f283 [web] Magic metadata related refactoring (#2621)
This is mostly prep, no (major) changes to the functional codepaths yet.
2024-08-05 20:56:46 +05:30
Manav Rathi
4470fe0425 Clean 2024-08-05 20:41:22 +05:30
Manav Rathi
296bcbc8c2 Move and grow 2024-08-05 20:33:54 +05:30
Manav Rathi
f38d432bf9 It's also used for collections 2024-08-05 20:22:33 +05:30
Manav Rathi
543b180137 Rename II 2024-08-05 20:20:58 +05:30
Manav Rathi
2e683bb625 Doc 2024-08-05 20:19:10 +05:30
Manav Rathi
164d875324 Rename 2024-08-05 20:11:48 +05:30
Manav Rathi
70d691207c Doc 2024-08-05 20:04:21 +05:30
Manav Rathi
b12f981f5b Sibling 2024-08-05 20:00:17 +05:30
Manav Rathi
28ca94265d More 2024-08-05 19:54:20 +05:30
Manav Rathi
b16a717776 Doc 2024-08-05 19:15:39 +05:30
Manav Rathi
20ac146b50 Remove unnecessary alias 2024-08-05 18:25:44 +05:30
ashilkn
2916bcfda8 [mob][photos] chore 2024-08-05 18:24:29 +05:30
Manav Rathi
b91d854a92 New 2024-08-05 18:14:50 +05:30
ashilkn
f69214461d [mob][photos] Add todo comment 2024-08-05 18:09:07 +05:30
Crowdin Bot
cbb1a57ffe New Crowdin translations by GitHub Action 2024-08-05 18:06:28 +05:30
Neeraj Gupta
543aa6b9cf Clean up 2024-08-05 17:46:00 +05:30
Neeraj Gupta
744d6bc6ea Add helper method to empty bucket for given user 2024-08-05 17:35:05 +05:30
Neeraj Gupta
81c3626c6c Rename 2024-08-05 17:31:12 +05:30
Neeraj Gupta
27eb5ecc2b [server] Update DB Script 2024-08-05 16:44:34 +05:30
Neeraj Gupta
18d58a9eee [server] Parse config for file-data buckets 2024-08-05 16:44:01 +05:30
Manav Rathi
9991f0bfc0 [web] Better standardize the crypto nomenclature used in code (#2620) 2024-08-05 15:44:49 +05:30
Manav Rathi
9640d485a2 Rename 2024-08-05 15:37:46 +05:30
Manav Rathi
9b896c5c2f Dedup 2024-08-05 15:37:29 +05:30
Manav Rathi
838840bfa8 Decrypt thumb 2024-08-05 15:36:34 +05:30
Manav Rathi
2952c4a4c6 Consistency 2024-08-05 15:19:20 +05:30
ashilkn
e1713851b3 [mob][photos] Show accurate height and width in file info for a video 2024-08-05 15:09:16 +05:30
Manav Rathi
2d1a8e5b85 Doc 2024-08-05 15:08:47 +05:30
Manav Rathi
a59b11c9f8 Rearrange 2024-08-05 15:04:46 +05:30
Manav Rathi
40c360a1bd Rename 2024-08-05 15:03:55 +05:30
Manav Rathi
d599a6dcfa Thumb 2024-08-05 15:03:39 +05:30
Manav Rathi
219cc405da Terms 2024-08-05 14:58:35 +05:30
Manav Rathi
8cabf13e5a lint 2024-08-05 14:46:16 +05:30
Manav Rathi
f8c12ba127 Rename 2024-08-05 14:44:37 +05:30
Manav Rathi
9583b31bfc Prune 2024-08-05 14:44:03 +05:30
Manav Rathi
506dc36c69 Rest 2024-08-05 14:43:36 +05:30
Manav Rathi
61935a0037 More 2024-08-05 14:41:56 +05:30
Manav Rathi
25541ecd3a More 2024-08-05 14:41:05 +05:30
Manav Rathi
5e3cae39ec Entities too 2024-08-05 14:38:21 +05:30
Manav Rathi
e60506586e Prune 2024-08-05 14:33:29 +05:30
Manav Rathi
0d8a49317a Upload 2024-08-05 14:32:57 +05:30
Manav Rathi
6b52f1e53b all but 1 2024-08-05 14:26:45 +05:30
Manav Rathi
9ff4aa47d0 Collection 2024-08-05 14:22:28 +05:30
Manav Rathi
edbe40d2fa Use 2024-08-05 14:21:03 +05:30
Manav Rathi
4c28646ecc Expand to collections 2024-08-05 14:20:03 +05:30
Manav Rathi
8ec2d3e87c Forward 2024-08-05 14:01:46 +05:30
Crowdin Bot
2a00313159 New Crowdin translations by GitHub Action 2024-08-05 14:01:35 +05:30
Manav Rathi
22b2c49b63 metadata 2024-08-05 13:57:05 +05:30
Manav Rathi
13ab0d4309 enc new 2024-08-05 13:49:21 +05:30
Manav Rathi
5536f7ac03 Update the embedding layer 2024-08-05 13:42:55 +05:30
Manav Rathi
bd42650b9e More docs etc 2024-08-05 13:28:02 +05:30
Manav Rathi
13f31a7d09 Dec 2024-08-05 12:12:14 +05:30
Manav Rathi
124552eda3 New 2024-08-05 12:04:38 +05:30
Manav Rathi
a9359d15d3 Doc 2024-08-05 11:39:31 +05:30
Manav Rathi
15f80e3fa6 Ontology 2024-08-05 11:33:16 +05:30
Manav Rathi
2dcc199556 Unused 2024-08-05 11:10:56 +05:30
Manav Rathi
9bce3bba7c Rename and prune 2024-08-05 11:07:57 +05:30
Manav Rathi
32a602725a Unnest 2024-08-05 10:34:01 +05:30
Manav Rathi
0bff899713 Doc 2024-08-05 10:31:07 +05:30
Neeraj Gupta
d0fd868705 Merge branch 'main' into file_data 2024-08-05 10:24:02 +05:30
Manav Rathi
a02a4ca5c1 [web] New translations (#2616)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-08-05 09:53:17 +05:30
Crowdin Bot
2860a94dae New Crowdin translations by GitHub Action 2024-08-05 00:31:53 +00:00
Manav Rathi
ccc20c5bbd [server] Mention extra in docs (#2613)
Ref: https://github.com/ente-io/ente/pull/2607
2024-08-03 18:13:30 +05:30
Manav Rathi
98de9082b9 [server] Mention extra in docs
Ref: https://github.com/ente-io/ente/pull/2607
2024-08-03 18:11:15 +05:30
Manav Rathi
c703f46243 [web] Miscellaneous improvements (#2612) 2024-08-03 18:02:43 +05:30
Manav Rathi
6bd9607c94 allow setting extra parameter for dsn (#2607)
## Description
For https://github.com/ente-io/ente/discussions/2603
2024-08-03 18:01:32 +05:30
Manav Rathi
d68c04a8fb Increase tap area for better mobile UX 2024-08-03 17:57:41 +05:30
Manav Rathi
eea4958ee7 Non-ente ext links 2024-08-03 17:42:49 +05:30
Manav Rathi
6feb3b7897 Move 2024-08-03 17:20:21 +05:30
Manav Rathi
17e57b7486 Inline 2024-08-03 17:14:21 +05:30
Manav Rathi
9673aa1c19 Remove redundant preload
We show the img tag immediately
2024-08-03 17:11:27 +05:30
Manav Rathi
ebf51b99c8 Remove unused image (and its preload) 2024-08-03 17:05:41 +05:30
Manav Rathi
56c4b39d75 Button already handles this 2024-08-03 16:41:33 +05:30
Neeraj Gupta
14d003dd8f [server] Add API to update referral code 2024-08-03 16:39:15 +05:30
Manav Rathi
a01077a1a4 Inline 2024-08-03 16:38:27 +05:30
Neeraj Gupta
29cf5b91a5 [server] Fix deviceLimit tracker 2024-08-03 16:37:00 +05:30
Neeraj Gupta
3392e39f7c [server] Change default link expiry to never 2024-08-03 16:37:00 +05:30
Manav Rathi
c604078736 Prune 2024-08-03 16:31:36 +05:30
Manav Rathi
80dccca62c Accurater 2024-08-03 16:11:59 +05:30
Manav Rathi
04d632b50e Opt
https://mui.com/material-ui/react-use-media-query/#client-side-only-rendering
2024-08-03 16:09:40 +05:30
Neeraj Gupta
c41933edc4 [server] Fix typo (#2608)
## Description

## Tests
2024-08-03 16:07:17 +05:30
Neeraj Gupta
d1dc977d5e [server] Add struct for fileData config 2024-08-03 16:06:47 +05:30
Manav Rathi
0db9bd04a1 Inline 2024-08-03 16:04:41 +05:30
Manav Rathi
179acd7e47 Prune more 2024-08-03 16:00:04 +05:30
Manav Rathi
97486818d8 [web] Use pointer media query to approximate mobile device detection 2024-08-03 15:51:49 +05:30
Vishnu Mohandas
22cff206b3 Update README.md 2024-08-03 15:35:52 +05:30
Manav Rathi
b8e20eb263 [web] Start using new Exif library during date modifications (#2604) 2024-08-03 10:15:31 +05:30
Manav Rathi
d530562552 Update docs 2024-08-03 10:14:30 +05:30
Manav Rathi
ef38b639eb Fix appearance in the info drawer 2024-08-03 10:10:36 +05:30
Manav Rathi
7db35fd8bd I don't see a pen icon anymore
Not sure what this was for
2024-08-03 09:54:19 +05:30
Manav Rathi
59d772f609 Fix the layout shift 2024-08-03 09:54:06 +05:30
Manav Rathi
d5e54214da Fix another bunch of issues
This also fixes the problem with the separator (the colon in 08:54) not aligning
in the default orientation.
2024-08-03 08:57:51 +05:30
Manav Rathi
1227991300 Customize the paper slot the new way 2024-08-03 08:42:16 +05:30
Manav Rathi
cf81d25b6a Migrate renderInput 2024-08-03 08:35:01 +05:30
Manav Rathi
cc596ae4f0 freshen 2024-08-03 06:14:49 +05:30
John Doe
dbab1bad55 allow setting extra parameter for dsn 2024-08-02 21:09:23 +01:00
ashilkn
7c202a4edb [mob][photos] Consider the 'width' and 'height' key also when parsing dimensions of video 2024-08-02 17:26:36 +05:30
Prateek Sunal
289718f7f6 fix(auth/support): update support email to auth@ente.io 2024-08-02 16:40:39 +05:30
Prateek Sunal
986c00f4e8 fix(auth/support): remove support email and redirect to github discussions 2024-08-02 16:36:05 +05:30
Manav Rathi
025b8f7bcf Handle initial option 2024-08-02 15:24:58 +05:30
Victor Muthiani
5f7b411b67 [Auth] Add new icons and fix some icons (#2559)
## Description
1. Icons added:

- Ecitizen Kenya
- Bitget Wallet

2. Fixed icons that were invisble:

- Crypto
- 1xbet

3. Updated icons to cater for both dark and light mode:

- Github
- OKX 
- Bitmart

4. Reduced deriv.svg icon width
2024-08-02 15:22:01 +05:30
Manav Rathi
487cf125c1 Lint fix 2024-08-02 15:17:51 +05:30
Neeraj Gupta
e32cd7b64c [server] Expose API to get and put metadata 2024-08-02 15:09:52 +05:30
Manav Rathi
839b86ce88 uncon 2024-08-02 14:58:51 +05:30
Manav Rathi
2ebfc79420 Handle initial value 2024-08-02 14:54:50 +05:30
Manav Rathi
eb848eb4c6 The other place 2024-08-02 14:51:30 +05:30
Manav Rathi
ea36517832 Move back
Too many requisites first need to be moved to move those functions to new.
2024-08-02 14:49:55 +05:30
Manav Rathi
0bbb15337f Rework 2024-08-02 14:35:11 +05:30
Manav Rathi
8a2d3600e9 wip move 2024-08-02 14:21:51 +05:30
Manav Rathi
4335df1634 mig wip 2024-08-02 13:58:09 +05:30
Manav Rathi
967149c04b New home 2024-08-02 13:44:31 +05:30
Manav Rathi
a19179cacd Fix type 2024-08-02 13:42:12 +05:30
ashilkn
4f3fe73daa [mob][photos] Fix getVideoPropsAsync failing in native video player because a normal file and not the origin file was being passed to it in case of locally available vidoes 2024-08-02 13:33:32 +05:30
Manav Rathi
edc3337192 2 2024-08-02 13:33:10 +05:30
Manav Rathi
0241e408e1 Make it work 1
Rely on default 1900 instead of 1800
2024-08-02 13:18:50 +05:30
Manav Rathi
32469adcc5 Update MUI date picker to try and obtain the UTC functionality
Per https://mui.com/blog/mui-x-v6/#decoupling-versions-from-mui-core, the
version of MUI X is now decoupled from MUI core so this should work even when
our MUI remains at 5.

Migration:
- https://mui.com/x/migration/migration-pickers-v5/
- https://mui.com/x/migration/migration-tree-view-v6/
2024-08-02 12:28:26 +05:30
Manav Rathi
c8fcac8b55 (doesn't work) attempt to use UTC dates
We need to update MUI
2024-08-02 12:24:13 +05:30
Manav Rathi
fa89ed3a7c Switch to dayjs for UTC support 2024-08-02 12:14:30 +05:30
Manav Rathi
1364feeac8 Scope 2024-08-02 11:55:29 +05:30
Manav Rathi
3bf81dda3b Make it work 2024-08-02 11:51:03 +05:30
Manav Rathi
066c41a6df Upgrade 2024-08-02 11:38:10 +05:30
Manav Rathi
57dd8b0c67 Doc 2024-08-02 11:21:25 +05:30
Manav Rathi
54d97c222e Fix lint 2024-08-02 11:14:31 +05:30
Manav Rathi
ee233eab71 Tweak 2024-08-02 11:07:41 +05:30
Manav Rathi
706c288220 Remove unused prop 2024-08-02 10:48:47 +05:30
Manav Rathi
93b7d71543 Use the mui option 2024-08-02 10:47:04 +05:30
Manav Rathi
d6433155db New home 2024-08-02 10:42:51 +05:30
Manav Rathi
993943ccfa Prep 2024-08-02 10:41:28 +05:30
Manav Rathi
99c6c22fe1 [web] Non functional code rearrangement for the plan list (#2597) 2024-08-01 21:19:04 +05:30
Manav Rathi
bf6dc59429 Up 2024-08-01 21:12:07 +05:30
Manav Rathi
7c71277759 Inline 2024-08-01 21:11:10 +05:30
Manav Rathi
88996eddea Inline 2024-08-01 21:08:26 +05:30
Manav Rathi
dbd2addeea Scope 2024-08-01 21:06:44 +05:30
Manav Rathi
ab652ee3fe Inline 2024-08-01 21:05:04 +05:30
Manav Rathi
d14b18867a Remove unused 2024-08-01 21:00:16 +05:30
Manav Rathi
cfe2e96227 Inline 2024-08-01 20:59:26 +05:30
Manav Rathi
ad0b8ae017 Inline 2024-08-01 20:55:52 +05:30
Manav Rathi
7e5577ecd7 Inline 2024-08-01 20:53:19 +05:30
Manav Rathi
cd73a736f4 Remove unused 2024-08-01 20:51:44 +05:30
Manav Rathi
0a03df9242 Inline 2024-08-01 20:50:03 +05:30
Manav Rathi
1c4a6ca8b1 Remove unused 2024-08-01 20:39:28 +05:30
Manav Rathi
f15729d73f Inline 2024-08-01 20:37:14 +05:30
Manav Rathi
8edf6d8253 Remove unnecessary cast 2024-08-01 20:36:18 +05:30
Aman Raj Singh Mourya
43525128eb [mob][photos] Multi-Item Selection and Deletion Feature for Quick Links (#2589)
**Description**
This PR introduces a new feature that allows users to select multiple
links from quick links and delete them in one action.
2024-08-01 20:21:47 +05:30
Aman Raj Singh Mourya
ea585903b7 Merge branch 'quick_links' of https://github.com/ente-io/ente into quick_links 2024-08-01 20:17:32 +05:30
Aman Raj Singh Mourya
42c508b9ce [mob][photos] Use string for ValueKey 2024-08-01 20:16:56 +05:30
ashilkn
2fd960eb0e Merge branch 'main' into quick_links 2024-08-01 20:10:43 +05:30
Aman Raj Singh Mourya
e72c858315 [mob][photos] Fixed animation 2024-08-01 19:55:47 +05:30
Aman Raj Singh Mourya
2af07d9211 [mob][photos] Added animation 2024-08-01 19:55:19 +05:30
Aman Raj Singh Mourya
5f40b2e251 [mob][photos] Extracted strings 2024-08-01 19:31:21 +05:30
Ashil
50b6616680 [mob][auth] Bump up to v3.1.0 (#2582) 2024-08-01 19:25:43 +05:30
Ashil
ca3b477d4c [mob][photo] Fix incorrect SQLite syntax (missing whitespace) (#2587) 2024-08-01 19:25:17 +05:30
Neeraj Gupta
395f0384a0 [cli] Add option to exlude shared or hidden folders 2024-08-01 19:13:03 +05:30
Aman Raj Singh Mourya
1c1135a9b2 [mob][photos] Minor UI changes 2024-08-01 19:03:25 +05:30
ashilkn
31318f10d6 [mob][photos] Set aspect ratio of video 2024-08-01 18:38:34 +05:30
Aman Raj Singh Mourya
105ab79cdb [mob][photos] Changed dialog copy 2024-08-01 18:19:27 +05:30
Neeraj Gupta
0526c63681 [cli] Extend export command to pass filters 2024-08-01 17:52:58 +05:30
Neeraj Gupta
7d8a7257b4 [cli] Add list of filters 2024-08-01 17:46:05 +05:30
ashilkn
af5e9b51e1 [mob][photos] Fix bug in parsing rotation metadata from video using FFProbe 2024-08-01 16:51:36 +05:30
Manav Rathi
884ff970ad [desktop] Make the Exif backfill optional (#2594) 2024-08-01 16:33:53 +05:30
Manav Rathi
22f4a3751f [desktop] Don't use the indexable-files API (#2593)
Discussed. It is meant for mobile app use cases - us using it also on
desktop (where the constraints are different) doesn't really improve on
much latency and adds the overhead of extra API requests on each sync.

Supercedes: https://github.com/ente-io/ente/pull/2591
2024-08-01 16:33:06 +05:30
Manav Rathi
e640302ce0 [desktop] Make the exif backfill optional 2024-08-01 16:30:41 +05:30
Manav Rathi
4e51d76791 [desktop] Don't use the indexable-files API
Discussed. It is meant for mobile app use cases - us using it also on desktop
(where the constraints are different) doesn't really improve on much latency and
adds the overhead of extra API requests on each sync.
2024-08-01 16:12:21 +05:30
ashilkn
9b5b1d297b [mob][photos] Start integrating native_video_player 2024-08-01 15:52:41 +05:30
Manav Rathi
be00f015a7 [desktop] Handle logout for utility process (#2592) 2024-08-01 15:30:58 +05:30
Manav Rathi
9c883eebc6 [desktop] Handle logout for utility process 2024-08-01 15:27:14 +05:30
ashilkn
d5b5b9bd51 [mob][photos] Rename VideoWidgetNew to VideoWidgetMediaKit 2024-08-01 14:53:38 +05:30
Ashil
50f601b66b [mob][photos] Handle/fix issues with media dimensions (#2580)
## Description

- Stopped updating image width and height in public metadata since the
these could be incorrect (width and height inverted to be precise).
- Parse `rotation` metadata from video metadata when parsing video
properties with `ffprobe` to get the correct video width and height
considering `rotation`.
2024-08-01 14:46:02 +05:30
Neeraj Gupta
bfe5632477 [server] Support for inserting and fetching s3 metadata 2024-08-01 13:24:46 +05:30
Neeraj Gupta
a67bc6aee7 [server] Add bucket5 2024-08-01 13:24:25 +05:30
Manav Rathi
c0011ef10b [desktop] Pull existing embeddings first before starting on indexing (#2591)
Speeds up the initial sync on a new client.
2024-08-01 12:36:14 +05:30
Manav Rathi
985de0a5ce Fix the actual issue described in 940c647d50 2024-08-01 12:26:27 +05:30
Manav Rathi
940c647d50 Prevent multiple ticks from being enqueued
Noticed multiple ticks when uploading an item, which brought back focus into the
app and caused wakeUp also to get triggered because of sync. Not sure if this
was the issue, but felt like a potential one.
2024-08-01 12:19:06 +05:30
Manav Rathi
97bbf4811f Save 2024-08-01 11:45:25 +05:30
Manav Rathi
eed991a7b2 Construct the scaffolding 2024-08-01 11:22:10 +05:30
Manav Rathi
5a362b5d45 Move wip 2024-08-01 11:06:41 +05:30
Manav Rathi
523af2600a pull wip 2024-08-01 10:49:45 +05:30
Manav Rathi
f869447c7d File IDs 2024-08-01 10:41:31 +05:30
Manav Rathi
586d8f86f7 Up 2024-08-01 10:32:47 +05:30
Manav Rathi
c369db9453 Impl handler for /embeddings/indexed-files
https://github.com/ente-io/ente/pull/2511/
2024-08-01 10:15:04 +05:30
Manav Rathi
c4103f9136 Restore the pull scaffolding
Partially reverts 61b98a9964
2024-08-01 09:49:54 +05:30
Aman Raj Singh Mourya
ba9d656b38 [mob][photos] Added dialog box for confirmation 2024-07-31 19:47:08 +05:30
Vishnu Mohandas
31493541a1 Update pricing faq (#2588)
## Description

## Tests
2024-07-31 19:34:42 +05:30
vishnukvmd
af90bfade7 Update pricing faq 2024-07-31 19:33:35 +05:30
ashilkn
95e342830b [mob][photo] Fix incorrectly formatted query (missing whitespace) 2024-07-31 18:20:53 +05:30
Manav Rathi
eb2557b2b0 [desktop] Use a utility process for ML indexing (#2583)
* This ensures that the UI remains responsive when indexing is running.
* This allows us to parallelize the in-flight networking etc instead of
waterfalling everything.
* The actual CPU intensive indexing is still serial.
2024-07-31 16:27:28 +05:30
Manav Rathi
9ae979abbe [web] New translations (#2586)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-31 15:54:48 +05:30
Crowdin Bot
03805b6e75 New Crowdin translations by GitHub Action 2024-07-31 10:23:46 +00:00
Manav Rathi
b10d674711 [web] Free forever copy changes (#2585) 2024-07-31 15:53:00 +05:30
Aman Raj Singh Mourya
6361859a1b [mob][photos] Batch operation to delete quick links 2024-07-31 15:52:07 +05:30
Manav Rathi
e2f1d7488b [web] Free forever copy changes 2024-07-31 15:49:36 +05:30
Manav Rathi
8a39e4330b [web] New translations (#2584)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-31 15:45:29 +05:30
Crowdin Bot
81d1b15aaf New Crowdin translations by GitHub Action 2024-07-31 10:14:24 +00:00
Manav Rathi
f925d4cf27 Update plan IDs for pricing-v4 (#2573) 2024-07-31 15:32:24 +05:30
vishnukvmd
d52ea49a96 Update plan IDs for pricing-v4 2024-07-31 15:30:14 +05:30
Manav Rathi
0bc360c55c Add link 2024-07-31 15:21:52 +05:30
Manav Rathi
154fffd620 Clean unused 2024-07-31 15:11:23 +05:30
Manav Rathi
46cc696ccd Avoid jargon people might not understand 2024-07-31 14:58:24 +05:30
Manav Rathi
5e055b6039 opt unnecessary uploads 2024-07-31 14:44:42 +05:30
Manav Rathi
59cc01053a Handle refresh 2024-07-31 14:35:47 +05:30
Manav Rathi
1b0fe5fd4c Tighten timings 2024-07-31 14:19:25 +05:30
Manav Rathi
bf6aa5f840 Fix 2024-07-31 14:08:16 +05:30
Manav Rathi
ef32313807 x4 2024-07-31 14:04:29 +05:30
Neeraj Gupta
5bd75a8567 [server] Add req/res model files 2024-07-31 13:42:31 +05:30
Manav Rathi
ebbb9a61ee Don't fail on exif errors 2024-07-31 13:14:09 +05:30
Neeraj Gupta
b9b22fa4dc [server] Add DB triggers for validating row sanity 2024-07-31 13:04:51 +05:30
ashilkn
3d730f4d14 [mob][auth] Bump up to v3.1.0 2024-07-31 12:55:57 +05:30
Manav Rathi
4647f9fac2 Undup and scope 2024-07-31 12:47:52 +05:30
Manav Rathi
192e491acb Match the documented behaviour 2024-07-31 12:46:09 +05:30
Ashil
627a34a231 [mob][auth] Lockscreen option auth (#2465)
### Pull Request Description

*Features Added:*

1. *App Lock Options:*
- *Device Lock*: Users can set the app lock to utilize the device's
default lock mechanism (e.g., fingerprint, face recognition, or device
PIN/password).
- *Custom PIN/Password*: Users have the option to set a custom PIN or
password for app lock.

2. *Authentication for App Lock Settings:*
- When users attempt to change the app lock settings, they must
authenticate using the currently set PIN/password or, if none is set,
the device lock.

3. *App Lock on Background and Quit:*
- The app will prompt for authentication when it is brought back to the
foreground after being in the background or when the app is restarted.
4. *Incremental Lock Timer:*
- A timer mechanism is implemented which starts at 30 seconds after few
incorrect unlock attempts.
- The lockout time doubles after each incorrect attempt, increasing
delay penalties.
- After 10 incorrect attempts, the user is automatically logged out.
2024-07-31 12:43:15 +05:30
Manav Rathi
3a5843f532 tail 2024-07-31 12:34:30 +05:30
Manav Rathi
5a3838be34 Route via workers 2024-07-31 12:30:15 +05:30
Manav Rathi
e55a7facc3 Replace our homebrew RPC 2024-07-31 12:11:53 +05:30
Manav Rathi
6ad27a2d42 Cleanup 2024-07-31 11:58:22 +05:30
ashilkn
423f0b6719 [mob][auth] Reorder security section 2024-07-31 11:50:10 +05:30
Manav Rathi
62f723e50c Adapt 2024-07-31 11:33:18 +05:30
Manav Rathi
a97e01171a Commit incorrect but original motivations 2024-07-31 11:27:15 +05:30
Manav Rathi
daed8a72da Only once 2024-07-31 10:17:08 +05:30
Manav Rathi
b69d23028b Remove test code 2024-07-31 09:56:45 +05:30
Manav Rathi
1ae0f9723c Fix 1 2024-07-31 09:56:00 +05:30
Manav Rathi
f2f7b483fd comlink wip 2024-07-31 09:40:08 +05:30
Manav Rathi
95facd60e0 integrate wip 1 2024-07-31 09:20:35 +05:30
Aman Raj Singh Mourya
30cecf53b3 [mob][auth] Hide content default value set to true when applock enabled 2024-07-30 22:02:50 +05:30
Aman Raj Singh Mourya
2101817b23 [mob][auth] Code clean up 2024-07-30 21:49:40 +05:30
Manav Rathi
7baacc6a77 For real - 1 2024-07-30 20:22:09 +05:30
Manav Rathi
65cfcc27a8 Rearrange 2024-07-30 20:00:21 +05:30
Manav Rathi
3f3d10f57b Error 2 2024-07-30 19:53:39 +05:30
Manav Rathi
18cb596d57 Error 1 2024-07-30 19:41:51 +05:30
Manav Rathi
4ca40085c1 init 2024-07-30 19:13:54 +05:30
ashilkn
878d22fd4a [mob][auth]: Show auto lock feature only on mobile 2024-07-30 18:46:03 +05:30
ashilkn
c3c2dd5cc6 [mob][auth] Fix 'App lock' not working onTap from security section on macOS and Linux 2024-07-30 18:14:59 +05:30
ashilkn
08ba58d790 [mob][photos] Write getters to access correct height and width considering the rotation data and keep the raw codec height and width properties private in FFProbeProps 2024-07-30 17:30:20 +05:30
ashilkn
60d9a819f4 [mob][photos] Rename 2024-07-30 16:52:36 +05:30
ashilkn
6842218d2b [mob][photos] Remove unnecessary int to double conversion 2024-07-30 16:37:10 +05:30
ashilkn
3f0855d9a4 [mob][photos] write getter for video dimensions considering rotation in FFProbeProps 2024-07-30 16:27:43 +05:30
ashilkn
b2556e893b [mob][photos] Parse rotation also when parsing video properties using ffprobe 2024-07-30 16:18:30 +05:30
Manav Rathi
81b52419a5 debug strings 2024-07-30 16:03:57 +05:30
Manav Rathi
e66e9251db Fancier 2024-07-30 15:48:44 +05:30
Manav Rathi
37367f7260 Logging 1 2024-07-30 15:41:48 +05:30
ashilkn
48e566ae68 [mob][photos] Stop updating dimension in pubmmd as it could be inverted for some images 2024-07-30 15:40:17 +05:30
Manav Rathi
29877d119c Let it flow 2024-07-30 14:51:40 +05:30
Manav Rathi
c124cdff20 Fix ordering 2024-07-30 14:49:31 +05:30
Manav Rathi
3d83786f6c Workaround 2024-07-30 14:46:54 +05:30
Aman Raj Singh Mourya
a14a8b0cfb [mob][auth] Lockscreen fixes 2024-07-30 14:40:32 +05:30
Manav Rathi
d92a31d8d8 Indicate error 2024-07-30 14:27:27 +05:30
Manav Rathi
3eaa9b449a IPC 2024-07-30 14:16:10 +05:30
Manav Rathi
b28e8c2fb4 IPC 2024-07-30 13:41:58 +05:30
Manav Rathi
24bc175f1c Forward 2024-07-30 13:21:31 +05:30
Manav Rathi
e54910f8d0 Fix origin 2024-07-30 12:44:22 +05:30
Manav Rathi
0195a9b494 Add workaround 2024-07-30 12:43:07 +05:30
Manav Rathi
ea8bb4529f We need to go via the preload 2024-07-30 12:29:11 +05:30
Manav Rathi
180389f3e2 Can't circumvert that way 2024-07-30 12:00:44 +05:30
Manav Rathi
7d42f23abf Send to the right person 2024-07-30 11:48:00 +05:30
Manav Rathi
4087c6ef4e Fix path 2024-07-30 11:39:58 +05:30
Manav Rathi
67a9417528 Scaffold 2024-07-30 11:37:46 +05:30
Manav Rathi
1e720b4b7d Scaffold 2024-07-30 11:23:32 +05:30
Manav Rathi
1a9170632e Take 1 2024-07-30 11:16:04 +05:30
Neeraj Gupta
3a962cfe52 [server] Extend ObjectType instead of creating new enum 2024-07-30 10:30:57 +05:30
Manav Rathi
65d2bfe1c1 Split on the main/utility axis 2024-07-30 10:19:03 +05:30
Manav Rathi
82f808e533 Outline 2024-07-30 09:59:33 +05:30
Ashil
27ae4b83c4 [mob][photos] Subscription screen redesign (#2576) 2024-07-29 22:54:34 +05:30
ashilkn
142a4ddbc4 [mob][photo] Bump up to v0.9.16 2024-07-29 21:44:18 +05:30
ashilkn
406404f8d0 Merge branch 'main' into subscription_screen_redesign 2024-07-29 21:43:19 +05:30
ashilkn
088cec2716 [mob][photos] Fix on tap not working on free plan when onboarding 2024-07-29 21:38:45 +05:30
Manav Rathi
cf6336d100 [web] Minor tweak for the indexer (#2577)
Continuation of https://github.com/ente-io/ente/pull/2574.
2024-07-29 21:13:00 +05:30
Aman Raj Singh Mourya
c6bf6bd7b6 [mob][photos] Changed max quick link count to 4 2024-07-29 21:09:49 +05:30
Manav Rathi
3dbdea472b Add a top level catch handler instead of silent swallows 2024-07-29 20:46:05 +05:30
ashilkn
d5711095f9 [mob][photos] Change border of plans in subscription screen 2024-07-29 19:34:47 +05:30
ashilkn
2a3fe8c49f [mob][photos] Copy stripe subscription page changes to store subscription page 2024-07-29 19:22:53 +05:30
ashilkn
7d94ef0bbd [mob][photos] Subscription page final UI tweaks 2024-07-29 17:56:58 +05:30
ashilkn
4e589840ff [mob][photos] Subscription page UI improvements 2024-07-29 17:15:03 +05:30
Neeraj Gupta
3571281bef [auth] New translations (#2568)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-07-29 17:03:03 +05:30
Neeraj Gupta
7b0ec2991a [mobile] New translations (#2567)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-07-29 17:00:03 +05:30
Ashil
3572efc02b [mob][photos] Add preview to the album link (#2553) 2024-07-29 16:14:26 +05:30
Manav Rathi
3013d68203 [web] Exif - Migrate to a maintained library - Part 6/x (#2574) 2024-07-29 16:12:19 +05:30
Aman Raj Singh Mourya
c7857110ac [mob][photos] Minor changes 2024-07-29 16:11:52 +05:30
Manav Rathi
505e1de14c lint 2024-07-29 16:09:33 +05:30
Manav Rathi
d116c5ccb1 Prune false positives for times picked from file names 2024-07-29 15:59:55 +05:30
Aman Raj Singh Mourya
8f08ab18fc [mob][photos] MInor changes 2024-07-29 15:56:48 +05:30
Neeraj Gupta
dc143bbaaf [server] Minor fix 2024-07-29 15:48:22 +05:30
Neeraj Gupta
8f8f5d2f51 [server] Avoid redirect 2024-07-29 15:47:44 +05:30
Manav Rathi
aad7300e4b Take 2 2024-07-29 15:41:44 +05:30
Neeraj Gupta
2cc87140ed Add basic endpoint to unblock testing 2024-07-29 15:37:58 +05:30
Manav Rathi
0290991e2c DOMParser is not available in web workers
Exif extraction from XMP thus fails with the following console warning

    Warning: DOMParser is not available. It is needed to be able to parse XMP tags

Thus we need to explicitly take a dep on xmldom.
2024-07-29 15:16:33 +05:30
Manav Rathi
9e2e8e4d63 Fix 2024-07-29 14:54:31 +05:30
Aman Raj Singh Mourya
509b7bda67 [mob][photos] Moving code to share_util.dart 2024-07-29 14:48:42 +05:30
Manav Rathi
30db24721a Fix video spinner 2024-07-29 14:46:29 +05:30
Manav Rathi
b121daa607 Trace 2024-07-29 14:40:11 +05:30
Manav Rathi
bae717dc69 Prepare for internal users 2024-07-29 14:19:17 +05:30
Manav Rathi
b61e4f4ac6 Integrate exif 2024-07-29 13:55:37 +05:30
Manav Rathi
a7e0c5b61d Use the new server enum 2024-07-29 13:20:25 +05:30
Manav Rathi
7a2d925737 [server] Stop exposing /metrics for self-hosted users (#2569)
Doesn't impact Ente's production instances since this endpoint was
disallowed on the load balancer, but instead of requiring the same for
folks who are self hosting we modify the source to not expose /metrics
on :8080 (they'll still be available on :2112).

Refs:
-
2199a42d96/middleware.go (L345)
- https://github.com/ente-io/ente/discussions/2562
2024-07-29 12:05:07 +05:30
Vishnu Mohandas
84ee895b93 Fix typo (#2570) 2024-07-29 11:56:53 +05:30
Vishnu Mohandas
92068fbbd6 Fix typo 2024-07-29 11:56:40 +05:30
Neeraj Gupta
950b2bb997 [server] Update db script 2024-07-29 11:42:14 +05:30
Manav Rathi
d989a3b631 [server] Stop exposing /metrics for self-hosted users
Doesn't impact Ente's production instances since this endpoint was disallowed on
the load balancer, but instead of requiring the same for folks who are self
hosting we modify the source to not expose /metrics on :8080 (they'll still be
available on :2112).

Refs:
- 2199a42d96/middleware.go (L345)
- https://github.com/ente-io/ente/discussions/2562
2024-07-29 11:22:34 +05:30
Ashil
a8c9c33aaa [mob][photos]App lock screen UI improvements (#2536) 2024-07-29 11:22:12 +05:30
Neeraj Gupta
198dab9f58 [server] Add db script to store data 2024-07-29 10:37:13 +05:30
Manav Rathi
184e6090fd [web] New translations (#2566)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-29 09:51:49 +05:30
Crowdin Bot
d1417f364a New Crowdin translations by GitHub Action 2024-07-29 01:16:41 +00:00
Crowdin Bot
d2a6440cba New Crowdin translations by GitHub Action 2024-07-29 01:04:16 +00:00
Crowdin Bot
f09a8c4c51 New Crowdin translations by GitHub Action 2024-07-29 00:31:41 +00:00
Manav Rathi
8d91b857fb [web] Exif - Migrate to a maintained library - Part 5/x (#2558)
Things are reaching a state where we can flip the switch.
2024-07-27 21:51:26 +05:30
Manav Rathi
d1a74da4a4 Rely on the lib's formatters 2024-07-27 21:35:43 +05:30
Manav Rathi
08833390bc Retain previous behaviour 2024-07-27 20:24:59 +05:30
Manav Rathi
e1923fdebd Prone to confusion between the object and the type 2024-07-27 20:13:06 +05:30
Manav Rathi
06be08a382 Fix accidental aliasing 2024-07-27 20:08:56 +05:30
Manav Rathi
99066b8fea Use 2024-07-27 20:02:06 +05:30
Manav Rathi
487fd62feb Rearrange 2024-07-27 20:00:34 +05:30
Manav Rathi
26c40ab2ec Test
Chrome, Safari, Firefox, Node.js (macOS)

    const parseMetadataDate = (s) => {
        const timestamp = new Date(s).getTime() * 1000;
        if (isNaN(timestamp)) return undefined;

        let offsetTime;
        let sWithoutOffset;

        const m = s.match(/Z|[+-]\d\d:?\d\d$/);
        if (m?.index) {
            sWithoutOffset = s.substring(0, m.index);
            offsetTime = s.substring(m.index);
        } else {
            sWithoutOffset = s;
        }

        const date = new Date(
            sWithoutOffset + (sWithoutOffset.length <= 10 ? "" : "Z"),
        );
        const dateTime = dropLast(date.toISOString());

        return { dateTime, offsetTime, timestamp };
    };

    const dropLast = (s) => (s ? s.substring(0, s.length - 1) : s);

    const test = () => {
        console.log(parseMetadataDate("2023"));
        console.log(parseMetadataDate("2023-08"));
        console.log(parseMetadataDate("2023-08-23"));
        console.log(parseMetadataDate("2023-08-23T18:03:00"));
        console.log(parseMetadataDate("2023-08-23T18:03:00+05:30"));
        console.log(parseMetadataDate("2023-08-23T18:03:00.000+05:30"));
        console.log(parseMetadataDate("2023-08-23T12:33:00.000Z"));
    };

    test();
2024-07-27 19:45:15 +05:30
Manav Rathi
4deb9c8f13 Impl wip 2024-07-27 19:22:41 +05:30
ashilkn
efab8918f2 [mob][photos] Many changes to subscription page 2024-07-27 17:47:13 +05:30
Manav Rathi
74c5b22927 Outline 2024-07-27 17:42:54 +05:30
Manav Rathi
8b30d52e94 New home 2024-07-27 16:03:29 +05:30
ashilkn
b5d577f090 [mob][photos] Tweak animation 2024-07-27 13:23:11 +05:30
ashilkn
6440b2176d [mob][photos] Update font size in subscription screen 2024-07-27 13:17:12 +05:30
ashilkn
d3d859f252 [mob][photos] Update asset 2024-07-27 12:56:16 +05:30
ashilkn
63fe67d677 [mob][photos] Add animation when to price when switching between monthly and yearly plans 2024-07-27 12:48:07 +05:30
Neeraj Gupta
23d4156a12 [server] Make linter happy and new entityType: person_v2 (#2545)
## Description

## Tests
2024-07-27 12:36:50 +05:30
ashilkn
41f59ec9ca [mob][photos] Move SubscriptionToggle widget to subscription_common_widgets.dart 2024-07-27 12:16:47 +05:30
ashilkn
bebaa76085 [mob][photos] Show which plan is popular and active in subscription screen 2024-07-27 12:09:43 +05:30
Manav Rathi
c28b6e3a62 Stay within JavaScript
https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums
2024-07-27 10:29:46 +05:30
Manav Rathi
19304daeab Auto rename didn't catch this 2024-07-27 10:24:12 +05:30
Manav Rathi
5c0942f2b7 Remove unused 2024-07-27 10:15:41 +05:30
Manav Rathi
1adab703b8 Rename FILE_TYPE 2024-07-27 10:14:19 +05:30
Manav Rathi
9613361151 Outline 2024-07-27 10:04:47 +05:30
Manav Rathi
77fcd04613 [web] Exif - Migrate to a maintained library - Part x/x (#2556) 2024-07-27 08:56:28 +05:30
Manav Rathi
47f22cf7e4 [desktop] Attempts to improve large drag drops on Windows (#2555)
Trying to diagnose a customer issue where they reported that the
renderer was crashing when trying to drag and drop a 1TB folder on
Windows. Fixing some things that popped out in the memory allocations or
the CPU time when testing with a synthetic workflow (on macOS) - these
may or may not fix their issue, but these are anyway improvements and
will only make things better.
2024-07-26 21:21:48 +05:30
Manav Rathi
90cd6502c1 [desktop] Attempts to improve large drag drops on Windows
Trying to diagnose a customer issue where they reported that the renderer was
crashing when trying to drag and drop a 1TB folder on Windows. Fixing some
things that popped out in the memory allocations or the CPU time when testing
with a synthetic workflow (on macOS) - these may or may not fix their issue, but
these are anyway improvements and will only make things better.
2024-07-26 21:18:17 +05:30
laurenspriem
3cc05d5c42 [mob][photos] Fix in isolate message 2024-07-26 17:39:34 +02:00
laurenspriem
e205b07e60 [mob][photos] Remove comments 2024-07-26 17:31:03 +02:00
ashilkn
b2103e3893 [mob][photos] Update subscription page colors 2024-07-26 20:09:02 +05:30
ashilkn
6d5af2e6a5 [mob][photos] Update colors and text style 2024-07-26 19:43:25 +05:30
ashilkn
ef1429685b [mob][photos] Make subscription toggle work 2024-07-26 19:19:42 +05:30
ashilkn
fc93deb575 [mob][photos] Create new subscription toggle 2024-07-26 18:50:11 +05:30
Aman Raj Singh Mourya
8bbef91103 [mob][photos] Add preview to the album link 2024-07-26 18:02:17 +05:30
laurenspriem
2a04af9be0 [mob][photos] Inline 2024-07-26 13:59:58 +02:00
laurenspriem
b625bd1afc [mob][photos] Simplify face embedding service 2024-07-26 13:56:45 +02:00
laurenspriem
166bcf7986 [mob][photos] Simplify face detection 2024-07-26 13:53:21 +02:00
laurenspriem
3abf215f8c [mob][photos] Simplify ClipImage 2024-07-26 13:47:48 +02:00
laurenspriem
cf8b9e4365 [mob][photos] Simplify 2024-07-26 13:41:45 +02:00
laurenspriem
627ec5f2a6 [mob][photos] Rename 2024-07-26 13:34:53 +02:00
laurenspriem
f488eb35e2 [mob][photos] Delay loading ClipText 2024-07-26 13:27:36 +02:00
laurenspriem
70bc65fc25 [mob][photos] Rename 2024-07-26 13:10:04 +02:00
laurenspriem
e19f3ec992 [mob][photos] Merge issues 2024-07-26 13:02:58 +02:00
laurenspriem
1d0cf3875f [mob][photos] Make sure models are downloaded 2024-07-26 12:59:18 +02:00
Manav Rathi
7f357d0f65 lint 2024-07-26 16:11:06 +05:30
ashilkn
87e3aa4d11 [mob][photos] Redesign header widget of subscription page 2024-07-26 16:09:35 +05:30
Manav Rathi
6c7f8e5fae Mention we're ignoring NaNs too 2024-07-26 15:25:17 +05:30
Manav Rathi
b637f2fe08 Handle exif subsecs 2024-07-26 15:15:32 +05:30
laurenspriem
739235836e [mob][photos] Resolve merge errors 2024-07-26 11:39:22 +02:00
laurenspriem
892e50b358 [mob][photos] Translations 2024-07-26 11:34:21 +02:00
Manav Rathi
5995730659 Rearrange 2024-07-26 14:54:51 +05:30
Manav Rathi
689d3c4c82 New lib works in more cases than before 2024-07-26 14:46:52 +05:30
Manav Rathi
d9a8eafbe3 Tweak 2024-07-26 14:29:56 +05:30
Manav Rathi
e14e06dc1a Handle errors 2024-07-26 14:22:09 +05:30
Manav Rathi
ce4063c892 There is always some data (from the image itself e.g.) 2024-07-26 13:33:48 +05:30
ashilkn
f01b3b9def [mob][photos] Redesign app bar of subscription screen 2024-07-26 13:29:33 +05:30
Manav Rathi
8cde630e01 Tweaks 2024-07-26 13:09:39 +05:30
Manav Rathi
55a86cc85c Test 1 2024-07-26 13:04:20 +05:30
Manav Rathi
8bf88c2059 Full listing 2024-07-26 12:51:47 +05:30
ashilkn
af42c42141 [mob][photos] Make borders, bg color, stroke color and padding same as design on SubscriptionPlanWidget 2024-07-26 12:49:07 +05:30
Manav Rathi
0d01ed5c00 Full listing 2024-07-26 12:38:50 +05:30
ashilkn
3edc323272 [mob][photos] Redesign and change logic in SubscriptionPlanWidget to match new design 2024-07-26 12:20:39 +05:30
Manav Rathi
f6c8e13816 Update wip 2024-07-26 12:07:59 +05:30
Manav Rathi
beace4cbde Parse wip 2024-07-26 11:57:46 +05:30
Manav Rathi
bac49c7058 Ontology wip 2024-07-26 11:03:18 +05:30
Manav Rathi
76faf4c1d7 Use raw exif - wip 1 2024-07-26 09:42:57 +05:30
laurenspriem
1e76a581d4 Merge remote-tracking branch 'origin/clip_face_integration' into clip_face_integration 2024-07-25 23:58:14 +02:00
laurenspriem
14451d522e [mob][photos] Simplify 2024-07-25 23:34:33 +02:00
laurenspriem
533d5dfa88 [mob][photos] Use quantized text model 2024-07-25 23:31:34 +02:00
laurenspriem
a5b47f16a9 [mob][photos] Separate out tokenizer init 2024-07-25 23:28:17 +02:00
laurenspriem
18a5f4d212 [mob][photos] Clip text inference 2024-07-25 22:49:59 +02:00
laurenspriem
c26a603901 [mob][photos] Make bool public 2024-07-25 22:43:40 +02:00
laurenspriem
91789f7ece [mob][photos] Tiny change 2024-07-25 22:34:28 +02:00
laurenspriem
1e695ffd84 [mob][photos] Make sure ClipText is loaded 2024-07-25 22:32:16 +02:00
laurenspriem
e65a36d5c7 [mob][photos] Never dispose MLComputer 2024-07-25 22:02:39 +02:00
laurenspriem
de5fd245ef [mob][photos] Rename to MLComputer 2024-07-25 21:54:31 +02:00
laurenspriem
00beadbc01 [mob][photos] Rename to MLIndexingIsolate 2024-07-25 21:50:56 +02:00
laurenspriem
d30c04cc55 [mob][photos] Make releasing indexing model automatic 2024-07-25 21:48:55 +02:00
laurenspriem
16e611b948 [mob][photos] Release implementation in PlatformPlugin 2024-07-25 21:45:41 +02:00
laurenspriem
d3e965fbb7 [mob][photos] Release indexing models 2024-07-25 21:43:47 +02:00
laurenspriem
8d9b5a8ea0 [mob][photos] ONNX Env FFI 2024-07-25 21:11:39 +02:00
laurenspriem
41aaf4a2db [mob][photos] Change name 2024-07-25 21:03:43 +02:00
laurenspriem
e3908f3f2c [mob][photos] Minor change 2024-07-25 17:55:49 +02:00
laurenspriem
cdcc349157 [mob][photos] Abstract choice of onnx package 2024-07-25 17:54:18 +02:00
laurenspriem
ea5eef0f2f [mob][photos] Use correct session 2024-07-25 17:51:31 +02:00
laurenspriem
cfd5c22649 [mob][photos] Load models in isolate 2024-07-25 17:46:38 +02:00
Manav Rathi
47ded8b302 Dates 2024-07-25 21:07:18 +05:30
Manav Rathi
1501e055a9 Rename 2024-07-25 20:56:25 +05:30
Manav Rathi
2cb9c915aa Narrow down scope: index => extract raw exif 2024-07-25 20:49:36 +05:30
Ashil
8072b2943a [mob][photos] Improve UX on "Create new account" screen (#2548)
## Description

Since the app doesn't let a user create an account with a weak password
and since isn't clear for the user how the app classifies a password as
"Weak", "Moderate" or "Strong", users would find it hard to come up with
a moderate or strong password. Also, the app wasn't surfacing the
strength every time.

All these UX issues have been fixed in this PR. 
 
Before: 


https://github.com/user-attachments/assets/c9630c44-4591-4bdd-a05d-8098ff5afef8

After:


https://github.com/user-attachments/assets/a9c1abfa-de1e-44c6-9f7e-157abe4f8de3


## Tests

Tested new account creation flow, did not find any regressions and can't
think of any that could have been introduced.
2024-07-25 19:51:57 +05:30
Manav Rathi
b4ea15f00b Tweak the debug logging 2024-07-25 19:02:32 +05:30
laurenspriem
06a093de81 [mob][photos] Run clip text in separate isolate 2024-07-25 13:08:26 +02:00
Manav Rathi
191f1fd097 creationTime will always be present 2024-07-25 15:51:46 +05:30
ashilkn
fb25888129 [mob][photos] Release resources in dispose() and increase tap area of password strength info 2024-07-25 15:08:24 +05:30
Vishnu Mohandas
f0d5c7d51f Add breakdown of AppStore's privacy disclosure (#2549) 2024-07-25 15:06:39 +05:30
vishnukvmd
d5b59765aa Add breakdown of AppStore's privacy disclosure 2024-07-25 15:05:51 +05:30
ashilkn
d847141eb7 [mob][photos] Extract string 2024-07-25 13:43:04 +05:30
ashilkn
5d417f3825 [mob][photos] Give info to user how password strength is calculated in 'Create new account' screen 2024-07-25 13:40:51 +05:30
ashilkn
422a36319e [mob][photos] Create reuseble infoDialog 2024-07-25 13:36:07 +05:30
Aman Raj Singh Mourya
10e19ffae2 [mob][auth] Minor UI changes 2024-07-25 13:22:06 +05:30
Aman Raj Singh Mourya
28b9d5512f [mob][auth] Add animation when toggling app lock 2024-07-25 13:19:19 +05:30
ashilkn
939363fd7a [mob][photos] Always show password strength when needed in create new account screen 2024-07-25 12:55:26 +05:30
Neeraj Gupta
584db778ee [server] Add person_v2 entity type 2024-07-25 11:51:29 +05:30
Neeraj Gupta
336aa7ac5f [server] Make linter happy 2024-07-25 11:47:06 +05:30
Neeraj Gupta
4bcec9d43b [server] Temporarily disable fetch from Wasabi (#2544)
## Description

## Tests
2024-07-25 11:41:18 +05:30
Ashil
e5239e588b [mob][photos] Reorder security section in settings for consistent UI (#2538) 2024-07-25 11:40:55 +05:30
Neeraj Gupta
553c153155 [server] Temporarily disable fetch from Wasabi 2024-07-25 11:39:19 +05:30
Manav Rathi
a4a4b7f941 debug logging 2024-07-25 09:51:50 +05:30
Manav Rathi
89a8a45935 [web] Exif - New library migration - Part 4/x (#2542) 2024-07-24 21:05:33 +05:30
Manav Rathi
adf68a82c5 Add some debugging code 2024-07-24 21:00:51 +05:30
Manav Rathi
0d313825d6 debug logging 2024-07-24 20:46:37 +05:30
Manav Rathi
218a5ce5f9 Tie together 2024-07-24 20:42:49 +05:30
laurenspriem
b506043b2c [mob][photos] Add todo 2024-07-24 17:11:35 +02:00
Manav Rathi
719f056841 Interface 2024-07-24 20:28:03 +05:30
laurenspriem
2df64627a6 [mob][photos] Init client exactly once 2024-07-24 16:57:18 +02:00
Manav Rathi
c835984e40 Single date 2024-07-24 20:08:08 +05:30
Manav Rathi
5a36e37e93 Fuse 2024-07-24 19:54:39 +05:30
laurenspriem
00c4b7caa8 [mob][photos] Simplify functions in Isolate 2024-07-24 16:23:31 +02:00
Manav Rathi
16ec4db546 Use 2024-07-24 19:41:31 +05:30
Manav Rathi
ae0b701319 Parse IPTC dates 2024-07-24 19:29:04 +05:30
laurenspriem
6880139888 [mob][photos] Separate ML Isolate 2024-07-24 15:53:26 +02:00
ashilkn
31043f5f4e [mob][photos] Reorder security section in settings for consistent UI 2024-07-24 18:59:12 +05:30
Manav Rathi
4e29f1e03a Return pairs 2024-07-24 18:44:52 +05:30
ashilkn
dafa155903 Revert "[mob][photos] Fix internal release workflow failing"
This reverts commit 5764734f14.
2024-07-24 18:37:26 +05:30
Ashil
f3a69b0d0b [mob][photos] Fix internal release workflow failing (#2537)
To fix
`Changes cannot be sent for review automatically. Please set the query
parameter changesNotSentForReview to true. Once committed, the changes
in this edit can be sent for review from the Google Play Console UI.`
2024-07-24 18:23:53 +05:30
ashilkn
5764734f14 [mob][photos] Fix internal release workflow failing 2024-07-24 18:18:36 +05:30
ashilkn
2be4c7e470 [mob][photos] Minor UI changes 2024-07-24 17:52:44 +05:30
ashilkn
87ed684ce9 [mob][photos] Add animation when toggling app lock 2024-07-24 17:46:48 +05:30
Neeraj Gupta
fcd1ec3b05 [mob] Download models before interence 2024-07-24 17:28:45 +05:30
Aman Raj Singh Mourya
3fd7100dd7 [mob][auth] Used better names 2024-07-24 17:26:49 +05:30
ashilkn
1545f75217 [mob][photos] Bump up to v0.9.15 2024-07-24 17:26:01 +05:30
Ashil
816061774e [mob][photos] Show app content (#2522)
**Toggle Implementation:** Added a new feature in the app settings to
enable or disable the visibility of app content in app switcher mode.
2024-07-24 17:20:26 +05:30
ashilkn
4451d39ac9 [mob][photos] Revert change to remove bug 2024-07-24 17:15:28 +05:30
ashilkn
12fbc6c801 [mob][photos] Use better names 2024-07-24 17:11:51 +05:30
Aman Raj Singh Mourya
386a2f841e [mob][auth] Extracted strings 2024-07-24 16:35:47 +05:30
Aman Raj Singh Mourya
275e521c40 [mob][auth] Fixes 2024-07-24 16:12:31 +05:30
Neeraj Gupta
e6e9948fd8 [mob] Avoid building fileSelection when no file is selected 2024-07-24 16:12:19 +05:30
ashilkn
2f6530d6d6 [mob][photos] Add comment for context 2024-07-24 16:02:25 +05:30
ashilkn
40f0829f6b [mob][photos] Make code better readable 2024-07-24 16:00:18 +05:30
laurenspriem
37285a087a [mob][photos] Simplify tokenizer path 2024-07-24 12:21:36 +02:00
laurenspriem
3a3cb016ed [mob][photos] Run clip text in ML isolate 2024-07-24 12:16:24 +02:00
Manav Rathi
cb0be8a624 [web] Exif - New library migration - Part 3/x (#2534) 2024-07-24 15:36:38 +05:30
Manav Rathi
3da9361271 Make the linter happy 2024-07-24 15:32:18 +05:30
Neeraj Gupta
90a1481cdf [mob] refactor 2024-07-24 15:31:39 +05:30
Neeraj Gupta
aab6bb47b1 [server] Add new type for derived data (#2533)
## Description

## Tests
Tested locally, both DB insertion & value for client.
2024-07-24 15:27:33 +05:30
Manav Rathi
65863d1b8f Match the current order 2024-07-24 15:26:30 +05:30
Neeraj Gupta
07b4deba2e [mob] inline 2024-07-24 15:24:11 +05:30
Neeraj Gupta
0afddd6949 [mob] inline 2024-07-24 15:21:34 +05:30
Neeraj Gupta
ea4ab9d4cd [mob] rename 2024-07-24 15:19:20 +05:30
Manav Rathi
7b80c5bf77 Do it as per the XMP spec
This is the format I've seen in all the XMP files I've encountered so far too
(not relying on this evidence, just that it corroborates what the spec says).

The wording in the exiftool spec was confusing, I now think what it means is
that _exiftool_ will use that format, not XMP.
2024-07-24 15:18:40 +05:30
Neeraj Gupta
6b026678a3 [mob] Update model name for derived data 2024-07-24 15:05:19 +05:30
Neeraj Gupta
626bc71b25 [server] Use req header for client info 2024-07-24 15:02:28 +05:30
Manav Rathi
1bcf232d25 Split 2024-07-24 14:53:18 +05:30
Aman Raj Singh Mourya
b1907ff091 [mob][photos] Extracted strings 2024-07-24 14:46:15 +05:30
Aman Raj Singh Mourya
940c02bbbc [mob][photos] Merge branch 'main' into show_app_content 2024-07-24 14:31:55 +05:30
Manav Rathi
66ed561d07 ExifReader trims the exif: or tiff: prefix from the XMP tags
12360dd8f3/src/xmp-tags.js (L252)
2024-07-24 14:17:13 +05:30
Neeraj Gupta
66e1062cd3 [server] Add derived model type 2024-07-24 13:56:48 +05:30
Manav Rathi
bd8057ede3 Dimensions 2024-07-24 13:53:23 +05:30
Neeraj Gupta
e134d599b7 [mob] Use stream to optimize processing 2024-07-24 13:45:18 +05:30
Neeraj Gupta
6d7d7b88a6 [mob] iOS build changes 2024-07-24 13:42:04 +05:30
Aman Raj Singh Mourya
9c5d958250 [mob][photos] Minor fixes 2024-07-24 13:35:01 +05:30
Manav Rathi
db52780cee Lat lng 2024-07-24 13:00:01 +05:30
Manav Rathi
0730ba72a6 Build up 2024-07-24 12:54:37 +05:30
Neeraj Gupta
ef372ebfa4 [mob] Modify instruction based on remote response 2024-07-24 12:32:56 +05:30
Manav Rathi
2ff6a2f73c XMP 2024-07-24 12:27:32 +05:30
Manav Rathi
f5f0af2ed8 Rely on the JS parser 2024-07-24 12:08:47 +05:30
Prateek Sunal
4f14fafa34 fix(panorama): update panorama checking mechanism to reduce checks 2024-07-24 11:59:35 +05:30
Manav Rathi
65f2c92d41 Parse 2 2024-07-24 11:56:57 +05:30
Manav Rathi
b37fbab2dc Parse 1 2024-07-24 11:51:02 +05:30
Neeraj Gupta
7c7299aa09 CLI: Allow setting secrets path via env var (#2426)
## Description

Adds a new enviroment variable `ENTE_CLI_SECRETS_PATH`, that allows
specifying the path to a `secrets.txt` like the one used in the
dockerized version. If no path is provided, the old behaviour is
maintained.

The configuration variable and behaviour is analog to the already
present `ENTE_CONFIG_PATH` variable, which allows specifying a
configuration.

This provides a solution for people running without gnome-keyring
(https://github.com/ente-io/ente/issues/722 and
https://github.com/ente-io/ente/issues/1328)
2024-07-24 11:31:41 +05:30
Ashil
005d786535 [mob][photos] Fix appbar getting clipped on custom font and display size on pixel 7 (#2526) 2024-07-24 11:30:48 +05:30
Manav Rathi
f17600a7c8 Separate 2024-07-24 11:27:38 +05:30
Manav Rathi
18ac20fd80 Sketch 2024-07-24 11:26:05 +05:30
Manav Rathi
870697daf8 Outline 2024-07-24 11:09:20 +05:30
Neeraj Gupta
a996ec3ac7 Merge branch 'main' into clip_face_integration 2024-07-24 10:46:44 +05:30
Manav Rathi
ea0cc47c9c Outline 2024-07-24 10:39:37 +05:30
Aman Raj Singh Mourya
869ecb832e [mob][auth] Minor fixes and used better names 2024-07-23 23:30:36 +05:30
Aman Raj Singh Mourya
1e5cbc8422 [mob][photos] Minor changes 2024-07-23 21:59:59 +05:30
Manav Rathi
feeda425a5 [desktop] Further clarify the comment (#2528)
Updates 79fcf18f62
2024-07-23 20:00:45 +05:30
Manav Rathi
7d8961fbc5 [desktop] Further clarify the comment
Updates 79fcf18f62
2024-07-23 19:55:36 +05:30
Manav Rathi
79fcf18f62 [desktop] Fix desktop app direct uploads when self-hosting (#2527)
It seems that Backblaze returns `null` as the ACAO response if the
scheme is not http(s), even if we have set allowedOrigins to "*". The
desktop app has a custom scheme, "ente://app", which is thus causing B2
to return null.

    # Works:
curl -v -X OPTIONS -H 'Origin: http://example.org' -H
'Access-Control-Request-Method: PUT'
'https://xxx.s3.eu-central-003.backblazeb2.com/yyy'

    # Fails:
curl -v -X OPTIONS -H 'Origin: ente://example.org' -H
'Access-Control-Request-Method: PUT'
'https://xxx.s3.eu-central-003.backblazeb2.com/yyy'

Ref:
https://github.com/ente-io/ente/discussions/2461#discussioncomment-10125881
2024-07-23 19:47:28 +05:30
Manav Rathi
7f28d2bfe9 [desktop] Fix desktop app direct uploads when self-hosting
It seems that Backblaze returns `null` as the ACAO response if the scheme is not
http(s), even if we have set allowedOrigins to "*". The desktop app has a custom
scheme, "ente://app", which is thus causing B2 to return null.

    # Works:
    curl -v -X OPTIONS -H 'Origin: http://example.org' -H 'Access-Control-Request-Method: PUT' 'https://xxx.s3.eu-central-003.backblazeb2.com/yyy'

    # Fails:
    curl -v -X OPTIONS -H 'Origin: ente://example.org' -H 'Access-Control-Request-Method: PUT' 'https://xxx.s3.eu-central-003.backblazeb2.com/yyy'

Ref: https://github.com/ente-io/ente/discussions/2461#discussioncomment-10125881
2024-07-23 19:44:34 +05:30
ashilkn
dbed9fb91c [mob][photos] Fix appbar getting clipped on custom font and display size on pixel 7 2024-07-23 18:45:12 +05:30
ashilkn
a73de2848e [mob][auth] Remove unused import 2024-07-23 17:19:04 +05:30
ashilkn
875b079850 [mob] Minor refactor 2024-07-23 17:17:04 +05:30
ashilkn
47203af4ff [mob][auth] Bump up pinput 2024-07-23 17:13:30 +05:30
ashilkn
8a35b71bb8 [mob][auth] Extract strings 2024-07-23 17:12:58 +05:30
Neeraj Gupta
ef022be4ef [mob] Simplify APIs for compress -> encrypt & vice versa (#2524)
## Description

## Tests
2024-07-23 16:26:51 +05:30
Manav Rathi
3e02c748ce Delete the raw xmp 2024-07-23 16:20:53 +05:30
Neeraj Gupta
4a1cb3a732 [mob] Refactor to simplify gzip/unzip enc 2024-07-23 16:18:45 +05:30
Manav Rathi
4b7fe45963 Prune embedded thumbnails and images
Ref:
- https://github.com/mattiasw/ExifReader/issues/108#issuecomment-752422822
2024-07-23 16:15:34 +05:30
Manav Rathi
af66c55444 Determine the flags 2024-07-23 15:58:51 +05:30
ashilkn
439a7771b0 Merge branch 'main' into lockscreen_option_auth 2024-07-23 15:55:35 +05:30
laurenspriem
56b4d3cd46 [mob][photos] Rename for consistency 2024-07-23 11:48:14 +02:00
Manav Rathi
e4a288d6cf Move to separate file 2024-07-23 15:13:35 +05:30
Aman Raj Singh Mourya
39a693edac [mob][photos] Quick fixes 2024-07-23 15:04:19 +05:30
laurenspriem
b8ccc74dac [mob][photos] Simplify 2024-07-23 11:33:06 +02:00
laurenspriem
8106b17442 [mob][photos] Fix text tokenizer 2024-07-23 11:31:57 +02:00
Neeraj Gupta
8283432f7a [mob] Refactor 2024-07-23 14:21:12 +05:30
Neeraj Gupta
f175033b65 [mob] Put embeddings in same object (#2521)
## Description

## Tests
2024-07-23 14:14:12 +05:30
Neeraj Gupta
af95421b3a Refactor 2024-07-23 14:09:22 +05:30
Aman Raj Singh Mourya
57ec8771fb [mob][photos] Show app content fixes 2024-07-23 14:05:57 +05:30
Neeraj Gupta
7bf0b398ab [mob] clean up 2024-07-23 13:55:27 +05:30
Neeraj Gupta
7ec5d8455f Merge branch 'clip_face_integration' into ml_combined 2024-07-23 13:54:22 +05:30
Neeraj Gupta
1524d2b246 [mob] Remove unused field 2024-07-23 13:47:33 +05:30
Neeraj Gupta
bfc67d741d [mob] Zip embeddings 2024-07-23 13:32:06 +05:30
Ashil
088b4b9cff [mob][photos] Animate visibility toggling of appbar and bottom bar when toggling swipe lock (#2520) 2024-07-23 11:57:01 +05:30
ashilkn
6cb5c06ea8 [mob][photos] Animate visibility toggling of appbar and bottom bar when toggling swipe lock 2024-07-23 11:49:05 +05:30
Manav Rathi
cfb8c6a192 [docs] Mention mobile app for iCloud imports (#2519) 2024-07-23 10:52:53 +05:30
Manav Rathi
e7a399ff48 [docs] Mention mobile app for iCloud imports 2024-07-23 10:50:22 +05:30
Manav Rathi
7364b4f3ef [web] Exif improvements - Part 2/x (#2516)
Refs:
-
https://photo.stackexchange.com/questions/130570/can-i-assume-the-datetimeoriginal-of-an-image-without-an-offsettimeoriginal-is-a
2024-07-22 21:30:44 +05:30
Manav Rathi
339182b73f [web] Exif improvments
Refs:
- https://photo.stackexchange.com/questions/130570/can-i-assume-the-datetimeoriginal-of-an-image-without-an-offsettimeoriginal-is-a
2024-07-22 21:27:57 +05:30
Manav Rathi
6a9befd566 [web] Exif write-back improvements (#2515) 2024-07-22 21:04:32 +05:30
Manav Rathi
fc03d2196d Tell eslint that we want the ? 2024-07-22 21:01:36 +05:30
Manav Rathi
3ff3841565 zero pad 2024-07-22 20:48:40 +05:30
Aman Raj Singh Mourya
5c28780bc0 [mob][photos] Add Swipe Restriction and Authentication for Media Files (#2502)
This PR introduces a feature to lock individual media files (photos,
live photos, and videos) in the gallery.
This feature ensures that sensitive content remains protected,
especially when the device is handed to others.

Key aspects include:
- **Locking Mechanism:** Users can lock a media file, which hides all
other options and restricts access when the device is handed to others..
- **Authentication:** To view other files, users must authenticate via
the device's lock screen or a custom app PIN/pattern.
- **Swipe Restriction:** Swiping to navigate other files triggers an
authentication prompt to ensure secure access.
2024-07-22 19:50:00 +05:30
Manav Rathi
6e37a78d54 [docs] Document the Google Takeout Intel macOS video thumbnail scenario (#2514)
Ref:
- https://github.com/ente-io/ente/issues/2189#issuecomment-2184095189
- https://discord.com/channels/948937918347608085/1254116633237127198
2024-07-22 19:29:34 +05:30
Manav Rathi
d20e880bed Add doc note 2024-07-22 19:23:22 +05:30
Manav Rathi
2568e4cbb4 Document the case from user logs
[rndr] [error] Native thumbnail generation failed: Error: Error invoking remote method 'ffmpegExec': Error: Command failed: '/Applications/ente.app/Contents/Resources/app.asar.unpacked/node_modules/ffmpeg-static/ffmpeg' -i /var/folders/61/8lm3qh2s1vx9905_jkvgcsqh0000gn/T/ente/9P6wsR5mPA -ss '00:00:00' -vframes 1 -vf 'scale=-1:720' '/var/folders/61/8lm3qh2s1vx9
905_jkvgcsqh0000gn/T/ente/wvkVRFNgpy.jpeg'

    /bin/sh: /Applications/ente.app/Contents/Resources/app.asar.unpacked/node_modules/ffmpeg-static/ffmpeg: Bad CPU type in executable

    [rndr] [warn] Not using browser based thumbnail generation fallback for video at path takeout-xxx.zip,Takeout/yyy.mp4
2024-07-22 19:05:41 +05:30
ashilkn
4cfc38c4db [mob][photos] Resolve merge conflicts and merge main 2024-07-22 17:12:06 +05:30
ashilkn
27cd567225 [mob][photos] Remove unused translations 2024-07-22 16:49:34 +05:30
Neeraj Gupta
cdbf8c5f09 [server] Use regular go context in repo (#2512)
## Description

## Tests
2024-07-22 16:32:39 +05:30
Aman Raj Singh Mourya
e0beb414f9 [mob][auth] Removed app lock subtitle from the setting_section_widget 2024-07-22 16:32:34 +05:30
Neeraj Gupta
f35d2773aa [server]Use regular go context in repo 2024-07-22 16:29:20 +05:30
Aman Raj Singh Mourya
78306ccf1d [mob][auth] Implemented logic for show app content 2024-07-22 16:27:12 +05:30
ashilkn
310e20598e [mob][photos] Extract strings 2024-07-22 16:24:55 +05:30
Neeraj Gupta
c5731e8894 [server] Add API to return indexed files for given model (#2511)
## Description
Planning to consume this API on mobile to fetch already indexed files 

## Tests
Tested locally
2024-07-22 16:19:51 +05:30
Neeraj Gupta
40a4f783f7 [server] Add API to return indexed files for given model 2024-07-22 16:15:25 +05:30
Ashil
6afd47ce3c Autolock options implemented (#2420) 2024-07-22 15:42:37 +05:30
Aman Raj Singh Mourya
972b7b82dd [mob][photos] Quick fixes and fallback when no system lock found 2024-07-22 15:28:09 +05:30
Manav Rathi
19e7c2d65c Fix 2024-07-22 15:25:53 +05:30
Manav Rathi
cff6570ebb Move to a layer that should be dealing with the piexifjs internals 2024-07-22 15:23:37 +05:30
Manav Rathi
3b1fd78fbe Selective handling 2024-07-22 15:21:35 +05:30
Manav Rathi
ca8ae8c6e7 Fix the fallback 2024-07-22 15:16:58 +05:30
Manav Rathi
09036bb57f Move the catch up 2024-07-22 15:02:36 +05:30
Aman Raj Singh Mourya
e3e58eb9c2 [mob][auth] Show app content option added 2024-07-22 14:58:03 +05:30
Manav Rathi
9e81591c63 Rearrange 2024-07-22 14:52:16 +05:30
Manav Rathi
fda6f68688 The default type deduced by tsc from the JS works
This file was apparently never in use (its extension was not .d.ts).
2024-07-22 14:43:11 +05:30
Manav Rathi
bd2e8bb728 Rename 2024-07-22 14:42:44 +05:30
Neeraj Gupta
5a003b6d5c [mob] Refactor 2024-07-22 14:38:43 +05:30
Neeraj Gupta
b406f0c0d8 [mob] Store remote clip and face embeddings 2024-07-22 14:30:27 +05:30
Manav Rathi
c918a796af Add types 2024-07-22 14:27:02 +05:30
ashilkn
85413e6269 [mob][photos] Resolve merge conflicts and merge main 2024-07-22 14:23:01 +05:30
ashilkn
87bd90870b [mob][photos] Extract strings 2024-07-22 14:18:28 +05:30
Manav Rathi
67d1d6c597 Move 2024-07-22 13:57:59 +05:30
Neeraj Gupta
9b5d6cd5a1 [mob] Refactor 2024-07-22 13:55:10 +05:30
Manav Rathi
d59e50ff93 Mention why 2024-07-22 13:52:54 +05:30
Manav Rathi
c92e08c8d4 Rewrite
to the same result
2024-07-22 13:43:53 +05:30
Manav Rathi
67df790d28 Shorten
We don't have a CSP yet (it is report only, and there we already allow data:)

Ref:
- https://stackoverflow.com/questions/12168909/blob-from-dataurl
2024-07-22 12:09:50 +05:30
Manav Rathi
34e13caa77 Doc 2024-07-22 11:55:16 +05:30
Manav Rathi
5a79658e58 Tweak 2024-07-22 11:39:59 +05:30
Neeraj Gupta
6654b24da9 [mob] Remove unused Embedding store 2024-07-22 11:38:05 +05:30
Manav Rathi
f97d5b19d9 Inline
I did try and search both in git history and on the internet if caching the
FileReader itself has any performance benefits, but I didn't find anything.
2024-07-22 11:37:44 +05:30
Neeraj Gupta
68d10be79e [mob] Add new table for clip embedding 2024-07-22 11:36:31 +05:30
Neeraj Gupta
1972239bb0 [auth] New translations (#2508)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-07-22 10:23:58 +05:30
Neeraj Gupta
1da1aee845 [mobile] New translations (#2507)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-07-22 10:23:05 +05:30
Manav Rathi
d4accf09f9 [web] New translations (#2506)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-22 09:57:31 +05:30
Crowdin Bot
e1dac063f6 New Crowdin translations by GitHub Action 2024-07-22 01:16:50 +00:00
Crowdin Bot
3954464648 New Crowdin translations by GitHub Action 2024-07-22 01:04:08 +00:00
Crowdin Bot
068b5e6dd2 New Crowdin translations by GitHub Action 2024-07-22 00:32:01 +00:00
Aman Raj Singh Mourya
3fbe161576 [mob][photos] Fixes 2024-07-21 23:46:11 +05:30
Aman Raj Singh Mourya
1381cfc6e4 [mob][photos] Used privacy_screen instead of secure_app_switcher to hide app content 2024-07-21 23:44:55 +05:30
Manav Rathi
ab3bb113ea [web] Dialog related refactoring (#2503) 2024-07-20 21:25:07 +05:30
Manav Rathi
92fae72760 Move and merge 2024-07-20 21:13:26 +05:30
Manav Rathi
4834cfb3ff Inline 2024-07-20 21:03:22 +05:30
Manav Rathi
542de42875 Remove from context 2024-07-20 20:58:49 +05:30
Manav Rathi
b57c6ba556 Rem unused 2024-07-20 20:56:15 +05:30
Manav Rathi
046275a09c Inline 2024-07-20 20:55:48 +05:30
Manav Rathi
0a3ee6e7bb Remove unused 2024-07-20 20:54:55 +05:30
Manav Rathi
caf6728876 Inline 2024-07-20 20:53:26 +05:30
Manav Rathi
e23bce3537 Inline 2024-07-20 20:52:55 +05:30
Manav Rathi
2adb93fb1b Inline 2024-07-20 20:51:47 +05:30
Manav Rathi
c0b80315ec Remove unused prop 2024-07-20 20:47:46 +05:30
Manav Rathi
4f41a32647 More 2024-07-20 20:43:22 +05:30
Manav Rathi
eadff3b7b3 More 2024-07-20 20:34:12 +05:30
Manav Rathi
eb8fa6db84 Make the connection explicit 2024-07-20 20:27:47 +05:30
Manav Rathi
8202c9b4d3 Reuse pattern 2024-07-20 20:26:28 +05:30
Manav Rathi
1c0261bc5c Remove default props 2024-07-20 20:13:14 +05:30
Aman Raj Singh Mourya
254fb418ce [mob][photos] Auto lock default time set to 5 seconds 2024-07-20 20:03:56 +05:30
Manav Rathi
e55de904b4 Fix the width restriction when going fullscreen 2024-07-20 19:56:04 +05:30
Manav Rathi
296dc21e88 Systematize 2024-07-20 19:14:28 +05:30
ashilkn
73b57ffb34 Merge branch 'main' into autolock_options 2024-07-20 18:27:13 +05:30
Aman Raj Singh Mourya
e73bb0d374 [mob][photos] Used PopScope instead of WillPopScope 2024-07-20 17:54:43 +05:30
Aman Raj Singh Mourya
b8cb1332c6 [mob][photos] File lock implemented 2024-07-20 16:16:54 +05:30
Manav Rathi
1cf2b24049 [web] Prominently indicate the enabled state of the continuous export switch (#2501) 2024-07-20 14:35:55 +05:30
Manav Rathi
e7dbbbf74b Tweak 2024-07-20 14:17:26 +05:30
Manav Rathi
d7f96863b2 Remove duplicate 2024-07-20 14:07:19 +05:30
Manav Rathi
22d2f7a520 [web] Prominently indicate the enabled state of the switch
color="accent" was not doing anything, it appeared gray in both enabled and disabled states.
2024-07-20 14:04:52 +05:30
Manav Rathi
e72aa6e7e6 [web] Remove unnecessary eventemitter dependency (#2499) 2024-07-20 13:51:32 +05:30
Manav Rathi
9e83a4de81 [web] Remove unnecessary eventemitter dependency 2024-07-20 13:44:55 +05:30
Manav Rathi
f15851e6de Remove unused code path 2024-07-20 13:44:01 +05:30
Manav Rathi
b0b7ec5347 Direct 2024-07-20 13:41:08 +05:30
Manav Rathi
5a128f1e48 [web] New translations (#2498)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-20 13:02:57 +05:30
Crowdin Bot
77de820c45 New Crowdin translations by GitHub Action 2024-07-20 07:32:19 +00:00
Manav Rathi
16acbc6dfa [web] Translation improvements (#2497) 2024-07-20 12:28:13 +05:30
Manav Rathi
11f127781f Remove unnecessary space 2024-07-20 12:19:21 +05:30
Manav Rathi
8c32a25a6e Rename 2024-07-20 12:17:46 +05:30
Manav Rathi
9aec0903cf Rename 2024-07-20 12:15:36 +05:30
Manav Rathi
d2aeb3101c EXIF => Exif
The standard uses "Exif"
2024-07-20 12:12:22 +05:30
Manav Rathi
a4142ff800 Rename 2024-07-20 12:08:51 +05:30
Manav Rathi
122e3bb5f8 Move 2024-07-20 12:06:43 +05:30
Manav Rathi
a7d93861b6 Move 2024-07-20 12:03:12 +05:30
Manav Rathi
5a48aeb2ab Remove ref of non-existent formatter 2024-07-20 11:33:22 +05:30
Manav Rathi
40c489ebf0 Rename 2024-07-20 11:32:18 +05:30
Manav Rathi
f388d912f9 Rename 2024-07-20 11:31:08 +05:30
Manav Rathi
df2ae4f60b Move 2024-07-20 11:28:54 +05:30
Manav Rathi
cd67fdbb8b Rename 2024-07-20 11:25:24 +05:30
Manav Rathi
e427e7df13 Move 153m138\nwq 2024-07-20 11:24:27 +05:30
Manav Rathi
23d9e2db45 Rename 2024-07-20 11:17:11 +05:30
Manav Rathi
dd68a0d3de Rename 2024-07-20 11:15:35 +05:30
Manav Rathi
9166c5c80d New convention 2024-07-20 11:14:54 +05:30
Manav Rathi
ffda45faf7 Rename 2024-07-20 11:13:06 +05:30
Manav Rathi
8d9be5b7b7 Rename 2024-07-20 11:12:09 +05:30
Manav Rathi
37f676c0e9 Rename 2024-07-20 11:10:22 +05:30
Manav Rathi
ade3a41fa1 echo '68,70m162\nwq' | ed -s $f
Move chunks using
for f in packages/base/locales/**/translation.json; do echo '68,70m162\nwq' | ed -s $f; done
2024-07-20 11:08:16 +05:30
Manav Rathi
dab0e610db Rename 2024-07-20 10:16:49 +05:30
Manav Rathi
3060916d47 Fix 2024-07-20 10:11:08 +05:30
Manav Rathi
1cf51cb7b3 Use new formatter 2024-07-20 10:11:04 +05:30
Neeraj Gupta
32912be9c2 [mob] Remove embedding store 2024-07-20 00:29:17 +05:30
Neeraj Gupta
39b8223979 [mob] Store face embeddings from remote 2024-07-20 00:04:44 +05:30
Manav Rathi
68de8c9f48 Add a custom cached formatter 2024-07-19 20:59:21 +05:30
atyabbin
3cabafe128 Dashboard with some changes (#2494) 2024-07-19 17:27:23 +05:30
atyabbin
92d4329aac Solved lint issues 2024-07-19 16:51:25 +05:30
atyabbin
9c23020e05 Changed UserComponent.tsx 2024-07-19 16:39:04 +05:30
Neeraj Gupta
6d06c02148 [mob] Fix bug 2024-07-19 16:27:28 +05:30
Neeraj Gupta
506bc852ff [mob] Add try catch around runML 2024-07-19 16:24:45 +05:30
Neeraj Gupta
1e15825617 [mob] Rename method 2024-07-19 16:02:19 +05:30
Neeraj Gupta
0a3c61515f [mob] Always allow running ML on iOS Sim 2024-07-19 16:01:48 +05:30
Manav Rathi
8600400179 [desktop] Extract Exif during indexing - Part 1/x (#2493) 2024-07-19 15:52:03 +05:30
Manav Rathi
bee3875e89 Add note 2024-07-19 15:43:23 +05:30
Manav Rathi
be06e5ae25 lf 2024-07-19 15:34:31 +05:30
Neeraj Gupta
56b019aa1e [mob] Fix text embedding 2024-07-19 15:28:46 +05:30
Manav Rathi
e7c470a9ff Tentative 2024-07-19 15:22:52 +05:30
Manav Rathi
4bdb1c7922 Explore 2024-07-19 15:01:32 +05:30
Neeraj Gupta
f20a337495 Remove clip-ggml dependency 2024-07-19 14:37:34 +05:30
Manav Rathi
9c04c9075e Tie it together 2024-07-19 13:38:15 +05:30
atyabbin
664f89aeec Changes in App.tsx 2024-07-19 13:14:54 +05:30
atyabbin
4c7f2c7c4e Reduced the space between input fields and the tabs section 2024-07-19 13:12:25 +05:30
atyabbin
c387b59c78 Dashboard with the new UI (#2486) 2024-07-19 12:41:31 +05:30
Neeraj Gupta
3881be0ace [mob] bump version: 0.9.14+914 (#2492)
## Description

## Tests
2024-07-19 11:25:51 +05:30
Neeraj Gupta
d1c66dbdcf [mob] bump version: 0.9.14+914 2024-07-19 11:25:29 +05:30
Manav Rathi
8c9195e783 Fix crop 2024-07-19 11:17:22 +05:30
Manav Rathi
1b59a5bf87 Rework lower 2024-07-19 11:11:05 +05:30
Manav Rathi
41851c97be wip scaffold 2024-07-19 10:46:07 +05:30
Manav Rathi
67e41f4bcd wip scaffold 2024-07-19 10:13:43 +05:30
Manav Rathi
941b02f750 (start) Switch to a more maintained library 2024-07-19 09:57:13 +05:30
Manav Rathi
0ace569e97 Start scaffolding 2024-07-19 09:44:27 +05:30
Manav Rathi
b07d82ebc2 Restore developability 2024-07-19 09:27:06 +05:30
Manav Rathi
51f1a88c21 [desktop] Change name of model to disallow even WIP uploads (#2491)
Just in case someone goes out of their way to build from source, enable
the WIP dev flag and upload WIP embeddings.
2024-07-19 06:25:11 +05:30
Manav Rathi
16a11a663e [desktop] Change name of model to disallow even WIP uploads
Just in case someone goes out of their way to build from source, enable the WIP dev flag and upload WIP embeddings.
2024-07-19 06:21:32 +05:30
Aman Raj Singh Mourya
5b3b3b577b [mob][photos] Hide content when app is in background using secure_app_switcher 2024-07-18 23:52:13 +05:30
Manav Rathi
7b0646987b [web] Add a hook for detecting mobile sized screens (#2490) 2024-07-18 21:21:16 +05:30
Manav Rathi
82b12fcb37 Type 2024-07-18 21:18:18 +05:30
Manav Rathi
cf7020ab78 Use prebuilt dialog box 2024-07-18 21:08:25 +05:30
Manav Rathi
5fa65da58e Use 2024-07-18 20:40:41 +05:30
Manav Rathi
471a6eff0d [web] Add a hook for detecting mobile sized screens 2024-07-18 20:31:12 +05:30
Manav Rathi
8ac27aef31 [web] Move @/new/shared into @/base (#2489) 2024-07-18 19:42:34 +05:30
Manav Rathi
6e0cbb2a37 Update ref 2024-07-18 19:35:46 +05:30
Manav Rathi
88e05f63cd Merge @/new/shared into @/base 2024-07-18 19:33:27 +05:30
Manav Rathi
19ccf8a788 Unused 2024-07-18 19:18:30 +05:30
Manav Rathi
21563a62ed Inline 2024-07-18 19:17:09 +05:30
Manav Rathi
3c0d12250e Inline 2024-07-18 19:14:58 +05:30
Manav Rathi
084f4cc055 Unused 2024-07-18 19:09:19 +05:30
Manav Rathi
2071bd07ae 404 2024-07-18 19:06:37 +05:30
laurenspriem
5bc2fd1e1e [mob][photos] Remove ggml plugin 2024-07-18 15:35:40 +02:00
Manav Rathi
7f5dec216d Remove usused 2024-07-18 19:02:14 +05:30
Manav Rathi
88cd8f4349 [web] New translations (#2488)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-18 19:01:40 +05:30
Crowdin Bot
578485d6ce New Crowdin translations by GitHub Action 2024-07-18 13:29:39 +00:00
Manav Rathi
0947c5ebea [web] @/next => @/base (#2487) 2024-07-18 18:58:59 +05:30
Manav Rathi
7d13666a2e @/next => @/base 2024-07-18 18:55:33 +05:30
Manav Rathi
27cc2aee51 Remove unused 2024-07-18 18:46:17 +05:30
atyabbin
371a1805f0 Updated some new components 2024-07-18 18:42:40 +05:30
atyabbin
0c6d27c134 Full dashboard 2024-07-18 17:58:42 +05:30
Neeraj Gupta
10b939e728 [mob] Text embedding changes 2024-07-18 16:50:24 +05:30
Neeraj Gupta
227877bd07 [mob] Add support for Clip text in custom plugin 2024-07-18 16:43:31 +05:30
Manav Rathi
ca61dd5637 [desktop] Include app version in X-Client-Package (#2485) 2024-07-18 15:55:22 +05:30
Manav Rathi
1b039de35d Fix path 2024-07-18 15:49:11 +05:30
Manav Rathi
cc0dea5c34 Use the same source 2024-07-18 15:48:26 +05:30
Manav Rathi
46a12ed698 [desktop] Include app version in X-Client-Package 2024-07-18 15:45:40 +05:30
Manav Rathi
46cbff4018 [desktop] ML new combined format - Part 2/2 (#2484)
Continues (and except minor touchups) and completes
https://github.com/ente-io/ente/pull/2460
2024-07-18 15:31:48 +05:30
Aman Raj Singh Mourya
b114b6674e [mob][photos] Upgrade pinput pakage from 2.0.2 -> 5.0.0 (#2483) 2024-07-18 15:17:26 +05:30
Manav Rathi
53a418c2cd Fix 2024-07-18 15:14:44 +05:30
Aman Raj Singh Mourya
cf7791f9f8 [mob][photos] Upgrade pinput pakage from 2.0.2 -> 5.0.0 2024-07-18 15:13:26 +05:30
Neeraj Gupta
80d021ba90 [mob] Disable panorama for external users (#2482)
## Description

## Tests
2024-07-18 14:49:00 +05:30
Neeraj Gupta
2078e139c1 [mob] Bump version: v0.9.12 2024-07-18 14:44:29 +05:30
Neeraj Gupta
3b10c909b1 [mob][photos] Disable panorama check 2024-07-18 14:44:06 +05:30
Prateek Sunal
0616c12a21 [mobile] add placeholder for favorites slideshow widget (#2481)
## Description


![image](https://github.com/user-attachments/assets/e6865b9d-cbdf-4c45-96f7-97ac2652617c)
2024-07-18 14:40:07 +05:30
Neeraj Gupta
578c8a032f Merge branch 'main' into clip_face_integration 2024-07-18 14:38:13 +05:30
Aman Raj Singh Mourya
e5a5d9c08d [mob][photos] Auto lock time changed 2024-07-18 14:32:49 +05:30
Manav Rathi
ecbed8c02a Prep for merge 2024-07-18 14:23:53 +05:30
Manav Rathi
a9f47fe362 fix: yarn workspace photos run tsc 2024-07-18 14:14:47 +05:30
Prateek Sunal
8b40465a05 feat(homewidget): add placeholder for Favorites slideshow widget 2024-07-18 14:06:27 +05:30
Manav Rathi
33bf7f7754 Cleanup 2024-07-18 14:04:35 +05:30
Manav Rathi
a1cb4ea2e9 Within the same tx 2024-07-18 13:59:57 +05:30
Prateek Sunal
745b0dece0 fix(auth/code): add option to view raw codes in case of parse fail (#2474)
## Description

![Screenshot 2024-07-17
190450](https://github.com/user-attachments/assets/886fc943-8462-48c6-a713-bae7a606f034)



![image](https://github.com/user-attachments/assets/ee750d07-5901-4864-88c9-7166abd9f1d1)


## Tests
2024-07-18 13:33:40 +05:30
Manav Rathi
2d2140eaca Reuse 2024-07-18 13:24:33 +05:30
Manav Rathi
e49ebdfc2e Handle versioning 2024-07-18 13:20:46 +05:30
Manav Rathi
07c2d3cf28 Upsert 2 2024-07-18 13:04:08 +05:30
Neeraj Gupta
ec94b1197c [mob] Panorama state fix (#2480)
## Description

## Tests
2024-07-18 13:00:44 +05:30
Neeraj Gupta
af469ac23b [mob] Panorama state fix 2024-07-18 12:56:21 +05:30
Manav Rathi
df9c153714 Upsert 1 2024-07-18 12:43:19 +05:30
Manav Rathi
6d1e3f99d6 Annotate 2024-07-18 12:29:27 +05:30
Neeraj Gupta
18fd8734a6 [mobile] add panorama viewer (#2362)
## Description

## Tests
2024-07-18 12:21:29 +05:30
Neeraj Gupta
87383ea038 [mob] Bump version 2024-07-18 12:19:38 +05:30
Neeraj Gupta
fdd84b3bc0 [mob] Enable video info for everyone 2024-07-18 12:19:21 +05:30
Manav Rathi
e916694fa6 Raw 2024-07-18 12:12:56 +05:30
Neeraj Gupta
6166aa5e00 -mRefactor 2024-07-18 12:02:04 +05:30
Manav Rathi
a2f719d215 Keep both 2024-07-18 11:55:04 +05:30
Neeraj Gupta
e2fde47c89 refactor 2024-07-18 11:45:20 +05:30
Neeraj Gupta
c3c8881e0c refactor 2024-07-18 11:43:04 +05:30
Neeraj Gupta
87bc359175 Use image w/h props for pano check 2024-07-18 11:40:22 +05:30
Neeraj Gupta
392763a4b0 Add backbutton for pano images 2024-07-18 11:33:35 +05:30
Neeraj Gupta
db27eb718f [ios] build changes 2024-07-18 11:24:22 +05:30
Neeraj Gupta
4faf71b164 Merge branch 'main' into mobile-panorama 2024-07-18 11:14:12 +05:30
Manav Rathi
806a77290e [infra] Metabase update README (#2479) 2024-07-18 10:56:05 +05:30
Manav Rathi
234618e8ae Fix accidentally uncommitted change 2024-07-18 10:55:29 +05:30
Manav Rathi
cdbd79c077 [infra] Import metabase conf (#2478) 2024-07-18 10:16:02 +05:30
Manav Rathi
1115f93086 Add update instructions 2024-07-18 10:09:37 +05:30
Manav Rathi
6d04ed1f8f [infra] Import metabase conf 2024-07-18 09:57:50 +05:30
Prateek Sunal
f2057cbaa8 fix(auth/connectivity): try to fix certificate issue on windows 11 (#2472)
## Description

## Tests
2024-07-17 19:06:42 +05:30
Prateek Sunal
fde8484768 fix(auth/code): add option to view raw codes in case of parse fail 2024-07-17 19:01:41 +05:30
Neeraj Gupta
5dd8c0a292 [mob] Minor UX improvement (#2473)
## Description

## Tests
2024-07-17 17:11:14 +05:30
Neeraj Gupta
3554376152 Improve UI 2024-07-17 16:54:45 +05:30
Prateek Sunal
ad87a08477 fix(auth/connectivity): try to fix certificate issue on windows 11 2024-07-17 16:47:58 +05:30
Neeraj Gupta
6c4a2a9dcd [mob] Enable polish language (#2470)
## Description

## Tests
2024-07-17 16:04:31 +05:30
Neeraj Gupta
2242bdb2f8 fix(auth/import): remove cross button from import page (#2469)
## Description

## Tests
2024-07-17 15:57:43 +05:30
Neeraj Gupta
ddea1fde28 Enable polish 2024-07-17 15:56:49 +05:30
Neeraj Gupta
0ad7636d54 Fix locale 2024-07-17 15:56:38 +05:30
Prateek Sunal
c794eabf23 Merge remote-tracking branch 'origin/main' into auth-fixes 2024-07-17 15:41:40 +05:30
Prateek Sunal
de8a48287b chore(auth): lint fixes 2024-07-17 15:40:21 +05:30
Prateek Sunal
d9471e406c fix(auth/import): remove cross button from import page 2024-07-17 15:38:51 +05:30
Neeraj Gupta
70162c17d1 [mob] Use video probe data for getting location during upload (#2468)
## Description

## Tests
2024-07-17 15:16:09 +05:30
Neeraj Gupta
62f0825522 generated strings 2024-07-17 15:14:09 +05:30
Neeraj Gupta
826e549462 bump version 2024-07-17 15:13:51 +05:30
Neeraj Gupta
dac589b6b8 Backfill video location when fileInfo is viewed 2024-07-17 15:13:35 +05:30
Neeraj Gupta
600cbc15d2 Switch back to new video player 2024-07-17 15:03:48 +05:30
Neeraj Gupta
f33cea212f Use ffprobe for getting video location in Android 2024-07-17 15:01:26 +05:30
Neeraj Gupta
95369097a5 Merge metadata streams 2024-07-17 14:57:54 +05:30
Neeraj Gupta
087e84b7ba Remove border 2024-07-17 14:18:09 +05:30
Neeraj Gupta
7744b8101b Refactor 2024-07-17 14:10:07 +05:30
Neeraj Gupta
5d078b06be [mob] Show video metadata inside fileInfo (#2466)
## Description

## Tests
2024-07-16 18:02:29 +05:30
Neeraj Gupta
24aff0b9c1 bump version 2024-07-16 18:00:19 +05:30
Neeraj Gupta
fd001a9181 Fix lint 2024-07-16 17:59:56 +05:30
Neeraj Gupta
d6a970274c Format fps value 2024-07-16 17:57:02 +05:30
Neeraj Gupta
428b3e2cd6 Enable drag to close 2024-07-16 17:49:49 +05:30
atyabbin
bd3e0c9289 Deleted Sidbar.tsx 2024-07-16 17:47:11 +05:30
Neeraj Gupta
1c5154ac26 Show dims and fps in the video info dialog 2024-07-16 17:47:10 +05:30
Neeraj Gupta
2b7dc88281 iOS build changes 2024-07-16 17:39:02 +05:30
Neeraj Gupta
95c92b0572 Show fps, bitrate and dim for video 2024-07-16 17:38:52 +05:30
Neeraj Gupta
c28b4934c4 Parse make, model and location for iPhone Videos 2024-07-16 16:52:55 +05:30
Manav Rathi
7af91eeada fetch 2024-07-16 16:33:29 +05:30
atyabbin
827ac9ddf7 Dashboard with imporved UI 2024-07-16 16:21:59 +05:30
Manav Rathi
5ddf6c98cf nw 2024-07-16 15:56:23 +05:30
Manav Rathi
0c75eb7ff5 Prep 2024-07-16 15:46:11 +05:30
Neeraj Gupta
92b188bc21 Improve UI 2024-07-16 15:44:36 +05:30
Neeraj Gupta
daaa1d7423 Format creation time 2024-07-16 15:35:46 +05:30
Aman Raj Singh Mourya
5f08e44e58 [mob][auth] Auto lock fixes 2024-07-16 15:23:21 +05:30
Manav Rathi
0dc06c430a Prep 2024-07-16 15:17:51 +05:30
Manav Rathi
f6715ad9c2 Start pruning the diff 2024-07-16 15:03:46 +05:30
Manav Rathi
8abd541519 Sketch 2024-07-16 14:52:57 +05:30
Neeraj Gupta
f2ed6802d2 [mob] Rename 2024-07-16 14:48:38 +05:30
Neeraj Gupta
aeeed9cd11 [mob] Rename 2024-07-16 14:45:34 +05:30
Manav Rathi
e7f2ffbc9d Restore width and height
..(discussed)
2024-07-16 14:42:48 +05:30
Neeraj Gupta
e2ef2eacc4 [mob] Display video metadata in file info 2024-07-16 14:12:46 +05:30
Manav Rathi
61b98a9964 Pull out pull 2024-07-16 14:12:13 +05:30
Manav Rathi
3ae6c72332 Convert more 2024-07-16 13:54:49 +05:30
Manav Rathi
900a7942ab Continue 2024-07-16 13:02:12 +05:30
Manav Rathi
2dbfa17a45 Propagate 2024-07-16 12:33:57 +05:30
Manav Rathi
f44a476285 Another way 2024-07-16 12:18:52 +05:30
Manav Rathi
6515d1e750 WIP refactor data structure 2024-07-16 12:12:41 +05:30
Manav Rathi
fd49211a0a gz 2024-07-16 11:24:33 +05:30
Manav Rathi
0840c6146e Scaffold up 2024-07-16 11:03:53 +05:30
Manav Rathi
63ff5ac573 Make space for new format 2024-07-16 10:53:31 +05:30
Manav Rathi
2bf695af48 New 2024-07-16 10:12:23 +05:30
Manav Rathi
02b6dd9ba6 We can destructure arrays into existing lets 2024-07-16 09:50:30 +05:30
Manav Rathi
8a642c40ea Merge steps 2024-07-16 09:47:14 +05:30
Manav Rathi
9dc8a054f8 Fix typo (#2462) 2024-07-15 22:00:35 +05:30
Manav Rathi
c1f4a9f0d6 Fix typo 2024-07-15 21:59:16 +05:30
Ashil
b2e43624ba [mob][photos] Init magic cache service only if internal user (#2445) 2024-07-15 18:23:30 +05:30
Neeraj Gupta
8f5210d0a2 Fix grammar in CLI readme (#2449) 2024-07-15 18:21:29 +05:30
Neeraj Gupta
803e8b3a14 [auth] Add new icons (#2452)
Add Instant Gaming, Teleport and Mistral icons.

<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-07-15 18:21:10 +05:30
Neeraj Gupta
177bab2961 [mobile] New translations (#2454)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-07-15 18:20:34 +05:30
Neeraj Gupta
f2894d1d62 [auth] New translations (#2455)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-07-15 18:20:01 +05:30
Manav Rathi
1a39d2b648 [desktop] ML new derived data format - Part 1/x (#2460) 2024-07-15 16:22:49 +05:30
Manav Rathi
d6908ffda3 Fix 2024-07-15 16:16:17 +05:30
Manav Rathi
73ee6f5284 Mark bad images as failed instead of retrying indefinitely 2024-07-15 16:11:39 +05:30
Aman Raj Singh Mourya
ab9c097a32 [mob][photos] Removed App lock subtitle in Settings 2024-07-15 15:59:52 +05:30
Manav Rathi
32750599b9 Outline 2024-07-15 14:41:39 +05:30
Manav Rathi
e054247359 Rely on ML flag 2024-07-15 14:35:07 +05:30
Manav Rathi
6dca5c2a8b Fix p nesting warning 2024-07-15 14:28:50 +05:30
Manav Rathi
3941c05229 Simplify UI 2024-07-15 14:25:07 +05:30
Manav Rathi
1a61c02602 Simplify 2024-07-15 14:13:53 +05:30
Manav Rathi
bc45261efa Handle the API quirk 2024-07-15 13:35:03 +05:30
Manav Rathi
bd884c9db8 [web] [desktop] Enable Polish translations (#2459)
A big hats off to the person who did 0-99% 🇵🇱 over the weekend!
2024-07-15 12:28:16 +05:30
Aman Raj Singh Mourya
82f3cd19be [mob][photos] Auto lock options fixes 2024-07-15 12:02:54 +05:30
Manav Rathi
326b347bc6 [web] [desktop] Enable Polish translations
A big hats off to the person who did 0-99% over the weekend!
2024-07-15 11:59:40 +05:30
Manav Rathi
03b8b69080 [web] ML related translation fixes (#2458) 2024-07-15 10:38:33 +05:30
Manav Rathi
839a94fcef Fix markup in translations 2024-07-15 10:30:54 +05:30
Manav Rathi
39c600de46 Remove out of date translations that don't reflect source string 2024-07-15 10:29:49 +05:30
Manav Rathi
6226f43b5a Update 2024-07-15 10:28:23 +05:30
Neeraj Gupta
74f4698fd6 [mob] Format brand 2024-07-15 10:21:19 +05:30
Manav Rathi
428288338f Fix casing 2024-07-15 09:59:30 +05:30
Manav Rathi
e254cfd752 Rename 2024-07-15 09:55:44 +05:30
Manav Rathi
c22b7fb218 [web] New translations (#2457)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-15 09:53:46 +05:30
Crowdin Bot
34db62cefa New Crowdin translations by GitHub Action 2024-07-15 04:23:15 +00:00
Manav Rathi
ab7d894ed2 [web] Prune unused translations (#2456)
Reduce work for translators in new languages
2024-07-15 09:52:27 +05:30
Manav Rathi
8c8cff5f80 [web] Prune unused translations
Reduce work for translators in new languages
2024-07-15 09:51:46 +05:30
Manav Rathi
98671760dd [web] New translations (#2453)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-15 09:47:55 +05:30
Crowdin Bot
b7b5977b85 New Crowdin translations by GitHub Action 2024-07-15 01:16:52 +00:00
Crowdin Bot
a3cbfc52c7 New Crowdin translations by GitHub Action 2024-07-15 01:04:12 +00:00
Crowdin Bot
c843656fa3 New Crowdin translations by GitHub Action 2024-07-15 00:31:52 +00:00
Aman Raj Singh Mourya
147be37fdb [mob][auth] Removed dialog box on auto-logout 2024-07-14 22:58:17 +05:30
Eseltwift
a8be3be3b4 Add Instant Gaming, Teleport and Mistral icons. 2024-07-13 22:05:33 +02:00
Manav Rathi
057521e0e4 [desktop] Throttle ML status updates (#2450) 2024-07-13 19:10:55 +05:30
Manav Rathi
86b70ec325 Commentary 2024-07-13 18:13:16 +05:30
Manav Rathi
166474a1b5 Add a throttle 2024-07-13 18:02:06 +05:30
dnred
faee7cc642 fix typo in CLI readme 2024-07-13 13:02:41 +02:00
Manav Rathi
ebe76cbd1b [desktop] Fix yarn dev flakiness when renderer is not ready (#2448) 2024-07-13 15:19:43 +05:30
Manav Rathi
5b23e32c7d Meh 2024-07-13 15:14:47 +05:30
Manav Rathi
a10ca66e57 [desktop] Fix yarn dev flakiness when renderer is not ready
...by the time the main window is ready to open it.
2024-07-13 14:56:09 +05:30
Aman Raj Singh Mourya
9292dc6d04 [mob][auth] Do not show CustomPinKeypad on Desktop 2024-07-13 14:45:45 +05:30
ashilkn
89ff4cf43e [mob][photos] Initialise MagicCacheService only if internal user 2024-07-13 14:26:07 +05:30
Neeraj Gupta
2b08bf8cbf [mob] Use custom onnx plugin (#2419)
## Description

## Tests
2024-07-13 11:55:31 +05:30
Neeraj Gupta
c552ab61f9 [cli] Fix typo with ente account url constant (#2440)
## Description
I noticed there was a typo in the EnteAccountUrl constant for the CLI,
which resulted in an incorrect URL being generated when asking the user
to verify their passkey.

## Tests
I didn't see tests in the project, but I did build the cli project and
manually tested `cli.exe` by adding my ente account and verifying the
URL that's generated is correct now.

```
Nick  ~\..\ente\cli  .\cli.exe account add
Enter app type (default: photos):
Use default app type: photos
Enter export directory: .\
Enter email address: redacted@pm.me
Enter OTP: 123456
Open this url in browser to verify passkey: https://accounts.ente.io/passkeys/verify?redacted
Press enter once you have completed the passkey verification
```
2024-07-13 11:42:24 +05:30
Manav Rathi
f724c998a6 [desktop] Graceful shutdown in dev mode (#2444)
Ref: https://github.com/electron/electron/issues/22048
2024-07-13 11:24:57 +05:30
Manav Rathi
86f79575aa [desktop] Graceful shutdown in dev mode 2024-07-13 11:23:52 +05:30
Manav Rathi
2f2265e85d [desktop] Update deps (#2442)
Notable:

- Electron 30.2.0
  https://github.com/electron/electron/releases
2024-07-13 10:19:26 +05:30
Manav Rathi
2c506c9cc2 npx npm-check-updates --interactive --target greatest 2024-07-13 10:16:54 +05:30
Manav Rathi
4528dc2d2a [desktop] Update deps
- Electron 30.2.0
  https://github.com/electron/electron/releases
2024-07-13 10:11:08 +05:30
Manav Rathi
3e301cabec [desktop] Don't show what's new on fresh installs (#2441)
Also: Stylistic tweaks
2024-07-13 10:00:24 +05:30
Manav Rathi
d72813dd07 Stylistic tweaks 2024-07-13 09:56:11 +05:30
Manav Rathi
6e9dd8d4c8 [desktop] Don't show what's new on fresh installs 2024-07-13 08:56:32 +05:30
Nicholas DiMucci
33dcf48127 Fix typo with ente account url in cli. 2024-07-12 21:05:38 -04:00
Manav Rathi
b525e91aa1 [docs] Mark the desktop custom server option as released (#2439)
+ yarn pretty
2024-07-12 21:41:33 +05:30
Manav Rathi
392ed6e212 yarn pretty 2024-07-12 21:40:49 +05:30
Manav Rathi
653761137a [docs] Mark the desktop custom server option as released 2024-07-12 21:40:07 +05:30
Manav Rathi
ec4644158b [desktop] Fix post release checklist instructions (#2438) 2024-07-12 21:18:54 +05:30
Manav Rathi
a6dda741cb [desktop] Fix post release checklist instructions 2024-07-12 21:17:11 +05:30
Manav Rathi
43fd13c00f [desktop] Start the next release sequence for 1.7.3 (#2437) 2024-07-12 20:50:36 +05:30
Manav Rathi
b0677049cb [desktop] Start the next release sequence for 1.7.3 2024-07-12 20:47:05 +05:30
Prateek Sunal
e0952de376 fix(mobile): update panorama logic 2024-07-12 17:50:07 +05:30
Neeraj Gupta
c941783fd3 [mob] Expose and log video metadata 2024-07-12 17:45:30 +05:30
Manav Rathi
20a8df378c [desktop] Release v1.7.2 (#2434) 2024-07-12 17:12:23 +05:30
Aman Raj Singh Mourya
0ce9ceba12 [mob][auth] Used memLimitInteractive instead of memLimitSensitive to avoid delay 2024-07-12 16:48:33 +05:30
Aman Raj Singh Mourya
fb0d938cb5 [mob][auth] Implemented Pin/Password hashing using ente_crypto 2024-07-12 15:58:23 +05:30
Manav Rathi
d9ec95b8ab photosd-v1.7.2 2024-07-12 15:52:35 +05:30
Manav Rathi
c16b6a7d43 -rc => -beta to be clearer 2024-07-12 15:52:32 +05:30
Neeraj Gupta
d3dccb1bea [mobile] Add FFProbe Metadata (#2054)
## Description

This PR adds support for fetching location and creationTime using
ffprobe (if available).

## Tests
2024-07-12 15:30:50 +05:30
Neeraj Gupta
f115ce4a0d [mob] Fix lint 2024-07-12 15:27:53 +05:30
Neeraj Gupta
7c8febfc1b Merge remote-tracking branch 'origin/main' into mobile-ffprobe 2024-07-12 14:30:54 +05:30
Neeraj Gupta
bffbc6041b [mob] Add missing tr file for Turkish (#2432)
## Description

## Tests
2024-07-12 14:04:41 +05:30
Neeraj Gupta
7640789f08 [mob] Fix dependencies order 2024-07-12 14:04:19 +05:30
Neeraj Gupta
95c04b554c [mob] Add missing tr file for Turkish 2024-07-12 13:59:03 +05:30
Manav Rathi
5e15fccb75 [accounts] Restore the passkey workaround for Safari (#2431)
This restores the workaround I'd removed in
4d84e966b0.

    listItem.transports = ["usb", "nfc", "ble", "internal"];

- This PR should fix the passkey verification on Safari:
https://github.com/ente-io/ente/issues/2406

- Sibling PR that fixes the passkey registration:
https://github.com/ente-io/ente/pull/2429
2024-07-12 13:49:15 +05:30
Manav Rathi
7047383e09 [accounts] Restore the workaround for Safari
This restores the workaround I'd removed in
4d84e966b0.

    listItem.transports = ["usb", "nfc", "ble", "internal"];

- This PR fixes the passkey verification on Safari.

- Sibling PR that fixes the passkey registration: https://github.com/ente-io/ente/pull/2429/files
2024-07-12 13:45:59 +05:30
Manav Rathi
f02bd096b0 [server] Add a workaround for Safari to recognize Yubikeys (#2429)
Safari just doesn't recognize the Yubikey (macOS/iOS, NFC/USB, doesn't
matter) if display name is set to the empty string. Safari's long
description doesn't care to mention this requirement:
https://webkit.org/blog/11312/meet-face-id-and-touch-id-for-the-web/

Tested on localhost with Safari macOS. Will test on iOS post deployment.
2024-07-12 12:57:13 +05:30
Manav Rathi
617ae0701b [server] [cli] Fix docker "FROM AS" case warnings (#2430)
With the latest Docker update (27.0.3), it now warns about the "FROM"
and "AS" in the Dockerfile not matching. E.g. when building the server
docker image:

> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match
(line 1)
2024-07-12 12:56:53 +05:30
Prateek Sunal
7854503661 Merge remote-tracking branch 'origin' into mobile-panorama 2024-07-12 12:06:55 +05:30
Neeraj Gupta
8e136ecdc1 Fix: don't edit location/time in the file object 2024-07-12 12:05:42 +05:30
Prateek Sunal
9ca2e1d91f fix(mobile): compute panorama whenever 2024-07-12 12:04:55 +05:30
Manav Rathi
0ea408379a [server] [cli] Fix docker "FROM AS" case warnings
With the latest Docker update (27.0.3), it now warns about the "FROM" and "AS"
in the Dockerfile not matching. E.g. when building the server docker image:

> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
2024-07-12 11:19:37 +05:30
Manav Rathi
eeab98c768 [server] Add a workaround for Safari to recognize Yubikeys
Safari just doesn't recognize the Yubikey (macOS/iOS, NFC/USB, doesn't matter)
if display name is set to the empty string. Safari's long description doesn't
care to mention this requirement:
https://webkit.org/blog/11312/meet-face-id-and-touch-id-for-the-web/

Tested on localhost with Safari macOS. Will test on iOS post deployment.
2024-07-12 11:10:56 +05:30
Pablo Ovelleiro Corral
97b5577d68 CLI: Allow setting secrets path via env var
Adds a new enviroment variable `ENTE_CLI_SECRETS_PATH`, that allows
specifying the path to a `secrets.txt` like the one used in the
dockerized version. If no path is provided, the old behaviour is maintained.
2024-07-11 18:38:52 +02:00
Manav Rathi
e881c15026 [desktop] Consolidate face and CLIP pipelines - Part 3/3 (#2424)
Continuation, and finalization, of
https://github.com/ente-io/ente/pull/2408

While the integration is complete, there is a server side integration we
still need to do. That in turn will have an impact on the embedding
formats. So for now, disable ML for the beta users too so that we can
put out the regular release that was schedule to go out this week
(otherwise the beta users will end up in a half-way state).
2024-07-11 20:30:05 +05:30
Manav Rathi
21b6316996 Disable ML for everyone while it is WIP
Preparing for merge and the interim release
2024-07-11 20:19:01 +05:30
Manav Rathi
349a5021a5 Debounce never calls the underyling if it keeps getting called within wait 2024-07-11 20:07:31 +05:30
Neeraj Gupta
4aa92ffc43 Merge remote-tracking branch 'origin/main' into mobile-ffprobe 2024-07-11 18:35:06 +05:30
Neeraj Gupta
3f5a8a503b [auth] Fix json (#2423)
## Description

## Tests
2024-07-11 18:34:39 +05:30
Neeraj Gupta
9fe894e368 [auth] Fix json 2024-07-11 18:34:14 +05:30
Ashil
e537ba0a9a [mob][photos] Bump up to v0.9.7 (#2421) 2024-07-11 16:03:18 +05:30
ashilkn
5033ab2fed [mob][photos] bump up to v0.9.7 2024-07-11 16:01:11 +05:30
Ashil
987cc1c520 [mob][photos] Lockscreen Fixes (#2398) 2024-07-11 15:54:37 +05:30
Manav Rathi
4773c7c262 Debounce 2024-07-11 15:16:39 +05:30
Manav Rathi
936e0470e6 Live update 2024-07-11 14:56:55 +05:30
Neeraj Gupta
ecbb71a97b Merge remote-tracking branch 'origin' into mobile-ffprobe 2024-07-11 14:39:57 +05:30
Manav Rathi
544a5a9ccc Use consistent key 2024-07-11 14:39:45 +05:30
Aman Raj Singh Mourya
fd2c22dc5f [mob][photos] Auto lock implemented and UI fixes 2024-07-11 14:32:57 +05:30
Neeraj Gupta
6f98a79cb0 [mob] Clean up 2024-07-11 14:23:04 +05:30
Manav Rathi
fdcc6b6997 Tweak and lint 2024-07-11 14:21:01 +05:30
Manav Rathi
73ad758191 Fix 2024-07-11 14:18:10 +05:30
Neeraj Gupta
2eea98a4df [mob] Lint fixed 2024-07-11 14:15:50 +05:30
Manav Rathi
a3dc691885 Use in search bar 2024-07-11 14:13:58 +05:30
Manav Rathi
b25dbfc10b wip separate flag 2024-07-11 14:02:55 +05:30
Manav Rathi
13c042f692 Remove scaffolding code 2024-07-11 13:53:27 +05:30
Manav Rathi
62e4a6c344 Dot product 2024-07-11 13:50:22 +05:30
Manav Rathi
8dad88eca6 Disable ripples on the background item for toggles 2024-07-11 13:43:04 +05:30
Manav Rathi
6ccb61b425 Enhance 2024-07-11 13:40:57 +05:30
Victor Muthiani
b402c6ae32 [Auth] Add 2 new icons and optimize 2 icons (#2411)
## Description

New icons:
- Deriv
- Airtm

Optimized icons
- Yahoo
- Bitget
2024-07-11 12:43:59 +05:30
Manav Rathi
52251ad654 Improve UI feedback 2024-07-11 12:37:37 +05:30
Manav Rathi
5ff9f408eb Touchups 2024-07-11 12:07:42 +05:30
Manav Rathi
06bf2ddad4 Integrate 2024-07-11 12:00:59 +05:30
Manav Rathi
0214ccf680 Integrate 2024-07-11 11:43:49 +05:30
Manav Rathi
2e1fde906e The type annotation for _mlStatusSnapshot is required 2024-07-11 11:15:53 +05:30
Manav Rathi
df4364525d Hook it up 2024-07-11 11:00:22 +05:30
Manav Rathi
661d0383fb Scaffold 2024-07-11 10:41:37 +05:30
Manav Rathi
6f577d150a wip useSyncExternalStore 2024-07-11 10:37:57 +05:30
Manav Rathi
6086e139e4 Degrade gracefully 2024-07-11 10:06:52 +05:30
Manav Rathi
5fef9b21e5 Template 2024-07-11 10:00:54 +05:30
Manav Rathi
7069e15b79 Duals 2024-07-10 20:49:19 +05:30
Manav Rathi
44e165b8ee Rework 2024-07-10 20:41:07 +05:30
Manav Rathi
b0b82aabd8 Face => ML 2024-07-10 20:03:52 +05:30
Manav Rathi
d043658331 Modify 2024-07-10 19:42:13 +05:30
Manav Rathi
9616640fce Fix p nesting warning 2024-07-10 19:34:46 +05:30
Manav Rathi
10e55b6739 Newer 2024-07-10 19:28:00 +05:30
Manav Rathi
d661f4ac1f Space 2024-07-10 19:14:04 +05:30
Neeraj Gupta
0bd04a0b8d [mob] Select load models 2024-07-10 18:26:43 +05:30
Neeraj Gupta
08f846c315 [mob] Use custom plugin for clip image encoding 2024-07-10 18:22:04 +05:30
Neeraj Gupta
519d7a9a5e [mob] Print logs from MLIsolate 2024-07-10 18:13:37 +05:30
Neeraj Gupta
74a37edaa4 [mob] Improve logs 2024-07-10 18:10:27 +05:30
Manav Rathi
2865b33fc2 lf 2024-07-10 16:01:04 +05:30
Manav Rathi
0f4459112e Context 2024-07-10 15:59:51 +05:30
Manav Rathi
f9b8c5287d Work towards 2024-07-10 15:51:53 +05:30
Manav Rathi
2ac968fdf6 Fixed 2024-07-10 15:34:23 +05:30
Vishnu Mohandas
440f9293d8 Incorporate suggestions (#2414) 2024-07-10 15:26:16 +05:30
vishnukvmd
d1968e46e5 Incorporate suggestions 2024-07-10 15:25:54 +05:30
Manav Rathi
70b74fc285 Continue 2024-07-10 15:08:09 +05:30
Manav Rathi
c92a117e8d [docs] Improve send logs instructions (#2413) 2024-07-10 14:52:34 +05:30
Manav Rathi
d7371392fe [docs] Improve send logs instructions 2024-07-10 14:50:13 +05:30
Manav Rathi
b5972a6395 r4 2024-07-10 14:35:00 +05:30
Manav Rathi
ebfd8909a9 Move to its final place 2024-07-10 14:32:36 +05:30
Neeraj Gupta
c31f573f1a [mob] Remove unused method 2024-07-10 14:32:01 +05:30
Manav Rathi
83d6d99469 r3 2024-07-10 14:32:01 +05:30
Neeraj Gupta
756954ae45 [mob] Catch unexpected error in custom plugin 2024-07-10 14:24:53 +05:30
Neeraj Gupta
1033f26a81 [mob] Switch to custom plugin for face embedding 2024-07-10 14:24:23 +05:30
Manav Rathi
1322e5df79 r2 2024-07-10 14:23:44 +05:30
Manav Rathi
3b951f237f wip refactor 2024-07-10 14:16:28 +05:30
Manav Rathi
162107b3a9 Fix 2024-07-10 13:40:39 +05:30
Manav Rathi
54936303c8 Tweaks 2024-07-10 13:40:11 +05:30
Manav Rathi
8830a60ecf Move up 2024-07-10 13:34:54 +05:30
Manav Rathi
071a63a81c Outer 2024-07-10 13:27:00 +05:30
Aman Raj Singh Mourya
d06586eb1c [mob][auth] Auto lock duration added to the app_lock file 2024-07-10 13:21:52 +05:30
Manav Rathi
aa6e5c9234 Start fixing lint issues 2024-07-10 13:17:50 +05:30
Neeraj Gupta
68e3a36e8e [mob][onnx] remove unused code 2024-07-10 13:05:13 +05:30
Manav Rathi
5c916374f3 Move 2024-07-10 13:04:48 +05:30
Neeraj Gupta
6b78ce715f [mob][onnx] inline const 2024-07-10 13:04:10 +05:30
Manav Rathi
c5cd6cbbca Use new 2024-07-10 13:03:25 +05:30
Neeraj Gupta
234efb63b2 [mob] Refactor 2024-07-10 12:55:13 +05:30
Manav Rathi
cfad9f841e flags 2024-07-10 12:53:06 +05:30
Manav Rathi
6d09d1f9b7 rs 1 2024-07-10 12:39:51 +05:30
Neeraj Gupta
157f7d2dcb Merge branch 'clip_face_integration' into yolo_custom_plugin 2024-07-10 12:33:25 +05:30
Manav Rathi
e1ce2e5e84 Cont 2024-07-10 12:22:45 +05:30
Neeraj Gupta
79eaaf3ec4 Merge branch 'main' into clip_face_integration 2024-07-10 12:08:26 +05:30
Manav Rathi
6f40cbe27e Agenda 2024-07-10 12:08:22 +05:30
Manav Rathi
8e10c8bec6 Move 2024-07-10 11:33:07 +05:30
Manav Rathi
eb271088a4 Move 2024-07-10 11:02:01 +05:30
Manav Rathi
fde6e14440 Move 2024-07-10 11:00:43 +05:30
Manav Rathi
cd433aa39e Move 2024-07-10 10:58:57 +05:30
Manav Rathi
2510226a57 Consolidate 2024-07-10 10:54:27 +05:30
Manav Rathi
ecd4201304 Fix warnings 2024-07-10 10:49:11 +05:30
Manav Rathi
4d11623f77 Fix warnings 2024-07-10 10:47:41 +05:30
Manav Rathi
4519dc94b8 Move 2024-07-10 10:45:40 +05:30
Manav Rathi
57ff75b855 lf 2024-07-10 10:22:50 +05:30
Manav Rathi
d4be782b9c Silence a warning to avoid changing behaviour for now 2024-07-10 10:22:14 +05:30
Manav Rathi
24858ab73b Move 2024-07-10 10:17:44 +05:30
Manav Rathi
99545f0038 [web] Enhance log.debug (#2412) 2024-07-10 09:44:59 +05:30
Manav Rathi
072ee3861b lf 2024-07-10 09:36:34 +05:30
Manav Rathi
881993ed65 Match 2024-07-10 09:32:14 +05:30
Manav Rathi
83516a7f27 More 2024-07-10 09:28:54 +05:30
Aman Raj Singh Mourya
e39ba3c578 [mob][auth] Added Auto lock UI 2024-07-10 00:24:50 +05:30
Aman Raj Singh Mourya
8117a2929c [mob][photos] Used better names 2024-07-10 00:13:10 +05:30
Aman Raj Singh Mourya
5089721507 [mob][photos] Autolock time delay implemented 2024-07-09 23:46:34 +05:30
Manav Rathi
8821372515 [web] Enhance log.debug 2024-07-09 21:30:23 +05:30
Manav Rathi
825a215213 [desktop] Consolidate face and CLIP pipelines - Part 2/x (#2408)
* Continuation of https://github.com/ente-io/ente/pull/2391
* CLIP indexing (and search) is disabled for now until the new format is
finalized
2024-07-09 20:51:20 +05:30
Manav Rathi
be61cd08b8 Prepare for merge to main 2024-07-09 20:38:55 +05:30
Manav Rathi
bab30ec508 lf 2024-07-09 20:35:41 +05:30
Manav Rathi
064af381c5 Move 2024-07-09 19:42:57 +05:30
Manav Rathi
840b415254 Reframe 2024-07-09 19:41:23 +05:30
Manav Rathi
711c858d06 Debug logs 2024-07-09 19:35:43 +05:30
Manav Rathi
4f60cabdd0 math 2024-07-09 19:33:11 +05:30
Neeraj Gupta
02ca6342d2 [mob][droid] Perform detection using ente plugin 2024-07-09 18:29:24 +05:30
Neeraj Gupta
111972e0e6 [mob][droid] Return FloatArray instead of List<double> 2024-07-09 18:07:17 +05:30
Neeraj Gupta
9318182160 [mob][droid] Refactor 2024-07-09 16:41:16 +05:30
Manav Rathi
8fbcef4221 tsc 2024-07-09 16:03:27 +05:30
Manav Rathi
49bfe5aabb Restore search 2024-07-09 15:35:46 +05:30
Manav Rathi
11584ce089 Simplify 2024-07-09 15:34:47 +05:30
Manav Rathi
b8b2d58734 Clip matches 2024-07-09 15:29:34 +05:30
Neeraj Gupta
69923baedd [mob][droid] Clean up 2024-07-09 15:15:41 +05:30
Aman Raj Singh Mourya
4af03ad2dd [mob][photos] Implemented Auto lock options 2024-07-09 15:10:39 +05:30
Manav Rathi
920685e15c lint 2024-07-09 14:56:49 +05:30
Manav Rathi
56fe538f07 Tie 2024-07-09 14:55:27 +05:30
Manav Rathi
942231c521 Prune 2024-07-09 14:45:26 +05:30
Manav Rathi
c5b10b14d1 Desktop changes 2024-07-09 14:42:06 +05:30
Manav Rathi
df80d9c355 Prune 2024-07-09 14:40:04 +05:30
Manav Rathi
e90ab70cc8 Remove unused dep 2024-07-09 14:34:34 +05:30
Neeraj Gupta
f422dea00e [mob][onnx] Clean up 2024-07-09 14:31:03 +05:30
Manav Rathi
53dc3bace9 Untie 2024-07-09 14:30:31 +05:30
Manav Rathi
82ec83caf3 Remove 2 2024-07-09 14:24:45 +05:30
Manav Rathi
2f5c966892 Remove old 2024-07-09 14:22:59 +05:30
Manav Rathi
45b1f82032 wip towards removal 2024-07-09 14:08:58 +05:30
Manav Rathi
cb148ea3b1 both 2024-07-09 13:52:26 +05:30
Manav Rathi
ed660c36df Remove unnecessary return 2024-07-09 13:30:17 +05:30
Neeraj Gupta
bc04a3f87f [mob][onnx] Specify return type 2024-07-09 13:29:28 +05:30
Manav Rathi
2920e04aa5 Pull both 2024-07-09 13:26:30 +05:30
Manav Rathi
ca44202fcd remote 2024-07-09 13:14:24 +05:30
Manav Rathi
023610cebd Remove the need for null assertions 2024-07-09 12:39:55 +05:30
Manav Rathi
d11e94c939 Silence warning 2024-07-09 12:37:33 +05:30
Manav Rathi
cfb1b8423b Continue 2024-07-09 12:33:09 +05:30
Neeraj Gupta
107162fa2c Merge branch 'clip_face_integration' into yolo_custom_plugin 2024-07-09 12:16:21 +05:30
Manav Rathi
4d84e966b0 db done 2024-07-09 12:09:38 +05:30
Manav Rathi
3bef2e8268 generalize 2024-07-09 12:05:42 +05:30
Manav Rathi
f2bcf1744f generalize 2024-07-09 11:51:00 +05:30
Manav Rathi
8d4629254c Agenda 2024-07-09 11:40:24 +05:30
Aman Raj Singh Mourya
a0980a9638 [mob][photos] Lockscreen Fixes 2024-07-09 11:24:50 +05:30
Manav Rathi
4fada9bdf9 face => ml 2024-07-09 11:13:22 +05:30
Manav Rathi
2bc95782a6 db 2 2024-07-09 11:01:03 +05:30
Manav Rathi
b36c4398c1 wip DB changes for clip 2024-07-09 11:01:03 +05:30
Manav Rathi
e183e1f9dd [meta] Change translation cron schedule Tue => Mon (#2397) 2024-07-09 10:48:52 +05:30
Manav Rathi
a8c267e2b0 [meta] Change translation cron schedule Tue => Mon 2024-07-09 10:48:05 +05:30
Neeraj Gupta
8d8b113ef8 [auth] New translations (#2393)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-07-09 10:47:22 +05:30
Neeraj Gupta
6f389cb64d [mobile] New translations (#2339)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-07-09 10:47:00 +05:30
Neeraj Gupta
f534984c0e Added 2 icons and optimised 1 icon (#2343)
## Description
Added bitmart and htx icon optimised coindcx icon.
## Tests
2024-07-09 10:46:47 +05:30
Manav Rathi
a7e5de7493 [web] New translations (#2396)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-09 10:42:20 +05:30
Crowdin Bot
49ca581904 New Crowdin translations by GitHub Action 2024-07-09 05:01:06 +00:00
Manav Rathi
e82e243b77 [web] Translation improvements (#2395) 2024-07-09 10:30:23 +05:30
Manav Rathi
26f421c77e Tweak 2024-07-09 10:25:42 +05:30
Manav Rathi
d4f0384f13 Move to tr 2024-07-09 10:20:07 +05:30
Manav Rathi
2a07684de0 More 2024-07-09 10:14:38 +05:30
Manav Rathi
e4f86794be More 2024-07-09 10:10:54 +05:30
Manav Rathi
b5a3821933 More 2024-07-09 10:06:02 +05:30
Manav Rathi
c7defa31f5 Match the casing of the en version 2024-07-09 10:03:48 +05:30
Manav Rathi
374b803ecc Migrate 2024-07-09 10:00:04 +05:30
Manav Rathi
0769ba2fff [web] New translations (#2392)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-09 09:54:11 +05:30
Crowdin Bot
95dc3d1e6c New Crowdin translations by GitHub Action 2024-07-09 02:11:09 +00:00
Crowdin Bot
da5270daa7 New Crowdin translations by GitHub Action 2024-07-09 02:00:58 +00:00
Crowdin Bot
a3de155a10 New Crowdin translations by GitHub Action 2024-07-09 01:46:46 +00:00
Neeraj Gupta
a1ea965936 Merge branch 'main' into yolo_custom_plugin 2024-07-08 17:50:09 +05:30
Neeraj Gupta
a761c06396 [auth] New translations (#2340)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-07-08 17:47:50 +05:30
Ashil
369680b4a8 bump up to v0.9.6 (#2384)
## Description

## Tests
2024-07-08 17:47:02 +05:30
Neeraj Gupta
273e5b88eb [mob][droid] Use custom dart plugin for face detection 2024-07-08 17:45:18 +05:30
laurenspriem
877b833a6d [mob][photos] Simplify 2024-07-08 17:57:12 +07:00
laurenspriem
240099df83 [mob][photos] Run clip tokenizer in isolate 2024-07-08 17:48:18 +07:00
Manav Rathi
24ea02c521 [desktop] Consolidate face and CLIP pipelines - Part 1/x (#2391) 2024-07-08 15:54:16 +05:30
Manav Rathi
1fb95f7d7d Reuse 2024-07-08 15:48:45 +05:30
Manav Rathi
c82ef796f2 Extract 2024-07-08 15:37:20 +05:30
Manav Rathi
f1c76adb38 Towards CLIP 2024-07-08 15:23:26 +05:30
Manav Rathi
46db1c240c [desktop] Fix CLIP preprocessing (#2389)
Fix format mismatch (ref: https://github.com/ente-io/ente/pull/2342)
2024-07-08 14:45:24 +05:30
Manav Rathi
8b5ad13595 Fix format mismatch 2024-07-08 14:40:41 +05:30
Manav Rathi
6511179766 Introduce bounds checking 2024-07-08 14:36:58 +05:30
Manav Rathi
bbacbb08b6 doc 2024-07-08 14:20:43 +05:30
laurenspriem
abd0dedc57 [mob][photos] Debug option 2024-07-06 22:21:35 +07:00
laurenspriem
baac183835 [mob][photos] First cleanup of clip flags 2024-07-06 22:14:30 +07:00
laurenspriem
90c8972a26 [mob][photos] Cleanup ML settings page 2024-07-06 20:32:24 +05:30
laurenspriem
d3e3a9c784 [mob][photos] Better default for DB method 2024-07-06 20:32:02 +05:30
laurenspriem
bb3f3b0e75 [mob][photos] String intl 2024-07-06 19:20:32 +05:30
laurenspriem
47ac7e0c9c [mob][photos] Rename 2024-07-06 19:20:09 +05:30
laurenspriem
c1fe756a86 [mob][photos] Rename 2024-07-06 19:13:32 +05:30
ashilkn
67ca028dbf bump up to v0.9.6 2024-07-06 17:24:59 +05:30
Aman Raj Singh Mourya
7a06cf2364 [mob][auth] Added logout option on lockscreen 2024-07-06 17:08:24 +05:30
Manav Rathi
2f2d988eaa [web] Improve JPEG 2000 handling (#2383)
- Let supporting browsers (e.g. Safari) upload them.
- Let them be indexed by converting to JPEG.
2024-07-06 17:05:03 +05:30
Aman Raj Singh Mourya
45331de54e [mob][photos] Custom keypad position fixed 2024-07-06 16:58:26 +05:30
Manav Rathi
d0f585fc97 Special case jp2 rendering 2024-07-06 16:57:46 +05:30
Prateek Sunal
d8f275a388 fix(mobile): add panorama detection 2024-07-06 16:35:36 +05:30
atyabbin
2e35b1eeb4 First view of the dashboard with new UI 2024-07-06 16:33:26 +05:30
Manav Rathi
c86be54ac1 [desktop] Handle jp2 and simplify 2024-07-06 16:21:43 +05:30
Vishnu Mohandas
d24c116d14 [mob][photos] Prepare for release v0.9.5 (#2381) 2024-07-06 16:09:48 +05:30
ashilkn
a279c442b8 [mob][photos] Update change log and change log version 2024-07-06 15:48:33 +05:30
laurenspriem
1f0686d84d [mob][photos] ML debug section 2024-07-06 15:18:28 +05:30
ashilkn
5b76225542 [mob][photos] Remove feature flag on select all feature 2024-07-06 15:16:20 +05:30
ashilkn
e2f2921d78 bump up to v 0.9.5 2024-07-06 15:05:30 +05:30
Ashil
86584e7424 [mob][photos] Lockscreen Fixes (#2367) 2024-07-06 15:01:27 +05:30
Ashil
05a400102a [mob][photos] Added button to logout from Lockscreen (#2379) 2024-07-06 14:59:51 +05:30
Manav Rathi
9c7c0b9592 [web] Fix duplication emotion instances (#2378)
Something's wrong with yarn's resolution algorithm, but let's leave that
be until we migrate off classic. 11.11.4 doesn't have anything we need,
so use 11.11.3 that seems to not result in dupes.

The warning was

gallery.js:16547 You are loading @emotion/react when it is already
loaded. Running multiple instances may cause problems. This can happen
if multiple versions are used, or if multiple builds of the same version
are used.

Ref:
- https://github.com/ente-io/ente/pull/2372
2024-07-06 14:46:22 +05:30
Aman Raj Singh Mourya
e807712cdc [mob][photos] Added button to logout from Lockscreen 2024-07-06 14:44:45 +05:30
Manav Rathi
e468ecc98c [web] Fix duplication emotion instances
Something's wrong with yarn's resolution algorithm, but let's leave that be
until we migrate off classic. 11.11.4 doesn't have anything we need, so use
11.11.3 that seems to not result in dupes.

The warning was

    gallery.js:16547 You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used.

Ref:
- https://github.com/ente-io/ente/pull/2372
2024-07-06 14:41:43 +05:30
Manav Rathi
dc80aac487 [desktop] Consider HTTP 4xx errors when PUT-ing embeddings as perm failures (#2377)
Also continue processing the liveQ even if embeddings pull fails.
2024-07-06 14:24:37 +05:30
Manav Rathi
1a06fce8f2 lf 2024-07-06 14:21:37 +05:30
Manav Rathi
933212ba59 Use elsewhere 2024-07-06 14:16:45 +05:30
Manav Rathi
26d8ecda08 tokens 2024-07-06 14:07:49 +05:30
Manav Rathi
8fc897ad16 Ok 2024-07-06 14:02:32 +05:30
Manav Rathi
53a8de9ac4 Shorten 2024-07-06 14:00:50 +05:30
Manav Rathi
a99a179ef9 Nicer error logs on desktop 2024-07-06 13:40:00 +05:30
Manav Rathi
cdba99a7c2 Use elsewhere 2024-07-06 13:23:55 +05:30
Manav Rathi
b03b9fd314 Let the liveQ be processed 2024-07-06 11:02:10 +05:30
Manav Rathi
4019afdd90 [desktop] Consider HTTP 4xx errors when PUT-ing embeddings as perm failures
Ref:
- https://github.com/ente-io/ente/pull/2369
- https://github.com/ente-io/ente/pull/2368
2024-07-06 10:23:33 +05:30
Manav Rathi
c12130d357 [desktop] Update eslint to fix warnings introduced after update to TypeScript 5.5 (#2375) 2024-07-06 09:47:00 +05:30
Manav Rathi
4427352f51 Handle update 2024-07-06 09:44:38 +05:30
Manav Rathi
ac06f67891 Update the typescript-eslint v8 alpha 2024-07-06 09:37:57 +05:30
ashilkn
27dab94782 [mob][photos] Immediately logout if too many attempts on lockscreen 2024-07-06 09:37:49 +05:30
Manav Rathi
99616b46a1 [desktop] Upgrade eslint (within the 9x series) 2024-07-06 09:26:45 +05:30
ashilkn
d72a561a9b [mob][photos] Minor UI fix on lock screen password entry page 2024-07-06 08:57:14 +05:30
ashilkn
75baee00c2 [mob][photos] Fix unexpected animation in lockscreen 2024-07-06 08:35:34 +05:30
Manav Rathi
8b696b1242 [web] Various minor chores (#2372)
See commit messages for details.
2024-07-05 20:43:36 +05:30
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
Aman Raj Singh Mourya
05e7863bdc [mob][photos] Lock count fixed 2024-07-05 13:32:17 +05:30
laurenspriem
9232cd150b [mob][photos] SemanticSearchService minor changes 2024-07-05 13:26:26 +05:30
laurenspriem
f95331c8f5 [mob][photos] Minor changes 2024-07-05 13:12:51 +05:30
laurenspriem
d2f6a533ce [mob][photos] Cleanup MagicSection 2024-07-05 13:05:09 +05:30
laurenspriem
552d6dfb30 [mob][photos] Cleanup temp clip in ImageIsolate 2024-07-05 13:02:31 +05:30
laurenspriem
8f4a867252 [mob][photos] Minor change 2024-07-05 13:00:45 +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
Aman Raj Singh Mourya
27525907af [mob][photos] Lock screen Clean Up 2024-07-05 11:46:38 +05:30
Aman Raj Singh Mourya
92e89d3589 [mob][photos] Timer animation fixed 2024-07-05 11:36:43 +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
Prateek Sunal
db5229170b Merge branch 'main' into mobile-panorama 2024-07-04 21:08:40 +05:30
Prateek Sunal
aec3157efe chore(mobile): lint fixes 2024-07-04 21:05:44 +05:30
Prateek Sunal
c594f05423 feat(mobile): add panorama viewer 2024-07-04 21:05:18 +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
Aman Raj Singh Mourya
9982c73d5a [mob][auth] Implemented Lock screen 2024-07-04 16:55:33 +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
Neeraj Gupta
37519179a1 [mob] Add OnnxFlutterPlugin 2024-07-04 13:35:27 +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
Manav Rathi
2a587039b0 gen2 2024-07-04 11:10:22 +05:30
Manav Rathi
6af39d52e3 Impl 2024-07-04 11:07:11 +05:30
Manav Rathi
e15dbc2023 Outline 2024-07-04 10:57:45 +05:30
Manav Rathi
ed2c63cf03 Port the mobile algo
Function: generateFaceThumbnailsUsingCanvas
File: mobile/lib/utils/image_ml_util.dart
2024-07-04 10:28:48 +05:30
Manav Rathi
b04538ada2 Rename and merge 2024-07-04 10:00:19 +05:30
laurenspriem
e2241df865 [mob][photos] First cleanup of SemanticSearchService 2024-07-04 09:49:00 +05:30
Manav Rathi
52cd2d30a1 Agenda 2024-07-04 09:44:43 +05:30
Manav Rathi
0d0d501518 Swap 2024-07-04 09:28:48 +05:30
laurenspriem
ff5dc490f8 [mob][photos] Small changes 2024-07-04 09:14:31 +05:30
laurenspriem
e65b4643cd [mob][photos] Add clip indexing to MLService 2024-07-04 07:24:42 +05:30
laurenspriem
11656a59a6 [mob][photos] Include clip in MLResult 2024-07-04 06:28:19 +05:30
laurenspriem
8609cb9498 [mob][photos] ORTEnv fix 2024-07-03 22:54:52 +05:30
laurenspriem
37cc447d4f [mob][photos] Rename to MLService 2024-07-03 22:51:17 +05:30
laurenspriem
680c8784fb [mob][photos] Refactor results object 2024-07-03 22:46:49 +05:30
laurenspriem
64a2544e95 [mob][photos] Face detection cleanup 2024-07-03 22:33:38 +05:30
laurenspriem
36224b45ef [mob][photos] Move faces pipeline to FaceRecognitionService 2024-07-03 22:08:19 +05:30
Manav Rathi
5b7dcddab3 [desktop] Fetch face indexes - Part 7/7 (#2357)
There still remain things to fix (e.g. the live sync), but now overall
the fetch + index flow is complete.
2024-07-03 21:03:21 +05:30
Manav Rathi
809b02cb26 Last trace 2024-07-03 20:33:39 +05:30
ashilkn
cb94d95d94 [mob][photos] Bump up to v0.9.4 2024-07-03 20:13:46 +05:30
ashilkn
4665cac03d [mob][photos] Extract strings 2024-07-03 20:11:40 +05:30
ashilkn
98d1a1c219 [mob][photos] Remove old assets 2024-07-03 19:43:15 +05:30
Manav Rathi
3b4897b86a Omit middleman 2024-07-03 19:37:20 +05:30
ashilkn
1042332f5b [mob][photos] Add title to error dialog when there is no system lock 2024-07-03 19:34:57 +05:30
ashilkn
c71850be07 [mob][photos] Change lock screen background asset 2024-07-03 19:21:16 +05:30
Manav Rathi
c0a6918c09 Trim 2024-07-03 18:18:16 +05:30
Manav Rathi
c66a74d1c7 Cleanup 2024-07-03 18:09:15 +05:30
Aman Raj Singh Mourya
80881816f3 [mob][photos] Lock screen UI tweaks (#2355) 2024-07-03 17:51:08 +05:30
Aman Raj Singh Mourya
39a3a48fd3 [mob][photos] show error dialog on no device lock enabled 2024-07-03 17:50:30 +05:30
ashilkn
5dbe46092a [mob][photos] lock screen UI tweaks 2024-07-03 17:35:41 +05:30
laurenspriem
fd6c521649 [mob][photos] Decouple face embedding fetch from indexing 2024-07-03 16:55:21 +05:30
Aman Raj Singh Mourya
6e6da8152d [mob][photos] UI update 2024-07-03 16:20:24 +05:30
ashilkn
f570773f23 [mob][photos] Use better names 2024-07-03 15:49:13 +05:30
Manav Rathi
b43e6e5981 Lint fix 2024-07-03 15:09:51 +05:30
ashilkn
2dc7d19784 Merge branch 'main' into lockscreen_options 2024-07-03 14:57:55 +05:30
Aman Raj Singh Mourya
c789684c31 [mob][photos] Tap anywhere on Lock screen to unlock 2024-07-03 14:53:35 +05:30
Manav Rathi
d539eb9b1b hook to upload events 2024-07-03 14:44:31 +05:30
Manav Rathi
c8f3df3969 Reorder 2024-07-03 14:34:15 +05:30
Manav Rathi
5f771e923c New flow 2024-07-03 14:31:46 +05:30
Manav Rathi
8acb2a1b98 Clarify 2024-07-03 14:09:32 +05:30
Manav Rathi
0fa0bf124a Only reset the idle duration on non-empty pulls 2024-07-03 14:07:42 +05:30
Manav Rathi
1b6d362314 Handle first run 2024-07-03 13:58:47 +05:30
Manav Rathi
1987f2354a Test run 2024-07-03 13:34:50 +05:30
Manav Rathi
2ab2a13dc0 Download manager 2024-07-03 13:33:17 +05:30
Manav Rathi
70e198ee7f Intertwine 2024-07-03 13:17:30 +05:30
Aman Raj Singh Mourya
b3e7bab0cb [mob][photos] UI update 2024-07-03 13:17:25 +05:30
Aman Raj Singh Mourya
23acf45d6b Merge branch 'lockscreen_options' of https://github.com/ente-io/ente into lockscreen_options 2024-07-03 13:13:34 +05:30
Aman Raj Singh Mourya
4ad8d0c0fd [mob][photos] UI update 2024-07-03 13:08:43 +05:30
Manav Rathi
da06653c6a Implicit state machine 2024-07-03 12:41:38 +05:30
Manav Rathi
ea47936231 ua and more 2024-07-03 12:25:23 +05:30
Manav Rathi
fc46552b0f Batch 2024-07-03 11:50:45 +05:30
Manav Rathi
532a9f64ff Read 2024-07-03 11:45:49 +05:30
Manav Rathi
910013572d Make the user's ID accessible to web workers 2024-07-03 11:44:31 +05:30
Manav Rathi
c61263f179 Support nums and bools 2024-07-03 11:34:21 +05:30
laurenspriem
523d3fa201 [mob][photos] Remove any model differentiation between onnx and ggml 2024-07-03 11:20:53 +05:30
laurenspriem
2d0cadc8c9 [mob][photos] Rename and delete lot of clip stuff 2024-07-03 11:19:59 +05:30
Manav Rathi
206a8a538a Start using it 2024-07-03 11:12:10 +05:30
laurenspriem
4cdbb0c128 [mob][photos] Automatically init ONNX environment 2024-07-03 11:11:09 +05:30
Manav Rathi
9e69798d79 In memory flag 2024-07-03 11:03:02 +05:30
Manav Rathi
5948714aff S2 2024-07-03 10:42:45 +05:30
Manav Rathi
08a23d8733 Sketch 2024-07-03 10:22:18 +05:30
Manav Rathi
0814fd42d1 [web] Misc minor tsc improvements (#2352) 2024-07-02 21:43:26 +05:30
Manav Rathi
dbe3e9a7d8 New convention 2024-07-02 21:29:02 +05:30
Manav Rathi
94f5822e72 Works 2024-07-02 21:17:41 +05:30
Manav Rathi
851cd77c50 ditto 2024-07-02 21:15:37 +05:30
Manav Rathi
2709298df0 Isolate 2024-07-02 21:15:02 +05:30
Manav Rathi
eee9a32b9a [web] TypeScript 5.5 (#2351) 2024-07-02 21:03:04 +05:30
Manav Rathi
4a84309e23 Apparently 2024-07-02 20:57:54 +05:30
Manav Rathi
6aeaea65ca [web] TypeScript 5.5 2024-07-02 20:43:15 +05:30
Ashil
61eb8d4282 [mob][photos] Lock screen clean up + refactor (#2350) 2024-07-02 20:07:31 +05:30
ashilkn
a3b19162f4 [mob][photos] Clean up 2024-07-02 20:04:18 +05:30
Manav Rathi
c8d0ccfe6a [desktop] Fetch face indexes - Part 6/x (#2349) 2024-07-02 20:01:42 +05:30
Manav Rathi
bb31f44227 Prepare for merge 2024-07-02 19:58:12 +05:30
ashilkn
6ab5015b9d [mob][photos] Refactor + use better variable names 2024-07-02 19:42:25 +05:30
Manav Rathi
d77b9d06f9 lf 2024-07-02 19:24:21 +05:30
Manav Rathi
9758b85e96 Prune 2024-07-02 19:22:45 +05:30
Manav Rathi
e8445d99fb Tweak 2024-07-02 19:17:22 +05:30
Manav Rathi
177a04830b Match face DB 2024-07-02 19:10:15 +05:30
Manav Rathi
3861e48737 Prune 2024-07-02 19:03:18 +05:30
Manav Rathi
f60ff6d8df Rename and shuffle 2024-07-02 18:59:50 +05:30
ashilkn
365e8e6eb8 [mob][photos] Make custom key pad for pin a separate widget and reuse it instead of writing duplicates of it 2024-07-02 18:19:16 +05:30
laurenspriem
e76d26914d [mob][photos] Delete clip ggml 2024-07-02 17:47:40 +05:30
laurenspriem
63c570b73a [mob][photos] Redundant line 2024-07-02 17:38:45 +05:30
laurenspriem
e84c9e604a [mob][photos] misplaced comment 2024-07-02 17:37:28 +05:30
laurenspriem
16e6812319 [mob][photos] Embedding normalization function 2024-07-02 17:34:22 +05:30
laurenspriem
53d5625499 [mob][photos] Move ONNX model initialization in abstract class 2024-07-02 17:18:40 +05:30
Manav Rathi
f757c996e7 [desktop] Fetch face indexes - Part 5/x (#2348) 2024-07-02 15:53:13 +05:30
ashilkn
71e7e660b2 [mob][photos] Use better keys + make members private 2024-07-02 15:46:01 +05:30
laurenspriem
55858eba0b [mob][photos] Small cleanup of FaceMlService 2024-07-02 15:45:42 +05:30
Manav Rathi
ff94ceb254 Fix condition 2024-07-02 15:44:02 +05:30
Manav Rathi
54b0374680 Parse array 2024-07-02 15:41:24 +05:30
Manav Rathi
33ab6809e2 Cleanup 2024-07-02 15:31:24 +05:30
laurenspriem
d15138de9b [mob][photos] Minor change 2024-07-02 15:30:49 +05:30
Manav Rathi
c9a2494ac8 Test 2024-07-02 15:17:51 +05:30
ashilkn
03ded09cb4 [mob][photos] Use consistent names for all lock screen related classes and file names 2024-07-02 15:17:07 +05:30
Manav Rathi
e28a6b5290 Add custom error
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error
2024-07-02 15:12:07 +05:30
ashilkn
f6e4d4c7c9 [mob][photos]
Clean up main.dart
2024-07-02 15:04:06 +05:30
Manav Rathi
8031f27feb Sanity check 2024-07-02 14:53:35 +05:30
ashilkn
ec04becd0e [mob][photos] Clean up configuration.dart 2024-07-02 14:44:22 +05:30
laurenspriem
351d5f85ac [mob][photos] Minor change 2024-07-02 14:27:37 +05:30
Manav Rathi
1a4b3199f1 new 2024-07-02 14:15:55 +05:30
laurenspriem
6c3ba60b1b [mob][photos] Create separate FaceRecognitionService 2024-07-02 14:01:23 +05:30
Manav Rathi
f7137b721e Move 2024-07-02 13:56:53 +05:30
Manav Rathi
080d5630a8 imports 2024-07-02 13:52:58 +05:30
Manav Rathi
af61774d93 Give tsc a helping hand 2024-07-02 13:49:51 +05:30
Manav Rathi
0e1b490371 Assert 2024-07-02 13:47:27 +05:30
Manav Rathi
6bb126e58f Move 2024-07-02 13:34:43 +05:30
laurenspriem
6622441b38 [mob][photos] Add todo 2024-07-02 13:32:36 +05:30
Manav Rathi
369ff7833c Fix 2024-07-02 13:32:10 +05:30
Manav Rathi
658a258ddc Fix 2024-07-02 13:31:12 +05:30
laurenspriem
f77a33a2c0 [mob][photos] Remove old todo 2024-07-02 13:31:00 +05:30
laurenspriem
9e76c31655 [mob][photos] Move cosine function 2024-07-02 13:30:23 +05:30
Manav Rathi
9c377d9ced fix 2024-07-02 13:27:16 +05:30
Manav Rathi
c27f4a64df assert 2024-07-02 13:22:31 +05:30
laurenspriem
4871755140 [mob][photos] FileML for faces cleanup unused clip embedding attribute 2024-07-02 13:20:09 +05:30
Manav Rathi
4d9b7d7632 fix 2024-07-02 13:18:20 +05:30
Manav Rathi
1f00330fd4 fix or neuter or workaround 2024-07-02 13:14:22 +05:30
Manav Rathi
6c178a4476 fix 2024-07-02 13:07:47 +05:30
Manav Rathi
f3bd395f11 New loc 2024-07-02 13:04:51 +05:30
Manav Rathi
9d30ffc96f [desktop] Fix CI lint errors (#2344)
Ref: https://github.com/ente-io/ente/pull/2342
2024-07-02 12:32:46 +05:30
Manav Rathi
8fe0a31da3 [desktop] Fix CI lint errors
https://github.com/ente-io/ente/pull/2342
2024-07-02 12:30:38 +05:30
Nikunj Kumar Nakum
06fae3836e Merge branch 'ente-io:main' into main 2024-07-02 12:29:22 +05:30
Manav Rathi
6ee237716e [desktop] Fetch face indexes - Part 4/x (#2341)
This mostly moves a few files that are transitively used by f-index.ts
to new (so that we can move f-index.ts to new and call it from the
worker therein).
2024-07-02 12:28:11 +05:30
Nikunj Kumar Nakum
d86ce619c0 Update custom-icons.json
added bitmart and htx
2024-07-02 12:26:37 +05:30
Manav Rathi
93b264443c next line 2024-07-02 12:25:21 +05:30
Manav Rathi
47e8474466 wc 2024-07-02 12:21:39 +05:30
Manav Rathi
dd80b2174f Try once more 2024-07-02 12:18:32 +05:30
Laurens Priem
fa28d6d6db [web][photos] Correct clip preprocessing (#2342)
## Description

Fixed issues with the old clip preprocessing.

## Tests

Not tested, but confident it's correct. Should compare embeddings
between platforms after all web changes are done.
2024-07-02 12:10:29 +05:30
Manav Rathi
f8e5bd3d66 Workaround failures on GitHub action 2024-07-02 12:07:45 +05:30
laurenspriem
ff2d838b64 [web][photos] Correct clip preprocessing 2024-07-02 12:06:41 +05:30
Aman Raj Singh Mourya
9fd94c63d9 [mob][photos] lockscreen UI updated 2024-07-02 11:52:47 +05:30
Manav Rathi
8abcd39966 Fix warning 2024-07-02 11:48:48 +05:30
Manav Rathi
a65e0ddfa4 lf 2024-07-02 11:47:30 +05:30
Manav Rathi
406e7bd5bd tsc 2024-07-02 11:41:44 +05:30
Manav Rathi
a7f0dc74fd tsc 2024-07-02 11:26:11 +05:30
Manav Rathi
b49d1323db tsc 2024-07-02 11:14:35 +05:30
Manav Rathi
16b79bcf4a tsc 2024-07-02 11:11:06 +05:30
Manav Rathi
16e197455b Update imports 2024-07-02 11:00:38 +05:30
Manav Rathi
cd27168f5f Move 2024-07-02 10:58:59 +05:30
Manav Rathi
1c7f25723e Conv 2024-07-02 10:58:27 +05:30
Manav Rathi
025fe35999 tsc transitive 2024-07-02 10:55:57 +05:30
Manav Rathi
892a90d83b esl 2024-07-02 10:51:44 +05:30
Manav Rathi
94f179ebab Fix esl 2024-07-02 10:41:06 +05:30
Manav Rathi
f2ea1a05c1 Fix tsc 2024-07-02 10:38:51 +05:30
Manav Rathi
b88d6d26a6 Fix tsc 2024-07-02 10:37:44 +05:30
Manav Rathi
18194dc61a Fix tsc 2024-07-02 10:35:29 +05:30
Manav Rathi
f7324d5388 Move 2024-07-02 10:22:04 +05:30
Manav Rathi
93488e149d move and merge 2024-07-02 10:15:40 +05:30
Crowdin Bot
23b0ea67ae New Crowdin translations by GitHub Action 2024-07-02 02:10:11 +00:00
Nikunj Kumar Nakum
a2599f3415 updated coindcx icon and added 2 more icons
added new HTX and bitmart icons
2024-07-02 00:15:33 +05:30
Manav Rathi
2cce5fb17c Move more 2024-07-01 20:44:09 +05:30
Manav Rathi
9205907588 Inline 2024-07-01 20:33:28 +05:30
Manav Rathi
a282c6cb40 Move more 2024-07-01 20:28:32 +05:30
Manav Rathi
cec60520d9 Move 2024-07-01 20:16:57 +05:30
Manav Rathi
5c0f183740 lf 2024-07-01 20:09:49 +05:30
Manav Rathi
03150482f7 Use our check 2024-07-01 20:07:25 +05:30
Manav Rathi
5fcb1de540 Rename etc 2024-07-01 20:06:48 +05:30
Manav Rathi
157f3696e4 Move 2024-07-01 19:58:28 +05:30
Neeraj Gupta
45b5703678 [mob] Use model path for session creation 2024-07-01 18:19:11 +05:30
Neeraj Gupta
a60c50fe97 [mob] Avoid FileUploader cache clear in case of autoLogout (#2335)
## Description

## Tests
2024-07-01 16:48:57 +05:30
Victor Muthiani
6544ed3d3d [auth] Icons for Yahoo, OKX, 1XBET, Bitget, & Crypto.com (#2291)
## Description
Added Yahoo,okx,1xbet,bitget & crypto.com icons
uploaded respective optimized svgs and updated the json file
2024-07-01 16:46:57 +05:30
Laurens Priem
b4d0eb843b [mob][photos] Fix german translation (#2337)
## Description

Fixed translation.
2024-07-01 16:45:44 +05:30
laurenspriem
c40a051f5f [mob][photos] Fix german translation 2024-07-01 16:43:54 +05:30
Manav Rathi
0b76287f80 [desktop] Fetch face indexes - Part 3/x (#2336) 2024-07-01 16:25:08 +05:30
Manav Rathi
df85e70a37 lf 2024-07-01 16:23:28 +05:30
Manav Rathi
9734797bac Comment out for now 2024-07-01 16:19:24 +05:30
Manav Rathi
b430aeb7c4 Shorten 2024-07-01 15:55:08 +05:30
Manav Rathi
ff0f940798 Shorten 2024-07-01 15:32:15 +05:30
Manav Rathi
5988052521 Fix 2024-07-01 15:29:32 +05:30
Neeraj Gupta
b3a48194c5 [mob][android] Expose custom onnx plugin 2024-07-01 15:13:29 +05:30
Manav Rathi
c929d3dc74 Simplify 2024-07-01 15:10:57 +05:30
Manav Rathi
bf2873821d Allow to be set/get from webworkers 2024-07-01 14:54:42 +05:30
Manav Rathi
eaecf91aa1 Rearrange 2024-07-01 14:52:11 +05:30
Neeraj Gupta
49f96dbea1 [mob] Avoid FileUploader cache clear in case of autoLogout 2024-07-01 14:43:53 +05:30
Manav Rathi
b9972e131a [web] Update case of some recently touched l10n keys (#2334) 2024-07-01 14:25:10 +05:30
Manav Rathi
c318a15236 Update l10n keys 2024-07-01 14:22:21 +05:30
Manav Rathi
1a545aeef6 [web] New translations (#2333)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-07-01 14:19:19 +05:30
Crowdin Bot
d40d119b82 New Crowdin translations by GitHub Action 2024-07-01 08:48:44 +00:00
Manav Rathi
e71410af4e [web] Allow web workers to access token to make API calls (#2332) 2024-07-01 14:16:32 +05:30
Manav Rathi
612e81d74e tsc 2024-07-01 13:53:29 +05:30
Manav Rathi
bf1f4b26cf Keep separate 2024-07-01 13:51:43 +05:30
Manav Rathi
de7b80a352 Fix 2024-07-01 13:48:29 +05:30
Manav Rathi
cf3728eee8 Migrate 2024-07-01 13:46:48 +05:30
Manav Rathi
5b9c173b0e Clean 2024-07-01 13:37:17 +05:30
Manav Rathi
4179d183bd Unenum 2024-07-01 13:32:51 +05:30
Manav Rathi
fbae7b6fd0 Inline 2024-07-01 13:27:57 +05:30
Manav Rathi
62c9b2afc2 Remove dependency 2024-07-01 13:22:22 +05:30
Manav Rathi
cd81bbe19e Scope 2024-07-01 13:20:11 +05:30
Manav Rathi
39a6b3cd6b Make the context more specific 2024-07-01 13:20:11 +05:30
Manav Rathi
d14a6591d2 Assert that accounts has no local state 2024-07-01 13:20:11 +05:30
Manav Rathi
6b6edfb5bf Reduce state 2024-07-01 13:20:11 +05:30
Manav Rathi
7b20bbd5a2 Reorder 2024-07-01 13:20:11 +05:30
Manav Rathi
61a62f5656 Reduce local state for accounts 2024-07-01 13:20:11 +05:30
Manav Rathi
0376af8d38 Read from kv 2024-07-01 13:20:11 +05:30
Manav Rathi
85aaf94c89 4 2024-07-01 13:20:11 +05:30
Manav Rathi
af53585f6c 3 2024-07-01 13:20:11 +05:30
Manav Rathi
22fbf0a1be 2 2024-07-01 13:20:11 +05:30
Manav Rathi
4acd17f06b Funnel point 2024-07-01 13:20:11 +05:30
Manav Rathi
05e7a998e2 [desktop] Use clip-bpe-js as the Tokenizer (#2331)
Replace the inlined code with the library.

Tested by comparing the produced embeddings on a few sample prompts
(were exactly the same).
2024-07-01 13:05:31 +05:30
Manav Rathi
bbc44d6ac1 [desktop] Use clip-bpe-js as the Tokenizer
Replace the inlined code with the library.

Tested by comparing the produced embeddings on a few sample prompts (were
exactly the same).
2024-07-01 13:03:07 +05:30
Manav Rathi
b1da1dfe05 [infra] Change prometheus scrape interval to 60s (the default) (#2330) 2024-07-01 11:47:12 +05:30
Manav Rathi
26c1dda600 [infra] Change prometheus scrape interval to 60s (the default) 2024-07-01 11:42:11 +05:30
Manav Rathi
2f0112d5de [web] Make the client package available to web worker code (#2329) 2024-07-01 09:55:41 +05:30
Manav Rathi
ca0fa88bb5 Incl x-c-p in all API fetches 2024-06-30 18:58:35 +05:30
Manav Rathi
45093fcc0c Inline 2024-06-30 18:44:25 +05:30
Manav Rathi
776915e659 Continue painting 2024-06-30 18:22:58 +05:30
Manav Rathi
4a14017cff cast 2024-06-30 18:14:27 +05:30
Manav Rathi
67e054a26d Continue second pass 2024-06-30 18:03:08 +05:30
Manav Rathi
6f073b007b isDesktop 2024-06-30 17:58:22 +05:30
Manav Rathi
284799bc7a Second pass 2024-06-30 17:54:11 +05:30
Manav Rathi
54c54d50c6 Static pkg name 2024-06-30 17:52:52 +05:30
Manav Rathi
f11960981a Use static app name 2024-06-30 17:41:56 +05:30
Manav Rathi
9973e5c701 Test 2024-06-30 08:07:38 +05:30
Manav Rathi
8fbc7b3937 Case 2024-06-30 07:58:14 +05:30
Manav Rathi
d09a7b290b New constant 2024-06-30 07:55:24 +05:30
Manav Rathi
bd627a6e54 Case 2024-06-30 07:49:21 +05:30
Manav Rathi
3ddd5bff2d Add cross-env (shx doesn't allow this)
https://github.com/shelljs/shx/issues/127
2024-06-29 21:48:50 +05:30
Manav Rathi
f7b7bae0af The plan
But will Windows play along...
2024-06-29 21:19:46 +05:30
laurenspriem
b0c92f8fe0 [mob][photos] Some debug prints 2024-06-29 19:25:13 +05:30
laurenspriem
0fe85390d3 [mob][photos] Temp lower minimum similarity threshold 2024-06-29 19:22:55 +05:30
laurenspriem
6d1c73d90e [mob][photos] Enable only clip embedding push again 2024-06-29 19:20:48 +05:30
laurenspriem
5eb02c242c [mob][photos] Small fix 2024-06-29 19:17:47 +05:30
laurenspriem
dcb90f9e59 [mob][photos] Only do tokenizer init in computer 2024-06-29 15:29:24 +05:30
laurenspriem
2299e69227 [mob][photos] Assets tokenizer cleanup 2024-06-29 15:10:12 +05:30
laurenspriem
4764fddd61 [mob][photos] Get tokenizer from remote instead of assets 2024-06-29 14:49:11 +05:30
Ashil
62c3ca3ecc [mob][photos] Fix: Intermittent disappearance of favorite album on 'On Ente' section. (#2314)
## Description

Quite possible the on ente section is built before favorites service is
finished initialising which is causing this issue. Reloading after init
is complete should fix this bug

## Tests

Tested and working fine.
2024-06-29 14:39:21 +05:30
Ashil
a967d2fbd0 [mob][photos] Unselect all selected items on system back navigation (#2315) 2024-06-29 14:39:12 +05:30
Aman Raj Singh Mourya
3c86a9bc06 [mob][photos] Added time delay for invalid attempts 2024-06-29 14:19:47 +05:30
laurenspriem
9f1ed16364 [mob][photos] Rename score to similarity for clarity 2024-06-29 13:54:58 +05:30
laurenspriem
f75b8b9950 [mob][photos] Logging 2024-06-29 12:14:58 +05:30
laurenspriem
9b41180b2d [mob][photos] Run clip in separate isolate 2024-06-29 12:13:41 +05:30
Manav Rathi
450981a5fb [desktop] Fetch face indexes - Part 2/x (#2320)
Continuation of https://github.com/ente-io/ente/pull/2297
2024-06-29 12:01:52 +05:30
Manav Rathi
ad2dabcc96 Fix again 2024-06-29 11:43:15 +05:30
Manav Rathi
8b16b4632f Renames 2024-06-29 11:36:45 +05:30
Manav Rathi
bb37630bae Nicer 2024-06-29 11:32:21 +05:30
Manav Rathi
66cb95e32c Fix hanging paren 2024-06-29 11:31:43 +05:30
Manav Rathi
ea51cdfc77 Remove unused 2024-06-29 11:18:46 +05:30
Manav Rathi
4d41f2d64c Remove unused 2024-06-29 11:15:43 +05:30
Manav Rathi
266796f619 wa 2024-06-29 10:52:43 +05:30
Manav Rathi
57a587301b Hook back into the app 2024-06-29 10:44:29 +05:30
Manav Rathi
90c15774d7 Extract 2024-06-29 10:44:29 +05:30
Manav Rathi
7d46de139e Logout 2024-06-29 10:44:29 +05:30
Manav Rathi
dd3243492a Use module state 2024-06-29 10:44:29 +05:30
Manav Rathi
ea7619d405 Potential entry point 2024-06-29 10:44:29 +05:30
Manav Rathi
7d8ade7fe4 Extract 2024-06-29 10:44:29 +05:30
Manav Rathi
ddf18bd036 Handle versioning 2024-06-29 10:44:27 +05:30
Manav Rathi
84a03dafe3 Isolate what changes 2024-06-29 10:44:02 +05:30
Manav Rathi
dc5b0b4393 Save 2024-06-29 10:44:02 +05:30
Manav Rathi
36d8c2a427 Specific-er than sync 2024-06-29 10:44:02 +05:30
Manav Rathi
b63a15a521 Move trash handling to existing sync 2024-06-29 10:44:02 +05:30
Manav Rathi
53452344f3 Lints 2024-06-29 10:44:02 +05:30
Manav Rathi
a119d544af prune prep 2024-06-29 10:44:02 +05:30
Manav Rathi
67d9e650ba Include files from trash 2024-06-29 10:44:02 +05:30
Manav Rathi
61d35159fa Dup 2024-06-29 10:44:02 +05:30
Manav Rathi
593ece7681 Compile 2024-06-29 10:44:01 +05:30
Manav Rathi
45a103f66a New layer 2024-06-29 10:42:28 +05:30
Manav Rathi
27c6474f06 Doc all 2024-06-29 10:42:28 +05:30
Manav Rathi
660f6c645b Rearrange 2024-06-29 10:42:28 +05:30
Manav Rathi
90cffef7be Doc 2024-06-29 10:42:28 +05:30
Manav Rathi
d6f30546b9 Rearrange 2024-06-29 10:42:28 +05:30
Manav Rathi
a9e0aa13ff Inline 2024-06-29 10:42:28 +05:30
Manav Rathi
1496b60895 Inline 2024-06-29 10:42:28 +05:30
Manav Rathi
2f7923b097 Rearrange 2024-06-29 10:42:28 +05:30
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
ashilkn
094d4053fb [mob][photos] unselect all selected items on system back navigation 2024-06-28 18:52:36 +05:30
laurenspriem
9610abadbe [mob][photos] Use unquantized text encoder for clip 2024-06-28 18:51:32 +05:30
laurenspriem
63b55f2759 [mob][photos] Make clip use full file 2024-06-28 18:49:28 +05:30
laurenspriem
8381598944 [mob][photos] Refactor getting file path 2024-06-28 18:47:50 +05:30
laurenspriem
393ed91e86 [mob][photos] Use centercrop instead of empty pixels 2024-06-28 18:27:52 +05:30
laurenspriem
21483eacb4 [mob][photos] Remove computer for clip for now 2024-06-28 18:22:33 +05:30
laurenspriem
d7e1b737d8 [mob][photos] Use existing image utils for clip preprocessing 2024-06-28 18:20:35 +05:30
ashilkn
0a4abada00 [mob][photos] add debouncer to reloading user collections tab on FavoritesServiceInitCompleteEvent 2024-06-28 16:38:48 +05:30
laurenspriem
f03cea7252 [mob][photos] Inline 2024-06-28 15:56:27 +05:30
ashilkn
6bf00c40a0 [mob][photos] Fix: Intermittent disappearance of favorite album on 'On Ente' section
Quite possible the on ente section is built before favorites service is finished initialising which is causing this issue. Reloading after init is compelte should fix this bug
2024-06-28 15:55:46 +05:30
laurenspriem
06774aeb61 [mob][photos] Fix stupid error 2024-06-28 15:53:48 +05:30
laurenspriem
a16bf196b3 [mob][photos] Temporarily turn off clip embedding sync 2024-06-28 15:43:41 +05:30
laurenspriem
ac8dc687da Merge branch 'main' into clip_investigation 2024-06-28 15:39:25 +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
laurenspriem
cfca11a628 [mob][photos] Improve readability 2024-06-27 21:49:53 +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
atyabbin
65c72f6cf5 Showing usage data in GB in the fetch table 2024-06-27 15:59:39 +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
Aman Raj Singh Mourya
b4e0eb8491 Merge branch 'lockscreen_options' of https://github.com/ente-io/ente into lockscreen_options 2024-06-27 13:34:34 +05:30
Aman Raj Singh Mourya
bdbed2aa17 [mob][photos] Show errorText with border on invalid Pin 2024-06-27 13:33:40 +05:30
Aman Raj Singh Mourya
2652f39c21 [mob][photos] Fix visibility toggle disappearing on error state in lockscreen (#2303) 2024-06-27 13:32:37 +05:30
ashilkn
6f95272400 [mob][photos] Deprecate isPasswordInput in TextInputWidget, since the widget is becoming bloated and hard to maintain. Will be create a separate PasswordInputWidget instead in future 2024-06-27 12:54:26 +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
ashilkn
20c33fd00b [mob][photos] Workaround for visibility icon disappearing when password is wrong in lock screen password 2024-06-27 12:50:39 +05:30
ashilkn
1d5366c6b6 [mob][photos] upgrade photo_manager 2024-06-27 10:05:43 +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
Aman Raj Singh Mourya
59b132edf8 [mob][photos] moved funtions to lockscreen_setting.dart from configuration.dart 2024-06-26 14:02:27 +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
Manav Rathi
083eb2fc7a Scan 2024-06-25 19:50:27 +05:30
Manav Rathi
df50a3b759 Fix 2024-06-25 19:48:33 +05:30
Manav Rathi
4e7045fe71 Tweak 2024-06-25 19:44:37 +05:30
Manav Rathi
9be81955af Handle state 2024-06-25 19:37:09 +05:30
Manav Rathi
477f093437 Tweak copy 2024-06-25 19:07:20 +05:30
Manav Rathi
b2d29ccbf8 Takeout opts 2024-06-25 18:59:40 +05:30
Manav Rathi
0b0701271e Split 2024-06-25 18:14:02 +05:30
Manav Rathi
c318167909 Cleanup 2024-06-25 18:14:02 +05:30
Manav Rathi
89ee10ea57 Clean 2024-06-25 18:14:02 +05:30
Manav Rathi
a310eca1c2 Update import 2024-06-25 15:58:30 +05:30
Manav Rathi
1cd5536eb1 Update message 2024-06-25 15:58:30 +05:30
Manav Rathi
5b411ce55a Fix lint 2024-06-25 15:58:30 +05:30
Manav Rathi
012aae17ec Fix formatting 2024-06-25 15:58:29 +05:30
Manav Rathi
e6b4d220a3 Fix 2024-06-25 15:58:29 +05:30
Manav Rathi
c988c30910 Validate in the other places where we request the password 2024-06-25 15:58:29 +05:30
Manav Rathi
3ae1b18bf1 Comment 2024-06-25 15:58:29 +05:30
Manav Rathi
a093c1dd34 Flatten 2024-06-25 15:58:29 +05:30
Manav Rathi
25a79e4146 Before computing with the keyattributes 2024-06-25 15:58:29 +05:30
Manav Rathi
47630408b6 We need the SRP attributes to detect changes 2024-06-25 15:58:29 +05:30
Manav Rathi
9c0a66b036 Cleanup 2024-06-25 15:58:29 +05:30
Manav Rathi
d8650aa33d router.reload is an undocumented, semi-deprecated, oneliner
Ref:
- https://github.com/vercel/next.js/discussions/53517
- https://github.com/vercel/next.js/blob/canary/packages/next/src/shared/lib/router/router.ts#L1007-L1009
2024-06-25 15:58:29 +05:30
Manav Rathi
a6645bce8b Wait for validity check to complete before verification 2024-06-25 15:58:29 +05:30
Manav Rathi
05816a3894 Note the field 2024-06-25 15:58:28 +05:30
Manav Rathi
e4e75b573f Reduce indentation 2024-06-25 15:58:28 +05:30
Manav Rathi
3f6ef61204 Use 2024-06-25 15:58:28 +05:30
Manav Rathi
326f7d647e validity 2024-06-25 15:58:28 +05:30
Manav Rathi
3d7e425f48 WIP 2024-06-25 15:58:28 +05:30
Manav Rathi
767f2479af wip 2024-06-25 15:58:28 +05:30
Manav Rathi
edceebd8fb The error in the background is potentially confusing too 2024-06-25 15:58:28 +05:30
Manav Rathi
685a3ca4c7 Upd 2024-06-25 15:58:27 +05:30
Manav Rathi
3a4dc21470 Component state for this component needs refactoring, for now read from source 2024-06-25 15:58:27 +05:30
Manav Rathi
ce3233a01f Also do it on incorrect password entry 2024-06-25 15:58:27 +05:30
Manav Rathi
2f8abd5b7f Give it a chance to kick in 2024-06-25 15:58:27 +05:30
Manav Rathi
f5d6037e31 Use the value 2024-06-25 15:58:27 +05:30
Manav Rathi
a03c8e3a55 Sketch 2024-06-25 15:58:27 +05:30
Manav Rathi
f64b0238c9 [server] Return key attributes in the session-validity response (#2288)
Smoke tested locally. Was also more thoroughly tested as part of
https://github.com/ente-io/ente/pull/2230.
2024-06-25 15:53:59 +05:30
Manav Rathi
06e7626206 [server] Return key attributes in the session-validity response 2024-06-25 15:25:04 +05:30
Ashil
a6dae9a661 [mob][photos] Fix file bottom bar not disappearing when in fullscreen (#2286)
## Description

When viewing photos/videos and enabling fullscreen (with a tap on
scree), the bottom bar wasn't disappearing like it used to. This PR
fixes this regression.
2024-06-25 14:21:25 +05:30
Manav Rathi
3d84937d06 [web] New translations (#2277)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-25 13:17:34 +05:30
Manav Rathi
2bc8cca55f [desktop] Cache the handle to the zip files to improve metadata parsing speed (#2287)
This should _significantly_ (hours => seconds) improve the performance
of the metadata parsing step during import of large Google Takeout zips,
and bring them to par as if the user had drag-and-dropped the unzipped
folder instead.

In my monkey tests, it seems that beyond a certain zip size (few GBs),
reopening the handle to a stream zip overshadows the time taken to read
the individual JSONs. This effect seems to grow very big for big zips to
a point where the metadata parsing step takes hours.

But note that I'm only testing this on synthetic exemplars I've created.
After merging it'll also need testing on more realistic huge takeout
examples.
2024-06-25 13:17:04 +05:30
Manav Rathi
24691b8652 Seems to work without it 2024-06-25 13:10:52 +05:30
ashilkn
522d1da0e9 [mob][photos] Fix file bottom bar not disappearing when in fullscreen 2024-06-25 13:09:24 +05:30
Manav Rathi
cef1dee2a0 Rely 2024-06-25 12:57:18 +05:30
Manav Rathi
3220da556d Use 2024-06-25 12:56:49 +05:30
Neeraj Gupta
ea6e098583 [auth][windows] Update letsencrypt root cert (#2285)
## Description

## Tests
2024-06-25 12:42:10 +05:30
Neeraj Gupta
610a5d8dcb [auth] Whitelist for windows only 2024-06-25 12:41:56 +05:30
Prateek Sunal
73a53994f3 chore(mobile): add adapted from header in relevant files 2024-06-25 12:37:35 +05:30
Ashil
f67dc4893f [mob][photos] Cache results for Magic section (only visible to internal users) (#2282)
## Description

- Use cached results for magic section so that it does't anymore have to
wait for ML framework to be initialised and doesn't have to re-compute
results every time, which means faster loading of the search tab.
- For internal users, all results in
[here](https://discover.ente.io/v1.json) will show up.
- For non-internal users, once available, results will be limited to 4.
- 4 random prompts are selected from
[here](https://discover.ente.io/v1.json) with non-empty results and are
cached.
- The cache updates when the data updates
[here](https://discover.ente.io/v1.json) (checks size to compare) or in
3 days since the last update.
2024-06-25 12:33:39 +05:30
Neeraj Gupta
185bed19aa [auth] Bump version 2024-06-25 12:29:39 +05:30
Neeraj Gupta
3094d74b6a [auth] Add latest letsencrypt ca 2024-06-25 12:29:25 +05:30
Manav Rathi
5c3cfb7403 Clear 2024-06-25 12:20:59 +05:30
Manav Rathi
5d0926ebb2 Impl 2024-06-25 12:16:23 +05:30
Manav Rathi
a49c7834d8 Cache the handle to the zip files - prep 2024-06-25 12:07:14 +05:30
Neeraj Gupta
2f327b1929 [mobile] New translations (#2278)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-06-25 12:00:54 +05:30
Neeraj Gupta
b7892f4257 [auth] New translations (#2279)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-06-25 12:00:25 +05:30
Neeraj Gupta
f5bcdd0d9e [mob][photos] Fix build failing (#2284)
```lib/core/error-reporting/super_logging.dart:20:8: Error: Error when reading 'lib/services/machine_learning/face_ml/face_ml_exceptions.dart': No such file or directory
import "package:photos/services/machine_learning/face_ml/face_ml_exceptions.dart";
       ^
lib/core/error-reporting/super_logging.dart:239:20: Error: 'CouldNotRetrieveAnyFileData' isn't a type.
      if (error is CouldNotRetrieveAnyFileData ||
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception


FAILURE: Build failed with an exception.
2024-06-25 11:59:43 +05:30
ashilkn
6736ad73ec [mob][photos] Fix build failing 2024-06-25 10:51:19 +05:30
ashilkn
75dcf18d75 [mob][photos] Minor UI fix 2024-06-25 10:15:16 +05:30
ashilkn
e722024f8f [mob][photos] Catch any exceptions or errors when getting results for magic section and return an empty list to avoid showing a blank search tab 2024-06-25 10:13:43 +05:30
Manav Rathi
a714c0d70b [docs] Configure custom server - web/desktop (#2281) 2024-06-25 10:02:35 +05:30
Manav Rathi
51bcf02b96 [docs] Configure custom server - web/desktop 2024-06-25 10:01:01 +05:30
ashilkn
fcb79907cf [mob][photos] Remove code that was for handling edge cases when magic section was depending on newly computed results every time instead of using cache 2024-06-25 09:51:25 +05:30
ashilkn
35b42d4743 [mob][photos] clean up 2024-06-25 09:43:50 +05:30
ashilkn
8fae7719b5 [mob][photos] Update magic cache every 3 days 2024-06-25 09:31:24 +05:30
Crowdin Bot
64aa3ac0e8 New Crowdin translations by GitHub Action 2024-06-25 02:09:30 +00:00
Crowdin Bot
c7f3390e59 New Crowdin translations by GitHub Action 2024-06-25 01:59:59 +00:00
Crowdin Bot
b9a71060ec New Crowdin translations by GitHub Action 2024-06-25 01:45:24 +00:00
Manav Rathi
d095f52051 [web] Dev settings: avoid the red error state before first submit (#2274) 2024-06-24 20:08:49 +05:30
Manav Rathi
153850742d Avoid the red error state before first submit 2024-06-24 19:59:54 +05:30
Laurens Priem
c2cdb4e38b Face cleanup (#2273)
## Description

Cleaned up a lot of old and unused code.

## Tests

Tested in debug mode on my pixel phone.
2024-06-24 18:26:00 +05:30
laurenspriem
33ab69e2d8 Merge branch 'main' into face_cleanup 2024-06-24 17:50:16 +05:30
laurenspriem
b95e93778b [mob][photos] old code 2024-06-24 17:35:41 +05:30
laurenspriem
160f279464 [mob][photos] Remove old face crop widget 2024-06-24 17:33:35 +05:30
ashilkn
69bd1c8670 Merge branch 'main' into cache_magic_section 2024-06-24 17:31:58 +05:30
ashilkn
b21fe76b3f [mob][photos] Save magic cache to local path instead of saving it in shared preferences 2024-06-24 17:30:33 +05:30
laurenspriem
6ea449bd83 [mob][photos] Move ml exceptions 2024-06-24 17:29:21 +05:30
ashilkn
b99b2d1381 [mob][photos] Remove commented out code that was used before using data from magic cache 2024-06-24 16:55:36 +05:30
ashilkn
84f2c6d102 [mob][photos] Show 4 instead of 6 magic results in magic section for non-internal users 2024-06-24 16:53:20 +05:30
ashilkn
908e37f56f [mob][photos] Update MagicCache every 3 days 2024-06-24 16:48:25 +05:30
Manav Rathi
108ff34763 [web] New translations (#2272)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-24 16:11:45 +05:30
Crowdin Bot
8ce3126c92 New Crowdin translations by GitHub Action 2024-06-24 10:38:53 +00:00
Manav Rathi
b1006e0843 [web/desktop] Allow self-hosters to set custom endpoints (#2271) 2024-06-24 16:08:05 +05:30
Manav Rathi
ca0af1f53a Also on standalone pages 2024-06-24 16:04:25 +05:30
ashilkn
9cb4420bbf [mob][photos] Show magic section in search tab from cached results 2024-06-24 15:43:56 +05:30
ashilkn
98c444fab9 [mob][photos] Make methods private 2024-06-24 15:43:16 +05:30
Manav Rathi
51c9094da4 Prevent layout shift 2024-06-24 15:39:03 +05:30
ashilkn
815a730d59 [mob][photos] Schedule update magic cache in 10 seconds if remote asset has changed 2024-06-24 15:29:56 +05:30
Manav Rathi
4651c6f6d1 Reactive 2024-06-24 15:29:06 +05:30
ashilkn
11666eeb33 [mob][photos] Write function that selected 4 prompts from list of prompts at random and returns them as MagicCache objects 2024-06-24 15:28:31 +05:30
Laurens Priem
18ec275d75 Clip fix unusable formats (#2270)
## Description

When a certain image format cannot be decoded, clip will store a local
empty result instead of infinitely retrying.
2024-06-24 15:22:08 +05:30
Manav Rathi
073c22ae47 Reuse 2024-06-24 15:11:55 +05:30
Manav Rathi
6926167f3d System props 2024-06-24 15:09:19 +05:30
Manav Rathi
899d1ff6a4 Custom component 2024-06-24 15:08:18 +05:30
laurenspriem
47128ab52d [mob][photos] Store local empty clip result on errors 2024-06-24 15:04:01 +05:30
Manav Rathi
21fa0ee7a7 On email verification page 2024-06-24 14:47:29 +05:30
Manav Rathi
04f4103314 Landing page 2024-06-24 13:46:56 +05:30
atyabbin
66b23d111d Dashboard improvement (#2264)
Added options for Delete Account and Update Subscription in the
dashboard, Clicking on Update Subscription option opens a popup window
for taking user input
2024-06-24 13:18:24 +05:30
Manav Rathi
eccde54afe Use same format in sidebar 2024-06-24 11:44:01 +05:30
Manav Rathi
2db166bcf7 Add a convenience function to avoid code duplication 2024-06-24 11:42:49 +05:30
Manav Rathi
e81e088b02 Also show in signup section 2024-06-24 11:36:33 +05:30
Manav Rathi
9e3a3d852e Show on login 2024-06-24 11:21:00 +05:30
Manav Rathi
f40c277aa8 Show in sidebar 2024-06-24 11:00:45 +05:30
laurenspriem
ef0396983b [mob][photos] Remove unused method 2024-06-24 10:59:57 +05:30
ashilkn
f5873d2ade [mob][photos] MagicCache model and MagicCacheService 2024-06-24 10:19:36 +05:30
ashilkn
adb358ba5c [mob][photos] Write function in RemoteAssetService that returns the asset when given a remote path if it's different from the existing local copy of asset. Else return null 2024-06-24 10:11:18 +05:30
Manav Rathi
ea4da2c2a4 Fin 2024-06-23 20:23:19 +05:30
Manav Rathi
72de042b53 Inline 2024-06-23 20:22:28 +05:30
Manav Rathi
57a674fd26 Skip on our own prod 2024-06-23 20:17:19 +05:30
Manav Rathi
66f9dc98ee Rearrange 2024-06-23 20:12:05 +05:30
Manav Rathi
ff714f3420 Rename 2024-06-23 20:10:06 +05:30
Manav Rathi
6b4416c3a9 l10n keys 2024-06-23 20:07:18 +05:30
Manav Rathi
704e89c903 allow empty 2024-06-23 20:01:54 +05:30
Manav Rathi
f34ecc1016 Fix imports - This + preceding commits fix SSR 2024-06-23 19:59:53 +05:30
Manav Rathi
4c1462e18a Remove unused 2024-06-23 19:52:55 +05:30
Manav Rathi
bcbf03fa51 Move 2024-06-23 19:52:01 +05:30
Manav Rathi
2436d2fcaa Move 2024-06-23 19:32:59 +05:30
Manav Rathi
6cf942ec9e Also handle arbitrary validation errors 2024-06-23 19:18:22 +05:30
Manav Rathi
fcffd688d6 Deal with worker urls 2024-06-23 19:15:07 +05:30
Manav Rathi
669ae855f1 Prevent layout shift 2024-06-23 18:54:58 +05:30
Manav Rathi
3b3c802aa4 Validate URLs 2024-06-23 18:24:11 +05:30
Manav Rathi
86538a6d23 Connect 2024-06-23 17:23:07 +05:30
Manav Rathi
815666bbe7 Assert a pong 2024-06-23 17:17:39 +05:30
Manav Rathi
5a52d79a88 Uncomplicate
There are many things the form can do better, but going against the grain of the
libraries we're using is resulting in a more broken interaction (e.g. keyboard
nav).
2024-06-23 17:03:14 +05:30
Manav Rathi
ec2d9a80fc Compare to actual state 2024-06-23 16:50:30 +05:30
Manav Rathi
65764fa982 Conditional 2024-06-23 16:07:21 +05:30
Manav Rathi
9579e30a68 Conditional 2024-06-23 15:55:32 +05:30
Manav Rathi
37b5b69955 Trailing button 2024-06-23 15:43:37 +05:30
Neeraj Gupta
ead9ed0904 [photos] Fix minor errors + remove noise from sentry (#2265)
## Description

## Tests
2024-06-23 13:14:49 +05:30
Neeraj Gupta
b2f13c4b3d [photos] Fix late init error 2024-06-23 13:12:13 +05:30
Neeraj Gupta
a3ce66b87f [photos] Bump version 2024-06-23 13:11:16 +05:30
Neeraj Gupta
f30d1fe45f [photos] Skip sending handled error to sentry 2024-06-23 13:10:49 +05:30
Neeraj Gupta
f8d1851311 [mob] Fix range error in getUploadedFiles 2024-06-23 12:24:44 +05:30
atyabbin
206e387834 Modified calender for date picking 2024-06-23 11:37:20 +05:30
atyabbin
567dfb7e6b Added options for delete account and update subscription 2024-06-23 11:13:59 +05:30
Neeraj Gupta
279bdc1e66 [cli] Add admin cmd to disable passkey (#2250)
## Description

## Tests
2024-06-23 10:38:24 +05:30
Neeraj Gupta
169e70cc0f [cli] Bump version cli-v0.1.17 2024-06-23 10:38:00 +05:30
Neeraj Gupta
f108ee2bff [FIX(auth)] also move the pacman build to artifacts (#2259)
## Description

## Tests
2024-06-23 09:51:25 +05:30
Manav Rathi
e390d73af4 [server] Reduce DB healthcheck interval in starter Docker compose template (#2263)
The museum container depends on the postgres container being up and the
DB being ready to accept connections. To enforce this dependency, we use
the healthcheck attribute.

See: https://docs.docker.com/compose/startup-order/

The value of the healthcheck interval was set to 1s since the default
(30s) caused each `docker compose up` to require at least 30 seconds on
each startup, which was prohibitive. The downside is that the
healthchecks continue to run beyond the startup phase too, and for small
VMs, this caused a lot of unnecessary CPU usage.

Thankfully, now Docker has a new option for a different healthcheck
during the start phase:

> start interval is the time between health checks during the start
period. This
  option requires Docker Engine version 25.0 or later.

They were added in Docker compose 2.20.2, released an year ago
(2023-07-19).

https://docs.docker.com/compose/release-notes/#2202
2024-06-23 09:32:30 +05:30
Manav Rathi
0f1d45587e [server] Reduce DB healthcheck interval in starter Docker compose template
The museum container depends on the postgres container being up and the DB being
ready to accept connections. To enforce this dependency, we use the healthcheck
attribute.

See: https://docs.docker.com/compose/startup-order/

The value of the healthcheck interval was set to 1s since the default (30s)
caused each `docker compose up` to require at least 30 seconds on each startup,
which was prohibitive. The downside is that the healthchecks continue to run
beyond the startup phase too, and for small VMs, this caused a lot of
unnecessary CPU usage.

Thankfully, now Docker has a new option for a different healthcheck during the
start phase:

> start interval is the time between health checks during the start period. This
  option requires Docker Engine version 25.0 or later.

They were added in Docker compose 2.20.2, released an year ago (2023-07-19).

https://docs.docker.com/compose/release-notes/#2202
2024-06-23 09:22:51 +05:30
Manav Rathi
5854a9e10a document @mui/material-icons 2024-06-23 09:08:27 +05:30
Manav Rathi
94cd1991ce autoFocus 2024-06-23 08:50:53 +05:30
Manav Rathi
46644d9d4d Save 2024-06-23 08:47:53 +05:30
Manav Rathi
93dec0a9f4 Tweaks 2024-06-23 08:47:53 +05:30
Manav Rathi
c79507a5d4 use 2024-06-23 08:47:53 +05:30
Manav Rathi
a170acb28b ut 2024-06-23 08:47:53 +05:30
Manav Rathi
7a2f08f49a ex 2024-06-23 08:47:53 +05:30
Manav Rathi
6ea003a9a1 Styling 2024-06-23 08:47:53 +05:30
Manav Rathi
c54c4022ad Errors 2024-06-23 08:47:53 +05:30
Manav Rathi
445af59829 Form 2024-06-23 08:47:53 +05:30
Manav Rathi
7f573f2181 Doc and roll 2024-06-23 08:47:53 +05:30
Manav Rathi
a9dc8da07c Update formik and move it to @/new
Read throught the release notes, saw only backwards compatible minor and patch changes.

https://github.com/jaredpalmer/formik/releases
2024-06-23 08:47:53 +05:30
Manav Rathi
c2d2612f33 Simplify 2024-06-23 08:47:53 +05:30
Manav Rathi
3aa3fbba6d Close on esc but not backdrop clicks 2024-06-23 08:47:53 +05:30
Manav Rathi
35c8970d20 Ignore button taps 2024-06-23 08:47:53 +05:30
Manav Rathi
0f076e19be Reset 2024-06-23 08:47:53 +05:30
Manav Rathi
306430d67d Sketch 2024-06-23 08:47:53 +05:30
Manav Rathi
a28c983c06 [server] Tweak verification email (#2260)
Despite all of our efforts, gmail insists on marking our verification
emails to new users as spam. We have already changed our mail delivery
providers; non-gmail users don't face this problem; and even for gmail,
(a) existing Ente users also get these mails correctly with
SPF/DKIM/DMARC PASS, and (b)non-verification emails get delivered (in
the anecdotal reports we've received).

As an attempt at some voodoo, try changing the subject and content of
the mail, to try and rule out some faulty gmail classifier that uses the
email body.

**Tested**

- [x] Locally, by changing SendTemplatedEmail to log only
2024-06-23 00:13:00 +05:30
Manav Rathi
53140de879 [server] Tweak verification email
Despite all of our efforts, gmail insists on marking our verification emails to
new users as spam. We have already changed our mail delivery providers;
non-gmail users don't face this problem; and even for gmail, (a) existing Ente
users also get these mails correctly with SPF/DKIM/DMARC PASS, and (b)
non-verification emails get delivered (in the anecdotal reports we've received).

As an attempt at some voodoo, try changing the subject and content of the mail,
to try and rule out some faulty gmail classifier that uses the email body.
2024-06-23 00:07:31 +05:30
Prateek Sunal
3c5ea83f8a fix: pacman scripts 2024-06-23 00:01:17 +05:30
Prateek Sunal
a59ca2bdf0 fix(auth): also move the pacman build to artifacts 2024-06-22 23:32:54 +05:30
Neeraj Gupta
47ad7c7827 [auth] Update logs (#2258)
## Description

## Tests
2024-06-22 23:09:51 +05:30
Prateek Sunal
516c67e6e9 [FIX(auth)] Run pacman build on beta, fix deps (#2257)
## Description

- Only Build pacman for beta releases
- Fix dependencies
- Bump version
2024-06-22 23:06:49 +05:30
Prateek Sunal
e7970df6cf chore: bump version 2024-06-22 23:00:36 +05:30
Prateek Sunal
3ac4294c2c fix(auth): only run pacman build on beta, fix deps 2024-06-22 22:59:49 +05:30
Neeraj Gupta
c8451ecc64 [auth] Update logs 2024-06-22 22:47:38 +05:30
Prateek Sunal
f5a31397f3 chore(auth): bump to v3.0.16 2024-06-22 22:41:58 +05:30
Prateek Sunal
11b443a3f9 fix(auth): bundle metainfo linux 2024-06-22 22:41:58 +05:30
Manav Rathi
c95605127d [server] Allow replication without Cloudflare worker (#2254)
## Description
I recently started self hosting an instance of Ente. All went well until
I tried to enable replication.

This PR adds an option that allows replication to be enabled without a
Cloudflare worker, useful for self hosting.

## Tests
It doesn't look like there are any automated tests that I can add to,
but let me know if I'm wrong. Otherwise, I tested this on my own
instance and it's working as expected.
2024-06-22 22:35:31 +05:30
Neeraj Gupta
7bce4e25ae Update adding-icons.md 2024-06-22 22:34:30 +05:30
Victor Benincasa
19383ad360 Warning about icon sizes and instructions on matching the icon to the issuer. 2024-06-22 22:34:30 +05:30
Prateek Sunal
0b426fc1ab [FEAT] Auth goodies for linux (#2255)
## Description

- Pacman Build for Arch linux (Alpha)
- Add metainfo for linux
- Fix RPM build
2024-06-22 22:31:03 +05:30
Kermina Awad
81b07e772d make replication.worker-url optional 2024-06-22 12:49:35 -04:00
Prateek Sunal
65770ff58b fix(auth): update script for pacman 2024-06-22 22:13:15 +05:30
Prateek Sunal
bf926fe4b6 feat(auth): add appdata for ente_auth 2024-06-22 22:13:00 +05:30
Neeraj Gupta
fccf7e3149 [cli] Update docs 2024-06-22 20:48:35 +05:30
Neeraj Gupta
4042a5876e [cli] improve log 2024-06-22 20:48:02 +05:30
Victor Benincasa
de36d1f9fb Additional optimizations in file size and icon quality. 2024-06-22 20:20:24 +05:30
Victor Benincasa
18fb24fcd2 Additional optimizations in file size and icon quality. 2024-06-22 20:19:23 +05:30
Manav Rathi
5687f75b0b [web] Fix for the staging deployment change (#2253)
Fix for https://github.com/ente-io/ente/pull/2252

> Error: An error occurred trying to start process '/usr/bin/bash' with
working
  directory '/home/runner/work/ente/ente/web'. No such file or directory
2024-06-22 18:58:39 +05:30
Manav Rathi
be82595e82 [web] Fix for the staging deployment change
Fix for https://github.com/ente-io/ente/pull/2252

> Error: An error occurred trying to start process '/usr/bin/bash' with working
  directory '/home/runner/work/ente/ente/web'. No such file or directory
2024-06-22 18:57:18 +05:30
Manav Rathi
d200bce7ea [web] Deploy to staging from staging/web branch if it exists (#2252)
This allows us to temporarily deploy arbitrary branches to staging by
pushing to a staging/web branch. Removing that branch reverts to the
existing and default behaviour of deploying main.

Untested (need to deploy and trigger)

Refs:

-
942f6a9fe9
-
https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
-
https://stackoverflow.com/questions/57819539/github-actions-how-to-share-a-calculated-value-between-job-steps
2024-06-22 18:49:01 +05:30
Manav Rathi
05e490aa91 [web] Build the staging/web branch when deploying if it exists
This allows us to temporarily deploy arbitrary branches to staging by pushing to
a staging/web branch. Removing that branch reverts to the existing and default
behaviour of deploying main.

Untested (need to deploy and trigger)

Refs:

- 942f6a9fe9
- https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
- https://stackoverflow.com/questions/57819539/github-actions-how-to-share-a-calculated-value-between-job-steps
2024-06-22 18:47:53 +05:30
laurenspriem
716f5f1be2 [mob][photos] Cleanup face DB 2024-06-22 18:38:10 +05:30
laurenspriem
a0d8dd9b9e [mob][photos] Cleanup face models 2024-06-22 18:30:55 +05:30
laurenspriem
897245d6c1 [mob][photos] Cleanup alignment 2024-06-22 18:23:53 +05:30
laurenspriem
99e4d098e3 [mob][photos] Cleanup detection 2024-06-22 18:20:53 +05:30
laurenspriem
b276344f1e [mob][photos] Cleanup face result 2024-06-22 18:17:38 +05:30
Neeraj Gupta
e77ebef801 [cli] Add admin cmd to disable passkey 2024-06-22 17:54:06 +05:30
Neeraj Gupta
32757c3fb6 [auth] Lint fix (#2248)
## Description

## Tests
2024-06-22 16:56:02 +05:30
Neeraj Gupta
411e444295 [auth] Lint fix 2024-06-22 16:54:58 +05:30
Neeraj Gupta
abca5bc798 [auth] Potential fix for invalid handshake error on Windows (#2247)
## Description

## Tests
2024-06-22 16:49:55 +05:30
Neeraj Gupta
8841dd44c4 Additional optimizations in file size and icon quality. (#2244) 2024-06-22 16:49:10 +05:30
Neeraj Gupta
316a5e7209 [auth] Bump version 2024-06-22 16:48:16 +05:30
Neeraj Gupta
2e53dcca00 Add logs 2024-06-22 16:47:53 +05:30
laurenspriem
87e2a32d49 [mob][photos] Remove old mlVersions 2024-06-22 13:54:42 +05:30
laurenspriem
af11ff21f4 [mob][photos] Cleanup exceptions 2024-06-22 13:02:23 +05:30
laurenspriem
aab7e39ab3 [mob][photos] Cleanup feedback 2024-06-22 12:53:35 +05:30
Manav Rathi
595d6f894e [accounts] Make it easier for self hosters to use passkeys (#2246)
Solves a problem someone was facing on our Discord:

https://discord.com/channels/948937918347608085/1215252276911018014/1253766354402545754
2024-06-22 11:38:23 +05:30
Manav Rathi
02a4e2b1ca [accounts] Make it easier for self hosters to use passkeys
Solves a problem someone was facing on our Discord:
https://discord.com/channels/948937918347608085/1215252276911018014/1253766354402545754
2024-06-22 11:30:20 +05:30
laurenspriem
7c535adff1 [mob][photos] Make blur detection static method 2024-06-22 00:36:07 +05:30
laurenspriem
c8effce8fc [mob][photos] More cleanup 2024-06-22 00:33:26 +05:30
laurenspriem
2855181de9 [mob][photos] Cleanup face embedding service 2024-06-22 00:31:56 +05:30
laurenspriem
25515c4403 [mob][photos] Cleanup detections 2024-06-22 00:27:38 +05:30
Victor Benincasa
e7b15b67d8 Additional optimizations in file size and icon quality. 2024-06-21 14:50:07 -03:00
Aman Raj Singh Mourya
3fe0faff6a [mob][photos] Implement hashing and salting for storing custom PIN/password in secure storage 2024-06-21 18:03:39 +05:30
Neeraj Gupta
30dd41e3ca Bump version (#2239)
## Description

## Tests
2024-06-21 14:18:52 +05:30
Neeraj Gupta
f8f43b8ab7 Bump version 2024-06-21 14:18:20 +05:30
Neeraj Gupta
662210b168 [auth] Potential fix for invalid handshake error 2024-06-21 13:35:50 +05:30
Neeraj Gupta
2f60894e59 [auth] Show contact support option on error (#2238)
## Description

## Tests
2024-06-21 12:18:52 +05:30
Neeraj Gupta
da9262da79 [auth] Bump version v3.0.14 2024-06-21 12:10:35 +05:30
Neeraj Gupta
29539d9db2 [auth] Show contact support button on error dialogs 2024-06-21 12:08:26 +05:30
Manav Rathi
c4df9c7bd4 [workers] Use yarn workspaces (#2237)
The duplicate disk usage of individual node_modules is starting to get
prohibitive.
2024-06-21 11:35:36 +05:30
Manav Rathi
37296806d6 Format 2024-06-21 11:35:24 +05:30
Manav Rathi
14e0afd867 [workers] Use yarn workspaces
The duplicate disk usage of individual node_modules is starting to get
prohibitive.
2024-06-21 11:33:38 +05:30
Laurens Priem
08ceb0d5f2 Upgrade onnx dependency (#2231)
## Description

## Tests
2024-06-21 11:09:03 +05:30
Neeraj Gupta
1e83ef0c06 Add contact support button 2024-06-21 09:09:47 +05:30
Neeraj Gupta
47eef986d7 [auth] Add new and updates custom icons in auth (#2157)
**New icons added:**

- NuCommunity
- CloudAMQP

**Updated icons:**

- Twitch
- Samsung
- Render
- Registro.br
2024-06-21 08:53:31 +05:30
Neeraj Gupta
378618ac1f Maximize icon compatibility (#2226) 2024-06-21 08:50:01 +05:30
Neeraj Gupta
01c1ae3b97 Reduce filesize (#2227) 2024-06-21 08:49:39 +05:30
Neeraj Gupta
ebd35c62ec Optimize and reduce filesize (#2228) 2024-06-21 08:49:26 +05:30
Neeraj Gupta
34753b5786 Optimize and reduce filesize (#2229) 2024-06-21 08:49:02 +05:30
Neeraj Gupta
56b62d8b1b Fix keyboard pop up when autofocus is turned on (#2232)
## Description

Keyboard didn't pop up when search-field was focused on startup. For
more information see this issue:
https://github.com/ente-io/ente/issues/279

## Tests

Created an build for my Android phone.
Outcome was as expected 
"Focus search on app start"  enabled did popped the keyboard out.
"Focus search on app start" disabled did NOT popped the keyboard out and
also didn't focused the search-textfield.


This is my first pull request to any open source project. So feel free
to give some feedback!
2024-06-21 08:47:41 +05:30
Manav Rathi
705dd1bee9 [desktop] Modify the upload workaround to not get in the way of Stripe payments (#2235) 2024-06-20 23:12:31 +05:30
Manav Rathi
921ddac630 [desktop] Modify the upload workaround to not get in the way of Stripe payments 2024-06-20 23:01:06 +05:30
Manav Rathi
c8158737f6 [desktop] Add a memory usage high water mark during uploads (#2233)
Tested on macOS with large videos, but I was unable to hit the scenario
described. Will request a user who reported this issue on their Linux
machine to try out a nightly build with this change and see if it helps.
2024-06-20 21:34:10 +05:30
Manav Rathi
398ce9d445 [desktop] Add a memory usage high water mark during uploads 2024-06-20 21:30:55 +05:30
Neeraj Gupta
933ab3ac2c Upgrade onnx dependency 2024-06-20 15:48:43 +05:30
Aman Raj Singh Mourya
fc7e7f4c88 [mob][photos] resolved PR comments 2024-06-20 12:57:14 +05:30
Victor Benincasa
b798dacaf2 Optimize and reduce filesize 2024-06-20 02:56:30 -03:00
Victor Benincasa
c3e94a405f Optimize and reduce filesize 2024-06-20 02:38:31 -03:00
Victor Benincasa
22e09de07a Reduce filesize 2024-06-20 02:34:12 -03:00
Victor Benincasa
492d4f0fd7 Maximize icon compatibility 2024-06-20 02:13:38 -03:00
Fokke de Boer
b9556a91a0 Fix keyboard pop up when autofocus is turned on 2024-06-20 00:45:59 +02:00
Aman Raj Singh Mourya
39d232a937 [mob][photos] landscape mode keyboard configured 2024-06-19 18:26:36 +05:30
laurenspriem
950d6a9622 [mob][photos] Rename 2024-06-19 18:11:01 +05:30
laurenspriem
e2da01dd5b [mob][photos] Simplify SimilarityTransform 2024-06-19 18:06:24 +05:30
laurenspriem
6954c960d8 [mob][photos] Remove redundant clustering code 2024-06-19 17:46:25 +05:30
laurenspriem
0c790e64f8 [mob][photos] Rename arcface 2024-06-19 17:43:22 +05:30
Neeraj Gupta
477bc4ca92 [mob] Reduce error severity (#2224)
## Description

## Tests
2024-06-19 17:22:11 +05:30
Neeraj Gupta
9bf8e16978 [mob] Undo redundant changes 2024-06-19 17:10:40 +05:30
Neeraj Gupta
deace2bccd Skip reporting dio error to sentry 2024-06-19 16:28:38 +05:30
Ashil
f78e01ecd5 [mob][photos] Select all from gallery (only available to internal users) (#2217)
## Description

- This feature is behind feature flag, only available to internal users.
- Needs testing and some UI tweaks.


https://github.com/ente-io/ente/assets/77285023/19938641-e8b3-4473-bb23-909f57db6994
2024-06-19 16:23:53 +05:30
Neeraj Gupta
1a9e1d7d77 Reduce error noise 2024-06-19 16:20:37 +05:30
Laurens Priem
1481c16b31 Remove feedback (#2223)
## Description

This fixes a bug where user feedback to remove a file from a certain
person would immediately be overwritten by remote sync.

## Tests

Tested in debug mode on my pixel phone.
2024-06-19 16:19:21 +05:30
laurenspriem
15baf7d0fb [mob][photos] Update remote on remove feedback 2024-06-19 16:15:41 +05:30
Neeraj Gupta
15f4e5cae8 Reduce error noise 2024-06-19 16:14:55 +05:30
Neeraj Gupta
3321d58455 reduce error noise 2024-06-19 16:05:04 +05:30
laurenspriem
38e1208591 [mob][photos] Logging 2024-06-19 14:48:13 +05:30
laurenspriem
0588c32b52 [mob][photos] Don't let syncing trigger another sync 2024-06-19 14:47:40 +05:30
Neeraj Gupta
feaf8e3a8d [auth] Sync on app resume (#2221)
## Description

## Tests
Tested locally
2024-06-19 14:27:45 +05:30
Neeraj Gupta
72584e49d6 [auth] Clean up log 2024-06-19 14:26:43 +05:30
Neeraj Gupta
21f269c999 [auth] Bump version v3.0.13 2024-06-19 14:25:37 +05:30
Neeraj Gupta
0e92a56378 [auth] Update packages 2024-06-19 14:22:00 +05:30
Neeraj Gupta
e560eaeb41 [auth] Handle duplicate signout dialog 2024-06-19 14:21:48 +05:30
Neeraj Gupta
753801c401 [auth] Sync frequently to identify logout early 2024-06-19 14:21:34 +05:30
Manav Rathi
057ea875c9 [web] Better tsc/lint in more places (#2220)
\+ misc
2024-06-19 14:11:14 +05:30
laurenspriem
dfcd254668 [mob][photos] Don't falsely fire PeopleChangedEvent 2024-06-19 14:10:04 +05:30
laurenspriem
541ed4fdba [mob][photos] Logging 2024-06-19 14:07:20 +05:30
Manav Rathi
278e40639f Another temp fix 2024-06-19 14:05:56 +05:30
Manav Rathi
93d1813f97 Help not hinder 2024-06-19 13:57:41 +05:30
laurenspriem
8c0d21ea25 [mob][photos] More logging 2024-06-19 13:56:37 +05:30
Neeraj Gupta
ae93fbf45e [auth] Handle already logged out error 2024-06-19 13:53:25 +05:30
laurenspriem
53cb013576 [mob][photos] Better logging 2024-06-19 13:50:12 +05:30
Manav Rathi
a4ff0f0fd8 Disable 2024-06-19 13:43:15 +05:30
Manav Rathi
cd56583a56 Fix 2024-06-19 13:42:27 +05:30
Manav Rathi
42ac43ed90 Disable 2024-06-19 13:41:22 +05:30
Manav Rathi
face4bb55b Fix lints 2024-06-19 13:39:54 +05:30
Manav Rathi
c6110087d9 Fix lints 2024-06-19 13:34:58 +05:30
Manav Rathi
b89968ca47 Fix lints 2024-06-19 13:32:41 +05:30
Manav Rathi
f9588cf1c8 Allow referrer
https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md
2024-06-19 13:31:32 +05:30
Manav Rathi
04fd2f8007 Fix lints 2024-06-19 13:30:18 +05:30
Manav Rathi
b52192df6a Update 2024-06-19 13:25:10 +05:30
Manav Rathi
95cf85e573 Workers are in 2024-06-19 13:23:41 +05:30
Manav Rathi
6ed2ad0d28 [accounts] Handle long passkey names (#2219)
/cc @ua741
2024-06-19 13:08:42 +05:30
ashilkn
5d61750508 [mob][photos] Remove comments, clean up, use better variable name, add comments 2024-06-19 12:56:00 +05:30
Manav Rathi
22cf4eb1fb [accounts] Handle long passkey names 2024-06-19 12:52:58 +05:30
Neeraj Gupta
431ad66723 Dashboard improvement (#2207)
After clicking the FETCH button, if the data is fetched successfully
then a new button labelled as 'MORE' appears, clicking on this opens a
dropdown menu which has 3 options: Disable2fa, Disable Passkeys and
Close Family, clicking on any of the option directly performs the action
required.
2024-06-19 12:39:08 +05:30
ashilkn
6dfac5643a Merge branch 'main' into select_all 2024-06-19 12:29:42 +05:30
ashilkn
46b9aa259c [mob][photos] Keep select all feature behind feature flag 2024-06-19 12:28:47 +05:30
ashilkn
d7a1bf3fcc [mob][photos] Add select all feature to galleries (3) 2024-06-19 12:21:52 +05:30
atyabbin
b7d3e5439a Pressing enter key will call fetchdata 2024-06-19 12:09:55 +05:30
Manav Rathi
cca1b1971f [infra] Import Sentry configuration into monorepo (#2216) 2024-06-19 12:01:54 +05:30
Manav Rathi
e6a47b29bb [infra] Import Sentry configuration into monorepo 2024-06-19 10:54:04 +05:30
Neeraj Gupta
a10562018c [server] Improve passkey error handling (#2211)
## Description

## Tests
Tested locally
2024-06-19 10:12:20 +05:30
Neeraj Gupta
2a905a439c [server] Inc passkey name limit to 256 2024-06-19 10:11:10 +05:30
atyabbin
ef37a4cad8 Reverting the changes in local.yaml 2024-06-19 09:56:59 +05:30
Neeraj Gupta
2fcbebd375 [mob] Log suggestion errors (#2212)
## Description

## Tests
2024-06-18 23:36:15 +05:30
Neeraj Gupta
c50366ce3b Log suggestion errors 2024-06-18 23:33:36 +05:30
Neeraj Gupta
70a33ca0b8 [mob] Extract string 2024-06-18 23:30:26 +05:30
Neeraj Gupta
b89378e838 Return bad request if name validation fails 2024-06-18 22:54:42 +05:30
Manav Rathi
00f59dc842 [web] New translations (#2210)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-18 20:20:12 +05:30
Crowdin Bot
64470e156a New Crowdin translations by GitHub Action 2024-06-18 14:49:00 +00:00
Manav Rathi
5fbca87998 [meta] Split translation related workflows (#2209)
1. Sources uploaded anytime the {mobile,auth}/lib/l10n/arb/app_en.arb
changes in main.
2. Tuesday morning: Download translations from crowdin.

Step 2 can be done manually by running the workflows, e.g.

    gh workflow run auth-crowdin-push.yml
    gh workflow run mobile-crowdin-push.yml
2024-06-18 20:18:23 +05:30
Manav Rathi
ce989b786f [meta] Split translation related workflows
1. Sources uploaded anytime the {mobile,auth}/lib/l10n/arb/app_en.arb changes in main.
2. Tuesday morning: Download translations from crowdin.

Step 2 can be done manually by running the workflows, e.g.

    gh workflow run auth-crowdin-push.yml
    gh workflow run mobile-crowdin-push.yml
2024-06-18 20:15:00 +05:30
atyabbin
480a86af0a Changed the label of the new Button from 'More' to 'MORE' 2024-06-18 19:00:32 +05:30
Aman Raj Singh Mourya
1d9f4e27c7 [mob][photos] changes to the Pinput container 2024-06-18 18:59:01 +05:30
Laurens Priem
8a9d196282 [Mob][Photos] Show video duration only on Gallery (#2205)
## Description

- Show video duration overlay only on galleries
- In all other places, show a centred play button -- showing the overlay
on some places wasn't looking good, like memories, when opening a video
etc. So have replaced the overlay with a play button, just like before.
- Pass optional parameter to get Thumbnail without any icons stacked
over it.
2024-06-18 18:43:28 +05:30
atyabbin
a5b0bc259d Added a dropdown button to select different actions to be performed 2024-06-18 18:40:40 +05:30
laurenspriem
848f3a0f6b [mob][photos] Cleanup image utils 2024-06-18 18:17:40 +05:30
Neeraj Gupta
0ee2da9028 [server] Return bad req if passkey is deleted 2024-06-18 18:01:44 +05:30
laurenspriem
7edfc15b67 [mob][photos] Cleanup ImageMlIsolate 2024-06-18 17:56:20 +05:30
laurenspriem
e3e6e8e244 [mob][photos] Cleanup FaceEmbeddingService 2024-06-18 17:35:38 +05:30
laurenspriem
089d1a2389 [mob][photos] Cleanup face detection service 2024-06-18 17:11:08 +05:30
ashilkn
a099869ecc [mob][photos] Add an new instance varialbe in ThumbnailWidget which can be optionally passed as true to get the thumbnail without any overlay icons 2024-06-18 17:10:22 +05:30
ashilkn
d282ef2eae [mob][photos] Show video duration only on GalleryFileWidget and show a centered play icon otherwise 2024-06-18 17:06:55 +05:30
Neeraj Gupta
bcca58d5c0 [auth] New translations (#2185)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-06-18 16:49:52 +05:30
Neeraj Gupta
ff0fa9a69f Date picker transaltion (#2203)
## Description
Fixes https://github.com/ente-io/ente/issues/2155

## Tests
Tested locally
2024-06-18 15:48:10 +05:30
Neeraj Gupta
852e3a59a3 [mob] Show am/pm picker for selected locale 2024-06-18 15:45:29 +05:30
Manav Rathi
5bad7dcb7a [web] Remove retries and other knick-knacks off the HEIC conversion (#2202) 2024-06-18 15:45:24 +05:30
Neeraj Gupta
23f6da17c4 [mob] Pass correct locale for datepicker 2024-06-18 15:41:14 +05:30
Manav Rathi
b22af43e8a Reuse 2024-06-18 15:39:11 +05:30
Manav Rathi
36e3907dfc [web] Remove retries and other knick-knacks off the HEIC conversion
- Have kept the GC pause
- If needed, will selectively bring back the other workarounds still demonstrably needed
2024-06-18 15:26:56 +05:30
Neeraj Gupta
38ee01017a [mob][fix] Hide archived items from memories (#2201)
## Description

## Tests
Tested locally and verified the archived items are now hidden from
memories.
2024-06-18 15:25:27 +05:30
Neeraj Gupta
ec81300971 [mob][fix] Hide archived items from memories 2024-06-18 15:23:28 +05:30
Crowdin Bot
bd239241d7 New Crowdin translations by GitHub Action 2024-06-18 09:27:36 +00:00
Manav Rathi
9951e8def4 [meta] Update to v2 of Crowdin action (#2200)
https://github.com/crowdin/github-action/releases/tag/v2.0.0
2024-06-18 14:57:04 +05:30
Manav Rathi
76993961f0 [meta] Update to v2 of Crowdin action
https://github.com/crowdin/github-action/releases/tag/v2.0.0
2024-06-18 14:56:29 +05:30
Manav Rathi
29805bdf4d [meta] Change translation sync freq to weekly (#2198) 2024-06-18 14:52:44 +05:30
Manav Rathi
7fb2956a2e [meta] Change translation sync freq to weekly 2024-06-18 14:51:54 +05:30
Manav Rathi
ec82518639 [web] New translations (#2197)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-18 14:51:17 +05:30
Crowdin Bot
b4cd1c715f New Crowdin translations by GitHub Action 2024-06-18 09:17:16 +00:00
Manav Rathi
9603c284dc [web] Sync delete message with mobile (#2196) 2024-06-18 14:46:32 +05:30
Neeraj Gupta
a638f9b4a1 [mobile] New translations (#2184)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-06-18 14:39:55 +05:30
Neeraj Gupta
a5c28f1a8e [cli] Add support for handling passkey based MFA (#2195)
## Description
- Print help docs when no input is passed.

## Tests
Tested locally
2024-06-18 14:38:09 +05:30
Neeraj Gupta
dd3d9c8d51 [cli] Bump version 0.1.16 2024-06-18 14:37:38 +05:30
Neeraj Gupta
58b9121e52 Add support to handle passkey verification 2024-06-18 14:36:15 +05:30
Manav Rathi
606b0c35bb context != nested 2024-06-18 14:30:00 +05:30
Manav Rathi
429d9fdbe5 [pk] Whitelist ente-cli's custom protocol (#2194) 2024-06-18 14:26:45 +05:30
atyabbin
326e673d12 Added display message after button clicks 2024-06-18 14:25:37 +05:30
Neeraj Gupta
dcbdeca64e [cli] Print help when no command is specified 2024-06-18 14:25:21 +05:30
Manav Rathi
32faa7f4f8 [pk] Whitelist ente-cli's custom protocol 2024-06-18 14:24:02 +05:30
Neeraj Gupta
ecb0d47055 [cli] Helper method to open url in browser 2024-06-18 14:15:31 +05:30
Manav Rathi
804fc71538 Context 2024-06-18 14:10:39 +05:30
Manav Rathi
eebfb27e5e Use same message as mobile 2024-06-18 14:09:33 +05:30
Manav Rathi
d18e257788 Key 2024-06-18 14:05:04 +05:30
Manav Rathi
adec30a01e Key 2024-06-18 14:03:06 +05:30
Manav Rathi
6645bd59b0 [web] Allow user to update subscriptions after cancel (#2192)
This fixes the issue reported by a user where they cancelled their
subscription, then later on tried to upgrade, but were then redirected
to the new subscription flow instead of the upgrade flow.

**Tested (on localhost):**

- [x] Buy new plan
- [x] Change existing plan
- [x] Change existing plan after cancelling
2024-06-18 13:43:46 +05:30
Manav Rathi
1aa3e9ac56 Key 2024-06-18 13:42:48 +05:30
Manav Rathi
ad406a0f0b Rearrange 2024-06-18 13:40:24 +05:30
Aman Raj Singh Mourya
aeb3e2be24 [mob][photos] implemeted custom keyboard 2024-06-18 13:37:32 +05:30
Manav Rathi
6d6eae4c11 Keys 2024-06-18 13:31:51 +05:30
Manav Rathi
772e3f2ebd Keys 2024-06-18 13:30:04 +05:30
atyabbin
00b68131a8 Solved the lint issues 2024-06-18 13:21:37 +05:30
atyabbin
de8d81300f Modified the Sidebar Component 2024-06-18 13:10:19 +05:30
Manav Rathi
34f92f93e5 [docs] Add sidebar link to missing thumbs troubleshooting page (#2191) 2024-06-18 13:07:37 +05:30
Manav Rathi
00a293df02 [docs] Add sidebar link to missing thumbs troubleshooting page 2024-06-18 13:07:06 +05:30
Manav Rathi
8ebdab291c [docs] Mention Firefox's privacy.resistFingerprinting issue (#2190) 2024-06-18 13:05:28 +05:30
Manav Rathi
148ee3f2c4 lf 2024-06-18 13:03:04 +05:30
Manav Rathi
4428996541 Fix 2024-06-18 13:02:28 +05:30
Manav Rathi
fdd2bffc07 [docs] Mention Firefox's privacy.resistFingerprinting issue 2024-06-18 13:00:52 +05:30
Manav Rathi
dbf737092b [web] Allow user to update subscriptions after cancel
This fixes the issue reported by a user where they cancelled their subscription,
then later on tried to upgrade, but were then redirected to the new subscription
flow instead of the upgrade flow.
2024-06-18 11:30:39 +05:30
Manav Rathi
5506652179 [web-ish] yarn 1.22.21 => 1.22.22 (#2188) 2024-06-18 11:00:01 +05:30
Manav Rathi
d1c9033866 [web-ish] yarn 1.22.21 => 1.22.22 2024-06-18 10:56:37 +05:30
Manav Rathi
795767b2cb [worker] Log on all non-200 responses from upstream +1 (#2187)
- Allow albums.ente.io/sh
- Log on all non-200 responses from upstream
- Use an easier to grep label
2024-06-18 10:08:16 +05:30
Manav Rathi
544a1df21b Log on all non-200 responses from upstream 2024-06-18 09:58:36 +05:30
atyabbin
e287e80257 Added new buttons in the dashboard 2024-06-18 09:56:00 +05:30
Manav Rathi
1dffe49069 Apparently shared albums code also uses the upload URL
Need to understand more why this is happening, but it is.
2024-06-18 09:55:44 +05:30
Manav Rathi
64dedb7edd thumb 2024-06-18 09:50:20 +05:30
Manav Rathi
7566702569 Allow albums.ente.io/sh 2024-06-18 09:38:45 +05:30
atyabbin
d716f18c2e Added buttons for disable2fa, close family and disable passkeys 2024-06-18 09:38:36 +05:30
Manav Rathi
d006f74cd4 add human readable upload result to log file output (#2183)
## Description

Make the logfile more user friendly by adding a readable upload result
string instead of just a number.

Before the logfile showed only a not human understandable number for the
upload result:
`"Uploaded xyz.jpg with result 3"` 

This PR adds the key from the enum UPLOAD_RESULT to make it easy for a
human to understand the result:
`"Uploaded xyz.jpg with result 3 (BLOCKED)"`
2024-06-18 09:32:15 +05:30
Manav Rathi
27191d777a [web] Faster and noUncheckedIndexedAccess compliant uint8array merging (#2186)
The script I used for testing - 10-100x faster, and the faster the
longer the arrays. Note that speed was not the primary motivator for
this change, I just wanted to enable `noUncheckedIndexedAccess`

```js
//zs = [...Array(10).keys()].map(() => Uint8Array.from(Array(100000).keys()));                                                    
zs = [...Array(100).keys()].map(() => Uint8Array.from(Array(1000).keys()));

const m0 = (as) => new Uint8Array(as.reduce((acc, x) => acc.concat(...x), []));

const mergeUint8Arrays = (as) => {
    const len = as.reduce((len, xs) => len + xs.length, 0);
    const result = new Uint8Array(len);
    as.reduce((n, xs) => (result.set(xs, n), n + xs.length), 0);
    return result;
};

s = performance.now();
a = m0(zs);
e = performance.now();
console.log(e - s, "ms", a.length, "m0");
//console.log(a);                                                                                                                 

s = performance.now();
b = mergeUint8Arrays(zs);
e = performance.now();
console.log(e - s, "ms", b.length, "merge");
//console.log(b);                                                                                                                 

console.log(JSON.stringify(a) === JSON.stringify(b))
```
2024-06-18 09:28:25 +05:30
Manav Rathi
c68a16a9a9 Enable 2024-06-18 09:25:35 +05:30
Manav Rathi
ed1e6df967 Faster and noUncheckedIndexedAccess compliant 2024-06-18 09:19:43 +05:30
Crowdin Bot
396651b2b5 New Crowdin translations by GitHub Action 2024-06-18 01:59:37 +00:00
Prateek Sunal
077d509c23 feat(workflow/auth): update source of flutter_distributor 2024-06-18 00:58:58 +05:30
Prateek Sunal
062b3f7176 feat(auth/linux): add pacman build 2024-06-18 00:58:42 +05:30
Joachim Weinbrenner
93f9848d02 add human readable upload result to log 2024-06-17 21:17:15 +02:00
ialexanderbrito
a2a295308d Merge branch 'main' into update-icons 2024-06-17 15:31:52 -03:00
Manav Rathi
aa0325d72c Faster method that doesn't trip up noUncheckedIndexedAccess 2024-06-17 20:29:28 +05:30
Manav Rathi
4510c14af2 Add a merge function 2024-06-17 19:58:46 +05:30
Manav Rathi
dc709e7649 [workers] Ignore case when comparing allowed headers (#2179) 2024-06-17 18:37:54 +05:30
Manav Rathi
b7fdf6c66b Log on errors 2024-06-17 18:35:59 +05:30
Manav Rathi
9f5115cc08 [workers] Ignore case when comparing allowed headers 2024-06-17 18:31:45 +05:30
Manav Rathi
a9bace7781 [desktop] Continue iterating of the pre-release process (#2177)
Ref:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
2024-06-17 16:47:56 +05:30
Manav Rathi
014fbfe0eb lf 2024-06-17 16:42:36 +05:30
Manav Rathi
38cdfcf0a4 [desktop] Continue iterating of the pre-release process 2024-06-17 16:40:35 +05:30
Manav Rathi
3f9107c497 [server] Stop making 32 bit ARM images (#2175)
The code doesn't get tested or run and is likely not safe for 32 bits

> 941.0 pkg/utils/billing/billing.go:117:13: cannot use
ente.FreePlanStorage
(untyped int constant 5368709120) as int value in struct literal
(overflows)
>
>
https://github.com/ente-io/ente/actions/runs/9546167833/job/26308448952
2024-06-17 16:28:17 +05:30
Manav Rathi
8870738330 [server] Stop making 32 bit ARM images
The code doesn't get tested or run and is likely not safe for 32 bits

> 941.0 pkg/utils/billing/billing.go:117:13: cannot use ente.FreePlanStorage
  (untyped int constant 5368709120) as int value in struct literal (overflows)
>
> https://github.com/ente-io/ente/actions/runs/9546167833/job/26308448952
2024-06-17 16:26:55 +05:30
Manav Rathi
38cae5c3d9 [docs] Passkeys: mention blog post (#2173) 2024-06-17 16:10:07 +05:30
Manav Rathi
e133e6272a [docs] Passkeys: mention blog post 2024-06-17 16:09:13 +05:30
Manav Rathi
c486b8f2c1 [desktop] Next RC (#2172) 2024-06-17 14:25:03 +05:30
Manav Rathi
f6cbbbead6 [docs] Mark passkeys as released (#2171) 2024-06-17 14:24:41 +05:30
Manav Rathi
3ecef5e751 [desktop] Next RC 2024-06-17 14:23:38 +05:30
Manav Rathi
ef64ce065b [docs] Mark passkeys as released 2024-06-17 14:09:56 +05:30
Manav Rathi
99fdbd8d40 photosd-v1.7.1 (#2170) 2024-06-17 13:57:28 +05:30
Manav Rathi
ac4a68d64e photosd-v1.7.1 2024-06-17 13:55:31 +05:30
Manav Rathi
dae5b29ef1 [docs] Add a border to help differentiate the image from the subsequent text (#2169)
Nb: black works fine in dark mode too
2024-06-17 12:24:14 +05:30
Manav Rathi
4451b489e4 Add a border to help differentiate the image from the subsequent text
black works fine in dark mode too
2024-06-17 12:22:47 +05:30
Manav Rathi
b19281ea2b [web] Update cast to use the tsconfig we want (#2168) 2024-06-17 12:08:41 +05:30
Manav Rathi
8e923fe443 All 2024-06-17 11:46:34 +05:30
Manav Rathi
fe47186ace tsc 2024-06-17 11:45:28 +05:30
Manav Rathi
326704a605 tsc 2024-06-17 11:38:13 +05:30
Manav Rathi
d560ed9a33 Reduce state 2024-06-17 11:35:19 +05:30
Manav Rathi
0a8f51832a tsc 2024-06-17 11:34:16 +05:30
Neeraj Gupta
d2112b984d Added coindcx icon (#2148)
## Description
Added coindcx icon
uploaded coindcx svg and updated json file.
2024-06-17 11:24:48 +05:30
Neeraj Gupta
50aad0c5d1 [Auth] Passkey fix for linux (#2154)
## Description

- Updated url to enteauth://passkey
- Support mimetype in appimage so redirection is done properly

## Tests
2024-06-17 11:24:09 +05:30
Manav Rathi
e6e721f0ba [workers] Import upload worker (#2164) 2024-06-17 09:12:15 +05:30
Manav Rathi
80b34f1aef Reduce spurious logs for headers our clients send 2024-06-17 09:03:27 +05:30
ashilkn
ffcda13a4e [mob][photos] Add select all feature to galleries (2) 2024-06-17 08:51:18 +05:30
ashilkn
9f4ce085c1 [mob][photos] Add select all feature to galleries (1) 2024-06-17 08:43:07 +05:30
ashilkn
ff1e84d0d8 [mob][photos] Avoid using .of(context) in initState to stop exceptions from being thrown 2024-06-17 08:41:12 +05:30
ashilkn
4f18fff36b [mob][photos] Assert or log depending on the context if inherited widget holding selection state is used in a wrong way 2024-06-17 08:16:31 +05:30
Manav Rathi
d5a8586152 Import functionality
Rewritten but referencing the code imported from dashboard
2024-06-17 03:40:20 +05:30
Manav Rathi
bfcd84c940 Whitelist the necessary one 2024-06-16 20:56:28 +05:30
Manav Rathi
a4bc5fa0df OPTIONS 2024-06-16 20:49:44 +05:30
Manav Rathi
ed406e7eb0 Sketch 2024-06-16 20:33:56 +05:30
Manav Rathi
b4dc49ef2f [workers] Import health check worker (#2162) 2024-06-16 19:43:31 +05:30
Manav Rathi
483e3be682 Improvements 2024-06-16 19:40:03 +05:30
Manav Rathi
17f0d77a31 Reorder to fix errors 2024-06-16 19:18:39 +05:30
Manav Rathi
c6f644ef8a [workers] Import health check worker 2024-06-16 19:12:52 +05:30
Prateek Sunal
01b566698f fix(workflow/auth): revert back flutter_distributor to pub.dev source 2024-06-16 17:03:45 +05:30
Manav Rathi
469f884d8c [workers] Import files worker (#2161) 2024-06-16 15:01:26 +05:30
Manav Rathi
9e4412cbee Correct place 2024-06-16 14:52:15 +05:30
Manav Rathi
f4bab262ca Import 2024-06-16 14:47:35 +05:30
Manav Rathi
73fd63616d Sketch 2024-06-16 14:39:05 +05:30
Manav Rathi
9362a4b9d3 Reduce log noise 2024-06-16 14:29:54 +05:30
Manav Rathi
6c5ea59506 [workers] Import thumbnails worker (#2160) 2024-06-16 14:19:02 +05:30
Manav Rathi
90845bdb02 Rename 2024-06-16 14:12:16 +05:30
Manav Rathi
f6729be5ab Fix typo 2024-06-16 14:09:20 +05:30
Manav Rathi
344c5cc399 Desktop origin includes scheme 2024-06-16 14:06:20 +05:30
Manav Rathi
6e1ea29c39 Implement
Rewritten, but referencing the existing worker imported from the dashboard
2024-06-16 13:51:42 +05:30
Manav Rathi
d76c6dd63c Sketch 2024-06-16 13:24:56 +05:30
Manav Rathi
f69daa4608 [workers] Import public albums worker (#2158) 2024-06-16 10:19:42 +05:30
Manav Rathi
290564c973 x-client-package
Albums app is using the old axios layer which is passing "x-client-package",
will also allow that for now
2024-06-16 10:06:22 +05:30
Manav Rathi
b781f33e4b ditto 2024-06-16 09:57:44 +05:30
Manav Rathi
b8bc01561d GET
Rewritten, but referencing the existing worker imported from the dashboard
2024-06-16 09:55:49 +05:30
Manav Rathi
734cb798d3 Handle options
Rewritten, but referencing the existing worker imported from the dashboard
2024-06-16 09:27:59 +05:30
ialexanderbrito
e1f7b04aa0 fix: old icons import 2024-06-16 00:46:17 -03:00
ialexanderbrito
533c0230e4 feat: add and update icons 2024-06-16 00:33:48 -03:00
Manav Rathi
ac8ebd0ed3 Skeleton 2024-06-16 08:56:07 +05:30
Manav Rathi
fc5eb296d2 Disable default route 2024-06-16 08:39:59 +05:30
Manav Rathi
c05d8a8e44 [worker] Use tail worker for logging (#2153) 2024-06-15 22:59:50 +05:30
Manav Rathi
24845a4735 Update README 2024-06-15 22:56:32 +05:30
Manav Rathi
2b490fe131 Cleanup 2024-06-15 22:49:35 +05:30
Manav Rathi
07f0cc9342 Need to pass creds in authorization header 2024-06-15 22:35:38 +05:30
Manav Rathi
49ddd287d0 Only log interesting events 2024-06-15 20:18:10 +05:30
Manav Rathi
bffcd11100 console.log 2024-06-15 19:47:20 +05:30
Manav Rathi
25d6ebdb19 Add a check for an upcoming restriction 2024-06-15 19:42:10 +05:30
Manav Rathi
64a539adb0 Hook it up 2024-06-15 19:23:05 +05:30
Manav Rathi
3646809f06 Promise<void>
Ref: https://dev.to/krasun/pushing-cloudflare-worker-logs-to-grafana-loki-1elg
2024-06-15 19:18:39 +05:30
Manav Rathi
fb0e857514 Push the entire event (it contains the worker name too) 2024-06-15 19:16:17 +05:30
Manav Rathi
a1059c543b Fill in 2024-06-15 19:09:42 +05:30
Manav Rathi
8fe2b9cb27 The protocol 2024-06-15 18:27:44 +05:30
Manav Rathi
5e080a90e3 Skeletal tail worker 2024-06-15 17:51:46 +05:30
Vishnu Mohandas
08255b3f8a ente -> Ente (#2151) 2024-06-15 16:21:45 +05:30
vishnukvmd
f032739461 ente -> Ente 2024-06-15 16:21:10 +05:30
ashilkn
1e8f739ef2 Merge branch 'main' into select_all 2024-06-15 15:38:04 +05:30
ashilkn
befcb72b04 [mob][photos] Make Select all's UI better 2024-06-15 15:36:50 +05:30
Aman Raj Singh Mourya
89e7cfb357 [mob][photos] Add Animation to the lock icon & errorBorder on wrong password 2024-06-15 15:17:28 +05:30
Manav Rathi
841da80c97 [workers] Minor cleanup, in prep for moving more of their siblings here (#2149) 2024-06-15 12:28:34 +05:30
ashilkn
f001812a1d [mob][photos] Assert that SelectionState inherited widget is in context or not 2024-06-15 12:23:45 +05:30
ashilkn
1b993a617a [mob][photos] Update select all button's state checking if all are selected or not on each select/unselect operation 2024-06-15 12:21:58 +05:30
Manav Rathi
60b1c32567 Note 2024-06-15 12:09:21 +05:30
Manav Rathi
bd6ac2c4fc Sync 2024-06-15 12:03:32 +05:30
Manav Rathi
eaccba5f22 Explicit header whitelist 2024-06-15 12:02:29 +05:30
Manav Rathi
562313b218 Tweaks 2024-06-15 11:54:26 +05:30
Manav Rathi
0650d176ee Latest yarn
Corepack will automatically install the latest one
2024-06-15 11:44:39 +05:30
Manav Rathi
6bbd944de4 Update compt date
> When you start your project, you should always set compatibility_date to the
> current date. You should occasionally update the compatibility_date field.
>
> https://developers.cloudflare.com/workers/configuration/compatibility-dates/
2024-06-15 11:41:09 +05:30
Manav Rathi
8aaad79897 yarn add --dev '@cloudflare/workers-types@latest' 2024-06-15 11:39:56 +05:30
Manav Rathi
d499549734 Use syntax recommended in docs
https://developers.cloudflare.com/workers/configuration/routing/custom-domains
2024-06-15 11:26:54 +05:30
Nikunj Kumar Nakum
db22c5bc97 Update custom-icons.json
updated coindcx icon
2024-06-15 10:51:25 +05:30
Nikunj Kumar Nakum
34f49362fd Added CoinDCX icon
Uploaded coindcx svg file
2024-06-15 10:46:49 +05:30
Manav Rathi
af21ff640d (CF's) fetch can return a promise 2024-06-15 10:03:39 +05:30
Manav Rathi
69e69c2e0f Formatting and other minor tweaks 2024-06-15 09:54:28 +05:30
Vishnu Mohandas
a0445fb4f6 v901 (#2142) 2024-06-15 00:42:56 +05:30
Prateek Sunal
8161403d84 fix(workflow/auth): use custom distributor repo for appimage 2024-06-15 00:39:51 +05:30
Prateek Sunal
0713e34aec chore(auth): bump packages 2024-06-15 00:35:46 +05:30
Prateek Sunal
b504f554b3 fix(auth): add mimetype to appimage 2024-06-15 00:35:27 +05:30
vishnukvmd
3d6af698b6 v901 2024-06-15 00:00:07 +05:30
Prateek Sunal
ff3ddb3d8d fix(auth): update deep link for linux 2024-06-14 22:52:29 +05:30
ashilkn
f04e54f68b [mob][photos] Select all MVP 2024-06-14 22:30:02 +05:30
Neeraj Gupta
16817eceac [photos] Update bundle name from ente Photos -> Ente Photos (#2141)
## Description

## Tests
2024-06-14 16:02:15 +05:30
Neeraj Gupta
500e40035f [photos] Update bundle name from ente Photos -> Ente Photos 2024-06-14 15:59:44 +05:30
Neeraj Gupta
366da2c328 [photos] Bump version v0.9.0 (#2140)
## Description

## Tests
2024-06-14 15:59:21 +05:30
Neeraj Gupta
203d46b2cf [photos] Bump version v0.9.0 2024-06-14 15:56:15 +05:30
Ashil
4e7b575c18 Error state for text input widget (#2139)
## Description

Surface error state in `TextInputWidget` if password entered is
incorrect.
2024-06-14 15:33:59 +05:30
ashilkn
c6d9b7d875 [mob][photos] Log from TextInputWidge when password is wrong 2024-06-14 15:31:05 +05:30
ashilkn
b63bd89512 [mob][photos] Show password wrong state in TextInputField 2024-06-14 15:28:53 +05:30
Manav Rathi
0e772fcfb7 [desktop] Fix duplicate file uploads when initializing a folder watch (#2138)
This didn't happen always, it was a race condition dependending on when
the `this.eventQueue = []` in `syncWithDisk` happened.
2024-06-14 15:25:58 +05:30
Manav Rathi
bbd6745372 Add CHANGELOG entries 2024-06-14 15:18:57 +05:30
Manav Rathi
dd1e0a9b1d Fix duplicate file uploads when initializing a folder watch
This didn't happen always, it was a race condition dependending on when the
`this.eventQueue = []` in `syncWithDisk` happened.
2024-06-14 15:11:36 +05:30
Neeraj Gupta
940231e38d [mob][auth] Fix handling of passkey when email verification is turned on (#2137)
## Description

## Tests
2024-06-14 14:41:39 +05:30
Neeraj Gupta
4c8db02de5 [auth] Bump version to v3.0.12 2024-06-14 14:39:51 +05:30
Neeraj Gupta
8af5aadd1b [mob] Bump photos version to v0.8.139 2024-06-14 14:39:25 +05:30
Neeraj Gupta
205feab4c2 [mob][auth] Fix passkey authn flow when emailVerification is enabled 2024-06-14 14:38:44 +05:30
Manav Rathi
60ab2b4427 [web] New translations (#2128)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-14 14:37:35 +05:30
Crowdin Bot
612329f584 New Crowdin translations by GitHub Action 2024-06-14 09:06:18 +00:00
Manav Rathi
a5f4a676a7 [web] Passkeys misc loose ends (#2136) 2024-06-14 14:35:32 +05:30
Manav Rathi
9608cfaa4e Don't show retry button if trying to use an already claimed session 2024-06-14 14:30:10 +05:30
Manav Rathi
ddd4d3e16c "Scripts may only close windows that were opened by them" 2024-06-14 14:04:42 +05:30
ashilkn
da59a29ea2 Merge branch 'main' into lockscreen_options 2024-06-14 13:58:37 +05:30
Manav Rathi
df0d48af73 [desktop] Add a check status button to the passkey waiting page (#2132) 2024-06-14 13:55:54 +05:30
Manav Rathi
c82193cae6 Enable passkeys for everyone 2024-06-14 13:51:21 +05:30
Manav Rathi
2c0928bd02 Change to photos favicon
he accounts favicon does not show on a white background (second image is the
hover state showing that the icon is actually there). For now, changing it to
the photos favicon, until we have an app neutral favicon.
2024-06-14 13:49:45 +05:30
Manav Rathi
8c8ffa9397 Add a hint to retry on other devices 2024-06-14 13:42:30 +05:30
Manav Rathi
3689ecb6e7 Add a message 2024-06-14 13:26:05 +05:30
Manav Rathi
ca080ad6b2 Split the flow 2024-06-14 13:07:00 +05:30
Neeraj Gupta
48d9ac63bb [auth] Bump version to v3.0.11 (#2135)
## Description

## Tests
2024-06-14 12:58:28 +05:30
Neeraj Gupta
887066962f [auth] Bump version to v3.0.11 2024-06-14 12:57:54 +05:30
Neeraj Gupta
cb2615b083 [auth] Fix url scheme for auth windows app (#2134)
## Description

## Tests
2024-06-14 12:57:07 +05:30
Neeraj Gupta
de459e68eb [auth] Fix url scheme for auth windows app 2024-06-14 12:42:41 +05:30
Neeraj Gupta
9cc559870c [auth] New translations (#2129)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-06-14 12:29:53 +05:30
Neeraj Gupta
395774c0e4 [auth] Fix twoFas import with missing issuerName (#2133)
## Description

## Tests
2024-06-14 12:29:32 +05:30
Neeraj Gupta
b3a7aebf95 [auth] Fix twoFas import with missing issuerName 2024-06-14 12:25:47 +05:30
Manav Rathi
b2e56fc01e Lint fix 2024-06-14 12:23:09 +05:30
Neeraj Gupta
0e0761bac7 Change log (#2131)
## Description

## Tests
2024-06-14 12:22:58 +05:30
Neeraj Gupta
79d7fe18ea [photos] Add change log for release 2024-06-14 12:20:34 +05:30
Manav Rathi
228dd90bce Make the retry code (almost) exactly the same as it was before
in an attempt at superstition (since rationality doesn't seem to work with
Safari).
2024-06-14 12:11:43 +05:30
Manav Rathi
93380d05b4 Add TODO 2024-06-14 12:04:34 +05:30
Aman Raj Singh Mourya
a135f46775 [mob][photos] Added Haptic feedback to pin/password input 2024-06-14 11:48:15 +05:30
Manav Rathi
4123197c6d Use 2024-06-14 11:46:55 +05:30
Manav Rathi
cc3f398a78 Happy path 2024-06-14 11:41:50 +05:30
Neeraj Gupta
48155692ff Extract string 2024-06-14 11:37:30 +05:30
Manav Rathi
dd0f7d3142 Handle errors 2024-06-14 11:17:51 +05:30
Manav Rathi
325c963b7a Mix 2024-06-14 11:03:13 +05:30
Manav Rathi
fbf29585eb UI 2024-06-14 10:51:58 +05:30
Manav Rathi
8a2cc858ae API method 2024-06-14 10:10:09 +05:30
Crowdin Bot
b931825d3b New Crowdin translations by GitHub Action 2024-06-14 02:09:16 +00:00
Neeraj Gupta
2dc9b015a6 Add monochrome icon support for android (#2118)
## Description
Add monochrome icon support for android

## Tests
not tested
2024-06-14 06:04:55 +05:30
Neeraj Gupta
32c2456f03 [Passkey] Add check status option + other fixes (#2123)
## Description

## Tests
2024-06-14 06:03:51 +05:30
Neeraj Gupta
084027df31 Bump version for auth and photo 2024-06-13 18:15:58 +05:30
Neeraj Gupta
852878e3f4 [server] Reduce passkey JWT duration + API to get token via sessionID (#2111)
## Description

## Tests
Monkey tested locally
2024-06-13 18:07:37 +05:30
Neeraj Gupta
f07e88b2dc [mob] Lint fixes 2024-06-13 18:06:33 +05:30
Neeraj Gupta
d2e526769d Reject passkey verification for already claimed session 2024-06-13 17:52:27 +05:30
Neeraj Gupta
867fdb7e2c [passkey][mob] Validate sessionID 2024-06-13 17:50:02 +05:30
Neeraj Gupta
a830b771f8 Merge branch 'main' into auth_testing 2024-06-13 17:16:22 +05:30
Manav Rathi
cc21f1a36d [passkeys] Add a passkeySessionID check (#2125) 2024-06-13 17:07:17 +05:30
Manav Rathi
9ff8469a54 Pass as a query param instead
Mobile prefers it this way
2024-06-13 16:51:04 +05:30
Neeraj Gupta
cfafcf8278 make linter happy 2024-06-13 16:44:16 +05:30
Neeraj Gupta
1829bcfdcf [passkey] Enable for all users on mobile 2024-06-13 16:42:31 +05:30
Manav Rathi
608fec9129 logSet the inflight session 2024-06-13 16:41:09 +05:30
Neeraj Gupta
f5c9fa3d6c [passkey][mob] Minor fixes 2024-06-13 16:39:16 +05:30
Manav Rathi
4a21ee0fa9 Add a sessionID check 2024-06-13 16:29:30 +05:30
Manav Rathi
da853fdfde Rename 2024-06-13 16:21:13 +05:30
Manav Rathi
f2928c8ab8 Return the passkey session id in the redirect data 2024-06-13 16:18:01 +05:30
Manav Rathi
d34bcffafd [photosd] Add a "What's new" dialog (#2124) 2024-06-13 16:13:06 +05:30
Manav Rathi
67028a072c Fix 2024-06-13 16:05:53 +05:30
Manav Rathi
2bbf33287b Handle nightly builds (or versions without changelogs) 2024-06-13 16:00:57 +05:30
Neeraj Gupta
e60df5c54a Merge branch 'main' into auth_testing 2024-06-13 15:25:00 +05:30
Neeraj Gupta
b100392d7e [photos] Passkey changes 2024-06-13 15:24:29 +05:30
Manav Rathi
b2154429f3 Mention pk 2024-06-13 14:49:16 +05:30
Manav Rathi
e9f10f77d9 Fix condition 2024-06-13 14:39:36 +05:30
Neeraj Gupta
1d3452a1f0 [auth] Update copy 2024-06-13 14:35:46 +05:30
Manav Rathi
4e9ff3024c Hook it up 2024-06-13 14:26:53 +05:30
Neeraj Gupta
c193377640 [auth] Add endpoint to check passkey status 2024-06-13 13:54:31 +05:30
Manav Rathi
6f4b20ad6f Link 2024-06-13 13:44:26 +05:30
Manav Rathi
ee86de6b30 Move to gallery
Doesn't make much sense to show it to logged out users
2024-06-13 13:28:01 +05:30
Neeraj Gupta
7930e95f4a [auth] Update copy 2024-06-13 13:16:01 +05:30
Manav Rathi
2c3f82023c [mob] Passkeys: Don't show recover option on accounts page (#2122)
Mobile app shows it on the waiting screen instead (accounts web app
shows the recover option only when the recover query param is passed to
it).

(Did not verify by running on mobile)

/cc @ua741
2024-06-13 13:16:00 +05:30
Neeraj Gupta
1f6c5d9782 [auth] Change primary button color 2024-06-13 13:14:44 +05:30
Manav Rathi
b4640935a8 [mob] Passkeys: Don't show recover option on accounts page
Mobile app shows it on the waiting screen instead (accounts web app shows the
recover option only when the recover query param is passed to it).
2024-06-13 13:11:24 +05:30
Manav Rathi
e64ef1a7d8 [web] New translations (#2114)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-13 13:08:53 +05:30
Crowdin Bot
346e205001 New Crowdin translations by GitHub Action 2024-06-13 07:36:17 +00:00
Manav Rathi
8193379fad [web] Passkey verification waiting screen (#2121) 2024-06-13 13:05:40 +05:30
Manav Rathi
d3b589e622 Comment out for now 2024-06-13 12:56:01 +05:30
Manav Rathi
ec68a11ec3 Accomodate (future) check status button 2024-06-13 12:54:24 +05:30
Manav Rathi
ca949ac077 Sigh
It happens even without the console
2024-06-13 12:47:27 +05:30
Neeraj Gupta
54092c8fba [auth] update flutter submodule v3.22.2 2024-06-13 12:37:23 +05:30
Ashil
4b3f5e4cca [mob][photos] Remove internal user flag (#2120) 2024-06-13 12:35:09 +05:30
ashilkn
aebe483d80 [mob][photos] Remove internal user flag 2024-06-13 12:33:44 +05:30
Manav Rathi
ea5cd4a7d0 Use correct app name 2024-06-13 12:24:20 +05:30
Manav Rathi
15a745266d Use 2024-06-13 12:19:18 +05:30
Manav Rathi
fdde16e76c Update key 2024-06-13 12:18:29 +05:30
Ashil
39adba94dd [Mobile] Add Video Editor (#1748)
## Description

Add the much demanded video editor for photos mobile app, made with the
help of [video_editor](https://pub.dev/packages/video_editor) package
with features like Trim, Crop and Rotate.
2024-06-13 12:02:55 +05:30
Manav Rathi
ef33065c5b Fix URL (again) 2024-06-13 12:00:11 +05:30
Manav Rathi
dab15b2429 Conditional recover 2024-06-13 11:51:38 +05:30
Neeraj Gupta
c0367729a7 Merge branch 'main' into mobile-videoeditor 2024-06-13 11:46:06 +05:30
Neeraj Gupta
fa3d3bceed Added multiple custom icons to Ente Auth (#2117)
Icons added:

- Bitstamp
- ChangeNOW
- Itch.io
- Migros
- Name.com
2024-06-13 11:42:44 +05:30
Manav Rathi
26051985d5 Redirect to correct page 2024-06-13 11:38:56 +05:30
Manav Rathi
fe2f30a92c Improve more 2024-06-13 11:33:34 +05:30
Manav Rathi
af3f2280d6 Improve UX on web 2024-06-13 11:30:20 +05:30
Manav Rathi
d513019e1b Reuse 2024-06-13 11:25:31 +05:30
Manav Rathi
c611d43204 Allow reuse 2024-06-13 11:20:34 +05:30
Manav Rathi
cd76da836d Handle retrying redirects 2024-06-13 11:17:04 +05:30
Manav Rathi
9086d37a7c wip 2024-06-13 11:04:44 +05:30
Ashil
7234aef6c7 [mob][photos] Bump up to v0.8.137 (#2119) 2024-06-13 11:02:55 +05:30
ashilkn
20a4e78998 [mob][photos] Bump up to v0.8.137 2024-06-13 10:48:04 +05:30
Ashil
280fa9a171 [mob][photos] Discovery (behind feature flag) (#2115)
Show Magic search examples on search tab for internal users.
2024-06-13 10:20:37 +05:30
Aman Raj Singh Mourya
b20e8a5d17 [mob][photos] upgraded Pinput pakage and Added custom password input widget 2024-06-13 01:21:06 +05:30
Prateek Sunal
13e0cf1826 fix(mobile): 9:16 crop ratio svg size 2024-06-12 20:15:56 +05:30
Prateek Sunal
498e651d6d fix(mobile): 9:16 crop ratio svg size 2024-06-12 20:06:18 +05:30
Prateek Sunal
66d58d1538 Merge branch 'main' into mobile-videoeditor 2024-06-12 19:57:50 +05:30
Prateek Sunal
27f95e433a chore(mobile): update locals 2024-06-12 19:56:54 +05:30
Prateek Sunal
9053717699 chore(mobile): update locals 2024-06-12 19:55:57 +05:30
Bl4ckspell7
82b6187e26 Add monochrome icon support for android 2024-06-12 15:59:06 +02:00
Christopher Romano
b7bf4e7015 Added Ubuntu One icon 2024-06-12 16:40:36 +03:00
Christopher Romano
fbd572f23a Added Name.com icon 2024-06-12 16:40:36 +03:00
Christopher Romano
92d017a701 Added Migros icon 2024-06-12 16:40:36 +03:00
Christopher Romano
422adf0a62 Added Itch.io icon 2024-06-12 16:40:36 +03:00
Christopher Romano
f85a1da9c2 Added ChangeNOW icon 2024-06-12 16:40:36 +03:00
Christopher Romano
afffcec3f2 Added Bitstamp icon 2024-06-12 16:40:10 +03:00
Prateek Sunal
77715e4d05 chore(mobile): bump version 2024-06-12 17:35:27 +05:30
Prateek Sunal
34eb9d7fba fix(mobile): 9:16 crop ratio svg 2024-06-12 17:21:54 +05:30
Prateek Sunal
01c3308019 [Auth] Disable search suggestions and sort tags (#2112)
## Description

Same as title.

## Tests
2024-06-12 17:09:44 +05:30
Manav Rathi
2f699365fb [web] Passkey - Show a redirect again option on passkeys (#2113) 2024-06-12 16:54:27 +05:30
Manav Rathi
622c4e7258 Fix the check (protocol includes colon) 2024-06-12 16:50:45 +05:30
Ashil
68003e203b [mob][photos] Add logs for debugging stuck at splash screen issue (#2099) 2024-06-12 16:46:10 +05:30
Prateek Sunal
b273ac3cf0 fix(auth): disable autocorrect and it's suggestions 2024-06-12 16:45:20 +05:30
Prateek Sunal
3d46b015e1 fix(auth): sort tags 2024-06-12 16:44:22 +05:30
Manav Rathi
523317eb71 Separate handling for web / app 2024-06-12 16:43:49 +05:30
ashilkn
4ce913cda6 Merge branch 'main' into discovery-3 2024-06-12 16:41:54 +05:30
ashilkn
7fdf52309a [mob][photos] Keep showing of magic examples on search tab behind feature flag 2024-06-12 16:40:39 +05:30
Neeraj Gupta
186981014e Fix typo 2024-06-12 16:40:12 +05:30
Manav Rathi
0bde1ab22d L11n keys 2024-06-12 16:35:55 +05:30
Prateek Sunal
b2f9c6ff6b [Auth] Bump flutter to 3.22 (#2108)
## Description

Black screen issue was caused by
https://github.com/leanflutter/window_manager/issues/460, till then I
have used a workaround from
https://github.com/leanflutter/window_manager/issues/460#issuecomment-2110180143.

Also update plugins.

## Tests
2024-06-12 16:34:51 +05:30
Manav Rathi
6aa810b500 [web] Redirect again button 2024-06-12 16:25:07 +05:30
Neeraj Gupta
cf4d407f39 Add API to get token data for given passkey session 2024-06-12 16:16:48 +05:30
ashilkn
ac05f085c1 [mob][photos] Get magic prompt data from remote 2024-06-12 16:14:09 +05:30
Neeraj Gupta
7e48953b6a Store token data on passkey auth 2024-06-12 15:56:54 +05:30
Manav Rathi
6f4bb6bf95 Update README 2024-06-12 15:37:38 +05:30
Neeraj Gupta
0666fc0ac2 [auth] Register url scheme for macos (#2107)
## Description

## Tests
2024-06-12 15:34:17 +05:30
Manav Rathi
6f304cb7a1 [docs] Add a note about AppImage desktop integration (#2110) 2024-06-12 15:15:30 +05:30
Manav Rathi
30c368d99f [docs] Add a note about AppImage desktop integration 2024-06-12 15:13:32 +05:30
Manav Rathi
adaa81f50c [photosd] Handle passkey deeplinks on Linux and Windows (#2109)
Tested on an Ubuntu 24 VM, with deb it works out of the box, with
AppImage I needed to install `appimaged` as recommended by
https://docs.appimage.org/user-guide/run-appimages.html#integrating-appimages-into-the-desktop.
2024-06-12 15:02:44 +05:30
Prateek Sunal
c8a5ca41a2 fix(workflow/auth): bump flutter versito 3.22 2024-06-12 14:59:09 +05:30
Prateek Sunal
dce84c4262 fix(auth): update for flutter 3.22 2024-06-12 14:57:39 +05:30
Manav Rathi
f529460eda Handle deeplinks on Linux 2024-06-12 14:33:07 +05:30
Neeraj Gupta
ae170acb30 Schema update to enable tokenData fetch for passkey session 2024-06-12 14:27:37 +05:30
Manav Rathi
bfca0730b2 Rearrange in reading order 2024-06-12 14:25:36 +05:30
Neeraj Gupta
c95260a228 Reduce account jwt token validity to 30mins 2024-06-12 14:13:52 +05:30
Prateek Sunal
da43e27688 fix(mobile): update locals for video editor 2024-06-12 14:05:11 +05:30
Neeraj Gupta
2e442c2152 Handle case when account is already logged in 2024-06-12 14:02:17 +05:30
Neeraj Gupta
d15d2437fb Minor refactor 2024-06-12 14:00:58 +05:30
Neeraj Gupta
860ca9852b Show dialog when passkey verification response is processed 2024-06-12 12:23:11 +05:30
Neeraj Gupta
eb8ce32acb Register enteauth url for macos 2024-06-12 12:22:41 +05:30
Prateek Sunal
05327bb028 fix(mobile): background of video editor on light theme 2024-06-12 12:00:20 +05:30
Manav Rathi
47a965f0a1 [web] Passkeys - Fix exhaustive-deps lints (#2106)
Refs: https://legacy.reactjs.org/docs/hooks-reference.html#usestate

> React guarantees that setState function identity is stable and won't
change on
rerenders. This is why it's safe to omit from the useEffect or
useCallback
  dependency list.
2024-06-12 11:31:41 +05:30
Manav Rathi
f7a500b811 [web] Fix exhaustive-deps lints
Refs: https://legacy.reactjs.org/docs/hooks-reference.html#usestate

> React guarantees that setState function identity is stable and won't change on
  rerenders. This is why it's safe to omit from the useEffect or useCallback
  dependency list.
2024-06-12 11:16:24 +05:30
Manav Rathi
0ce25916e6 [docs] Passkeys (#2105) 2024-06-12 10:47:09 +05:30
Manav Rathi
504bae5dd8 [docs] Passkeys 2024-06-12 10:45:25 +05:30
Manav Rathi
8bb748ae22 doc-add link to delete page (#2104) 2024-06-12 10:15:10 +05:30
Jay
e5bc7b218d doc-addlink 2024-06-12 10:12:38 +05:30
Manav Rathi
29ea968408 [docs] Mention yarn pretty (#2103) 2024-06-12 09:47:55 +05:30
Manav Rathi
07cd9be3f4 [docs] Mention yarn pretty 2024-06-12 09:46:45 +05:30
Prateek Sunal
946605554c fix(mobile): sync edited video properly 2024-06-11 23:23:08 +05:30
Prateek Sunal
2b00418695 fix(mobile): move all colors to theme data 2024-06-11 21:27:42 +05:30
Manav Rathi
1a43c0feb2 [web] Upgrade eslint ruleset for accounts app (#2102)
Only one workaround remains.
2024-06-11 21:24:30 +05:30
Manav Rathi
309d3321b9 Fix lint 2024-06-11 21:21:01 +05:30
Manav Rathi
25f2fc46a9 Fix 2024-06-11 20:59:47 +05:30
Manav Rathi
48fc966457 Fix 2024-06-11 20:52:43 +05:30
Manav Rathi
d2fd7dea97 Add an exception 2024-06-11 20:40:36 +05:30
Manav Rathi
a2e93489f2 Fix lints 2024-06-11 20:28:31 +05:30
Manav Rathi
5150dc00e1 Fix lint 2024-06-11 20:25:53 +05:30
Manav Rathi
68ebd1ef69 Fix more lints 2024-06-11 20:24:23 +05:30
Manav Rathi
1d1fa29239 Fix lint 2024-06-11 20:17:02 +05:30
Aman Raj Singh Mourya
11da0704c6 [mob][photos] show lock when app starts & authenticate to change lock settings 2024-06-11 18:17:25 +05:30
ashilkn
04b3e0c7fb Merge branch 'main' into discovery-3 2024-06-11 18:06:14 +05:30
Neeraj Gupta
624a8bf6a9 [mobile] New translations (#2089)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-06-11 17:47:31 +05:30
Neeraj Gupta
2bebd2ead7 [auth] New translations (#2090)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-06-11 17:47:17 +05:30
Neeraj Gupta
e7deb0fb94 [mobile] Update passkeys URLs (#2101)
We now explicitly pass a recover URL to the accounts app, and I've added
some placeholder values. This URL will be opened when the user selects
the "Recover passkey" option on the authentication failure screen.
2024-06-11 17:46:47 +05:30
Manav Rathi
d37cb971aa [mobile] Update passkeys URLs
We now explicitly pass a recover URL to the accounts app, and I've added some
placeholder values. This URL will be opened when the user selects the "Recover
passkey" option on the authentication failure screen.
2024-06-11 17:00:00 +05:30
ashilkn
4470e039eb [mob][photos] Add more logs for debugging 2024-06-11 16:48:44 +05:30
ashilkn
564222b3f0 [mob][photos] Remove delay added for testing 2024-06-11 16:43:02 +05:30
Manav Rathi
2e1c5d7684 [web] Make the accounts pages stateless (#2100)
This allows user to copy paste the URLs if their passkeys are in a
different browser than the one which got opened when we asked the system
to open the browser (from the desktop / mobile apps).
2024-06-11 16:42:19 +05:30
Manav Rathi
b5e3bf8d4b Lint fix 2024-06-11 16:38:52 +05:30
Manav Rathi
fbff908c90 Remove unused header setting 2024-06-11 16:36:27 +05:30
ashilkn
3cb9b12f26 [mob][photos] Log heartbeats on app init for debugging 2024-06-11 16:34:26 +05:30
Manav Rathi
c4d5bc5aa7 Add a note 2024-06-11 16:31:25 +05:30
Manav Rathi
237fc3cdb1 Dear React, 2024-06-11 16:10:58 +05:30
Manav Rathi
96386e8f9e Clean 2024-06-11 16:04:02 +05:30
Manav Rathi
8df19efc1a Trim 2024-06-11 15:57:17 +05:30
Manav Rathi
a0f7c6f302 Pass token 2024-06-11 15:55:18 +05:30
ashilkn
fdef3dc439 [mob][photos] Add logs for debugging 2024-06-11 15:45:00 +05:30
Manav Rathi
3285ccdb3a Directly 2024-06-11 15:39:40 +05:30
Manav Rathi
a27da1de31 Towards a stateless accounts 2024-06-11 15:26:56 +05:30
Ashil
d6885d66c3 [mob][photos] Mention OS with subject of logs sent when app is stuck on lockscreen for more than 15 seconds. This will let us identify OS when logs are not attached (#2077)
Tested if this breaks logs from getting sent. Good to go.
2024-06-11 15:23:38 +05:30
Manav Rathi
15b2b05487 [desktop] Fix passkey recovery redirect (#2097) 2024-06-11 15:21:59 +05:30
Manav Rathi
03c4d42a03 [auth] Add icons: BitSkins, DMarket, Marketplace.tf & Skinport (#2055) 2024-06-11 15:19:22 +05:30
Manav Rathi
621d58ec0e Pass recovery URL explicitly instead of trying various string mainps 2024-06-11 15:13:58 +05:30
Manav Rathi
e51f9f1e08 Allow /passkeys/recover redirect 2024-06-11 14:46:53 +05:30
Vishnu Mohandas
3517050c23 Increase grace period of Stripe subscriptions to 14 days (#2096)
SEPA in certain instances is taking 10+ days to go through.
2024-06-11 14:28:29 +05:30
vishnukvmd
4561c8f85c Increase grace period of Stripe subscriptions to 14 days 2024-06-11 14:09:57 +05:30
Manav Rathi
48d0e250c6 [desktop] Handle passkey redirect (#2095)
Tested on macOS
2024-06-11 13:06:13 +05:30
Manav Rathi
632224b94c Ignore query params in comparison 2024-06-11 12:58:52 +05:30
Manav Rathi
8ecb88cbb4 Don't reload the app, use the router 2024-06-11 12:53:39 +05:30
Manav Rathi
330600543e window.location.origin will be in the correct place 2024-06-11 12:28:32 +05:30
Manav Rathi
4a9fe006d5 Forward 2024-06-11 12:20:29 +05:30
Ashil
e50ae02dbb [mob][photos] Modify the code to use XFile.fromData(bytes) instead of saving the image to a file for share link placeholder (#2073)
1. Modified the` _createPlaceholder` function to return the image bytes
instead of the image path, changed the return type to
`Future<Uint8List?>`
2. Remove the call to `saveImage` on saving the image to a temporary
directory
3. Modified the `shareImageAndUrl` function:
4. Replaced the usage of XFile(imagePath) with
XFile.fromData(imageBytes).
5. Added metadata to the `XFile.fromData` method call, specifying the
name and mimeType for better file identification during sharing.
2024-06-11 12:04:57 +05:30
Neeraj Gupta
bc7075f81a [cli] Fix: Retry on all 5xx errors (#2094)
## Description

## Tests
2024-06-11 11:59:14 +05:30
Manav Rathi
f8d2fda602 iso 2024-06-11 11:58:15 +05:30
Neeraj Gupta
896d7402b4 [cli] Bump version 2024-06-11 11:58:01 +05:30
Neeraj Gupta
55a16d053a [cli] Inc wait time for retry 2024-06-11 11:57:37 +05:30
Neeraj Gupta
9a1254b745 [cli] Log selected headers on download failure 2024-06-11 11:57:22 +05:30
Manav Rathi
afe5809cb2 Take 1 2024-06-11 11:51:17 +05:30
Neeraj Gupta
d6c4d5f87f [cli] Fix: retry download on 500 2024-06-11 11:37:17 +05:30
Manav Rathi
9de5f01727 Add protocol 2024-06-11 11:33:48 +05:30
Manav Rathi
4569ae01df Outline 2024-06-11 10:58:04 +05:30
Manav Rathi
896001100c [desktop][docs] Remove outdated desktop/rc branch name (#2093) 2024-06-11 10:42:07 +05:30
Manav Rathi
332c8d9695 [desktop][docs] Remove outdated desktop/rc branch name 2024-06-11 10:41:28 +05:30
Ashil
6df8a2204f Upgrade to flutter 3.22.2 (#2076) 2024-06-11 10:38:08 +05:30
Manav Rathi
4a16fa8701 [photosd] Fix automatic move to uncategorized on watch folder deletions (#2092)
This was a regression introduced in 1.7.0. On deleting a file on disk,
the corresponding items are supposed to move to uncategorized.

> And if a file is deleted locally, then the corresponding Ente file
will also be automatically moved to uncategorized.
>
> https://help.ente.io/photos/features/watch-folders
2024-06-11 10:14:54 +05:30
Manav Rathi
92dc6cacfa Add a CHANGELOG entry 2024-06-11 10:09:09 +05:30
Manav Rathi
b40419bcea [photosd] Fix automatic move to uncategorized on watch folder deletions
This was a regression introduced in 1.7.0. On deleting a file on disk, the
corresponding items are supposed to move to uncategorized.

> And if a file is deleted locally, then the corresponding Ente file will also
> be automatically moved to uncategorized.
>
> https://help.ente.io/photos/features/watch-folders
2024-06-11 09:54:25 +05:30
Manav Rathi
f84b2b5ad3 Update SECURITY.md (#2091)
Format using prettier (same config as used by docs/web etc).
2024-06-11 08:52:34 +05:30
Manav Rathi
2da32c3193 Update SECURITY.md 2024-06-11 08:51:09 +05:30
Manav Rathi
3011248017 Update SECURITY.md (#2086)
I made these changes:
- Corrected grammar and punctuation errors.
- Formatted headings, links, and lists properly using Markdown.
- Simplified wording for clarity.
2024-06-11 08:49:05 +05:30
Manav Rathi
54be100830 [web] New translations (#2088)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-11 08:47:46 +05:30
Crowdin Bot
c37b6e0441 New Crowdin translations by GitHub Action 2024-06-11 02:09:20 +00:00
Crowdin Bot
c113e09204 New Crowdin translations by GitHub Action 2024-06-11 01:59:36 +00:00
Crowdin Bot
19f93087db New Crowdin translations by GitHub Action 2024-06-11 01:43:38 +00:00
Prateek Sunal
3f736e82ae fix(mobile): dispose dialog correctly 2024-06-11 02:24:12 +05:30
Prateek Sunal
4f6e97eafd fix(mobile): create dialog at start of exporting video 2024-06-11 02:21:06 +05:30
Prateek Sunal
8c75a2324c fix(mobile): update light mode ui 2024-06-11 02:14:38 +05:30
Sooraj Sathyanarayanan
91a4b1143f Update SECURITY.md
I made these changes:
- Corrected grammar and punctuation errors.
- Formatted headings, links, and lists properly using Markdown.
- Simplified wording for clarity.
2024-06-10 15:55:06 -04:00
Prateek Sunal
79b37f16f5 [Auth] Update windows icon (#2067)
## Description

## Tests
2024-06-10 22:35:25 +05:30
Manav Rathi
e45792ad09 Passkeys: mobile and server changes (#2082)
Tests
- [x] Create passkey on localhost using web app
- [x] Verify passkey on localhost using web app
- [x] Test running on the default configuration.

The third test is pending on the library update which makes the RPID
optional.
2024-06-10 21:33:48 +05:30
Manav Rathi
00769bdd7a Use 2 min timeout, no need to override on the client 2024-06-10 21:26:38 +05:30
Manav Rathi
89f58236fc Use the default of yarn dev:accounts 2024-06-10 20:48:38 +05:30
Manav Rathi
eca48a4cc3 [server] Update go [1.20 -> 1.21] & passkey dependencies (#2084)
## Description

## Tests
2024-06-10 20:25:48 +05:30
atyabbin
93bddbe6f1 Merge branch 'main' into dashboard-improvement 2024-06-10 19:41:29 +05:30
atyabbin
17e48ed83f Added new components 2024-06-10 19:29:28 +05:30
atyabbin
4c7583240f Sidebar added 2024-06-10 19:24:32 +05:30
Neeraj Gupta
a46c8a4579 [Auth] Updated Notesnook icon (#2064)
Replaced the old Notesnook icon with the new one.
2024-06-10 18:27:54 +05:30
Neeraj Gupta
fe324c3124 Add rpi id and origin for localhost 2024-06-10 18:25:44 +05:30
Neeraj Gupta
c0ac43b6c8 Upgrade webauthn + go from 1.20 -> 1.21 2024-06-10 18:25:18 +05:30
Aman Raj Singh Mourya
d3c7ba6874 [mob][photos] added the dynamicFAV and made seprate function for each type of lock 2024-06-10 18:06:24 +05:30
Manav Rathi
eb1f0a31a8 [staff] Fix lint (#2083) 2024-06-10 17:22:04 +05:30
Manav Rathi
ec67437273 [staff] Fix lint 2024-06-10 17:20:02 +05:30
Manav Rathi
c10bce3767 [staff] Remove .env.local and rename the env var to match main photos apps (#2078) 2024-06-10 17:19:35 +05:30
Manav Rathi
af60ae46c1 Fix qp name 2024-06-10 16:52:00 +05:30
Manav Rathi
d47287095d Document webauthn keys 2024-06-10 16:44:15 +05:30
Manav Rathi
b9d4f9ff10 /passkeys/registration/begin GET => POST 2024-06-10 16:35:10 +05:30
Manav Rathi
fc826e8acb Pass the X-Client-Package explicitly for the endpoint which needs it 2024-06-10 16:33:29 +05:30
Manav Rathi
f6377b98cb Update mobile URLs 2024-06-10 16:18:42 +05:30
Manav Rathi
6f487f0478 [web] More passkey fixes (#2080) 2024-06-10 16:04:31 +05:30
Aman Raj Singh Mourya
b8c6a67faa [mob][photos] remove null check from non-nullabe variables 2024-06-10 16:00:57 +05:30
Manav Rathi
27536676f1 Clean 2024-06-10 16:00:27 +05:30
Manav Rathi
0b4d479337 Move towards new ruleset 2024-06-10 15:58:17 +05:30
Manav Rathi
4893684cf1 Fix empty 2024-06-10 15:39:33 +05:30
Aman Raj Singh Mourya
e18c79c895 [mob][photos] removed unnecessary delay 2024-06-10 15:33:19 +05:30
Manav Rathi
a036d7c2b0 Fix 2024-06-10 15:28:31 +05:30
Aman Raj Singh Mourya
d94fe56318 [mob][photos] update the UI acc. to the new figma design 2024-06-10 15:19:09 +05:30
Manav Rathi
5c175c75df Fix recovery 2024-06-10 15:16:25 +05:30
Manav Rathi
389401adc9 Add TODO 2024-06-10 14:46:33 +05:30
Manav Rathi
ae4f1df76c Use the transport from the original credential 2024-06-10 14:42:20 +05:30
Manav Rathi
03d90515a4 [web] Use the preferred null coalescing operator for env override (#2079) 2024-06-10 14:37:01 +05:30
Manav Rathi
e23ac45fb3 [web] Use the preferred null coalescing operator for env override 2024-06-10 14:29:44 +05:30
Manav Rathi
f5a90abbaf [staff] Remove .env.local and rename the env var to match main photos apps 2024-06-10 14:12:23 +05:30
ashilkn
f9c6151482 Mention OS with subject of logs sent when app is stuck on lockscreen for more than 15 seconds. This will let us identify OS when logs are not attached 2024-06-10 11:59:22 +05:30
ashilkn
fb28b4ca28 [mob][photos] Bump up version to 0.8.135 2024-06-10 11:33:02 +05:30
ashilkn
a10f278d44 [mob][photos] Upgrade to flutter v3.22.2 to potentially fix the blank screen issue when resuming app from BG 2024-06-10 11:29:08 +05:30
Manav Rathi
99833e287c [web] Passkeys: Towards new casing for l11n keys (#2074) 2024-06-10 11:25:08 +05:30
Manav Rathi
1bf0676034 [web] Passkeys: Towards new casing for l11n keys 2024-06-10 11:19:37 +05:30
Aman Raj Singh Mourya
9c1ae27a21 [mob][photos] increased delay form 100ms to 200ms for widget to image 2024-06-10 11:05:47 +05:30
Manav Rathi
bd9dacfaa9 [web] New translations (#2072)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-10 11:05:30 +05:30
Crowdin Bot
951d797fce New Crowdin translations by GitHub Action 2024-06-10 05:33:44 +00:00
Manav Rathi
a30f9b9977 [web] Passkey improvements (#2071) 2024-06-10 11:03:10 +05:30
Manav Rathi
6a8cb8d149 Retain original transports 2024-06-10 10:54:33 +05:30
Manav Rathi
d814511dae Named params
Reduces accidental order of param errors
2024-06-10 10:42:18 +05:30
Manav Rathi
055cada5ed Show error when pk fetch fails 2024-06-10 10:16:44 +05:30
Manav Rathi
f40da137cd Use 2024-06-10 09:42:12 +05:30
Manav Rathi
d9e6379020 Better JSON urlencode 2024-06-10 09:34:29 +05:30
Manav Rathi
39396a520c Add some user visible strings to localization table 2024-06-10 09:20:30 +05:30
Prateek Sunal
37fa4ba7b6 fix(auth): update icon on windows 2024-06-09 22:47:05 +05:30
Manav Rathi
1c4684596a [web] Passkey changes (#2066) 2024-06-09 21:34:09 +05:30
Manav Rathi
1aea5a9cdd Minor tweaks 2024-06-09 21:27:02 +05:30
Manav Rathi
6c56ae1bd5 Catch errors during signChallenge 2024-06-09 20:58:04 +05:30
Manav Rathi
a2b7786ed4 Fix 2024-06-09 20:47:35 +05:30
Manav Rathi
6137dd923c Fix 2024-06-09 19:23:46 +05:30
Manav Rathi
c1aa8f3777 Fix 2024-06-09 19:21:16 +05:30
Manav Rathi
55fdf23188 Res type 2024-06-09 19:07:21 +05:30
Manav Rathi
9a6e553a53 Request casts 2024-06-09 18:49:01 +05:30
Manav Rathi
e1f36b8f8c Split 2024-06-09 18:15:14 +05:30
Manav Rathi
858f6c3a8d Cleanup 2024-06-09 17:54:25 +05:30
Brogio
e8ab08f3ca Delete auth/assets/custom-icons/icons/Notesnook.svg 2024-06-09 12:59:19 +02:00
Brogio
dff7a59801 Added Notesnook icon 2024-06-09 12:55:55 +02:00
Manav Rathi
2a26cc5afd Doc a bit 2024-06-09 11:22:19 +05:30
Manav Rathi
5adf10dcbb Shuffle 2024-06-09 10:59:56 +05:30
Aman Raj Singh Mourya
53b1dc9b67 [mob][photos] function of the lockscreen completed 2024-06-09 00:41:32 +05:30
Manav Rathi
81e274babd Move to service layer 2024-06-08 22:10:27 +05:30
Manav Rathi
b6761bd5b2 Inline 2024-06-08 22:01:03 +05:30
Manav Rathi
b37e6cfa12 Generic error 2024-06-08 21:59:16 +05:30
Manav Rathi
6108a20036 Tinker 2024-06-08 21:22:45 +05:30
Manav Rathi
ef2039e681 [web] Improve the UI for the passkeys authentication flow (#2058) 2024-06-08 20:48:23 +05:30
Manav Rathi
ab4939b931 [docs] Add sharable URL configuration (#2048)
This PR adds a configuration option needed if you want sharable urls to
work
2024-06-08 20:47:14 +05:30
Manav Rathi
7b45d689db Remove alert 2024-06-08 20:36:53 +05:30
Manav Rathi
34d85df2ee Reuse 2024-06-08 20:29:13 +05:30
Manav Rathi
9e1553aeb6 Tweak style 2024-06-08 20:21:38 +05:30
Manav Rathi
ea0396954d Reuse 2024-06-08 20:19:09 +05:30
Aman Raj Singh Mourya
6bd307a2cd Optimize image upload by using XFile.fromData instead of saving to file 2024-06-08 14:09:00 +05:30
Aman Raj Singh Mourya
d2b6ca53f8 Merge branch 'main' of https://github.com/ente-io/ente into lockscreen_options 2024-06-08 13:14:27 +05:30
Manav Rathi
e85fb9df0e Style 2024-06-08 11:43:11 +05:30
Manav Rathi
baf9c02bc8 Paper 2024-06-08 11:39:23 +05:30
Manav Rathi
36596683f2 Style 2024-06-08 11:29:00 +05:30
Manav Rathi
01925952b2 Extract components 2024-06-08 10:38:45 +05:30
Manav Rathi
e8d5863c82 Rename 2024-06-08 09:10:54 +05:30
dunny1g
2b34cfc688 Optimized SVG icon for BitSkins 2024-06-08 02:24:41 +01:00
dunny1g
bb957685b3 Update custom-icons.json 2024-06-08 01:43:00 +01:00
dunny1g
445f8c4635 Add files via upload 2024-06-08 01:30:31 +01:00
dunny1g
f2bb1430fe Add files via upload 2024-06-08 00:35:14 +01:00
Prateek Sunal
d694f2796b chore(mobile): move models to ffmpeg folder 2024-06-08 01:48:36 +05:30
Prateek Sunal
5dd42b5a07 chore(mobile): import dart typed_dart instead of flutter foundation 2024-06-08 01:46:03 +05:30
Prateek Sunal
cd8709be9d chore(mobile): import dart async for StreamSubscription 2024-06-08 01:45:04 +05:30
Prateek Sunal
4a9c09e896 fix(mobile): revert intl_en.arb change (again) 2024-06-08 01:44:06 +05:30
Prateek Sunal
6de7b840ae fix(mobile): revert intl_en.arb change (again) 2024-06-08 01:43:43 +05:30
Prateek Sunal
f34d2afced fix(mobile): revert intl_en.arb change 2024-06-08 01:42:54 +05:30
Prateek Sunal
d41a8d7a11 fix(mobile): revert intl_en.arb change 2024-06-08 01:42:13 +05:30
Prateek Sunal
ed9cb9668c Merge branch 'mobile-videoeditor' into mobile-ffprobe 2024-06-08 01:23:05 +05:30
Prateek Sunal
eddb774b19 Merge remote-tracking branch 'origin' into mobile-videoeditor 2024-06-08 01:21:51 +05:30
Prateek Sunal
f8fa6adad8 Merge branch 'mobile-videoeditor' into mobile-ffprobe 2024-06-08 01:19:02 +05:30
Prateek Sunal
c1acc3eca1 fix(mobile): add ffprobe parser 2024-06-08 01:14:54 +05:30
Neeraj Gupta
7abfe633c6 [photos] Enable l10n for Russian, Turkish, & Portuguese(Brazilian) (#2051)
## Description

Ref: https://crowdin.com/project/ente-photos-app

## Tests
2024-06-07 17:45:27 +05:30
ashilkn
fabd6351d9 [mob][photos] SectionType.content -> SectionType.magic 2024-06-07 17:28:13 +05:30
Manav Rathi
2bd538624c [web] Cleanup passkeys manage page (#2049)
Tested on localhost
2024-06-07 16:34:13 +05:30
Manav Rathi
2dca9f1758 Lint fix 2024-06-07 16:31:30 +05:30
Manav Rathi
cbdca9851c Get 2024-06-07 16:28:56 +05:30
Manav Rathi
8a5c3a3262 Delete 2024-06-07 15:59:14 +05:30
Manav Rathi
076d62a22b Rearrange 2024-06-07 15:54:45 +05:30
Manav Rathi
56b1365747 Rename 2024-06-07 15:52:46 +05:30
Manav Rathi
9d2441d255 The other direction 2024-06-07 15:44:50 +05:30
Neeraj Gupta
ffde4c2bb8 [photos] Enable l10n for Russian, Turkish, & Portuguese(Brazilian) 2024-06-07 15:10:43 +05:30
Manav Rathi
06ee928aac Acknowledge that we're not taking care of excludedCredentials currently 2024-06-07 15:06:01 +05:30
Manav Rathi
a4799a2909 Ignore cancels 2024-06-07 14:55:54 +05:30
Manav Rathi
a0ca3f2c5a Begin 2024-06-07 14:32:13 +05:30
atyabbin
62297d1fe6 Dashboard improvement (#2015)
The dashboard now consists of 2 input fields: token and, email id, the token gets stored in the local storage when you enter it for the first time and if we reload, the input field automatically retrieves the values from the local storage. The host (http://localhost:8080) is passed through ENV variable to generate the URL: http://localhost:8080/admin/user?email=YOUR_EMAIL&token=YOUR_TOKEN and
fetch data from the API
2024-06-07 14:10:59 +05:30
Audun
f73a044cc9 Remove typo 2024-06-07 10:40:55 +02:00
Audun
26b8456dee Update information about sharable urls 2024-06-07 10:37:30 +02:00
Manav Rathi
b16bce7f04 Document what we're intending to do 2024-06-07 13:43:52 +05:30
Manav Rathi
a8834f5d7e Fix 2024-06-07 13:15:29 +05:30
Manav Rathi
b07841f972 Create a separate variant for accounts 2024-06-07 12:49:56 +05:30
Manav Rathi
e68a968255 Use fetch 2024-06-07 12:38:48 +05:30
Manav Rathi
9d670db89c Pass the package explicitly 2024-06-07 12:23:01 +05:30
Manav Rathi
0da1337921 Naming 2024-06-07 12:16:10 +05:30
Manav Rathi
1e8ec0e814 Set for accounts headers 2024-06-07 12:11:02 +05:30
Manav Rathi
242c669de4 XCP 2024-06-07 12:00:29 +05:30
Manav Rathi
dd6f36e037 Unnest 2024-06-07 11:34:08 +05:30
Manav Rathi
6d4e434a8d Rearrange 2024-06-07 11:29:01 +05:30
Neeraj Gupta
17025a24f4 [mobile] New translations (#2040)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-06-07 11:25:39 +05:30
Neeraj Gupta
849adb8a0b [photos] Hide Archived collections from on Ente section (#2045)
## Description

## Tests
2024-06-07 11:21:00 +05:30
Neeraj Gupta
4ca5f80241 [photos] Hide Archived collections from on Ente section 2024-06-07 11:20:27 +05:30
Manav Rathi
bde9903b1d [auth] Update download links (#2044) 2024-06-07 11:14:05 +05:30
Manav Rathi
c9bf449521 [auth] Update download links 2024-06-07 11:13:24 +05:30
Manav Rathi
332168af1a Update README.md (#2036)
## Description
Updated broken link (Ente Auth: Download for desktop).
2024-06-07 11:12:36 +05:30
Manav Rathi
73cebcdb54 [web] New translations (#2039)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-07 11:08:58 +05:30
Manav Rathi
33be371d85 [web] Passkey related changes on the photos web app (#2043) 2024-06-07 11:07:45 +05:30
Manav Rathi
897f3d074d Update the name 2024-06-07 11:06:23 +05:30
Manav Rathi
8f77318e88 Tweak 2024-06-07 11:04:16 +05:30
Manav Rathi
9660a1c32a Remove old deployment shortcuts 2024-06-07 10:59:45 +05:30
Manav Rathi
b43d626653 Tweak 2024-06-07 10:59:28 +05:30
Manav Rathi
964215bbc9 Rearrange 2024-06-07 10:53:44 +05:30
Manav Rathi
3a97f16435 Reuse 2024-06-07 10:33:01 +05:30
Manav Rathi
5297156229 Do the same as the totp 2fa flow 2024-06-07 10:32:34 +05:30
Manav Rathi
9bdf316683 Directly go to app home after passkey finish 2024-06-07 10:19:31 +05:30
Manav Rathi
2ba4177f8a Remove double redirect 2024-06-07 10:13:48 +05:30
Manav Rathi
7356522c6f Extract 2024-06-07 10:06:41 +05:30
Manav Rathi
cafead44d4 [web] Passkeys - Various code tweaks (#2042) 2024-06-07 09:38:46 +05:30
Manav Rathi
28ba02a2ef Fix 2024-06-07 09:32:20 +05:30
Manav Rathi
8854807f09 Log 2024-06-07 09:31:07 +05:30
Manav Rathi
cb01c6d5ce Clear state 2024-06-07 09:25:02 +05:30
Neeraj Gupta
772a9e38dd [auth] New translations (#2041)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-06-07 09:20:05 +05:30
Manav Rathi
3b2f72459d Refresh 2024-06-07 09:18:20 +05:30
Manav Rathi
645a7f32e1 Nested 2024-06-07 09:05:31 +05:30
Manav Rathi
2afc424f62 Fix 2024-06-07 08:57:05 +05:30
Crowdin Bot
20b23422e2 New Crowdin translations by GitHub Action 2024-06-07 02:10:24 +00:00
Crowdin Bot
06d6cd10ba New Crowdin translations by GitHub Action 2024-06-07 01:59:25 +00:00
Crowdin Bot
9cdd184ee1 New Crowdin translations by GitHub Action 2024-06-07 01:43:36 +00:00
Aman Raj Singh Mourya
1cd0440453 [mob][photos] added logic of Pin and Password screen 2024-06-07 01:57:59 +05:30
Manav Rathi
c983c43ba1 Rename again 2024-06-06 21:32:10 +05:30
Manav Rathi
0e284752d1 Tweak 2024-06-06 21:21:31 +05:30
Manav Rathi
e9129473ed Edit 2024-06-06 21:13:02 +05:30
Akash A
a1fd652ce0 Update README.md
Updated broken link (Ente Auth: Download for desktop).
2024-06-06 20:26:31 +05:30
Manav Rathi
5494b2a20e Edit 2024-06-06 19:56:35 +05:30
ashilkn
637f3522a9 [mob][photos] Polish magic section UI 2024-06-06 19:16:20 +05:30
ashilkn
5dda37a192 [mob][photos] Use correct naming + remove unnecessary field 2024-06-06 18:10:50 +05:30
ashilkn
6b3c9ee19c [mob][photos] Surface magic section results in UI, using moments section's widget 2024-06-06 17:34:48 +05:30
Ashil
9634c1e291 [mob][photos] bump up to v0.8.134 (#2035)
## Description

## Tests
2024-06-06 17:16:27 +05:30
ashilkn
13bc758dde [mob][photos] bump up to v0.8.134 2024-06-06 17:13:36 +05:30
Vishnu Mohandas
7b299c5a42 Revert "[mob][photos] Fix BG task not getting killed" (#2034)
Reverts ente-io/ente#1608
2024-06-06 17:10:38 +05:30
Ashil
0969ded02a Revert "[mob][photos] Fix BG task not getting killed" 2024-06-06 17:09:29 +05:30
Vishnu Mohandas
655ed91980 [mob][photos] Bump up to v0.8.133 (#2033) 2024-06-06 16:52:34 +05:30
ashilkn
e398db0c10 [mob][photos] Bump up to v0.8.133 2024-06-06 16:48:57 +05:30
Manav Rathi
405e452eee Simplify 2024-06-06 16:45:43 +05:30
Manav Rathi
09d05b0d04 Inline 2024-06-06 16:28:35 +05:30
Manav Rathi
ca42feffe6 Resurrect 2024-06-06 16:25:35 +05:30
Manav Rathi
229f7cc676 Remove indirection and rename 2024-06-06 15:51:25 +05:30
atyabbin
6f1c52d548 Removed the code to retrieve the host from local storage 2024-06-06 15:42:29 +05:30
Manav Rathi
633e006b73 [web] Get passkeys working on localhost too (#2031) 2024-06-06 15:38:49 +05:30
Manav Rathi
144ebca203 Untab 2024-06-06 15:38:35 +05:30
Manav Rathi
7f08b31771 Fix 2024-06-06 15:29:05 +05:30
Neeraj Gupta
386e2846e7 [server] Prefer wasabi for downloading files via CLI (#2030)
## Description

## Tests
Tested locally.
Verified that the CLI client tried to download the file from pref Wasabi
bucket flow,while the web client downloaded the file from B2
2024-06-06 15:26:55 +05:30
Neeraj Gupta
3389acd42b Lint fix 2024-06-06 15:20:21 +05:30
atyabbin
57629f26c0 Using ENV variables to pass the host 2024-06-06 15:17:00 +05:30
Manav Rathi
aed516988f Inline 2024-06-06 15:04:59 +05:30
Manav Rathi
ba20fd4763 Document 2024-06-06 14:57:09 +05:30
Manav Rathi
0d3db76cb0 Remove unused styles 2024-06-06 14:44:25 +05:30
Neeraj Gupta
985659ea56 Prefer wasabi objects for CLI requets 2024-06-06 14:38:05 +05:30
Manav Rathi
54884a7dd2 Dev notes 2024-06-06 14:37:57 +05:30
Manav Rathi
a0393bc2b6 README 2024-06-06 14:31:24 +05:30
Manav Rathi
76c684b25e Notes from discussion 2024-06-06 14:15:28 +05:30
Manav Rathi
e96eeb2315 Allow localhost in development 2024-06-06 13:48:05 +05:30
Manav Rathi
4d2e4f0194 Fix 2024-06-06 12:41:50 +05:30
Manav Rathi
4bdca0f09f Add a smaller sample 2024-06-06 12:40:02 +05:30
Manav Rathi
c51edddb53 Clarify 2024-06-06 12:31:35 +05:30
Manav Rathi
71e908c3a2 Separate 2024-06-06 12:24:17 +05:30
Manav Rathi
836712c020 Ren 2024-06-06 12:19:19 +05:30
Manav Rathi
c035d5cafa Ren 2024-06-06 12:16:07 +05:30
Manav Rathi
d247cc6cad Reword template 2024-06-06 12:13:28 +05:30
Aman Raj Singh Mourya
8e54da8026 [mob][photos] share with placeholder and changed share link button (#1969) 2024-06-06 11:44:43 +05:30
ashilkn
a3ebd4c062 [mob][photos] Make score threshold configurable 2024-06-06 11:32:33 +05:30
ashilkn
3d3588e64e Merge branch 'main' into rediscovery-3 2024-06-06 10:59:59 +05:30
Manav Rathi
d5eb850503 [docs] Add auth's migration-from-other guide to sidebar (#2029)
And a few minor tweaks.

Ref: https://github.com/ente-io/ente/pull/2022
2024-06-06 10:51:09 +05:30
Manav Rathi
07a137ea74 [docs] Add auth's migration-from-other guide to sidebar
And a few minor tweaks.

Ref: https://github.com/ente-io/ente/pull/2022
2024-06-06 10:48:26 +05:30
Ashil
5f9a466178 Add more startup logs (#2028)
## Description

## Tests
2024-06-06 10:45:02 +05:30
Neeraj Gupta
725478b0da Add more startup logs 2024-06-06 10:42:29 +05:30
Manav Rathi
ab893bc274 Created instructions to import from most providers (#2022)
## Description
Added detail to docs on what's able to be imported via the app

Give me a shout if anything needs updating!
2024-06-06 10:40:43 +05:30
Ashil
ee30dc3e91 [photos][mob] Enhance quick links section UI/UX (#2019)
## Description




https://github.com/ente-io/ente/assets/77285023/5656205b-e0c6-484b-a20b-24ed5294fd18
2024-06-06 10:00:49 +05:30
Neeraj Gupta
08340b124b [cli] Update README (#2026)
## Description

## Tests
2024-06-06 08:56:40 +05:30
Neeraj Gupta
f4d44e484d [cli] Update README 2024-06-06 08:51:12 +05:30
Aman Raj Singh Mourya
356d119fb9 [mob][photos] password screen added 2024-06-06 00:37:19 +05:30
Tom
015f761866 Created instructions to import from most providers 2024-06-05 19:16:57 +01:00
Manav Rathi
d7926e05bb [web] Use our standard crypto layer in accounts app (#2021) 2024-06-05 20:28:11 +05:30
Manav Rathi
2d621b9879 Add TODOs 2024-06-05 20:17:14 +05:30
Manav Rathi
19e1bd51c8 Use our layer in cast 2024-06-05 19:59:15 +05:30
Manav Rathi
afc4a007db Use 2024-06-05 19:51:50 +05:30
Manav Rathi
02e8923e77 Use 2024-06-05 19:48:01 +05:30
Manav Rathi
485614166d The other way 2024-06-05 19:43:39 +05:30
Manav Rathi
b49e829cc5 New variant 2024-06-05 19:30:48 +05:30
Manav Rathi
d3ddf92849 Namespace in prep for a new method for unpadded 2024-06-05 19:28:38 +05:30
Manav Rathi
3e09fda76c [web] New translations (#2017)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-05 17:12:14 +05:30
ashilkn
0e028fa9d1 [photos][mob] Imporve UI/UX of quick link by only showing max 6 in shared tab + expand all in a different screen 2024-06-05 16:36:22 +05:30
Crowdin Bot
263f207995 New Crowdin translations by GitHub Action 2024-06-05 10:09:14 +00:00
Manav Rathi
85bfa826b2 [web] Surface level cleanup of the accounts app (#2016) 2024-06-05 15:38:30 +05:30
Manav Rathi
2a0a7675a3 README 2024-06-05 15:33:41 +05:30
ashilkn
9fef6ae662 [mob][photos] Redesign QuickLinkAlbumItem 2024-06-05 15:05:52 +05:30
Manav Rathi
b602e68c5b Same 2024-06-05 15:04:28 +05:30
Manav Rathi
7a2168a7b7 Ren 2024-06-05 15:03:27 +05:30
Manav Rathi
9ee4ab4cc0 type 2024-06-05 15:00:08 +05:30
Manav Rathi
b987f80ee5 Only pages in pages 2024-06-05 14:55:05 +05:30
Manav Rathi
ecaba3fb78 R 2024-06-05 14:47:04 +05:30
Manav Rathi
c83172f552 Rename and case 2024-06-05 14:46:39 +05:30
Manav Rathi
1ff6a53131 type 2024-06-05 14:38:16 +05:30
Manav Rathi
b0ce1c971b Remu 2024-06-05 14:26:25 +05:30
Manav Rathi
33fc86cff7 Inline 2024-06-05 14:25:10 +05:30
atyabbin
674907cd2a Added the required lint formatting and email input field 2024-06-05 14:18:19 +05:30
Manav Rathi
50b032654c Prune 2024-06-05 14:16:27 +05:30
Manav Rathi
62c413959e Mig 2024-06-05 14:15:47 +05:30
Manav Rathi
1d182d4ed6 Rem 2024-06-05 14:13:20 +05:30
Manav Rathi
6c4d2e8a9e Fin 2024-06-05 14:03:00 +05:30
Manav Rathi
7b3a66a117 Fix 2024-06-05 14:00:39 +05:30
Manav Rathi
0f5f488fc7 Prune 2024-06-05 13:58:17 +05:30
Ashil
26a0796efe [mob][photos] Fix: sharing to outside ente doesn't work on iPad (#2014) 2024-06-05 13:51:56 +05:30
Manav Rathi
a65ebacfbd Fix 2024-06-05 13:51:12 +05:30
Manav Rathi
2213b7c39f Prune 2024-06-05 13:47:03 +05:30
ashilkn
78ce353069 Merge branch 'send_link_button_change' into fix_broken_share_ipad 2024-06-05 13:46:52 +05:30
ashilkn
b62e5a5f82 Merge branch 'main' into send_link_button_change 2024-06-05 13:45:57 +05:30
Manav Rathi
bad51eaab0 Prune 2024-06-05 13:42:46 +05:30
Manav Rathi
c1134c9b0c Disentangle 2024-06-05 13:41:03 +05:30
Manav Rathi
e65ea1a8c5 Remove unused 2024-06-05 13:30:57 +05:30
Manav Rathi
af8c9a686e Fix 2024-06-05 13:28:43 +05:30
Manav Rathi
29cd3a69d0 Fix 2024-06-05 13:26:37 +05:30
Manav Rathi
88d51c3746 Add to tr 2024-06-05 13:24:31 +05:30
Manav Rathi
0dcec4cb9d Similar 2024-06-05 13:20:14 +05:30
Manav Rathi
608a4e00bb Be consistent with the current name 2024-06-05 12:59:57 +05:30
ashilkn
419a4a78cf [mob][photos] Fix share outside of ente not working at multiple places on iPad
For the ios share sheet to be shown properly on iPad, the position of the button that triggered it needs to be known, which requires BuildContext and GlobalKey of the button, which is difficult to pass from some parts of code. So to make it work, we pass a default point on the screen so that the share sheet at least shows up
2024-06-05 12:54:53 +05:30
Manav Rathi
7281827981 Tinker 2024-06-05 12:40:24 +05:30
Manav Rathi
ade74be871 Prune
We don't use next/image
2024-06-05 12:32:41 +05:30
Neeraj Gupta
017cb7eb96 [photos] Bump version to 0.8.133+653 2024-06-05 12:30:50 +05:30
Neeraj Gupta
bf36f415db Enable video editor for internal users 2024-06-05 12:30:11 +05:30
Manav Rathi
5c9990e0a6 Remove template assets 2024-06-05 12:29:35 +05:30
Neeraj Gupta
24ea4374cf Merge branch 'main' into mobile-videoeditor 2024-06-05 12:28:50 +05:30
ashilkn
79838bd49d [mob][photos] fix shareText not working (regression) 2024-06-05 11:46:51 +05:30
Manav Rathi
35a290f221 [desktop] [WIP] What's New (#2013)
This does nothing currently, this is the WIP ability to show what's new
dialog on desktop app updates. The UI is done, need to hook this up to
logic to trigger it.
2024-06-05 11:41:43 +05:30
Manav Rathi
4d3674f6a5 Disable 2024-06-05 11:38:13 +05:30
Manav Rathi
068c01a4d4 Cleanp 2024-06-05 11:36:54 +05:30
Manav Rathi
13584c6137 The open prop is necessary to get the animation to work 2024-06-05 11:36:54 +05:30
Manav Rathi
d68da33bb4 Tweak visual positioning 2024-06-05 11:36:53 +05:30
Manav Rathi
7d9a28a394 Limit size 2024-06-05 11:36:53 +05:30
Manav Rathi
010b6e873d Text 2024-06-05 11:36:53 +05:30
Manav Rathi
13665d9ff4 Comment 2024-06-05 11:36:53 +05:30
Manav Rathi
7999c6432c Focus visible 2024-06-05 11:36:53 +05:30
Manav Rathi
b96a8ed59e Buttons 2024-06-05 11:36:53 +05:30
Manav Rathi
df3a37b55e hier 2024-06-05 11:36:53 +05:30
Manav Rathi
c04e6a2eae Move 2024-06-05 11:36:53 +05:30
Manav Rathi
e29908f8b3 Inline 2024-06-05 11:36:53 +05:30
Manav Rathi
d0640a094b Tinker 2024-06-05 11:36:53 +05:30
Manav Rathi
82fbbd427e Scaffold 2024-06-05 11:35:54 +05:30
Manav Rathi
69b1602f9c scaffold 2024-06-05 11:35:54 +05:30
Manav Rathi
a90275f491 [docs] Self hosting public albums (#2012)
More improvements suggested by Dylanger in Discord
2024-06-05 11:31:10 +05:30
Manav Rathi
1b6995fc78 [docs] Self hosting public albums
More improvements suggested by Dylanger in Discord
2024-06-05 11:28:25 +05:30
ashilkn
5723654ee0 [mob][photos] Fix send link not working on iPad 2024-06-05 11:19:10 +05:30
Manav Rathi
120642850e [web] Enable TypeScript's strict mode on the accounts app and package (#2011) 2024-06-05 11:13:10 +05:30
Manav Rathi
551f4a848e Fix 2024-06-05 11:09:34 +05:30
Manav Rathi
cfbba44bc1 lint-fix 2024-06-05 11:07:02 +05:30
Manav Rathi
e490487788 Fix 2024-06-05 11:03:20 +05:30
Neeraj Gupta
93bcb279ef [auth] Fix handling of no username during bitwarden import (#2010)
## Description

## Tests
2024-06-05 10:35:29 +05:30
Neeraj Gupta
598be87e61 [auth] Bump version 3.0.8 2024-06-05 10:27:22 +05:30
Neeraj Gupta
bd86951d12 Add icons: DirectAdmin, Hivelocity, Registro.br (#2009) 2024-06-05 10:15:03 +05:30
Victor Benincasa
d6f4eb69d1 Add icons: DirectAdmin, Hivelocity, Registro.br 2024-06-05 01:37:42 -03:00
Neeraj Gupta
11304d9093 Fix: Handle null account name during bitwarden import 2024-06-05 10:01:11 +05:30
Victor Benincasa
2eb7d4639a Add icons: DirectAdmin, Hivelocity, Registro.br 2024-06-05 01:29:37 -03:00
Neeraj Gupta
4e45867994 [photos] Bump version 0.8.132+652 (#2008)
## Description

## Tests
2024-06-05 09:13:49 +05:30
Neeraj Gupta
9d156daf3a [photos] Bump version 0.8.132+652 2024-06-05 09:13:31 +05:30
Neeraj Gupta
129fd98fcc [mobile] New translations (#2007)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-06-05 08:47:51 +05:30
Crowdin Bot
c94bc25811 New Crowdin translations by GitHub Action 2024-06-05 03:15:56 +00:00
Neeraj Gupta
f06b7a4b71 [mob][gallery] Refactor grouping to enable week/month/year wise groups (#1610)
## Description
I haven't added any UI hook to change this GroupType. Tested it locally
to verify that the functionality work as expected.

## Tests
Tested locally
2024-06-05 08:45:14 +05:30
Neeraj Gupta
a65e2333ae Thumbnail duration (#2001)
## Description

Puts a bottom right overlay on video thumbnails, displaying the duration
of the video.
2024-06-05 08:44:58 +05:30
Neeraj Gupta
9dac3bf51b [mob] Group by size (#1886)
## Description

## Tests
2024-06-05 08:42:02 +05:30
Aman Raj Singh Mourya
5b89ef972f lock option screen added 2024-06-05 02:27:55 +05:30
atyabbin
0c29e408f9 dashboard 2024-06-05 01:17:41 +05:30
Manav Rathi
2a7f2ac292 one remains 2024-06-04 22:09:33 +05:30
Manav Rathi
fe6492009b Fix 2024-06-04 22:02:53 +05:30
Manav Rathi
447fa5afad Fix 2024-06-04 22:00:01 +05:30
Manav Rathi
0a7af5b26d Fix 2024-06-04 21:57:14 +05:30
Manav Rathi
6a0126926d Fix 2024-06-04 21:26:04 +05:30
Manav Rathi
d14c7cf4c9 Fix 2024-06-04 21:12:09 +05:30
Manav Rathi
834660bee4 Fix 2024-06-04 21:10:12 +05:30
Manav Rathi
47e2c1bbc7 Fix 2024-06-04 21:06:09 +05:30
Manav Rathi
48a03ae0b0 Dedup 2024-06-04 20:56:32 +05:30
Manav Rathi
3734a50713 fix 2024-06-04 20:41:17 +05:30
Manav Rathi
5b6a1198b1 Move 2024-06-04 20:38:08 +05:30
Manav Rathi
c69fe2a979 Fix 2024-06-04 20:30:35 +05:30
Manav Rathi
d582f79f42 new tsc 2024-06-04 20:09:52 +05:30
laurenspriem
85449fad70 [mob][photos] Horizontal padding 2024-06-04 19:51:31 +05:30
Manav Rathi
5c35fe785c new tsc 2024-06-04 19:47:44 +05:30
laurenspriem
1af5008ed8 [mob][photos] Always use video overlay 2024-06-04 18:48:59 +05:30
laurenspriem
8841ef9dc1 Merge branch 'face_cooldown' into thumbnail_duration 2024-06-04 18:33:32 +05:30
laurenspriem
b56a093052 Merge branch 'main' into thumbnail_duration 2024-06-04 18:33:23 +05:30
Laurens Priem
75dee19c62 Face cooldown (#2000)
## Description

- User interaction pause in iOS
- Face indexing cooldown
- Pause indexing instantly
- Increase file download limit

## Tests

Tested in debug mode on my pixel phone.
2024-06-04 18:33:22 +05:30
laurenspriem
465760e329 [mob][photos] Increase file download limit to 10 2024-06-04 18:11:54 +05:30
laurenspriem
04048b20fe [mob][photos] Make sure indexing is paused instantly 2024-06-04 18:11:15 +05:30
laurenspriem
6743aa3db4 [mob][photos] Cooldown in indexing to prevent OS killing app 2024-06-04 17:53:25 +05:30
Neeraj Gupta
e3bbd7f536 Remove shared files from large files list 2024-06-04 17:43:14 +05:30
Neeraj Gupta
e5a71da00a Revert "Rename Backed up folder -> Automatic backups'"
This reverts commit 0f99fa2ba7.
2024-06-04 17:40:12 +05:30
Neeraj Gupta
f47fc2c27c Add view large file option 2024-06-04 17:40:08 +05:30
laurenspriem
a24d8f94d3 [mob][photos] Wait on interaction in iOS 2024-06-04 17:02:45 +05:30
Neeraj Gupta
f8b933a08f Add descriptions to sections 2024-06-04 16:59:14 +05:30
Neeraj Gupta
943dceb993 Move free up space options into separate page 2024-06-04 16:44:58 +05:30
Neeraj Gupta
0f99fa2ba7 Rename Backed up folder -> Automatic backups' 2024-06-04 16:33:00 +05:30
Neeraj Gupta
8a81c0e66c generated strings 2024-06-04 16:10:09 +05:30
Manav Rathi
9faa75e7aa [web] New translations (#1997)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-06-04 15:41:23 +05:30
Crowdin Bot
1e420fce74 New Crowdin translations by GitHub Action 2024-06-04 10:08:32 +00:00
Manav Rathi
04a41e278d [web] Localized string fixes (#1996)
- Add missing string
- Rename
- Reuse
2024-06-04 15:37:39 +05:30
Manav Rathi
3735c0ba4f Rename 2024-06-04 15:34:57 +05:30
Manav Rathi
e49a7abe6d rename and reuse 2024-06-04 15:32:47 +05:30
Manav Rathi
a9c368fa0c Rename 2024-06-04 15:28:25 +05:30
Manav Rathi
1fcb26453a Add missing string 2024-06-04 15:25:47 +05:30
Manav Rathi
d863797f34 [web] Improve self hosted file fetch security (#1994) 2024-06-04 14:52:29 +05:30
Manav Rathi
13c64e0cce publ albums 2024-06-04 14:46:50 +05:30
Manav Rathi
21d3d55bf5 cast 2024-06-04 14:27:02 +05:30
Manav Rathi
895ab1764e Thumbs 2024-06-04 14:09:47 +05:30
Manav Rathi
d44b951f0d Retain older behaviour for default fetches 2024-06-04 13:58:07 +05:30
Manav Rathi
515c28530e Thumb 2024-06-04 13:40:49 +05:30
Manav Rathi
9edbdfdd49 File URL 2024-06-04 13:39:08 +05:30
Manav Rathi
efcf36ea4e files origin 2024-06-04 13:32:35 +05:30
Manav Rathi
471df817ac Thumbs 2024-06-04 13:28:03 +05:30
Manav Rathi
dcc599d856 Use for file 2024-06-04 13:22:34 +05:30
Ashil
f2283edb79 [mob][photos] Bump up version + use latest flutter version (v3.22.1) (#1993) 2024-06-04 13:07:17 +05:30
Manav Rathi
89b703498c [web] Pass the auth token as a query param when fetching files 2024-06-04 12:58:21 +05:30
Neeraj Gupta
72f4ebfe42 Merge branch 'generic_group_by' into group_by_size 2024-06-04 12:45:32 +05:30
Neeraj Gupta
f876ba627e Merge branch 'main' into generic_group_by 2024-06-04 12:44:00 +05:30
Neeraj Gupta
358761f267 [auth] Fix existing steam entry handling (#1992)
## Description
Fixes #1980 #1982 
## Tests
2024-06-04 12:35:23 +05:30
Neeraj Gupta
efcf304194 Merge remote-tracking branch 'origin/main' into fix_hide_for_steam 2024-06-04 12:33:13 +05:30
Manav Rathi
d839be5a76 [desktop] Revert to 1.6.63 Linux icon behaviour (#1991)
Ref: https://github.com/ente-io/ente/issues/1909

The code I deleted was an experiment which was not working anyway
(tested on Ubuntu 22 and 24).
2024-06-04 12:31:30 +05:30
Neeraj Gupta
6808bdb9e3 [auth] Downgrade to flutter v3.19.3 (#1990)
This reverts commit b753c47e01.

## Description

## Tests
2024-06-04 12:30:42 +05:30
Manav Rathi
e4bc206d6a [desktop] Revert to 1.6.63 Linux icon behaviour
https://github.com/ente-io/ente/issues/1909
2024-06-04 12:30:05 +05:30
Neeraj Gupta
2d9b95f950 [auth] Bump version v3.0.7 2024-06-04 12:30:02 +05:30
Neeraj Gupta
9a921c314a Handle steam code generation 2024-06-04 12:29:34 +05:30
Neeraj Gupta
0b626fc781 Update icon 2024-06-04 12:29:23 +05:30
Manav Rathi
feeebea75b [docs] Add a delete account FAQ (#1989) 2024-06-04 12:13:41 +05:30
Manav Rathi
e8dcd3d742 [docs] Add a delete account FAQ 2024-06-04 12:12:31 +05:30
ashilkn
3d0a810f26 [mob][photos] Upgrade share_plus 2024-06-04 12:11:04 +05:30
Neeraj Gupta
1a10e2da4f Revert "Update flutter version"
This reverts commit b753c47e01.
2024-06-04 11:58:19 +05:30
Neeraj Gupta
6aabeb3e7e [mobile] New translations (#1983)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-06-04 11:57:53 +05:30
Neeraj Gupta
8be2746d65 [auth] Add GMX, Real-Debrid & Surfshark icons (#1963)
## Description
This PR adds custom icons for GMX, Real-Debrid and Surfshark. Also
sorted the JSON on alphabetical order again.
2024-06-04 11:53:02 +05:30
Neeraj Gupta
9151821f05 [auth] New translations (#1984)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-06-04 11:51:48 +05:30
Neeraj Gupta
1ab9c31a51 [auth] Add new custom icons in auth (#1981)
Added new icons that were not appearing in the app

- ConfigCat
- Mercado Livre
- SendGrid
- Habbo
- Local

Added new icon

- WorkOS
Updated some altNames

Fix: Issue #1627
2024-06-04 11:46:28 +05:30
Laurens Priem
ac3f9f7ea1 Face improvements (#1988)
## Description

- Minimum cluster size of 10
- Suggestions instant undo button
- Sort names alphabetically in naming sheet
- Remove ripple effect in suggestions
- Don't pause ML in ML settings page (unless device is unhealthy)

## Tests

Tested in debug mode on my pixel phone.
2024-06-04 11:42:39 +05:30
laurenspriem
4133764cb0 [mob][photos] Don't pause ML when in ML settings page 2024-06-04 11:33:13 +05:30
Manav Rathi
8f773be4b6 [docs] Add an example working Dockerfile for public albums (#1986)
Credits: Dylanger in #self-hosting on our community Discord

(https://discord.com/channels/948937918347608085/1215252276911018014/1247207784806613123)
2024-06-04 10:13:12 +05:30
Manav Rathi
aa25174fbe [docs] Add an example working Dockerfile for public albums
Credits: Dylanger in #self-hosting on our community Discord
(https://discord.com/channels/948937918347608085/1215252276911018014/1247207784806613123)
2024-06-04 10:11:15 +05:30
Crowdin Bot
1d825f2f89 New Crowdin translations by GitHub Action 2024-06-04 02:08:05 +00:00
Crowdin Bot
d9f33379f2 New Crowdin translations by GitHub Action 2024-06-04 01:58:50 +00:00
ialexanderbrito
31a63447d6 feat: add new icons svg 2024-06-03 16:21:00 -03:00
laurenspriem
9db9a18e3e [mob][photos] Forgot 2024-06-03 20:36:27 +05:30
laurenspriem
e61d9886dc [mob][photos] Fix translation for available space 2024-06-03 20:36:08 +05:30
laurenspriem
11d9529496 [mob][photos] Get rid of ripple effect 2024-06-03 20:30:21 +05:30
laurenspriem
9916032e23 [mob][photos] Sort persons alphabetically in naming sheet 2024-06-03 20:16:20 +05:30
laurenspriem
22d468836c [mob][photos] suggestions undo button 2024-06-03 20:12:06 +05:30
ashilkn
8b44165b77 [mob][photos] Fix shadows in send link icon 2024-06-03 18:35:58 +05:30
ashilkn
482239ce8d [mob][photos] Change names and copy 2024-06-03 18:04:58 +05:30
ashilkn
ee602e63d2 [mob][photos] Show loading dialog after clicking on send link till the native share sheet comes up 2024-06-03 17:58:45 +05:30
ashilkn
5367e90ecf [mob][photos] Stop showing redundant toast 2024-06-03 17:49:37 +05:30
ashilkn
7204d3471f [mob][photos] Do not show fav icon on placeholder elements 2024-06-03 16:36:22 +05:30
ashilkn
f7e24287ba [mob][photos] Tweak stroke of elements in placeholder to match figma design 2024-06-03 16:30:50 +05:30
Manav Rathi
810fd2a51a [desktop] Add a default window size (#1977) 2024-06-03 16:26:07 +05:30
Manav Rathi
0784dc926b Update doc 2024-06-03 16:24:27 +05:30
Manav Rathi
ee5448b5c6 [desktop] Add a default window size 2024-06-03 16:22:24 +05:30
ashilkn
8367e4d4e1 [mob][photos] Fix UI of element depicting extra photos in placeholder shared with link 2024-06-03 16:22:22 +05:30
ashilkn
7ee9d8efdd [mob][photos] Upgrade dependency to work with flutter 3.22.x 2024-06-03 15:41:57 +05:30
Ashil
88e8f997ef [mob][photos] bump up to v0.8.130 (#1974)
## Description

Bumping up version for internal release.
2024-06-03 15:39:12 +05:30
ashilkn
4f2dd7ccdf Merge branch 'main' into send_link_button_change 2024-06-03 15:21:59 +05:30
Manav Rathi
b22733692a [staff] Don't need submodules (#1975) 2024-06-03 15:17:50 +05:30
Manav Rathi
8b83975edf Rename 2024-06-03 15:17:29 +05:30
Manav Rathi
a63a6fc1c2 Separate the actions 2024-06-03 15:16:56 +05:30
Manav Rathi
08a60d827f [staff] Don't need submodules 2024-06-03 15:13:56 +05:30
Manav Rathi
c9340ed383 [infra] Move staff to infra (#1973) 2024-06-03 15:12:36 +05:30
Manav Rathi
ea476b9c96 lf 2024-06-03 15:10:08 +05:30
Manav Rathi
c8c19972d9 lint on PR 2024-06-03 15:09:16 +05:30
Manav Rathi
ac32a33358 lf 2024-06-03 15:06:23 +05:30
Manav Rathi
6b6a81b6a8 Need yarn.lock for caching 2024-06-03 15:05:58 +05:30
Manav Rathi
16272dc7b0 README 2024-06-03 15:05:58 +05:30
Manav Rathi
9a47135209 gi yarn.lock 2024-06-03 15:05:58 +05:30
Manav Rathi
c91b0e4d3e lint 2024-06-03 15:05:58 +05:30
Manav Rathi
ff29bda5ac gitig 2024-06-03 15:05:58 +05:30
Manav Rathi
78b82e774d tsconfig 2024-06-03 15:05:58 +05:30
Manav Rathi
2d8b16ca99 Move files 2024-06-03 15:05:54 +05:30
Neeraj Gupta
493153dce1 [AegisImport] Fix Steam code import & parse groups and fav flag (#1972)
## Description

## Tests
Tested locally
2024-06-03 15:03:33 +05:30
Neeraj Gupta
d6b6e691c4 [auth] Bump version 3.0.6+306 2024-06-03 15:01:51 +05:30
Neeraj Gupta
6a266d86a6 [Aegis Import] Import fav as pinned entry 2024-06-03 14:59:23 +05:30
Neeraj Gupta
187dc0e280 [Aegis Import]Import group as tags 2024-06-03 14:58:38 +05:30
laurenspriem
08c8e11924 [mob][photos] Copy change 2024-06-03 14:56:50 +05:30
laurenspriem
dd7d082ca3 [mob][photos] Set minimum cluster size to 10 2024-06-03 14:54:49 +05:30
Neeraj Gupta
6aeb69bdde [Aegis Import] Enable steam import 2024-06-03 14:54:38 +05:30
Neeraj Gupta
81c2a5c94b [Bitwarden Import] Fix steam import & add folder as tag (#1970)
## Description
Also added additional logs on import failure

## Tests
Tested locally
2024-06-03 14:43:09 +05:30
Neeraj Gupta
7cd998ba3e [auth] Add bitwarden folder as tag 2024-06-03 14:30:27 +05:30
Neeraj Gupta
ad0069087f [auth] Support for importing auth code from steam 2024-06-03 14:19:30 +05:30
Neeraj Gupta
741018b802 Merge branch 'main' into steam_import_fix 2024-06-03 14:15:51 +05:30
Neeraj Gupta
b753c47e01 Update flutter version 2024-06-03 13:26:03 +05:30
Aman Raj Singh Mourya
0d99d3e037 [mob][photos] removed commented code 2024-06-03 13:20:05 +05:30
Aman Raj Singh Mourya
39d50d24f0 [mob][photos] send link button changed 2024-06-03 13:15:09 +05:30
Aman Raj Singh Mourya
ebf83b7bba [mob][photos] merge placeholder_for_link2 2024-06-03 12:15:43 +05:30
Neeraj Gupta
555f987511 [auth] Surface more information about importError on UI (#1954)
## Description
Surfacing error information on UI. 
This is to reduce the to and fro between customer and support as error
logging isn't enabled by default. Also, added missing logs at certain
places.
## Tests
2024-06-03 11:37:00 +05:30
Neeraj Gupta
122a84c818 [auth] Handle steam import from bitwarden 2024-06-03 11:09:41 +05:30
Manav Rathi
0cbf7db745 [desktop] Remember window size (#1968) 2024-06-03 10:20:14 +05:30
Manav Rathi
247db36c3b Add changelog entry 2024-06-03 10:18:58 +05:30
Manav Rathi
79d9eba099 Fin 2024-06-02 19:53:18 +05:30
Manav Rathi
19980559f4 Use 2 2024-06-02 19:33:15 +05:30
Manav Rathi
b365e03acd Use 1 2024-06-02 19:26:26 +05:30
Manav Rathi
d067673dca old 2024-06-02 19:15:10 +05:30
Manav Rathi
9deefeb019 window-rect 2024-06-02 19:13:53 +05:30
Manav Rathi
861b4d9228 [web] Introduce zod for API response runtime type validation (#1966)
Yup wasn't cutting it, after looking around and evaluating on a bunch of
parameters, zod seems like a better choice for such a primitive part of
our stack, even if it means an extra 8kb dependency in the bundle (zod
itself has no dependencies! wish more libs were like that).
2024-06-02 17:50:49 +05:30
Manav Rathi
1d5f936ced Move to lower layer for fixing eslint errors 2024-06-02 17:46:22 +05:30
Manav Rathi
e8a3b3b299 lf 2024-06-02 17:41:59 +05:30
Manav Rathi
62f3e6d47b Consolidate checks 2024-06-02 17:36:17 +05:30
Manav Rathi
0e9a4911b5 zod 2024-06-02 17:20:39 +05:30
Manav Rathi
7c3a137723 staff yup => zod 2024-06-02 17:11:03 +05:30
Manav Rathi
c9c582cbcc fix 2024-06-02 16:57:13 +05:30
Manav Rathi
d924ee636d Fix imports 2024-06-02 16:55:47 +05:30
Manav Rathi
176289d0a8 zod flags 2024-06-02 16:50:30 +05:30
Manav Rathi
f663c436cb Add zod
zod required strict mode, which is why creating this "@/new" package was a prereq.
2024-06-02 16:00:30 +05:30
Manav Rathi
3f3a63d8da Move 2024-06-02 15:50:58 +05:30
Manav Rathi
1360378aaa Fix circular dependency warning
> Circular dependency between chunks with runtime
  (src_services_face_face_worker_ts-src_services_face_index_ts-src_services_face_indexer_ts-src_-39d208,
  webpack)
2024-06-02 15:19:13 +05:30
Manav Rathi
14e4c3a133 Fix circular dependency warning 2024-06-02 15:06:21 +05:30
Manav Rathi
a6b8bfcf90 [web] Investigate ESLint 9 (but don't switch yet) (#1964)
Pending on https://github.com/facebook/react/pull/28773

Note - once we go eslint 9, we won't need the
`--report-unused-disable-directives` in our eslint invocation:

https://eslint.org/docs/latest/use/configure/configuration-files#reporting-unused-disable-directives
2024-06-02 15:02:42 +05:30
Sven
ae6e17c200 Add GMX, Real-Debrid & Surfshark 2024-06-02 11:21:06 +02:00
Manav Rathi
bf2a97f4a1 Prune (prep for eslint 9) 2024-06-02 14:40:34 +05:30
Manav Rathi
ebab8568b9 Prune old config 2024-06-02 14:31:01 +05:30
Manav Rathi
55ee9a5d29 [desktop] Upgrade dependencies to latest + ESLint 9 (#1962)
The two outdated dependencies in the desktop code at this point are
* Jackspeak, which needs to be pinned because of
https://github.com/isaacs/jackspeak/issues/5 (Presumably we'll not need
this once we go yarn v4).
* Electron store, which is ESM only.
2024-06-02 14:18:06 +05:30
Manav Rathi
27b7532ca4 lf 2024-06-02 14:15:13 +05:30
Manav Rathi
d38ea56492 Upgrade more 2024-06-02 14:06:06 +05:30
Manav Rathi
37f09c0dc3 yarn upgrade-interactive electron electron-log 2024-06-02 14:03:33 +05:30
Manav Rathi
22b9bc7804 onnx runtime 1.18
https://github.com/microsoft/onnxruntime/releases/tag/v1.18.0
https://stackoverflow.com/questions/70077595/is-32-bit-arm-windows-considered-dead-deprecated
2024-06-02 13:57:41 +05:30
Manav Rathi
aad4d62f05 typescript-eslint is not ready yet
https://github.com/typescript-eslint/typescript-eslint/pull/9002#issuecomment-2106424400
2024-06-02 13:56:06 +05:30
Manav Rathi
f716f3bed7 prettier 3.3
https://prettier.io/blog/2024/06/01/3.3.0
2024-06-02 13:50:36 +05:30
Manav Rathi
c2bf99531a eslint . is now the default
> If you are using a flat configuration file (eslint.config.js), you can also
> omit the file arguments and ESLint will use .
>
> https://eslint.org/docs/latest/use/command-line-interface
2024-06-02 13:42:16 +05:30
Manav Rathi
0d3db30cac Remove false disables that have been fixed in eslint 9 2024-06-02 13:41:13 +05:30
Manav Rathi
d9477891bb eslint 9 2024-06-02 13:38:10 +05:30
Manav Rathi
429caf5f6c New 2024-06-02 12:56:54 +05:30
Manav Rathi
39a17bc0b8 eslint 9 2024-06-02 12:45:59 +05:30
Manav Rathi
2310758810 We'll put react code here 2024-06-02 12:43:31 +05:30
Manav Rathi
781a99aa42 Place 2024-06-02 12:39:18 +05:30
Manav Rathi
3ff5b2f18f This config is automatically included
...if you use any of the recommended configurations.

https://typescript-eslint.io/users/configs/
2024-06-02 12:29:38 +05:30
Laurens Priem
38c88c9aa8 [mob][photos] Bump (#1960)
## Description

## Tests
2024-06-01 21:36:11 +05:30
laurenspriem
b6cb264cbb [mob][photos] Bump 2024-06-01 21:32:04 +05:30
Manav Rathi
74ff0e4abe [desktop] (Maybe) fix the dock icon on Linux (#1959)
Ref: https://github.com/ente-io/ente/issues/1909

build/icons/512-512.png is just a 1/2 copy of build/icons.png.
2024-06-01 20:31:53 +05:30
Manav Rathi
cab8660446 [desktop] (Maybe) fix the dock icon on Linux
Ref: https://github.com/ente-io/ente/issues/1909

build/icons/512-512.png is just a 1/2 copy of build/icons.png.
2024-06-01 20:05:35 +05:30
Manav Rathi
e4e47ab3d4 [desktop] Minor tweaks (#1958)
- Shorten tsconfig include
- Update @typescript-eslint/
2024-06-01 19:44:32 +05:30
Vishnu Mohandas
b8911d8303 Format doc 2024-06-01 18:07:55 +05:30
laurenspriem
1fdbf4f5f5 [mob][photos] Correct dynamic size of duration 2024-06-01 17:27:49 +05:30
Vishnu Mohandas
87f53177c0 Update index.md 2024-06-01 15:27:23 +05:30
ashilkn
33656c8206 [mob][photos] perf improvement when computing score on magic search 2024-06-01 13:12:29 +05:30
Neeraj Gupta
a43162d76a [photos] bump version 0.8.128+648 (#1956)
## Description

## Tests
2024-06-01 12:26:53 +05:30
Neeraj Gupta
68f291efe7 [photos] bump version 0.8.128+648 2024-06-01 12:26:28 +05:30
Neeraj Gupta
6e9b7272f3 Update mobile-release.yml (#1955)
## Description

## Tests
2024-06-01 12:20:32 +05:30
Neeraj Gupta
b53dc645c3 Update mobile-release.yml 2024-06-01 12:20:17 +05:30
Neeraj Gupta
12f28b489f [mob] Gracefully handle the case when app is stuck due to secureStore exception (#1916)
## Description

## Tests
2024-06-01 12:04:21 +05:30
Neeraj Gupta
ebc3f53fe3 Auth Bump version: 3.0.5+305 2024-06-01 11:32:51 +05:30
Neeraj Gupta
1f33df7147 [auth] Surface more information about importError on UI 2024-06-01 11:31:31 +05:30
Neeraj Gupta
26cbc5a2f0 [cli] Fix bug in decrypting exported data from Ente Auth (#1951)
## Description

## Tests
Tested locally
2024-05-31 21:31:22 +05:30
Neeraj Gupta
4674ab63e9 [cli] Fix Ente Auth export decryption 2024-05-31 21:29:17 +05:30
Manav Rathi
8b35cfd802 Update @typescript-eslint/* 2024-05-31 20:28:23 +05:30
Manav Rathi
010ff29b16 Shorten equiv 2024-05-31 20:20:33 +05:30
laurenspriem
354762eb72 Merge branch 'main' into thumbnail_duration 2024-05-31 18:27:58 +05:30
Laurens Priem
641efa15be Minor fixes (#1950)
## Description

## Tests
2024-05-31 18:20:30 +05:30
Neeraj Gupta
55e2911eef Bump version 2024-05-31 18:14:14 +05:30
Neeraj Gupta
d9553fc5bb Handle error during suggestion 2024-05-31 18:13:59 +05:30
Neeraj Gupta
9ce613eae5 Always use goodMeanDistance 2024-05-31 18:11:59 +05:30
Neeraj Gupta
be3e33f5c5 Handle missing cluster summary on sorting 2024-05-31 18:07:04 +05:30
Manav Rathi
f5fee2185c [desktop] RC updates (#1948) 2024-05-31 17:38:27 +05:30
Manav Rathi
44fefac37c Don't show the message to beta users
It's more confusing that way
2024-05-31 17:36:34 +05:30
Neeraj Gupta
8b53dac00c generated strings 2024-05-31 17:32:33 +05:30
Manav Rathi
abf13245dc pre 2024-05-31 17:13:17 +05:30
Manav Rathi
e87475beb7 [desktop] Update nightly release artifacts
Ref: https://github.com/electron-userland/electron-builder/issues/2074
2024-05-31 17:06:12 +05:30
Manav Rathi
55b62ce3cc [desktop] Fix the value for the release type env var (#1947) 2024-05-31 16:53:06 +05:30
Manav Rathi
b2405e8b59 [desktop] Fix the value for the release type env var 2024-05-31 16:52:01 +05:30
Manav Rathi
1eaa635d0e [desktop] Update published artifacts on the nightly pre-release (#1946)
Untested, will need to trigger the workflow to see if this works.
2024-05-31 16:35:14 +05:30
Manav Rathi
291d5c437c [desktop] Update published artifacts on the nightly pre-release 2024-05-31 16:33:21 +05:30
Manav Rathi
7f4b0c3d10 [desktop] Show option to enable face indexing for beta users (#1945) 2024-05-31 15:56:16 +05:30
Manav Rathi
4718e640b4 Match mobile behaviour, don't reset the consent per device 2024-05-31 15:52:54 +05:30
Manav Rathi
c7c50293df Reduce delay 2024-05-31 15:30:58 +05:30
laurenspriem
054dd58435 Merge branch 'main' into thumbnail_duration 2024-05-31 15:30:33 +05:30
Manav Rathi
b7181963ca Fix 2024-05-31 15:28:57 +05:30
Manav Rathi
fa06a15ad7 Show the option for beta users too 2024-05-31 15:26:36 +05:30
Manav Rathi
133693d058 Fetch beta flag 2024-05-31 15:15:51 +05:30
Neeraj Gupta
d3ad6cbd4e Final beta face (#1944)
## Description

- Decreased clustering bucket size
- Show on UI when clustering is running

## Tests

Tested in debug mode on my pixel phone.
2024-05-31 14:58:25 +05:30
laurenspriem
bfe34a908c [mob][photos] Bump 2024-05-31 14:54:37 +05:30
laurenspriem
f6bdeef33d [mob][photos] Show when clustering is running 2024-05-31 14:47:03 +05:30
Manav Rathi
9a7ba8a406 Alias 2024-05-31 14:40:44 +05:30
Manav Rathi
a850500beb Clear 2024-05-31 14:29:28 +05:30
Manav Rathi
72a3f7f17a Reduce noise in UI layer 2024-05-31 14:25:12 +05:30
Manav Rathi
c8d30323e4 Trigger 2024-05-31 14:11:16 +05:30
laurenspriem
029872e54e [mob][photos] Decrease clustering bucket size 2024-05-31 14:07:31 +05:30
Manav Rathi
3ad8f73289 mandate 2024-05-31 14:06:06 +05:30
Neeraj Gupta
2ad4912d7e [auth] Add custom Doppler icon (#1935)
## Description

Adds a custom icon for [Doppler](https://www.doppler.com)
2024-05-31 14:05:28 +05:30
laurenspriem
b3c907f8ee [mob][photos] Stale todo 2024-05-31 14:03:56 +05:30
Neeraj Gupta
50a8ddc002 [mobile] New translations (#1938)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-05-31 14:01:30 +05:30
Neeraj Gupta
5fc03bca1c [auth] New translations (#1939)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-31 13:59:52 +05:30
laurenspriem
ce7451dbb4 Merge remote-tracking branch 'origin/main' into thumbnail_duration 2024-05-31 13:59:43 +05:30
Neeraj Gupta
05e4d18a14 [mob][photos] Upgrade to flutter 3.22.0 (#1933)
## Description

- Upgraded flutter and some packages.
- `flutter_map` had some breaking changes. 
- `flutter_map_marker_cluster` also required some changes.
- Marker clusters weren't rendering after upgrading to flutter 3.22.0 on
profile and release mode. This was also fixed.
2024-05-31 13:57:30 +05:30
Manav Rathi
387ca79b6d [desktop] Tweak the nightly build flow (#1943) 2024-05-31 13:32:21 +05:30
Manav Rathi
ddaa872b97 more 2024-05-31 13:25:23 +05:30
Manav Rathi
67169b4efa more 2024-05-31 13:20:58 +05:30
Manav Rathi
52b3a6d0f7 [desktop] Tweak the nightly build flow
If we publish a tag when publishing the pre-release, it then triggers another
workflow invocation that fails (harmlessly). So instead, push the tag after
releasing to trigger the steps.
2024-05-31 13:14:56 +05:30
Manav Rathi
575c5aad81 [desktop] Closer to mobile app's behaviour (#1941) 2024-05-31 12:04:06 +05:30
Manav Rathi
f062074177 Index videos 2024-05-31 11:56:10 +05:30
Manav Rathi
41124d07a5 Shorten to original
433d0e81fc
2024-05-31 11:53:56 +05:30
Manav Rathi
5042e3cbd7 Index video thumbnails 2024-05-31 11:51:18 +05:30
Manav Rathi
1227bbc4a9 Don't duplicate state 2024-05-31 11:12:29 +05:30
Manav Rathi
27a5aa99c0 wrap 1 2024-05-31 10:56:42 +05:30
Manav Rathi
5049b5cc4e wip 2024-05-31 10:47:06 +05:30
Manav Rathi
beedbd0991 wip 2024-05-31 10:35:00 +05:30
Manav Rathi
113a949a4b wip 2024-05-31 10:02:58 +05:30
Manav Rathi
c70c498d38 Pick from correct execution context 2024-05-31 09:33:17 +05:30
Manav Rathi
c0c4412b19 [web] Rework the face DB schema (#1940) 2024-05-31 09:22:21 +05:30
Manav Rathi
84ac002885 lf 2024-05-31 09:22:02 +05:30
Manav Rathi
29f89ab901 Skip 2024-05-31 09:15:50 +05:30
Manav Rathi
253b74d58f [web] Rework the face DB schema
These changes were in main only overnight and were not released anywhere, so I
will take the liberty of modifying the schema without bumping the version.
2024-05-31 09:09:07 +05:30
Manav Rathi
89064f77ae [web] New translations (#1937)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-31 08:49:50 +05:30
Crowdin Bot
9d309dd6de New Crowdin translations by GitHub Action 2024-05-31 02:07:29 +00:00
Crowdin Bot
9fbe02eeac New Crowdin translations by GitHub Action 2024-05-31 01:58:48 +00:00
Crowdin Bot
0d38c6ac1b New Crowdin translations by GitHub Action 2024-05-31 01:42:37 +00:00
Joel Watson
453f196a63 [auth] Add custom Doppler icon 2024-05-30 14:15:24 -05:00
laurenspriem
e99da59699 Merge remote-tracking branch 'origin/main' into thumbnail_duration 2024-05-30 23:08:02 +05:30
laurenspriem
6635f4c9a4 [mob][photos] Play icon fallback for duration 2024-05-30 22:59:41 +05:30
Prateek Sunal
5448ca116c fix(mobile): update video editor trimmer color 2024-05-30 22:40:48 +05:30
Prateek Sunal
bfa652df36 feat(mobile): add all pages for video editor 2024-05-30 22:38:05 +05:30
ashilkn
f14f973a61 [mob][photos]
Remove commented out code
2024-05-30 21:58:36 +05:30
ashilkn
a830e42ead Merge branch 'main' into upgrade_flutter 2024-05-30 21:45:36 +05:30
Neeraj Gupta
62e5950429 [auth] Add new custom icons in auth (#1923) 2024-05-30 21:36:57 +05:30
Neeraj Gupta
1c241d70fd Add alt names for some services (#1928) 2024-05-30 21:36:09 +05:30
Manav Rathi
81472fdafb [desktop] Nightly builds (#1932)
## Description

## Tests
2024-05-30 21:22:32 +05:30
Manav Rathi
c1097de27f Non required 2024-05-30 21:02:17 +05:30
Manav Rathi
f647355666 [desktop] Nightly builds 2024-05-30 20:58:31 +05:30
laurenspriem
f71dd32400 [mob][photos] Add dark transparent background 2024-05-30 20:36:01 +05:30
ashilkn
f871255833 [mob][photos] fix clusters in map not rendering properly in profile or release mode
Key.toString() is working as expected on debug mode after upgrading flutter to 3.22.0
2024-05-30 20:34:59 +05:30
Manav Rathi
ae9d406fe9 [web] Switch to new storage layer for face indexes (#1931) 2024-05-30 19:58:46 +05:30
Manav Rathi
8f7af989bb Remove unused 2024-05-30 19:30:03 +05:30
Manav Rathi
21567d546e bye 2024-05-30 19:22:55 +05:30
Aman Raj Singh Mourya
3c5ba5b94e [mob][photos] changed variable and function name 2024-05-30 19:18:00 +05:30
Manav Rathi
400a6a9054 Store enabled state in local storage 2024-05-30 19:17:24 +05:30
Manav Rathi
7cc29c302e new 2024-05-30 19:11:44 +05:30
Manav Rathi
654f6b8934 Remove old indexstatus 2024-05-30 19:04:01 +05:30
Manav Rathi
3e1dbce629 Prune 2024-05-30 18:57:19 +05:30
Manav Rathi
ce93ce6529 sync + fetch 2024-05-30 18:32:43 +05:30
Laurens Priem
e682b065d1 Update intl_en.arb (#1930) 2024-05-30 18:26:52 +05:30
Laurens Priem
9f2d770bc2 Update intl_en.arb 2024-05-30 18:24:43 +05:30
Vishnu Mohandas
27523e2f10 Update intl_en.arb 2024-05-30 18:18:28 +05:30
laurenspriem
5a76df7f62 [mob][photos] Also show duration for less than 10 second videos 2024-05-30 17:30:10 +05:30
laurenspriem
12d9bc7bce Merge remote-tracking branch 'origin/main' into thumbnail_duration 2024-05-30 17:08:15 +05:30
Zxhir
966e5527ec Add alt names for some services 2024-05-30 12:05:35 +01:00
Manav Rathi
074e867886 Disable the download for now 2024-05-30 16:08:07 +05:30
Manav Rathi
46761622f1 Fix 2024-05-30 16:05:50 +05:30
Manav Rathi
45d7e3da2c Prune 2024-05-30 16:00:09 +05:30
Manav Rathi
1f6be04bf4 Rename 2024-05-30 15:57:27 +05:30
Manav Rathi
6327a7f9da nu 2024-05-30 15:55:06 +05:30
Manav Rathi
9dbec2729c remote mapping 2024-05-30 15:44:25 +05:30
Manav Rathi
2b3b84de0f Closer 2024-05-30 15:31:07 +05:30
Manav Rathi
a6a0a24b26 Refer 2024-05-30 15:23:31 +05:30
Manav Rathi
1a292aae27 Split 2024-05-30 15:17:06 +05:30
Laurens Priem
154cb7a8bc Update README (#1926)
## Description

Updated README to clarify free nature of Auth, and ways to contribute.
2024-05-30 14:59:25 +05:30
Laurens Priem
bb9a605b0d Update README (#1927)
Formatting suggestions, no changes in content:
- Limit to 80 character lines
- Move the period out of the "Spread the word" link

PR is against your branch.
2024-05-30 14:58:19 +05:30
Manav Rathi
b2277cfcc2 Update README 2024-05-30 14:53:28 +05:30
laurenspriem
69c18cb852 Update README 2024-05-30 14:48:25 +05:30
Manav Rathi
b9a07e536c blur 2024-05-30 14:32:52 +05:30
Manav Rathi
6b0501e272 Move the score out 2024-05-30 14:30:19 +05:30
Manav Rathi
57404e1f49 id2 2024-05-30 14:17:31 +05:30
Manav Rathi
b5c52a4ae2 id 2024-05-30 14:14:59 +05:30
Manav Rathi
2abcb709d9 Unused 2024-05-30 14:11:23 +05:30
Manav Rathi
13d15ceeb9 nest 2024-05-30 14:09:59 +05:30
Aman Raj Singh Mourya
5099dfdd74 [mob][photos] added delete function for placeholder image 2024-05-30 14:03:40 +05:30
Manav Rathi
34166ecffb Move to generator 2024-05-30 14:00:00 +05:30
Manav Rathi
40d35e157e t 2024-05-30 13:54:50 +05:30
Manav Rathi
91be44c4c5 dup 2024-05-30 13:53:18 +05:30
Manav Rathi
6d3391528d Closer 2024-05-30 13:48:36 +05:30
Manav Rathi
4b202d2dda r 2024-05-30 13:45:23 +05:30
Manav Rathi
ac8677d7b4 Filter instead of marking as errors 2024-05-30 13:36:35 +05:30
Laurens Priem
227873cc2d More tiny faces (#1925)
## Description

- Some UI alignment changes
- More error logging

## Tests

Tested in debug mode on my pixel phone.
2024-05-30 13:34:32 +05:30
Manav Rathi
3fc41aecca inl 2024-05-30 13:32:10 +05:30
laurenspriem
6dc26b9124 [mob][photos] Bump 2024-05-30 13:31:26 +05:30
laurenspriem
841a67443d [mob][photos] Logs 2024-05-30 13:29:12 +05:30
Manav Rathi
c71e56ec43 inl 2024-05-30 13:26:09 +05:30
Manav Rathi
fd4a788953 Checked that the image part is passed as the file 2024-05-30 13:22:46 +05:30
laurenspriem
81f9efbace [mob][photos] Logs 2024-05-30 13:21:16 +05:30
Manav Rathi
23c73a83eb Inline 2024-05-30 13:16:15 +05:30
Manav Rathi
6e6c88826e t 2024-05-30 13:02:11 +05:30
laurenspriem
80be753d77 [mob][photos] Properly align person tiles 2024-05-30 13:02:00 +05:30
laurenspriem
e41e0eadee [mob][photos] Rename var showOptionToCreateNewAlbum 2024-05-30 13:01:35 +05:30
Manav Rathi
53dea9dcf3 Sync 2024-05-30 12:50:14 +05:30
Aman Raj Singh Mourya
7f816e80a2 [mob][photos] share placeholder with link when sharing 2nd draft 2024-05-30 12:48:07 +05:30
Manav Rathi
6b1484671b Add remove 2024-05-30 12:24:34 +05:30
laurenspriem
c3347bae5d [mob][photos] Show indexing description only once at top 2024-05-30 12:20:40 +05:30
Manav Rathi
b17933a2b3 Tweak 2024-05-30 12:14:02 +05:30
Manav Rathi
d448676b8f Move 2024-05-30 12:09:01 +05:30
Manav Rathi
c8a7152cdc Remove unnecessary propagation 2024-05-30 12:01:04 +05:30
Manav Rathi
3c3f9b2b48 Inline 2024-05-30 11:54:48 +05:30
Manav Rathi
f66170b5b2 Bypass 2024-05-30 11:53:25 +05:30
Neeraj Gupta
8e1d7bc884 [mob] Log file details on decryption Error (#1924)
## Description

## Tests
2024-05-30 11:52:05 +05:30
Neeraj Gupta
dafdeca7e4 [mob] Log file details on decryption Error 2024-05-30 11:50:56 +05:30
Manav Rathi
6be42225c2 Bypass 2024-05-30 11:49:36 +05:30
Manav Rathi
403cc3cca0 New 2024-05-30 11:46:36 +05:30
Manav Rathi
321422e915 No clustering yet 2024-05-30 11:35:14 +05:30
Manav Rathi
3c92349054 Move 2024-05-30 11:33:09 +05:30
Manav Rathi
c3f6ecbf6a Prune 2024-05-30 11:30:23 +05:30
Manav Rathi
35090a6cdd No clustering yet 2024-05-30 11:22:20 +05:30
Manav Rathi
ab61fee8de simpl 2024-05-30 11:06:31 +05:30
Manav Rathi
896de62794 Get counts from db 2024-05-30 11:05:04 +05:30
Manav Rathi
d9200f4703 Outline 2024-05-30 10:55:46 +05:30
Manav Rathi
3c0d82279c Wrap 2024-05-30 10:35:02 +05:30
Manav Rathi
f6bd99386e t 2024-05-30 10:29:08 +05:30
Manav Rathi
85785f7543 Doc 2024-05-30 10:20:57 +05:30
Manav Rathi
aa353b57e8 Prune new API 2024-05-30 10:08:54 +05:30
Manav Rathi
cbdd82f6c0 Use 2024-05-30 10:06:53 +05:30
Manav Rathi
ddddc09226 New 2024-05-30 10:04:39 +05:30
Manav Rathi
bae4c65ab3 Pull out the alignment 2024-05-30 09:45:43 +05:30
Manav Rathi
54654159ff Remove unused 2024-05-30 09:36:26 +05:30
Manav Rathi
8a1acc756e Move the put to worker 2024-05-30 09:34:46 +05:30
Manav Rathi
61fb9cf544 Flow via the new path 2024-05-30 09:26:30 +05:30
ashilkn
7739be4e21 [mob][photos] Migrating to flutter_map v6 (4): Fix attribution 2024-05-29 20:42:05 +05:30
Manav Rathi
3b8ab89647 w 2024-05-29 20:33:28 +05:30
Manav Rathi
4ce02fba93 ll 2024-05-29 20:14:53 +05:30
Manav Rathi
72851397b1 wip 2024-05-29 20:00:55 +05:30
ialexanderbrito
08a073fc1b feat: add new icons and altnames 2024-05-29 11:03:27 -03:00
ialexanderbrito
ce1ba6112f fix: icons error and new icon 2024-05-29 11:03:03 -03:00
Manav Rathi
6097f9d4ba wip 2024-05-29 19:30:27 +05:30
Manav Rathi
daf72d8ac6 Tweak 2024-05-29 19:30:27 +05:30
Manav Rathi
9adc8126bb Rename 2024-05-29 19:30:27 +05:30
Manav Rathi
c968cc3c41 remote 2024-05-29 19:30:27 +05:30
Manav Rathi
7f150d8dc7 comp 2024-05-29 19:30:27 +05:30
Manav Rathi
f8aa749799 timeout 2024-05-29 19:30:27 +05:30
Manav Rathi
2fb7ee0171 Sketch 2024-05-29 19:30:26 +05:30
Manav Rathi
a44e932c84 Plan 2024-05-29 19:30:26 +05:30
Manav Rathi
d92e7e0c5d [web] Invalidate sessions on auth.ente.io on password changes (#1922)
Ref: https://github.com/ente-io/ente/issues/1891

**Tested**

Locally - auth in one window, photos in another, change password in
photos, auth shows dialog on page refresh.
2024-05-29 19:21:15 +05:30
Manav Rathi
9ae13ec159 Do it inline 2024-05-29 19:09:29 +05:30
Manav Rathi
d83eedc93d [web] Invalidate auth session's on password changes 2024-05-29 18:58:02 +05:30
ashilkn
588df2c346 [mob][photos] Migrating to flutter_map v6 (3): Fix cluster with only one image not rendering 2024-05-29 17:46:30 +05:30
Laurens Priem
1e792459a1 Last fixes (#1920)
## Description

- Some small UI fixes

## Tests

Tested in debug mode on my pixel phone.
2024-05-29 16:21:27 +05:30
laurenspriem
245e9c0fff [mob][photos] Bump 2024-05-29 16:20:14 +05:30
laurenspriem
85ce2d7e49 [mob][photos] Properly reset last viewed clusterID 2024-05-29 16:10:03 +05:30
laurenspriem
ee3ea77831 [mob][photos] Don't show naming banner in personCluster 2024-05-29 16:04:04 +05:30
laurenspriem
9922b704e8 [mob][photos] Remove "view confirmied photos" 2024-05-29 16:03:21 +05:30
Manav Rathi
a24cfe9d05 [docs] Fix typo in custom server documentation (#1907)
## Description
This PR fixes the spelling of a word, `appps` to `apps`, in the title of
a section of the documentation for using a custom server.
2024-05-29 15:54:07 +05:30
ashilkn
6c77901396 [mob][photos] Migrating to flutter_map v6 (2) 2024-05-29 15:41:26 +05:30
Neeraj Gupta
272025e657 [mob] Remove dead code (#1919)
## Description

## Tests
2024-05-29 15:29:50 +05:30
Neeraj Gupta
798f5d2e11 [mob] Hide faceItemWidget from fileInfo if faceIndexing is disabled (#1918)
## Description

## Tests
2024-05-29 15:29:38 +05:30
Neeraj Gupta
6b655c8157 [mob] Hide faceItemWidget from fileInfo if faceIndexing is disabled 2024-05-29 15:27:54 +05:30
Neeraj Gupta
2ba802d59f Remove dead code 2024-05-29 15:22:30 +05:30
Laurens Priem
27d89c4952 Breakup cluster (#1917)
## Description

Fixed issue with breaking up clusters

## Tests

Tested in debug mode on my pixel
2024-05-29 14:16:05 +05:30
laurenspriem
642ea88319 [mob][photos] Remove redundant null checks 2024-05-29 14:12:13 +05:30
Neeraj Gupta
e2791723d0 Minor fix 2024-05-29 14:09:38 +05:30
Neeraj Gupta
edb6c804e6 Lint fix 2024-05-29 14:02:50 +05:30
Neeraj Gupta
319108db1b Update auto logout message 2024-05-29 14:00:01 +05:30
Neeraj Gupta
09aa2fece0 Fix: Only try stopping sync for manual logout 2024-05-29 13:58:18 +05:30
Neeraj Gupta
535d24779f Handle bad secure stroage state error 2024-05-29 13:57:16 +05:30
laurenspriem
979730d740 [mob][photos] Small refactor FaceClusteringService 2024-05-29 13:46:39 +05:30
Neeraj Gupta
f8f2bae173 Log error during init 2024-05-29 13:46:06 +05:30
Manav Rathi
079ff43557 [web] Create the face DB layer (#1915) 2024-05-29 13:31:17 +05:30
Manav Rathi
b3a0bc624b lf 2024-05-29 13:25:41 +05:30
Manav Rathi
cee093c214 query 2024-05-29 13:23:39 +05:30
Manav Rathi
8dd0d58319 tick 2024-05-29 13:06:52 +05:30
Manav Rathi
34d4aeaf56 file entry 2024-05-29 13:04:09 +05:30
Aman Raj Singh Mourya
b5eae21ae7 [mob][photos] send placeholder with link when sharing 2024-05-29 13:02:45 +05:30
Manav Rathi
431cd39358 Save 2024-05-29 13:00:02 +05:30
Aman Raj Singh Mourya
25d13d531d Merge branch 'main' into placeholder_for_link2 2024-05-29 12:44:03 +05:30
Manav Rathi
bb46e98e85 Desktop 2024-05-29 12:28:56 +05:30
Manav Rathi
f0f3af96d1 dedup 2024-05-29 12:26:29 +05:30
Manav Rathi
9c60fe6f3f logout 2024-05-29 12:22:58 +05:30
Manav Rathi
0cae667b44 Add a close
Ref: https://www.w3.org/TR/IndexedDB-2/
2024-05-29 12:14:18 +05:30
Manav Rathi
2f7d1401cd Promise 2024-05-29 11:26:38 +05:30
laurenspriem
cfb4ded991 [mob][photos] Fix breakupCluster not returning cluster summaries 2024-05-29 11:13:21 +05:30
Manav Rathi
b1e64cadf6 Lifecycle 2024-05-29 11:07:11 +05:30
Raphael Le Goaller
4aaafd3b08 [docs] Fix typo in custom server documentation 2024-05-28 15:49:08 +02:00
Manav Rathi
f34a4d4a21 lf 2024-05-28 18:18:59 +05:30
Laurens Priem
c8a3728f5d Tiny face (#1906)
## Description

- Fixed issue with slow clustering
- Reset for face thumbnail generation

## Test

Tested in debug mode on my pixel.
2024-05-28 16:42:47 +05:30
laurenspriem
b10f4ee18a [mob][photos] Bump 2024-05-28 16:41:40 +05:30
laurenspriem
433c23ca07 [mob][photos] Put MLController timeout back to 15 seconds 2024-05-28 16:35:56 +05:30
ashilkn
cb0cffce3d [mob][photos] Migrating to flutter_map v6 (1) 2024-05-28 16:28:39 +05:30
laurenspriem
853f291de3 [mob][photos] Fix face thumbnail generation pool issue 2024-05-28 16:20:33 +05:30
Manav Rathi
9887d44416 index 2024-05-28 16:12:40 +05:30
Manav Rathi
ca7b609217 Schema 2024-05-28 16:12:40 +05:30
Manav Rathi
f1b2e2bec2 Update to idb 8
No breaking changes that impact us
https://github.com/jakearchibald/idb/blob/main/CHANGELOG.md
2024-05-28 16:12:40 +05:30
Manav Rathi
f5947a0c4a Introduce idb 2024-05-28 16:12:40 +05:30
Manav Rathi
126727a9cc Document 2024-05-28 16:12:40 +05:30
Manav Rathi
5e49b8a528 Move 2024-05-28 16:12:39 +05:30
Manav Rathi
3664532f91 Document 2024-05-28 16:12:39 +05:30
Manav Rathi
8ea7a742b1 Outline 2024-05-28 16:12:39 +05:30
Manav Rathi
77f3503a0b Make space 2024-05-28 16:12:39 +05:30
laurenspriem
8975af7a71 [mob][photos] Dont forget to continue 2024-05-28 15:47:46 +05:30
laurenspriem
b64077d5e7 [mob][photos] Skip cluster bucket if everything already has a clusterID 2024-05-28 15:41:20 +05:30
laurenspriem
50968fd6a1 [mob][photos] Comment 2024-05-28 15:20:44 +05:30
laurenspriem
89a47026d9 [mob][photos] Clustering cleanup 2024-05-28 15:18:44 +05:30
laurenspriem
9a8c4d9cfd [mob][photos] Calculate cosine distance inline 2024-05-28 15:06:22 +05:30
ashilkn
284bca782e [mob][photos] Update flutter version in internal release workflow 2024-05-28 14:01:58 +05:30
ashilkn
1535f61653 [mob][photos] upgrade to flutter 3.22.0 2024-05-28 14:01:12 +05:30
laurenspriem
b45dfa9cfc [mob][photos] Show error on UI in debugMode 2024-05-28 12:58:10 +05:30
Neeraj Gupta
f9b3a931a5 [mob] Use same flutter version in all workflows (#1903)
## Description

## Tests
2024-05-28 12:35:15 +05:30
Neeraj Gupta
dd83edf0e3 [mob] Use same flutter version in all workflows 2024-05-28 12:33:33 +05:30
Neeraj Gupta
6988b70d9f [mob] Lint fix (#1902)
## Description

## Tests
2024-05-28 12:27:17 +05:30
Neeraj Gupta
d33c92a51c Lint fix 2024-05-28 12:26:54 +05:30
Ashil
54aecfd721 Revert "Upgrade to flutter 3.22.0 (#1804)" (#1901)
## Description

This reverts commit a41f705dad.

Need to update `flutter_map` dependency to work with flutter 3.22.0.
2024-05-28 12:24:37 +05:30
Neeraj Gupta
d8f3a48a6f [mob] Minor fixes in face (#1900)
## Description

## Tests
2024-05-28 12:21:31 +05:30
Neeraj Gupta
cb8d572951 Bump version 2024-05-28 12:20:39 +05:30
Neeraj Gupta
c1e5249c9b Merge branch 'main' into minor_faces 2024-05-28 12:19:54 +05:30
Neeraj Gupta
07552f7a89 Handle case when person has no file mapping 2024-05-28 12:19:28 +05:30
Manav Rathi
6c28dede44 [desktop] Start next release sequence (#1899) 2024-05-28 12:15:50 +05:30
Manav Rathi
b2df698e42 [desktop] Start next release sequence 2024-05-28 12:14:10 +05:30
Neeraj Gupta
2ae869075e [mob][photos] Migrate files db to sqlite async (#1802) 2024-05-28 12:04:12 +05:30
Neeraj Gupta
95ae7a6cd0 [auth] New translations (#1897)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-28 11:52:39 +05:30
laurenspriem
d1b2d5696a [mob][photos] Wrap people banner in a SafeArea 2024-05-28 11:05:40 +05:30
laurenspriem
705fae35e6 [mob][photos] Fire PeopleChangedEvent after syncing 2024-05-28 10:55:04 +05:30
laurenspriem
cad07cd96f [mob][photos] Fire PeopleChangedEvent after each cluster bucket 2024-05-28 10:53:50 +05:30
Manav Rathi
f66ac40903 photosd-v1.7.0 (#1898) 2024-05-28 09:38:30 +05:30
Manav Rathi
07dc0231ee photosd-v1.7.0 2024-05-28 09:36:44 +05:30
Manav Rathi
40db48b88f [web] New translations (#1896)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-28 09:05:35 +05:30
Crowdin Bot
50556b9930 New Crowdin translations by GitHub Action 2024-05-28 02:07:43 +00:00
Crowdin Bot
321ae0b7fc New Crowdin translations by GitHub Action 2024-05-28 01:42:06 +00:00
Neeraj Gupta
9b0b7f11f1 [mobile] New translations (#1835)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-05-28 07:03:51 +05:30
Neeraj Gupta
3415739f43 [auth] Create a custom icon for RuneMate (#1894)
## Description
Creates a custom icon for the OSRS client, RuneMate
2024-05-28 05:41:59 +05:30
Neeraj Gupta
855e706f4b [auth] Create a custom icon for YNAB (#1893)
## Description
Creates a custom icon for the popular budgeting app, [You Need a
Budget](https://www.ynab.com/), or YNAB.
2024-05-28 05:41:38 +05:30
Xeiv
eaaa26c2e3 [auth] Create a custom icon for RuneMate 2024-05-28 01:14:34 +05:30
Griffin Wiebel
0f502eb9c2 Create a custom icon for YNAB 2024-05-27 11:59:57 -07:00
laurenspriem
5e50d80547 [mob][photos] Remove code 2024-05-27 22:09:20 +05:30
laurenspriem
65201d2b57 [mob][photos] Show video duration on thumbnails 2024-05-27 22:07:06 +05:30
Manav Rathi
af571669da [desktop] Fix windows cache issue (#1892) 2024-05-27 20:21:36 +05:30
Manav Rathi
69e2a36933 Revert "[desktop] Code sign on Windows"
This reverts commit 7e6b75004026f24cc340bc5da806fbe8fc20e6c8 and its never
siblings. Retaining them in git history though.
2024-05-27 20:17:36 +05:30
Manav Rathi
bed57eb03e Fix the actual issue (the signing thing was a red herring) 2024-05-27 20:17:36 +05:30
Manav Rathi
03bc8f0493 Let prettier have a go at it
> Example 7.5 Double Quoted Line Breaks
> All leading and trailing white space characters on each line are excluded from the content.
>
> https://yaml.org/spec/1.2.2/
2024-05-27 20:17:36 +05:30
Manav Rathi
3d122b9f9d Add publisher
> no certificates with ExtKeyUsageCodeSigning
  Cannot extract publisher name from code signing certificate. As workaround, set win.publisherName.
2024-05-27 20:17:36 +05:30
Manav Rathi
e90eb50a50 [desktop] Code sign on Windows 2024-05-27 20:17:36 +05:30
Laurens Priem
5e18ae1938 [mob][photos] Bump (#1889)
## Description

Bump
2024-05-27 18:35:31 +05:30
laurenspriem
37d3776e28 [mob][photos] Bump 2024-05-27 18:34:26 +05:30
Laurens Priem
05579ef368 [mob][photos] Fetch remote feedback before clustering (#1888)
## Description

See title
2024-05-27 18:33:22 +05:30
laurenspriem
90e467c7c0 [mob][photos] Fetch remote feedback before clustering 2024-05-27 18:31:17 +05:30
Neeraj Gupta
ae61fc9c6f Wrap add person name banner inside safeArea (#1887)
## Description

## Tests
2024-05-27 18:12:45 +05:30
Neeraj Gupta
c291fa70d3 Wrap add person name banner inside safeArea 2024-05-27 18:12:21 +05:30
Neeraj Gupta
f5093ddf63 Stick to old grouping behaviour for magicsearch 2024-05-27 18:07:07 +05:30
Neeraj Gupta
ac3c6b10a5 Gallery: Support for group by size 2024-05-27 18:03:26 +05:30
ashilkn
99cf23d286 [mob][photos] Resolve conflicts and merge main 2024-05-27 18:03:01 +05:30
Crowdin Bot
d854d5820e New Crowdin translations by GitHub Action 2024-05-27 12:17:06 +00:00
Laurens Priem
232acfa211 Face (#1885)
## Description

- Several fixes for Faces
2024-05-27 17:46:05 +05:30
laurenspriem
f25f119ca1 [mob][photos] Copy 2024-05-27 17:26:14 +05:30
laurenspriem
89a61b3bf7 [mob][photos] Bump 2024-05-27 17:21:29 +05:30
laurenspriem
380d37267b [mob][photos] Don't pop too often 2024-05-27 17:19:06 +05:30
laurenspriem
9cf5691e42 [mob][photos] Delete instead of drop table 2024-05-27 17:09:33 +05:30
laurenspriem
8f474a4500 [mob][photos] Set MLController timer to 10 seconds 2024-05-27 15:54:10 +05:30
Neeraj Gupta
95bb363aba Add widget to show fileSize overlay 2024-05-27 15:33:29 +05:30
Manav Rathi
c7be2270ff [desktop] RC fixes (#1884) 2024-05-27 15:16:04 +05:30
laurenspriem
ced1f0bd79 [mob][photos] Don't remove last cluster of person 2024-05-27 14:55:52 +05:30
Manav Rathi
9f58f1eeb3 Fix error on refresh while a folder watch is being set up
Notes:

From QA

> This error mostly happens if i add a watch folder and before watch folders
  start to upload and i refresh the app.

e is undefined in

    let {watches: e, removeWatch: n} = t;
    return 0 === e.length ? (0,...

Results in Next throwing

    Application error: a client-side exception has occurred (see the browser console for more information).
2024-05-27 14:42:56 +05:30
Aman Raj Singh Mourya
acf7b3a865 Merge branch 'main' into placeholder_for_link 2024-05-27 14:39:37 +05:30
Aman Raj Singh Mourya
8f1119525b [mob][photos] placeholder for link 1st draft 2024-05-27 14:38:48 +05:30
Manav Rathi
04be2b6a2c Update electron updater
Trying to rule out https://github.com/electron-userland/electron-builder/issues/7127
2024-05-27 14:00:24 +05:30
laurenspriem
9f361237b1 [mob][photos] Fix cluster appbar not showing 2024-05-27 13:04:20 +05:30
Manav Rathi
8cb7cae7b7 [web] Fix display of auth codes on Safari (#1882) 2024-05-27 13:03:19 +05:30
Manav Rathi
a2a209a849 [web] Fix display of codes on Safari 2024-05-27 12:59:32 +05:30
ashilkn
d413c4f4c1 [mob][photos] Add try catch + logs for debugging in FaceMLDataDB 2024-05-27 12:57:25 +05:30
ashilkn
ee8976e92b [mob][photos] Add schema migration easier on FaceMLDataDB 2024-05-27 12:56:20 +05:30
laurenspriem
baa90c42ad [mob][photos] Remove stale comments 2024-05-27 11:59:36 +05:30
laurenspriem
30ade541df [mob][photos] Logging 2024-05-27 11:57:46 +05:30
laurenspriem
86fb8ebfaf [mob][photos] Fix indexing issue on iOS 2024-05-27 11:57:40 +05:30
Neeraj Gupta
bcf3084d97 Merge branch 'main' into generic_group_by 2024-05-27 11:54:37 +05:30
laurenspriem
b2e8c3c0eb [mob][photos] Remove restriction for ML for F-Droid 2024-05-27 11:51:20 +05:30
Ashil
e203a8378e [mob][photos] Trigger send logs if app is stuck in spalsh screen for >= 15 seconds (#1796) 2024-05-27 11:31:18 +05:30
laurenspriem
b100f1d4bf [mob][photos] Catch and stopwatch on faces db creation 2024-05-27 11:28:05 +05:30
laurenspriem
7b4559f3ca [mob][photos] Reduce clustering frequency 2024-05-27 10:49:42 +05:30
Neeraj Gupta
eac142025d [mob] Increase limit to 50 for adding asset from device (#1873)
## Description

## Tests
2024-05-27 10:31:46 +05:30
Manav Rathi
c5aa536c3b [web] App context refactoring (#1879) 2024-05-26 22:03:33 +05:30
Manav Rathi
05406333e4 Split types 2024-05-26 21:55:16 +05:30
Manav Rathi
8ebd50606a lf 2024-05-26 21:32:24 +05:30
Manav Rathi
cbcfc243fc lf 2024-05-26 21:02:48 +05:30
Manav Rathi
7d497b5ae1 Revert reimportability 2024-05-26 20:43:53 +05:30
Manav Rathi
b28f6c3d8c reduce auth 2024-05-26 20:31:32 +05:30
Manav Rathi
71a8049a35 reduce accounts 2024-05-26 20:28:59 +05:30
Manav Rathi
e95cba0ace Reduce boilerplate 2024-05-26 20:25:02 +05:30
Manav Rathi
e836ada0d6 Refactor 2024-05-26 20:13:53 +05:30
Manav Rathi
19a104374d Refactor 2024-05-26 19:49:23 +05:30
Manav Rathi
693ef45e2c Refactor 2024-05-26 19:39:32 +05:30
Manav Rathi
55bdb070ce Wrap 2024-05-26 19:14:35 +05:30
Manav Rathi
27127ff3d4 2fa 2024-05-26 19:12:12 +05:30
Manav Rathi
345c706814 ce 2024-05-26 19:07:48 +05:30
Manav Rathi
49133b7b86 Move 2024-05-26 19:02:47 +05:30
Manav Rathi
3a5311cdcc cp 2024-05-26 18:58:57 +05:30
Neeraj Gupta
7182795732 [auth] New translations (#1836)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-26 18:55:51 +05:30
Manav Rathi
ca00b3b558 creds 2024-05-26 18:55:20 +05:30
Manav Rathi
4bcb765810 [web] Passkey fixes (#1866)
@ua741 Not sure if passkey code is supposed to work on web yet, but I
was doing an unrelated change and noticed that clicking passkeys didn't
even try to redirect to accounts. I don't have a test setup for
passkeys, so don't know if these changes are 100% correct, but at least
now it redirects to accounts. Can test fully when doing final
integration.

- Use correct origin for passkey API requests
- Fix key length error
- Fix param name to match server
- Pass the token instead of a query param
2024-05-26 18:55:11 +05:30
Manav Rathi
17b49595a0 generate 2024-05-26 18:23:55 +05:30
Manav Rathi
b99c573d3a verify 2024-05-26 18:22:07 +05:30
Manav Rathi
d3d3e4dbed signup 2024-05-26 18:19:12 +05:30
Manav Rathi
ba1af5eaf0 Move 2024-05-26 18:14:34 +05:30
Manav Rathi
14cf59c1e5 recover 2024-05-26 18:13:02 +05:30
Manav Rathi
452872156a login 2024-05-26 18:10:22 +05:30
Manav Rathi
4f31bd625d Context 2024-05-26 18:05:04 +05:30
Manav Rathi
6bf6f78147 Refactor app context types 2024-05-26 17:53:49 +05:30
Prateek Sunal
fae54faffc fix(icons): update dev flavor icon 2024-05-26 17:29:04 +05:30
Neeraj Gupta
5576f99548 [mob] Increase limit to 50 for adding asset from device 2024-05-26 16:55:31 +05:30
Manav Rathi
5bbe768acb Scaffold 2024-05-26 16:06:29 +05:30
Manav Rathi
babe378301 Move 2024-05-26 16:03:16 +05:30
Manav Rathi
b2fda16561 Home route 2024-05-26 15:55:41 +05:30
Manav Rathi
6d289d73db Add a new type 2024-05-26 15:50:02 +05:30
Manav Rathi
17acf4b3ee [web] New translations (#1872)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-26 15:33:35 +05:30
Crowdin Bot
4d666d4b01 New Crowdin translations by GitHub Action 2024-05-26 10:00:34 +00:00
Manav Rathi
619f8319ed [web] Title improvements - P1 (#1871)
Opening the PR to sync the translations, will make other changes
subsequently.
2024-05-26 15:24:51 +05:30
Manav Rathi
3261da3515 title 2024-05-26 15:19:05 +05:30
Manav Rathi
d0d491f7f5 Pass the token instead of a query param 2024-05-26 08:36:57 +05:30
Manav Rathi
db3764d448 Fix param name to match server 2024-05-26 08:36:57 +05:30
Manav Rathi
5fe5451f5c Fix key length error
[error] failed to redirect to accounts page: TypeError: invalid key length
2024-05-26 08:36:57 +05:30
Manav Rathi
6d3d5d03f8 Use correct origin for passkey API requests 2024-05-26 08:36:57 +05:30
Manav Rathi
582eb9e1ea [web] Enable Typescript's strict mode for auth's code (#1865) 2024-05-26 08:35:11 +05:30
Manav Rathi
51770a11ef Tweak 2024-05-26 08:12:52 +05:30
Manav Rathi
1ea7a8f3a7 tweak 2024-05-26 07:20:52 +05:30
Manav Rathi
b4536a7aee [meta] Update issue template (#1864) 2024-05-26 05:31:17 +05:30
Manav Rathi
9d2be29fad [meta] Update issue template 2024-05-26 05:16:36 +05:30
Manav Rathi
f92a18efca [server] Mention more details around s3 provider config (#1863) 2024-05-26 04:53:03 +05:30
Manav Rathi
af382d483d [server] Mention more details around s3 provider config 2024-05-26 04:50:44 +05:30
Manav Rathi
99f1ba799d lhs of && cannot be a number
needs to be false for the hole
2024-05-25 20:56:46 +05:30
Manav Rathi
1548bcd378 Fix dialog 2024-05-25 20:30:43 +05:30
Vishnu Mohandas
c2fc0a3d57 Update verification email address (#1855) 2024-05-25 18:48:50 +05:30
vishnukvmd
39a706ea20 Update verification email address 2024-05-25 18:47:19 +05:30
Manav Rathi
38d6464f55 muppets 2024-05-25 18:13:11 +05:30
Manav Rathi
c5b6297cea Wrap 2024-05-25 18:05:22 +05:30
Manav Rathi
390b4b1f81 Towards noUncheckedIndexedAccess 2024-05-25 17:44:49 +05:30
Manav Rathi
b19b34b3dc Prune 2024-05-25 17:39:45 +05:30
Manav Rathi
5690d613bb tsc 2024-05-25 17:17:21 +05:30
Manav Rathi
bb713cfc76 Cannot avoid a undefined initial app context 2024-05-25 17:14:08 +05:30
Manav Rathi
4a0c93373d st 2024-05-25 17:00:51 +05:30
Manav Rathi
b42759d473 tsc 2024-05-25 16:55:31 +05:30
Manav Rathi
2e93281368 tsc 2024-05-25 16:51:58 +05:30
Manav Rathi
c18be32c09 Rearrange 2024-05-25 16:48:13 +05:30
Manav Rathi
650163c341 id is always sent be server 2024-05-25 16:40:28 +05:30
Manav Rathi
d101208baa tsc 2024-05-25 16:34:10 +05:30
Manav Rathi
76f7215269 Filter 2024-05-25 16:31:42 +05:30
Manav Rathi
621c482529 tsc 2024-05-25 16:27:46 +05:30
Manav Rathi
314c8f69f2 Comment out 2024-05-25 16:24:14 +05:30
Manav Rathi
1f45cf00c7 tsc 2024-05-25 16:20:47 +05:30
Manav Rathi
e0e80ee91f tsc 2024-05-25 16:08:50 +05:30
Manav Rathi
225278adb7 tsc 2024-05-25 16:06:24 +05:30
Manav Rathi
8d30bfbefa tsc 2024-05-25 15:43:08 +05:30
Manav Rathi
ad96f679c9 tsc 2024-05-25 15:39:20 +05:30
Manav Rathi
4b896d3aab tsc 2024-05-25 15:37:05 +05:30
Manav Rathi
533e6d06e7 tsc 2024-05-25 15:32:56 +05:30
Manav Rathi
e88b5c99ba tsc 2024-05-25 15:29:01 +05:30
laurenspriem
1ec7e02695 [mob][photos] Copy change 2024-05-25 12:03:34 +05:30
Manav Rathi
19e08cf803 tsc 2024-05-25 10:15:43 +05:30
Manav Rathi
08073b927c tsc 2024-05-25 10:12:40 +05:30
Manav Rathi
711a44412d tsc 2024-05-25 10:08:14 +05:30
Manav Rathi
c9f94f062b tsc 2024-05-25 10:04:54 +05:30
Manav Rathi
c8205b8475 tsc
The only place I can currently find where this code would run is on the delete
account dialog, where props.color is being passed.
2024-05-25 10:02:09 +05:30
Manav Rathi
b0d3fcfe79 tsc 2024-05-25 09:38:45 +05:30
Manav Rathi
11a354c560 tsc 2024-05-25 09:37:07 +05:30
Manav Rathi
823f739c32 tsc 2024-05-25 09:31:09 +05:30
Manav Rathi
f8876c8154 [docs] Add steam import guide to sidebar (#1850) 2024-05-25 08:37:35 +05:30
Manav Rathi
90db45d845 uploading 2024-05-25 08:35:41 +05:30
Manav Rathi
6a1f5945b9 pretty 2024-05-25 08:34:36 +05:30
Manav Rathi
f7ca838428 Add to sidebar 2024-05-25 08:33:51 +05:30
Manav Rathi
2b065dd68d yarn pretty 2024-05-25 08:32:00 +05:30
Manav Rathi
f168ea9e1e [docs] Mention troubleshooting tips for 403 forbidden when self-hosting (#1849) 2024-05-25 08:27:46 +05:30
Manav Rathi
58702103f3 Add link to example 2024-05-25 08:26:52 +05:30
Manav Rathi
dfb3a6f65c [docs] Add a section about 403 forbidden 2024-05-25 08:19:12 +05:30
Manav Rathi
491f38b120 tsc 2024-05-25 07:44:16 +05:30
Manav Rathi
79c0880c9c tsc 2024-05-25 07:40:38 +05:30
Manav Rathi
834b8f78b7 opts 2024-05-25 07:39:24 +05:30
Manav Rathi
cbf0336cd0 More 2024-05-25 07:37:53 +05:30
Manav Rathi
431d629641 Start tackling strict null 2024-05-25 07:35:07 +05:30
Manav Rathi
94c1cc011b lf 2024-05-25 07:26:20 +05:30
Manav Rathi
b26b0759d6 tsc 2024-05-25 07:10:47 +05:30
Manav Rathi
d51fb99fd3 type for tsc 2024-05-25 06:34:13 +05:30
Manav Rathi
0379216e05 Remove sx prop (in prep for typing) 2024-05-25 06:30:21 +05:30
Manav Rathi
ccd486f659 tsc 2024-05-25 06:22:11 +05:30
Manav Rathi
ce3ab55069 tsc 2024-05-25 06:21:02 +05:30
Manav Rathi
34effef810 tsc 2024-05-25 06:19:01 +05:30
Manav Rathi
56aceb589d tsc 2024-05-25 06:06:29 +05:30
Manav Rathi
92a2506f8a Reduce prop scope 2024-05-25 06:02:47 +05:30
Manav Rathi
e23bc2602f Reorder 2024-05-25 06:01:06 +05:30
Manav Rathi
69beecb7bb tsc
Omit<...,"inherit"> doesn't resolve

    Element implicitly has an 'any' type because expression of type 'OverridableStringUnion<"error" | "inherit" | "secondary" | "primary" | "info" | "success" | "warning", ButtonPropsColorOverrides>' can't be used to index type 'Palette'.
      Property 'inherit' does not exist on type 'Palette'.
2024-05-25 05:57:33 +05:30
Manav Rathi
880b13f436 Fix 2024-05-24 20:48:07 +05:30
Manav Rathi
9061caac99 Ditto 2024-05-24 20:43:32 +05:30
Manav Rathi
11cc8e46b7 Session storage shouldn't be undefined in newer browsers
Tried FF incognito
2024-05-24 20:41:11 +05:30
Manav Rathi
54820689c2 Towards removing implicit anys 2024-05-24 20:16:55 +05:30
Manav Rathi
acebb86fec Towards strict 2024-05-24 19:49:11 +05:30
Manav Rathi
367e09599d Enable more 2024-05-24 19:43:10 +05:30
Manav Rathi
b9fe509567 Enable noImplicitReturns 2024-05-24 19:41:37 +05:30
Manav Rathi
82bffd81de [web] Tighten auth's tsconfig.json (#1846)
Ongoing process, just some steps in the direction we wish.
2024-05-24 19:03:53 +05:30
Manav Rathi
7340443b86 lf 2024-05-24 18:57:32 +05:30
Manav Rathi
2cd1dfd720 Chip away 2024-05-24 18:54:16 +05:30
Neeraj Gupta
3c8d29bcdc [mob] Use custom assetPickerTextDelegate to use en as default (#1844)
## Description

## Tests
Tested locally
2024-05-24 18:24:48 +05:30
laurenspriem
7a6fa1cd80 Merge remote-tracking branch 'origin/main' into migrate_files_db_to_sqlite_async 2024-05-24 18:23:32 +05:30
Laurens Priem
06a698ddbb Face wake (#1843)
## Description

- Fix issue with thumbnail decoding in indexing
- Fix show correct cluster progress counter
- Add wakelock to ML settings page
- Show in settings when device health is low

## Tests

Tested in debug on my pixel
2024-05-24 18:22:00 +05:30
Manav Rathi
3b8c48e92d Create a next specific base
The include still needs to be specified in the importing tsconfig otherwise the
"." is resolved relative to the @/build-config.
2024-05-24 18:17:59 +05:30
Neeraj Gupta
3c0cb20a9b [mob] Use custom assetPickerTextDelegate to use en as default 2024-05-24 18:13:09 +05:30
Manav Rathi
74bb169f0d Equivalent to "**/*.ts", "**/*.tsx", "**/*.d.ts"
From the docs: https://www.typescriptlang.org/tsconfig/#include

> If the last path segment in a pattern does not contain a file extension or
  wildcard character, then it is treated as a directory, and files with
  supported extensions inside that directory are included (e.g. .ts, .tsx, and
  d.ts by default).
2024-05-24 17:54:05 +05:30
laurenspriem
302890baef [mob][photos] Fix for PlatformException in video thumbnails 2024-05-24 17:48:03 +05:30
Manav Rathi
54e33d3f42 Create a WIP replacement 2024-05-24 17:29:06 +05:30
Manav Rathi
0adb94f405 Link to @/build-config 2024-05-24 17:17:55 +05:30
Manav Rathi
7d634aa703 Add a note 2024-05-24 17:16:16 +05:30
laurenspriem
b1e0c83733 [mob][photos] Show pause status copy when device is unhealthy 2024-05-24 17:04:35 +05:30
laurenspriem
d4af7792d4 [mob][photos] Forgot this in previous commit 2024-05-24 16:40:14 +05:30
laurenspriem
f301ab57f2 [mob][photos] Use EnteWakeLock in ML settings page 2024-05-24 16:39:42 +05:30
laurenspriem
7b0f5909b5 [mob][photos] Ente wakelock utility 2024-05-24 16:39:24 +05:30
laurenspriem
e9064f6904 [mob][photos] Correct cluster progress counter 2024-05-24 16:29:00 +05:30
ashilkn
022448155d [mob][photos] Bump up version to v0.8.111 2024-05-24 15:48:39 +05:30
ashilkn
ed830dc387 Merge branch 'main' into migrate_files_db_to_sqlite_async 2024-05-24 15:04:50 +05:30
laurenspriem
0d21fc77b5 [mob][photos] Keep ML settings page awake 2024-05-24 14:45:16 +05:30
Manav Rathi
b26c6e9c0d [web] Auth - Improve HOTP support (#1842)
- Use HOTP counter
- Don't advance the bar for HOTPs
2024-05-24 14:43:57 +05:30
ashilkn
a79d11c263 [mob][photos] Add more info in error message 2024-05-24 14:43:39 +05:30
ashilkn
a470ed4dfa Merge branch 'main' into migrate_files_db_to_sqlite_async 2024-05-24 14:39:46 +05:30
ashilkn
500d7da306 [mob][photos] Remove log lines used for testing 2024-05-24 14:39:16 +05:30
Manav Rathi
057d11f39b Fix typo 2024-05-24 14:38:49 +05:30
Manav Rathi
c9de6d7a82 Don't advance the bar for HOTPs 2024-05-24 14:35:59 +05:30
Manav Rathi
698ac9f29e Use HOTP counter 2024-05-24 14:30:05 +05:30
ashilkn
637adb4617 [mob][photos] Simplify how FilesDB migrates 2024-05-24 14:21:02 +05:30
Manav Rathi
a0d26c860c [web] Fix auth ticker (#1841) 2024-05-24 14:16:32 +05:30
Manav Rathi
bd2444d353 [web] Fix auth ticker 2024-05-24 14:11:56 +05:30
Manav Rathi
ca24a86179 [web] Steam support on web version of auth (#1840) 2024-05-24 14:01:06 +05:30
Manav Rathi
fffe96a4c7 Tweak 2024-05-24 13:49:21 +05:30
Manav Rathi
0ec75c2435 Parse the type 2024-05-24 13:47:11 +05:30
Manav Rathi
cb78c848d6 Impl 2024-05-24 13:36:55 +05:30
Manav Rathi
6594db9393 Encode counter 2024-05-24 13:26:16 +05:30
Manav Rathi
f6c40ee67d fromBase32 is exposed in the library API 2024-05-24 13:18:42 +05:30
Manav Rathi
36aa33ed5a Move to separate file 2024-05-24 13:08:41 +05:30
Neeraj Gupta
776dba4fb0 Face small improvements (#1839)
## Description

- Fix embeddings fetch issue
- Decrypt embeddings in computer
- Change clustering sorting and remove restrictions
- Cleaned up faces status page


## Tests

Tested in debug mode on pixel phone.
2024-05-24 12:52:41 +05:30
laurenspriem
7f49f530c5 [mob][photos] Bump 2024-05-24 12:47:10 +05:30
laurenspriem
ef6fe80944 [mob][photos] Fix 400 on embedding fetch 2024-05-24 12:44:01 +05:30
Manav Rathi
370b28f9e4 Type 2024-05-24 12:39:06 +05:30
Manav Rathi
05e737cb11 Add steam as a type 2024-05-24 12:32:58 +05:30
laurenspriem
0fdb58eda1 [mob][photos] Force clustering first if too many unclustered faces 2024-05-24 12:30:22 +05:30
Manav Rathi
1ce90839fe Remove type from auth UI 2024-05-24 12:18:28 +05:30
Manav Rathi
697946f415 Scaffold 2024-05-24 12:12:06 +05:30
laurenspriem
cc91cb8012 [mob][photos] Correct mistake 2024-05-24 11:16:40 +05:30
Manav Rathi
754de7065f [web] Auth cleanup - Part 3/3 (#1838)
Prep done.
2024-05-24 11:02:45 +05:30
laurenspriem
5587373b42 [mob][photos] Remove clustering restriction based on indexed amount 2024-05-24 11:00:05 +05:30
laurenspriem
f1d1a4a9e1 [mob][photos] Clustering sort to cluster new files first 2024-05-24 10:57:27 +05:30
Manav Rathi
dc38a8bc9f Account for node/browser discrepancy 2024-05-24 10:51:19 +05:30
laurenspriem
edf9f743f4 [mob][photos] Prefer using getFileIdFromFaceId 2024-05-24 10:27:16 +05:30
Manav Rathi
fec040e528 Tweak error report 2024-05-24 10:20:58 +05:30
laurenspriem
86f96a5713 [mob][photos] Show intermediate clustering results 2024-05-24 10:19:24 +05:30
laurenspriem
c3fb472287 [mob][photos] Fix clustering progress number 2024-05-24 10:18:17 +05:30
Manav Rathi
eaf8b9cebc Also include same workaround as mobile app 2024-05-24 10:10:59 +05:30
Manav Rathi
2ce9212457 We encodeURIComponent the pathname 2024-05-24 09:58:50 +05:30
laurenspriem
4fa59ce258 [mob][photos] Common ml util for getting indexable files across faces and clip 2024-05-24 09:56:10 +05:30
ashilkn
320f79bb52 Merge branch 'main' into migrate_files_db_to_sqlite_async 2024-05-24 09:53:44 +05:30
Manav Rathi
59ed89cba1 .get returns null when the property is not present 2024-05-24 09:49:20 +05:30
Manav Rathi
623b71715d Wrap 2024-05-24 09:42:23 +05:30
laurenspriem
a74943698f Merge remote-tracking branch 'origin/main' into face_small_improvements 2024-05-24 09:37:53 +05:30
Manav Rathi
bfe8fd83ac Take 2 2024-05-24 09:29:54 +05:30
Manav Rathi
0a01cac57b Take 1 (incorrect) 2024-05-24 09:27:28 +05:30
Crowdin Bot
b7f248fa93 New Crowdin translations by GitHub Action 2024-05-24 02:06:42 +00:00
Manav Rathi
d814b6cdf0 Use standard URL parsing - WIP 1 2024-05-23 21:01:18 +05:30
Manav Rathi
1712bf60cb [web] Auth cleanup - Part 2/x (#1834)
Preparing for steam support (sibling of
https://github.com/ente-io/ente/pull/1820)
2024-05-23 20:36:08 +05:30
Manav Rathi
369a5a5233 lf 2024-05-23 20:19:20 +05:30
Manav Rathi
9bae31d748 Parse 2024-05-23 19:38:23 +05:30
Manav Rathi
11453b327f Improve docs with hints from otpauth
https://github.com/hectorm/otpauth
2024-05-23 19:34:53 +05:30
Manav Rathi
7780c1c7b7 Move to the correct place 2024-05-23 19:29:56 +05:30
Manav Rathi
0f1c98d0d0 Reword 2024-05-23 19:22:45 +05:30
Manav Rathi
48fcbdc98c Reword 2024-05-23 19:10:42 +05:30
Manav Rathi
90d0196d47 Extract logic 2024-05-23 19:06:06 +05:30
ashilkn
484d2dc6cb Merge branch 'main' into migrate_files_db_to_sqlite_async 2024-05-23 19:04:07 +05:30
Ashil
30a8691c7f [mob][photos] Fix infinite loading on searching (#1830)
## Description

Search was infinitely loading even after all search results are ready.
2024-05-23 18:59:36 +05:30
Manav Rathi
69cea6786d Redistr 2024-05-23 18:54:55 +05:30
laurenspriem
ccac5e73a3 [mob][photos] Remove found faces from status 2024-05-23 18:13:47 +05:30
laurenspriem
3e79c8cf28 [mob][photos] Decrypt remote embeddings in computer 2024-05-23 18:12:41 +05:30
ashilkn
a63558a309 [mob][photos] Resolve merge conflicts and merge main 2024-05-23 17:36:10 +05:30
Neeraj Gupta
31dee1249d Steam Authenticator migration guide (#1825)
A quick guide on how to use steamguard-cli to generate a Steam 2FA QR
code for Ente Auth

Inspired by
https://github.com/beemdevelopment/Aegis/wiki/Adding-Steam-to-Aegis-from-steamguard-cli,
but updated to utilize the latest flags provide by the steamguard-cli

addresses this:
https://github.com/ente-io/ente/discussions/1038#discussioncomment-9520070
2024-05-23 17:13:50 +05:30
Neeraj Gupta
e5a293a6ab Dart UI isolate fix (#1829)
## Description

Forgot to bump version in previous PR
2024-05-23 17:10:08 +05:30
laurenspriem
ffcb68b32f [mob][photos] Bump 2024-05-23 17:05:15 +05:30
laurenspriem
a8af90dfee [mob][photos] Bump 2024-05-23 17:02:47 +05:30
Neeraj Gupta
6ee38cb291 Dart UI isolate fix (#1828)
## Description

- Fix for using dart_ui_isolate package properly

## Test

Neeraj tested it
2024-05-23 16:45:17 +05:30
laurenspriem
3810df1b20 [mob][photos] Fix for dart_ui_isolate 2024-05-23 16:37:34 +05:30
laurenspriem
cc8e345a17 Revert "[mob][photos] Revert back to FlutterIsolate"
This reverts commit c4a6011621.
2024-05-23 16:35:45 +05:30
laurenspriem
63653411b8 [mob][photos] Logs 2024-05-23 16:33:21 +05:30
laurenspriem
c4a6011621 [mob][photos] Revert back to FlutterIsolate 2024-05-23 16:32:25 +05:30
Manav Rathi
1ee52c780f [desktop] Allow refreshing when inside an album (#1827)
Steps to reproduce on Linux:

- Open an album
- Open a photo
- View > Reload

Causes a 404 page to be displayed.
2024-05-23 16:17:41 +05:30
Manav Rathi
b402662c09 [desktop] Allow refreshing when inside an album
Steps to reproduce on Linux:

- Open an album
- Open a photo
- View > Reload

Causes a 404 page to be displayed.
2024-05-23 16:13:21 +05:30
Neeraj Gupta
5e4d530b93 [mob] Fix range calculation while refresh lazy gallery group 2024-05-23 15:18:02 +05:30
Neeraj Gupta
22ff318249 [mob] Fix bug in daysInSameWeek check 2024-05-23 15:11:41 +05:30
Rex Ng
51756d45d9 Steam Authenticator migration guide
guide on how to use steamguard-cli to generate a qr code for Ente Auth
2024-05-23 17:41:15 +08:00
Neeraj Gupta
a3bb7ad85a [mob][photos] Use flutter 3.22 for internal build (#1824) 2024-05-23 14:51:44 +05:30
laurenspriem
17058299c1 [mob][photos] Use flutter 3.22 for internal build 2024-05-23 14:50:37 +05:30
Laurens Priem
65de02d8d9 Face fix (#1823)
## Description

- Bug fixes
- Logging

## Tests

Tested on my pixel phone with remote embedding fetch disabled.
2024-05-23 14:42:04 +05:30
Laurens Priem
1f9e222d6e Merge branch 'main' into face_fix 2024-05-23 14:40:26 +05:30
Manav Rathi
3d96be6c27 [desktop] Keep integral millisecond precision for modified time (#1822)
Fixes the following upload:

> metadata: {title: xxx.jpeg, creationTime: 1715925330480368.8,
modificationTime: 1715925330480368.8, latitude: null, longitude: null,
fileType: 0, hash: ...}

Related: https://github.com/ente-io/ente/pull/1821
2024-05-23 14:38:31 +05:30
laurenspriem
1bbe495306 [mob][photos] Bump 2024-05-23 14:36:17 +05:30
laurenspriem
a76f3ca1b3 [mob][photos] Logging 2024-05-23 14:35:22 +05:30
laurenspriem
7800b7db32 [mob][photos] Regularly check for wifi 2024-05-23 14:35:15 +05:30
Manav Rathi
ea2a355bcc Revert to the behaviour of the existing 1.6.63 client 2024-05-23 14:34:24 +05:30
laurenspriem
d585b75514 [mob][photos] Logging 2024-05-23 14:27:29 +05:30
Manav Rathi
5caa32b1e0 Also add for zip reading 2024-05-23 14:27:17 +05:30
laurenspriem
11402d7819 [mob][photos] Fix indexing pausing 2024-05-23 14:27:12 +05:30
Neeraj Gupta
643b77e81e Fix title for month 2024-05-23 14:18:37 +05:30
Ashil
a41f705dad Upgrade to flutter 3.22.0 (#1804) 2024-05-23 14:17:47 +05:30
Neeraj Gupta
3ce8a09e39 Merge branch 'main' into generic_group_by 2024-05-23 14:13:35 +05:30
Neeraj Gupta
69b808e62c [mobile] New translations (#1788)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-05-23 14:10:39 +05:30
laurenspriem
1e1e629891 [mob][photos] Set parallel fetch to five 2024-05-23 14:07:04 +05:30
Manav Rathi
a7e96d055c [web] Auth cleanup - Part 1/x (#1820)
In preparation for adding steam support
2024-05-23 13:42:34 +05:30
Manav Rathi
5e2261f793 Unclass 2024-05-23 13:36:44 +05:30
Manav Rathi
206be5c16f Document 2024-05-23 13:19:05 +05:30
Manav Rathi
41c87efc5a Use the union 2024-05-23 13:07:33 +05:30
Manav Rathi
171af35d85 Reword 2024-05-23 13:06:27 +05:30
Manav Rathi
99f47dc1ae Move into the function 2024-05-23 13:03:31 +05:30
Neeraj Gupta
cc7a516eba [mob][photos] Bump (#1819)
## Description

## Tests
2024-05-23 13:00:41 +05:30
Manav Rathi
26436f116f Nonopt 2024-05-23 12:58:47 +05:30
laurenspriem
9eab415906 [mob][photos] Bump 2024-05-23 12:58:42 +05:30
Manav Rathi
14655e5633 Fix 2024-05-23 12:47:29 +05:30
Manav Rathi
51dc8d1de6 Rearrange 2024-05-23 12:40:35 +05:30
Manav Rathi
51568e6c56 non optional 2024-05-23 12:20:04 +05:30
Manav Rathi
d2743f4121 Unclass 2024-05-23 12:16:02 +05:30
Neeraj Gupta
05c50e78bc Face flag (#1818)
## Description

Changes faces flag to use beta flag.
2024-05-23 12:13:46 +05:30
laurenspriem
9ac7b29e96 [mob][photos] Bump 2024-05-23 12:12:37 +05:30
laurenspriem
42106a72b3 [mob][photos] Change faces flag 2024-05-23 12:12:19 +05:30
Manav Rathi
2504046e26 Move 2024-05-23 12:11:11 +05:30
Manav Rathi
a104f36561 Inline 2024-05-23 12:06:54 +05:30
Manav Rathi
b26afdcf2e Inline 2024-05-23 11:43:35 +05:30
Manav Rathi
bf707ae02d Inline 2024-05-23 11:37:55 +05:30
Manav Rathi
68648d2f6c Remove nesting 2024-05-23 11:35:44 +05:30
Manav Rathi
371b8bf9cc [web] Rework the video chunk decryptor stream logic (#1817) 2024-05-23 10:56:24 +05:30
Manav Rathi
3b89471b87 Use a standard converter 2024-05-23 10:17:11 +05:30
Manav Rathi
8a2117f9d4 Chunk 2024-05-23 10:09:47 +05:30
Manav Rathi
132ddd3648 Rework the video chunk decryptor stream logic
When running on Ubuntu 24 arm64 in the desktop app (didn't test on web0, trying
to open certain videos fails with:

> [rndr] [error] Failed to process file stream: TypeError: Failed to execute
  'enqueue' on 'ReadableStreamDefaultController': Cannot enqueue a chunk into a
  closed readable stream

While not specifically fixing that issue, I'm first rewriting this to use the
more normal (recommended?) approach of implementing a pull instead of doing
everything in start. Maybe that fixes the issue, otherwise at least one less
ghost for me to worry about.
2024-05-23 09:51:29 +05:30
ashilkn
7aa26a950d [mob][photos] Bump up to version 0.8.103 2024-05-22 20:44:10 +05:30
ashilkn
b74be0b8f1 Merge branch 'main' into migrate_files_db_to_sqlite_async 2024-05-22 20:41:31 +05:30
Neeraj Gupta
048aaee40d [mob][photos] Bump (#1814)
## Description

Bump for internal release, which I forgot in previous PR.
2024-05-22 18:58:35 +05:30
ashilkn
8caa559812 [mob][photos] Resolve merge conflicts and merge main 2024-05-22 18:33:43 +05:30
laurenspriem
04475110ce [mob][photos] Bump 2024-05-22 17:56:43 +05:30
Laurens Priem
02366eb27f [mob][photos] Small fix in index scheduling (#1813)
## Description

- Small fix for scenario where MLController fired quicker than we could
pause

## Tests

Tested on my pixel phone.
2024-05-22 17:21:30 +05:30
laurenspriem
6c3953e855 [mob][photos] Small fix in index scheduling 2024-05-22 17:11:11 +05:30
Laurens Priem
201286f59a Ml fixes (#1812)
## Description

- Fixed some issues in face indexing
- Cleaned up some functions in FaceMlService
- Hooked iOS onto MLController for battery check, for faces and clip

## Tests

Tested on my Pixel phone only
2024-05-22 16:56:16 +05:30
Prateek Sunal
b00bffd785 Ente Auth: Add support for Steam domain (steampowered.com) as an issuer (#1809)
## Description
I don't think I'm the only one using website domains as issuers of TOTP
codes. This change will add support for the Steam domain
(steampowered.com) as an issuer.
2024-05-22 16:32:33 +05:30
laurenspriem
d477b55071 [mob][photos] Bump 2024-05-22 16:23:15 +05:30
Vladyslav Pashynskykh
227b7ddba0 Use uri.host instead of issuer in _GetDigits 2024-05-22 13:51:07 +03:00
ashilkn
22fc67c8c3 [mob][photos] Remove unnecessary parameters 2024-05-22 16:17:05 +05:30
laurenspriem
d12f570178 [mob][photos] Logging 2024-05-22 16:15:30 +05:30
Vladyslav
70dc660f5a Merge branch 'ente-io:main' into main 2024-05-22 13:37:42 +03:00
laurenspriem
e4c379963f [mob][photos] Logging 2024-05-22 16:04:26 +05:30
laurenspriem
e44be63586 [mob][photos] Logs 2024-05-22 15:54:56 +05:30
laurenspriem
6d5436c885 [mob][photos] Hook iOS into MLController for temperature check only 2024-05-22 15:50:14 +05:30
Vladyslav Pashynskykh
d75abcf6a7 Ente Auth: Add support for Steam domain used as issuer 2024-05-22 13:02:11 +03:00
laurenspriem
b3229785a0 [mob][photos] Small fix 2024-05-22 15:26:03 +05:30
Prateek Sunal
bd8757bbb8 [FIX (Auth)] Destroy window on exit, Color scheme fix, Hide code for steam fix (#1810)
## Description

## Tests
2024-05-22 15:24:08 +05:30
laurenspriem
92bafa7c38 [mob][photos] Temp fix for double assigned persons 2024-05-22 15:19:07 +05:30
Neeraj Gupta
ce6160a06a Merge branch 'main' into generic_group_by 2024-05-22 15:18:44 +05:30
laurenspriem
df756076e8 [mob][photos] Small cleanup of FaceMlService 2024-05-22 14:52:13 +05:30
laurenspriem
ffc9eecbd1 [mob][photos] Move listeners inside init 2024-05-22 14:45:16 +05:30
laurenspriem
678efd1e8b [mob][photos] Refactor of flags for faceMlService 2024-05-22 14:41:44 +05:30
ashilkn
cb9ac0d939 [mob][photos] bump up version to 0.8.100 2024-05-22 14:21:31 +05:30
ashilkn
f513473362 [mob][photos] Check db version when sqflite was used and run only migrations that are necessary using sqlite_async
Tested adding a new migration and it works. Tested two cases (a)Fresh install (b)Opening app with new migration added and the last db migration was done when sqflite was used
2024-05-22 14:20:29 +05:30
Prateek Sunal
9ab82621b9 fix(auth): hide codes reg ex, match every non-whitespace character 2024-05-22 14:08:09 +05:30
Prateek Sunal
59c2c7e343 fix(auth): color scheme for pinned 2024-05-22 14:06:41 +05:30
Prateek Sunal
8c3c0b2128 fix(auth): destroy window when exiting from tray 2024-05-22 13:30:42 +05:30
Vladyslav Pashynskykh
954581093d Ente Auth: Add support for Steam domain used as issuer 2024-05-22 09:51:12 +03:00
laurenspriem
78afae4013 [mob][photos] Lower file download limit 2024-05-22 11:40:22 +05:30
laurenspriem
7811c58214 [mob][photos] Inline 2024-05-22 11:08:51 +05:30
laurenspriem
85a8f6b7cf [mob][photos] MLController lower interaction times for now 2024-05-22 10:47:08 +05:30
Manav Rathi
f60e750848 [web] Inline sidebar code (#1803)
... to make it more manageable.
2024-05-21 20:04:02 +05:30
Manav Rathi
a086f36433 Fix type 2024-05-21 19:38:42 +05:30
Manav Rathi
4cb49c0b4a Fix warning about required key 2024-05-21 19:31:52 +05:30
Manav Rathi
334587474f Inline 2024-05-21 19:20:50 +05:30
Manav Rathi
0d52737c49 Inline 2024-05-21 19:18:54 +05:30
Manav Rathi
d4dc080231 Inline 2024-05-21 19:14:50 +05:30
Manav Rathi
f8d35c3dcf Inline 2024-05-21 19:10:29 +05:30
Manav Rathi
c20b9fa5fa Rename 2024-05-21 19:07:04 +05:30
Manav Rathi
6a8fa727a9 Inline 2024-05-21 19:06:30 +05:30
Manav Rathi
7712a8bd10 Inline 2024-05-21 18:45:53 +05:30
Manav Rathi
4feb8fd1f1 Inline 2024-05-21 18:44:36 +05:30
Manav Rathi
994876911a Inline 2024-05-21 18:42:42 +05:30
Manav Rathi
d6398bd8fc Inline 2024-05-21 18:39:42 +05:30
Manav Rathi
43064b617a Inline 2024-05-21 18:36:26 +05:30
ashilkn
4fb9e75394 [mob][photos] Bump up version to 0.8.99 2024-05-21 18:36:01 +05:30
ashilkn
ee348f5585 Merge branch 'main' into migrate_files_db_to_sqlite_async 2024-05-21 18:34:48 +05:30
ashilkn
eaca151a9f [mob][photos] Minor change 2024-05-21 18:34:11 +05:30
Manav Rathi
789783a370 Inline 2024-05-21 18:34:06 +05:30
Manav Rathi
9db1197c19 Inline 2024-05-21 18:33:08 +05:30
Manav Rathi
56a71c2cd8 Inline 2024-05-21 18:31:55 +05:30
Neeraj Gupta
c21a0cfdb4 [mob] Lint fix 2024-05-21 17:46:23 +05:30
Neeraj Gupta
241c755446 Merge branch 'main' into generic_group_by 2024-05-21 17:45:27 +05:30
ashilkn
e3ea22f479 [mob][photos] add comment 2024-05-21 17:44:38 +05:30
ashilkn
5a017616f5 [mob][photos] Fix sqlite command syntax errors 2024-05-21 17:10:42 +05:30
Neeraj Gupta
608c97603b Mobile face (#1799)
## Description

One fix related to DB, rest just more logging
2024-05-21 17:02:40 +05:30
laurenspriem
a9721e7744 [mob][photos] Bump 2024-05-21 17:02:14 +05:30
Neeraj Gupta
44e5af0434 [mob] Fix bug during logout (#1800)
## Description

## Tests
Tested locally
2024-05-21 16:59:20 +05:30
Neeraj Gupta
dfbdc94e61 [mob] Fix bug during logout 2024-05-21 16:58:54 +05:30
laurenspriem
71d3427879 [mob][photos] Logging 2024-05-21 16:56:00 +05:30
ashilkn
159fdf83ad [mob][photos] Migrate to sqlite_async(14) 2024-05-21 16:54:09 +05:30
laurenspriem
d235ff1035 [mob][photos] Inline 2024-05-21 16:53:52 +05:30
ashilkn
b2a359ca59 [mob][photos] Migrate to sqlite_async(13): Use getAll() instead of execute() for SELECT commands 2024-05-21 16:53:49 +05:30
laurenspriem
ee5be7f339 [mob][photos] Make sure faces tables are initialized 2024-05-21 16:43:55 +05:30
Neeraj Gupta
9b0e8b265d [auth] New translations (#1789)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-21 16:43:18 +05:30
laurenspriem
c0f243cee0 [mob][photos] Logging 2024-05-21 16:37:06 +05:30
laurenspriem
1bd2033a63 [mob][photos] Make sure clustering can run again after exception 2024-05-21 16:34:46 +05:30
ashilkn
cae3748995 [mob][photos] Resolve conflicts and merge main 2024-05-21 16:32:03 +05:30
Manav Rathi
982f0d8f77 [web] Improve consistency with mobile impl (#1797) 2024-05-21 16:12:57 +05:30
ashilkn
49e64b3d4c [mob][photos] Fix issue with EnteFile not having location data 2024-05-21 16:12:44 +05:30
Manav Rathi
9e26b81adf We don't need them 2024-05-21 16:03:47 +05:30
Manav Rathi
94cc26aead xMin, yMin to x, y in the remote format 2024-05-21 15:51:55 +05:30
Neeraj Gupta
d4b4007d96 [Auth] Fix parsing of code display when issuer/account contains special character (#1795)
## Description

## Tests
2024-05-21 14:48:12 +05:30
Neeraj Gupta
2daf5c8fde [auth] Bump version 3.0.4+304 2024-05-21 14:45:19 +05:30
Neeraj Gupta
7a5d4cedf6 Add log 2024-05-21 14:42:51 +05:30
Neeraj Gupta
2abc57f981 Minor refactor 2024-05-21 14:36:53 +05:30
Manav Rathi
2d5894c5d6 Convert point and box to regular objects 2024-05-21 14:28:33 +05:30
laurenspriem
0d43c0d326 Merge remote-tracking branch 'origin/main' into mobile_face 2024-05-21 14:06:04 +05:30
laurenspriem
1b46e159da [mob][photos] Put x and y instead of xMin and yMin in embeddingsJSON 2024-05-21 14:03:19 +05:30
Neeraj Gupta
a4d6fece41 Fix OTPAuthUrl format 2024-05-21 13:50:18 +05:30
Neeraj Gupta
86b24a4ccf [auth] Add safe parsing of code display 2024-05-21 13:34:01 +05:30
Neeraj Gupta
8520cdd1bb Gracefully handle failure in codeDisplay parsing 2024-05-21 13:05:10 +05:30
Neeraj Gupta
0655617a9e Improve log 2024-05-21 12:59:39 +05:30
Manav Rathi
4dbc8ab31e [web] ML prune todos (#1791) 2024-05-21 11:56:13 +05:30
Manav Rathi
1a376a1a9b Update deps 2024-05-21 11:52:01 +05:30
Manav Rathi
6e82964bf2 Post rebase 2024-05-21 11:50:13 +05:30
Manav Rathi
fdd5ffd45c Rename 2024-05-21 11:48:07 +05:30
Manav Rathi
ccb5c48c7d Comment 2024-05-21 11:46:49 +05:30
Manav Rathi
074d315c9f We need both 2024-05-21 11:46:48 +05:30
Manav Rathi
b8734fcc6c Add TODO 2024-05-21 11:46:27 +05:30
Manav Rathi
a8229f325d Document and move 2024-05-21 11:46:27 +05:30
Manav Rathi
5768edb3a5 Thank you Laurens! 2024-05-21 11:46:27 +05:30
Manav Rathi
8bc80d2821 Merge 2024-05-21 11:46:26 +05:30
Manav Rathi
825f5ff88d Inline 2024-05-21 11:45:56 +05:30
Manav Rathi
5aee42d59d Remove calculation 2024-05-21 11:45:56 +05:30
Manav Rathi
c8be764f35 Remove unused rotation 2024-05-21 11:45:55 +05:30
Manav Rathi
4e2f7c95e3 [web][photos] solve TODOs (#1790)
## Description

- Removed redundant rotation parameter in cropping
- Reviewed TODO regarding dependency: no changes
- Included proper Non-Max Suppression for filtering faces, same as on
Mobile
2024-05-21 11:42:26 +05:30
laurenspriem
56cd3a9949 [web][photos] Rename cropWithRotation to cropImage 2024-05-21 11:39:46 +05:30
Manav Rathi
12ce21cd08 [web] New translations (#1787)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-21 11:38:47 +05:30
laurenspriem
ae5496f306 [web][photos] solve TODOs 2024-05-21 11:35:07 +05:30
Crowdin Bot
d23638c30d New Crowdin translations by GitHub Action 2024-05-21 02:05:40 +00:00
Crowdin Bot
5724fad813 New Crowdin translations by GitHub Action 2024-05-21 01:57:44 +00:00
Crowdin Bot
ffe54f591c New Crowdin translations by GitHub Action 2024-05-21 01:40:33 +00:00
Prateek Sunal
13f9358a4f [FIX] Auth desktop icons and steam code (#1783)
## Description

## Tests
2024-05-20 23:06:34 +05:30
Prateek Sunal
4289ab2393 chore(auth): capitalize app name 2024-05-20 23:01:32 +05:30
Prateek Sunal
4032952168 fix(auth): show progress for steam too 2024-05-20 22:59:44 +05:30
Prateek Sunal
d104fc6788 fix(auth): support stream codes completely 2024-05-20 22:59:22 +05:30
Prateek Sunal
85396158aa chore(auth): bump version 2024-05-20 21:22:35 +05:30
Prateek Sunal
3d91b548db Merge remote-tracking branch 'origin' into auth-deskicons 2024-05-20 21:18:11 +05:30
Prateek Sunal
e500347fc5 fix(auth): update all desktop icons 2024-05-20 21:17:37 +05:30
Manav Rathi
9c667efee5 [web] Don't sync CLIP emeddings in the web app (#1782) 2024-05-20 21:10:21 +05:30
Manav Rathi
0877d9c788 [web] Don't sync CLIP emeddings in the web app 2024-05-20 20:59:05 +05:30
Prateek Sunal
d4f781bf35 fix(auth): update video editor 2024-05-20 20:57:44 +05:30
Manav Rathi
be9f8b8b1d [desktop] App name is always ente now
Fixed in 7049a901f8
2024-05-20 20:09:42 +05:30
Neeraj Gupta
b1314729b1 Mobile faces v0 (#1776) 2024-05-20 17:46:38 +05:30
Neeraj Gupta
c84acfd588 [auth] Bump version (#1779)
## Description

## Tests
2024-05-20 17:37:49 +05:30
Neeraj Gupta
41ba5b79e3 [auth] Bump version 2024-05-20 17:37:28 +05:30
Neeraj Gupta
0e957cbecb [photos] Bump version 0.8.97+617 2024-05-20 17:33:22 +05:30
Manav Rathi
6676c67cc3 [desktop] Fix logout (#1778) 2024-05-20 17:31:11 +05:30
Neeraj Gupta
57e9ef10af Fix lint 2024-05-20 17:30:57 +05:30
Neeraj Gupta
ee7c1bafc3 Enable remote fetch 2024-05-20 17:29:09 +05:30
Manav Rathi
dae9bdd583 [desktop] Fix logout 2024-05-20 17:21:10 +05:30
Neeraj Gupta
93473ebd12 Lint fix 2024-05-20 17:17:37 +05:30
Neeraj Gupta
e9be2b46a1 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-05-20 17:09:46 +05:30
Neeraj Gupta
e4bec56ea3 Remove unused isar submodule 2024-05-20 17:09:23 +05:30
Neeraj Gupta
1e3fca2835 Remove unused submodule 2024-05-20 17:09:00 +05:30
Neeraj Gupta
58851f2d6e Remove unused submodule 2024-05-20 17:08:01 +05:30
laurenspriem
5172ce3126 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-20 16:56:53 +05:30
laurenspriem
3e1e26feb0 [mob][photos] Bigger and separate resources pool for face generation 2024-05-20 16:54:22 +05:30
Neeraj Gupta
aa8e128c44 Merge branch 'main' into mobile_face 2024-05-20 16:42:11 +05:30
Neeraj Gupta
cacb50b040 Fix git submodule 2024-05-20 16:40:21 +05:30
laurenspriem
58dcceca9f [mob][photos] Revert regression 2024-05-20 15:12:12 +05:30
laurenspriem
84f7d20966 [mob][photos] Put faces behind feature flag 2024-05-20 14:51:35 +05:30
Manav Rathi
41b22abc66 [desktop] ML touchups (#1777) 2024-05-20 14:49:50 +05:30
Manav Rathi
7049a901f8 Fix the app version in debug mode 2024-05-20 14:46:18 +05:30
Manav Rathi
cb86ab84f3 Send user agent 2024-05-20 14:28:27 +05:30
laurenspriem
76848c826e [mob][photos] Change embeddings server structure 2024-05-20 14:18:34 +05:30
Manav Rathi
69b4fde936 Update TODOs based on discussion 2024-05-20 13:57:52 +05:30
Manav Rathi
c2edac6192 Fix error I observed in logs
> TypeError: Cannot read properties of undefined (reading 'method')
2024-05-20 11:43:10 +05:30
Manav Rathi
d7bd0f0200 [desktop] Fix ML put error 2024-05-20 11:33:43 +05:30
Manav Rathi
07ba9ef1d6 [desktop] ML: Clarify that existing indexed people will not show in this update (#1775) 2024-05-20 10:48:22 +05:30
Manav Rathi
10934b08a8 Handle first search on app start 2024-05-20 10:39:11 +05:30
laurenspriem
09b2732d76 [mob][photos] Use hidden cached files for count 2024-05-20 10:23:07 +05:30
Manav Rathi
34a8bdcf47 Remove unnecessary rounding 2024-05-20 10:15:41 +05:30
Manav Rathi
78420f65ab Case 2024-05-20 10:09:41 +05:30
Manav Rathi
20dcf3e473 Annotate 2024-05-20 10:04:33 +05:30
Manav Rathi
e97225fa10 Remove 2024-05-20 09:57:42 +05:30
Manav Rathi
476edd8cf5 Remove unused code paths
Only internal users come into such scenarios currently
2024-05-20 09:52:32 +05:30
Manav Rathi
a3aa3755c6 [desktop] Clarify that existing indexed people will not show
These auto complete suggestions and the list of people in the photo details are
not shown when ML search is disabled, and it is disabled for non-internal users,
so updated the description.
2024-05-20 09:45:55 +05:30
laurenspriem
a48c8b481e [mob][photos] Small changes 2024-05-20 09:41:11 +05:30
Manav Rathi
531547cd48 [web] Fix race condition in initialization of search worker (#1772)
During app init, two worker instances would get created in some cases
and two getInstances raced because of the await. This was causing the
search results to be empty until the page is reloaded (since the files
array was empty in the worker that got assigned, but the files would get
set to the other worker instance that lost the race).
2024-05-19 20:26:34 +05:30
Manav Rathi
97b964fd6c [web] Fix race condition in initialization of search worker
During app init, two worker instances would get created in some cases and two
getInstances raced because of the await. This was causing the search results to
be empty until the page is reloaded (since the files array was empty in the
worker that got assigned, but the files would get set to the other worker
instance that lost the race).
2024-05-19 20:21:37 +05:30
Manav Rathi
69f06f753c [web] ML cleanup - Part 7/x (#1771) 2024-05-19 20:19:59 +05:30
Manav Rathi
e5a96222b9 Use 2024-05-19 19:14:48 +05:30
Manav Rathi
5c92bc5b89 Reduce scope 2024-05-19 19:08:07 +05:30
Manav Rathi
f692638ede Try to find a split point 2024-05-19 19:03:25 +05:30
Manav Rathi
c2e42266a6 Remove unused 2024-05-19 18:57:35 +05:30
Manav Rathi
2db8c779b4 Convert to function (in preparation of declassing) 2024-05-19 18:56:42 +05:30
Manav Rathi
2d9831bc59 Move 2024-05-19 18:15:56 +05:30
Manav Rathi
b026d861ff Relative 2024-05-19 18:10:13 +05:30
Manav Rathi
d9ba96b928 lf 2024-05-19 17:58:37 +05:30
Manav Rathi
ffcf015e1c lf 2024-05-19 16:58:24 +05:30
Manav Rathi
b71b6142c5 Tweak 2024-05-19 16:57:19 +05:30
Manav Rathi
568e470752 Inline 2024-05-19 16:51:07 +05:30
Manav Rathi
faf415277e Trim 2024-05-19 16:46:01 +05:30
Manav Rathi
bfc81b1ab6 Inline 2024-05-19 16:44:19 +05:30
Manav Rathi
d99c10c15e Inline 2024-05-19 16:41:42 +05:30
Manav Rathi
d39cf15f26 Prune 2024-05-19 16:31:43 +05:30
Manav Rathi
37abeac87b Comment out 2024-05-19 15:36:37 +05:30
Manav Rathi
7f5c951910 Split 2024-05-19 15:34:43 +05:30
Manav Rathi
87c7999370 Reduce API surface for migration 2024-05-19 15:21:45 +05:30
Manav Rathi
ee894a668c Reduce distance to server type 2024-05-19 13:23:08 +05:30
Manav Rathi
6b5788539b Move out 2024-05-19 13:17:58 +05:30
Manav Rathi
9346ce3255 Prune 2024-05-19 13:12:27 +05:30
Manav Rathi
40dfeb5bca Tweak 2024-05-19 12:57:47 +05:30
Manav Rathi
2e46f993f0 Remove duplicate alignment calculation 2024-05-19 12:50:31 +05:30
Manav Rathi
ded2402483 Rearrange 2024-05-19 12:43:24 +05:30
Manav Rathi
393a8f11dd Rearrange 2024-05-19 12:28:54 +05:30
Manav Rathi
82485ef9a1 Tweak 2024-05-19 12:24:17 +05:30
Manav Rathi
b36d3befe0 Split 2024-05-19 12:10:53 +05:30
Manav Rathi
e6ed6b4916 Tinker 2024-05-19 12:06:59 +05:30
Manav Rathi
6427c09f52 Don't let face crop save failures abort the entire indexing 2024-05-19 11:59:03 +05:30
Manav Rathi
9abc22ade5 Remove unused 2024-05-19 11:57:13 +05:30
Manav Rathi
1466ece701 Cache the caches 2024-05-19 11:54:00 +05:30
Neeraj Gupta
33a3eeb9b4 [server] Improve log (#1769)
## Description

## Tests
2024-05-19 08:35:29 +05:30
Neeraj Gupta
0949102959 Improve logs 2024-05-19 08:33:29 +05:30
Neeraj Gupta
367431bef8 Improve log 2024-05-19 08:31:32 +05:30
Neeraj Gupta
3bdb1e6277 [server] Remove fallback check as dc column was added with default dc b2 (#1768)
## Description

## Tests
2024-05-19 08:23:38 +05:30
Neeraj Gupta
113b776aea [server] Remove fallback check as dc column was added with default dc b2 2024-05-19 08:21:32 +05:30
Manav Rathi
99ed1bc9af Show saved crops 2024-05-19 07:18:18 +05:30
Manav Rathi
c1f0f67656 [meta] Prune gitignore (#1767)
About the auth dbs, discussed in chat: These files got created once when
debugging auth build for linux. They were probably accidental, so
removing them for now (will add back if there is a workflow when they
actively get recreated).
2024-05-18 21:28:22 +05:30
Manav Rathi
894acda782 [meta] Prune
About the auth dbs, discussed in chat: These files got created once when
debugging auth build for linux. They were probably accidental, so removing them
for now (will add back if there is a workflow when they actively get recreated).
2024-05-18 21:23:47 +05:30
Manav Rathi
b6a2985432 [web] ML cleanup - Part 6/x (#1766) 2024-05-18 20:57:24 +05:30
Manav Rathi
3ade7b797e Fix duplicate check 2024-05-18 20:50:35 +05:30
Manav Rathi
93c498b0f4 Remove unused context 2024-05-18 20:39:57 +05:30
Manav Rathi
6849041735 Tweak 2024-05-18 20:26:20 +05:30
Manav Rathi
a4494f5c6a Tweak 2024-05-18 20:23:31 +05:30
Manav Rathi
97adb89494 Tweak 2024-05-18 20:18:39 +05:30
Manav Rathi
fe8ff0a12a Remove redundant 2024-05-18 20:16:00 +05:30
Manav Rathi
8975546294 Simplify 2024-05-18 20:13:43 +05:30
Manav Rathi
acd3568dc6 Tinker 2024-05-18 20:06:29 +05:30
Manav Rathi
3b6760c65e Remove unused blazeflaze landmarks 2024-05-18 19:55:51 +05:30
Manav Rathi
6304d90b52 Inline 2024-05-18 19:50:13 +05:30
Manav Rathi
410b6e7d3e Tinker 2024-05-18 19:41:34 +05:30
Manav Rathi
a161203d0b Inline 2024-05-18 19:32:34 +05:30
Manav Rathi
c8623bab12 Cleanup 2024-05-18 17:42:27 +05:30
Manav Rathi
aa76448747 Shorten 2024-05-18 17:32:42 +05:30
Manav Rathi
139370c997 Shorten 2024-05-18 17:31:39 +05:30
Manav Rathi
4d5ba47be4 Sugar 2024-05-18 17:27:41 +05:30
Manav Rathi
3f18fb84a1 Rearrange 2024-05-18 17:20:42 +05:30
Manav Rathi
39a75430a5 Inline 2024-05-18 17:19:29 +05:30
Manav Rathi
c557e4a7a5 Inline 2024-05-18 16:56:18 +05:30
laurenspriem
bd28254021 [mob][photos] Fix fix trigger for iOS 2024-05-18 16:54:46 +05:30
Manav Rathi
a2e7231c37 Prune 2024-05-18 16:52:54 +05:30
Manav Rathi
9ba028b79d Isolate 2024-05-18 16:52:25 +05:30
laurenspriem
7263c45300 [mob][photos] More debug 2024-05-18 16:50:11 +05:30
Manav Rathi
8f43c3d712 Simplify 2024-05-18 16:19:55 +05:30
Manav Rathi
76cfae12a5 Point of use 2024-05-18 16:02:27 +05:30
Manav Rathi
b29436e160 Prune 2024-05-18 16:00:07 +05:30
Manav Rathi
bcbd805404 Inline 2024-05-18 15:58:41 +05:30
laurenspriem
613dffa03f [mob][photos] Small refactor 2024-05-18 15:58:03 +05:30
Manav Rathi
433d0e81fc Prune 2024-05-18 15:57:36 +05:30
Manav Rathi
bef7574c29 Trim 2024-05-18 15:53:10 +05:30
laurenspriem
131108a6db [mob][photos] Debug option to run indexing 2024-05-18 15:23:24 +05:30
laurenspriem
90c0ad08da [mob][photos] Remove jank 2024-05-18 15:22:41 +05:30
laurenspriem
a222e06634 [mob][photos] Fix breakup cluster for large clusters 2024-05-18 12:05:54 +05:30
laurenspriem
bcf78fb4b9 [mob][photos] generated intl 2024-05-18 12:05:00 +05:30
Manav Rathi
996d9ccda5 [web] ML cleanup - Part 5/x (#1762) 2024-05-18 11:06:04 +05:30
Manav Rathi
772215eddc Rearrange 2024-05-18 10:59:18 +05:30
Manav Rathi
e13f59606f Inline 2024-05-18 10:56:19 +05:30
Manav Rathi
4840214d89 Rearrange 2024-05-18 10:51:31 +05:30
Manav Rathi
b3b79c2b90 Rearrange 2024-05-18 10:48:09 +05:30
Manav Rathi
f25b4b37d0 Site of use 2024-05-18 10:46:34 +05:30
Manav Rathi
8a5bffc3e9 Remove unused 2024-05-18 10:43:44 +05:30
Manav Rathi
2791eeb270 Remove unused 2024-05-18 10:42:39 +05:30
Manav Rathi
bd3bdf64c2 Tweak 2024-05-18 10:40:49 +05:30
Manav Rathi
56aaad62be Tweak 2024-05-18 10:33:32 +05:30
Manav Rathi
88f9186be0 Split 2024-05-18 10:25:35 +05:30
Manav Rathi
9fa828e384 Restrict 2024-05-18 10:23:50 +05:30
Manav Rathi
42d767cac3 Shorten 2024-05-18 10:18:09 +05:30
Manav Rathi
17d78f23bb Shorten 2024-05-18 10:14:15 +05:30
Manav Rathi
246d44648b Reify 2024-05-18 10:11:16 +05:30
Manav Rathi
33d3428222 Move 2024-05-18 10:07:39 +05:30
Manav Rathi
295717ac2f Simplify 2024-05-18 09:59:53 +05:30
Manav Rathi
9808dce44d Pretty 2024-05-18 09:56:20 +05:30
Manav Rathi
fb81a59d4b Site of use 2024-05-18 09:51:42 +05:30
Manav Rathi
1edafd3568 [web] ML cleanup - Part 4/x (#1761) 2024-05-18 09:28:02 +05:30
Manav Rathi
0188749692 Prune 2024-05-18 09:21:17 +05:30
Manav Rathi
46ad045ed4 Merge 2024-05-18 09:19:14 +05:30
Manav Rathi
58193c0d7f Remove unused exports 2024-05-18 09:18:32 +05:30
Manav Rathi
87f60149e1 Remove DB dependency from indexer 2024-05-18 09:16:53 +05:30
Manav Rathi
ae70eb33dd Inline 2024-05-18 09:13:48 +05:30
Manav Rathi
e224ad19d3 Separate 2024-05-18 09:12:49 +05:30
Manav Rathi
f9346c56e9 Inline 2024-05-18 09:02:59 +05:30
Manav Rathi
e15460684d Inline 2024-05-18 08:51:57 +05:30
Manav Rathi
93cdf73a66 Inline 2024-05-18 08:50:48 +05:30
Manav Rathi
eaadc54184 Inline 2024-05-18 08:48:37 +05:30
Manav Rathi
5eb21fafbe Extract indexer 2024-05-18 08:43:01 +05:30
Manav Rathi
8edb506b29 Prune 2024-05-18 08:07:49 +05:30
Manav Rathi
a7e6b1bf5b Prune 2024-05-18 08:04:09 +05:30
Manav Rathi
0109602168 Inline 2024-05-18 08:03:17 +05:30
Manav Rathi
25ced9ce9d Prune 2024-05-18 08:00:42 +05:30
Manav Rathi
fcd4459e6d Move currently unused cluster stuff out of the way 2024-05-18 07:49:15 +05:30
Manav Rathi
295f4a0c2a Essence 2024-05-18 07:27:58 +05:30
Manav Rathi
512766ebed Essence 2024-05-18 07:21:43 +05:30
Manav Rathi
d4449d0f0b Remove noise 2024-05-18 07:10:24 +05:30
Manav Rathi
85562806a3 Prune 2024-05-18 07:07:48 +05:30
Manav Rathi
a18566ff86 Remove error message persistence 2024-05-18 07:05:47 +05:30
Manav Rathi
5c7361262d Prune 2024-05-18 07:00:46 +05:30
Neeraj Gupta
b00ee96dde [mob] Fix indexing trigger for iOS 2024-05-18 05:31:20 +05:30
Neeraj Gupta
ea587b6ccd [mob] Index hidden files 2024-05-18 05:31:04 +05:30
laurenspriem
af88756b5d [mob][photos] Don't show people results until clustering is mostly done 2024-05-17 18:39:07 +05:30
laurenspriem
df867b5957 [mob][photos] Undo change 2024-05-17 18:33:48 +05:30
laurenspriem
4bfb69dcc4 [mob][photos] Debug 2024-05-17 18:32:23 +05:30
laurenspriem
b1ccc39178 [mob][photos] More debug options 2024-05-17 18:15:43 +05:30
laurenspriem
b0ef3a070e Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-17 17:52:48 +05:30
Neeraj Gupta
e331443691 [mob] Enable ml run on iOS 2024-05-17 17:47:10 +05:30
Neeraj Gupta
285b1f9527 Merge branch 'main' into mobile_face 2024-05-17 17:34:18 +05:30
laurenspriem
7a37eca4e6 [mob][photos] Refresh people section on people changed event 2024-05-17 17:33:31 +05:30
Prateek Sunal
19874e2186 chore: bump version to 301 2024-05-17 17:27:34 +05:30
Prateek Sunal
718b78adf0 chore(auth): update Podfile 2024-05-17 17:27:34 +05:30
Neeraj Gupta
fd63597ef3 [auth] iOS build changes (#1758)
## Description

## Tests
2024-05-17 17:27:11 +05:30
Neeraj Gupta
38ab7ae157 [auth] iOS build changes 2024-05-17 17:26:42 +05:30
laurenspriem
cd9db4d10f [mob][photos] Revert to SearchService just for now 2024-05-17 17:21:48 +05:30
laurenspriem
460025ce4a [mob][photos] Higher fetch limit 2024-05-17 17:16:49 +05:30
ashilkn
a7e0f3df7b [mob][photos] Remove sqflite import in filesDB 2024-05-17 17:05:58 +05:30
Neeraj Gupta
d00a032b17 [auth] New translations (#1751)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-17 16:50:47 +05:30
ashilkn
ab9cef689d [mob][photos] Create ConflictAlgorithm enum and stop using it from sqflite 2024-05-17 16:40:59 +05:30
ashilkn
18d68bbdf3 Migrate to sqlite_async(13): Migrate db migration to use sqlite_async 2024-05-17 16:34:04 +05:30
ashilkn
48436694eb [mob][photos] Fix incorrent sqlite operation 2024-05-17 16:28:13 +05:30
laurenspriem
b0fe3946ef [mob][photos] On empty people section go to ML status page 2024-05-17 16:19:38 +05:30
laurenspriem
8a2e2a8f80 [mob][photos] Copy change 2024-05-17 16:19:07 +05:30
laurenspriem
c8efc5fca0 [mob][photos] Debug DB call timings 2024-05-17 15:52:08 +05:30
Neeraj Gupta
401cf92695 Make embedding bucket configurable (#1726)
## Description

## Tests
- [x] New ml data is doing to new bucket
- [x] For existing embedding, fall back logic is working as expected, we
are returning the object immediately and copying the object to new
bucket in an async manner.
- [x] Verified that the dc values were getting updated correctly on copy
or insert.
- [x] Verified that on deletion, we are deleting files from all dcs
where the derived file is present.
2024-05-17 15:45:41 +05:30
laurenspriem
992ca1c4de [mob][photos] Rename parallelism variables for clarity 2024-05-17 15:42:38 +05:30
Neeraj Gupta
89b01f0a39 Query DB to get fallback DC 2024-05-17 15:40:09 +05:30
laurenspriem
baf24aca99 [mob][photos] Faces update status 2024-05-17 15:38:33 +05:30
Manav Rathi
b7bdd89708 [desktop] Add note about xdg-open bug on Ubuntu (#1756)
Was able to reproduce the issue in Ubuntu 24.04 LTS

Ref: https://github.com/electron/electron/issues/31485
2024-05-17 15:27:08 +05:30
laurenspriem
76a10fb84c [mob][photos] Index hidden for faces last 2024-05-17 15:26:12 +05:30
Manav Rathi
b420eece38 [desktop] Add note about xdg-open bug on Ubuntu
Ref: https://github.com/electron/electron/issues/31485
2024-05-17 15:24:42 +05:30
ashilkn
16178b6f09 [mob][photos] Add missing paranthesis 2024-05-17 15:09:10 +05:30
Neeraj Gupta
e33d85412c Fix query for add new DC 2024-05-17 15:08:57 +05:30
Neeraj Gupta
da155464fa Remove updated_at trigger for embeddings table 2024-05-17 15:08:48 +05:30
laurenspriem
1f78f71d0d [mob][photos] Include hidden for indexable count 2024-05-17 15:08:06 +05:30
laurenspriem
88b75c1191 [mob][photos] Migrate some db calls to async 2024-05-17 15:05:34 +05:30
laurenspriem
372fdd8a05 [mob][photos] Partly revert previous commit 2024-05-17 15:01:48 +05:30
Manav Rathi
32b12dbc09 [web] Fail to start if the port is taken (#1755)
This prevents cases say where the web app is running in a terminal, but
when we try to run the desktop app it silently switches to a different
and then failing to load in a manner that is harder to debug compared to
if it'd failed outright.

Ref:
-
https://github.com/vercel/next.js/discussions/23932#discussioncomment-599284
2024-05-17 14:44:15 +05:30
Manav Rathi
103d907781 [web] Fail to start if the port is taken
This prevents cases say where the web app is running in a terminal, but when we
try to run the desktop app it silently switches to a different and then failing
to load in a manner that is harder to debug compared to if it'd failed outright.

Ref:
- https://github.com/vercel/next.js/discussions/23932#discussioncomment-599284
2024-05-17 14:35:10 +05:30
Manav Rathi
61683713e9 [desktop] RC (#1754) 2024-05-17 14:24:37 +05:30
Manav Rathi
af7c2edf98 Remove debugging lines 2024-05-17 14:21:37 +05:30
laurenspriem
63618f00b2 [mob][photos] Clip don't index hidden files 2024-05-17 14:10:05 +05:30
ashilkn
c2b6032b6f [mob][photos] Fix broken query 2024-05-17 13:40:38 +05:30
laurenspriem
41edee7d04 [mob][photos] Update people section after clustering 2024-05-17 12:30:11 +05:30
laurenspriem
9e8a127d4a [mob][photos] Only cluster when indexing is nearly done 2024-05-17 12:28:57 +05:30
Manav Rathi
58d8f131da [desktop] Add a CORS workaround for uploads to arbitrary testing buckets (#1753)
This workaround already existed in older versions (See
`addAllowOriginHeader`), I had recently removed it, now putting it back.
2024-05-17 11:58:31 +05:30
Manav Rathi
f61b5118ba Add a CORS workaround for uploads to arbitrary testing buckets
Workaround for the following error when trying to upload from the desktop app to a staging bucket

> ente://app/gallery:1 Access to XMLHttpRequest at
  'https://xxx-staging-xxx.s3.xxx.backblazeb2.com/...' from origin 'ente://app'
  has been blocked by CORS policy: Response to preflight request doesn't pass
  access control check: The 'Access-Control-Allow-Origin' header has a value
  'null' that is not equal to the supplied origin.
2024-05-17 11:56:10 +05:30
Neeraj Gupta
d847d0601b [auth] Bump version to v3.0.0 (#1752)
## Description

## Tests
2024-05-17 11:48:08 +05:30
ashilkn
a44e5f9505 [mob][photos] Migrate to sqlite_async(12): Migrate entities 2024-05-17 11:47:32 +05:30
Neeraj Gupta
e7607160a0 [auth] Bump version to v3.0.0 2024-05-17 11:46:14 +05:30
laurenspriem
1299e12d92 [mob][photos] Cleanup face debug options 2024-05-17 11:27:42 +05:30
Neeraj Gupta
fd50461214 Add dc in the log ctx 2024-05-17 10:52:00 +05:30
laurenspriem
a8da045a32 [mob][photos] Inline 2024-05-17 10:33:19 +05:30
laurenspriem
d7e7aaa26f [mob][photos] Small refactor 2024-05-17 10:32:37 +05:30
laurenspriem
1f82599fb6 [mob][photos] use spinner 2024-05-17 10:21:33 +05:30
laurenspriem
345eed5209 [mob][photos] Remove old TODOs 2024-05-17 10:17:01 +05:30
Manav Rathi
4160be30b9 Fix tag 2024-05-17 10:14:29 +05:30
laurenspriem
725e628537 [mob][photos] Show clustering progress 2024-05-17 10:09:27 +05:30
Manav Rathi
4c3d549bbf [web] New translations (#1750)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-17 09:35:10 +05:30
Crowdin Bot
22cd8df340 New Crowdin translations by GitHub Action 2024-05-17 02:05:34 +00:00
Crowdin Bot
3d9aa05b07 New Crowdin translations by GitHub Action 2024-05-17 01:41:51 +00:00
Prateek Sunal
9c4e72aa0f feat(mobile): init video editor 2024-05-17 01:32:13 +05:30
Prateek Sunal
2ab7000af1 [FIX] Auth Macos build (#1746)
## Description

Updated Podfile

## Tests
2024-05-16 22:55:19 +05:30
Manav Rathi
50c1f3301e [web] Add Ubuntu section in getting started docs (#1747)
The `npm install -g corepack` was needed on Ubuntu 24 (See
https://github.com/yarnpkg/berry/discussions/5060)
2024-05-16 21:47:11 +05:30
Manav Rathi
20a7e47cde lint fix 2024-05-16 21:43:41 +05:30
Manav Rathi
ca2f124304 yarn pretty 2024-05-16 21:42:19 +05:30
Manav Rathi
ff5fbf3984 Update README 2024-05-16 21:42:03 +05:30
Manav Rathi
589d50e475 Mention in docs 2024-05-16 21:33:15 +05:30
Manav Rathi
1fbaa1e85d Link 2024-05-16 21:31:01 +05:30
Manav Rathi
23138800e0 [web] Add ubuntu instructions to the getting started docs 2024-05-16 21:28:34 +05:30
Prateek Sunal
34626e9da1 chore(auth): update podfile 2024-05-16 21:09:49 +05:30
Manav Rathi
7fe2a98eec [desktop] Fix warning on windows auto update (#1745)
> disableWebInstaller is set to false, you should set it to true if you
do not
plan on using a web installer. This will default to true in a future
version.
2024-05-16 20:56:12 +05:30
Manav Rathi
b9c4682adc [desktop] Fix warning on windows auto update
> disableWebInstaller is set to false, you should set it to true if you do not
  plan on using a web installer. This will default to true in a future version.
2024-05-16 20:54:24 +05:30
ashilkn
28ddb93747 [mob][photos] Add missing parameters for query 2024-05-16 20:17:58 +05:30
Manav Rathi
f75bb91af0 [desktop] Prevent accidental dismissal of auto update dialog (#1744) 2024-05-16 20:17:36 +05:30
Manav Rathi
9fc07b592b [desktop] Prevent accidental dismissal of auto update dialog 2024-05-16 20:07:11 +05:30
ashilkn
2b0fa9bae6 [mob][photos] Migrate to sqlite_async(11) 2024-05-16 19:34:59 +05:30
Manav Rathi
2d13c1ebb5 [web] Disable clustering (#1743) 2024-05-16 19:32:25 +05:30
Manav Rathi
25435dd693 [web] Disable clustering 2024-05-16 19:31:05 +05:30
Manav Rathi
55822d50ed [docs] Add yarn to package.json (#1742)
Same as b3ec2481bd
2024-05-16 19:13:25 +05:30
Manav Rathi
0e39bcdcd2 [docs] Add yarn to package.json
Same as b3ec2481bd
2024-05-16 19:06:00 +05:30
Manav Rathi
a61ef1b820 [docs] Add some more context to web + albums section of external-s3 guide (#1741)
Thanks to Zul from our community Discord. These clarifications were
provided by them, I just made some grammatical edits to fit the document
better.
2024-05-16 19:01:44 +05:30
Manav Rathi
ca504acf0f [docs] Add some more context to web + albums section of external-s3 guide
Thanks to Zul from Discord. These clarifications were provided by them, I just
made some grammatical edits to fit the document better.
2024-05-16 19:00:43 +05:30
laurenspriem
579239ad54 [mob][photos] Disable edit faces from file info for now 2024-05-16 18:52:29 +05:30
laurenspriem
288adb2e7c [mob][photos] Make faces loading in file info less ugly 2024-05-16 18:48:46 +05:30
laurenspriem
f441a0b456 [mob][photos] Don't show the option to assign suggestion to different person 2024-05-16 18:16:42 +05:30
ashilkn
16d54645bc [mob][photos] Migrate to sqlite_async(10) 2024-05-16 18:02:39 +05:30
laurenspriem
d9232c1b83 [mob][photos] Show faces index status in settings 2024-05-16 17:28:09 +05:30
Neeraj Gupta
a4ef4ce2c1 [mob] Show progress for downloading of clip models (#1738)
## Description

## Tests
Tested locally, enabled for internal users only.
2024-05-16 17:09:26 +05:30
Neeraj Gupta
18c083551e [mobile] New translations (#1716)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-05-16 17:08:18 +05:30
Neeraj Gupta
9c740dc810 Fix lint 2024-05-16 17:05:18 +05:30
ashilkn
dec7c45310 [mob][photos] Migrate to sqlite_async(9) 2024-05-16 16:41:57 +05:30
laurenspriem
1932a92cb8 [mob][photos] Require indexing 80% done before clustering 2024-05-16 16:39:58 +05:30
laurenspriem
9251fd8196 [mob][photos] Small change 2024-05-16 16:39:29 +05:30
laurenspriem
7f358c4bff [mob][photos] Better db query 2024-05-16 16:36:32 +05:30
Neeraj Gupta
698ceca49e Lint fix 2024-05-16 16:21:55 +05:30
Neeraj Gupta
51138e9263 Increase initial timeout val for b2 dc 2024-05-16 16:21:08 +05:30
laurenspriem
e9392d8f33 [mob][photos] Automatic sync 2024-05-16 16:11:12 +05:30
Neeraj Gupta
08555954d2 Document 2024-05-16 16:10:51 +05:30
Neeraj Gupta
b404b77da3 Update dc while copying derived file 2024-05-16 16:08:38 +05:30
Manav Rathi
b2082e3c2a [desktop] Update to electron 30.0.6 (#1740)
https://github.com/electron/electron/releases/tag/v30.0.6
2024-05-16 15:54:52 +05:30
Neeraj Gupta
e1153a4471 [mob] Show progress for downloading of clip models 2024-05-16 15:54:20 +05:30
Manav Rathi
17f3839e88 [desktop] Update to electron 30.0.6
https://github.com/electron/electron/releases/tag/v30.0.6
2024-05-16 15:51:15 +05:30
Manav Rathi
b3ec2481bd [web] Make corepack happy (#1739)
Latest Node 20 (20.13.1) ships with an updated corepack which seems to
insist
putting a package manager field in package.json
(https://github.com/nodejs/corepack/pull/413).

Let it have its way, hoping that this doesn't break someone's workflow
(depending on how they installed yarn without corepack or if they have a
node
version that doesn't have corepack).
2024-05-16 15:50:22 +05:30
Manav Rathi
e430ee3606 lf 2024-05-16 15:49:13 +05:30
Manav Rathi
eaa0ddc468 Same for desktop 2024-05-16 15:46:43 +05:30
Manav Rathi
8c2654e30a [web] Make corepack happy
Latest Node 20 (20.13.1) ships with an updated corepack which seems to insist
putting a package manager field in package.json
(https://github.com/nodejs/corepack/pull/413).

Let it have its way, hoping that this doesn't break someone's workflow
(depending on how they installed yarn without corepack or if they have a node
version that doesn't have corepack).
2024-05-16 15:43:02 +05:30
ashilkn
1a360d3ee7 [mob][photos] Migrate to sqlite_async(8): Migrate insert() + rearrange + clean up 2024-05-16 15:37:00 +05:30
Neeraj Gupta
a522631c2b Refactor 2024-05-16 15:19:22 +05:30
Manav Rathi
a0cb8b850e [web] ML cleanup - Part 3/x (#1737) 2024-05-16 15:11:10 +05:30
Manav Rathi
33272776d1 lf 2024-05-16 15:07:15 +05:30
Manav Rathi
7156a42d92 Unused 2024-05-16 15:06:02 +05:30
Manav Rathi
3603ca3d9b Reintroduce in worker 2024-05-16 14:52:36 +05:30
Manav Rathi
f7099c9bfe Prune 2024-05-16 14:46:42 +05:30
Manav Rathi
2452467796 Bypass 2024-05-16 14:42:15 +05:30
Manav Rathi
23087ee8dc Shuffle 2024-05-16 14:37:52 +05:30
Manav Rathi
fca668b8e6 Inline 2024-05-16 14:34:24 +05:30
laurenspriem
e414128f18 [mob][photos] Initial settings screen for face recognition 2024-05-16 14:30:45 +05:30
Manav Rathi
865ddc0fa9 Inline 2024-05-16 14:30:43 +05:30
Manav Rathi
fb53ae7163 Unwrap 2024-05-16 14:27:28 +05:30
Manav Rathi
a293141444 Remove unused contexty 2024-05-16 14:21:38 +05:30
ashilkn
584a37d2a2 [mob][photos] Remove obsolete code
This code is from when we used to support favoriting un-uploaded files
2024-05-16 14:20:03 +05:30
Manav Rathi
b1d9da663e Prune 2024-05-16 14:19:57 +05:30
Manav Rathi
054b4c7cfb Unclass indexer 2024-05-16 14:17:20 +05:30
Manav Rathi
3db91d2034 Cleanup 2024-05-16 13:52:45 +05:30
Manav Rathi
84c737ddd3 Unclass 2024-05-16 13:51:15 +05:30
Manav Rathi
43a3df5bbf embeddings 2024-05-16 13:43:18 +05:30
Neeraj Gupta
20e9a6a1fc Refactor 2024-05-16 13:39:47 +05:30
Manav Rathi
73946d9b8e Tinker 2024-05-16 13:36:03 +05:30
Manav Rathi
48cc9a08b6 Rename 2024-05-16 13:29:45 +05:30
Manav Rathi
839b4c04a9 Unclass 2024-05-16 13:29:27 +05:30
Manav Rathi
36af1cfacd Move 2024-05-16 13:19:33 +05:30
Manav Rathi
d8f7078418 Move 2024-05-16 13:17:27 +05:30
Manav Rathi
569808c291 Rearrange 2024-05-16 13:16:20 +05:30
Manav Rathi
7160ae700f Inline 2024-05-16 13:07:55 +05:30
Manav Rathi
db05afb9ff Inline and move 2024-05-16 13:03:00 +05:30
ashilkn
cd023b621a [mob][photos] Remove optional parameter which should never be used
Since generatedID (_id) has NOT NULL constrain, it shouldn't be in a parameter set of a query
2024-05-16 12:59:19 +05:30
Neeraj Gupta
3485b31475 Clean up & new line 2024-05-16 12:58:42 +05:30
Neeraj Gupta
b53a70cf65 Avoid retry if object is missing 2024-05-16 12:57:31 +05:30
Manav Rathi
fca2d460f9 Disable clustering 2024-05-16 12:55:05 +05:30
Manav Rathi
adda781dcc Fix initial run 2024-05-16 12:54:15 +05:30
Neeraj Gupta
3f1ee82ec5 Inline 2024-05-16 12:52:20 +05:30
Neeraj Gupta
4cc866fa12 Refactor 2024-05-16 12:49:23 +05:30
ashilkn
7fdc2b5e66 [mob][photos] Migrate to sqlite_async(8): Fix faulty update statements due to incorrect query generation 2024-05-16 12:48:21 +05:30
Manav Rathi
ad684c46c3 Remove old file handling 2024-05-16 12:43:58 +05:30
Manav Rathi
8a071fd45b Inline 2024-05-16 12:24:38 +05:30
Manav Rathi
79aea6a979 Inline 2024-05-16 12:24:00 +05:30
Neeraj Gupta
e0738db6ae Minor refactor 2024-05-16 12:23:25 +05:30
Manav Rathi
c48042546e Inline and move 2024-05-16 12:15:11 +05:30
Manav Rathi
2a35b0ec9c Inline clustering 2024-05-16 12:07:11 +05:30
Manav Rathi
fbebbd3583 Clean alignment 2024-05-16 11:44:24 +05:30
Neeraj Gupta
3c7d86da8d Minor refactor 2024-05-16 11:35:46 +05:30
Manav Rathi
19f06e6494 Rename 2024-05-16 11:33:03 +05:30
Neeraj Gupta
6e204d828c Delete derived data from all datacenters 2024-05-16 11:33:01 +05:30
Manav Rathi
24c33fceb7 Remove class 2024-05-16 11:28:55 +05:30
Manav Rathi
c127b7fc7e doc 2024-05-16 11:23:48 +05:30
Manav Rathi
0993d81b57 Remove unused clustering methods 2024-05-16 11:15:10 +05:30
Manav Rathi
dfd91beaff Inline 2024-05-16 11:13:34 +05:30
Manav Rathi
cfbd7806c8 Inline 2024-05-16 11:10:41 +05:30
Manav Rathi
2c0e8c76c3 From discussion 2024-05-16 11:09:02 +05:30
Manav Rathi
1856e344db Remove unused clustering method 2024-05-16 11:03:03 +05:30
Neeraj Gupta
64ecdfa153 Store dc during insert or update 2024-05-16 10:58:00 +05:30
Manav Rathi
6ce956c5bb Inline 2024-05-16 10:52:00 +05:30
Manav Rathi
7d122f825c Inline 2024-05-16 10:47:15 +05:30
Manav Rathi
095e8c7091 Inline 2024-05-16 10:44:36 +05:30
Manav Rathi
dd38232836 Subsume 2024-05-16 10:41:05 +05:30
Neeraj Gupta
95d2c5436a [auth] Bump version: 2.0.58 (#1736)
## Description

## Tests
2024-05-16 10:35:52 +05:30
Neeraj Gupta
2d69a82eac [auth] Bump version: 2.0.58 2024-05-16 10:35:28 +05:30
Neeraj Gupta
76f3c8bf47 fix(auth): set maxlength limit of 100 to tags (#1733)
## Description

## Tests
2024-05-16 10:28:14 +05:30
Manav Rathi
01108141c2 Inline 2024-05-16 10:24:15 +05:30
Manav Rathi
0f00803519 Inline 2024-05-16 10:24:15 +05:30
Manav Rathi
160e360941 Inline 2024-05-16 10:24:15 +05:30
Manav Rathi
0a9f7b8635 Remove unused 2024-05-16 10:24:15 +05:30
Manav Rathi
0752800ecf [web] Embeddings diff improvements (#1735)
- Do not rely on the server sending back exactly as many entries as we
requested, it may return less in case some of the embeddings cannot be
fetched temporarily.

- Stop relying on the sort order - Instead of the last value, take the
max from amongst all returned values.

/cc @ua741
2024-05-16 10:22:36 +05:30
Neeraj Gupta
da188aa753 Add datacenter column for embeddings 2024-05-16 10:19:58 +05:30
Manav Rathi
c8a4fa16a1 [web] Embeddings diff improvements
- Do not rely on the server sending back exactly as many entries as we
  requested, it may return less in case some of the embeddings cannot be
  fetched temporarily.

- Stop relying on the sort order - Instead of the last value, take the max from
  amongst all returned values.
2024-05-16 10:09:12 +05:30
ashilkn
1e7779a819 [mob][photos] Remove method inline annotation which doesn
't have noticeable perf improvement + remove commented out code
2024-05-15 21:18:14 +05:30
ashilkn
56478fcb8a [mob][photos] avoid unnecessary compute 2024-05-15 21:10:37 +05:30
ashilkn
e179d351d9 [mob][photos] Migrate to sqlite_async(7): Assign String '{}' instead of map object {} to fix unexpected behaviour 2024-05-15 21:04:32 +05:30
ashilkn
25554209ec [mob][photos] Migrate to sqlite_async)(6): Migrate insertMultipleNew to use sqlite_async 2024-05-15 19:52:55 +05:30
Prateek Sunal
5f6e88bb33 fix(auth): set maxlength limit of 100 to tags 2024-05-15 18:14:46 +05:30
Neeraj Gupta
851f914ef8 Add wasabi-derived in list of dcs 2024-05-15 17:50:05 +05:30
laurenspriem
ccec166fa0 [mob][photos] Copy change for empty people section 2024-05-15 17:01:08 +05:30
laurenspriem
1e5512b36f [mob][photos] Don't show PeopleSection when faces is disabled 2024-05-15 16:54:34 +05:30
Neeraj Gupta
7eabea3884 Rename embedding dc to derived storage 2024-05-15 16:37:23 +05:30
laurenspriem
3d906490a6 [mob][photos] Rename 2024-05-15 16:33:31 +05:30
laurenspriem
9946d08697 [mob][photos] Check wifi before indexing 2024-05-15 16:10:50 +05:30
Manav Rathi
aa6b904b0b [desktop] Upgrade to Electron 30.0.5 to fix Linux crash when maximizing window (#1731) 2024-05-15 16:02:47 +05:30
Manav Rathi
f64d4943ed log.warn 2024-05-15 15:57:45 +05:30
Manav Rathi
e88f7fde36 Upgrade to Electron 30.0.5 to fix Linux crash when maximizing window
https://github.com/electron/electron/pull/42179
2024-05-15 15:43:46 +05:30
Manav Rathi
ab89bc4816 Reorder and attach logs 2024-05-15 15:41:46 +05:30
Manav Rathi
b9ffc2d5b6 yarn upgrade-interactive eslint-plugin-react-hooks 2024-05-15 15:28:58 +05:30
ashilkn
d1a5921c27 [mob][photos] Migrate to sqlite_async(5): Create a method to get parameter set from file without calling getRowForFile() 2024-05-15 15:28:24 +05:30
Manav Rathi
1f4bac8fac Update build-deps 2024-05-15 15:27:05 +05:30
Manav Rathi
bb6a8913f1 Add links 2024-05-15 15:25:58 +05:30
Manav Rathi
ca8cdf8da1 Cleanup TODOs 2024-05-15 15:14:28 +05:30
laurenspriem
83a873672f [mob][photos] Remove double face debug widget 2024-05-15 14:43:31 +05:30
Neeraj Gupta
cc457eca98 Add log when embedding is fetched after retry 2024-05-15 14:25:28 +05:30
Neeraj Gupta
bc004a41d5 [FEAT] Pinning and Tags (#1541)
## Description

Add pinning to auth

## Tests
2024-05-15 14:20:20 +05:30
Neeraj Gupta
47d9d3cd1e Merge branch 'main' into auth-v3 2024-05-15 14:15:34 +05:30
Manav Rathi
4c0e9f4d3a [web] Lint concurrently (#1730)
🚅
2024-05-15 14:03:34 +05:30
Manav Rathi
45183422e2 [web] Lint concurrently 2024-05-15 13:59:10 +05:30
Manav Rathi
69460418ef [web] Systematize logout (#1729)
+ ML cleanup
2024-05-15 13:58:17 +05:30
Manav Rathi
10b58fc19b lf 2024-05-15 13:48:34 +05:30
Manav Rathi
901c401d2a Et 2024-05-15 13:43:24 +05:30
Manav Rathi
08c725bede Reorder 2024-05-15 13:33:20 +05:30
laurenspriem
cdf3d0e037 [mob][photos] Automatic clustering after indexing 2024-05-15 13:31:12 +05:30
Manav Rathi
8726ca8a59 Fin 2024-05-15 13:31:06 +05:30
Manav Rathi
eba910e202 mlwm 2024-05-15 13:30:26 +05:30
Manav Rathi
1648229f4c Download 2024-05-15 13:29:09 +05:30
laurenspriem
eef18ca054 [mob][photos] Logs 2024-05-15 13:27:19 +05:30
Manav Rathi
585c0a8285 export 2024-05-15 13:26:45 +05:30
Prateek Sunal
eb7d6d4bbb fix(auth): update getAllTags logic 2024-05-15 13:24:48 +05:30
Manav Rathi
5dd3315ca2 mlwm 2024-05-15 13:24:05 +05:30
Manav Rathi
e3b7ffaeb4 clip 2024-05-15 13:21:33 +05:30
Manav Rathi
176431ba1f Electron side 2024-05-15 13:18:03 +05:30
Manav Rathi
96cd6b3759 rl3 2024-05-15 12:48:33 +05:30
Manav Rathi
0f45244457 Redo logout 2 2024-05-15 12:43:19 +05:30
Neeraj Gupta
7f486f74e0 Fix failing workflow for photos internal release (#1723)
`Error: Changes are sent for review automatically. The query parameter
changesNotSentForReview must not be set.`
2024-05-15 12:17:06 +05:30
laurenspriem
c142ed07b8 [mob][photos] Don't show empty faces in debug 2024-05-15 12:04:10 +05:30
Manav Rathi
0bcc6e3f3f Redo logout 2024-05-15 11:46:37 +05:30
laurenspriem
6ab1371077 [mob][photos] Internally keep track of MLController status 2024-05-15 11:33:35 +05:30
laurenspriem
b2c274e73b [mob][photos] Extra safety checks for hooking MLController 2024-05-15 11:03:31 +05:30
Manav Rathi
76a09b1473 Clean 2024-05-15 10:53:45 +05:30
Manav Rathi
d78628b66a Move 2024-05-15 10:49:50 +05:30
Manav Rathi
c2fe134c92 Inline 2024-05-15 10:39:38 +05:30
Manav Rathi
eaefdb56a0 Move 2024-05-15 10:28:14 +05:30
Manav Rathi
8eb3170067 Flatten 2024-05-15 10:08:28 +05:30
Manav Rathi
34a3a8700e Inline 2024-05-15 10:05:02 +05:30
Manav Rathi
495eaec4b2 Remove unused branch 2024-05-15 09:54:37 +05:30
Prateek Sunal
d762bf0a59 fix(auth): revert demo code 2024-05-14 23:51:43 +05:30
Prateek Sunal
b714392fb2 fix(auth): update parse error message 2024-05-14 23:51:24 +05:30
Prateek Sunal
2bc40812d6 fix(auth): splash icon 2024-05-14 20:24:01 +05:30
Manav Rathi
0abc2a7e43 [desktop] Ignore imagemagick on ARM in one more place (#1727) 2024-05-14 19:53:27 +05:30
Manav Rathi
8034be2187 lf 2024-05-14 19:53:14 +05:30
Manav Rathi
78a649cae3 [desktop] Ignore imagemagick on ARM in one more place 2024-05-14 19:47:45 +05:30
laurenspriem
48e78d170d [mob][photos] Regression dumb fix 2024-05-14 19:45:55 +05:30
Neeraj Gupta
3adadee82b [mob] Minor fixes (#1724)
## Description
In case of semantic search, the cache update was taking time due to
debouncer.
It was resulting in re-indexing of certain files. Also, the status of
indexing was stale as we were relying on same event to schedule update
of cache and refresh status (which relies on cache).
## Tests
2024-05-14 19:01:56 +05:30
laurenspriem
df1ca5d583 [mob][photos] Hook faces into MachineLearningController 2024-05-14 18:09:38 +05:30
Manav Rathi
bbfd2ae640 [web] ML purge - Part 2/x (#1725) 2024-05-14 17:00:28 +05:30
Neeraj Gupta
835a773f13 Add fallback logic to read embedding from hot bucket 2024-05-14 17:00:16 +05:30
Neeraj Gupta
b4af04433a [mob] Generated strings 2024-05-14 16:43:44 +05:30
Neeraj Gupta
e4dcdeb030 [mob] Minor fix to reflect correct status for indexing 2024-05-14 16:42:13 +05:30
laurenspriem
17696c6665 [mob][photos] Separate debug breakupCluster for cluster 2024-05-14 16:36:33 +05:30
Neeraj Gupta
d6599f178b [mob] Fix: use DB to identify indexed fileIDs 2024-05-14 16:25:44 +05:30
laurenspriem
4f9fc9fb6a [mob][photos] Fix banner for light theme 2024-05-14 16:19:12 +05:30
laurenspriem
ef33754108 [mob][photos] Review suggestions banner 2024-05-14 16:04:44 +05:30
laurenspriem
3724ea0af1 [mob][photos] Add a name banner 2024-05-14 16:04:33 +05:30
laurenspriem
cb51e3e5b5 [mob][photos] PeopleBanner widget 2024-05-14 16:04:15 +05:30
Manav Rathi
589a41fed6 Tinker 2024-05-14 16:00:43 +05:30
Manav Rathi
6613d57989 Sync face embeddings only for internal users 2024-05-14 15:57:08 +05:30
Manav Rathi
75814415ce Tinker 2024-05-14 15:55:48 +05:30
Manav Rathi
613324a4ae R 2024-05-14 15:52:11 +05:30
Neeraj Gupta
43b318c1c7 [mob] Add IF EXISTS check for create table 2024-05-14 15:50:26 +05:30
laurenspriem
848b9c3b1b [mob][photos] Change copy 2024-05-14 15:39:31 +05:30
Manav Rathi
8378b76a8c Remove unused model 2024-05-14 15:28:01 +05:30
laurenspriem
71ca8a414c [mob][photos] Copy change 2024-05-14 15:22:08 +05:30
Manav Rathi
9c0f1fac92 Inline 2024-05-14 15:17:13 +05:30
ashilkn
68aec34636 [mob][photos] Bump up version 2024-05-14 15:14:30 +05:30
Ashil
74ebd00e3c Fix workflow failing on photos internal release
`Error: Changes are sent for review automatically. The query parameter changesNotSentForReview must not be set.`
2024-05-14 15:12:22 +05:30
ashilkn
ff14eb1d5a [mob][photos] Migrate to sqlite_async (4) 2024-05-14 14:59:03 +05:30
Ashil
58741bfcd7 [mob][photos] Bump up to v0.8.95 (#1722) 2024-05-14 14:56:14 +05:30
Neeraj Gupta
87b087f295 Minor refactor 2024-05-14 14:52:07 +05:30
Manav Rathi
c5f02a47d4 Subsume 2024-05-14 14:50:18 +05:30
laurenspriem
4af9d46111 [mob][photos] Copy change 2024-05-14 14:45:22 +05:30
Neeraj Gupta
74a6e32538 Fix error check for no-object found 2024-05-14 14:37:24 +05:30
laurenspriem
2dc17dcec8 [mob][photos] Remove padding for banner 2024-05-14 14:24:35 +05:30
Neeraj Gupta
18d1bb60ca Delete embeddings from hot bucket if different from embedding bucket 2024-05-14 14:18:50 +05:30
Manav Rathi
d7f11f72be Move 2024-05-14 14:16:59 +05:30
Manav Rathi
86c9deb7b8 Last util 2024-05-14 14:15:09 +05:30
Manav Rathi
b75977186f Inline 2024-05-14 14:11:31 +05:30
Manav Rathi
77bacc518c Inline 2024-05-14 14:08:35 +05:30
Manav Rathi
8efe47cffb Inline 2024-05-14 14:04:08 +05:30
Neeraj Gupta
3e7b16288f Add support for configuring diff bucket for embeddings 2024-05-14 14:03:35 +05:30
Manav Rathi
da1ae5d2a4 Inline 2024-05-14 14:03:16 +05:30
Manav Rathi
533c649bcb Inline 2024-05-14 14:01:52 +05:30
Manav Rathi
a10d5a4ff5 Inline 2024-05-14 13:59:59 +05:30
Manav Rathi
b97988e04a Move 2024-05-14 13:11:20 +05:30
Manav Rathi
373273d368 Inline 2024-05-14 13:08:01 +05:30
Manav Rathi
a4981ec244 Inline 2024-05-14 13:06:10 +05:30
laurenspriem
a7bcd62a9d [mob][photos] Move banners to bottom of cluster/people page 2024-05-14 13:03:06 +05:30
Manav Rathi
0a713eb98f Don't pass as clip embedding when null 2024-05-14 13:01:09 +05:30
Manav Rathi
348bedbdf2 Remove duplicate fields
Discussed with mobile team
2024-05-14 13:00:03 +05:30
Manav Rathi
d73a1e17cc [web] ML prune - Part 1/x (#1719) 2024-05-14 12:57:08 +05:30
Manav Rathi
289d52c682 lint-fix 2024-05-14 12:52:06 +05:30
Manav Rathi
f0832d9648 [web] New translations (#1715)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-14 12:50:58 +05:30
Manav Rathi
2a2cf04918 Prune 2024-05-14 12:48:59 +05:30
laurenspriem
3b8cae068e [mob][photos] Retries for fetching face embeddings 2024-05-14 12:03:15 +05:30
Manav Rathi
9934ead51d Log what we send 2024-05-14 12:00:19 +05:30
laurenspriem
f4024d2007 [mob][photos] Suggestion option to assign to different person 2024-05-14 11:51:50 +05:30
Neeraj Gupta
bce3f40a16 Avoid retry for 404 error 2024-05-14 11:44:41 +05:30
Manav Rathi
76cb218cce Prune 2024-05-14 11:35:40 +05:30
Manav Rathi
f3e3fb45bb Last 2024-05-14 11:35:40 +05:30
Manav Rathi
746a023014 Unabstract 2024-05-14 11:35:40 +05:30
Manav Rathi
fc1957be49 Inline 2024-05-14 11:35:40 +05:30
Manav Rathi
0c8549a840 Inline 2024-05-14 11:35:40 +05:30
Manav Rathi
b37f67d6ed Remove unnecessary dependency 2024-05-14 11:35:37 +05:30
laurenspriem
a3eba12ccf [mob][photos] Feedback buttons untappable when loading faces 2024-05-14 11:19:17 +05:30
Manav Rathi
8b46606a2e Remove unused types 2024-05-14 10:28:20 +05:30
Manav Rathi
068ed78fe0 Consolidate types 2024-05-14 10:25:01 +05:30
Manav Rathi
5c9b3f551a [docs] Clarify (#1718) 2024-05-14 10:16:36 +05:30
Manav Rathi
1894d53b18 [docs] Clarify 2024-05-14 10:16:07 +05:30
Crowdin Bot
8699ec98ca New Crowdin translations by GitHub Action 2024-05-14 01:57:31 +00:00
Crowdin Bot
7e063b6be8 New Crowdin translations by GitHub Action 2024-05-14 01:40:01 +00:00
laurenspriem
2cf193c2d0 [mob][photos] Avoid redundant db calls 2024-05-13 21:49:02 +05:30
laurenspriem
ed23286331 [mob][photos] Single spinner in suggestion page 2024-05-13 21:20:49 +05:30
laurenspriem
36ac637206 [mob][photos] Precompute max 8 face thumbnails 2024-05-13 20:47:33 +05:30
Prateek Sunal
9e11377bd0 fix(auth): don't append codeDisplay twice 2024-05-13 20:38:55 +05:30
Manav Rathi
8a8d240bfd [desktop] Fix large video conversion (#1713)
This was the last pending TODO for getting the new build at par with how
the olde one behaved.
2024-05-13 20:19:39 +05:30
Manav Rathi
859adea2eb Mark completed TODO 2024-05-13 20:17:15 +05:30
Manav Rathi
bf7c97c006 Remove ffmpeg timeout 2024-05-13 20:03:21 +05:30
Manav Rathi
0b797cebed Trace the error 2024-05-13 18:50:12 +05:30
Manav Rathi
5e9e1623ae Clear input file 2024-05-13 18:45:35 +05:30
Manav Rathi
6553976beb Fix time reporting 2024-05-13 18:37:42 +05:30
ashilkn
8fcd05b95f [mob][photos] Migrate to sqlite_async (3) 2024-05-13 18:29:01 +05:30
ashilkn
3a0882a1a9 [mob][photos] Migrate to sqlite_async (2): Migrate all update queries in filesDB 2024-05-13 17:57:22 +05:30
Vishnu Mohandas
87ed5c1d62 Revert "Move padding within to increase tap-able area" (#1712)
This reverts commit 0b212bf7a6.
2024-05-13 17:44:35 +05:30
vishnukvmd
65574a0d81 Revert "Move padding within to increase tap-able area"
This reverts commit 0b212bf7a6.
2024-05-13 17:43:09 +05:30
laurenspriem
2205d21770 [mob][photos] No double taps allowed when assigning cluster 2024-05-13 16:41:06 +05:30
Neeraj Gupta
acd61fc084 Fixed typo 2024-05-13 16:33:48 +05:30
Neeraj Gupta
be44665128 [server] Refactor embedding fetch 2024-05-13 16:33:36 +05:30
Manav Rathi
15b4a18c1a Tie it together 2024-05-13 16:26:37 +05:30
Manav Rathi
3c7c14e11c conv 2024-05-13 16:18:03 +05:30
Manav Rathi
c76b2f0794 done 2024-05-13 16:11:22 +05:30
Neeraj Gupta
282611610d [mob] Keep fetching embeddings till no embedding is returned (#1709)
## Description

## Tests
2024-05-13 15:51:29 +05:30
Neeraj Gupta
883e246f30 [mob] Keep fetching embeddings till no embedding is returned 2024-05-13 15:50:27 +05:30
Manav Rathi
0e3649f9b6 Scaffold 2024-05-13 15:50:22 +05:30
ashilkn
5bd845d32b [mob][photos] Migrate to sqlite_async (1) 2024-05-13 15:39:35 +05:30
Manav Rathi
1b8b840ecf Process 2024-05-13 15:37:35 +05:30
laurenspriem
5815b57fe3 [mob][photos] Cannot make up mind on copy 2024-05-13 15:22:37 +05:30
laurenspriem
7c7ee6c432 [mob][photos] Copy change 2024-05-13 15:18:54 +05:30
Manav Rathi
b82507f74c Handle logout 2024-05-13 15:00:21 +05:30
laurenspriem
bb9c0673a8 [mob][photos] Don't use spinner in people section 2024-05-13 14:58:09 +05:30
laurenspriem
022d89b4a0 [mob][photos] Copy change 2024-05-13 14:47:30 +05:30
laurenspriem
e188382f09 [mob][photos] Suggestion yes no button in row not column 2024-05-13 14:42:41 +05:30
Manav Rathi
11811053fa Web 2024-05-13 14:40:32 +05:30
Manav Rathi
a21cc51eb0 Plan 2024-05-13 14:20:44 +05:30
laurenspriem
75f0b0481b [mob][photos] Show spinner when generating face 2024-05-13 14:08:55 +05:30
Neeraj Gupta
5195aaa8de [auth] Add code display test 2024-05-13 13:51:23 +05:30
laurenspriem
d7bd735f7b [mob][photos] Make add new person better tapable 2024-05-13 13:46:00 +05:30
laurenspriem
1f2c3f73df [mob][photos] Prevent dubble tap add person 2024-05-13 13:36:59 +05:30
Neeraj Gupta
50613b8c57 [server] Add option to updateMetadata without versionChange (#1708)
## Description

## Tests
2024-05-13 13:31:58 +05:30
Manav Rathi
acc3f7b30f [desktop] Imagemagick related tweaks (#1707)
Related: https://github.com/ente-io/ImageMagick
2024-05-13 13:05:45 +05:30
Manav Rathi
b7292f2629 Add a log line for debugging 2024-05-13 11:35:24 +05:30
Manav Rathi
957c2a64df Keep the order in the documentation examples
https://imagemagick.org/Usage/thumbnails/
2024-05-13 11:33:25 +05:30
Manav Rathi
631b1772e4 Fix mangled parameter being passed to imagemagick
Similar: https://github.com/ente-io/ente/pull/1175
2024-05-13 11:31:34 +05:30
Manav Rathi
9ca8ef9e74 The bundled binary is x86 only, bail out early on ARM
Error: Error invoking remote method 'generateImageThumbnail': Error: Command failed: '/tmp/.mount_ente-1lYbIWw/resources/image-magick' '/home/m/Downloads/VM/IMG_4484.WEBP' -auto-orient -define 'jpeg:size=1440x1440' -thumbnail '720x720>' -unsharp '0x.5' -quality 70 '/tmp/ente/9aNsp1FdLe.jpeg'
/bin/sh: 1: /tmp/.mount_ente-1lYbIWw/resources/image-magick: Exec format error

The binary is from https://github.com/ente-io/ImageMagick/
2024-05-13 11:22:13 +05:30
Manav Rathi
95cf306be2 [desktop] --no-sandbox does not prevent the SUID abort when added from JS (#1706)
- Revert the workaround
- Document the behaviour I observed
- (Unrelated) Add the other CHANGELOG entries in preparation for the
release
2024-05-13 10:21:36 +05:30
Manav Rathi
644e67f648 --no-sandbox does not prevent the SUID abort when added from JS
From https://github.com/toeverything/AFFiNE/issues/6722#issuecomment-2081805954

> Disable sandboxing entirely by launching with --no-sandbox. Adding this
  argument from JS is unfortunately insufficient, as the GPU process is launched
  before the main process JS is run.

Ref:
* https://github.com/electron/electron/issues/17972
2024-05-13 10:19:44 +05:30
Neeraj Gupta
2b58568230 [FEAT] Resumable Multipart Upload (#1406)
## Description


## Test Cases
Resumed Uploads

- [x] Verify that uploads are resuming
- [x] Verify that on resumption, parts that are already uploaded, we are
not re-uploading them.
- [x] Verify that we are able to download file from another client after
resuming
- [x] Verify that if `multiUpartUploadSize` changes, existing inflight
upload is either discarded or it's continue using old size.
- [x] Verify that if file is modified during upload, then on resumption
the existing upload is discarded
2024-05-12 20:48:17 +05:30
Neeraj Gupta
cf361aaa90 [mobile] New translations (#1669)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-05-12 20:47:01 +05:30
Manav Rathi
3ba7bcbf06 Add the other CHANGELOG entries 2024-05-12 20:00:48 +05:30
Manav Rathi
5b92133aae [desktop] Pass the SUID workaround correctly
The flag itself is documented as supported:
https://www.electronjs.org/docs/latest/api/command-line-switches

I was just passing it incorrectly (hopefully).
2024-05-12 18:41:10 +05:30
Manav Rathi
8328bbe5be [docs] Add more notes to the configuring S3 page (#1700) 2024-05-12 18:20:54 +05:30
Manav Rathi
1a11488959 Typo 2024-05-12 18:19:30 +05:30
Manav Rathi
036238c984 [docs] Add more notes to the configuring S3 page 2024-05-12 18:18:44 +05:30
Manav Rathi
4839ad738c [docs] Fix description (#1698) 2024-05-12 16:50:34 +05:30
Manav Rathi
34ead5616d [docs] Fix description 2024-05-12 16:44:18 +05:30
Manav Rathi
c005998312 [docs] Expand on the S3 configuration (#1697) 2024-05-12 16:41:02 +05:30
Manav Rathi
bc98287532 [docs] Expand on the S3 configuration 2024-05-12 16:39:08 +05:30
Vishnu Mohandas
e96c9dd2a3 [server] Make sender email configurable (#1696)
Ref:
https://github.com/ente-io/ente/discussions/1582#discussioncomment-9404061
2024-05-12 16:06:17 +05:30
Manav Rathi
321f97cdae [server] Make sender email configurable 2024-05-12 16:00:15 +05:30
Manav Rathi
170e0b3e60 [desktop] Add a workaround for the SUID sandbox helper error on Linux (#1695)
I am able to reproduce this on Ubuntu 24 ARM.

> The SUID sandbox helper binary was found, but is not configured
correctly.

See:
- https://github.com/electron/electron/issues/17972
-
https://stackoverflow.com/questions/63780918/building-electron-linux-distro-the-suid-sandbox-helper-binary-was-found-but-i
2024-05-12 15:42:39 +05:30
Manav Rathi
d188abfe65 Add a workaround for the SUID sandbox helper error on Linux
I am able to reproduce this on Ubuntu 24 ARM.

> The SUID sandbox helper binary was found, but is not configured correctly.

See:
- https://github.com/electron/electron/issues/17972
- https://stackoverflow.com/questions/63780918/building-electron-linux-distro-the-suid-sandbox-helper-binary-was-found-but-i
2024-05-12 15:35:18 +05:30
Manav Rathi
944a075fb1 [web] Show api host on dev builds (#1694)
<img width="295" alt="Screenshot 2024-05-12 at 08 59 32"
src="https://github.com/ente-io/ente/assets/24503581/86319eeb-1837-44c3-89a0-4ee502400295">
2024-05-12 09:10:48 +05:30
Manav Rathi
c652abb9f9 [web] Show api host on dev builds 2024-05-12 08:59:42 +05:30
Manav Rathi
ca9190045e [docs] Desktop installation troubleshooting (#1690) 2024-05-11 22:06:27 +05:30
Manav Rathi
055af7335e vcpp 2024-05-11 22:03:54 +05:30
Manav Rathi
92ded91868 Add a arm64 appimage docs page 2024-05-11 21:54:42 +05:30
Manav Rathi
a4a5ea11cd [desktop] RC (#1689)
- Whitelist uid
- electron 30.0.3
- Document log paths
2024-05-11 19:25:48 +05:30
Manav Rathi
2a3bf41937 Update instructions 2024-05-11 19:19:56 +05:30
Manav Rathi
c7aa5ccd1f Document log paths 2024-05-11 18:56:37 +05:30
Manav Rathi
be329bc1c9 electron 30.0.3
https://github.com/electron/electron/releases/tag/v30.0.3

Fixed an issue where fs.createWriteStream could write out of order
https://github.com/electron/electron/pull/42046

Fixed crash after upgrade on Linux
https://github.com/electron/electron/pull/42064
2024-05-11 18:52:07 +05:30
Manav Rathi
131af10cc5 Whitelist 2024-05-11 18:48:54 +05:30
laurenspriem
6652125804 [mob][photos] Change copy 2024-05-11 18:15:35 +05:30
laurenspriem
c28f6c36bb [mob][photos] Experiment higher distance for big suggestions 2024-05-11 16:54:29 +05:30
laurenspriem
605112eeb9 [mob][photos] Make naming banner dismissible 2024-05-11 16:35:58 +05:30
laurenspriem
a05d7d8660 [mob][photos] Rename var 2024-05-11 16:31:45 +05:30
laurenspriem
05f5e8a175 [mob][photos] Make suggestion banner dismissible 2024-05-11 16:30:39 +05:30
laurenspriem
8e341310a2 [mob][photos] Change icon 2024-05-11 16:15:59 +05:30
laurenspriem
45d46d5ca8 [mob][photos] Show banner for suggestions 2024-05-11 16:10:41 +05:30
Prateek Sunal
4abdc62f8a fix(auth): update light mode splash 2024-05-11 16:07:14 +05:30
Prateek Sunal
297c3af47c fix(auth): update dark mode splash 2024-05-11 15:57:45 +05:30
Prateek Sunal
4040525a4c fix(auth): update splash screen 2024-05-11 15:54:13 +05:30
laurenspriem
7045dbaeff [mob][photos] Remove padding around naming banner 2024-05-11 15:38:48 +05:30
laurenspriem
fc6830bdaf [mob][photos] Big cluster suggestions first 2024-05-11 15:20:28 +05:30
laurenspriem
abff589c21 [mob][photos] Increase "Add name" hitpoint 2024-05-11 14:53:19 +05:30
Manav Rathi
bb63e13ba3 [web] Firefox video stream decryption (#1688)
Fix an issue (manifesting on Firefox) where the size of an individual
chunk we got back from a readable stream was a multiple of
`decryptionChunkSize`. Main change in the PR is converting the `if`
condition to a `while` loop, rest is refactoring unrelated to the exact
issue.
2024-05-11 14:34:19 +05:30
Manav Rathi
d553087633 Cleanup 2024-05-11 13:58:44 +05:30
laurenspriem
3ab2535193 [mob][photos] Show face thumbnail in naming sheet 2024-05-11 13:57:15 +05:30
Manav Rathi
e8c2717bf7 Cleanup 2024-05-11 13:50:06 +05:30
Manav Rathi
8f6da1ec35 Cleanup 2024-05-11 13:47:21 +05:30
Manav Rathi
291911bf98 Fix! 2024-05-11 13:40:38 +05:30
Neeraj Gupta
6a186ef420 [server] Add option to updateMetadata without versionChange 2024-05-11 13:31:46 +05:30
Manav Rathi
ce38d2beca Debug 2024-05-11 13:07:31 +05:30
Manav Rathi
064827162b Inline 2024-05-11 11:35:11 +05:30
Manav Rathi
38eceb34ba Inline 2024-05-11 11:27:45 +05:30
Manav Rathi
550ad94257 Inline 2024-05-11 11:24:07 +05:30
Prateek Sunal
7a643712ac fix(auth): don't package splash with app 2024-05-11 10:27:51 +05:30
Manav Rathi
6f82881ac3 [web] New translations (#1687)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-11 10:15:50 +05:30
Crowdin Bot
0125afe3dc New Crowdin translations by GitHub Action 2024-05-11 04:40:43 +00:00
Manav Rathi
17e3102c80 [web] Add missing localization key (#1686) 2024-05-11 10:10:06 +05:30
Manav Rathi
6ad0fa3900 [web] Add missing localization key 2024-05-11 10:05:55 +05:30
Neeraj Gupta
0443946790 [server] Fix panic in copy file + increase emb fetch timeout (#1685)
## Description

## Tests
2024-05-11 09:51:12 +05:30
Neeraj Gupta
ef5740e728 [server] Increase emb fetchTimeout to 15seconds 2024-05-11 09:47:14 +05:30
Neeraj Gupta
0dcc3c974c [server] Ignore uploadUrl limit while copying files 2024-05-11 09:46:39 +05:30
Manav Rathi
ef7ce642d9 [web] Fix edited file name (#1684) 2024-05-11 09:45:02 +05:30
Manav Rathi
b2cac9cb74 both 2024-05-11 09:26:13 +05:30
Manav Rathi
d2b59565cb Remove unnecessary dependency 2024-05-11 09:14:40 +05:30
Manav Rathi
fe64e904e1 Rewrite 2024-05-11 09:13:49 +05:30
Manav Rathi
8125ca966e Save 2024-05-11 08:43:23 +05:30
Manav Rathi
4cb0e51e34 Vids 2024-05-11 08:38:39 +05:30
Manav Rathi
3a2cc86136 Channel 2024-05-11 08:31:17 +05:30
Manav Rathi
98e3a53f92 Attach mime type 2024-05-11 08:27:04 +05:30
Prateek Sunal
10e717a4ef fix(auth): update splash 2024-05-10 23:12:44 +05:30
Manav Rathi
74901999ad [meta] Rename workflow to match other workflows (#1683) 2024-05-10 23:05:16 +05:30
Manav Rathi
2871fe7162 [meta] Rename workflow to match other workflows 2024-05-10 23:03:57 +05:30
Manav Rathi
c4418f453d [docs] Remove WIP banner from cast docs (#1682) 2024-05-10 22:56:28 +05:30
Manav Rathi
95534432f8 Remove banner 2024-05-10 22:54:48 +05:30
Manav Rathi
986611ff2a yarn pretty 2024-05-10 22:51:56 +05:30
Manav Rathi
d36226e82c [web] tsc when linting (#1681) 2024-05-10 22:50:50 +05:30
Manav Rathi
4c1f1b5b9e Fix job name 2024-05-10 22:48:46 +05:30
Manav Rathi
c9d490ce20 M 2024-05-10 22:44:55 +05:30
Manav Rathi
6283cccac3 tsc when linting 2024-05-10 22:31:52 +05:30
Manav Rathi
9e3a8429f8 [web] Work around yet another Next.js dark pattern (#1680) 2024-05-10 22:25:45 +05:30
Manav Rathi
902074022a ff
This reverts commit 6568cb19a9.
2024-05-10 22:22:39 +05:30
Manav Rathi
6568cb19a9 f 2024-05-10 22:14:09 +05:30
Manav Rathi
12eea7820d [web] Make next shut up
It is not the telemetry which is the problem, it is the fact that they spam
everywhere in the logs when building that telemetry is on. And they've not
intentionally given a way to disable this cleanly.

https://github.com/vercel/next.js/discussions/31400
2024-05-10 22:05:26 +05:30
Prateek Sunal
ea72300fe5 fix(auth): encode ',' as %2C for correctly importing later on 2024-05-10 21:43:28 +05:30
Manav Rathi
6a4b86d1f0 [web] Migrate off deprecated cf action (#1679) 2024-05-10 21:17:52 +05:30
Manav Rathi
811e56fe99 Move to different file 2024-05-10 21:17:18 +05:30
Manav Rathi
3341be45f8 [web] Migrate off deprecated Cloudflare action
Refs:
- https://developers.cloudflare.com/pages/get-started/direct-upload/
- https://developers.cloudflare.com/workers/wrangler/commands/#deploy-1
- https://github.com/cloudflare/pages-action/issues/117
- https://github.com/cloudflare/wrangler-action
2024-05-10 21:16:08 +05:30
Manav Rathi
aedb65594f [meta] Attempt to silence Cloudflare warning (#1678) 2024-05-10 20:57:40 +05:30
Manav Rathi
7238a34e4c [meta] Attempt to silence Cloudflare warning 2024-05-10 20:57:03 +05:30
Prateek Sunal
36685f4827 fix(auth): store all colors in EnteColorScheme 2024-05-10 20:24:15 +05:30
Manav Rathi
db86bec93c [web] Switch to (almost) continuous deployments (#1677) 2024-05-10 20:15:10 +05:30
Manav Rathi
938cecf2d3 Move from deprecated action
Test with first one, will move the rest subsequently

Ref:
- https://github.com/cloudflare/pages-action/issues/117#issuecomment-2053610761
- https://github.com/cloudflare/wrangler-action
2024-05-10 20:11:12 +05:30
Manav Rathi
10fba07e25 Docs 2024-05-10 20:03:00 +05:30
Manav Rathi
54c9cdeed8 [web] Switch to (almost) continuous deployments
Every day except Sunday, at 8:00 am, the code on main will be automatically
deployed to production for all web apps (photos, auth, cast, accounts, payments)
2024-05-10 19:43:15 +05:30
Vishnu Mohandas
32e8a4430d [server] Add timeout while fetching embedding (#1676)
## Description

## Tests
2024-05-10 17:28:06 +05:30
Neeraj Gupta
3a70dcd930 [server] Add timeout while fetching embedding 2024-05-10 17:18:41 +05:30
Neeraj Gupta
da5ceea0db [mob] decrease remoteFetch constant to 100 2024-05-10 16:44:11 +05:30
Neeraj Gupta
c235fb85b4 [mob] Increase remoteFetch constant to 200 2024-05-10 16:41:00 +05:30
Neeraj Gupta
5ba46a0707 [mob] Use diff constant for fetch & parallelism 2024-05-10 16:31:07 +05:30
Neeraj Gupta
5caa9c5f61 [auth] New translations (#1670)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-10 16:23:33 +05:30
Neeraj Gupta
4a05178550 [server] Avoid pulling files with no-embedding info (#1675)
## Description

## Tests
Tested locally
2024-05-10 16:22:10 +05:30
Neeraj Gupta
5feb009b74 Fix lint warning 2024-05-10 16:19:27 +05:30
Neeraj Gupta
38d622825b [mob] Handle indexed files with no embedding data 2024-05-10 16:17:40 +05:30
Neeraj Gupta
eee168837e [mob] Use diff val for fetch & parallel indexing 2024-05-10 16:16:56 +05:30
Neeraj Gupta
87a2f0e0df [server] Avoid pulling files with no-embedding info 2024-05-10 16:09:49 +05:30
Manav Rathi
9bf933b04c [web] Fix lints and imports (#1672) 2024-05-10 14:39:14 +05:30
Manav Rathi
f5eb997768 tsc 2024-05-10 14:34:24 +05:30
Manav Rathi
fa9a0cc09f Fix import 2024-05-10 14:30:49 +05:30
Manav Rathi
a7533b3871 [web] New translations (#1668)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-10 14:17:37 +05:30
Manav Rathi
0458b79fc3 [web] Cast ready to roll (#1671) 2024-05-10 14:17:00 +05:30
Manav Rathi
08c37c69ff Gap 2024-05-10 14:09:59 +05:30
Manav Rathi
bce3af5db4 Remove debug logs 2024-05-10 14:09:31 +05:30
Manav Rathi
950bb3489f Chromecast 2nd gen can't even handle resize
randomly crashes for some images
2024-05-10 14:08:37 +05:30
Manav Rathi
58dfa36372 Fix 2024-05-10 13:52:41 +05:30
Manav Rathi
1a90ce9d80 Slighter 2024-05-10 13:41:56 +05:30
Manav Rathi
ac25c88d9b Fix 2024-05-10 13:40:37 +05:30
Manav Rathi
bb8d2369c0 Tinker 2024-05-10 13:32:18 +05:30
Neeraj Gupta
c906480dee [mob] Handle missing fileIDs during clustering 2024-05-10 13:25:22 +05:30
Manav Rathi
ff51114aa1 Don't try HEIC conversion when running on Chromecast
It crashed the 2nd gen device when we tried...
2024-05-10 13:14:31 +05:30
Manav Rathi
b30df1d083 not x 2024-05-10 13:11:48 +05:30
Neeraj Gupta
4db3c9fe95 [mob] FaceInfoForClustering add fileID getter 2024-05-10 13:10:27 +05:30
Neeraj Gupta
7623e69de3 [mob] Return list instead of set 2024-05-10 13:07:24 +05:30
Manav Rathi
72c99de344 Different variations 2024-05-10 13:00:02 +05:30
Manav Rathi
7c0cc15a73 Try without blur 2024-05-10 12:18:07 +05:30
Manav Rathi
83351f41f8 debug 1 2024-05-10 12:06:27 +05:30
Manav Rathi
3d51c91d09 Show cast option in shared albums 2024-05-10 11:58:40 +05:30
Manav Rathi
3dae87abaa Handle files with an heic extension that are not actually heic 2024-05-10 11:52:21 +05:30
Neeraj Gupta
33a0641c52 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-05-10 11:48:17 +05:30
Manav Rathi
d110645703 Fix text 2024-05-10 11:17:59 +05:30
Manav Rathi
ff9a286910 Allow disabling localStorage logs 2024-05-10 11:14:45 +05:30
Manav Rathi
1b3e11f713 Log errors/warnings to the console always 2024-05-10 11:00:13 +05:30
Manav Rathi
19d5d08d74 Send collection ID 2024-05-10 10:24:39 +05:30
Manav Rathi
bd8ff3f454 Account for the transition 2024-05-10 10:20:03 +05:30
Manav Rathi
cf3394fd15 Remove unnecessary container 2024-05-10 10:18:27 +05:30
Manav Rathi
93487581c7 heic on cast too 2024-05-10 10:08:01 +05:30
Manav Rathi
4dd7d3b087 tsc 2024-05-10 10:03:03 +05:30
Manav Rathi
6a51152c0f Propagate 2024-05-10 09:57:55 +05:30
Manav Rathi
e549ad5425 Cleanup 2024-05-10 09:46:56 +05:30
Manav Rathi
000f8ae32b object-fit 2024-05-10 09:45:02 +05:30
Manav Rathi
531b4a4e40 Remove preloading
It isn't doing anything really (when I look at results), we already have the image in memory anyway.
2024-05-10 09:38:04 +05:30
Manav Rathi
3b6e811f69 better 2024-05-10 09:31:11 +05:30
Manav Rathi
57dae1d333 transition
Ref:
https://stackoverflow.com/questions/19808764/transition-for-background-image-in-firefox?noredirect=1&lq=1
2024-05-10 09:21:27 +05:30
Manav Rathi
029cc128c1 Reduce lag
perhaps helps. the background is more problematic.
2024-05-10 09:09:15 +05:30
Crowdin Bot
5b55497a1a New Crowdin translations by GitHub Action 2024-05-10 02:08:19 +00:00
Crowdin Bot
07bc431cae New Crowdin translations by GitHub Action 2024-05-10 01:58:38 +00:00
Crowdin Bot
bd9b414dc9 New Crowdin translations by GitHub Action 2024-05-10 01:41:32 +00:00
Manav Rathi
ebb05e4bdf HEIC convert 2024-05-09 21:17:47 +05:30
Manav Rathi
8167e353f0 Make tsc happy 2024-05-09 20:45:41 +05:30
Manav Rathi
7d56230b91 Move down 2024-05-09 20:44:52 +05:30
Manav Rathi
5c87bd0d6a Deeper 2024-05-09 20:24:13 +05:30
Manav Rathi
ad53ba82c4 context 2024-05-09 20:16:18 +05:30
Manav Rathi
b443eebec3 401 2024-05-09 20:14:58 +05:30
Manav Rathi
7bcf3984e2 Fix Chromecast check 2024-05-09 20:11:06 +05:30
laurenspriem
5c85fe764a [mob][photos] Show "Add name" for clusters in discovery tab 2024-05-09 19:57:15 +05:30
laurenspriem
b74a572f1a [mob][photos] Debug experiment for detecting mixed clusters 2024-05-09 19:52:05 +05:30
Vishnu Mohandas
c29db9bcfb [server] always use upperCase for castCode (#1666)
## Description

## Tests
2024-05-09 17:58:17 +05:30
Neeraj Gupta
b100d455dd [server] always use upperCase for castCode 2024-05-09 17:49:53 +05:30
Manav Rathi
d9b5fda0a8 Handle token expiry 2024-05-09 17:34:23 +05:30
Manav Rathi
a0e152fd72 Only use thumbnails on Chromecast 2024-05-09 17:27:53 +05:30
Neeraj Gupta
acf8fd6e63 [mob] Enable cast for iOS in debug 2024-05-09 17:22:44 +05:30
Manav Rathi
f5ce1da295 svh did not work when running on Chromecast 2024-05-09 17:20:39 +05:30
Manav Rathi
19ff216714 Cleanup 2024-05-09 17:19:34 +05:30
Manav Rathi
211b41680b See if that helps 2024-05-09 17:02:14 +05:30
Manav Rathi
3e4f88338e Reduce 2024-05-09 16:42:15 +05:30
laurenspriem
d08edacb66 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-09 16:38:35 +05:30
Prateek Sunal
5ef92e338d fix(auth): remove all codes 2024-05-09 15:56:36 +05:30
Manav Rathi
0d3a76c065 Fix 2024-05-09 15:50:32 +05:30
Manav Rathi
139b56071a Disable resizing 2024-05-09 15:49:26 +05:30
laurenspriem
b78a65dc51 [mob][photos] Breakup cluster function 2024-05-09 15:46:52 +05:30
laurenspriem
54e1198088 [mob][photos] Delete old cluster summary for removed clusters 2024-05-09 15:44:21 +05:30
Manav Rathi
dc1b90e3f7 Revert to thumbnails temporarily 2024-05-09 15:41:38 +05:30
Manav Rathi
c30f122205 Undef 2024-05-09 15:16:32 +05:30
Manav Rathi
910dd83931 Both 2024-05-09 15:12:51 +05:30
Manav Rathi
dd3b8d94af fix 2024-05-09 15:07:42 +05:30
Manav Rathi
17df2003be Size is in the metadata 2024-05-09 14:58:45 +05:30
Manav Rathi
a81e1b4074 Resize 2024-05-09 14:53:25 +05:30
laurenspriem
6eb34937b8 [mob][photos] Use normalized embeddings in complete clustering 2024-05-09 14:51:59 +05:30
Neeraj Gupta
089aa16bc6 Merge branch 'main' into mobile_face 2024-05-09 14:49:25 +05:30
Manav Rathi
64572d5880 Move back 2024-05-09 14:35:01 +05:30
Manav Rathi
72fa6c653f Move to @/media 2024-05-09 14:23:30 +05:30
Manav Rathi
5c04864b0e Integrate 2024-05-09 14:07:04 +05:30
Manav Rathi
26ca761895 wip 2024-05-09 13:57:10 +05:30
Prateek Sunal
6496eea162 fix(auth): ignore files 2024-05-09 13:55:02 +05:30
Prateek Sunal
7c43908ca2 fix(auth): revert manifest 2024-05-09 13:54:53 +05:30
Prateek Sunal
da70ba70c1 feat(auth): add new icons 2024-05-09 13:54:37 +05:30
Manav Rathi
85d722f5fc wip 2024-05-09 13:37:16 +05:30
Manav Rathi
dc525c4f8d Move 2024-05-09 13:16:29 +05:30
Manav Rathi
e58424d2c0 Move into class 2024-05-09 13:13:33 +05:30
Manav Rathi
482639a03c Rename 2024-05-09 13:06:40 +05:30
Prateek Sunal
1b8441033b fix(cut): save button getting cut 2024-05-09 13:06:35 +05:30
Vishnu Mohandas
f60e094aed Storage bump (#1662)
## Description
- Increase free trial limit from 1 GB to 5 GBs
- Update the storage for existing users on the free plan
- Push the subscription expiry time for existing users on the free plan
2024-05-09 11:57:40 +05:30
vishnukvmd
e55af84157 Fix queries 2024-05-09 11:57:15 +05:30
Manav Rathi
9089f0b28d [web] Show email on password screen (#1664)
<img width="292" alt="Screenshot 2024-05-09 at 11 39 46"
src="https://github.com/ente-io/ente/assets/24503581/6e0a615e-473d-4eed-b2b9-7e65ea57b578">
2024-05-09 11:43:13 +05:30
Manav Rathi
75d2396398 [web] Show email on password screen 2024-05-09 11:40:18 +05:30
Manav Rathi
70878e8f54 [web] Deduce parent directory (#1663) 2024-05-09 11:03:29 +05:30
Manav Rathi
78d80bfd58 Add missing dep 2024-05-09 11:01:18 +05:30
Manav Rathi
e92bbdb8c6 Understand, document and fix 2024-05-09 10:37:06 +05:30
Manav Rathi
ac67566f45 Update react-dropzone
Release notes don't seem to have any breaking changes:
https://github.com/react-dropzone/react-dropzone/releases

Need to update to figure out where exactly the path property is coming from.
2024-05-09 10:03:03 +05:30
Manav Rathi
bedb515dc2 Cleanup 2024-05-09 09:54:06 +05:30
vishnukvmd
330cfe6f7c Update free plan storage 2024-05-09 09:30:55 +05:30
vishnukvmd
84cbf33299 Bump up free trial 2024-05-09 09:30:14 +05:30
Prateek Sunal
35aa8fc5bd fix(auth): workflow for fedora 2024-05-08 22:43:38 +05:30
Prateek Sunal
639ef13e94 fix[auth]: update dependencies of appimage 2024-05-08 22:39:40 +05:30
Prateek Sunal
ea37b5a041 fix: don't try to publish aab in fedora workflow 2024-05-08 21:02:52 +05:30
Neeraj Gupta
e528e5406f [server] convert email to lowerCase (#1660)
## Description

## Tests
2024-05-08 20:47:29 +05:30
Neeraj Gupta
316473f5cf [server] convert email to lowerCase 2024-05-08 20:35:21 +05:30
Manav Rathi
d69ff79a67 [web] Cast improvements (#1659) 2024-05-08 20:26:06 +05:30
Vishnu Mohandas
72d0b0ad85 Retry requests to fetch embeddings thrice before throwing an error (#1658) 2024-05-08 20:19:30 +05:30
Manav Rathi
402d0a917e Everything 2024-05-08 20:00:35 +05:30
Prateek Sunal
cbda271c15 chore[auth]: fix typo and lint fixes 2024-05-08 19:59:36 +05:30
Manav Rathi
74fd98c398 Position spinner 2024-05-08 19:58:56 +05:30
Manav Rathi
415258c86d Cleanup 2024-05-08 19:52:55 +05:30
Manav Rathi
5aab9e798e Rename 2024-05-08 19:47:06 +05:30
Manav Rathi
477e30232c Add empty state 2024-05-08 19:36:27 +05:30
Manav Rathi
805c80face Inline 2024-05-08 19:29:51 +05:30
Manav Rathi
39bf379788 Uncomment TODO leftover 2024-05-08 19:28:02 +05:30
Manav Rathi
1e5f5ff506 Convert 2024-05-08 19:26:31 +05:30
Manav Rathi
5e1fdd6565 Use 2024-05-08 19:22:27 +05:30
Manav Rathi
079bdbd4cd styled 2024-05-08 19:19:20 +05:30
Manav Rathi
ff25971611 Clear TODO 2024-05-08 19:13:03 +05:30
vishnukvmd
028e784a40 Retry requests to fetch embeddings thrice before throwing an error 2024-05-08 17:34:37 +05:30
Neeraj Gupta
16c32cac90 [mob][multipart] Rename column 2024-05-08 17:12:16 +05:30
Neeraj Gupta
8bc1488866 [mob][multipart] Change error message 2024-05-08 17:11:51 +05:30
Neeraj Gupta
d92bcd41cb [mob][multipart] Aggresively clear temp dir in debug mode 2024-05-08 17:11:06 +05:30
Neeraj Gupta
2850fb6923 [mob][multipart] Refactor 2024-05-08 17:06:32 +05:30
Neeraj Gupta
f4845baa9b [mob][multipart] Avoid deleting multipart enc files if upload is in progress 2024-05-08 17:04:39 +05:30
Manav Rathi
83a84295ba Fix the condition 2024-05-08 16:35:31 +05:30
Manav Rathi
f45902e290 Try without the workaround 2024-05-08 16:30:34 +05:30
Manav Rathi
5e73257b71 debug 2024-05-08 16:17:02 +05:30
Neeraj Gupta
92357f697d [mob][multipart] Upload thumbnail after file is uploaded 2024-05-08 15:48:17 +05:30
Neeraj Gupta
91c570341d Lint fix 2024-05-08 15:44:21 +05:30
Neeraj Gupta
83ff0e9e38 [mob][multipart] Minor refactor 2024-05-08 15:42:47 +05:30
Manav Rathi
dbbb3c848a [cast] Tweaks to try and get it to work on older cast devices (#1657) 2024-05-08 15:33:40 +05:30
laurenspriem
8c373857a2 [mob][photos] Don't show emptyCTA for faces in people full page 2024-05-08 15:32:13 +05:30
Neeraj Gupta
a49b5f55dd [mob][multipart] Minor refactor 2024-05-08 15:30:25 +05:30
Manav Rathi
afa9c35c0b Also ignore deploy-f's 2024-05-08 15:27:59 +05:30
Neeraj Gupta
0db4842d81 [mob][multipart] Fix multipart flow for fileUpdate 2024-05-08 15:22:53 +05:30
Manav Rathi
9d7c23d1c5 Restore the preload to see if looks less abrupt 2024-05-08 15:20:29 +05:30
Manav Rathi
d7a4e728da Completely on demand in an attempt to work on the lowmem Chromecast device 2024-05-08 14:58:16 +05:30
laurenspriem
63f22680f4 [mob][photos] Show add name button on discovery tab 2024-05-08 14:27:15 +05:30
Manav Rathi
93444d3a49 Back to normal files 2024-05-08 14:04:39 +05:30
Manav Rathi
22e33737e8 Forego checks if client doesn't follow the protocol 2024-05-08 14:02:23 +05:30
Manav Rathi
ddb19e2333 Restart on collection ID mismatches 2024-05-08 13:57:59 +05:30
Neeraj Gupta
68da13aa29 [mob][multipart] Store fileName instead of path 2024-05-08 13:41:31 +05:30
Manav Rathi
816f8cecd6 Rearrange 2024-05-08 13:24:06 +05:30
Neeraj Gupta
7cbeeacd82 [mob] Don't delete encrypt file in case of upload error 2024-05-08 13:09:01 +05:30
Manav Rathi
b7734406b8 Fix 2024-05-08 12:55:03 +05:30
Manav Rathi
7658b99742 Fix 2024-05-08 12:55:03 +05:30
Manav Rathi
3b7dbe6628 Fix 2024-05-08 12:55:03 +05:30
Manav Rathi
2f87c3cf5a Debug 2 2024-05-08 12:55:03 +05:30
Manav Rathi
c9601c33c3 Debug 2024-05-08 12:55:03 +05:30
Manav Rathi
b917237db2 Code can become invalid after timeout 2024-05-08 12:55:03 +05:30
Manav Rathi
943f9ea9c1 Wait for pairing code before initializing cast 2024-05-08 12:55:03 +05:30
laurenspriem
5e2f689265 [mob][photos] View history from suggestions 2024-05-08 12:20:48 +05:30
Manav Rathi
8f2580e13f [server] Tag the source code for latest ghcr.io Docker image with museum/ghcr (#1656)
Helps with easily finding changes since last publish.
2024-05-08 12:19:08 +05:30
Manav Rathi
17ffc8051a Use server 2024-05-08 12:16:53 +05:30
Manav Rathi
0b7dd0eb14 [desktop] Don't invoke electron-builder twice on CI (#1655) 2024-05-08 12:14:14 +05:30
Manav Rathi
b22361d652 yarn lint-fix 2024-05-08 12:12:03 +05:30
Manav Rathi
4db07149ae [desktop] Don't invoke electron-builder twice on CI 2024-05-08 12:10:20 +05:30
laurenspriem
bcac9b9ce9 [mob][photos] Cluster merge parameter change 2024-05-08 11:59:48 +05:30
Neeraj Gupta
e3569ccb67 [mob][DebugMode]Restrict one part upload during one upload session. 2024-05-08 11:52:50 +05:30
laurenspriem
9ff4fc1b81 [mob][photos] Don't show memory count twice for clusters 2024-05-08 11:47:44 +05:30
Neeraj Gupta
149c03d4db perf: avoid re-calculating length 2024-05-08 11:46:38 +05:30
Neeraj Gupta
34ea7749ab Add logs for part upload 2024-05-08 11:37:37 +05:30
Manav Rathi
848fa34b56 [server] Tag the source code for latest ghcr.io Docker image with museum/ghcr
Helps with easily finding changes since last publish.
2024-05-08 11:27:11 +05:30
Manav Rathi
0178c64e34 [desktop] RC (#1654) 2024-05-08 11:22:49 +05:30
Manav Rathi
7e0ef23bc1 yarn lint-fix 2024-05-08 11:20:28 +05:30
Manav Rathi
212f863733 Restore the yarn-timeout workaround
e.g. see a recent build failures:
https://github.com/ente-io/photos-desktop/actions/runs/8996782367/job/24713793588

there was another one recently. both of these were on the Windows runner, in one
case the message was:

    info There appears to be trouble with your network connection. Retrying...

in another case the issue manifested later

    D:\a\photos-desktop\photos-desktop\web\node_modules\date-fns\formatISO\index.js:11
    /**

    SyntaxError: Invalid or unexpected token
        at internalCompileFunction (node:internal/vm:128:18)
        at wrapSafe (node:internal/modules/cjs/loader:1280:20)

but retrying fixed it, so I'm counting it as a broken package install.
2024-05-08 11:17:15 +05:30
Neeraj Gupta
27aaf98c4d Improve log 2024-05-08 11:16:09 +05:30
laurenspriem
ee9eaedd99 [mob][photos] Prefer linear scan for clustering within cluster 2024-05-08 11:13:56 +05:30
Neeraj Gupta
220e80e467 [mob] Clean up stale upload files inside uploader 2024-05-08 11:12:32 +05:30
Neeraj Gupta
7487b76b9d [mob][config] Log skipped files 2024-05-08 11:08:28 +05:30
Neeraj Gupta
1ae8787a29 [mob][config] Move cleanUp interval constant 2024-05-08 11:06:07 +05:30
laurenspriem
dd29e55b53 [mob][photos] Lower threshold for auto merges 2024-05-08 11:05:36 +05:30
Neeraj Gupta
2de5b641a7 [mob][config] Skip deleting temp encrypted files for upload 2024-05-08 11:04:54 +05:30
Neeraj Gupta
588bf74202 [mob] Move upload prefix constant to constants 2024-05-08 10:55:21 +05:30
Manav Rathi
a07d999b74 Clarify 2024-05-08 10:26:21 +05:30
Manav Rathi
491b014bc8 [desktop] Mark as rc (#1653) 2024-05-08 10:16:03 +05:30
Manav Rathi
771a02c36b rc 2024-05-08 10:15:12 +05:30
Manav Rathi
1031801c66 [desktop] Tinker with the release flow (#1652) 2024-05-08 10:12:05 +05:30
Manav Rathi
145a7cee2a yarn lint-fix 2024-05-08 10:10:34 +05:30
Manav Rathi
0d1ad8b8e1 More release shenanigans 2024-05-08 10:04:16 +05:30
Manav Rathi
8eac3d701f Finalize 2024-05-07 21:09:15 +05:30
Manav Rathi
8635162259 Force a version 2024-05-07 20:38:51 +05:30
Manav Rathi
abe8a5eed0 Force a feed URL 2024-05-07 20:38:51 +05:30
Manav Rathi
40abb5c0ac [desktop] Misc fixes (#1650) 2024-05-07 20:38:27 +05:30
Manav Rathi
0949f32638 Use provided timeoutMS 2024-05-07 20:35:59 +05:30
Manav Rathi
63c3842770 Write export record after operation completion 2024-05-07 20:35:59 +05:30
Manav Rathi
ff3c37e703 Write file exported record after success 2024-05-07 20:35:59 +05:30
Prateek Sunal
f3c05d2006 fix(auth): improve workflow 2024-05-07 20:30:45 +05:30
Prateek Sunal
a9d63a178a fix(auth): separate fedora workflow 2024-05-07 20:26:31 +05:30
Prateek Sunal
0810967aae fix(auth): store error in Code 2024-05-07 20:05:19 +05:30
Prateek Sunal
e1239a6490 fix(auth): use global logger 2024-05-07 19:57:10 +05:30
Prateek Sunal
d88a7ec117 fix(auth): incorrect text during export 2024-05-07 19:53:34 +05:30
Prateek Sunal
ef318d89ae fix(auth): move color to ente color scheme 2024-05-07 19:52:40 +05:30
Prateek Sunal
3c793258a8 chore(auth): rename toExportFormat 2024-05-07 19:26:17 +05:30
Prateek Sunal
851c04f714 fix(auth): don't export display 2024-05-07 19:25:00 +05:30
Prateek Sunal
7628991dad fix(auth): revert remove linesplitter 2024-05-07 19:24:34 +05:30
Prateek Sunal
aa5c41b59d fix(auth): toast on desktop 2024-05-07 19:04:42 +05:30
Prateek Sunal
54f6f8656d fix(auth): code display for new codes 2024-05-07 19:01:39 +05:30
laurenspriem
8027579080 [mob][photos] Lower threshold for automatic merges 2024-05-07 17:14:43 +05:30
Manav Rathi
eb60c3f811 [desktop] Fix notarization warnings and other minor fixes (#1648) 2024-05-07 16:21:09 +05:30
Manav Rathi
977557146b Improve 2024-05-07 16:18:04 +05:30
laurenspriem
cb4fa38004 [mob][photos] Better suggestion parameter 2024-05-07 16:12:05 +05:30
laurenspriem
aff27a2211 [mob][photos] Show dialog on removing person label 2024-05-07 16:11:46 +05:30
Neeraj Gupta
12b4ab122e Merge branch 'main' into mobile-resumable 2024-05-07 15:36:29 +05:30
Manav Rathi
2208d686da Add a potential approach
Refs:
- Testing auto updates
  https://github.com/electron-userland/electron-builder/issues/3053
- https://github.com/electron-userland/electron-builder/issues/1505
- https://github.com/electron-userland/electron-builder/issues/1393
2024-05-07 15:13:43 +05:30
Manav Rathi
5d3bb71bbf Make the hide dock icon setting macOS only 2024-05-07 14:30:37 +05:30
Manav Rathi
c090300175 Remove electron-builder-notarize
The environment variables we are passing get picked by the built in notarization
code in electron-builder which signs successfully.

    notarization successful

But thereafter electron-builder-notarize starts throwing some errors:

    Error: The appleIdPassword property is required when using notarization with password credentials
        at validateNotaryToolAuthorizationArgs (/Users/runner/work/photos-desktop/photos-desktop/desktop/node_modules/electron-notarize/src/validate-args.ts:107:13)
    Skipping notarization: The appleIdPassword property is required when using notarization with appleId
        at module.exports (/Users/runner/work/photos-desktop/photos-desktop/desktop/node_modules/electron-builder-notarize/validate.js:42:18)

Since the notarization has already happened, we don't need this
2024-05-07 14:25:22 +05:30
laurenspriem
dc5a8ebd44 [mob][photos] More robust automatic merges 2024-05-07 13:38:55 +05:30
Manav Rathi
425cc9050b [web] dynamic free storage (#1644)
Behave like the mobile app and use the server's response to show the
storage value for the free plan instead of hardcoding it to 1 GB.

Tested with a local museum:
<img width="203" alt="Screenshot 2024-05-07 at 13 12 39"
src="https://github.com/ente-io/ente/assets/24503581/79a81a3f-614e-4e0a-9839-de39d7e9396a">
2024-05-07 13:17:24 +05:30
Manav Rathi
7f35a27f37 Undefs 2024-05-07 13:08:43 +05:30
Manav Rathi
c2804b33fa Use storage 2024-05-07 13:05:09 +05:30
Manav Rathi
45865a8376 Share 2024-05-07 12:58:10 +05:30
Manav Rathi
fe99383d7f Inline 2024-05-07 12:52:26 +05:30
Manav Rathi
98d38a3e44 Forward storage 2024-05-07 12:43:14 +05:30
laurenspriem
0ecbb73f1e [mob][photos] Only check automatic merges on big clusters 2024-05-07 12:27:01 +05:30
Manav Rathi
54e8cd498f Inline 2024-05-07 12:25:23 +05:30
Manav Rathi
07d75a5dea Fixes 2024-05-07 12:23:05 +05:30
Manav Rathi
cb482c60b6 [web] Tell the Crowdin push action not to create a PR (#1643) 2024-05-07 12:02:33 +05:30
Manav Rathi
a567009e2a [web] Tell the Crowdin push action not to create a PR 2024-05-07 12:02:08 +05:30
laurenspriem
115f1bd42e [mob][photos] Delete people and their mapping 2024-05-07 11:59:25 +05:30
Vishnu Mohandas
bc75eff172 v0.8.94 (#1642) 2024-05-07 11:43:25 +05:30
vishnukvmd
c5a88499bc v0.8.94 2024-05-07 11:42:32 +05:30
Neeraj Gupta
752850922c [mob] Fix keepPhotos action for hidden albums (#1640)
## Description
While deleting a hidden collection, if user clicks on `Keep photos`,
then we were moving those photos to uncat instead of default hidden
collection.

## Tests
Monkey tested locally
2024-05-07 11:40:54 +05:30
Vishnu Mohandas
d2ccd0a453 [auth] Update Simple Icons (#1641) 2024-05-07 11:40:39 +05:30
vishnukvmd
95063ea442 Update podfile 2024-05-07 11:36:59 +05:30
vishnukvmd
96f22c5e1f Update Simple Icons 2024-05-07 11:36:50 +05:30
Neeraj Gupta
307aaa4c21 [mob] Fix keepPhotos behaviour for hiddenCollections 2024-05-07 11:35:28 +05:30
Neeraj Gupta
aee1c5e88c [mob] generated files 2024-05-07 11:33:48 +05:30
Manav Rathi
500d163df0 [web] Rename storage_unit i18n key (#1639)
and remove separate gb
2024-05-07 11:30:58 +05:30
Manav Rathi
ce9ad0f406 Rename 2024-05-07 11:28:35 +05:30
laurenspriem
68be7f69d8 [mob][photos] Don't drop cluster summaries when dropping feedback 2024-05-07 11:22:44 +05:30
Manav Rathi
ee8a6cfb55 [web] dynamic free storage - prepare for changes (#1637) 2024-05-07 11:15:29 +05:30
Neeraj Gupta
0a57f3f955 [mob] Enable shared item action (#1638)
## Description

## Tests
Monkey tested locally
2024-05-07 11:14:11 +05:30
Neeraj Gupta
920f8fcd37 [mob] Remove unused import 2024-05-07 11:12:46 +05:30
Manav Rathi
521950075f yarn lint-fix 2024-05-07 11:12:23 +05:30
Neeraj Gupta
68cdc3a1b4 [auth] New translations (#1631)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-07 11:12:19 +05:30
Neeraj Gupta
f348a81904 [mob] Enable saving shared items for all users 2024-05-07 11:11:46 +05:30
Manav Rathi
e9bf6d7171 Add a new action 2024-05-07 11:10:09 +05:30
Vishnu Mohandas
3fc4fcd7f9 [mobile] New translations (#1630)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-05-07 10:59:06 +05:30
Vishnu Mohandas
d45ea7a338 Update copy (#1634) 2024-05-07 10:57:27 +05:30
vishnukvmd
487216fd99 v0.8.92 2024-05-07 10:57:18 +05:30
vishnukvmd
11ced154ce Update copy 2024-05-07 10:50:49 +05:30
Manav Rathi
491b814a2e Convert the third one too 2024-05-07 10:45:06 +05:30
Neeraj Gupta
20c2df773d [mob][cast] Enable cast for all 2024-05-07 10:39:52 +05:30
Neeraj Gupta
ab33bc34a1 [mob] Allow fav for shared items 2024-05-07 10:36:22 +05:30
Neeraj Gupta
a39e6b54cc [mob] Disable auto-cast for iOS (#1633)
## Description

## Tests
Tested on sim
2024-05-07 10:35:35 +05:30
Manav Rathi
ccf336e00f 2 2024-05-07 10:35:22 +05:30
Neeraj Gupta
12fb606e77 [mob] Disable auto-cast for iOS 2024-05-07 10:32:48 +05:30
Manav Rathi
7993a07607 1 2024-05-07 10:28:05 +05:30
Neeraj Gupta
c632713752 [mob] Fix _googlecast._tcp value in Info.plist 2024-05-07 10:24:50 +05:30
Manav Rathi
daeccdab32 Move 2024-05-07 10:05:49 +05:30
Manav Rathi
c4756fb847 [desktop] More fixes leading on to the release (#1632) 2024-05-07 09:49:04 +05:30
Manav Rathi
1c2e3479c8 [web] New translations (#1629)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-07 09:48:50 +05:30
Manav Rathi
08b5672f93 Migrate off from deprecated API 2024-05-07 09:46:12 +05:30
Manav Rathi
6efbaacdd1 Add note about keychain 2024-05-07 09:43:32 +05:30
Manav Rathi
939b228a0d Note about appDir 2024-05-07 09:37:44 +05:30
Crowdin Bot
68e4b77266 New Crowdin translations by GitHub Action 2024-05-07 02:07:43 +00:00
Crowdin Bot
86e617e54b New Crowdin translations by GitHub Action 2024-05-07 01:58:25 +00:00
Crowdin Bot
e3fae854db New Crowdin translations by GitHub Action 2024-05-07 01:40:22 +00:00
Prateek Sunal
62441b86bd fix(auth): don't make app unusable on error 2024-05-06 21:08:39 +05:30
Manav Rathi
e934cc8cb4 Allow UID 1 to re-index 2024-05-06 20:12:38 +05:30
Manav Rathi
94ec766bc6 Add missing conditional 2024-05-06 19:42:42 +05:30
Manav Rathi
66f705ed9b Use the correct key 2024-05-06 19:32:57 +05:30
Manav Rathi
555eda0619 Check 2024-05-06 19:28:05 +05:30
Manav Rathi
333f364d38 Serve legacy face crops 2024-05-06 19:20:25 +05:30
Vishnu Mohandas
90c8fb09a3 Update copy for Cast (#1626) 2024-05-06 18:55:48 +05:30
Vishnu Mohandas
be01f88058 Update copy for Cast 2024-05-06 17:32:14 +05:30
laurenspriem
bd495c3860 [mob][photos] Assert that embeddings are always normalized 2024-05-06 17:16:58 +05:30
laurenspriem
b4736fb1d6 [mob][photos] Normalize weighted embeddings for cluster summary 2024-05-06 17:03:06 +05:30
laurenspriem
71b572917e [mob][photos] More debug logging on clusters 2024-05-06 16:45:27 +05:30
laurenspriem
3c24345b68 [mob][photos] Add method for safe cosine distance 2024-05-06 16:38:19 +05:30
Manav Rathi
0af7d2c13e Retain the devtools option for perhaps another build to help in extreme cases 2024-05-06 16:31:18 +05:30
Manav Rathi
8a8d29e6b9 Fix loading of preload scripts 2024-05-06 16:29:51 +05:30
Manav Rathi
a8d3a8bfe8 Remove duplicate notarization attempt
From build logs:

     • notarization successful
    Error: The appleIdPassword property is required when using notarization with password credentials
        at validateNotaryToolAuthorizationArgs (/Users/runner/work/photos-desktop/photos-desktop/desktop/node_modules/electron-notarize/src/validate-args.ts:107:13)

Not sure, but at the face of it (since this was not enabled earlier too), our
notarization process kicks in during signing because of the presence of env
vars, and specifying it again here starts a separate process we haven't
configured.
2024-05-06 16:08:23 +05:30
Manav Rathi
5f964e533c Show always (for temp debugging) 2024-05-06 16:07:35 +05:30
Neeraj Gupta
06e65fbf37 [cli] Improve documentation for ente account add (#1625)
## Description

## Tests
Tested locally
2024-05-06 15:54:42 +05:30
Neeraj Gupta
f097535756 [cli] Improve ente account add doc 2024-05-06 15:53:47 +05:30
Neeraj Gupta
d8e917ac40 [cli] Hint user to create a account before adding to cli 2024-05-06 15:51:15 +05:30
Neeraj Gupta
28167561f6 [mob] Bump version 0.8.91+611 (#1624)
## Description

## Tests
2024-05-06 15:33:41 +05:30
Manav Rathi
51e9383ce0 lint 2024-05-06 15:33:21 +05:30
Neeraj Gupta
0531438cf0 [mob] Bump version 0.8.91+611 2024-05-06 15:33:15 +05:30
Manav Rathi
c2f5c3968c Note what I noticed 2024-05-06 15:31:07 +05:30
Manav Rathi
90d56f3886 Show dev tools always 2024-05-06 15:26:26 +05:30
Manav Rathi
aa81e14fed Draft release for testing 2024-05-06 15:22:21 +05:30
Neeraj Gupta
56192fe7af [mob] Cast improvements (#1623)
## Description

## Tests
Tested locally
2024-05-06 14:46:46 +05:30
Neeraj Gupta
b5f56bf350 [mobile] New translations (#1617)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-05-06 14:46:25 +05:30
Neeraj Gupta
bdcad0515c [mob][cast] Increase discovery timeout to 7seconds 2024-05-06 14:44:54 +05:30
Neeraj Gupta
371f3b538f [mob][cast] Improve logs 2024-05-06 14:42:58 +05:30
Neeraj Gupta
d779fc05bd [mob][cast] Fix cast progress state 2024-05-06 14:41:52 +05:30
Neeraj Gupta
1d1ee1248c [mob][cast] Send collectionID during pairing 2024-05-06 14:19:27 +05:30
Neeraj Gupta
06e43bf276 [mob] Fix cast button refresh state 2024-05-06 14:17:59 +05:30
Manav Rathi
0df7ba60b3 [docs] Add note about connecting web/desktop app to custom server (#1622) 2024-05-06 14:13:53 +05:30
Manav Rathi
f37769d340 [docs] Add note about connecting web/desktop app to custom server 2024-05-06 14:12:45 +05:30
laurenspriem
ea8846ee0c [mob][photos] Properly sort faces on fileCreationTime for clustering 2024-05-06 10:38:26 +05:30
Manav Rathi
4da4dcaeb5 [web] New translations (#1621)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-06 10:33:17 +05:30
Crowdin Bot
6db94b7595 New Crowdin translations by GitHub Action 2024-05-06 05:00:53 +00:00
Manav Rathi
78e97c1c01 [web] Enable German (#1620)
German translation has reached almost 100% coverage, time to enable it.
Thank you to all the translators in Crowdin 🙏
2024-05-06 10:30:16 +05:30
Neeraj Gupta
70216e39df [auth] New translations (#1619)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-06 10:28:59 +05:30
Manav Rathi
ea57815945 Add a TODO and fix typo 2024-05-06 10:23:08 +05:30
Manav Rathi
9804d448f6 Enable German (has reached 100%) 2024-05-06 10:19:55 +05:30
Manav Rathi
59d8b9bfbb Remove misused translation strings 2024-05-06 10:17:29 +05:30
Manav Rathi
a288c8305a Add TODO about better translation 2024-05-06 10:07:27 +05:30
Manav Rathi
2b381fdb91 [web] New translations (#1618)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-06 09:57:11 +05:30
Crowdin Bot
98b2df1d39 New Crowdin translations by GitHub Action 2024-05-06 04:24:05 +00:00
Crowdin Bot
e59007590d New Crowdin translations by GitHub Action 2024-05-06 04:23:57 +00:00
Crowdin Bot
6df40fe950 New Crowdin translations by GitHub Action 2024-05-06 04:23:54 +00:00
Manav Rathi
4aaed67ffe [meta] Namespace translation branch names, and allow force deploy for WIP apps (#1616)
- Namespace Crowdin PR branches
- Allow force deploying cast and accounts (while they're still in dev)
2024-05-06 09:53:16 +05:30
Manav Rathi
51b103a620 Allow force deploying cast and accounts (while they're still in dev) 2024-05-06 09:52:00 +05:30
Manav Rathi
0194fe65c7 Namespace Crowdin PR branches 2024-05-06 09:48:38 +05:30
Manav Rathi
de9a4a5300 [web] Rework cast (#1611)
* HEIC conversion is still pending, but that should be easy to add if
the rest everything is working fine on Chromecast
* Have tested on manual pairing
2024-05-06 09:46:33 +05:30
Vishnu Mohandas
6041cd73bd Fix typo 2024-05-05 14:56:43 +05:30
Manav Rathi
c92380eb10 Once over 2024-05-04 19:08:48 +05:30
Manav Rathi
fa8f229fcb Help tsc 2024-05-04 19:02:07 +05:30
Manav Rathi
34c30e4520 Remove unused file 2024-05-04 18:59:29 +05:30
Manav Rathi
6a6b77f1d2 Remove unused code 2024-05-04 18:56:52 +05:30
Manav Rathi
575e4809d8 Random order 2024-05-04 18:48:43 +05:30
Manav Rathi
ee503b3bce Shuffle 2024-05-04 18:37:48 +05:30
Manav Rathi
094f1daef3 Get all files 2024-05-04 18:22:36 +05:30
Manav Rathi
3c000b5c62 First time 2024-05-04 17:50:29 +05:30
Manav Rathi
42089403fd Account for processing in the timings 2024-05-04 17:32:02 +05:30
Manav Rathi
2ae2b73c59 Simplify revoke 2024-05-04 17:17:10 +05:30
Manav Rathi
438b6430e0 Simplify 2024-05-04 16:59:10 +05:30
Prateek Sunal
68f0a1d259 fix(auth): add mounted check for tags 2024-05-04 16:10:43 +05:30
Prateek Sunal
45eda72966 fix(auth): remove boxShadow from gradient_button.dart 2024-05-04 15:47:59 +05:30
Prateek Sunal
612ed18473 fix(auth): border radius of gradient_button.dart 2024-05-04 15:44:53 +05:30
Manav Rathi
b6add9650a Revoke 2024-05-04 15:30:39 +05:30
Manav Rathi
b809523ec9 More 2024-05-04 14:41:06 +05:30
Prateek Sunal
270f1f1b22 chore(auth): update pubspec.lock 2024-05-04 14:39:47 +05:30
Prateek Sunal
b5d49afce5 fix(auth): errors in merge 2024-05-04 14:35:46 +05:30
Prateek Sunal
d1a15b129a fix: logics and ui (button, error code) 2024-05-04 14:34:05 +05:30
Manav Rathi
77036ee29a Rearrange 2024-05-04 14:26:18 +05:30
Manav Rathi
b42326bd9b Remove unused saved data 2024-05-04 14:23:56 +05:30
Manav Rathi
1d11c906ef Reorder 2024-05-04 14:21:44 +05:30
Manav Rathi
80301b14f4 Rearrange 2024-05-04 14:18:44 +05:30
Prateek Sunal
838983ec61 fix: logics and ui (button, error code) 2024-05-04 14:16:05 +05:30
laurenspriem
077b46e490 [mob][photos] Small copy change 2024-05-04 14:04:34 +05:30
laurenspriem
cf6b311c14 [mob][photos] Fix person gallery random dates ordering 2024-05-04 13:57:28 +05:30
Manav Rathi
bf66697bcb t2 2024-05-04 13:24:58 +05:30
Manav Rathi
8b75393ea0 gen 2024-05-04 12:39:55 +05:30
Neeraj Gupta
cff695dd02 [mob] Fix title for month grouping 2024-05-04 12:35:33 +05:30
Neeraj Gupta
5f9b0d11f2 [mob] Gallery: Support grouping by day/week/month/year 2024-05-04 12:31:08 +05:30
Manav Rathi
b520996af5 Sketch 2024-05-04 12:28:15 +05:30
Vishnu Mohandas
2308a731e3 Update changelog (#1609) 2024-05-04 12:16:17 +05:30
vishnukvmd
1fac0fc50d Update changelog 2024-05-04 12:15:22 +05:30
Neeraj Gupta
e75be714d9 [mob] Refactor groupHeader to use groupType 2024-05-04 12:07:58 +05:30
Neeraj Gupta
da329c498c [mob] Add groupType in Gallery context state 2024-05-04 12:00:16 +05:30
Neeraj Gupta
cc74e08155 [mob] Add groupType with common extn methods 2024-05-04 11:56:29 +05:30
Manav Rathi
882af50507 Reorder 2024-05-04 11:18:23 +05:30
Manav Rathi
efdf980558 busywork 2024-05-04 11:15:06 +05:30
Manav Rathi
fdeb0f9493 Match 2024-05-04 11:12:43 +05:30
Manav Rathi
c2a2370510 Mirror 2024-05-04 11:11:49 +05:30
Manav Rathi
3d8d6e9fac Remove unused remove code 2024-05-04 10:52:12 +05:30
Manav Rathi
3c3955017e Start chromecast SDK only once 2024-05-04 10:49:33 +05:30
Manav Rathi
1dafec15c7 Unused 2024-05-04 10:31:59 +05:30
Manav Rathi
2ca88ef0a3 Placeholder 2024-05-04 10:26:52 +05:30
Manav Rathi
a058897c48 Simplify 2024-05-04 10:24:37 +05:30
Manav Rathi
3ca1bd7729 Fuse 2024-05-04 10:17:09 +05:30
Manav Rathi
4b674c22c1 Inline 2024-05-04 10:15:31 +05:30
Manav Rathi
75a9abab0f Inline 2024-05-04 10:11:59 +05:30
Manav Rathi
949dd22f81 Inline 2024-05-04 10:03:53 +05:30
Manav Rathi
8bcbdeb6e2 Rename 2024-05-04 09:56:24 +05:30
Manav Rathi
6175c2617c Rearrange 2024-05-04 09:08:48 +05:30
Manav Rathi
0f64a506e5 Comments 2024-05-04 09:00:58 +05:30
Manav Rathi
8a4f5e2934 Fix 2024-05-04 08:55:54 +05:30
Manav Rathi
54bb32d5e7 3 phase 2024-05-04 08:44:58 +05:30
Manav Rathi
159d207d1f Phases 2024-05-04 07:27:10 +05:30
Manav Rathi
5dc4352196 Ignore nulls 2024-05-04 07:13:32 +05:30
Manav Rathi
afa8303d91 Split phases 2024-05-04 06:59:06 +05:30
Manav Rathi
a86a818924 pp 2024-05-04 06:34:52 +05:30
Manav Rathi
5388112b48 Pair 2 2024-05-03 21:57:30 +05:30
Manav Rathi
90a87a8e4f Pair 1 2024-05-03 21:42:33 +05:30
github-actions[bot]
ae2f939a4d [mobile] New translations (#1538)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-05-03 20:16:02 +05:30
Neeraj Gupta
791506b510 [mobile][cast] Fix minor UI issues (#1588)
## Description

## Tests
2024-05-03 20:14:21 +05:30
Ashil
b45262c75b [mob][photos] band aid fix for word gettng cut to next line in SelectionActionButton (#1607) 2024-05-03 19:57:01 +05:30
Vishnu Mohandas
7f6e8228af [mob][photos] Fix BG task not getting killed (#1608)
## Description

`BackgroundFetch.finish(taskId)` doesn't seems to be killing the BG
task.
Explicitly killing the Isolate does the work.
2024-05-03 19:56:35 +05:30
Manav Rathi
021ff4611c Remove indirection 2024-05-03 19:25:52 +05:30
Manav Rathi
b7842765e8 Document 2024-05-03 19:24:04 +05:30
ashilkn
8154dc4a7c [mob][photos] Remove logs added for debugging 2024-05-03 19:21:56 +05:30
ashilkn
b494c308b1 [mob][photos] Merge main 2024-05-03 19:19:30 +05:30
Manav Rathi
30464772e2 Inline 2024-05-03 19:19:18 +05:30
ashilkn
d911479031 [mob][photos] Remove logs added for debugging 2024-05-03 19:17:48 +05:30
Manav Rathi
1d8be29bd6 Add missing dependency array 2024-05-03 19:07:25 +05:30
Manav Rathi
c750329fb1 Fix type only import
Ref:
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28190#issuecomment-444339277
2024-05-03 19:02:04 +05:30
Manav Rathi
a0c5dd84c7 Add typings 2024-05-03 19:00:16 +05:30
Manav Rathi
08f23efeca Use in cast 2024-05-03 18:47:44 +05:30
Manav Rathi
34c664ac33 Move to @/media 2024-05-03 18:37:57 +05:30
laurenspriem
ade70f40a9 [mob][photos] Use separate isIgnored getter instead of isHidden 2024-05-03 17:25:30 +05:30
laurenspriem
35aed07bc6 [mob][photos] Rename "remove" to "remove label" for person 2024-05-03 16:59:51 +05:30
Prateek Sunal
8370d2a9f1 fix: try to fix button tint 2024-05-03 16:58:59 +05:30
laurenspriem
319dc055de [mob][photos] Rename "hidden" to "ignored" 2024-05-03 16:17:56 +05:30
Vishnu Mohandas
5527836eab [mob][photos] Bump up to v0.8.90 (#1601) 2024-05-03 15:43:09 +05:30
Vishnu Mohandas
5f3b253607 Changelog (#1599) 2024-05-03 15:42:59 +05:30
Vishnu Mohandas
27ef12b222 [mob][photos] Request for ACCESS_MEDIA_LOCATION permission if not granted (#1600)
## Description


a5d05decf2/mobile/lib/utils/photo_manager_util.dart (L8)

^passing true here should let the app have `ACCESS_MEDIA_LOCATION`
permission. But looks like that isn't working for a small set of users.
So, asking for permission explicitly.
2024-05-03 15:42:47 +05:30
ashilkn
21faf76611 [mob][photos] Bump up to v0.8.90 2024-05-03 15:34:19 +05:30
vishnukvmd
ff45d11384 Changelog 2024-05-03 15:12:53 +05:30
Vishnu Mohandas
a5d05decf2 [web] New translations (#1598)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-03 15:09:56 +05:30
laurenspriem
662dc1a32b [mob][photos] Make sure hidden doesn't show in naming sheet 2024-05-03 15:09:29 +05:30
ashilkn
377a8b1128 [mob][photos] Request for ACCESS_MEDIA_LOCATION permission if not granted 2024-05-03 15:08:04 +05:30
laurenspriem
38a40a5ace [mob][photos] Make sure hidden faces are displayed last in file info 2024-05-03 15:05:02 +05:30
Crowdin Bot
c31ce04c6e New Crowdin translations by GitHub Action 2024-05-03 09:31:18 +00:00
Vishnu Mohandas
7a5b425c82 Update copies for Cast (#1597) 2024-05-03 15:00:33 +05:30
vishnukvmd
8dc6e1ab6a Fix lint error 2024-05-03 14:59:42 +05:30
laurenspriem
915a3f646d [mob][photos] Small fix 2024-05-03 14:59:25 +05:30
vishnukvmd
03e9aef848 Update copies for Cast 2024-05-03 14:54:31 +05:30
laurenspriem
f275761c4b [mob][photos] Refresh file info on changed person 2024-05-03 14:49:06 +05:30
Manav Rathi
a127d43d54 [desktop] Prepare for release (#1596)
- **Run the electron builder in the correct path**
- **Provide repository**
- **Move to new notarization mechanism**
- **Use an Electron Builder version that supports notarytool**
2024-05-03 14:46:18 +05:30
Manav Rathi
2b9ee7824d lint 2024-05-03 14:44:24 +05:30
laurenspriem
cfd656b360 [mob][photos] Unhide person feedback 2024-05-03 14:42:33 +05:30
Neeraj Gupta
dc1d2c5b7b [FIX] Handle Steam host (#1539)
## Description

It is same as Totp with 5 digits.
Related: https://github.com/ente-io/ente/discussions/1038
2024-05-03 14:39:40 +05:30
Manav Rathi
ea812561c6 Run everywhere 2024-05-03 14:38:56 +05:30
Prateek Sunal
7ced2f5139 Merge branch 'main' into auth-stream-otpauth 2024-05-03 14:26:30 +05:30
Neeraj Gupta
8831560151 Minor fix 2024-05-03 14:21:59 +05:30
Neeraj Gupta
679922bdfe Refactor 2024-05-03 14:19:12 +05:30
Neeraj Gupta
536de8a3fa Minor refactor 2024-05-03 14:17:23 +05:30
Neeraj Gupta
da45ea3173 [auth] Improve _getDigits 2024-05-03 14:09:36 +05:30
Prateek Sunal
8bf9a2544c chore: bump version 2024-05-03 13:57:09 +05:30
Prateek Sunal
b374dc0dd0 fix: add digits to setup page and create stream type 2024-05-03 13:56:59 +05:30
Neeraj Gupta
26e17d8464 [server][cast] Generate alphaNumberic codes for cast (#1595)
## Description

## Tests
2024-05-03 13:51:27 +05:30
Manav Rathi
3fafc5fd99 Use an Electron Builder version that supports notarytool
We need the following patch (from the release notes of v25.0.0-alpha.6)
https://github.com/electron-userland/electron-builder/releases

> feat: Make notarization with Apple ID more usable by
> https://github.com/electron-userland/electron-builder/pull/8159
2024-05-03 13:17:58 +05:30
ashilkn
b221b80625 Merge branch 'main' into fix_bg_task_not_getting_killed 2024-05-03 13:12:24 +05:30
ashilkn
075d8d9769 [mob][photos] bump up version 2024-05-03 13:07:29 +05:30
ashilkn
ec93a02674 [mob][photos] fix: BG process not getting killed when app is brought to foreground 2024-05-03 13:05:02 +05:30
Manav Rathi
b24d80a267 Move to new notarization mechanism
Refs:
- https://www.electron.build/configuration/mac.html#NotarizeLegacyOptions
- https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/macPackager.ts
- https://github.com/samuelmeuli/action-electron-builder/issues/101
2024-05-03 13:02:19 +05:30
laurenspriem
95ba8a368b [mob][photos] Show (hidden) in file info for hidden persons 2024-05-03 12:45:21 +05:30
laurenspriem
8c27eb59ce [mob][photos] Show dialog before hiding person 2024-05-03 12:40:27 +05:30
Neeraj Gupta
48bfe5b2fe [web][cast] Use deviceCode generated by sever (#1594)
## Description

## Tests
2024-05-03 12:38:46 +05:30
Neeraj Gupta
a62edad446 [server][cast] Fix err handling 2024-05-03 12:36:02 +05:30
Neeraj Gupta
627eab472c [server][cast] Only log ip mismatch instances 2024-05-03 12:32:16 +05:30
Neeraj Gupta
ad5cfdc6db [server][cast] convert deviceCode input to upperCase 2024-05-03 12:31:26 +05:30
Neeraj Gupta
99b13d18b0 [server][cast] Generate alphaNumeric deviceCode 2024-05-03 12:29:32 +05:30
Neeraj Gupta
8a85932512 refactor 2024-05-03 12:27:48 +05:30
laurenspriem
267b3669f2 [mob][photos] Don't show hidden clusters in clusters page 2024-05-03 12:25:14 +05:30
Neeraj Gupta
b9b928797c [web][cast] Use server to generate deviceCode 2024-05-03 12:24:52 +05:30
laurenspriem
1ab42640d9 [mob][photos] UI for triggering hide method 2024-05-03 12:16:48 +05:30
Neeraj Gupta
48f24d48b5 [server] Move generateAlphaNumString to util 2024-05-03 12:11:35 +05:30
laurenspriem
cdc6972d53 [mob][photos] Remove validateCluster option 2024-05-03 12:10:58 +05:30
Manav Rathi
0f3555468d Provide repository
Fixes:

    Cannot detect repository by .git/config. Please specify "repository" in the package.json (https://docs.npmjs.com/files/package.json#repository).
    Please see https://electron.build/configuration/publish  failedTask=build stackTrace=Error: Cannot detect repository by .git/config. Please specify "repository" in the package.json (https://docs.npmjs.com/files/package.json#repository).
2024-05-03 12:09:03 +05:30
laurenspriem
5c1bc220e9 [mob][photos] Method for hiding cluster 2024-05-03 12:07:23 +05:30
Prateek Sunal
b52133fe57 fix: revert totp changes 2024-05-03 12:00:29 +05:30
Prateek Sunal
c6084c6148 fix: add code error widget 2024-05-03 11:59:28 +05:30
Manav Rathi
c04a30a37c [web] New translations (#1586)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-03 11:31:06 +05:30
Manav Rathi
0165c72064 [desktop] Run the electron builder in the correct path (#1593)
Also add a convenience script to the [photos-desktop
repo](https://github.com/ente-io/photos-desktop/blob/main/.github/trigger-release.sh):

```sh
#!/bin/sh

set -o errexit

version="$1"
if test -z "$version"
then
    echo "usage: `basename $0` <version-including-v>"
    exit 1
fi

set -o xtrace

cp ../ente/desktop/CHANGELOG.md CHANGELOG.md
cp ../ente/desktop/.github/workflows/desktop-release.yml .github/workflows/
git add CHANGELOG.md .github/workflows/desktop-release.yml
git commit -m "$version"
git push origin main

git tag "$version"
git push origin "$version"
```
2024-05-03 11:30:17 +05:30
Manav Rathi
e9feec37d5 Run the electron builder in the correct path 2024-05-03 11:28:06 +05:30
Manav Rathi
79e15827d3 [desktop] Use same convention as other preexisting tags in our repo (#1592) 2024-05-03 11:09:43 +05:30
Manav Rathi
5d0e62cf5f Use same convention as other preexisting tags in our repo 2024-05-03 11:08:06 +05:30
Manav Rathi
d68e607d4a [desktop] Fix ref ref in action (#1591)
ref_name is the (from my understanding) the shorthand we need for
prefixing. Untested, will do a test build.
2024-05-03 11:02:46 +05:30
Manav Rathi
647cc0d803 [desktop] Fix ref ref in action
ref_name is the (from my understanding) the shorthand we need for prefixing. Untested, will do a test build.
2024-05-03 11:00:55 +05:30
Manav Rathi
383d570ece [desktop] Prepare for beta release (#1590) 2024-05-03 10:51:45 +05:30
Manav Rathi
ddad863b31 Prepare for release 2024-05-03 10:50:21 +05:30
Neeraj Gupta
486d89f506 [mob] Log n/w when mobileBackUpIsDisabled and backup is happening (#1589)
## Description

## Tests
2024-05-03 10:34:34 +05:30
Neeraj Gupta
024f160ca0 [mob] Improve log 2024-05-03 10:14:27 +05:30
Neeraj Gupta
cdfbd402d2 [cli] Documentation improvement (#1587)
- Clarify that config.yaml needs to go to CWD
- Add a notice about ente account add (I think it is the second time
someone got confused about this)

Maybe we can also print a notice or the help docs when `ente` is run
without any arguments (just a thought for future changes)
2024-05-03 10:02:15 +05:30
Manav Rathi
977d212be6 Add a notice about ente account add 2024-05-03 09:42:17 +05:30
Manav Rathi
3eda263d26 Clarify cwd 2024-05-03 09:38:58 +05:30
Crowdin Bot
d08c2b4fa0 New Crowdin translations by GitHub Action 2024-05-03 01:40:38 +00:00
Prateek Sunal
b860d3a056 fix: push theme for button 2024-05-03 01:59:43 +05:30
Manav Rathi
9324c739fd [desktop] Electron 30 (#1584)
Upgrade to Electron 30 to get the streaming request fix we need.

Also add a workaround to get POSIX paths from webUtils on Windows. For
the test case, see this
[Fiddle](https://gist.github.com/mnvr/91eaca21b0651926565274ee80f10ad5).
2024-05-02 21:49:44 +05:30
Prateek Sunal
25fb9cfe13 fix: add new ente button 2024-05-02 21:42:16 +05:30
Prateek Sunal
ab93eb4e8e fix: bump gradlew files 2024-05-02 21:40:59 +05:30
Manav Rathi
0c4da8c86a POSIX paths 2024-05-02 21:38:02 +05:30
Manav Rathi
6a99002064 Start using it 2024-05-02 21:25:44 +05:30
Manav Rathi
67eed1aa89 Upgrade to Electron 30
This picks up the stream fix we need
> Fixed data corruption when protocol.handle() processed incoming data asynchronously. #41933 (Also in 31)
>
> https://github.com/electron/electron/releases/tag/v30.0.2
2024-05-02 21:20:26 +05:30
Manav Rathi
151e7abc19 [desktop] Resurrect desktop build (#1583)
Untested, this is the plan.
2024-05-02 20:25:13 +05:30
Manav Rathi
2f2d15c9f2 lint 2024-05-02 20:22:40 +05:30
Manav Rathi
fecfb4a8b7 Hopes and dreams 2024-05-02 19:52:39 +05:30
Manav Rathi
3b3d24e9e0 It'll need to live in the releases repo, reword accordingly 2024-05-02 19:34:58 +05:30
Manav Rathi
aed781b0ff Use same credentials as the auth app
While we won't actually be using the monorepo for releases, get the action to a
known state:

- MAC_OS_CERTIFICATE and MAC_OS_CERTIFICATE_PASSWORD is the same GitHub secret
  that the auth app already uses

- Need to add APPLE_API_KEY, APPLE_API_KEY_ID, APPLE_API_KEY_ISSUER_ID.
2024-05-02 19:05:52 +05:30
laurenspriem
7e60e8532f [mob][photos] Don't show naming banner on suggestions 2024-05-02 17:22:46 +05:30
laurenspriem
4bafdf8922 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-02 17:12:29 +05:30
laurenspriem
6ea8b972bd [mob][photos] Put serialization for suggestions in computer 2024-05-02 17:01:10 +05:30
laurenspriem
793fc3aa46 [mob][photos] Cluster suggestion calculation in computer 2024-05-02 16:08:19 +05:30
Neeraj Gupta
6b70c721d4 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-05-02 14:22:31 +05:30
Neeraj Gupta
88bdb06d05 [mob] Keep original files order intact 2024-05-02 14:22:24 +05:30
Manav Rathi
fa182b951d [desktop] Resurrect build
Untested
2024-05-02 12:55:08 +05:30
laurenspriem
2e17e2b78d [mob][photos] Trailing comma 2024-05-02 12:38:05 +05:30
laurenspriem
c6129c32da Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-02 12:36:43 +05:30
laurenspriem
d650bac501 [mob][photos] Small changes in suggestion calculation 2024-05-02 12:35:52 +05:30
Neeraj Gupta
745daf39f7 [mob] Sort suggestion by creationTime to fix gallery grouping bug 2024-05-02 12:14:08 +05:30
Manav Rathi
85522a946a [desktop] Short-circuit ML (#1580)
This is so that we can make a release. Post-release, we'll come back to
this and give it the finishing touches and re-enable it. This avoids
doing a re-indexing for actual users in case we need to change stuff
during the finishing touches.
2024-05-02 12:07:09 +05:30
Neeraj Gupta
9ecd406e56 [mob]Fix refresh bug in all sections for people 2024-05-02 11:56:20 +05:30
laurenspriem
74ae4ea74f [mob][photos] Fix regression in suggestion calculation 2024-05-02 11:18:06 +05:30
Manav Rathi
68721b8168 Pick from the correct table 2024-05-02 11:11:24 +05:30
Manav Rathi
8327c2b881 Remove unused ElectronFile 2024-05-02 10:23:56 +05:30
Vishnu Mohandas
ab471dde96 Replace Isar with SQLite for storing CLIP embeddings (#1575)
## Description
- This PR removes the dependency on Isar, and sets up a SQLite DB for
storing embeddings.
- The existing DB is deleted, and the new DB is populated by pulling
embeddings from the server. Local migration was possible, but that would
have required us to keep Isar as a dependency for an unknown period of
time.
- For 30k embeddings, DB size has dropped from ~420MB to ~115MB. The
first load on a Pixel 7 has increased from ~500ms to ~600ms.
- More details @ https://ente.io/blog/tech/sqlite-objectbox-isar/#update

## Tests
- [x] Verified over internal builds that semantic search is working as
expected

> Note: This fixes that jank that would happen when a foreground process
tries to read data from the Isar DB while a background process is alive.
2024-05-02 09:35:24 +05:30
Neeraj Gupta
ca3172c33e [mobile] Add method to reconsile mappings 2024-05-02 07:04:31 +05:30
Prateek Sunal
e4b2bf08c1 chore: bump packages 2024-05-01 23:26:39 +05:30
Prateek Sunal
49c0295b21 fix: use Future.wait for edit and delete tag 2024-05-01 23:26:30 +05:30
Prateek Sunal
8d096ecf04 chore: bump version 2024-05-01 23:08:30 +05:30
Prateek Sunal
ee5362ad6c fix: unselect tag on tap on selected one 2024-05-01 23:08:09 +05:30
Prateek Sunal
e7ed34bb78 fix: update tag colors 2024-05-01 23:07:35 +05:30
Manav Rathi
cd5c1e35fa Disable live clip, rely on the thumbnailed version 2024-05-01 21:05:29 +05:30
Manav Rathi
30f22e333a Pass file when we have it 2024-05-01 21:04:41 +05:30
Manav Rathi
5ba2e35af6 Force disable it for non internal users 2024-05-01 20:13:08 +05:30
Manav Rathi
0226a99fa3 Disable enabling ML search 2024-05-01 20:09:36 +05:30
Manav Rathi
2690b874ee Make the migration a no-op 2024-05-01 19:49:09 +05:30
vishnukvmd
11d6cdd7c1 Rename variables 2024-05-01 19:36:09 +05:30
Manav Rathi
eb64cd8367 [desktop] More IPC enhancements and fixes (#1577)
Heading towards a wrap.
2024-05-01 19:08:41 +05:30
Manav Rathi
90b5054fcb chokidar seemed to have gotten stuck after a close
Not sure if something else was off, but after a close new watches in the same
session (after logging in) stopped reacting.
2024-05-01 19:02:43 +05:30
Manav Rathi
932f26684d Electron logout 2024-05-01 18:50:10 +05:30
Manav Rathi
4eb51061cb For real 2024-05-01 18:21:45 +05:30
Manav Rathi
de4aa3a6ca URL encode 2024-05-01 18:15:52 +05:30
Manav Rathi
c988884ab1 Setting pathname had no effect 2024-05-01 17:56:46 +05:30
Manav Rathi
b967d4bbea URL encode better
e.g. fixes the reading of a file with a hash in the name
2024-05-01 17:39:28 +05:30
Manav Rathi
0a93ba67a1 Fix warnings
Refs:
https://stackoverflow.com/questions/69730364/what-is-the-purpose-of-shouldforwardprop-option-in-styled
2024-05-01 17:04:44 +05:30
Manav Rathi
d30a8b8033 [desktop] Finalize zip handling (#1576)
And other fixes. Getting close to a stable desktop build.
2024-05-01 15:42:12 +05:30
Manav Rathi
9dd865ff6e Comment 2024-05-01 15:31:42 +05:30
vishnukvmd
bc32c89d77 Rename DB 2024-05-01 15:14:44 +05:30
vishnukvmd
1cd9fb1021 v0.8.88 2024-05-01 15:12:57 +05:30
Manav Rathi
10f2c3db6f Mention why we're normalizing 2024-05-01 15:12:50 +05:30
vishnukvmd
5f131693f4 Use Int instead of String to represent an enum 2024-05-01 15:12:48 +05:30
Manav Rathi
4c28e83dbb Optimize 2024-05-01 15:07:58 +05:30
Manav Rathi
36984012a8 They're all optionals now 2024-05-01 15:00:18 +05:30
Manav Rathi
cb73bc143d Research 2024-05-01 15:00:14 +05:30
Manav Rathi
52909f6f21 The handler adds its own error message prefix
Error occurred in handler for 'generateImageThumbnail': Error: This feature in not available on the current OS/arch
2024-05-01 14:06:34 +05:30
Manav Rathi
5ffc2f20fd Replicate previous behaviour 2024-05-01 13:57:33 +05:30
Manav Rathi
f2a764aac2 Fix export trash movement 2024-05-01 13:42:09 +05:30
Manav Rathi
f91dddda93 Fix paths 2024-05-01 13:35:42 +05:30
Manav Rathi
6086d43635 Don't log a potentially huge list 2024-05-01 12:32:33 +05:30
Manav Rathi
ff5a167f48 Might not be JSONStringify-able 2024-05-01 11:33:49 +05:30
vishnukvmd
de92a9dd64 v0.8.87 2024-05-01 10:41:36 +05:30
vishnukvmd
81feeef792 Remove dependency on Isar 2024-05-01 10:41:15 +05:30
Manav Rathi
55c603d345 Tweak logs 2024-05-01 10:39:35 +05:30
Manav Rathi
15b013ea36 Verified with a console log 2024-05-01 10:19:21 +05:30
Manav Rathi
38969d6f45 Fix zip reader 2024-05-01 10:17:51 +05:30
Vishnu Mohandas
74f93efe16 Don't send changes for review in internal build 2024-05-01 10:03:26 +05:30
Manav Rathi
bd2969daff Fix inverted condition 2024-05-01 10:03:03 +05:30
Vishnu Mohandas
baf943550f Don't sent internal build for review 2024-05-01 10:01:41 +05:30
Manav Rathi
633aee9dfd [desktop] Fix pending uploads state management (#1574)
and various other 
2024-05-01 09:29:30 +05:30
Manav Rathi
eb1d8a8210 Add a workaround for broken yarn classic dependency resolution
...that causes `yarn install` to fail.

Ref:
- https://github.com/isaacs/jackspeak/issues/5
- https://github.com/yargs/cliui/issues/159
2024-05-01 09:27:56 +05:30
Manav Rathi
735213b474 linter linter on the wall who's the fairest of them all 2024-05-01 09:17:17 +05:30
Manav Rathi
7056e04c02 Fix lint for web
Copy overrides from desktop
2024-05-01 09:13:41 +05:30
Manav Rathi
abee517f8c Fix remote build by recreating yarn.lock 2024-05-01 09:13:20 +05:30
Manav Rathi
42b214a4ba Remove duplicate state and reset store on successful completion
Clears out the collection name
2024-05-01 09:05:12 +05:30
Manav Rathi
e18731e625 yarn upgrade-interactive typescript and lints 2024-05-01 08:51:47 +05:30
Manav Rathi
9cbf69f9b3 upgrade-interactive 2024-05-01 08:46:43 +05:30
Manav Rathi
6c716ad892 Tell prettier not to print the names of the files it processes 2024-05-01 08:30:35 +05:30
Manav Rathi
4e8f2e65f0 Handle undefined better 2024-05-01 08:25:55 +05:30
Prateek Sunal
ebbd946fc2 chore: bump version for auth to 256 (#1573)
## Description

## Tests
2024-05-01 02:05:14 +05:30
Prateek Sunal
b39b470b95 chore: bump version 2024-05-01 01:48:32 +05:30
Vishnu Mohandas
292065a7b5 [FIX] Rpm build for Auth (#1466)
## Description

Try to remove missing deps error in auth desktop.
2024-05-01 01:42:43 +05:30
Prateek Sunal
d0d5ead80b fix: install patchelf for dynamic linking 2024-05-01 01:07:13 +05:30
Prateek Sunal
ac9f5095d1 fix: rpm deps and webview package 2024-05-01 01:05:10 +05:30
Prateek Sunal
c9c7f0c8f4 fix: width of popup menu button 2024-05-01 00:59:03 +05:30
Manav Rathi
c353ceaaf9 [desktop] IPC refactoring and general cleanup (#1572) 2024-04-30 23:13:05 +05:30
Manav Rathi
a0d44b58e2 Fix load
Using .on("ready" was not causing the window to start loading the renderer
unless createWindow was made async.
2024-04-30 22:48:46 +05:30
Manav Rathi
54e8d64b9e Fix the loading of utils/index
Naming it index doesn't cause isDev to be loaded.
2024-04-30 22:46:04 +05:30
vishnukvmd
9d6059a176 v0.8.86 2024-04-30 20:06:40 +05:30
vishnukvmd
348b784674 Remove Isar DB for Embeddings 2024-04-30 19:52:30 +05:30
vishnukvmd
c0e12e84ef Merge branch 'main' into embedding_sqlite 2024-04-30 19:10:58 +05:30
Manav Rathi
1eff04fe92 Enable lints 2024-04-30 18:57:19 +05:30
Manav Rathi
50a1447020 Stylistic 2024-04-30 18:54:58 +05:30
Manav Rathi
76c98bdf32 handle unsafe returns 2024-04-30 18:50:15 +05:30
Manav Rathi
7e2ee61a97 void expressions are fine 2024-04-30 18:46:59 +05:30
Manav Rathi
7b16fa9f38 void 2024-04-30 18:42:24 +05:30
Manav Rathi
9a28172565 iife wrapper 2024-04-30 18:37:50 +05:30
Manav Rathi
bda5226796 More unawaited 2024-04-30 18:34:32 +05:30
Neeraj Gupta
f7a62c91e9 Cast logs v2 (#1569)
## Description

## Tests
2024-04-30 18:21:23 +05:30
Neeraj Gupta
d81684a93b [web][cast] More logs 2024-04-30 18:20:01 +05:30
Neeraj Gupta
13d5a9f71a [web][cast] Add logs 2024-04-30 18:09:35 +05:30
Neeraj Gupta
262e8852de [web][cast] Add slide logs (#1566)
## Description

## Tests
2024-04-30 17:47:08 +05:30
Neeraj Gupta
ecfb7d944d [web][cast] Add slide logs 2024-04-30 17:45:50 +05:30
Manav Rathi
82316ff290 Unawaited promises 2024-04-30 17:43:30 +05:30
Manav Rathi
d308d334f8 tt 2024-04-30 17:41:12 +05:30
Neeraj Gupta
b3fc9bb682 [cast] Add logs (#1564)
## Description

## Tests
2024-04-30 17:34:16 +05:30
Neeraj Gupta
20459afc7b [cast] Add logs 2024-04-30 17:33:25 +05:30
laurenspriem
689833d8aa Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-30 17:13:39 +05:30
laurenspriem
09fadecd7a [mob][photos] Make sure precomputes also use thumbnail for face generation 2024-04-30 17:02:14 +05:30
Manav Rathi
f4660baeb8 Remove unnecessary awaits 2024-04-30 16:58:58 +05:30
Manav Rathi
9cce8b379c Remove unnecessary asyncs 2024-04-30 16:51:19 +05:30
Manav Rathi
46d67f0c49 Disentagle map from modifications 2024-04-30 16:49:56 +05:30
Manav Rathi
1076471d51 Turn one off 2024-04-30 16:42:52 +05:30
Vishnu Mohandas
569f7c0c47 [mob][photos] Add support for casting (#1556)
## Description

## Tests
2024-04-30 16:41:05 +05:30
Vishnu Mohandas
f00a04710b Add an option to download multiple items (#1563)
## Description

<img width="373" alt="Screenshot 2024-04-30 at 4 06 33 PM"
src="https://github.com/ente-io/ente/assets/1161789/f4bc463e-654d-4e5f-8d7d-27308149068b">

## Tests

- [x] Tested on Simulator

> Note: If the downloaded item was not owned by the user, but was shared
with them, it will get re-uploaded into the user's own account. This is
the existing behavior, so have left it untouched. Will wait for customer
feedback before updating the implementation to ignore such items.
2024-04-30 16:40:59 +05:30
Manav Rathi
7fb912c9df ensure 2024-04-30 16:34:48 +05:30
laurenspriem
10b04c6ad3 [mob][photos] Make sure face in face thumbnail is always centered 2024-04-30 16:31:36 +05:30
Manav Rathi
9e279da6b3 annotations 2024-04-30 16:30:19 +05:30
Manav Rathi
01c77c3949 unk 2024-04-30 16:29:24 +05:30
Manav Rathi
9771db6ade Use the built in transformer 2024-04-30 16:28:48 +05:30
Manav Rathi
994ca4b6a3 That's why cache fails 2024-04-30 16:25:35 +05:30
Neeraj Gupta
e7a5e1be3f Merge branch 'main' into cast 2024-04-30 16:24:28 +05:30
vishnukvmd
99e72a119f Update download icon 2024-04-30 16:13:48 +05:30
Manav Rathi
755ee4a0c2 hopefully 2024-04-30 16:13:16 +05:30
Neeraj Gupta
90baf7efb9 [mob] Add Ente popup menu widget (#1562)
## Description

## Tests
2024-04-30 16:12:05 +05:30
Neeraj Gupta
f80f7a03e1 [mob] Fix query 2024-04-30 16:11:51 +05:30
Manav Rathi
a9671481d8 Allow numbers to be used in template literals 2024-04-30 16:10:56 +05:30
vishnukvmd
fe5e6c18e8 Provide option to download multiple items 2024-04-30 16:06:03 +05:30
vishnukvmd
cdddbc4602 Increase severity of error log 2024-04-30 16:05:44 +05:30
vishnukvmd
d7bef6cd4d Log filetype 2024-04-30 16:05:06 +05:30
vishnukvmd
db47f8eaf5 Add copy 2024-04-30 16:05:00 +05:30
vishnukvmd
6f338867e4 Add log 2024-04-30 16:04:50 +05:30
vishnukvmd
872245cf0e Update package for icons 2024-04-30 16:04:32 +05:30
Manav Rathi
9b996ff353 Lint+ 2024-04-30 16:03:52 +05:30
Manav Rathi
51ffaa4a90 Preempt 2024-04-30 16:00:32 +05:30
Manav Rathi
2f3a2421f7 Strict 2024-04-30 15:51:22 +05:30
laurenspriem
4cff6b1299 [mob][photos] Simplify face generation code 2024-04-30 15:44:32 +05:30
Manav Rathi
824e73f150 strict 2024-04-30 15:30:57 +05:30
Neeraj Gupta
7e5561e5cd [mob] Use EntePopupMenuItem 2024-04-30 14:59:55 +05:30
Manav Rathi
9cc730e6a9 more posix 2024-04-30 14:56:13 +05:30
Neeraj Gupta
b1cbf8526b Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-30 14:48:28 +05:30
Neeraj Gupta
49d5370d47 Merge branch 'ente_popup_menu' into mobile_face 2024-04-30 14:48:12 +05:30
Neeraj Gupta
268c7d8a99 [mob] Use EntePopupMenuItem in gallery_app_bar 2024-04-30 14:42:21 +05:30
Neeraj Gupta
ebed315cb0 [mob] Add popup item widget 2024-04-30 14:41:54 +05:30
vishnukvmd
ae057da331 Remove redundant code 2024-04-30 14:37:15 +05:30
Manav Rathi
5681f14967 Clarify that entry names are guaranteed to be posixy 2024-04-30 14:31:06 +05:30
laurenspriem
8d4f9fe966 [mob][photos] Move code 2024-04-30 14:29:25 +05:30
vishnukvmd
24fc486721 Pull out the code to download a file to gallery 2024-04-30 14:29:12 +05:30
Manav Rathi
612d8682b5 strict 2024-04-30 14:21:43 +05:30
laurenspriem
29b9bee1be [mob][photos] Use thumbnails for generating face crop in suggestions 2024-04-30 14:20:21 +05:30
Manav Rathi
0c312c0ea1 strict 3 2024-04-30 14:10:59 +05:30
Manav Rathi
bee2cd533c strict 2 2024-04-30 14:01:28 +05:30
Manav Rathi
72b9113d30 ensure 2024-04-30 13:59:00 +05:30
Manav Rathi
333f9c58f2 strict 1 2024-04-30 13:56:11 +05:30
Manav Rathi
14348351a9 Fix call of undefined 2024-04-30 13:44:46 +05:30
Manav Rathi
8400620488 Gone from desktop 2024-04-30 13:42:41 +05:30
Manav Rathi
4feefb9b8d Fix comment 2024-04-30 13:41:18 +05:30
Manav Rathi
b52c9f558f Remove cache size overrides
Need a bit more benchmarking or real world feedback to see if this is even something that is helping us.
2024-04-30 13:39:58 +05:30
Manav Rathi
6c4adb1127 Housekeeping 2024-04-30 13:37:17 +05:30
Manav Rathi
d6aeef85d6 Rearrange 2024-04-30 13:33:18 +05:30
Manav Rathi
f84937f8c1 Bye ElectronFile 2024-04-30 13:26:55 +05:30
Manav Rathi
f5754eb2e1 Remove uses of path 2024-04-30 13:01:29 +05:30
Manav Rathi
a148f1a7af [web] New translations (#1560)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-30 12:40:08 +05:30
Manav Rathi
2099663a93 [web] Revert "search-bar component added" (#1561)
This reverts commit 4ed194f397.

@daviddeepan I had to revert your PR unfortunately.

Two main functional issues was:

- When trying to upload files, if I would search something without
results, the dialog would just close instantly.

- As a user, I expect to be able to move out of the search bar with
escape. However, pressing escape closes the whole dialog, causing the
user's drag and dropped or selected files to be lost. This is not
specifically a problem with the code added in this commit, however this
UX will need to be fixed in some way before introducing the search bar.

One medium issue:

- The dialog box kept changing size when I searched. This is visually
jarring.

Other minor issues:

- The input element did not match the look and feel for the rest of the
search input elements in the app. Aligning the search bar to the left
and right of the album thumbnails and using the MUI Input element (as
our code uses MUI elements in other places) might've fixed it.

- There were various debugging console.logs left over, once of which
even seemed like a case we need to handle.

- The strings were not localized.

---

Again, I appreciate your effort, but I think let us leave this for now,
we can come back to it in the future after having thought more about the
UX.
2024-04-30 12:38:57 +05:30
laurenspriem
a80c9dd589 [mob][photos] Rename method 2024-04-30 12:35:05 +05:30
Manav Rathi
92a066d322 Revert "search-bar component added"
This reverts commit 4ed194f397.

Two main functional issues was:

- When trying to upload files, if I would search something without results, the
  dialog would just close.

- As a user, I expect to be able to move out of the search bar with
  escape. However, pressing escape closes the whole dialog, causing the user's
  drag and dropped or selected files to be lost. This is not specifically a
  problem with the code added in this commit, however this UX will need to be
  fixed in some way before introducing the search bar.

One medium issue:

- The dialog box kept changing size when I searched. This is visually jarring.

Other minor issues:

- The input element did not match the look and feel for the rest of the search
  input elements in the app. Aligning the search bar to the left and right of
  the album thumbnails and using the MUI Input element (as our code uses MUI
  elements in other places) might've fixed it.

- There were various debugging console.logs left over, once of which even seemed
  like a case we need to handle.

- The strings were not localized.
2024-04-30 12:31:24 +05:30
Crowdin Bot
25fd5d5422 New Crowdin translations by GitHub Action 2024-04-30 06:42:25 +00:00
Manav Rathi
09bc15ddd3 [web] Upload refactoring - Zip file support (#1559) 2024-04-30 12:11:46 +05:30
Manav Rathi
e2cd1ea380 Fallback 2024-04-30 12:03:05 +05:30
laurenspriem
046a96f586 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-30 11:57:03 +05:30
Manav Rathi
ab95b4daee Inline 2024-04-30 11:51:25 +05:30
laurenspriem
740ca907f2 [mob][photos] Prevent face cropping out of image bounds 2024-04-30 11:38:39 +05:30
Manav Rathi
92ecbf9fa1 Add search bar within the Album selection screen #564 (#1558)
## Description
Search bar component for the ente-web added.
The component for web and mobile responsiveness is shown below.

> Thank you to the team for considering 


## Tests
Normal screen--
![Screenshot 2024-04-30
103238](https://github.com/ente-io/ente/assets/82031202/c4d8b033-2624-4985-b9ba-18e5eca29f0f)
Mobile screen--
![Screenshot 2024-04-30
111031](https://github.com/ente-io/ente/assets/82031202/4246a71b-3dd3-4de3-b4e0-f06185926faa)
2024-04-30 11:38:37 +05:30
Manav Rathi
8ee9b2be32 Use only the currently uploaded items 2024-04-30 11:36:28 +05:30
laurenspriem
c783735e86 [mob][photos] Log clustering time for each bucket 2024-04-30 11:24:06 +05:30
Manav Rathi
1f110929b2 connect 2024-04-30 11:08:55 +05:30
Neeraj Gupta
cbf2a77d5b refactor 2024-04-30 11:06:41 +05:30
daviddeepan
4ed194f397 search-bar component added 2024-04-30 11:05:27 +05:30
Manav Rathi
68f3f1e714 more 2024-04-30 11:01:50 +05:30
laurenspriem
9f5c5fde49 [mob][photos] Parallelize the cropping and encoding of faces 2024-04-30 10:59:45 +05:30
Manav Rathi
a5177a3742 fore 2024-04-30 10:51:20 +05:30
laurenspriem
1cd31d2cab [mob][photos] Only decode image once for face thumbnails in file info 2024-04-30 10:46:16 +05:30
Manav Rathi
761fd560a1 Separate file 2024-04-30 10:43:12 +05:30
Manav Rathi
c1a3fb4896 docs 2024-04-30 10:31:33 +05:30
Manav Rathi
5f0103682b entries 2024-04-30 10:24:41 +05:30
Manav Rathi
7ad4069b99 hobgoblins 2024-04-30 10:23:33 +05:30
Manav Rathi
afb0e1aff3 web 2024-04-30 10:20:37 +05:30
Neeraj Gupta
4b6ecbdd30 Merge branch 'main' of https://github.com/ente-io/auth into mobile_face 2024-04-30 10:17:13 +05:30
Manav Rathi
73baf5a375 Uncollide with ZipEntry from StreamZip 2024-04-30 10:08:31 +05:30
Manav Rathi
e9bf26e421 Extract 2024-04-30 09:59:02 +05:30
Manav Rathi
77fe4f9f03 wip ze ipc 2024-04-30 09:39:38 +05:30
Manav Rathi
93991c3a7f up 2024-04-30 09:25:59 +05:30
Manav Rathi
baf491c624 up 2024-04-30 09:10:27 +05:30
Manav Rathi
ff8aba816a cont 2024-04-29 21:48:31 +05:30
Manav Rathi
39737b985b teach readstream about zips 2024-04-29 21:40:10 +05:30
Manav Rathi
6bcf985390 or can it 2024-04-29 21:27:45 +05:30
Manav Rathi
eb608f4bdd ren 2024-04-29 21:12:47 +05:30
Manav Rathi
fca398f296 impl 2024-04-29 21:07:20 +05:30
Manav Rathi
38094f317a wipx 2024-04-29 20:58:58 +05:30
Manav Rathi
2c62f983a8 wipx 2024-04-29 20:42:57 +05:30
Manav Rathi
61de0c9c9c Before the changes 2024-04-29 19:55:04 +05:30
Manav Rathi
3ef727537c UploadItem 2024-04-29 19:46:50 +05:30
Manav Rathi
cca33074fb Pending uploads 2024-04-29 19:29:52 +05:30
Prateek Sunal
77b30ef65d fix: complete edit and delete tag logic 2024-04-29 18:59:35 +05:30
Prateek Sunal
f065481d47 chore: add doc 2024-04-29 18:19:29 +05:30
Prateek Sunal
35672eeec0 feat: tags ui and logic complete 2024-04-29 18:18:00 +05:30
Vishnu Mohandas
e7ca750168 Fixed typo (#1555)
## Description
Fixed a small typo
2024-04-29 17:39:13 +05:30
vishnukvmd
8ecb7710de v0.8.85 2024-04-29 17:34:00 +05:30
vishnukvmd
0f5007b8d2 Update key 2024-04-29 17:32:42 +05:30
vishnukvmd
64f2be09e6 Replace Isar with SQLite 2024-04-29 17:30:56 +05:30
Neeraj Gupta
7d2633190f Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-29 17:18:32 +05:30
Neeraj Gupta
52f605831f Merge branch 'main' into mobile_face 2024-04-29 17:18:16 +05:30
Manav Rathi
c1ef0199be Partial integration 2024-04-29 17:16:43 +05:30
vishnukvmd
104a7a5f00 Fix queries 2024-04-29 17:10:53 +05:30
Neeraj Gupta
9e7c82d5b9 [mob][photos] Extract string 2024-04-29 16:59:28 +05:30
Neeraj Gupta
5c645d50f0 [mob][photos] Show custom error on ip mismatch 2024-04-29 16:56:53 +05:30
Neeraj Gupta
7c9160478d [mob][photos] Extract strings 2024-04-29 16:45:43 +05:30
vishnukvmd
bb6cd41ec8 Implement SQLite version of EmbeddingsDB 2024-04-29 16:44:07 +05:30
Manav Rathi
0fbafcc4f5 Remove unused sharedFiles app context prop
setSharedFiles was removed in 3b468cb154 (years ago).
2024-04-29 16:33:04 +05:30
laurenspriem
8b1545239c [mob][photos] Use canvas again for generating face thumbnail 2024-04-29 16:28:19 +05:30
Manav Rathi
2d40f530a7 more 2024-04-29 15:51:20 +05:30
Prateek Sunal
5a18fe3746 feat: tags selection by text field 2024-04-29 15:41:17 +05:30
laurenspriem
aad1327705 [mob][photos] Small cleanup 2024-04-29 15:29:00 +05:30
Manav Rathi
864a53afa2 more 2024-04-29 15:23:46 +05:30
laurenspriem
8058c6b621 [mob][photos] Remove unnecessary write transactions 2024-04-29 15:20:01 +05:30
laurenspriem
d03d8d564d [mob][photos] Fix DB issue 2024-04-29 15:13:51 +05:30
Manav Rathi
d94f0a0f56 wip 2024-04-29 15:08:46 +05:30
Prateek Sunal
12635be0d2 fix: complete pinned design 2024-04-29 14:48:40 +05:30
Manav Rathi
2fa1fcac65 impl 2024-04-29 14:34:05 +05:30
Manav Rathi
3d298a9cd4 separate type 2024-04-29 14:23:33 +05:30
BifrostTenmei
e258aa3524 Fixed typo 2024-04-29 10:53:20 +02:00
Neeraj Gupta
16888c8aad [mob][photos] Fix lint warning 2024-04-29 14:14:23 +05:30
Neeraj Gupta
bd07759d8e [mob][photos] Show loading indicator on device tap 2024-04-29 14:05:41 +05:30
Manav Rathi
3b6204f47d Take 2 2024-04-29 13:49:02 +05:30
Neeraj Gupta
b12e6221d4 [mob][photos] Change button type to neutral 2024-04-29 13:46:18 +05:30
Manav Rathi
2d8bcd2530 Propagate 2024-04-29 11:59:08 +05:30
Manav Rathi
63841abd30 Envision 2024-04-29 11:44:43 +05:30
Neeraj Gupta
195ad01f14 [mob][photos] Add timeout for stop casting 2024-04-29 11:26:13 +05:30
Neeraj Gupta
7411125194 [mob][photos] Add support for closing session 2024-04-29 11:20:17 +05:30
Manav Rathi
e8687caba2 wip pending 2024-04-29 11:07:57 +05:30
Neeraj Gupta
4b97f832b2 [mob][photos] Finish auto-pair integration 2024-04-29 10:23:19 +05:30
Manav Rathi
aa111b2a24 Outline the plan 2024-04-29 10:12:53 +05:30
Manav Rathi
75c058fc4c This is where it comes from 2024-04-29 09:53:54 +05:30
Manav Rathi
7ce34c9b2e [web] Allow thumbnail cache to be optional (#1552)
See:
https://github.com/ente-io/ente/discussions/1449#discussioncomment-9255346

I'm not yet sure what was the case why it was not initialized, hoping to
get some logs for the error when initializing the cache to see how we
got to this state. But meanwhile, ensure that the code works even
without the cache.
2024-04-29 09:28:41 +05:30
Manav Rathi
0f46a25a5d [web] Allow thumbnail cache to be optional
See: https://github.com/ente-io/ente/discussions/1449#discussioncomment-9255346

I'm not yet sure what was the case why it was not initialized, hoping to get
some logs for the error when initializing the cache to see how we got to this
state. But meanwhile, ensure that the code works even without the cache.
2024-04-29 09:25:55 +05:30
Vishnu Mohandas
6f52df1fda Fixed typo (#1549)
## Description
Fixed a small typo
2024-04-28 22:36:20 +05:30
BifrostTenmei
d46dbf1e73 Fixed typo 2024-04-28 18:20:58 +02:00
Manav Rathi
24b64f9522 Verify assumption 2024-04-28 20:38:50 +05:30
Manav Rathi
13f0ff3af5 wip zip selection on web itself 2024-04-28 20:31:11 +05:30
Manav Rathi
a3d06c54af Prune 2024-04-28 17:38:03 +05:30
Manav Rathi
243d019e8b Potential implementation 2024-04-28 17:24:11 +05:30
Manav Rathi
e65307517d Scaffold 2024-04-28 17:08:22 +05:30
Manav Rathi
0e9507be34 Understand better 2024-04-28 16:47:03 +05:30
Manav Rathi
0202f8f38b More debug 2024-04-28 16:32:45 +05:30
Manav Rathi
42b0b6e9bb convert to mp4 2024-04-28 16:28:57 +05:30
Manav Rathi
7179b0a603 less line 2024-04-28 15:58:15 +05:30
Manav Rathi
69193e374c Wait for i18n loaded before accessing messages 2024-04-28 15:51:45 +05:30
Vishnu Mohandas
650a078fd7 Fixed typo (#1544)
## Description
Fixed a small typo
2024-04-28 13:32:03 +05:30
Manav Rathi
c61d58f6ea [web] Upload refactoring - Part x/x (happy paths working checkpoint) (#1547)
Checkpoint
- Both upload and export work now (in both the desktop and web apps)
- Uploads after individual selection and takeout uploads still need to
be fixed when in desktop
2024-04-28 13:31:58 +05:30
Manav Rathi
c90e9b7fd1 Add a debug inspector 2024-04-28 13:26:43 +05:30
Manav Rathi
b66972e884 Handle missing stacks 2024-04-28 12:48:00 +05:30
Manav Rathi
05b9f834cf ffmpeg wasm timings 2024-04-28 12:42:34 +05:30
Manav Rathi
e7a4e3e7c2 fix logger 2024-04-28 12:27:36 +05:30
Manav Rathi
85d0a72df3 Rework the stream handling 2024-04-28 11:32:23 +05:30
Manav Rathi
9a37141d29 Not yet sure how but desktop drag drops have the full path 2024-04-27 20:50:45 +05:30
Manav Rathi
7836562ff1 less noise 2024-04-27 20:21:54 +05:30
Manav Rathi
17275ed29d Inline 2024-04-27 18:03:09 +05:30
Manav Rathi
bb2ddec163 Inline
The zip-file tests are no longer directly usable, the way we read the files has
changed, these will have to be recreated in a new form.
2024-04-27 17:45:34 +05:30
BifrostTenmei
c2b55d4389 Fixed typo 2024-04-27 13:58:27 +02:00
Manav Rathi
6671a62c78 duh 2024-04-27 17:06:33 +05:30
Manav Rathi
536bcf1091 Add a fixed size block transformer
Surprisingly, this is not a primitive. Or maybe I didn't find it.

The highWaterMark-ing didn't work, that seems more of a recommendation than an
enforcement.
2024-04-27 17:00:01 +05:30
Manav Rathi
31a70674ff Revert "Read in 4 MB blocks"
This reverts commit db30d8d81e.
2024-04-27 16:49:22 +05:30
Prateek Sunal
17ad0a97d3 fix: disable privacy screen on debug mode 2024-04-27 16:13:09 +05:30
Prateek Sunal
adbb8f38c9 fix: encoding and decoding logic 2024-04-27 16:02:42 +05:30
Prateek Sunal
8a4229122e fix: use steam digits instead of hardcoding it 2024-04-27 15:45:50 +05:30
Prateek Sunal
e4ea377ee0 fix: use steam digits instead of hardcoding it everywhere 2024-04-27 15:44:58 +05:30
Prateek Sunal
e84b9da35e fix: typo and lint 2024-04-27 15:43:05 +05:30
Prateek Sunal
6cd624c90c fix: don't run tray window code on mobile 2024-04-27 15:43:05 +05:30
Prateek Sunal
1418741229 fix: treat steam host same as totp with 5 digits 2024-04-27 15:43:05 +05:30
Prateek Sunal
a22f38ca3b fix: add toasts for pin, update card ui, add pin svgs 2024-04-27 15:09:04 +05:30
laurenspriem
87571159cc [mob][photos] Fix faces db conflict 2024-04-27 14:30:34 +05:30
laurenspriem
97d8c5f83e Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-27 14:03:40 +05:30
laurenspriem
a2023bd457 [mob][photos] Fix database issue 2024-04-27 13:38:34 +05:30
Prateek Sunal
e26c817e18 fix: parsing of rawData and sorting while fetching codes 2024-04-27 13:32:01 +05:30
Prateek Sunal
38b0046885 fix: remove toString and update toExportFormat code 2024-04-27 13:22:35 +05:30
Vishnu Mohandas
a16910a4ee [mob][photos] Remove unnecessary optional parameter (#1543) 2024-04-27 13:20:52 +05:30
ashilkn
54d3ad9743 [mob][photos] Remove unnecessary optional parameter 2024-04-27 12:37:42 +05:30
Prateek Sunal
5f921e701a fix: go back to otpauth instead of converting to json 2024-04-27 12:33:59 +05:30
laurenspriem
6235f7ee78 [mob][photos] Move FaceBoxImage to face_util 2024-04-27 12:19:29 +05:30
Neeraj Gupta
4ce6fa790f [mob] Add method to close cast and keep track of active casts 2024-04-27 12:16:48 +05:30
Laurens Priem
9eeab36392 [mob][photos] Generate face crops faster (#1542)
## Description

Have written two new methods, `generateImgFaceThumbnails()` and
`generateJpgFaceThumbnails()`.
Using `generateJpgFaceThumbnails()` now since it returns
`Future<List<Uint8List>>` and is easier to integrate within the code
base because the return type remains the same with the older
`generateFaceThumbnailsForImage()`

There is performance improvement with `generateImgFaceThumbnails()`, but
it's not very significant and it requires changes in codebase to work
with it's return type `Future<List<Image>>` (`Image` from the `Image`
package). Can consider using it if it feels necessary in future.

If multiple faces are being generated from the same image, the image can
be decoded once and passed to `generateImgFaceThumbnails()` or
`generateJpgFaceThumbnails()` to avoid repeated decoding of the same
image.

`generateImgFaceThumbnails()` and `generateJpgFaceThumbnails()` uses the
isolates available from the pool of 4 spawned by `Computer` and
processes multiple faces in parallel unlike
`generateImgFaceThumbnails()`, which processes only one at a time.
2024-04-27 12:05:32 +05:30
laurenspriem
f422e30a8e [mob][photos] Migrate fully to sqlite async for faces, removing sqflite fully 2024-04-27 11:13:52 +05:30
ashilkn
58cd9350c0 Merge branch 'mobile_face' into fix_face_thumbnail 2024-04-27 11:10:10 +05:30
ashilkn
ab5985a08b [mob][photos] Use generated face crops and crop it using the new method 2024-04-27 11:06:54 +05:30
ashilkn
19f2c5f00a [mob][photos] remove negation 2024-04-27 11:02:38 +05:30
ashilkn
707916f677 [mob][photos] Add method to convert Image from Image package to UI image 2024-04-27 10:57:49 +05:30
ashilkn
8b236cde09 [mob][photos] When cropping a face from an image, make the image a square and add some buffer around it 2024-04-27 09:59:16 +05:30
laurenspriem
968eaaf5f6 [mob][photos] Better error logging 2024-04-27 09:39:12 +05:30
Manav Rathi
db30d8d81e Read in 4 MB blocks
Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream
2024-04-26 18:48:33 +05:30
Manav Rathi
31608ab8fa Inline 2024-04-26 18:18:15 +05:30
Manav Rathi
e786bed078 Inline 2024-04-26 18:16:22 +05:30
Manav Rathi
3074bc108f Fix 2024-04-26 17:49:50 +05:30
Manav Rathi
8ba952c3b8 Remove unused 2024-04-26 17:48:10 +05:30
Manav Rathi
2724760d6c Remove NodeJS global 2024-04-26 17:47:08 +05:30
Manav Rathi
9f41539330 Enhance 2024-04-26 17:47:08 +05:30
Manav Rathi
1c59a36c73 Partially revert 699a12cc79 2024-04-26 16:11:19 +05:30
Manav Rathi
21ad409c61 Don't overwrite what net.fetch already added 2024-04-26 16:06:45 +05:30
Manav Rathi
faba29b422 console.log(Object.fromEntries(res.headers.entries())); 2024-04-26 15:58:47 +05:30
ashilkn
caa72ba830 [mob][photos] add option to pass decoded image to face thumbnail generation methods to avoid unnecessary decoding when possible 2024-04-26 15:44:07 +05:30
Prateek Sunal
5cc25c6ef7 fix: sort codes correctly based on pinning status 2024-04-26 15:23:05 +05:30
laurenspriem
2692d0a34f [mob][photos] Fix issue in displaying face thumbnails for videos 2024-04-26 14:50:14 +05:30
laurenspriem
44898415e7 [mob][photos] Index videos using thumbnails 2024-04-26 14:43:19 +05:30
Prateek Sunal
b516bc8a52 feat: add pinning 2024-04-26 14:17:12 +05:30
laurenspriem
811ffe0117 [mob][photos] Create new cluster when tapping unassigned face 2024-04-26 14:13:00 +05:30
Manav Rathi
88eb0d687e Fix log 2024-04-26 13:51:48 +05:30
Manav Rathi
cc94615823 fix 2024-04-26 13:46:44 +05:30
laurenspriem
43f01c31da [mob][photos] Prevent sqlite disk corruption issue 2024-04-26 12:58:27 +05:30
ashilkn
a0e9913f43 Revert "[mob] Crop image instead of using scale and translate transforms on OG image in CroppedFaceImageView widget"
This reverts commit b022ef6d1e.
2024-04-26 12:56:12 +05:30
ashilkn
b256bb2757 Revert "[mob] perf: Decode images from which face is to be cropped, in an isolate to avoid jank"
This reverts commit 2f7e0cd1ef.
2024-04-26 12:55:29 +05:30
ashilkn
3eebfdd037 Revert "[mob] Two varients of CroppedFaceImageView for testing out which is more performant"
This reverts commit 7617817798.
2024-04-26 12:54:29 +05:30
Manav Rathi
a6ee7ac2bd [web] Upload refactoring - Part x/x (+ checkpoint) (#1540)
The main web side refactoring is done, and uploads initiated from the
web are still going through correctly. Next up will be getting back to
the desktop side, and tie the loose ends and prune the remaining
references to the `ElectronFile` that can't be IPC-ed.
2024-04-26 12:37:35 +05:30
Manav Rathi
0a70451add Tweak log 2024-04-26 12:18:11 +05:30
Manav Rathi
87d3bdc717 Scan 2024-04-26 12:14:51 +05:30
ashilkn
a577611e65 [mob] merge mobile_face to fix_face_thumbnail 2024-04-26 11:32:33 +05:30
Manav Rathi
fa0d1331a8 bye getUint8ArrayView 2024-04-26 11:10:07 +05:30
Manav Rathi
4a0bf42fe3 Peck 2024-04-26 11:07:03 +05:30
Manav Rathi
390f628557 Clone 2024-04-26 10:58:56 +05:30
Manav Rathi
b93638e354 type merge 2024-04-26 10:57:50 +05:30
Manav Rathi
b66d74c652 Get to FileWithCollection 2024-04-26 10:47:06 +05:30
Manav Rathi
070d9e1a62 fop 2024-04-26 10:20:37 +05:30
Manav Rathi
879f3389d1 Inner types 2024-04-26 10:17:52 +05:30
Manav Rathi
a7f5061eb6 And the next 2024-04-26 09:45:06 +05:30
Manav Rathi
f47732ff5e Type the next stage 2024-04-26 09:33:17 +05:30
Manav Rathi
eec61b0a13 Propagate niceness 2024-04-26 09:18:26 +05:30
Manav Rathi
9fa9d6d5dc Invert 2024-04-26 08:47:31 +05:30
Manav Rathi
19fd1b5ce4 Rename 2024-04-26 08:41:13 +05:30
Manav Rathi
16a07c79f4 Rename 2024-04-26 08:34:22 +05:30
Manav Rathi
c1103b656c [web] Upload refactoring - Part x/x (#1536) 2024-04-25 21:33:03 +05:30
Manav Rathi
8067d9b9b9 Start with a new copy each time
Otherwise all the map keys refer to the same object
2024-04-25 21:22:09 +05:30
Manav Rathi
1b93e9d1c1 Do it 2024-04-25 19:35:05 +05:30
Manav Rathi
2e3b86a2e9 Agenda 2024-04-25 19:22:05 +05:30
Neeraj Gupta
6d864a71a7 [web][cast] Close on sender disconnect (#1534)
## Description

## Tests
2024-04-25 18:17:19 +05:30
Neeraj Gupta
1dc8ac6023 [web][cast] Close on sender disconnect 2024-04-25 18:14:02 +05:30
Neeraj Gupta
dddbb959b5 [mob][photos] Refactor 2024-04-25 17:45:03 +05:30
laurenspriem
b2a2078045 [mob][photos] Moving more methods to sqlite async 2024-04-25 17:06:40 +05:30
ashilkn
7617817798 [mob] Two varients of CroppedFaceImageView for testing out which is more performant 2024-04-25 16:58:58 +05:30
ashilkn
f173bc4038 [mob] Wrote util methods to generate face thumbnails from an image path
Need to decide on which util method to use of the two after performance testing
2024-04-25 16:56:43 +05:30
Manav Rathi
38fe3f5300 Types 2024-04-25 16:54:49 +05:30
laurenspriem
3828fa328e [mob][photos] Increase conservative clustering threshold slightly 2024-04-25 16:41:23 +05:30
Manav Rathi
e90657ce5c Interim type 2024-04-25 16:35:45 +05:30
laurenspriem
f101468a8d [mob][photos] Show faces in file info regardless of blur value 2024-04-25 16:30:00 +05:30
Neeraj Gupta
483cfd1f39 [mob][photos] Lint suggestions 2024-04-25 16:28:30 +05:30
Neeraj Gupta
864f5c1fd4 [mob][photos] Extract strings 2024-04-25 16:25:04 +05:30
Manav Rathi
c2c5267e9b Tinker 2024-04-25 16:19:47 +05:30
laurenspriem
52a7f2753e [mob][photos] Tiny change 2024-04-25 16:15:04 +05:30
laurenspriem
7fd5ffc0e6 [mob][photos] Forgot method 2024-04-25 16:14:16 +05:30
laurenspriem
43cbfbfa33 [mob][photos] Automatically reject overlapping suggestions 2024-04-25 16:13:29 +05:30
Manav Rathi
73292a5405 aic 2024-04-25 15:48:54 +05:30
Manav Rathi
ca0afc2f3a File sizes 2024-04-25 15:47:34 +05:30
laurenspriem
7370557b08 [mob][photos] More use of sqlite async 2024-04-25 15:41:26 +05:30
Manav Rathi
ac9a272c70 Cache name 2024-04-25 15:33:44 +05:30
Manav Rathi
4ae4e42260 log.warn 2024-04-25 15:19:46 +05:30
Neeraj Gupta
9894f88654 [server] Cast changes (#1532)
## Description

- Add IP check before completing cast pair
- Rate limit register device/TV API
- Clean up older sessions after 7 days.

## Tests
2024-04-25 15:05:36 +05:30
Neeraj Gupta
32b5e8210e [web][cast] Remove debug logs and castDebugger (#1533)
## Description

## Tests
2024-04-25 15:03:19 +05:30
Neeraj Gupta
a243db032c [web][cast] Remove help qrcode 2024-04-25 15:00:25 +05:30
Neeraj Gupta
3f62357016 [web][cast] Remove debug logs and castDebugger 2024-04-25 14:59:02 +05:30
Manav Rathi
7086130129 Finalize uploader 2024-04-25 14:54:16 +05:30
Neeraj Gupta
94d0378e18 [server] Clean up old cast sessions 2024-04-25 14:43:25 +05:30
Manav Rathi
72b1df0b75 Rearrange 2024-04-25 14:41:48 +05:30
Manav Rathi
3ac81df561 Vids 2024-04-25 14:38:08 +05:30
Manav Rathi
c8542211b4 Images 2024-04-25 14:21:06 +05:30
laurenspriem
f0ebdb211c [mob][photos] Functionality to remove selected images from suggestion 2024-04-25 14:13:58 +05:30
Manav Rathi
eb4d83749f Hash 2024-04-25 14:08:03 +05:30
Neeraj Gupta
4694bf6b7e [server] Ratelimit add device code API for cast 2024-04-25 14:07:10 +05:30
Neeraj Gupta
8038583d5a [server] Restrict casting to same IP 2024-04-25 14:03:25 +05:30
Manav Rathi
0a09a915e9 Thread lastModifiedMs 2024-04-25 13:55:34 +05:30
Manav Rathi
6aa096d3d3 More 2024-04-25 13:46:10 +05:30
Manav Rathi
3c90a3438b Streamline 2024-04-25 13:21:38 +05:30
Neeraj Gupta
badd9263f4 [server] Add ip column 2024-04-25 13:14:37 +05:30
Neeraj Gupta
ef0873082a Fixed typo 2024-04-25 13:02:54 +05:30
Manav Rathi
c76d12f4a7 Document based on current understanding 2024-04-25 12:52:42 +05:30
Manav Rathi
c13812c31a Move to library 2024-04-25 12:46:21 +05:30
Neeraj Gupta
f777bdba1b [mob][photos] Extract strings 2024-04-25 12:44:46 +05:30
Manav Rathi
891ba97e0a Rearrange 2024-04-25 12:30:49 +05:30
ashilkn
2f7e0cd1ef [mob] perf: Decode images from which face is to be cropped, in an isolate to avoid jank 2024-04-25 12:29:29 +05:30
Manav Rathi
0675b04f84 Inline 2024-04-25 12:21:29 +05:30
laurenspriem
d429efaf14 [mob][photos] Trailing commas 2024-04-25 12:19:19 +05:30
Manav Rathi
0603f8ffb9 Extract 2024-04-25 12:15:09 +05:30
Manav Rathi
79d26173a4 Inline 2024-04-25 12:07:14 +05:30
Neeraj Gupta
36dbda895c [mob][photos] Send pair req after getting receiver status 2024-04-25 11:50:49 +05:30
Neeraj Gupta
e903fbf9bc [mob][photos] Continue showing pair dialog in case of error 2024-04-25 11:50:02 +05:30
Manav Rathi
f5ef478a90 Propogate last modified time
It should've also been possible to use the regular Last-Modified HTTP header,
however that'd have caused a potential loss of precsion if I correctly
understand the string format that we'll need to use.

Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString
- https://nodejs.org/api/fs.html#class-fsstats
2024-04-25 11:46:04 +05:30
Manav Rathi
e8e53b2ca5 Prepare for inlining 2024-04-25 11:15:42 +05:30
laurenspriem
7b8816a4bf [mob][photos] Higher conservative clustering threshold 2024-04-25 10:54:49 +05:30
laurenspriem
7e00a470aa [mob][photos] Lower both hard and soft blur thresholds 2024-04-25 10:54:19 +05:30
laurenspriem
1ae4482fe5 [mob][photos] Always check big clusters first for suggestions 2024-04-25 10:53:42 +05:30
Manav Rathi
420f52f78f Live photos too 2024-04-25 10:31:30 +05:30
Manav Rathi
476d8de72a Wrap 2024-04-25 10:16:16 +05:30
laurenspriem
d0420ce477 [mob][photos] Better sorting of faces in file info 2024-04-25 10:03:05 +05:30
Manav Rathi
5324d805c6 Rejig type 2024-04-25 09:56:25 +05:30
ashilkn
b022ef6d1e [mob] Crop image instead of using scale and translate transforms on OG image in CroppedFaceImageView widget 2024-04-25 09:35:55 +05:30
Manav Rathi
2e7b12ad29 Agenda and rearrange 2024-04-25 09:21:18 +05:30
laurenspriem
244d562207 [mob][photos] Increase the pool for face thumbnail generation 2024-04-25 08:50:44 +05:30
Manav Rathi
7f3d9690c0 exactType => extension 2024-04-24 22:02:46 +05:30
Manav Rathi
e03a0a09d4 lowercase extension 2024-04-24 21:28:30 +05:30
Manav Rathi
34d44f599d Cleanup 2024-04-24 21:12:56 +05:30
Manav Rathi
852fc7830f Document 2024-04-24 21:05:09 +05:30
Manav Rathi
5c07751c8c Rename 2024-04-24 20:59:30 +05:30
Manav Rathi
1106393045 Inline 2024-04-24 20:54:56 +05:30
Manav Rathi
d05ca58f57 Move to correct package 2024-04-24 20:46:36 +05:30
laurenspriem
3fbfa8c0e6 [mob][photos] Precompute face thumbnails for suggestions 2024-04-24 18:59:08 +05:30
Manav Rathi
c684b5fd69 [web] Upload refactoring - Part x/x (#1531) 2024-04-24 18:51:43 +05:30
Manav Rathi
1447d4976f lint-fix and beautifuller 2024-04-24 18:48:44 +05:30
Manav Rathi
af79db90d0 Doesn't work for us yet
Current version throws
    Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
    Webpack supports "data:" and "file:" URIs by default.
    You may need an additional plugin to handle "node:" URIs.

See: https://github.com/sindresorhus/file-type/issues/502

There are ways around by using polyfills, e.g.
- https://stackoverflow.com/questions/76500464/issues-while-using-gradio-client-in-next-js/76522223#76522223
- https://github.com/vercel/next.js/discussions/33982

but since no functional changes in the detection that impact us have been made,
stay back at the old version for now.
2024-04-24 18:44:09 +05:30
laurenspriem
6f6f976dec [mob][photos] Fix bug 2024-04-24 18:33:00 +05:30
Manav Rathi
38e18f29bd Update file-type dependency and move it to its correct package.json
Refs:
- https://github.com/sindresorhus/file-type/releases/tag/v17.0.0

Went through the release notes since v16 to check that none of the MIME types we
care about have changed.
2024-04-24 18:27:30 +05:30
Manav Rathi
f3c798148c type-detect 2024-04-24 18:06:52 +05:30
laurenspriem
07458fb247 [mob][photos] Recompute suggestions on rejected suggestion 2024-04-24 17:15:11 +05:30
laurenspriem
72ff6e2cf3 [mob][photos] Tiny change 2024-04-24 17:07:28 +05:30
laurenspriem
e0fbb2620b [mob][photos] Correct suggestion logic again 2024-04-24 17:06:35 +05:30
laurenspriem
462d1d4854 [mob][photos] Use cosineDistanceSIMD 2024-04-24 16:37:39 +05:30
laurenspriem
05a4e9f90b [mob][photos] Remove redundant logging 2024-04-24 16:31:36 +05:30
Manav Rathi
319fe0fb71 Rename 2024-04-24 16:21:58 +05:30
laurenspriem
3806ee3232 [mob][photos] Use SIMD in sorting suggestions too 2024-04-24 16:19:10 +05:30
Manav Rathi
2a8417af1c Rename 2024-04-24 16:18:36 +05:30
Manav Rathi
81c729a405 Inline 2024-04-24 16:18:01 +05:30
Manav Rathi
6f6ade1901 Inline 2024-04-24 16:14:10 +05:30
Manav Rathi
2b82c61853 Inline 2024-04-24 16:08:57 +05:30
Manav Rathi
e217635a1b Remove linkage 2024-04-24 16:07:28 +05:30
laurenspriem
e829f7b62f [mob][photos] Use vectors everywhere in cluster suggestion 2024-04-24 16:01:03 +05:30
Manav Rathi
105157c164 Shout less 2024-04-24 15:55:55 +05:30
Neeraj Gupta
a935f2e2cf [web][cast] Disable cast stop (#1529)
## Description

## Tests
2024-04-24 15:46:19 +05:30
laurenspriem
4b6641d7d8 [mob][photos] Speed up suggestion calculation 2024-04-24 15:46:00 +05:30
Neeraj Gupta
a5dfc97035 [web][cast] disable cast stop 2024-04-24 15:41:18 +05:30
Neeraj Gupta
aced4bb5cf [mob][photos] Update cast selection dialog 2024-04-24 15:22:24 +05:30
Manav Rathi
c8fc007898 [web] Fix build (#1528) 2024-04-24 15:19:43 +05:30
Manav Rathi
e5545e9c80 Make tsc happy to allow builds to complete 2024-04-24 15:16:46 +05:30
Manav Rathi
e0975130b6 More context from Discord 2024-04-24 15:10:15 +05:30
Manav Rathi
cf576c07f7 [desktop] [web] Upload refactoring (#1527) 2024-04-24 14:59:20 +05:30
Manav Rathi
80802d44e3 Better log 2024-04-24 14:55:41 +05:30
Manav Rathi
f32a396b36 Fix video thumbnailing (the .jpeg extension is required) 2024-04-24 14:37:14 +05:30
Manav Rathi
5f146aa597 Fix 2024-04-24 13:45:56 +05:30
Manav Rathi
7dba4c0af4 Fix 2024-04-24 13:41:35 +05:30
Manav Rathi
a08df9a839 Clarification after asking in Discord 2024-04-24 13:36:10 +05:30
Neeraj Gupta
729e2adfd1 [mob] Use separate widget for auto-cast 2024-04-24 13:21:12 +05:30
Manav Rathi
9de8a3d40a Fixes 2024-04-24 13:19:37 +05:30
Manav Rathi
e919dfd09d Scope 2024-04-24 13:08:54 +05:30
Manav Rathi
c486919547 Reuse 2024-04-24 13:06:11 +05:30
Manav Rathi
0566d2ee93 Spruce 2024-04-24 13:01:53 +05:30
Manav Rathi
51a1c77720 Get to a mergeable state 2024-04-24 12:50:55 +05:30
Manav Rathi
d96f710d6d Prune 2024-04-24 12:35:27 +05:30
Manav Rathi
239688b7d8 Remove potentially dangerous wip forks 2024-04-24 12:27:33 +05:30
Manav Rathi
06dbf5fb06 Phasal types 2024-04-24 12:21:52 +05:30
Manav Rathi
58b1c4b489 Doodle 2024-04-24 11:49:58 +05:30
Manav Rathi
cb0b549027 Rename 2024-04-24 11:42:35 +05:30
Manav Rathi
00c0780de1 Reorder 2024-04-24 11:40:35 +05:30
Neeraj Gupta
bed14d8ee9 [mob][photos] Use cast Icon in appbar 2024-04-24 11:38:22 +05:30
Manav Rathi
feb59b00d2 Move 2024-04-24 11:36:34 +05:30
Manav Rathi
e490f194e7 Line 2024-04-24 11:31:16 +05:30
Manav Rathi
58d2670171 Prune 2024-04-24 11:29:54 +05:30
laurenspriem
093f48fb63 [mob][photos] Sort found suggestions based on distance 2024-04-24 11:24:25 +05:30
Manav Rathi
3b0433c4ab Reorder 2024-04-24 11:17:41 +05:30
Manav Rathi
bded3c6706 Prune 2024-04-24 11:14:34 +05:30
Vishnu Mohandas
0e8166eadd Favorite button (#1526)
## Description
Wanted to increase the tap area for the favorite button. Ended up fixing
some other iOS specific issues that were getting silently ignored
(related to home widget and update service).

## Tests
- [x] Tested in Simulator
2024-04-24 11:09:49 +05:30
Manav Rathi
5b928883a6 Tinker 2024-04-24 11:03:49 +05:30
vishnukvmd
b5cf67ca98 Update like button widget 2024-04-24 11:00:23 +05:30
vishnukvmd
0b212bf7a6 Move padding within to increase tap-able area 2024-04-24 11:00:18 +05:30
Manav Rathi
27185c333c Prune 2024-04-24 10:58:04 +05:30
Neeraj Gupta
1251a014b0 [mob][cast] Show choice to auto and manual pair 2024-04-24 10:57:28 +05:30
vishnukvmd
50b6d95ec2 Fix update checker for iOS 2024-04-24 10:54:37 +05:30
vishnukvmd
88e34683ee Don't check for widgets on iOS 2024-04-24 10:54:21 +05:30
vishnukvmd
21baf023cc Fix typo 2024-04-24 10:39:50 +05:30
Manav Rathi
88c2a52edf Spruce 2024-04-24 10:39:47 +05:30
Manav Rathi
2bee444078 Tinker 2024-04-24 10:33:05 +05:30
Manav Rathi
9103dadc6f Tinker 2024-04-24 10:13:03 +05:30
Manav Rathi
48bace50df Extract 2024-04-24 10:04:29 +05:30
laurenspriem
759c8aa404 [mob][photos] Extra check in sorting suggestions 2024-04-24 10:01:07 +05:30
laurenspriem
c80208e754 [mob][photos] Fix in sorting suggestions 2024-04-24 09:53:42 +05:30
Manav Rathi
56713325ed Spruce 2024-04-24 09:42:18 +05:30
Manav Rathi
0d0397124f Hoist state 2024-04-24 09:22:51 +05:30
laurenspriem
7097ce3cf4 [mob][photos] Faster DB call when sorting suggestions 2024-04-24 09:06:20 +05:30
laurenspriem
efb1170b44 [mob][photos] unawait network call when accepting suggestion 2024-04-24 08:39:45 +05:30
Manav Rathi
0da46f3298 Shuffle 2024-04-23 21:07:40 +05:30
Manav Rathi
5befc53d8c Streamline 2024-04-23 20:54:57 +05:30
Manav Rathi
e1a3475faa Shorten chunk 2024-04-23 20:50:15 +05:30
Manav Rathi
86a102c47d Streamlined 2024-04-23 20:39:16 +05:30
Manav Rathi
c401b9a938 Log error 2024-04-23 20:33:06 +05:30
Manav Rathi
3c9ef294b0 Trim 2024-04-23 20:21:04 +05:30
Manav Rathi
2eef50a849 More 2024-04-23 20:20:14 +05:30
Manav Rathi
7940ef53b5 Route 2024-04-23 20:15:35 +05:30
Manav Rathi
c948b29729 Inline 2024-04-23 20:10:19 +05:30
Manav Rathi
6b55f3b2f1 Reduce use of uiservice 2024-04-23 19:50:49 +05:30
Manav Rathi
0ca4b06872 Trim logging 2024-04-23 19:46:21 +05:30
Manav Rathi
e81d3a0c3c Remove tracer 2024-04-23 18:56:15 +05:30
Manav Rathi
f96adddf54 Prune 2024-04-23 18:54:34 +05:30
Manav Rathi
190dc586a9 Prune 2024-04-23 18:47:48 +05:30
Manav Rathi
00c9d78ec9 Inline 2024-04-23 18:37:47 +05:30
Manav Rathi
2e222d9409 Remove derived state 2024-04-23 16:15:57 +05:30
Manav Rathi
c5ab1811fb Inline and skip 2024-04-23 16:08:19 +05:30
Neeraj Gupta
bd225ced04 [mob][cast] Return name and castDevice as record 2024-04-23 16:08:16 +05:30
Manav Rathi
5e5d66c2a2 Inline 2024-04-23 16:04:19 +05:30
Manav Rathi
c7e0986b12 Inline and reorder 2024-04-23 16:01:22 +05:30
Neeraj Gupta
89646ac469 [mob][cast] Refactor + add multiple cast plugin to gracefully handle fdroid 2024-04-23 15:57:17 +05:30
Manav Rathi
14427b6011 Remove unused 2024-04-23 15:57:09 +05:30
Manav Rathi
b80f567e74 Rearrange 2024-04-23 15:52:20 +05:30
Manav Rathi
3a93a7a956 Prune 2024-04-23 15:48:52 +05:30
Manav Rathi
91afe68111 Cluster 2024-04-23 15:43:59 +05:30
Manav Rathi
be2d8c45d0 ReadLivePhoto 2024-04-23 15:26:56 +05:30
Manav Rathi
7f9563ab9a Possible approach 2024-04-23 15:03:29 +05:30
Manav Rathi
308d8179b0 Rework 2024-04-23 14:52:16 +05:30
Neeraj Gupta
8fd330c304 Merge branch 'main' into cast 2024-04-23 14:35:37 +05:30
laurenspriem
7312633e02 [mob][photos] Only sort big suggestions 2024-04-23 14:26:30 +05:30
Manav Rathi
6ff41db939 Try another factoring 2024-04-23 14:16:41 +05:30
Neeraj Gupta
c55272c87e [mobile] Add feature flag plugin & use ente server to fetch flags. (#1524)
## Description

## Tests
2024-04-23 13:57:57 +05:30
Manav Rathi
6ca3eb55af Try another factoring 2024-04-23 13:49:09 +05:30
Neeraj Gupta
73f35c1a0c [mobile] Use passkey flag for showing passkey option 2024-04-23 13:38:55 +05:30
laurenspriem
3786c9def9 [mob][photos] Suggestions change parameters 2024-04-23 13:37:53 +05:30
Neeraj Gupta
8937a896d1 [mob][photos] Improve log 2024-04-23 13:37:34 +05:30
Manav Rathi
abbfbf695f Split earlier 2024-04-23 13:13:25 +05:30
Manav Rathi
66c64d0c58 Let the caller decide 2024-04-23 13:07:27 +05:30
Manav Rathi
a286b11adb Checkpoint 2024-04-23 12:55:27 +05:30
Manav Rathi
e6e235490a Content-Length 2024-04-23 12:37:42 +05:30
laurenspriem
6fe8dc7c66 [mob][photos] Check big and medium clusters first for suggestions 2024-04-23 12:18:19 +05:30
Manav Rathi
cb0d25030d API 1 2024-04-23 12:10:46 +05:30
Manav Rathi
1d4efd738c Stream reader 2024-04-23 12:04:10 +05:30
laurenspriem
9e87b4a2cc [mob][photos] Highlight face in cluster 2024-04-23 11:58:39 +05:30
Neeraj Gupta
9c87a64f92 [server] Add API to get feature flags + allow admin edit (#1518)
## Description

## Tests
2024-04-23 11:57:21 +05:30
Neeraj Gupta
cc49fdf126 [mobile] Remove old feature flag service 2024-04-23 11:55:16 +05:30
Neeraj Gupta
83075ea367 [mobile] Switch to feature flag plugin 2024-04-23 11:54:24 +05:30
Neeraj Gupta
74cdfdcb9e [mobile] Minor fixes in feature flag plugin 2024-04-23 11:40:51 +05:30
Manav Rathi
76be5e37d5 cp 2024-04-23 11:33:34 +05:30
Laurens Priem
dad427a498 [mob][photos] Fix issues with face thumbnail (#1523)
## Description

See commits.
2024-04-23 11:21:38 +05:30
Manav Rathi
1f5fbcae76 Checkpoint 2024-04-23 11:20:22 +05:30
ashilkn
4c25997bb6 [mob] use layoutBuilder in face thumbnail 2024-04-23 11:15:46 +05:30
Manav Rathi
4a12774a3c Impl 1 2024-04-23 11:07:10 +05:30
Manav Rathi
cd22400136 Agenda 2024-04-23 10:42:07 +05:30
Neeraj Gupta
40503d6ef2 [mobile]Whitelist domain ente.io as internal user 2024-04-23 10:32:53 +05:30
Manav Rathi
1f0c80cabc Refactor 1 2024-04-23 10:21:39 +05:30
Neeraj Gupta
41b151ce7b [plugin] Add ente_feature_flag plugin 2024-04-23 10:16:19 +05:30
laurenspriem
6a0a9bad1e [mob][photos] Clustering time logs 2024-04-23 09:56:46 +05:30
Manav Rathi
7a0abf2268 Prepare a split 2024-04-23 09:52:13 +05:30
ashilkn
731610ed94 [mob] Refactor 2024-04-23 08:30:59 +05:30
ashilkn
e875eb1389 [mob] Remove unnecessary ShapeDecoration and width constrain 2024-04-23 08:27:47 +05:30
ashilkn
3253a2bf26 [mob] Remove unnecessary LayoutBuilder 2024-04-23 08:26:29 +05:30
Vishnu Mohandas
16f4f38aa7 [auth] New translations (#1521)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-04-23 07:52:47 +05:30
Vishnu Mohandas
7cd1d5a951 [mobile] New translations (#1520)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-04-23 07:52:34 +05:30
Vishnu Mohandas
37a9baa9cf [web] New translations (#1519)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-23 07:52:15 +05:30
ashilkn
8225697e43 Merge branch 'mobile_face' into fix_face_thumbnail 2024-04-23 07:49:59 +05:30
Crowdin Bot
d9538c1a12 New Crowdin translations by GitHub Action 2024-04-23 02:04:57 +00:00
Crowdin Bot
96e5eae9dd New Crowdin translations by GitHub Action 2024-04-23 01:57:07 +00:00
Crowdin Bot
7e2ba7e5da New Crowdin translations by GitHub Action 2024-04-23 01:38:47 +00:00
laurenspriem
f49ede4a74 [mob][photos] Small fix in detecting sideways faces 2024-04-22 18:07:50 +05:30
Neeraj Gupta
5afc2de7bc [server] Add admin endpoint for updating feature flag 2024-04-22 17:43:14 +05:30
Neeraj Gupta
648806baa7 [server] Add endpoint to get user feature flags 2024-04-22 17:30:54 +05:30
laurenspriem
9cdd4fd713 [mob][photos] Face thumbnail generation from widgets 2024-04-22 17:24:34 +05:30
Manav Rathi
3ab14d5949 Remove unnecessary flexibility 2024-04-22 17:20:21 +05:30
Manav Rathi
dfa50e8ed1 thumb 2024-04-22 17:14:21 +05:30
Neeraj Gupta
3fbf6674fe [server] Add API to return feature flags value 2024-04-22 16:57:00 +05:30
Manav Rathi
05cd0bcd2c input filename is not needed
tested with sips
2024-04-22 16:49:06 +05:30
Neeraj Gupta
5b4d66933e [server] Add req validation for remoteStore insertOrUpdate 2024-04-22 16:44:12 +05:30
laurenspriem
fa466d715f [mob][photos] Improve suggestions by improving speed and preferring big clusters 2024-04-22 16:40:31 +05:30
Manav Rathi
4461775283 Desktop side 2024-04-22 16:32:04 +05:30
Manav Rathi
4750caf156 Blob 2024-04-22 16:12:03 +05:30
Manav Rathi
bb094743f3 Rework 2 2024-04-22 15:44:58 +05:30
Manav Rathi
1c9c6d849a Rework 1 2024-04-22 15:30:48 +05:30
Neeraj Gupta
7e5b63cdc0 [mob] Discard upload to deleted or others collection (#1516)
## Description
On server, certain uploads are getting rejected because the upload is
being made on a collection that's not owned by the user.
Still looking for the root cause where it's happening, this check during
upload ensures that the client is not repeatitively trying to upload the
file.

## Tests
2024-04-22 15:28:35 +05:30
Manav Rathi
9038ea7959 Dead-endish 2024-04-22 14:57:38 +05:30
Manav Rathi
875b92ea91 New interface 2024-04-22 14:39:48 +05:30
Manav Rathi
afca600a69 New abstraction 2024-04-22 14:04:49 +05:30
Manav Rathi
2a647e3ddb Dedup type 2024-04-22 12:00:41 +05:30
ashilkn
c1587cc5ea [mob] Remove redundant clippling and anti aliasing for performance gain 2024-04-22 11:52:39 +05:30
Manav Rathi
b1e9f863d7 Same 2024-04-22 11:49:59 +05:30
ashilkn
ae046e33b4 [mob] fix: face thumbnails getting cropped on the edges because the image uses BoxFit.cover 2024-04-22 11:45:54 +05:30
laurenspriem
37ab467da5 [mob][photos] Remove blur ranking debug option 2024-04-22 11:35:40 +05:30
Manav Rathi
37f1a7b630 Mirror the desktop impl 2024-04-22 11:25:14 +05:30
Neeraj Gupta
206ab1114e [mob]Discard upload to deleted or others collection 2024-04-22 11:23:04 +05:30
Neeraj Gupta
da1d778eeb [mob][photos] Add hook to connect to cast device 2024-04-22 10:47:49 +05:30
Manav Rathi
24d3156a5b [web][desktop] Upload refactoring to get desktop watch to work again - Part 3/x (#1515) 2024-04-22 10:44:42 +05:30
Manav Rathi
ed6a72eb3c Fix npe on main
TypeError: Cannot read properties of undefined (reading 'put')
        at DownloadManagerImpl.downloadFile (webpack-internal:///./src/services/download/index.ts:176:84)
2024-04-22 10:38:06 +05:30
Manav Rathi
d0956642b7 Get it back to a mergable state 2024-04-22 10:28:12 +05:30
Neeraj Gupta
ba2ca95c5b [server] Fix another validation issue (#1514)
## Description

## Tests
Tested file create and file update locally
2024-04-22 10:18:52 +05:30
Neeraj Gupta
59ce8ea9bb [server] Fix another validation issue 2024-04-22 10:18:18 +05:30
Neeraj Gupta
9485d4d2d0 [server] Another fix in file update req validation (#1513)
## Description
Even collectionID is missing.

## Tests
2024-04-22 10:03:46 +05:30
Neeraj Gupta
b43e077a24 [server] Another fix in file update req validation 2024-04-22 09:53:48 +05:30
Neeraj Gupta
8d5a0317ec [server] Fix validation for fileUpdate (#1512)
## Description

## Tests
2024-04-22 09:42:26 +05:30
Neeraj Gupta
74360f3c84 [server] Fix validation for fileUpdate 2024-04-22 09:41:14 +05:30
Prateek Sunal
5769634a50 fix: use header instead of nonce in EncryptionResult 2024-04-21 18:47:51 +05:30
Prateek Sunal
8fe87cc1e0 fix: on every upload also update last attempted at 2024-04-21 18:20:33 +05:30
Prateek Sunal
3ea655f0d0 fix: missing ')' error sqflite 2024-04-21 18:16:30 +05:30
Neeraj Gupta
9cb030124b [web][cast] Minor fixes (#1507)
## Description

## Tests
2024-04-21 18:04:35 +05:30
Neeraj Gupta
8e5d5c4e41 [web][cast] Minor fixes 2024-04-21 17:59:57 +05:30
Neeraj Gupta
fdc7cf6ad8 [web] Fix cast build 2024-04-21 17:56:50 +05:30
Neeraj Gupta
19b71e2f2a [cast] Load debug script (#1505)
## Description

## Tests
2024-04-21 14:40:04 +05:30
Neeraj Gupta
a7a44140e5 [cast] Load debug script 2024-04-21 14:35:56 +05:30
Neeraj Gupta
53b98b09c1 [web] Cast: add additional logs (#1503)
## Description

## Tests
2024-04-21 14:18:57 +05:30
Neeraj Gupta
026647f192 cast: add additional logs 2024-04-21 14:14:36 +05:30
Neeraj Gupta
52a0aab7e9 [cast] Add additional console logs for debuging remote device (#1501)
## Description

## Tests
2024-04-21 12:11:17 +05:30
Neeraj Gupta
3486ef090c [cast] Add additional console logs for debuging remote device 2024-04-21 11:58:57 +05:30
Manav Rathi
31a19cb738 Desktop side 2024-04-21 11:29:58 +05:30
Manav Rathi
cfced851c6 Expectation 2024-04-21 10:26:17 +05:30
Manav Rathi
36ccd3b202 Remove log interceptors 2024-04-21 09:48:34 +05:30
Manav Rathi
e39194d993 How it was 2024-04-21 09:41:22 +05:30
Manav Rathi
1026974e23 Nomenclature 2024-04-21 09:14:47 +05:30
Manav Rathi
381bffabbf Inline 2024-04-21 09:11:39 +05:30
Manav Rathi
7ca6b31a4c Do not synchronously create heic workers on app start 2024-04-21 09:00:26 +05:30
Manav Rathi
0fe6fa72b6 Rename 2024-04-21 08:51:51 +05:30
Manav Rathi
462caec0ca Rename 2024-04-21 08:45:18 +05:30
Manav Rathi
d3390f13af Inline 2024-04-21 08:22:30 +05:30
Manav Rathi
2ebcde1cdf Rename 2024-04-21 08:21:40 +05:30
Manav Rathi
08e71a1718 Import what we need 2024-04-20 21:58:09 +05:30
Manav Rathi
feb8814ac1 Prune 2024-04-20 21:54:43 +05:30
Manav Rathi
30fe91efb9 Inline 2024-04-20 21:49:22 +05:30
Manav Rathi
2b945dc169 Fix typo 2024-04-20 21:25:03 +05:30
Manav Rathi
0dfaa15923 Tinker 2024-04-20 21:09:35 +05:30
Manav Rathi
d62f6077ce Inline 2024-04-20 21:03:05 +05:30
Manav Rathi
71cf2c30d7 Reuse 2024-04-20 20:54:40 +05:30
Manav Rathi
9285954e01 Use same constants 2024-04-20 20:50:44 +05:30
Manav Rathi
09a0872af7 Inline 2024-04-20 20:48:12 +05:30
Manav Rathi
dd2c58d7a2 Unabstract 2024-04-20 20:41:38 +05:30
Manav Rathi
c33b231885 Trace paths 2024-04-20 20:32:53 +05:30
Manav Rathi
8d6787b823 Inline 2024-04-20 20:06:06 +05:30
Manav Rathi
5992efd58a Document 2024-04-20 19:54:26 +05:30
Manav Rathi
9c63bccddb Mirrorize 2024-04-20 19:49:21 +05:30
Manav Rathi
f820be9652 Clean up entry point 2024-04-20 18:11:21 +05:30
Manav Rathi
a9d8b083f6 Shorten 2024-04-20 17:59:55 +05:30
Manav Rathi
c8f04f35ba Reduce concepts 2024-04-20 17:59:07 +05:30
Manav Rathi
19103f4961 To point of use 2024-04-20 17:47:00 +05:30
Manav Rathi
5710846125 Inline 2024-04-20 17:44:58 +05:30
Manav Rathi
e3586811dc Scope 2024-04-20 17:38:15 +05:30
Manav Rathi
e1faa965b8 Remove layer of abstraction 2024-04-20 17:33:54 +05:30
Neeraj Gupta
4a7d859539 [mob][photos] Restrict multipart upload to debug builds (#1500)
## Description

## Tests
2024-04-20 17:32:05 +05:30
Neeraj Gupta
733fe6b3d8 [mob][photos] Restrict multipart upload to debug builds 2024-04-20 17:31:42 +05:30
Manav Rathi
86929c5d2d gen => make 2024-04-20 17:16:55 +05:30
Manav Rathi
f1e530dfa1 Reorder to match 2024-04-20 17:15:41 +05:30
Manav Rathi
eed95811c5 JPEG + temp wip 2024-04-20 17:12:25 +05:30
Neeraj Gupta
92e253ff1b [mob][photos] Increase loading iconSize + reduce padding (#1499)
## Description


https://github.com/ente-io/ente/assets/254676/94f15baf-d350-4738-879e-ad163a1e4b45


## Tests
2024-04-20 17:10:32 +05:30
Neeraj Gupta
1cdca5c9ff [mob][photos] Increase loading iconSize + reduce padding 2024-04-20 17:07:53 +05:30
Manav Rathi
9bddd741a5 Better log 2024-04-20 16:35:52 +05:30
Manav Rathi
30464c87f4 Reuse util 2024-04-20 16:33:37 +05:30
Manav Rathi
4985ba8aac Comment 2024-04-20 16:22:54 +05:30
Neeraj Gupta
cc682a0a09 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-20 16:01:08 +05:30
Neeraj Gupta
864f8444d5 Merge branch 'main' into mobile_face 2024-04-20 15:59:36 +05:30
Neeraj Gupta
6f1714e9a2 [mob][photos] Bump version : 0.8.84+604 (#1498)
## Description

## Tests
2024-04-20 15:47:22 +05:30
Neeraj Gupta
b9c82fb427 [mob][photos] Bump version 0.8.84+604 2024-04-20 15:45:04 +05:30
Neeraj Gupta
04a381fa51 [mob][photos] Use 100 as batchSize for copy 2024-04-20 15:44:43 +05:30
Neeraj Gupta
3e5648dae4 [mob][photos][internal] Enable fav + add to album action for shared files (#1484)
## Description


https://github.com/ente-io/ente/assets/254676/7ec2f82a-d0d1-4dbe-8836-87d1ffd793f6


## Tests

- [x] Hide Shared Item on Home Page If user has copied it.
- [x] Keep the fav state on the UI
- [x] Client side hash based dedupe works for copied items. Items are
linked to existing item instead of uploading duplicate entries
2024-04-20 15:33:54 +05:30
Neeraj Gupta
5e2c6f84f1 [mob][photos] Use internal flag check 2024-04-20 15:28:22 +05:30
Neeraj Gupta
b7d002feef [server] Support for copying files owned by others (#1496)
## Description

## Tests
Tested as part of https://github.com/ente-io/ente/pull/1484
- Verified that the client was able to download and decrypt the metadata
- Verified that storage was going up.
2024-04-20 15:27:11 +05:30
Neeraj Gupta
72ddbbdf79 [mob][photos] Add assert to ensure copy is enabled for internal users 2024-04-20 15:21:26 +05:30
Vishnu Mohandas
076335ce5c [mob][photos] Fix build failing in release workflow (#1497)
## Description

Build was failing with this error
```
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':connectivity_plus:compileReleaseJavaWithJavac'.
> error: invalid source release: 17
```

## Tests

- [x] Ran workflow to verify it's completing.
2024-04-20 15:18:31 +05:30
ashilkn
b10e212e0f [mob] use flutter v3.19.3 2024-04-20 15:11:09 +05:30
ashilkn
ae2e740752 [mob] fix build error in github workflow for photos 2024-04-20 15:01:07 +05:30
laurenspriem
edf99385dc [mob][photos] Precompute cluster summaries incrementally during clustering 2024-04-20 14:38:46 +05:30
laurenspriem
cde17441d6 [mob][photos] Forgot one import 2024-04-20 13:35:53 +05:30
laurenspriem
4ac295e1e2 [mob][photos] Remove ClusterResult old deprecated code 2024-04-20 13:35:02 +05:30
laurenspriem
a0502886b6 [mob] Minimum size argument for getting all cluster summaries 2024-04-20 13:26:47 +05:30
Neeraj Gupta
d0621eea3e [server] Limit copying max 100 files in single req 2024-04-20 12:54:27 +05:30
Neeraj Gupta
cbdd116cea [server] Copy thumb and file in parallel 2024-04-20 12:49:28 +05:30
Neeraj Gupta
91620965b0 [server] Minor refactor 2024-04-20 12:37:35 +05:30
Neeraj Gupta
5a5e3d28cb [server] Copy files in parallel 2024-04-20 12:36:18 +05:30
Manav Rathi
52d830cd06 modulestate 2024-04-20 12:30:43 +05:30
laurenspriem
7be1b63822 [mob] Clean up linear clustering method 2024-04-20 12:24:20 +05:30
Neeraj Gupta
bf738d9585 [server] Lint fix 2024-04-20 12:23:00 +05:30
Neeraj Gupta
ca7b03e945 [server] Fix incorrect pointer assignment in collection file map 2024-04-20 12:21:44 +05:30
Manav Rathi
14e4205feb Restructure 2024-04-20 12:16:58 +05:30
Manav Rathi
6337ffc203 Inline 2024-04-20 11:50:15 +05:30
Vishnu Mohandas
2160b4d7f9 Downgrade to Flutter v3.19.3 (#1495) 2024-04-20 11:33:31 +05:30
Ashil
a6e3d6de97 [mob][photos] Bump up to v0.8.83 (#1494) 2024-04-20 11:32:31 +05:30
Neeraj Gupta
c165b9ee9c [mob][photos] Lint 2024-04-20 11:31:09 +05:30
Neeraj Gupta
e2aae744be [mob][photos] Fix ownerID for copied items 2024-04-20 11:30:40 +05:30
vishnukvmd
f1e723a672 Downgrade to Flutter v3.19.3 2024-04-20 11:30:36 +05:30
Neeraj Gupta
9a34fdce05 [mob][photos] Enable add to option for shared photos for internal users 2024-04-20 11:30:20 +05:30
Vishnu Mohandas
200cab16c3 Setup GH action to auto-deploy Photos to the internal track (#1493) 2024-04-20 11:06:59 +05:30
vishnukvmd
a704251bdd Switch to manual workflow 2024-04-20 11:06:34 +05:30
vishnukvmd
38aca8a947 Setup GH action to auto-deploy Photos to the internal track 2024-04-20 10:59:49 +05:30
Manav Rathi
13542c1511 Document
Cite: https://github.com/electron/electron/issues/25640
2024-04-20 10:39:18 +05:30
Manav Rathi
7c1207fb9a Show dev tools option only in dev builds 2024-04-20 10:37:13 +05:30
Manav Rathi
d0b1ff5520 In band signalling 2024-04-20 10:17:51 +05:30
Manav Rathi
093b3a67cb Enum instead of error 2024-04-20 09:12:48 +05:30
Manav Rathi
926bc33c79 Use 2024-04-20 09:02:36 +05:30
Manav Rathi
46a53d5fdf Possibly 2024-04-20 08:47:02 +05:30
Manav Rathi
a8ae86cb43 genr 2024-04-20 08:11:14 +05:30
Manav Rathi
196090152c Remove an error that is never thrown 2024-04-19 21:39:44 +05:30
Manav Rathi
80a6fe16e7 timeouts 2024-04-19 21:34:35 +05:30
Manav Rathi
9cfdc4cae9 Look for next advancement points 2024-04-19 20:02:25 +05:30
Manav Rathi
766dd2d85d um finished 2024-04-19 19:50:27 +05:30
Manav Rathi
c034c5cc70 flatmap 2024-04-19 19:48:28 +05:30
Manav Rathi
bbe6dde4cb Inline 2024-04-19 19:40:12 +05:30
Manav Rathi
6fe8a72299 Spruce 2024-04-19 19:38:11 +05:30
Manav Rathi
a079035a43 Back in the watcher 2024-04-19 19:32:48 +05:30
Neeraj Gupta
fbf8b61891 [server] Fix query 2024-04-19 19:20:21 +05:30
Manav Rathi
afaf89ad1a Except the size 2024-04-19 19:00:25 +05:30
laurenspriem
01aecb9742 [mob] store sideways face boolean in local face table 2024-04-19 18:13:35 +05:30
Ashil
8113b70441 [mob][photos] Remove code related to sqlite3 (#1490) 2024-04-19 18:11:52 +05:30
Ashil
c4c513a1d7 [mob][photos] Use sqlite_async instead of sqlite3 (#1489)
## Description

Using both `sqlite_async` and `sqlite3` for querying at the same time
was throwing this error:
`error: SqliteException(5): while executing, database is locked,
database is locked (code 5)`

So, have used `sqlite_async` everywhere.

## Tests

- [x] Tested all changes
2024-04-19 16:56:40 +05:30
Neeraj Gupta
fc5705dd7b [mob][photos] Add additional check for fileType 2024-04-19 16:46:42 +05:30
Neeraj Gupta
01822b760d [mob][photos] Dedupe using hash before copying 2024-04-19 16:45:29 +05:30
laurenspriem
a0fa90cb50 [mob] Remove faceArea and faceVisibility from local DB 2024-04-19 16:43:41 +05:30
Manav Rathi
42c1bec044 JSON 2 2024-04-19 16:41:54 +05:30
laurenspriem
6d3e1325c4 [mob] Update face widget 2024-04-19 16:35:33 +05:30
Manav Rathi
505d376dc9 issa supertype 2024-04-19 16:27:46 +05:30
Manav Rathi
5dd21b2b38 Parallel 2024-04-19 16:25:58 +05:30
Manav Rathi
32ac31fd44 Start using it 2024-04-19 16:20:20 +05:30
Manav Rathi
d1069dcfbb Dig a gully on the side 2024-04-19 16:06:33 +05:30
Manav Rathi
bf3d04fc12 Deeper 2024-04-19 16:01:05 +05:30
laurenspriem
4095b14589 [mob] Conservative threshold for combination of low score and blur 2024-04-19 15:57:11 +05:30
Neeraj Gupta
02890a100b [mob][photos] Lint fix 2024-04-19 15:56:49 +05:30
Neeraj Gupta
f55fd36579 [mob][photos] Fix: Pass copy of EnteFile to avoid modification in original 2024-04-19 15:54:49 +05:30
Manav Rathi
de783b6158 Seep in paths 2024-04-19 15:54:42 +05:30
Neeraj Gupta
08040d9154 [mob][photos] Use loading indicator instead of blocking progress 2024-04-19 15:52:41 +05:30
laurenspriem
a92081e703 [mob] Only analyze clustering in debugMode 2024-04-19 15:20:29 +05:30
laurenspriem
f3f85e81ca [mob] Rename constant 2024-04-19 15:08:10 +05:30
Manav Rathi
814803edb4 [desktop] Watch related refactoring - Part 2/x (#1488)
Inline, mostly, in preparation for a subsequent refactoring.
2024-04-19 15:05:01 +05:30
Manav Rathi
41aeb63465 Fix lint issues
unrelated to this PR, come from https://github.com/ente-io/ente/pull/1479
2024-04-19 15:02:09 +05:30
laurenspriem
ecc1bc9980 [mob] Use more conservative cluster threshold for sideways faces 2024-04-19 14:58:52 +05:30
Neeraj Gupta
564ca77a8b Merge remote-tracking branch 'origin/main' into mobile_save_a_copy 2024-04-19 14:57:19 +05:30
Neeraj Gupta
136f53b581 [mob][photos] Fix: Remove fav action on shared photos 2024-04-19 14:53:41 +05:30
Manav Rathi
82c365b2db Inline 2024-04-19 14:49:24 +05:30
Manav Rathi
5f87dce547 Inline 2024-04-19 14:47:44 +05:30
Manav Rathi
643d028ffc Inline 2024-04-19 14:44:29 +05:30
Manav Rathi
7ed6e729f5 Inline 2024-04-19 14:37:35 +05:30
Manav Rathi
2b35d586c1 Inline 2024-04-19 14:33:54 +05:30
Manav Rathi
292084c00d Inline 2024-04-19 14:32:09 +05:30
Ashil
937267ed72 [mob] perf: avoid unnecessary frame builds and computations when toggling full fullscreen when viewing a file (#1487) 2024-04-19 14:17:01 +05:30
Manav Rathi
0509aad4af Remove unused prop 2024-04-19 14:15:53 +05:30
Neeraj Gupta
3788fdda6f [mob][photos]Fix: Show fav icon on shared photos 2024-04-19 14:15:33 +05:30
Manav Rathi
f59ecdb8d8 Reword 2024-04-19 14:14:48 +05:30
laurenspriem
2b88daa15f [mob] Method for detecting sideways faces 2024-04-19 14:00:15 +05:30
Manav Rathi
2c46be6ded async 2024-04-19 13:46:09 +05:30
Neeraj Gupta
710f76ee40 Merge remote-tracking branch 'origin/main' into save_a_copy 2024-04-19 13:36:00 +05:30
Neeraj Gupta
7f879aaf57 [mob][photos] Hide incoming file from home screen is saved 2024-04-19 13:34:44 +05:30
Manav Rathi
967ef2e3ea [desktop] Watch refactoring to get it work with new IPC (#1486) 2024-04-19 13:09:40 +05:30
Manav Rathi
760be52dc5 Fix schema 2024-04-19 12:59:10 +05:30
Manav Rathi
5be1b07c71 Remove noise on logout 2024-04-19 12:50:57 +05:30
Manav Rathi
57d09c08d4 Only load when in electron 2024-04-19 12:47:16 +05:30
Manav Rathi
00173bae1e Fix type 2024-04-19 12:46:10 +05:30
Manav Rathi
1b3c38d91f Lintable 2024-04-19 12:40:19 +05:30
Neeraj Gupta
398e66a0eb [mob][photos] Lint fix 2024-04-19 12:36:28 +05:30
Manav Rathi
f3e1abfaa1 Tie loops 2024-04-19 12:34:09 +05:30
laurenspriem
a9ca8a4a24 [mob] Better handling of cluster update 2024-04-19 12:19:10 +05:30
Neeraj Gupta
04df64de05 [server] Improvate req validation on file createOrUpdate (#1485)
## Description
During the testing of copyFile functionality, I ran into issues where
files were created without all attributes (esp File EncryptedKey & Nonce
for thumbnail and file decryption).
This change

## Tests
Tested regular file upload, unable to test update as Photos app on
simulator is not showing save option. I don't expect it to break.
2024-04-19 12:11:57 +05:30
Manav Rathi
9d7f056883 Some shape 2024-04-19 12:03:00 +05:30
laurenspriem
ab0a99cf76 [mob] Make sure cluster page is updated after file removal 2024-04-19 11:42:39 +05:30
Neeraj Gupta
816fa330de [server] Implement support for copying object 2024-04-19 11:26:14 +05:30
Neeraj Gupta
7631eb3b12 [mob][photos] Enable fav incoming files 2024-04-19 11:22:47 +05:30
Manav Rathi
f24fd98bc3 Sculpt 2024-04-19 11:22:02 +05:30
Manav Rathi
722cc74e64 Club 2024-04-19 10:27:18 +05:30
Manav Rathi
0e9703f770 Event listeners 2024-04-19 10:16:46 +05:30
Manav Rathi
500bac0b32 Prune happens on the node side now 2024-04-19 09:26:28 +05:30
Neeraj Gupta
b8ad320931 [mob] Add assertion check 2024-04-19 09:18:55 +05:30
Ashil
dac0ddf41c [mob][photos] Migrate use of WillPopScope to PopScope (#1473)
## Description

[Documentation followed for the
migration](https://docs.flutter.dev/release/breaking-changes/android-predictive-back)

## Tests

- [x] Tested screens in which migration wasn't straight forward
(HomeScreen)
2024-04-19 09:16:42 +05:30
Neeraj Gupta
d430616ccb [mobile] New translations (#1482)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-04-19 09:16:24 +05:30
Manav Rathi
46ac8968e8 Localize global state 2024-04-19 09:12:45 +05:30
Vishnu Mohandas
c7eb9a6084 [mob][photos] Migrate from sqflite (#1483)
## Tests

- [x] Tested all changes
2024-04-19 09:07:24 +05:30
Laurens Priem
7500758857 [desktop] Better blur detection service (#1479)
## Description

Improve blur detection that better handles noise in background of faces

## Tests

Manually verified the blur detection scores are identical to those on
mobile
2024-04-19 09:03:06 +05:30
Crowdin Bot
340f0b75cf New Crowdin translations by GitHub Action 2024-04-19 01:56:15 +00:00
Prateek Sunal
dca63ca487 fix: get collection key correctly 2024-04-18 23:00:08 +05:30
Prateek Sunal
336a6c53fc fix: use existing encryption path on multipart entry found 2024-04-18 22:42:32 +05:30
Prateek Sunal
f65e8359a7 fix: use random path, add date based fields, use collection id to encrypt file key 2024-04-18 22:38:10 +05:30
Neeraj Gupta
420cec01d2 [mob][photos] Rename method 2024-04-18 22:30:02 +05:30
Manav Rathi
b49cb9dec2 Update add/rm 2024-04-18 21:32:15 +05:30
Manav Rathi
a9ccec6398 The remaining 2 2024-04-18 21:26:05 +05:30
Prateek Sunal
901e50b69b chore: move multipart size out of constants 2024-04-18 21:15:21 +05:30
Manav Rathi
76053c4029 impl 2024-04-18 21:07:00 +05:30
laurenspriem
31aa46ead2 [desktop] Better blur detection service 2024-04-18 20:41:28 +05:30
Manav Rathi
ca36b3c750 Migrate 2024-04-18 19:59:06 +05:30
Manav Rathi
14285b66ae Seep deeper 2024-04-18 18:45:02 +05:30
Manav Rathi
4455bb9595 API on electron side 2024-04-18 18:31:38 +05:30
laurenspriem
e20f13f02b [mob] Re-cluster when removing file from person/cluster 2024-04-18 17:57:14 +05:30
ashilkn
23801f8fa6 Merge branch 'main' into migrate_from_sqflite 2024-04-18 17:15:08 +05:30
ashilkn
b238ba2c62 [mob] Migrate from sqflite (2) 2024-04-18 17:14:22 +05:30
laurenspriem
34798c344c [mob] Fix typo 2024-04-18 16:32:11 +05:30
ashilkn
eb68a6c293 [mob] Migrate from sqflite 2024-04-18 16:23:43 +05:30
Manav Rathi
275b763648 Work towards it 2024-04-18 16:18:01 +05:30
laurenspriem
e7992674d5 [mob] Use async sqlite for getting file creation times 2024-04-18 16:17:04 +05:30
Vishnu Mohandas
a49448b9cc [mob][photos] pref: use sqlite_async for getFilesCreatedWithinDurations (#1478) 2024-04-18 16:07:27 +05:30
laurenspriem
74247c4563 [mob] Use async sqlite for getting faceID from cluster 2024-04-18 16:00:47 +05:30
laurenspriem
be1b4b359c [mob] Fix typo 2024-04-18 15:32:59 +05:30
Manav Rathi
8a728abffe Envision the API 2024-04-18 15:31:22 +05:30
laurenspriem
79e763bf16 [mob] Small changes 2024-04-18 15:29:02 +05:30
laurenspriem
afbb1c69c2 [mob] More clustering methods in Computer within cluster 2024-04-18 15:20:28 +05:30
Neeraj Gupta
b18e5cb036 [mob][photos] Minor refactor 2024-04-18 15:11:15 +05:30
Manav Rathi
c90cd258ec Deduce 2024-04-18 15:05:39 +05:30
laurenspriem
417c5eab1c [mob] Rename cluster method to clarify use of Computer 2024-04-18 14:48:57 +05:30
Manav Rathi
9d4a76a642 Compose 2024-04-18 14:46:13 +05:30
laurenspriem
ba58ac1358 [mob] Add merges to predictComplete method 2024-04-18 14:44:12 +05:30
Manav Rathi
9e35469bdc Emulate basename and dirname 2024-04-18 14:42:52 +05:30
Prateek Sunal
46b7dba9e3 fix: don't re-encrypt file, add nonce field, upload parts logic 2024-04-18 14:37:07 +05:30
Manav Rathi
89162bc45f [desktop] Fix the imagemagick path when running in dev build (#1477)
"resources" needs to be "build"
2024-04-18 14:24:02 +05:30
Manav Rathi
6cc705d682 [desktop] Fix the imagemagick path when running in dev build
"resources" needs to be "build"
2024-04-18 14:22:53 +05:30
Manav Rathi
4fd9ecba56 Abstraction 2024-04-18 14:13:55 +05:30
Manav Rathi
e9e17e6ea3 Handle dotfiles 2024-04-18 14:10:43 +05:30
Manav Rathi
ca29c81394 Don't need much 2024-04-18 13:59:00 +05:30
Manav Rathi
9c336a38c0 path mainp 2024-04-18 13:47:46 +05:30
Manav Rathi
518d573add Improve docs 2024-04-18 13:23:20 +05:30
Manav Rathi
230a8a72ab Use correct types
Not sure if this is expected or some misconfiguration in our case, but the types
generated by electron-store do not have the correct TypeScript types.
2024-04-18 13:19:21 +05:30
Manav Rathi
4852a87ae0 Load after attaching listeners 2024-04-18 13:11:45 +05:30
Manav Rathi
f19b90d0ae Imbibe 2024-04-18 13:04:19 +05:30
Manav Rathi
28c1c45325 Tinker 2024-04-18 12:58:11 +05:30
Manav Rathi
eb587a313a Tighten 2024-04-18 12:55:16 +05:30
Manav Rathi
532824b3d5 Spruce types 2024-04-18 12:53:47 +05:30
Manav Rathi
9e093493eb Implement new 2024-04-18 12:44:07 +05:30
Manav Rathi
0668490f8a Desktop side 2024-04-18 12:29:41 +05:30
Manav Rathi
04f32d64f1 Unclass 2024-04-18 12:00:01 +05:30
Manav Rathi
4d80dc3af9 Interface for pending uploads 2024-04-18 11:51:14 +05:30
laurenspriem
7a5e1263e0 [mob] Use complete clustering for breaking up clusters 2024-04-18 11:26:24 +05:30
laurenspriem
45d18b187c [mob] Add completeClustering functionality 2024-04-18 11:25:48 +05:30
ashilkn
e87ae499eb [mob] pref: use sqlite_async for getFilesCreatedWithinDurations 2024-04-18 10:59:22 +05:30
Manav Rathi
73cadcd36b Remove layer 2024-04-18 10:57:13 +05:30
Manav Rathi
278df2aae8 Rearrange and simplify
The auto launcher migration already rolled out months ago, except for rare cases
it is safe to remove (impact of non-migration is not critical too).
2024-04-18 10:54:37 +05:30
Manav Rathi
775dbaf10d Remove unused keys store 2024-04-18 10:16:22 +05:30
Manav Rathi
dedc2f8585 wip 2024-04-18 09:23:03 +05:30
Vishnu Mohandas
f1c878f462 Fix typos 2024-04-18 08:34:45 +05:30
Manav Rathi
7bf5c0ad5c Continue refactoring 2024-04-17 21:51:17 +05:30
Manav Rathi
cdc45e9fcc Remove old types 2024-04-17 20:56:58 +05:30
Manav Rathi
acec41f526 More renaming - wip 2024-04-17 20:56:00 +05:30
Manav Rathi
ca5b98b8d2 Enum to type - wip 2024-04-17 20:32:21 +05:30
Manav Rathi
739c541f5d Terminology 2024-04-17 19:44:39 +05:30
Manav Rathi
f21ccd4935 Rearrange 2024-04-17 19:38:07 +05:30
Manav Rathi
170ea0c997 Cleanup 2024-04-17 19:21:40 +05:30
laurenspriem
e3fd836901 [mob] clustering make it difficult for good faces to link to bad faces 2024-04-17 17:46:53 +05:30
Manav Rathi
a22423d039 WIP 2 2024-04-17 17:00:51 +05:30
laurenspriem
51d15cc441 [mob] Clustering with dynamic threshold based on face blur and score 2024-04-17 16:38:47 +05:30
laurenspriem
72e677e9e5 [mob] Minimum cluster size of 20 2024-04-17 16:36:45 +05:30
Manav Rathi
52c35108ca WIP 1 2024-04-17 15:51:51 +05:30
Neeraj Gupta
c124cde471 [server] Add basic scaffold for copying files 2024-04-17 15:43:48 +05:30
Neeraj Gupta
aabb884828 [server] Add validation logic for file copy 2024-04-17 15:19:20 +05:30
laurenspriem
6f26901073 [mob] Minor refactor of clustering methods 2024-04-17 14:54:31 +05:30
Manav Rathi
2051ccee46 List files alternate 2024-04-17 14:48:03 +05:30
Manav Rathi
ee89506923 Unlegacy isDir 2024-04-17 14:27:48 +05:30
Manav Rathi
00c400f682 Reword 2024-04-17 14:19:11 +05:30
Manav Rathi
4971099da9 Merge 2024-04-17 13:41:10 +05:30
Manav Rathi
626321b6d1 [web] Create package for sharing code between photos and cast (#1470) 2024-04-17 12:42:14 +05:30
Manav Rathi
75e07353be Thank you tsc 2024-04-17 12:38:52 +05:30
Manav Rathi
df483b0755 lint 2024-04-17 12:37:18 +05:30
Manav Rathi
184ba91a2d Refactor 2024-04-17 12:34:00 +05:30
Manav Rathi
652be207be Update another place 2024-04-17 12:11:08 +05:30
Manav Rathi
fb1d2c800a Dedup 2024-04-17 12:07:15 +05:30
Manav Rathi
871cb417d6 Replace 2024-04-17 12:03:45 +05:30
Manav Rathi
27a2b087c7 Elaborate 2024-04-17 12:01:54 +05:30
Manav Rathi
2d5ab044ee Docs 2024-04-17 11:55:07 +05:30
Manav Rathi
637d830f19 Replace encodelivephoto 2024-04-17 11:51:35 +05:30
Neeraj Gupta
e9bc465353 [server] Add request object for copying files 2024-04-17 11:40:37 +05:30
Manav Rathi
3172104578 Start using @/media's version 2024-04-17 10:08:08 +05:30
Manav Rathi
4b9446a9b0 Create a package to share code between photos and cast 2024-04-17 09:47:28 +05:30
Prateek Sunal
4942724423 fix: better classes and enums 2024-04-16 23:55:36 +05:30
Prateek Sunal
9a810e1cd6 fix: old files 2024-04-16 21:58:58 +05:30
Prateek Sunal
c29beab8d6 Merge remote-tracking branch 'origin/main' into mobile-resumable 2024-04-16 21:57:00 +05:30
Prateek Sunal
6efedfdd28 Merge branch 'mobile-resumable' of https://github.com/ente-io/ente into mobile-resumable 2024-04-16 21:44:29 +05:30
Manav Rathi
486044ad51 [cast] Fix live photo handling, precache (#1465)
- Fix live photo cast (previously these were not being rendered because
of an incorrect conditional)
- Precache

There is still an initial delay where the missing thumbnail is shown on
switching to the next image on first load. But anyways, these are
improvements, can tackle that later.
2024-04-16 21:06:30 +05:30
Manav Rathi
d80358552f Trim spaces for more forgiving copy paste 2024-04-16 21:02:57 +05:30
Manav Rathi
c98d5a3e40 Filter out files with HEIC previews 2024-04-16 21:00:47 +05:30
Manav Rathi
2dd705d7f7 Not better not worse 2024-04-16 20:49:47 +05:30
Manav Rathi
0a248e5ce5 Prepare 2024-04-16 20:22:12 +05:30
Manav Rathi
598a885df2 Refactor
This doesn't fix the initial gap, functionality is still the same, but the flow
is now easier to understand.
2024-04-16 20:17:28 +05:30
Manav Rathi
138b775c13 At a more opportune place 2024-04-16 19:57:08 +05:30
Manav Rathi
2bb3e152f8 Precache 2024-04-16 19:54:00 +05:30
Manav Rathi
f78e4d3914 Fix live photo cast 2024-04-16 19:42:53 +05:30
laurenspriem
f61a5f91b6 [mob] Debug option to get clusters of blur values 2024-04-16 19:22:27 +05:30
Manav Rathi
bb9c384a52 [desktop] Fix watch related IPC - Part 1/x (#1463) 2024-04-16 18:45:38 +05:30
Ashil
45942f7931 [mob][photos] Search field fixes (#1464)
## Description

See commits.
2024-04-16 17:49:28 +05:30
Manav Rathi
f775890af7 Rename on the renderer side 2024-04-16 16:35:30 +05:30
Manav Rathi
1fea509793 Rename the type on the electron side 2024-04-16 16:29:22 +05:30
Manav Rathi
9a6f3133b1 Reduce API 2024-04-16 16:17:27 +05:30
Manav Rathi
afec29d6e7 Inline and spruce 2024-04-16 15:54:28 +05:30
Neeraj Gupta
f645fff31c [mob][photos] Add hook to show cast devices 2024-04-16 15:38:41 +05:30
Manav Rathi
8fbff7e3a3 Inline 2024-04-16 15:33:47 +05:30
Manav Rathi
96ea996401 Inline 2024-04-16 15:29:56 +05:30
Manav Rathi
cf889b24af Inline 2024-04-16 15:28:23 +05:30
Manav Rathi
cd4b2a6810 Inline 2024-04-16 15:26:35 +05:30
laurenspriem
d4d9253f1a [mob] Minor changes 2024-04-16 15:22:59 +05:30
Manav Rathi
415fa79271 [desktop] Make export work with the new IPC (#1461)
There is one piece of the puzzle still missing - the files are being
sent wholesale instead of being streamed - and this might cause memory
issues. I haven't benchmarked yet, leaving this until we get some
response from the upstream issue
https://github.com/electron/electron/issues/41872 (hopefully it's just
some thing I missed).

But otherwise, ran export on a trivial library and it worked fine, so
everything is at least hooked up properly now.
2024-04-16 15:12:34 +05:30
laurenspriem
b1eb6c11b2 [mob] Show face direction in face widget in debug mode 2024-04-16 15:11:51 +05:30
laurenspriem
618b152f17 [mob] FaceMlService static method for full pipeline 2024-04-16 15:04:15 +05:30
laurenspriem
e3b8d8975f [mob] Better blur detection handling background noise 2024-04-16 14:51:23 +05:30
Manav Rathi
2403c19f70 Add a temporary fallback 2024-04-16 14:50:25 +05:30
laurenspriem
624a06c3f8 [mob] Deprecate methods 2024-04-16 14:37:56 +05:30
laurenspriem
e3b1cb8014 [mob] Debug log blur values of cluster when opening cluster page 2024-04-16 14:33:13 +05:30
Vishnu Mohandas
7ada38cca0 [auth] New translations (#1456)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-04-16 13:41:23 +05:30
Vishnu Mohandas
3c464549cf Remove submodules (#1460) 2024-04-16 11:47:29 +05:30
vishnukvmd
4cede0feb0 Remove submodules 2024-04-16 11:46:37 +05:30
Vishnu Mohandas
d9cef398cf [photos] v0.8.82 (#1459) 2024-04-16 11:36:53 +05:30
vishnukvmd
3b5a2e9d2a [photos] v0.8.82 2024-04-16 11:36:35 +05:30
Manav Rathi
450e494a5e Throwing darts 2024-04-16 11:34:34 +05:30
Prateek Sunal
4b2ebec11b [FEAT] Route widget on click to image (#1418) (#1435)
## Description

Previously clicking on it was opening favorites album but now it will
open favorites album as well as image.

## Tests
2024-04-16 11:28:51 +05:30
Manav Rathi
2bc22f472e [web] New translations (#1455)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-16 11:27:16 +05:30
Manav Rathi
b104334fc6 [server] Specify a default for apps.public-albums (#1458)
local.yaml is only loaded in the local environment, and will not be used
in production. To avoid specifying it in both production and local
configurations, use it as a default specified in the code instead
(that's the pattern we're using in other places too from what I
remember, maybe we should refactor that too, but that's a bigger task
not tied to this change).

**Tested by**

On a local dev cluster

- [x] Not specifying anything and ensuring that the default is picked
- [x] Specifying an override in museum.yaml and verifying that is used
instead
2024-04-16 11:26:44 +05:30
Manav Rathi
81d1563c3d Also reproducible on latest beta 2024-04-16 10:17:51 +05:30
Neeraj Gupta
db95de8829 [mob][photos] Add cast pkg dependency 2024-04-16 09:55:01 +05:30
Manav Rathi
d53a4a14b8 Try another reader 2024-04-16 09:46:55 +05:30
Manav Rathi
1e202a76c4 Works if we don't stream 2024-04-16 09:39:43 +05:30
Manav Rathi
74b9a2a408 [server] Specify a default for apps.public-albums
local.yaml is only loaded in the local environment, and will not be used in
production. To avoid specifying it in both production and local configurations,
use it as a default specified in the code instead (that's the pattern we're
using in other places too from what I remember, maybe we should refactor that
too, but that's a bigger task not tied to this change).

**Tested by**

On a local dev cluster
- Not specifying anything and ensuring that the default is picked
- Specifying an override in museum.yaml and verifying that is used instead
2024-04-16 09:19:13 +05:30
Manav Rathi
bd00471a08 [web] Clear search bar state when value is falsey (#1457)
Updates https://github.com/ente-io/ente/pull/1453 so that we also clear
the existing state by calling the setFoo methods even when value is
falsey.
2024-04-16 09:09:18 +05:30
Manav Rathi
d7b0beb949 [web] Clear search bar state when value is falsey
Updates https://github.com/ente-io/ente/pull/1453 so that we also clear the
existing state by calling the setFoo methods even when value is falsey.
2024-04-16 09:03:35 +05:30
Crowdin Bot
22c080c2aa New Crowdin translations by GitHub Action 2024-04-16 02:03:30 +00:00
Crowdin Bot
0f4624e829 New Crowdin translations by GitHub Action 2024-04-16 01:37:39 +00:00
Prateek Sunal
311d23873e chore: bump version 2024-04-15 21:44:49 +05:30
Prateek Sunal
0956e3ccc4 Merge remote-tracking branch 'origin/main' into mobile-widgetsimproved 2024-04-15 21:43:52 +05:30
Manav Rathi
2577cfe2f1 Replace cast with @ts-expect-error 2024-04-15 21:43:38 +05:30
Prateek Sunal
587f721683 fix: revert old 2024-04-15 21:43:30 +05:30
Manav Rathi
a5be903abe Try writing the stream manually (same result) 2024-04-15 21:37:38 +05:30
Manav Rathi
8d76966d99 Upgrade Electron and other dependencies
This was primarily for getting the latest Electron, but I ran `yarn
upgrade-interactive` and upgraded the other non-breaking deps (mostly dev) too.

Reason for wanting electron is to try and see if this backport fixes the issue
with our streams not getting faithfully written:
https://github.com/electron/electron/pull/41052

In some ad-hoc and quick testing, I noticed that the new `writeStream` we've
implemented works fine for files up to 128 K, presumably some chunk size, but
then begins to diverge. Sounds similar (but not exactly the same) as this issue:
https://github.com/electron/electron/issues/39658

Unfortunately, this didn't fix the issue we're facing, so our case is perhaps
different.
2024-04-15 21:21:09 +05:30
Manav Rathi
020ed59d40 [web] Fix dev mode error on search input (#1453)
## Description
Ran into error after clearing search bar of queries by hitting
backspace.

>  The error is shown below
> Thank you to the team for considering 


## Tests
**Error**
![Screenshot 2024-04-15
184234](https://github.com/ente-io/ente/assets/82031202/f5f9845c-9420-4746-998b-2c67136d69cd)
**Fix**
Fixed by wrapping the line-causing error around by an `if` block.
2024-04-15 20:50:06 +05:30
Manav Rathi
2c5ed5bce9 [desktop] Streaming IPC - Part 2/x (#1454)
The data is getting streamed, but not correctly in some cases. So the
mechanics are in place, need to figure out the readable stream chunks
etc.
2024-04-15 20:48:48 +05:30
daviddeepan
09c07e58e6 search-input runtime-error fix 2024-04-15 19:54:33 +05:30
Manav Rathi
f2e352c344 Handle spaces 2024-04-15 19:50:56 +05:30
Manav Rathi
83d2644bf4 Fix double slashing 2024-04-15 19:43:30 +05:30
Manav Rathi
67aacf8391 Replace everywhere 2024-04-15 19:40:50 +05:30
Manav Rathi
c99c4ac839 Use new method 2024-04-15 19:35:19 +05:30
Manav Rathi
6b331612b6 writeStream 2024-04-15 18:39:08 +05:30
Neeraj Gupta
61f05f8eff [mob][photos] Use modificationTime as creationTime if it's lower than… (#1451)
… creationTime

## Description

## Tests
2024-04-15 16:40:59 +05:30
Neeraj Gupta
c840ac4d6c [mob][photos] Upgrade connectivity_plus pkg (#1450)
## Description

## Tests
2024-04-15 16:26:30 +05:30
Manav Rathi
d9ce28e4a3 [desktop] Streaming IPC 🚅 - Proof of concept (#1452) 2024-04-15 16:05:23 +05:30
Manav Rathi
a74d904989 Use a test stream
Example taken from https://developer.chrome.com/docs/capabilities/web-apis/fetch-streaming-requests
2024-04-15 16:00:25 +05:30
Manav Rathi
8cdb31783b Enhance 2024-04-15 15:57:57 +05:30
Manav Rathi
4c88f5eec9 Add write handler 2024-04-15 15:53:40 +05:30
Neeraj Gupta
fdb9e4e205 [mob][photos] Use modificationTime as creationTime if it's lower than creationTime 2024-04-15 15:46:47 +05:30
Manav Rathi
0881212e4f Rearrange 2024-04-15 15:44:11 +05:30
Manav Rathi
720e84ba1f Prune
Refs:
- https://www.electronjs.org/docs/latest/api/protocol
- https://github.com/electron/electron/issues/39031
- https://github.com/electron/electron/issues/38749
2024-04-15 15:25:33 +05:30
Neeraj Gupta
5bac629c2b [mob][photos] Fix connectivityResult check 2024-04-15 15:21:43 +05:30
Manav Rathi
057fe9bbb1 Allow fetches for "stream"
Ref:
- https://github.com/electron/electron/issues/40362
2024-04-15 15:08:10 +05:30
Neeraj Gupta
ab1ac9cf11 [mob][lint] error on unrelated_type_equality_checks rule voilation 2024-04-15 15:04:10 +05:30
Neeraj Gupta
223a4ffcfd [mob][photos] Upgrade connectivity_plus pkg 2024-04-15 15:00:59 +05:30
Prateek Sunal
d46d74c6e2 Merge branch 'main' into mobile-widgetsimproved 2024-04-15 14:50:28 +05:30
Neeraj Gupta
09a9410ba9 [mob][photos] Mark methods private 2024-04-15 14:42:58 +05:30
Neeraj Gupta
5e32752ba4 [mob][photos] Move multlipart uploader in separate service 2024-04-15 14:40:06 +05:30
Manav Rathi
2a425b0f9b Add duplex parameter to a streaming request
Attempt to solve the following error in the browser's console when trying to
make the request:

    [error] download and save failed: TypeError: Failed to construct 'Request':
    The `duplex` member must be specified for a request with a streaming body
2024-04-15 14:22:00 +05:30
Manav Rathi
9eab93cfdf Suppress webpack's critical dependency warnings for libheif
Supressing it for now since it obscures other important information in the console.

Upstream issue, which currently doesn't have a workaround:
https://github.com/catdad-experiments/libheif-js/issues/23

Full error message:

     ⚠ ../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
    Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

    Import trace for requested module:
    ../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
    ../../node_modules/libheif-js/wasm-bundle.js
    ../../node_modules/heic-decode/index.js
    ../../node_modules/heic-convert/index.js
    ./src/worker/convert.worker.ts
    ./src/utils/comlink/ComlinkConvertWorker.ts
    ./src/services/heic-convert/service.ts
    ...

Refs:
- https://stackoverflow.com/questions/38392697/webpack-umd-critical-dependency-cannot-be-statically-extracted
2024-04-15 13:47:46 +05:30
Neeraj Gupta
30d562ed1a [mob][photos] Fix upload clearTable 2024-04-15 12:49:58 +05:30
Manav Rathi
89b832d21f Baby's first steps 2024-04-15 12:47:55 +05:30
Manav Rathi
0161739bc0 Outline the plan 2024-04-15 12:41:17 +05:30
Manav Rathi
3ea4879cf0 Remove text qualifier
The type already enforces that. And it reads better and the call sites this way.
2024-04-15 12:20:41 +05:30
Neeraj Gupta
8185fca7c6 Merge branch 'main' into mobile-resumable 2024-04-15 12:18:18 +05:30
Manav Rathi
73ef03a5d9 Move read/write whole files into fs 2024-04-15 12:17:33 +05:30
Neeraj Gupta
6cfa176566 Merge branch 'main' into mobile-resumable 2024-04-15 12:12:37 +05:30
Neeraj Gupta
d8c798e5a2 [FEAT] Multipart upload support (#1347)
## Description

Add multipart file upload support
2024-04-15 12:00:49 +05:30
Neeraj Gupta
177d35a32e Merge branch 'main' into multipart 2024-04-15 11:59:49 +05:30
Neeraj Gupta
6300984bd1 Merge branch 'main' into multipart 2024-04-15 11:59:15 +05:30
Manav Rathi
896cf0f785 Disable full file caches for now
This is only needed for ML indexing, let us revisit this once the ML flow is
done instead of adding a premature and possibly disk-space heavy optimization.
2024-04-15 11:50:23 +05:30
Manav Rathi
f5fa3128a7 [desktop] Fix desktop payments redirect (#1447)
Fixes: https://github.com/ente-io/ente/issues/1440

There were two issues:

- It was a backward incompatible change to change the scheme from
ente:// to next://. Revert.

- We also need to setup a top level redirect when the user presses back
without making any changes to their subscription.

**Tested by**

Running payments app and desktop app locally, and verifying that

- [x] Signing up for a new account, purchasing a plan and verifying that
we went back to the app as expected
- [x] Existing account, after pressing back from the manage payments
page we go back to the app as expected
2024-04-15 11:05:23 +05:30
Manav Rathi
95c0f53d21 Preserve parameters
This was needed for the purchase success to be relayed back.
2024-04-15 10:59:07 +05:30
ashilkn
2a835e80a4 [mob] bump up photos version to v0.8.81 2024-04-15 10:58:35 +05:30
ashilkn
48cbe17ccd [mob] Make the borders of settings drawer not-round 2024-04-15 10:58:35 +05:30
Neeraj Gupta
2638a06551 [mob][photos] Enable multiPart upload for internal users 2024-04-15 10:56:41 +05:30
Manav Rathi
8d24a489f6 [desktop] Fix payment redirect
Fixes: https://github.com/ente-io/ente/issues/1440

There were two issues:

- It was a backward incompatible change to change the scheme from ente:// to
  next://. Revert.

- We also need to setup a top level redirect when the user presses back without
  making any changes to their subscription.

**Tested by**

Running payments app and desktop app locally, and verifying that after
interactions with the payments endpoint we go back to the desktop app's actual
contents correctly.
2024-04-15 10:47:14 +05:30
Neeraj Gupta
601a776b7a Merge branch 'main' into multipart 2024-04-15 10:37:42 +05:30
Ashil
bb90b2d3bc [mob][photos] Upgrade flutter (#1434)
## Description

- Update flutter
- Update packages
- Fix UI issues because of update (material 3)
- bump up version to v0.8.80

## Tests

- [x] Building on android and iOS.

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-15 10:21:18 +05:30
Manav Rathi
5a3545e56e [web] Use the public link origin provided by the server (#1444)
When implementing https://github.com/ente-io/ente/pull/1443 it was found
that the Photos web app wasnt' using the sharedCollectionUrl prefix that
is returned by the server. Instead, it was using
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT as the baseHost, while mobile client
completely rely on the server for returning the correct hostUrl.

**Tested by**

Running against the modified server, and verifying that changes to
apps.public-albums were being used.
2024-04-15 10:09:55 +05:30
Neeraj Gupta
c73dc36a8c [Server] Fix data cleanup pipeline for recovered account (#1410)
## Description
For accounts that were recovered post deletion (within x days), we were
not removing the entry from data_cleanup cron.

The data_clean up cron anyways verify that the account is indeed deleted
before proceeding with deletion, so it was not causing any harm, but the
cron was logging error.

## Tests

- [x] Verify that data clean up entry is removed if the account is
recovered
- [x] Verify that for existing data_cleanup entry for already recovered
account, the entry is deleted from cron.
2024-04-15 10:09:29 +05:30
Manav Rathi
92b5b56ac7 Add docs 2024-04-15 10:06:14 +05:30
Manav Rathi
bcfd144ce9 [web] Use the public link origin provided by the server
When implementing https://github.com/ente-io/ente/pull/1443 it was found that
the Photos web app wasnt' using the sharedCollectionUrl prefix that is returned
by the server. Instead, it was using NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT as the
baseHost, while mobile client completely rely on the server for returning the
correct hostUrl.

**Tested by**

Running against the modified server, and verifying that changes to
apps.public-albums were being used.
2024-04-15 09:57:01 +05:30
Neeraj Gupta
8ed2c7cff9 [server] Pick base publicHost url from config (#1443)
## Description

## Tests
Ran locally with the config in local.yaml and verified that it's
modified as well when I had put localhost:3002 in the museum.yaml config
2024-04-15 09:56:21 +05:30
github-actions[bot]
2387d7875c [auth] New translations (#1240)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-04-15 09:36:11 +05:30
Manav Rathi
2ae119b2ec [desktop] Fix export related IPC - Part 4/x (#1441) 2024-04-14 20:23:04 +05:30
Manav Rathi
18ac361688 Remove unused IPC method 2024-04-14 20:11:25 +05:30
Manav Rathi
87077417a2 Remove dup 2024-04-14 20:07:17 +05:30
Manav Rathi
d0ac3ea9ca Remove newly dead code 2024-04-14 20:00:59 +05:30
Manav Rathi
a5f9fdd10d Restructure selection 2024-04-14 19:59:13 +05:30
Manav Rathi
881a963fde Inline 2024-04-14 19:46:26 +05:30
Manav Rathi
f9560ec533 Inline 2024-04-14 19:43:31 +05:30
Manav Rathi
22616bb77d Remove top level error suppressors 2024-04-14 19:42:30 +05:30
Manav Rathi
4d19c46d7c Replace exception handling for control flow 2024-04-14 19:39:35 +05:30
Manav Rathi
cc323905d5 Another 2024-04-14 19:33:49 +05:30
Manav Rathi
fca4b2aca6 Use also for the image 2024-04-14 19:29:22 +05:30
Manav Rathi
c4ac5e39a2 Refactor 2024-04-14 19:25:01 +05:30
Manav Rathi
28574e516d [desktop] Fix export related IPC - Part 3/x (#1439) 2024-04-14 19:04:38 +05:30
Manav Rathi
1232c74b8b [web] Fix CSS alignment issue on gallery page (#1438)
## Description
Ran ente.io locally on PC and found a CSS-alignment issue on the
`http://localhost:3000/gallery` page.
The alignment issue was found when it was locally hosted and found when
'/gallery' was in an empty state.
The line - "Welcome to" followed by the image of 'ente' was not aligned.
It was fixed by adding the following line `vertical-align: middle;` to
the styled component.

> Please find below images showing the off-alignment and the rectified
image.

> Thank you ! to the team for considering

## Tests
### Before
![Screenshot 2024-04-14
115356](https://github.com/ente-io/ente/assets/82031202/d733a8b3-702f-41df-9480-9692db6b8e86)
### After
![Screenshot 2024-04-14
115433](https://github.com/ente-io/ente/assets/82031202/0c5acc8e-0107-4b00-b7e0-d26a4369ed19)
2024-04-14 19:01:44 +05:30
Manav Rathi
22f221d481 Extract 2024-04-14 18:36:36 +05:30
Manav Rathi
f5a4830a5a Remove unnecessary check
e.g. macOS node shell

    > await fs.rename("/tmp/foo/bar/quxx.txt", "/tmp/foo/a.txt")
    [Error: ENOENT: no such file or directory, rename '/tmp/foo/bar/quxx.txt' -> '/tmp/foo/a.txt']
2024-04-14 18:28:10 +05:30
Manav Rathi
eb64a00ed2 Remove unnecessary checks
It is simpler for us to parallel the rm command than our bespoke variant.
2024-04-14 18:22:46 +05:30
Manav Rathi
59b9e3e586 Move into fs 2024-04-14 18:12:19 +05:30
Manav Rathi
0f1c2fa1cd Remove unnecessary check
Mentioned in rmdir docs

Tested on macOS with a node shell

    > await fs.rmdir("/tmp/foo/bar/baz")
    Uncaught [Error: ENOTEMPTY: directory not empty, rmdir '/tmp/foo/bar/baz']
2024-04-14 18:06:49 +05:30
Manav Rathi
fb5ae3a2ac Remove unnecessary check
rmdir docs already mention it'll only work on folders

Also tested on macOS with a node shell

    > await fs.rmdir("/tmp/foo/bar/baz/quxx.txt")
    Uncaught [Error: ENOTDIR: not a directory, rmdir '/tmp/foo/bar/baz/quxx.txt'] {
2024-04-14 17:55:40 +05:30
Prateek Sunal
5da8ee7e27 fix: segregate logic for launch from widget 2024-04-14 14:35:10 +05:30
daviddeepan
2a9060bd39 css-alignment-issue-page-gallery 2024-04-14 13:53:00 +05:30
Vishnu Mohandas
db50d121e6 Update index.md 2024-04-14 11:30:47 +05:30
Manav Rathi
adb37f38e4 Shorten 2024-04-14 10:31:45 +05:30
Manav Rathi
14922b65f8 Inline 2024-04-14 10:28:27 +05:30
Manav Rathi
7438c3301e Move mkdirIfNeeded into fs 2024-04-14 10:25:28 +05:30
Manav Rathi
0e8678715a Remove layer 2024-04-14 10:03:16 +05:30
Manav Rathi
3824ebe91a Remove exportService indirection 2024-04-14 09:57:58 +05:30
Manav Rathi
ea34eebfc9 Remove implicit electron dependency 2024-04-14 09:53:18 +05:30
Manav Rathi
eeb1952585 Use 2024-04-14 09:30:51 +05:30
Manav Rathi
72dd47fa7b Audit rename 2024-04-14 09:27:52 +05:30
Manav Rathi
b977f982dd [desktop] Fix export related IPC - Part 2/x (#1436) 2024-04-13 21:56:46 +05:30
Manav Rathi
38db03c3a0 Start giving it more power 2024-04-13 21:50:56 +05:30
Manav Rathi
e268b9204e Inline 2024-04-13 21:46:34 +05:30
Manav Rathi
acd50bb172 Inline 2024-04-13 21:39:36 +05:30
Manav Rathi
28d559bd84 Hoist 2024-04-13 21:35:58 +05:30
Manav Rathi
e87c7ed108 Inline 2024-04-13 21:34:37 +05:30
Manav Rathi
67a81f8d86 Dedup 2024-04-13 21:31:36 +05:30
Manav Rathi
30f147ec5b Update jsdoc 2024-04-13 21:26:00 +05:30
Manav Rathi
6829d0bf15 Remove unused 2024-04-13 21:24:52 +05:30
Manav Rathi
d03b265eb4 Captialize
We've been capitalizing the name at places where we can. This name is only used
when creating new exports, and shouldn't effect existing export, so it is safe
to change.
2024-04-13 21:21:48 +05:30
Manav Rathi
297ca09535 Refactor and extract 2024-04-13 21:20:20 +05:30
Manav Rathi
82bbb1c6dd Cleanup and document 2024-04-13 21:06:47 +05:30
Prateek Sunal
f04e45a461 fix: logic of await/async 2024-04-13 21:00:21 +05:30
Manav Rathi
4fbfbf0aa0 Cleanup 2024-04-13 20:53:35 +05:30
Manav Rathi
56d04066ea sfn 2024-04-13 20:38:29 +05:30
Manav Rathi
7838f7484d Make explicit 2024-04-13 20:29:17 +05:30
Prateek Sunal
45ab6d92b5 fix: also route to photo on click of widget 2024-04-13 20:22:34 +05:30
ashilkn
c3de396d21 [mob] bump up version to v0.8.80 2024-04-13 20:06:32 +05:30
ashilkn
f2987a82f2 [mob] merge main 2024-04-13 20:05:38 +05:30
ashilkn
81c47bc768 [mob] UI changes to segmented button in stripe and store pages 2024-04-13 20:01:28 +05:30
ashilkn
6c75b35472 [mob] pub upgrade 2024-04-13 19:45:06 +05:30
ashilkn
d35fe3ff00 [mob] Use SegmentedButton instead of broken(UI) toggle in app store subscription page 2024-04-13 19:44:22 +05:30
ashilkn
10cb54ddc1 [mob] Use SegmentedButton instead of broken(UI) toggle in stripe subscription page 2024-04-13 19:43:19 +05:30
ashilkn
0348e43e81 Merge branch 'material_3_ui_issues_fix' into update_deps_and_flutter 2024-04-13 19:08:01 +05:30
Manav Rathi
a6887e3037 [web] Add ESLint to enforce HMR how vite likes it (#1433)
Configuration changes taken from the vite starter (react-ts).

From the [vite
docs](https://github.com/vitejs/vite-plugin-react-swc?tab=readme-ov-file#consistent-components-exports)

> For React refresh to work correctly, your file should only export
React components.
>
> If an incompatible change in exports is found, the module will be
invalidated. To make it easier to export simple constants alongside your
component the module is only invalidated when their value changes.

While we're not currently using vite for our main apps, it would be
worthwhile to write code in a way that a future migration to it is
painless if needed.

About the what and the why, the Gatsby docs are illuminating:

https://www.gatsbyjs.com/docs/reference/local-development/fast-refresh/#how-it-works

Some other refs:
- https://github.com/ArnaudBarre/eslint-plugin-react-refresh
-
https://github.com/vitejs/vite/discussions/4577#discussioncomment-1161007
- https://github.com/vitejs/vite-plugin-react/issues/34
2024-04-13 18:57:24 +05:30
Manav Rathi
c7757cb08e Prune more stale overrides 2024-04-13 18:54:15 +05:30
Manav Rathi
ce642e12c1 Remove stale disables 2024-04-13 18:50:12 +05:30
Manav Rathi
e07559c8da Fix oopsie 2024-04-13 18:41:47 +05:30
Manav Rathi
64231c73f1 [web] Add ESLint to enforce HMR how vite likes it
Configuration changes taken from the vite starter (react-ts).

From the vite docs (https://github.com/vitejs/vite-plugin-react-swc?tab=readme-ov-file#consistent-components-exports)

> For React refresh to work correctly, your file should only export React components.
>
> If an incompatible change in exports is found, the module will be invalidated.
> To make it easier to export simple constants alongside your component the module
> is only invalidated when their value changes.

While we're not currently using vite for our main apps, it would be worthwhile
to write code in a way that a future migration to it is painless if needed.

About the what and the why, the Gatsby docs are illuminating:
https://www.gatsbyjs.com/docs/reference/local-development/fast-refresh/#how-it-works

Some other refs:
- https://github.com/ArnaudBarre/eslint-plugin-react-refresh
- https://github.com/vitejs/vite/discussions/4577#discussioncomment-1161007
- https://github.com/vitejs/vite-plugin-react/issues/34
2024-04-13 18:38:24 +05:30
Manav Rathi
27fb43837b [desktop] Fix export related IPC - Part 1/x (#1432) 2024-04-13 18:31:36 +05:30
Manav Rathi
4f764dc77c Consolidate constants 2024-04-13 18:27:40 +05:30
Manav Rathi
63a2ca7606 Fix lint 2024-04-13 18:24:57 +05:30
Manav Rathi
eb995f4354 Split 2024-04-13 18:20:40 +05:30
Manav Rathi
37cb2aaaf9 Refactor 2024-04-13 18:09:32 +05:30
Neeraj Gupta
4c93033522 [mob] Upgrade sqflite_async 2024-04-13 18:08:57 +05:30
Neeraj Gupta
ab70908980 Merge branch 'update_deps_and_flutter' of https://github.com/ente-io/auth into update_deps_and_flutter 2024-04-13 18:07:44 +05:30
ashilkn
a3f102c183 [mob] Use custom toggle widget to remove UI issues after migrating to material 3 2024-04-13 18:07:01 +05:30
Neeraj Gupta
2feee2cc5e [mob][photos] Bump flutter version in README and github workflow 2024-04-13 17:58:41 +05:30
Neeraj Gupta
c183531e8b Switch to older version of share_plus 2024-04-13 17:53:06 +05:30
Neeraj Gupta
9522854685 Flutter gradle plugin changes 2024-04-13 17:52:49 +05:30
Neeraj Gupta
d864acafa3 [mob] Upgrade to flutter 3.19.5 2024-04-13 17:52:35 +05:30
ashilkn
75dd7c3e48 [mob] make function private 2024-04-13 17:15:13 +05:30
ashilkn
2c0148d661 [mob] fix UI of toggle widget on iOS 2024-04-13 17:11:04 +05:30
Manav Rathi
1ffa905f99 Inline 2 2024-04-13 17:00:50 +05:30
Manav Rathi
07fa5cb83d Inline 2 2024-04-13 16:59:47 +05:30
Manav Rathi
c90ba63aad Inline 1 2024-04-13 16:57:04 +05:30
Neeraj Gupta
e09b77770d [mob] Upgrade sqlite_async 2024-04-13 16:55:21 +05:30
Manav Rathi
284d7920b3 Inline 2 2024-04-13 16:54:26 +05:30
Manav Rathi
ca114a467d Inline 1 2024-04-13 16:50:23 +05:30
ashilkn
372ced2502 [mob] fix colour of loading dialog 2024-04-13 16:48:36 +05:30
Manav Rathi
f7e961e86b Inline 2024-04-13 16:44:55 +05:30
laurenspriem
ef4135f378 [mob] tiny change 2024-04-13 16:41:51 +05:30
laurenspriem
38381f6bb0 [mob] Tiny face widget debug change 2024-04-13 16:02:49 +05:30
laurenspriem
7d414a7b7d [mob] Increase activity timer of cluster isolate 2024-04-13 15:55:04 +05:30
laurenspriem
2ce078e173 [mob] Fix too many clustering rounds/buckets 2024-04-13 15:54:36 +05:30
laurenspriem
8801dc1a7a [mob] Show clustered percentage in UI 2024-04-13 15:11:12 +05:30
Vishnu Mohandas
e72003c199 [mob][photos] Prepare for release v0.8.79 (#1430)
![v0 8 79
changelog](https://github.com/ente-io/ente/assets/77285023/f55a544a-9d10-467c-b23f-bd57f9a2efe4)
2024-04-13 15:09:12 +05:30
ashilkn
1a8ec9fb4c [mob] minor change to change log 2024-04-13 15:02:43 +05:30
Prateek Sunal
1ce6edf626 fix: add internal user config 2024-04-13 14:17:54 +05:30
Prateek Sunal
70bf917f32 Merge remote-tracking branch 'origin/multipart' into mobile-resumable 2024-04-13 14:10:00 +05:30
Prateek Sunal
17507cce68 fix: remove unused constants 2024-04-13 14:09:52 +05:30
Prateek Sunal
590fd8441b Merge remote-tracking branch 'origin/multipart' into mobile-resumable 2024-04-13 14:07:56 +05:30
Prateek Sunal
51d02177ad chore: bump dependencies 2024-04-13 14:07:20 +05:30
Prateek Sunal
0a06ee1f55 chore: lint fix 2024-04-13 14:04:06 +05:30
Prateek Sunal
564ca440e7 fix: remove unwanted line 2024-04-13 14:03:54 +05:30
Prateek Sunal
fa68ef5f59 fix: string 2024-04-13 14:02:49 +05:30
Prateek Sunal
3f99bb5511 fix: notification permission error 2024-04-13 14:02:49 +05:30
Prateek Sunal
769d2c9bd7 fix: integration test readd 2024-04-13 14:02:49 +05:30
Prateek Sunal
ea38997ff9 feat: add status, fix xml parsing 2024-04-13 14:02:49 +05:30
Prateek Sunal
7495a0e388 fix: uploader logic 2024-04-13 14:02:49 +05:30
Prateek Sunal
262c68a59d fix: add end to file stream 2024-04-13 14:02:49 +05:30
Prateek Sunal
5fa2b34f35 fix: update database logic 2024-04-13 14:02:49 +05:30
Prateek Sunal
3a8b737968 fix: add file key in table 2024-04-13 14:02:49 +05:30
Prateek Sunal
5e3805b7bb fix: upload status to table 2024-04-13 14:02:49 +05:30
Prateek Sunal
a4f89c0337 fix: add support for inital resumable 2024-04-13 14:02:48 +05:30
Prateek Sunal
de06c8f38b fix: use better way to remove quotes 2024-04-13 14:02:29 +05:30
Prateek Sunal
780ec7f9d6 fix: generalize xml parser logic 2024-04-13 14:02:29 +05:30
Prateek Sunal
2b9db5cbfb fix: only multipart when count is greater than 1 2024-04-13 14:02:29 +05:30
Prateek Sunal
baeac73339 fix: complete url xml 2024-04-13 14:02:29 +05:30
Prateek Sunal
69394fc8a6 fix: separate xml parser util 2024-04-13 14:02:29 +05:30
Prateek Sunal
99d84821c7 feat: add multipart upload support 2024-04-13 14:02:29 +05:30
ashilkn
8fa18e1ffe [mob] update change log 2024-04-13 13:37:03 +05:30
ashilkn
703ba5ad9b [mob] bump up to v0.8.79 2024-04-13 13:22:38 +05:30
Manav Rathi
ba5383789a [desktop] Add an OPFS based cache (#1429)
See the extensive documentation in `blob-cache.ts` for the why and the
how. Done basic sanity testing for normal flows, the beta ML flows still
need to be tested.
2024-04-13 13:19:37 +05:30
Manav Rathi
7deb0dca8e Fix lint 2024-04-13 13:17:42 +05:30
Manav Rathi
f2d3ec74a1 Granular migration 2024-04-13 13:12:16 +05:30
laurenspriem
5cf10c9c9b [mob] Rename face clustering service 2024-04-13 13:10:20 +05:30
laurenspriem
c58a8dc773 [mob] Better face clustering logging 2024-04-13 13:08:34 +05:30
Manav Rathi
0f3b28a425 Revert "Recreate ML db"
This partially reverts commit 95a0e80c5b.
2024-04-13 12:56:21 +05:30
Manav Rathi
95a0e80c5b Recreate ML db 2024-04-13 12:46:48 +05:30
ashilkn
04e45b7908 fix: call updateEmail after initState to avoid runtime exception
updateEmail uses getEnteColorScheme() which adds an inherited widget as dependency to the widget. Adding an inherited widget as dependency before init state is completed throws an exception
2024-04-13 12:42:55 +05:30
Neeraj Gupta
555a960def [auth] Potential fix for keyboard popup not working while focusing on… (#1428)
… search

## Description

## Tests
2024-04-13 12:15:49 +05:30
Neeraj Gupta
949a304078 [auth] Potential fix for keyboard popup not working while focusing on search 2024-04-13 12:03:29 +05:30
laurenspriem
c67a1fa52a [mob] Make clustering in buckets the default 2024-04-13 11:32:03 +05:30
Manav Rathi
b50f8a8212 Promise 2024-04-13 10:35:20 +05:30
Manav Rathi
edd9c94d73 URL => id, which is what it is 2024-04-13 10:32:40 +05:30
Manav Rathi
d0dc8b1320 Dedup 2024-04-13 10:22:24 +05:30
Manav Rathi
c0d95edac8 Inline 2 2024-04-13 10:19:16 +05:30
Manav Rathi
f7ba28d1fb Inline 1 2024-04-13 10:17:58 +05:30
Manav Rathi
eef9bf1f26 Inline 2024-04-13 10:16:08 +05:30
Manav Rathi
75e693186a Inline 2024-04-13 10:14:35 +05:30
Manav Rathi
02abe24213 Detect ML search status 2024-04-13 10:00:22 +05:30
Manav Rathi
5082124aa5 Cleanup 2024-04-13 09:44:06 +05:30
Manav Rathi
997c74d064 res2 2024-04-13 09:39:29 +05:30
Manav Rathi
9cf57c847e Rely on global uncaught handler to log 2024-04-13 09:34:49 +05:30
Manav Rathi
9aaf6098b7 Use new APIs for file 2024-04-13 09:08:13 +05:30
Manav Rathi
4055f02a1d Cleaner 2024-04-13 08:52:37 +05:30
Manav Rathi
b32c13fe31 thumb2 2024-04-13 08:48:39 +05:30
Manav Rathi
c52fd4383c Nicer delete 2024-04-13 08:43:01 +05:30
Manav Rathi
a86cdb1f1e Interface 2024-04-13 08:40:08 +05:30
Manav Rathi
999f7e45c9 Remove unused param 2024-04-13 08:34:57 +05:30
Manav Rathi
e8b779745d put2 2024-04-13 08:33:13 +05:30
Manav Rathi
f2aee30f7c get 2024-04-13 08:18:11 +05:30
Manav Rathi
db96a0eb1b get 2024-04-13 08:12:38 +05:30
Manav Rathi
6d1f8b4728 Blobs it is 2024-04-13 08:04:43 +05:30
Manav Rathi
acedbdbe7d Note 2024-04-13 07:42:24 +05:30
Manav Rathi
6a3f4baed3 Enhance 2024-04-13 07:30:32 +05:30
Manav Rathi
6cd795e29c Create alternate code path 2024-04-13 07:19:28 +05:30
Manav Rathi
b5096b02da Remove unused knob
Ref:
- https://www.typescriptlang.org/docs/handbook/2/classes.html#parameter-properties
2024-04-13 06:56:46 +05:30
Manav Rathi
3499e47c88 Tweak 2024-04-13 06:47:43 +05:30
Manav Rathi
5ff01c40d8 poc implementation 2024-04-12 21:29:05 +05:30
Manav Rathi
295c0aa82e Splinter 2024-04-12 21:12:37 +05:30
Manav Rathi
871a0e83cf Fix 2024-04-12 20:59:15 +05:30
Manav Rathi
a56cf55ffa Remove indirection 2024-04-12 20:58:00 +05:30
Manav Rathi
b056cf7f56 Move to newer shared package 2024-04-12 20:55:07 +05:30
Manav Rathi
a2a8be3b19 Scaffold the split 2024-04-12 20:52:33 +05:30
Manav Rathi
41472eb87d Document and structure more 2024-04-12 20:24:48 +05:30
Manav Rathi
c691ad2ac1 Document the plan 2024-04-12 20:11:44 +05:30
Manav Rathi
36f9ca2004 Remove unused param 2024-04-12 19:53:23 +05:30
Manav Rathi
ce869be158 [docs] Add a web-app deployment guide (#1427) 2024-04-12 19:41:12 +05:30
Manav Rathi
29e7653f38 [docs] Add a web-app deployment guide 2024-04-12 19:40:16 +05:30
laurenspriem
5a5cdc8b6b [mob] Slightly faster indexed file count 2024-04-12 18:15:01 +05:30
laurenspriem
da7302b677 [mob] Remove incorrect log 2024-04-12 18:12:31 +05:30
laurenspriem
d65264e8e8 [mob] move fetching related code inside fetching block 2024-04-12 17:46:12 +05:30
Neeraj Gupta
2cb08569c9 Switch to older version of share_plus 2024-04-12 16:54:47 +05:30
Manav Rathi
65c7cd2c05 [web] Various changes, moving towards fixing desktop caching (#1424)
The overall aim was to get the caching layer trimmed down to a point
where we can plug in OPFS into it for desktop. This PR doesn't have that
specific change, but it's just me gradually changing things, working
towards that.
2024-04-12 16:28:59 +05:30
Neeraj Gupta
5fec61fc1b [mob] Persist setting for disabling remote fetch 2024-04-12 16:20:09 +05:30
Neeraj Gupta
107b79eae6 [mob] Reduce invalid pixel noise 2024-04-12 16:19:51 +05:30
Manav Rathi
b061b618e7 Tweaks 2024-04-12 16:16:02 +05:30
Manav Rathi
55632fff64 Use new method 2024-04-12 16:11:34 +05:30
Manav Rathi
401f879424 Consolidate 2024-04-12 16:08:36 +05:30
Neeraj Gupta
2302b930d3 [mob] Remove unsued section 2024-04-12 16:08:18 +05:30
Neeraj Gupta
fbec7db865 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-12 15:53:34 +05:30
Neeraj Gupta
96b9019fff Flutter gradle plugin changes 2024-04-12 15:53:22 +05:30
Manav Rathi
b36175a779 user 2024-04-12 15:40:24 +05:30
laurenspriem
21451efa6b Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-12 15:11:15 +05:30
Manav Rathi
158186290c Inline 2024-04-12 15:03:53 +05:30
Neeraj Gupta
259787ff41 [mob] Upgrade to flutter 3.19.5 2024-04-12 14:55:07 +05:30
Manav Rathi
15b601b0ff Inline and prune 2024-04-12 14:53:11 +05:30
Manav Rathi
c83dc87d5d Inline the factory 2024-04-12 14:45:03 +05:30
Manav Rathi
495ff99874 Replace enum with TS type 2024-04-12 14:41:33 +05:30
laurenspriem
481410f183 [mob] Increase inactivity counter for clustering isolate 2024-04-12 14:38:36 +05:30
laurenspriem
eb8294ce95 [mob] Limit amount of sqlite read isolates for FaceMl DB 2024-04-12 14:33:48 +05:30
Manav Rathi
cd3ff6f878 Delete is not needed outside 2024-04-12 14:32:50 +05:30
Manav Rathi
b447dedf83 Cache limit is usused 2024-04-12 14:26:41 +05:30
Manav Rathi
bdadc839e0 Remove firefox specific workaround
In a quick (but possibly incomplete) test I wasn't able to reproduce this in an
incognito window. Throwing the error from here has a potential for breaking
things though, I'll try to verify this as I go through the flows individually.
2024-04-12 14:23:56 +05:30
Manav Rathi
02763e3be4 Kill the renderer when we quit the app 2024-04-12 14:05:10 +05:30
Manav Rathi
8045bd1e5a Rename and prune 2024-04-12 14:01:53 +05:30
Manav Rathi
d1d9cd9518 Document 2024-04-12 13:48:16 +05:30
ashilkn
8137825693 fix: explicitly add fill colour for textFields with filled flag set to true for it to remain the same as before using material 3 2024-04-12 13:38:47 +05:30
Manav Rathi
39912d9b35 Remove unused code 2024-04-12 13:25:48 +05:30
laurenspriem
9c09af54b3 [mob] Use sqlite async for getting all indexed fileIDs 2024-04-12 13:22:25 +05:30
laurenspriem
642e36b050 [mob] Use sqlite async for getting total face count 2024-04-12 13:21:38 +05:30
Manav Rathi
a80ed32bc3 [web] New translations (#1419)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-12 13:20:52 +05:30
Neeraj Gupta
a9072d7dcb [server] Add todo 2024-04-12 13:16:55 +05:30
laurenspriem
38c0c44331 [mob] Remove GC from debug options 2024-04-12 13:13:20 +05:30
laurenspriem
3860d0a230 [mob] Read face embeddings using sqlite async 2024-04-12 12:57:03 +05:30
github-actions[bot]
c50013350b [mobile] New translations (#1420)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-04-12 12:08:27 +05:30
laurenspriem
ba107c2d25 [mob] Fix in clustering without buckets 2024-04-12 12:01:17 +05:30
Neeraj Gupta
f3647df1e9 [mob]Improve handling of multiple assignment of same faceID to different clusters 2024-04-12 11:49:40 +05:30
laurenspriem
01914ed3ce [mob] Option for indexing without fetching 2024-04-12 11:49:38 +05:30
Manav Rathi
b4a896846c [docs] Add a FAQ for album sharing on self hosted instances (#1422) 2024-04-12 11:31:51 +05:30
Manav Rathi
3e9bbacd2f [docs] Add a FAQ for album sharing on self hosted instances 2024-04-12 11:30:35 +05:30
Manav Rathi
cfec6ca52e Enable the Chromium sandbox 2024-04-12 10:39:00 +05:30
Neeraj Gupta
5710cb2d35 Merge branch 'main' into mobile_face 2024-04-12 10:38:14 +05:30
Manav Rathi
98c3e43b70 Inline 2024-04-12 10:28:23 +05:30
Manav Rathi
87905a39f8 Dedup 2024-04-12 10:22:04 +05:30
Manav Rathi
a71ca93696 Inline 2024-04-12 10:15:08 +05:30
Manav Rathi
e651e9d9c7 Inline 2024-04-12 10:11:38 +05:30
Manav Rathi
664cf2157b Reword 2024-04-12 10:07:03 +05:30
Manav Rathi
aace18aba0 Inline and rename 2024-04-12 09:51:08 +05:30
Manav Rathi
4d867898f7 Remove the sharedarraybuffer flag
From my understanding, this was needed for the wasm FFMPEG, which we are no
longer using when running as the desktop app.
2024-04-12 09:43:52 +05:30
Manav Rathi
9c786da73b Tweak 2024-04-12 09:38:38 +05:30
Crowdin Bot
ac534cf163 New Crowdin translations by GitHub Action 2024-04-12 01:37:37 +00:00
Manav Rathi
7fa9e924eb Consolidate 2024-04-11 20:57:54 +05:30
Neeraj Gupta
997debf924 [mob] Minor fixes for semantic search (#1412)
## Description
Fixes two issues
- [x] If remote embedding fetch fails, don't queue backfill for files.
- [x] Fix infinite search loader when user quickly typing search term on
the search screen.

## Tests
2024-04-11 18:07:29 +05:30
laurenspriem
6df5559d75 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-11 16:44:40 +05:30
laurenspriem
b90aed0b4b [mob] Switch from FlutterIsolate to DartUiIsolate 2024-04-11 16:43:52 +05:30
Manav Rathi
df41133924 [desktop] Enable ONNX Face ML (#1413)
Indexing + PUT embeddings works now, but most other things are still
WIP.
2024-04-11 16:40:36 +05:30
Manav Rathi
61143c9c62 Cleanup 2024-04-11 16:36:56 +05:30
Manav Rathi
33c84f7a08 Prevent undefined errors 2024-04-11 16:27:27 +05:30
Manav Rathi
320db9f8b7 Fix the putEmbeddings API calls for now 2024-04-11 16:22:38 +05:30
Manav Rathi
e58e96091f Ignore (expected) errors when trying to cache face crops 2024-04-11 16:15:08 +05:30
laurenspriem
0eb876c985 [mob] Update dependency lock 2024-04-11 15:41:56 +05:30
laurenspriem
5996981c13 [mob] Remove empty asset directories 2024-04-11 15:41:23 +05:30
Neeraj Gupta
de96f108c2 [mob] Clean up + rethrow remote fetch error 2024-04-11 15:40:31 +05:30
Manav Rathi
ef4462553c Fix incorrect typecheck that fails on undefined 2024-04-11 15:35:25 +05:30
Neeraj Gupta
ff4e64819b [mob] Clean up code 2024-04-11 15:31:11 +05:30
Neeraj Gupta
1cc188dd9c [mob][clip] Simplify semantic search + fix infinite search loader 2024-04-11 15:27:22 +05:30
Manav Rathi
ff66a2f44c The ML code runs in workers 2024-04-11 15:27:02 +05:30
Manav Rathi
33e3265db6 Migration for existing configs 2024-04-11 15:21:21 +05:30
Manav Rathi
f5bf776848 lint 2024-04-11 15:06:03 +05:30
Manav Rathi
52727f2255 Also move the embedding 2024-04-11 15:04:18 +05:30
Manav Rathi
9ff4989d81 Cleanup 2024-04-11 14:44:00 +05:30
Manav Rathi
a1d6ef43b4 Roundtrip 2024-04-11 14:37:44 +05:30
Manav Rathi
41f7b30ca0 Wire together 2024-04-11 14:22:52 +05:30
Neeraj Gupta
b8417d1fcc [mob] Skip backfill if remote fetch fails 2024-04-11 14:09:31 +05:30
Manav Rathi
a88f551b6a WIP IPC API 2024-04-11 13:58:52 +05:30
Manav Rathi
2bb9e77e34 Remove unused code 2024-04-11 13:46:34 +05:30
Neeraj Gupta
0fa29b3d7c [mob] iOS build changes 2024-04-11 13:46:26 +05:30
Manav Rathi
7bf8912dbc Duplicate for now 2024-04-11 13:45:02 +05:30
Manav Rathi
2b6047a979 Split 2024-04-11 13:40:35 +05:30
Manav Rathi
d3eb85be8d Split 2024-04-11 13:17:56 +05:30
Neeraj Gupta
f459b1c2dd Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-11 13:17:15 +05:30
Neeraj Gupta
3ba6aea827 [mob] Enable impeller and wide Gamut color for iOS 2024-04-11 13:16:18 +05:30
Manav Rathi
bbdbad5891 [web] Remove tensorflow, and then some (#1411)
Remove all ML code that is not in the immediate release path. We will
resurrect if/when we reintroduce object and text detection, for now we
prune in an attempt to get the face detection release out to completion.
2024-04-11 12:48:47 +05:30
Manav Rathi
6d769773cc tsc 2024-04-11 12:42:18 +05:30
Manav Rathi
d0ffb83d90 Restore 2024-04-11 12:40:49 +05:30
laurenspriem
90db558498 Merge branch 'update_deps_and_flutter' into mobile_face 2024-04-11 12:39:54 +05:30
Manav Rathi
6091ad9cfd Remove search UI integration 2024-04-11 12:36:37 +05:30
Manav Rathi
4fff855070 lint-fix 2024-04-11 12:31:42 +05:30
Manav Rathi
e52d17dcfc Last tf 2024-04-11 12:30:07 +05:30
Manav Rathi
485a1e0be4 Remove unused code that required tensorflow 2024-04-11 12:29:06 +05:30
Manav Rathi
da5edc610f Remove more tf 2024-04-11 12:24:03 +05:30
Manav Rathi
1f8ebc0bca Inline 2024-04-11 12:22:09 +05:30
Manav Rathi
e57e44c139 Inline 2024-04-11 12:14:59 +05:30
Manav Rathi
6ba5852876 Prune 2024-04-11 12:10:02 +05:30
Manav Rathi
38e9e901f6 Inline 2024-04-11 12:06:50 +05:30
Manav Rathi
79a975a281 Remove various unused util methods 2024-04-11 12:05:09 +05:30
Manav Rathi
ce566f522d Prune 2024-04-11 11:59:36 +05:30
laurenspriem
cab649ef77 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-11 11:52:31 +05:30
Manav Rathi
d2e7925c63 Prune 2024-04-11 11:47:07 +05:30
laurenspriem
5b6df99486 [mob] Remove onnx models from local assets 2024-04-11 11:44:11 +05:30
Manav Rathi
006ea085fe Prune 2024-04-11 11:43:05 +05:30
laurenspriem
c902f24e63 [mob] Better organization of face detection code. 2024-04-11 11:42:31 +05:30
Manav Rathi
03df858dcc Remove ssdMobileNetV2 2024-04-11 11:23:23 +05:30
Manav Rathi
da3b58661a Remove blazeface 2024-04-11 11:21:19 +05:30
Manav Rathi
e6905577c6 Remove blazeface-back 2024-04-11 11:17:15 +05:30
laurenspriem
aad0a5a1d4 [mob] More documentation 2024-04-11 11:15:37 +05:30
Manav Rathi
e7902c5d83 Remove more tf 2024-04-11 11:15:15 +05:30
Manav Rathi
3182d67ca1 Remove tf utils 2024-04-11 11:13:52 +05:30
Neeraj Gupta
b18734f63e Merge branch 'main' into mobile_face 2024-04-11 11:10:54 +05:30
Manav Rathi
1ad5cb83f9 Remove object detection related code 2024-04-11 11:09:32 +05:30
Neeraj Gupta
830483ca68 [server] Remove existing scheduledDelete entries if account is recovered 2024-04-11 11:03:57 +05:30
laurenspriem
21adb91c2f [mob] Rename face embedding service 2024-04-11 11:03:43 +05:30
laurenspriem
d4086357ec [mob] Remove all tflite models 2024-04-11 11:01:22 +05:30
Manav Rathi
24a4c73351 [server] Reduce noise from error logs (#1409)
## Description

## Tests
2024-04-11 10:56:00 +05:30
Neeraj Gupta
02e8861e96 [server] Remove entry from data cleanup on account recovery 2024-04-11 10:54:38 +05:30
laurenspriem
efaf869e95 [mob] Remove tflite dependency 2024-04-11 10:52:16 +05:30
Neeraj Gupta
339d728774 [server] Handle no user err gracefully 2024-04-11 10:29:39 +05:30
Neeraj Gupta
fa195af971 [server]Change log level to warning 2024-04-11 10:26:19 +05:30
Neeraj Gupta
ed69de9875 [server]Log invalid password at warn level 2024-04-11 10:21:56 +05:30
Manav Rathi
6079ebbc05 [docs] Enteception (#1408)
Add FAQ about storing Ente 2FA in Ente Auth.
2024-04-11 09:28:16 +05:30
Manav Rathi
17f84398b7 Enteception 2024-04-11 09:26:45 +05:30
Manav Rathi
26c528f359 yarn pretty 2024-04-11 09:03:51 +05:30
Manav Rathi
b6e1c4d3da Inline 2024-04-10 21:36:43 +05:30
Manav Rathi
0ee416c91b git rm -r apps/photos/public/js/{tesseract,tfjs,tflite} 2024-04-10 21:32:22 +05:30
Manav Rathi
3e8d88caf2 git rm -r apps/photos/public/models 2024-04-10 21:31:06 +05:30
Manav Rathi
52342a23cb Remove tensorflow packages
yarn workspace photos remove "@tensorflow-models/coco-ssd" "@tensorflow/tfjs-backend-cpu" "@tensorflow/tfjs-backend-webgl" "@tensorflow/tfjs-converter" "@tensorflow/tfjs-core" "@tensorflow/tfjs-tflite"
2024-04-10 21:29:23 +05:30
Manav Rathi
f6c47138e1 Addedfaq-v1 (#1404) 2024-04-10 21:13:51 +05:30
Manav Rathi
549ad77ac6 [desktop] Various improvements (#1407)
- Restore macOS icon
- Remove unnecessary require
- Spruce dependencies docs
- Use standard import for jpeg-js
- Rearrange files
- Import onnxruntime with TypeScript types
2024-04-10 21:13:01 +05:30
Manav Rathi
500022d4b9 Import onnxruntime with TypeScript types
Refs:
- https://github.com/microsoft/onnxruntime/issues/17979
2024-04-10 21:01:30 +05:30
Manav Rathi
2da9565dcb Rearrange files 2024-04-10 20:44:52 +05:30
Manav Rathi
8f8d93d11e Use standard import for jpeg-js 2024-04-10 20:36:46 +05:30
Manav Rathi
008b6d5186 Spruce dependencies docs 2024-04-10 20:36:46 +05:30
Manav Rathi
d913cbeae5 Remove unnecessary require 2024-04-10 20:32:32 +05:30
Manav Rathi
11451efffd Restore macOS icon
git checkout 42679bc9daa4108681683079f4cb1f2832f4578c~ -- build/icon.icns
2024-04-10 20:32:32 +05:30
Manav Rathi
66c06c7601 [desktop] Build ARM64 variant of Windows (#1405)
Fixes https://github.com/ente-io/ente/issues/1374

A customer reported that the app fails to run on Windows ARM. The error
is coming when trying to load ONNX.

ONNX runtime supports Windows ARM, e.g. see
-
https://www.jsdelivr.com/package/npm/onnxruntime-node?tab=files&path=bin%2Fnapi-v3%2Fwin32
- https://github.com/microsoft/onnxruntime/issues/18078

The issue then seems to be that we're not actually building for Windows
ARM. I'm not sure about this (don't have a Windows ARM machine at hand),
but my theory is that since we don't ask Electron Builder to build for
win arm64, it doesn't copy the corresponding ONNX binary into the
generated bundle.

Other refs:
- https://www.electron.build/cli.html
2024-04-10 19:34:35 +05:30
Manav Rathi
ecf40a70cf [desktop] Build ARM64 variant of Windows
Fixes https://github.com/ente-io/ente/issues/1374

A customer reported that the app fails to run on Windows ARM. The error is
coming when trying to load ONNX.

ONNX runtime supports Windows ARM, e.g. see
- https://www.jsdelivr.com/package/npm/onnxruntime-node?tab=files&path=bin%2Fnapi-v3%2Fwin32
- https://github.com/microsoft/onnxruntime/issues/18078

The issue then seems to be that we're not actually building for Windows ARM. I'm
not sure about this (don't have a Windows ARM machine at hand), but my theory is
that since we don't ask Electron Builder to build for win arm64, it doesn't copy
the corresponding ONNX binary into the generated bundle.

Other refs:
- https://www.electron.build/cli.html
2024-04-10 19:33:37 +05:30
ashilkn
6607fce144 fix not building on iOS 2024-04-10 18:13:27 +05:30
ashilkn
a67da8102d fix breaking change 2024-04-10 18:12:42 +05:30
laurenspriem
74f8f7aaf3 [mob] Remove debug option 2024-04-10 17:36:34 +05:30
Manav Rathi
4a69e9260c [web] Import the scaffolding to sync face embeddings from web_face_v2 (#1402)
This PR cherry picks Neeraj's ML related changes from the web_face_v2
branch.

Similar to https://github.com/ente-io/ente/pull/1399, this gets us one
step closer to integrating ONNX-YOLO with our desktop app. But it is not
currently in a usable state (The web app's functionality remains
untouched).
2024-04-10 16:53:48 +05:30
ashilkn
0e9db0828f pub upgrade changes 2024-04-10 16:51:28 +05:30
ashilkn
e3bb6a29d0 Resolve merge conflicts and merge main 2024-04-10 16:43:10 +05:30
Manav Rathi
18937581a5 Lint fixes 2024-04-10 16:41:26 +05:30
Neeraj Gupta
eefac7fd01 [web] Import the scaffolding to sync face embeddings from web_face_v2
This PR cherry picks Neeraj's ML related changes from the web_face_v2 branch.

Similar to https://github.com/ente-io/ente/pull/1399, this gets us one step
closer to integrating ONNX-YOLO with our desktop app. But it is not currently in
a usable state (The web app's functionality remains untouched).
2024-04-10 16:38:12 +05:30
Manav Rathi
334fd61ea3 [desktop] Code tweaks (#1401)
- Remove top level wrapper
- Document the tray icon
- Update to the new product name where possible
2024-04-10 16:30:54 +05:30
Ashil
3542c8eeff [Mobile][Photos] Bump up version to 0.8.78 (#1400) 2024-04-10 16:10:54 +05:30
Manav Rathi
c73c674ee4 Update to the new product name where possible
(without breaking auto-updates)
2024-04-10 16:07:25 +05:30
Manav Rathi
e57e6845a5 Product name 2024-04-10 16:06:04 +05:30
Manav Rathi
3123caea92 Document the tray icon 2024-04-10 16:05:52 +05:30
Manav Rathi
4e3cce51de Inline 2024-04-10 15:59:57 +05:30
Manav Rathi
127bb9988f Remove top level wrapper 2024-04-10 15:55:58 +05:30
Manav Rathi
6fc82ff062 [web] Import ONNX-YOLO face changes from the web_face branch (#1399)
Laurens has made the relevant changes to get ONNX-YOLO face detection
working in a manner where the generated embeddings are the same as what
get generated by the corresponding ML stack in the mobile client.

This PR cherry picks his ML related changes from the branch he was
working in, but leaves out the surrounding scaffolding (We cannot merge
that branch directly because it relies on wasm that we don't need and
don't want to commit to main).

At this point this functionality is correct but not usable - the next
step will be to tie this to the ONNX runtime that we already have on the
Node.js layer of our desktop app.

**Tests**

- yarn dev + smoke test
- yarn build + smoke test
- yarn lint
2024-04-10 15:36:03 +05:30
Manav Rathi
45d22d5863 Undo concurrency change 2024-04-10 15:34:21 +05:30
Vishnu Mohandas
b8be65862f Use sqlite async for fetching files for gallery (#1397)
## Description

- Migrated from `sqflite` to `sqlite_async` when fetching files for
gallery (Home gallery, Collections page, Archive page & Add photos sheet
gallery ). This has made gallery load significantly faster and has
gotten rid of logs like `NativeAlloc concurrent copying GC freed
392872(19MB) AllocSpace objects, 139(4024KB) LOS objects, 38% free,
38MB/62MB, paused 2.868ms,93us total 324.898ms`. The initial load(100
files) and final load completes instantaneously even before the user
starts interacting with the app which has gotten rid of the jank which
was present before on the final load.
- In the 'Add Photos sheet', it takes time for the gallery to load when
using `sqflite` and images are rendered after this delay. After
migrating to `sqlite_async`, since the gallery loads instantly and
images are rendered right after, the animation of the bottom sheet
coming up became a bit janky. To make it smooth, have added a delay to
load gallery only after the bottom sheet is up fully.
 

## Tests
- [x] Did basic testing to make sure the migrations are working fine.
2024-04-10 15:34:06 +05:30
ashilkn
5879f5ed06 Merge branch 'main' into use_sqlite_async_for_fetching_files_for_gallery 2024-04-10 15:24:23 +05:30
Manav Rathi
71e839e9c4 Remove unused minFaceSize 2024-04-10 14:52:23 +05:30
laurenspriem
222716f6f9 [mob] Make methods private 2024-04-10 14:44:08 +05:30
laurenspriem
3eb95bd822 Import ONNX-YOLO face changes from the web_face branch
Laurens has made the relevant changes to get ONNX-YOLO face detection working in
a manner where the generated embeddings are the same as what get generated by
the corresponding ML stack in the mobile client.

This commit cherry picks his ML related changes from the branch he was working
in, but leaves out the surrounding scaffolding (We cannot merge that branch
directly because it relies on wasm that we don't need and don't want to commit
to main).

At this point this functionality is correct but not usable - the next step will
be to tie this to the ONNX runtime that we already have on the Node.js layer of
our desktop app.
2024-04-10 14:41:59 +05:30
Manav Rathi
03176911ee [web] [desktop] Refactoring IPC (#1398)
- IPC cleanup and refactoring
- Log on unhandled errors and promise rejections
2024-04-10 14:08:07 +05:30
Manav Rathi
6ec4cc7c89 Log unhandled errors and promise rejections in the desktop app
Test code:

    setTimeout(() => testFunctionSync(), 5000);
    setTimeout(
        () => testFunction().then(() => console.log("done testFunction")),
        10000,
    );

    const testFunctionSync = () => {
        console.log("sleeping not");
        throw new Error("Handle me");
    };

    const testFunction = async () => {
        console.log("sleeping");
        await fs.mkdir("/tmp/foo", { recursive: true });
        console.log("woke up");
        throw new Error("Handle me");
    };
2024-04-10 13:35:04 +05:30
Manav Rathi
5eda8fd464 Log in other apps too 2024-04-10 13:09:14 +05:30
Manav Rathi
e0fe018f34 Log on unhandled errors and promise rejections
Test code:

    useEffect(() => {
        setTimeout(() => testFunctionSync(), 5000);
    }, []);

    useEffect(() => {
        testFunction();
    }, []);

    const testFunctionSync = () => {
        console.log("sleeping not");
        // sleep(2000);
        console.log("woke up not");
        throw new Error("Handle me");
    };

    const testFunction = async () => {
        console.log("sleeping");
        sleep(2000);
        console.log("woke up");
        throw new Error("Handle me");
    };

Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event
- https://github.com/megahertz/electron-log/blob/master/src/renderer/lib/RendererErrorHandler.js
2024-04-10 13:05:00 +05:30
Manav Rathi
af79f4f0c9 Audit app update functions 2024-04-10 12:32:43 +05:30
ashilkn
d07c4f4d1d Remove code used for debugging/testing 2024-04-10 12:29:01 +05:30
laurenspriem
af8d919ff2 [mob] Documentation 2024-04-10 12:21:28 +05:30
laurenspriem
f3d18edf98 [mob] Better logging of face landmarks 2024-04-10 12:21:15 +05:30
ashilkn
7759d6dcc9 Call super.initState() first in override of initState() in Gallery Widget 2024-04-10 11:47:54 +05:30
ashilkn
af7b533016 Add a delay before gallery loads in 'add photos sheet' to make opening of the bottom sheet jank free 2024-04-10 11:38:30 +05:30
Manav Rathi
3c7277a0b1 onMainWindowFocus 2024-04-10 11:16:21 +05:30
ashilkn
b9b623e3f7 fix: query in getAllLocalAndUploadedFiles doesn't work if limit is null 2024-04-10 11:11:39 +05:30
Manav Rathi
170aef9b30 Rename 2024-04-10 11:06:18 +05:30
Manav Rathi
8bcf77b7f7 IPC keys 2024-04-10 11:03:36 +05:30
Neeraj Gupta
fac087c81b [mob] Fix person entity update 2024-04-10 10:59:27 +05:30
Neeraj Gupta
c920aacd1b [mob] Reduce noise in the logs 2024-04-10 10:59:18 +05:30
Neeraj Gupta
16da5056ea [mob] Improve log 2024-04-10 10:53:18 +05:30
Neeraj Gupta
73007ee541 [mob] Improve log 2024-04-10 10:43:49 +05:30
Neeraj Gupta
915da41c86 [mob] generated changes 2024-04-10 10:21:07 +05:30
Manav Rathi
18606b2358 IPC cleanup 2024-04-10 10:18:06 +05:30
Neeraj Gupta
c224e38ddf Merge branch 'main' into mobile_face 2024-04-10 10:15:40 +05:30
Neeraj Gupta
e82cda1e82 [mob] Fix bug in discarding remote embedding 2024-04-10 10:10:53 +05:30
Manav Rathi
ea18608727 [web] Fix SSR build (#1396)
Fixes the following error on the nightly build

Error: Attempting to assert globalThis.electron in a non-electron
context
at r
(/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/676.js:1:25418)
        ...

    > Build error occurred
    Error: Failed to collect page data for /gallery
at
/home/runner/work/ente/ente/web/node_modules/next/dist/build/utils.js:1258:15
{
      type: 'Error'
    }
2024-04-10 09:55:28 +05:30
Manav Rathi
d828bcb071 [web] Fix SSR build
Fixes the following error on the nightly build

    Error: Attempting to assert globalThis.electron in a non-electron context
        at r (/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/676.js:1:25418)
        ...

    > Build error occurred
    Error: Failed to collect page data for /gallery
        at /home/runner/work/ente/ente/web/node_modules/next/dist/build/utils.js:1258:15 {
      type: 'Error'
    }
2024-04-10 09:53:30 +05:30
Manav Rathi
f893f12f26 [infra] Limit the maximum size of the nginx stdout logs (#1395)
nginx logs to stdout, which is captured by docker and put into a file at
`/var/lib/docker/containers/<nginx-cont-id>/<id>-json.log`

By default, the size of this file is unbounded. Add a maximum limit of 1
GB to this.

References:
- https://docs.docker.com/config/containers/logging/local/
-
https://stackoverflow.com/questions/31829587/docker-container-logs-taking-all-my-disk-space
2024-04-10 09:41:05 +05:30
Manav Rathi
e2c894f87f [infra] Limit the maximum size of the nginx stdout logs
nginx logs to stdout, which is captured by docker and put into a file at
/var/lib/docker/containers/<nginx-cont-id>/<id>-json.log

By default, the size of this file is unbounded. Add a maximum limit of 1 GB to this.

References:
- https://docs.docker.com/config/containers/logging/local/
- https://stackoverflow.com/questions/31829587/docker-container-logs-taking-all-my-disk-space
2024-04-10 09:23:48 +05:30
Vishnu Mohandas
13a78ce84a [mobile] New translations (#1282)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-04-10 08:03:42 +05:30
Manav Rathi
eebb90fb40 [desktop] Remove GGML (#1394) 2024-04-09 21:36:22 +05:30
Manav Rathi
6a7220ca43 Remove support files for (removed) Windows GGML binary
These were added together with the GGML Windows binary in commit
c3887847bc.
2024-04-09 21:32:41 +05:30
Manav Rathi
e8d224c511 Remove stale ggml reference 2024-04-09 21:29:15 +05:30
Manav Rathi
7dccdecff3 Improve log 2024-04-09 21:24:31 +05:30
Manav Rathi
1214b4ddc3 Web enum cleanup 2024-04-09 21:12:00 +05:30
Manav Rathi
a813de5617 Only ONNX, web 2024-04-09 20:53:08 +05:30
Manav Rathi
4327cfdb23 Only ONNX, desktop 2024-04-09 20:46:27 +05:30
Manav Rathi
b76b57d07e Bye GGML web 2024-04-09 20:07:11 +05:30
Manav Rathi
67e39daff5 Cleanup 2024-04-09 19:59:31 +05:30
Manav Rathi
b02600cb42 Rename 2024-04-09 19:26:20 +05:30
Jay
b7544870d9 Addedfaq 2024-04-09 18:47:19 +05:30
ashilkn
83d122341f Migrate getAllLocalAndUploadedFiles from sqflite to sqlite_async 2024-04-09 17:48:53 +05:30
ashilkn
785beeb9b3 Migrate getFilesInCollection from sqflite to sqlite_async 2024-04-09 17:40:22 +05:30
Vishnu Mohandas
4406307044 Update index.md (#1392) 2024-04-09 17:12:17 +05:30
Vishnu Mohandas
c5208d8160 Update index.md 2024-04-09 17:12:06 +05:30
Neeraj Gupta
c8154784f1 [mob] Minor fixes 2024-04-09 16:37:54 +05:30
Manav Rathi
af07de58f6 More docs 2024-04-09 16:36:23 +05:30
Prateek Sunal
cdbb9ab3c3 [fix] include libffi too as it's not included by default (#1387)
## Description

## Tests
2024-04-09 16:24:25 +05:30
Prateek Sunal
f3356147f5 chore: bump version 2024-04-09 16:23:26 +05:30
Manav Rathi
b937102cda A more apropos link 2024-04-09 16:22:02 +05:30
ashilkn
1ec941b022 Migrate getAllPendingOrUploadedFiles from sqflite to sqlite_async 2024-04-09 16:12:37 +05:30
Manav Rathi
544e6be3fd Document 2024-04-09 15:38:59 +05:30
Ashil
628d13ea53 [mobile][photos] Use sqlite async for fetching all files for search (#1391)
## Description

Using [sqlite_async](https://pub.dev/packages/sqlite_async) has
increased query speed by about 5x and has removed GC logs like:
`Background concurrent copying GC freed 424845(20MB) AllocSpace objects,
183(4932KB) LOS objects, 37% free, 39MB/63MB, paused 144us,44us total
128.048ms`, which has improved performance of the app.

Tried using [sqlite3](https://pub.dev/packages/sqlite3), which reduced
query speed by 10x and removed the GC log, but introduced some jank
since it blocks the UI.

Converting the fetched rows to `EnteFile` now runs on an isolate to
avoid blocking the UI.

## Tests

Did manual testing to see difference in jank.
2024-04-09 15:17:48 +05:30
Neeraj Gupta
52038b8972 [mob] Sync removed clusters from a person 2024-04-09 15:00:57 +05:30
Neeraj Gupta
d43ed15cdf [mob] Add support for syncing multile clusters for a person 2024-04-09 14:48:05 +05:30
Manav Rathi
4f76cfb912 [web] New translations (#1380)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-09 13:23:39 +05:30
Manav Rathi
9dc4a17593 [web] The great electron renaming (#1390)
- Expose on the globalThis
- Rename the deprecated loggers too
2024-04-09 13:23:06 +05:30
Manav Rathi
b0fbd68d27 Fix errors 2024-04-09 13:13:37 +05:30
Vishnu Mohandas
4d09412f0a v0.8.77 (#1389)
## Description

## Tests
2024-04-09 13:00:56 +05:30
vishnukvmd
99b248f7fa v0.8.77 2024-04-09 13:00:39 +05:30
Neeraj Gupta
b62fc60eb5 [mob] Fix active plan highlight (#1388)
## Description

## Tests
Verified that free plan is highlighted for new sign ups


![image](https://github.com/ente-io/ente/assets/254676/8cf4a30d-57bc-47cc-ac54-acffbddf180c)
2024-04-09 12:59:25 +05:30
Manav Rathi
9127c48787 Remove duplicate files 2024-04-09 12:45:37 +05:30
Manav Rathi
5edca461f7 Final touches 2024-04-09 12:39:37 +05:30
Manav Rathi
4aa3d68e36 Wrap the assertion 2024-04-09 12:36:25 +05:30
Neeraj Gupta
8cb3bf255c [mob] Fix active plan highlight 2024-04-09 12:31:55 +05:30
Manav Rathi
c729516faf Final stretch 2024-04-09 12:21:32 +05:30
Manav Rathi
56ce5c0b0e More transition 2024-04-09 12:17:33 +05:30
Manav Rathi
d441418b5b Remove deprecated loggers 2024-04-09 12:06:46 +05:30
Manav Rathi
0d0e20f7c4 More manual tweaks 2024-04-09 11:58:44 +05:30
Prateek Sunal
7e5f01da18 fix: include libffi too as it's not included by default 2024-04-09 11:52:02 +05:30
Manav Rathi
1dc8f4617e log.error regex replacement
- logError\(e, (".+")\);
- log.error($1, e);

+ a whole bunch of manual tweakings
2024-04-09 11:32:34 +05:30
Neeraj Gupta
b8968d2904 [Server] Fix unique ott constraint for multiple apps (#1386)
## Description

## Tests
  Wrong attempt tracking is working fine
 Same ott can be issued for different app types
 For same app type, unique ott is issued
2024-04-09 11:25:29 +05:30
Neeraj Gupta
46188313ad Minor refactor 2024-04-09 11:20:45 +05:30
Neeraj Gupta
73eacfb30d [server] Use correct app while updating ott table 2024-04-09 11:14:44 +05:30
Neeraj Gupta
6bf22fa864 [server] Fix unique constraint for ott for multiple apps 2024-04-09 11:07:59 +05:30
Manav Rathi
2b7aa372bd Switch 2024-04-09 10:33:54 +05:30
Manav Rathi
3c9f11ee60 Tweak log format 2024-04-09 10:03:30 +05:30
Manav Rathi
72dea7eca6 Start using it 2024-04-09 09:53:28 +05:30
Neeraj Gupta
7c82b57ca0 [mob] Allow manual upload of videos when global video upload is disabled (#1384)
## Description
See commit message.

PS: Did not write code to clean up the list as I don't expect the list
to grow significantly.

## Tests
* Disabled Global Video Upload

**Before the change**
- Clicking on upload icon on video was not resulting in the upload of
the underlying video.

**After the change**
- Upload upload went through successfully
2024-04-09 09:42:21 +05:30
Vishnu Mohandas
9e36032019 [auth] v2.0.54 (#1385) 2024-04-09 09:41:35 +05:30
vishnukvmd
9555c86b5f [auth] v2.0.54 2024-04-09 09:40:29 +05:30
Manav Rathi
54a973c457 Expose on the globalThis
Note that the filename of the .d.ts has to be different from any existing file!
https://stackoverflow.com/questions/59728371/typescript-d-ts-file-not-recognized
2024-04-09 09:37:43 +05:30
Prateek Sunal
d06fede2b5 [FIX] updatedb command (#1383)
## Description

UpdateDb command has localpaths instead of database-root, this fixes
that.
2024-04-09 09:33:21 +05:30
Neeraj Gupta
7cec46ef3d [mob] Allow manual upload of videos when global video upload is disabled 2024-04-09 09:32:37 +05:30
Prateek Sunal
11c80a6fa9 fix: updatedb command 2024-04-09 09:30:50 +05:30
Neeraj Gupta
c6a0af7cbc [mob]Hide file overflow item if no action is available 2024-04-09 09:16:11 +05:30
Neeraj Gupta
24f7b191b4 [mob] reduce clustering threshold 2024-04-09 09:04:07 +05:30
Vishnu Mohandas
542cd31655 [auth] v2.0.53 (#1381) 2024-04-09 08:32:36 +05:30
vishnukvmd
cdce7d5922 [auth] v2.0.53 2024-04-09 08:32:12 +05:30
Crowdin Bot
af27149a74 New Crowdin translations by GitHub Action 2024-04-09 01:55:54 +00:00
Crowdin Bot
7dee92f44e New Crowdin translations by GitHub Action 2024-04-09 01:37:23 +00:00
Prateek Sunal
a45bf52a4d [FIX] Appimage build (#1377)
## Description

Fix build and unable to locate libtiff.so.5
2024-04-09 06:30:17 +05:30
Prateek Sunal
cc5558db5e fix: reload database of locate 2024-04-08 23:05:11 +05:30
Prateek Sunal
a2dfffd778 fix: app image build 2024-04-08 23:05:11 +05:30
Manav Rathi
f37c46935c [web] [desktop] Consolidate logging (#1376) 2024-04-08 21:10:48 +05:30
Manav Rathi
59bda25be2 Fix log entry format 2024-04-08 21:00:05 +05:30
Manav Rathi
f92a4c2a6e Fix errors 2024-04-08 20:57:13 +05:30
Manav Rathi
92a3650696 Dedup comlink 2024-04-08 20:53:27 +05:30
Manav Rathi
a1c9ceae6b Add temporary gateways 2024-04-08 20:47:47 +05:30
Manav Rathi
3e3712efb3 Transition 2024-04-08 20:43:42 +05:30
Manav Rathi
5339b1aa89 Merge 2024-04-08 20:39:53 +05:30
Manav Rathi
0be549c91b Transition 2024-04-08 20:21:49 +05:30
Manav Rathi
826cacd6bf Reroute 2024-04-08 20:00:24 +05:30
Manav Rathi
90a770c619 WIP 2024-04-08 18:09:08 +05:30
Manav Rathi
f4f041552f Move electron API types to lower layer 2024-04-08 16:51:48 +05:30
Vishnu Mohandas
730da7648c v0.8.76 (#1373) 2024-04-08 15:53:39 +05:30
vishnukvmd
9cface7902 v0.8.76 2024-04-08 15:53:21 +05:30
Vishnu Mohandas
a436a6c766 [auth] v2.0.52 (#1372) 2024-04-08 15:26:55 +05:30
vishnukvmd
ed10e3ec30 [auth] v2.0.52 2024-04-08 15:26:37 +05:30
laurenspriem
acb3e05fc8 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-08 15:25:50 +05:30
laurenspriem
4cb15268e9 [mob] Cleaner handling of decoded image dimensions 2024-04-08 15:24:14 +05:30
Prateek Sunal
7d39c0645a [FIX] Compile of AppImage (#1369)
## Description

Appimage github action
2024-04-08 15:12:34 +05:30
Manav Rathi
48f741b792 Tweak docs 2024-04-08 15:02:32 +05:30
Vishnu Mohandas
8a115edef8 Uppercase auth (#1371) 2024-04-08 15:00:10 +05:30
vishnukvmd
1870c2a468 auth -> Ente Auth 2024-04-08 14:59:37 +05:30
vishnukvmd
669f428fa3 ente -> Ente 2024-04-08 14:58:35 +05:30
Manav Rathi
7be4b47e51 Tighten type checking progressively 2024-04-08 14:57:49 +05:30
Vishnu Mohandas
79250b9efa ente -> Ente (#1370) 2024-04-08 14:56:28 +05:30
vishnukvmd
191d19a0fc ente -> Ente 2024-04-08 14:55:28 +05:30
Prateek Sunal
231bc2fc66 fix: complile of appimage 2024-04-08 14:50:49 +05:30
Manav Rathi
f65e738507 Move to types 2024-04-08 14:42:44 +05:30
Manav Rathi
c8089fbb60 Inline uncaptured errors 2024-04-08 14:40:44 +05:30
Neeraj Gupta
250cb33bc9 [mob] Use localFileserver to serving files 2024-04-08 14:37:30 +05:30
Prateek Sunal
d10908458e [FIX] RPM build (#1368)
## Description

fixes #1308
2024-04-08 14:36:52 +05:30
Manav Rathi
15e290a993 api => services 2024-04-08 14:31:19 +05:30
Manav Rathi
12fa3be6c5 Event handler cleanup 2024-04-08 14:24:50 +05:30
Manav Rathi
5ae6d7d47b Don't wait for ready before logging startup banner
> The only hint is to call the code in main.ts without waiting for the ready event.
>
> https://github.com/megahertz/electron-log/issues/408
2024-04-08 14:17:02 +05:30
Prateek Sunal
47ab361494 fix: rpm build 2024-04-08 14:16:52 +05:30
Vishnu Mohandas
15d9c7da3b v2.0.51 (#1367) 2024-04-08 14:11:12 +05:30
vishnukvmd
e8f21a7247 v2.0.51 2024-04-08 14:10:52 +05:30
Manav Rathi
18e47b3d4e Synchronize startup banners 2024-04-08 14:09:59 +05:30
laurenspriem
eeedf8b3c2 [mob] Trailing commas 2024-04-08 14:05:38 +05:30
Manav Rathi
35736c447d Cleanup 2024-04-08 13:59:40 +05:30
Manav Rathi
c458b429a0 Let the web side log errors for the bridged methods 2024-04-08 13:58:28 +05:30
Vishnu Mohandas
adb796e35f [mobile][photos] Perf test on app init (#1366)
## Description

Test and script for performance profiling the app for a specified
duration from app init using integration testing.
2024-04-08 13:49:07 +05:30
Manav Rathi
c5bb479c4f Consolidate logging / desktop 2024-04-08 13:44:39 +05:30
ashilkn
feb8deb648 add comments 2024-04-08 13:37:00 +05:30
ashilkn
4a4a53f994 Move performance profiling script files to mobile/scripts 2024-04-08 13:33:24 +05:30
ashilkn
504f23fe4e add comments to app_init_test script 2024-04-08 13:30:52 +05:30
ashilkn
f81fb5b626 write perf test for app init 2024-04-08 13:21:29 +05:30
Manav Rathi
78f4f9b42d [web] Capture logs from web workers (#1365)
This started of as a refactoring of our logging layer, but turned into a
bug fix (+ refactorings) when I noticed that the logs in the web/worker
case were not being saved to the on disk file.

Refs:

- https://github.com/GoogleChromeLabs/comlink/issues/506
- https://github.com/GoogleChromeLabs/comlink/issues/568
2024-04-08 13:19:25 +05:30
Manav Rathi
84d21984e0 Test complete
Tested logging from both worker (in web app) and when running in Electron.

Refs:
- https://github.com/GoogleChromeLabs/comlink/issues/506
- https://github.com/GoogleChromeLabs/comlink/issues/568
2024-04-08 13:16:50 +05:30
Manav Rathi
da9a704094 fixing logging in workers WIP 2 2024-04-08 12:52:10 +05:30
Manav Rathi
a96ad6dfa2 WIP 2024-04-08 12:40:03 +05:30
Neeraj Gupta
b6aec20b22 [mob] Update log 2024-04-08 09:45:34 +05:30
Manav Rathi
44666d6772 [web] New translations (#1364)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-08 09:40:42 +05:30
Crowdin Bot
b3842dab04 New Crowdin translations by GitHub Action 2024-04-08 04:09:44 +00:00
Manav Rathi
873b158718 [web] Miscellaneous tweaks (#1363)
- Clean up environment detection code
- Remove l11n unsafe direct string manipulation
- Inline
- Remove isCanvasBlocked checker
- Remove unused stuff
2024-04-08 09:38:59 +05:30
Manav Rathi
7913d5ec2e lint 2024-04-08 09:37:08 +05:30
Neeraj Gupta
4ceaf7cf13 [auth] Prioritise issuer match in search result order (#1362)
## Description

## Tests
2024-04-08 09:18:42 +05:30
Neeraj Gupta
c728b3b8be [auth] Prioritize issuer match in search result 2024-04-08 09:15:33 +05:30
Neeraj Gupta
510a4a5978 [auth] iOS build changes 2024-04-08 09:15:16 +05:30
Neeraj Gupta
0b08afdbe2 [mob] Use linear clustring for breaking up clusters 2024-04-08 08:52:00 +05:30
Neeraj Gupta
412e93c9fa [mob][face] Fix handling of case when noCluster id is assigned 2024-04-08 08:18:58 +05:30
Neeraj Gupta
67f26a1551 [mob][face] Add debug hook to delete all people to cluster mapping 2024-04-08 07:46:22 +05:30
Neeraj Gupta
2d58558737 [mob] Add support for removing people to cluster mapping 2024-04-08 07:43:08 +05:30
Neeraj Gupta
4a2b5fe27d [mob] Face: Ignore embeddings without image dims & bad landmarks 2024-04-07 16:12:59 +05:30
Neeraj Gupta
3d452c4e98 [mob] Logging changes 2024-04-07 16:11:07 +05:30
Neeraj Gupta
b00ab0541e [mob] Handle error and empty face in visibility detector 2024-04-07 16:09:34 +05:30
Manav Rathi
0b3165b812 Remove unused 2024-04-07 10:58:19 +05:30
Manav Rathi
99579fbf51 Inline 2024-04-07 10:56:15 +05:30
Manav Rathi
75d041dd9c Inline 2024-04-07 10:53:34 +05:30
Manav Rathi
d992085dbd Inline 2024-04-07 10:49:31 +05:30
Manav Rathi
cb6cfee9a3 Inline 2024-04-07 10:49:04 +05:30
Manav Rathi
60321111c2 Remove isCanvasBlocked checker
We don't really support running without canvas access, we need it for image
manipulation. The firefox feature seems poorly implemented -
https://bugzilla.mozilla.org/show_bug.cgi?id=1429865 - and if someone _really_
wishes to not add an exclusion for our open source web app, then they can
download our desktop app.
2024-04-07 10:45:30 +05:30
Manav Rathi
49b5bff042 Inline 2024-04-07 10:29:00 +05:30
Manav Rathi
7c0ab6dd8a Remove l11n unsafe direct string manipulation 2024-04-07 10:23:20 +05:30
Manav Rathi
01e6e79819 Cannot be a compile time constant 2024-04-07 10:18:30 +05:30
Manav Rathi
e5b2d737b4 Clean up environment detection code 2024-04-07 10:03:28 +05:30
Manav Rathi
5e6f057c4c [web] Add required transitive dependency of MUI datepicker (#1357)
Previously this was coming from react-datepicker that was otherwise
unused and thus removed.

Use the same major version as we had previously.

Ref:

https://stackoverflow.com/questions/71037974/module-not-found-error-cant-resolve-date-fns-adddays-in-c-users
2024-04-07 09:30:16 +05:30
Manav Rathi
3cb51184b3 [web] Add required transitive dependency of MUI datepicker
Previously this was coming from react-datepicker that was otherwise unused and thus removed.

Use the same major version as we had previously.

Ref:
https://stackoverflow.com/questions/71037974/module-not-found-error-cant-resolve-date-fns-adddays-in-c-users
2024-04-07 09:26:52 +05:30
Manav Rathi
9025ad3c57 [web] Remove unused ffmpeg from cast (#1355)
- Also attempt to reenable tsc, since this was previously failing at
this ffmpeg step. But that's still not possible, the photos package tsc
trips up at the same step
- Remove some other unused dependencies too
2024-04-07 08:45:06 +05:30
Manav Rathi
d317da6536 Remove unused package react-datepicker
+ another unused type
+ an transitive from code
2024-04-07 08:42:27 +05:30
Manav Rathi
0071182721 Revert "Attempt to reenable tsc"
This reverts commit 5700b101b2. We still need to
fix it in photos before re-enabling this.
2024-04-07 08:28:13 +05:30
Manav Rathi
5700b101b2 Attempt to reenable tsc
Partially reverts 6333792d64
2024-04-07 08:25:16 +05:30
Manav Rathi
02207ca96c Remove unused ffmpeg from cast 2024-04-07 08:18:36 +05:30
Manav Rathi
ddb2952b6a [docs] yarn pretty (#1349) 2024-04-06 22:19:43 +05:30
Manav Rathi
c983af0dea [docs] yarn pretty 2024-04-06 22:17:34 +05:30
Manav Rathi
363e2b116b [docs] Add more details in the server admin docs (#1348) 2024-04-06 22:15:56 +05:30
Manav Rathi
d8b7dd06f6 [docs] Add more details in the server admin docs 2024-04-06 22:14:19 +05:30
Manav Rathi
9b73cd2176 [docs] Add a troubleshooting guide for failing uploads (#1346) 2024-04-06 20:53:40 +05:30
Manav Rathi
1205b864d2 [docs] Add a troubleshooting guide for failing uploads 2024-04-06 20:49:04 +05:30
Manav Rathi
54a1b3ca3e [web] Fix cast CSS (#1345)
- Cleanups, remove unnecessary sass dependency
- Fix the height in the CSS
2024-04-06 19:28:36 +05:30
Manav Rathi
4b074f4475 Fix the CSS for cast 2024-04-06 19:15:42 +05:30
Manav Rathi
b650372d35 Cleanupxs 2024-04-06 19:09:02 +05:30
Manav Rathi
04c0fd0617 [web] New translations (#1344)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-06 12:42:49 +05:30
Crowdin Bot
e779ae5189 New Crowdin translations by GitHub Action 2024-04-06 07:12:09 +00:00
Manav Rathi
14fe0a46b0 [web] Bundle translations but lazily (#1343)
## Description

Muchos faster, muchos caching, and no duplication.

**Tested by**

Running locally in both dev and preview. Only the current language +
English is fetched. It can be made even faster by prebundling the
English translations as described in
https://github.com/i18next/i18next-resources-to-backend, but we can
profile first and see if that's even needed.
2024-04-06 12:41:25 +05:30
Manav Rathi
568f4540e3 Remove scripts
It has done its job, let it rest in peace
2024-04-06 12:12:15 +05:30
Manav Rathi
6bff42ad9b Remove unused keys 2024-04-06 12:11:29 +05:30
Manav Rathi
d00211964b Improve heuristic 2024-04-06 11:45:05 +05:30
Manav Rathi
8695f46b43 Improve script for finding unused keys 2024-04-06 11:43:56 +05:30
Manav Rathi
8020d83ced Fix crowdin paths 2024-04-06 11:30:31 +05:30
Manav Rathi
121df66ada Cleanup 2024-04-06 11:19:14 +05:30
Manav Rathi
a98a29800b [web] Bundle translations but load them lazily
Refs:
- https://github.com/i18next/i18next-resources-to-backend
- https://stackoverflow.com/questions/77251750/how-to-implement-lazy-loading-translations-in-i18next-with-react
- https://github.com/i18next/react-i18next/issues/525
- https://gist.github.com/SimeonC/6a738467c691eef7f21ebf96918cd95f
- https://www.i18next.com/overview/plugins-and-utils
2024-04-06 11:06:29 +05:30
Vishnu Mohandas
afe94b72ba [meta] Call out custom icons as a good starter task (#1342) 2024-04-06 08:46:23 +05:30
Manav Rathi
167e5a95ca [meta] Call out custom icons as a good starter task 2024-04-06 08:44:50 +05:30
Neeraj Gupta
cbc7034d47 [mob] Discard old fileEmbeddings 2024-04-06 04:00:48 +05:30
Neeraj Gupta
d19d7ffe79 [mob][face] Storage width/height along with area and visibility 2024-04-06 03:49:03 +05:30
Neeraj Gupta
6c02b03426 [mob] Lint fixes 2024-04-06 01:50:45 +05:30
Vishnu Mohandas
2bd02eac4b [FIX] Smart auth revert, issue #1279 (#1340)
## Description

Revert Pinput version to fix smart_auth and hence the fdroid build.

Fixes #1279
2024-04-05 23:17:26 +05:30
Prateek Sunal
bfc147b4d1 fix: revert pinput version 2024-04-05 23:13:40 +05:30
Manav Rathi
16cb63edfe [web] Run tsc when linting (#1339) 2024-04-05 22:10:07 +05:30
Manav Rathi
6333792d64 Temporarily disable tsc on CI 2024-04-05 22:03:39 +05:30
Manav Rathi
69bd822499 Attempt to fix tsc warning on CI
Error: src/services/wasm/ffmpeg.ts(6,38): error TS2307: Cannot find module 'ffmpeg-wasm' or its corresponding type declarations.
2024-04-05 21:59:18 +05:30
Manav Rathi
6a31331ac4 Fix lint issue when running on CI
> cast
    $ /home/runner/work/ente/ente/web/node_modules/.bin/tsc
    Error: src/components/FilledCircleCheck/index.tsx(2,20): error TS2307: Cannot find module './FilledCircleCheck.module.scss' or its corresponding type declarations.
2024-04-05 21:56:46 +05:30
Manav Rathi
e16834e52e Remove unused styled jsx tag
This caused the lint to fail on CI

    > auth
    $ /home/runner/work/ente/ente/web/node_modules/.bin/tsc
    Error: src/pages/auth/index.tsx(125,20): error TS2322: Type '{ children: string; jsx: true; }' is not assignable to type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'.
      Property 'jsx' does not exist on type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'.
    error Command failed with exit code 2.

From reading the code, this CSS doesn't seem to be coming into effect. Then I
also did a test to verify that the auth app is correctly switching to a 2 column
layout even without this.
2024-04-05 21:39:52 +05:30
Manav Rathi
10b0d9f533 Fix the yarn lint 2024-04-05 21:22:44 +05:30
Manav Rathi
791cc61ca7 Fix more leftover issues 2024-04-05 21:18:26 +05:30
Manav Rathi
7a674dcf95 lint-fix 2024-04-05 21:10:59 +05:30
Manav Rathi
5c313fb87d tsc when linting 2024-04-05 21:10:20 +05:30
Manav Rathi
411984ebdc Fix lint errors 2024-04-05 21:09:47 +05:30
Manav Rathi
8764e5cf4d [web] Miscellaneous code improvements (#1336) 2024-04-05 20:50:56 +05:30
Manav Rathi
cf27f3236c lint-fix 2024-04-05 20:48:23 +05:30
Manav Rathi
42a59f2fb5 Consolidate and deduplicate 2024-04-05 20:35:22 +05:30
Manav Rathi
7807d3a413 Inline 2024-04-05 20:03:23 +05:30
Manav Rathi
461430a972 Move up from shared 2024-04-05 20:01:28 +05:30
Manav Rathi
0b39759ad9 Inline 2024-04-05 19:58:45 +05:30
Manav Rathi
fe6215d0fd Replace context entry with useRouter 2024-04-05 19:58:45 +05:30
Manav Rathi
e680970cdf Inline 2024-04-05 19:58:45 +05:30
Manav Rathi
63387d8819 Use regular image
This is the only place we were using next/image
2024-04-05 19:58:45 +05:30
Manav Rathi
356ad6f004 Use regular link
Removing unnecessary dependencies on next specific components
2024-04-05 19:58:45 +05:30
Neeraj Gupta
2ae37682e7 [mob] Fix bug in handling err for clustering 2024-04-05 18:49:01 +05:30
Neeraj Gupta
f261ee7184 [mob] Hide smaller clusters only when there are more than 2 clusters 2024-04-05 18:48:44 +05:30
Neeraj Gupta
add66569dd Merge branch 'main' into mobile_face 2024-04-05 18:24:44 +05:30
Manav Rathi
7be2c66fb6 [server] Delete the subscriber on listmonk when needed (#1331) 2024-04-05 17:14:09 +05:30
vishnukvmd
c32badc82c [server] Delete the subscriber on listmonk when needed 2024-04-05 17:12:06 +05:30
Manav Rathi
dbdad18c96 [web] Uncomment accidentally activated env vars for localhost defaults (#1330) 2024-04-05 17:09:24 +05:30
Manav Rathi
ae51531bd0 [web] Uncomment accidentally activated env vars for localhost defaults 2024-04-05 17:08:47 +05:30
Manav Rathi
4ad060c4e4 [infra] Fix the listmonk upgrade invocation (#1329)
Tested on the actual instance
2024-04-05 17:03:03 +05:30
Manav Rathi
5266e5d1dc [infra] Fix the listmonk upgrade invocation 2024-04-05 16:51:08 +05:30
Neeraj Gupta
bb3a37adf5 [mob] Fetch remote entities before running clustering 2024-04-05 16:04:58 +05:30
Neeraj Gupta
7c6001321f Merge branch 'mobile_face' into mobile_face_feedback_sync 2024-04-05 16:03:32 +05:30
Neeraj Gupta
1b9c81c50c Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-05 16:00:09 +05:30
Neeraj Gupta
1996d86835 [mob] Persist remote feedback before running clustering 2024-04-05 15:59:53 +05:30
laurenspriem
0c72fd2a69 [mob] Add more validation for clustering 2024-04-05 15:50:52 +05:30
laurenspriem
723253a12c [mob] Fix issue with random photo entering cluster 2024-04-05 15:49:35 +05:30
Neeraj Gupta
18f202d3e4 [mob] Fixed bug in parsing json 2024-04-05 14:37:59 +05:30
laurenspriem
0777013b93 [mob] Show face area info in debug mode 2024-04-05 14:34:47 +05:30
laurenspriem
04a33e6f65 [mob] Show face visibility score in debug mode 2024-04-05 14:20:28 +05:30
laurenspriem
f1a7256a14 [mob] Fix wrong y-coordiantes being stored for faces 2024-04-05 14:01:26 +05:30
Vishnu Mohandas
5904e3dd2c [server] Allow a configurable sslmode (#1327)
Tested that

- [x] Existing defaults remain unchanged
- [x] Setting db.sslmode = require in museum.yaml is honoured (in the
docker compose environment, that causes the db connection to fail as
expected)
2024-04-05 13:58:17 +05:30
laurenspriem
78af84450a [mob] Show debug info on blur 2024-04-05 13:45:19 +05:30
Neeraj Gupta
2456c02956 [mob] Remove personEntity dependency from faceDB 2024-04-05 12:52:01 +05:30
Neeraj Gupta
199dad3705 [mob] Make linter happy 2024-04-05 11:59:19 +05:30
Manav Rathi
74decc32de [server] Allow a configurable sslmode
Tested

- Existing defaults remain unchanged
- Setting db.sslmode = require in museum.yaml is honoured (in the docker compose environment, that causes the db connection to fail as expected)
2024-04-05 11:52:22 +05:30
Vishnu Mohandas
5e8f41cbfe [mob] Change share page copy (#1323)
## Description

I thought the "Collect photos" line and the download icon in the share
page looked very confusing:

![old_share_page_copy](https://github.com/ente-io/ente/assets/81471280/cb6a8415-e3a0-403e-abd3-e94b6256a572)

So I changed the icon and copy slightly:

![new_share_page_copy](https://github.com/ente-io/ente/assets/81471280/2480bb43-21fb-487a-af00-c473dbe7439c)


## Tests

Just a copy change, no tests.
2024-04-05 11:48:29 +05:30
Manav Rathi
360aa2903f [web] Remove leftover console log (#1325) 2024-04-05 11:35:30 +05:30
Manav Rathi
0d48284b4f [web] Remove leftover console log 2024-04-05 11:33:57 +05:30
Manav Rathi
687efe506a [web] Fix an regression introduced in the previous PR (#1324)
Use the implementation instead of the accidental infinite loop
2024-04-05 11:32:32 +05:30
laurenspriem
ad73496c4d [mob] Minor change 2024-04-05 11:04:05 +05:30
Manav Rathi
e0cfa36f08 Use the implementation instead of the accidental infinite loop 2024-04-05 10:51:04 +05:30
laurenspriem
858ba88c65 [mob] Change share page copy 2024-04-05 10:48:37 +05:30
Manav Rathi
e7e8ded1ed [web] Miscellaneous improvements (#1322)
- Remove unused knobs
- Inline
- Initial-scale=1 is still recommended
- Remove custom _document (with a longer term vision of next => vite)
2024-04-05 10:17:04 +05:30
Manav Rathi
fa7cbaea18 Remove custom _document
Looking towards a longer term transition out of next
2024-04-05 10:09:37 +05:30
Manav Rathi
9785bbcb26 We don't have full web app support yet
Plus, Apple doesn't do much for PWAs anyway. One reason for removing this until
we test it out in actuality is because there were reports of the semi-PWA
caching causing issues.
2024-04-05 09:38:48 +05:30
Manav Rathi
039387a84e Initial-scale=1 is still recommended
Ref:
https://teamtreehouse.com/community/is-initialscale-not-needed
2024-04-05 09:36:18 +05:30
Manav Rathi
866b52b002 Inline constant 2024-04-05 09:26:30 +05:30
Manav Rathi
2c098904fb Inline 2024-04-05 09:13:38 +05:30
Manav Rathi
a68dce35f6 Remove unused knob 2024-04-05 09:08:56 +05:30
Manav Rathi
1d0f30ad91 These values were never customized 2024-04-05 09:08:02 +05:30
Manav Rathi
7374fe2ecc [web] Fix nightly build (#1321)
Got broken by yesterday's changes to payments.
2024-04-05 08:58:17 +05:30
Manav Rathi
55454f9454 [web] Fix nightly build
Got broken by yesterday's changes to payments.
2024-04-05 08:57:24 +05:30
Neeraj Gupta
ef03c6f40a [mob] Remove debug code 2024-04-05 08:09:57 +05:30
Neeraj Gupta
bd4c506fdd [mob] Remove fields & code related to person table 2024-04-05 07:50:03 +05:30
Neeraj Gupta
be06d45e3a [mob] Fix person custom avatar rendering 2024-04-05 07:21:48 +05:30
Neeraj Gupta
7429791a19 [mob] Persist person update on remote 2024-04-05 07:13:15 +05:30
Neeraj Gupta
49671cbda3 [mob] Undo local changes 2024-04-05 07:04:17 +05:30
Neeraj Gupta
81c94b1e73 [mob] Remove unused method 2024-04-05 06:58:32 +05:30
Neeraj Gupta
3fb323ef29 [mob] Read person info from entity 2024-04-05 00:24:05 +05:30
Neeraj Gupta
d8bf0ad2d5 [mob] Persist cluster information during person assignment 2024-04-04 22:04:19 +05:30
Manav Rathi
1aa39e83d7 [server] Build ARM images when publishing to ghcr.io (#1320)
Untested yet, will test alongside the next publish

Requested in https://github.com/ente-io/ente/discussions/1305
2024-04-04 21:59:47 +05:30
Manav Rathi
d84ee7223a [server] Build ARM images when publishing 2024-04-04 21:57:44 +05:30
Manav Rathi
4e5fcebb95 [infra] Setup listmonk (#1319) 2024-04-04 21:36:02 +05:30
Manav Rathi
e170b6811d Tweaks
Refs:
https://github.com/knadh/listmonk/blob/master/listmonk-simple.service#L16
2024-04-04 21:27:47 +05:30
Manav Rathi
3ed2186dcf Initial cut of listmonk setup 2024-04-04 20:23:25 +05:30
laurenspriem
b48cb84100 [mob] better cluster analysis visualization 2024-04-04 18:47:30 +05:30
laurenspriem
f1fd74b119 [mob] Option to add/remove face to cluster from file info 2024-04-04 18:47:09 +05:30
Neeraj Gupta
f5a9679c0e [mob] Rename and add more attr to PersonEntity 2024-04-04 17:27:28 +05:30
Manav Rathi
b6177a5bc3 Listmonk mailing list control (#1289)
## Description
Add listmonk mailing list subscribe and unsubscribe

## Tests
Tested getSubscriberID, unsubscribe, and subscribe using a locally
running listmonk server with different parameters.
- [x] A new subscriber is created and added to the listmonk campaign
mailing list on listmonkSubscribe() for the given list IDs
- [x] Subscriber is removed from listmonk campaign mailing list on
listmonkUnsubscribe() for the given list IDs
- [x] The old email address is unsubscribed, and the new email is
subscribed when a user updates the email
2024-04-04 17:21:55 +05:30
Manav Rathi
27410b2da9 [web] Add an example fetch to staff (#1315)
- Add schema validation of the response
- Add an example fetch
2024-04-04 16:22:49 +05:30
Manav Rathi
ae061d2a44 fetch 2024-04-04 16:19:46 +05:30
Manav Rathi
d9d03d8451 Add schema validation of the response 2024-04-04 16:12:39 +05:30
laurenspriem
19007c38b5 [mob] await removal and fire event 2024-04-04 16:03:17 +05:30
Manav Rathi
2f5abb6318 [web] Scaffold staff app (#1314) 2024-04-04 15:50:10 +05:30
Manav Rathi
e53c923675 Lint fix + update URL 2024-04-04 15:44:03 +05:30
laurenspriem
583c09155b [mob] Rename file 2024-04-04 15:40:38 +05:30
Manav Rathi
39228270c1 Deploy 2024-04-04 15:40:17 +05:30
laurenspriem
5bce9abb5c [mob] Rename PeopleClustersPage 2024-04-04 15:39:35 +05:30
laurenspriem
c6f9bbbbda [mob] Use rounded rectangle for cluster thumbnails 2024-04-04 15:38:23 +05:30
Manav Rathi
384ec365e8 Add starter staff app 2024-04-04 15:25:38 +05:30
Vishnu Mohandas
b2da2c7e88 Setup Triple-T configuration for F-Droid (#1313)
Potential fix for https://github.com/ente-io/ente/issues/1172.
2024-04-04 15:16:45 +05:30
vishnukvmd
c25cc6f8a4 Setup Triple-T configuration for F-Droid 2024-04-04 15:15:59 +05:30
laurenspriem
517b099de8 [mob] better visualization of cluster analysis 2024-04-04 15:10:10 +05:30
Vishnu Mohandas
b2cf6be5f5 [photos] v0.8.75 (#1312) 2024-04-04 14:50:54 +05:30
vishnukvmd
fce68ba1be [photos] v0.8.75 2024-04-04 14:50:22 +05:30
Neeraj Gupta
2163201046 [mob] Increase the batch & bucket size 2024-04-04 14:46:56 +05:30
Manav Rathi
29550317f7 Enable the jsx-runtime plugin for vite's ESLint
This prevents it complaining about a missing React import.

Enabling this is recommended by the vite starter itself:

> Install
  [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and
  add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends`
  list
2024-04-04 14:46:41 +05:30
Manav Rathi
876c5800f9 [web] Convert payments app to Vite (#1311)
This is the culmination of the previous few PRs. The payments app now
uses vite, which is what we want to give out a real shot for the smaller
of our apps.

**Tested by**

Local setup, and subscribing to a plan.
2024-04-04 14:36:36 +05:30
Manav Rathi
608cb6c85e Prevent double rendering in strict mode
The double invocation during dev mode, while harmless, is confusing, so add an
additional small check to insure this only runs once.
2024-04-04 14:25:04 +05:30
Manav Rathi
712b99b8f3 Fix lint issue 2024-04-04 14:15:42 +05:30
Manav Rathi
935e47fbca Fix the payments eslint 2024-04-04 14:10:16 +05:30
Manav Rathi
fcb26d39f1 Don't need default export 2024-04-04 14:02:31 +05:30
Manav Rathi
ff6d0d32cf Remove unused 404 handler
The default appType == 'spa' in vite redirects all (unclaimed) paths to /index.html.

If needed, this can be disabled:
https://stackoverflow.com/questions/69701743/how-can-i-configure-vites-dev-server-to-give-404-errors/69711988#69711988
2024-04-04 13:58:30 +05:30
Vishnu Mohandas
52c47234fd [Photos] Allow for configuring a custom server (#1302)
## Description
Users can now tap on the onboarding screen 7 times to bring up a page
where they can configure the endpoint the app should be connecting to.

![photos-selfhost](https://github.com/ente-io/ente/assets/1161789/42fda09a-07e4-4c4e-a658-ec4a2d3f1848)

## Tests
- [x] Verified that production flows are working as expected
- [x] Verified that configuring the endpoint to a local instance lets
you
  - [x] Connect to that instance
  - [x] Create an account
  - [x] Upload a photo
  - [x] Logout and log back in
2024-04-04 13:41:26 +05:30
laurenspriem
dd3b0be8f2 [mob] Tune analysis parameter 2024-04-04 13:17:43 +05:30
Manav Rathi
756050ae8c Fix compilation 2024-04-04 13:02:08 +05:30
laurenspriem
6a9b670d52 [mob] thinner highlight of face in file info 2024-04-04 12:58:58 +05:30
Manav Rathi
a2d39a46be [server] nginx configuration improvements (#1310)
- Use keepalives
- Update deprecated http2 syntax
- Document how to check config

Refs:
-
https://www.nginx.com/blog/avoiding-top-10-nginx-configuration-mistakes/#no-keepalives
- https://github.com/nginxinc/kubernetes-ingress/issues/4237
-
https://stackoverflow.com/questions/65944578/how-to-get-nginx-running-in-docker-to-reload-nginx-conf-configuration
2024-04-04 12:42:10 +05:30
Manav Rathi
407eca5414 [server] nginx configuration improvements
- Use keepalives
- Update deprecated http2 syntax
- Document how to check config

Refs:
- https://www.nginx.com/blog/avoiding-top-10-nginx-configuration-mistakes/#no-keepalives
- https://github.com/nginxinc/kubernetes-ingress/issues/4237
- https://stackoverflow.com/questions/65944578/how-to-get-nginx-running-in-docker-to-reload-nginx-conf-configuration
2024-04-04 12:36:39 +05:30
laurenspriem
0176b01fea [mob] Add basic debug UI for breaking up cluster 2024-04-04 12:14:18 +05:30
Manav Rathi
87dc7d76ca Remove middleman package, to get it to compile 2024-04-04 11:36:20 +05:30
Ashil
8b643549fe [mobile][photos] Remove unused global keys (#1309) 2024-04-04 11:29:23 +05:30
Vishal
d8190926fd Change if-else 2024-04-04 11:24:13 +05:30
Manav Rathi
4255e48abb Convert payments app to use Vite - Part 1
(Doesn't compile)
2024-04-04 11:10:34 +05:30
Manav Rathi
a8a5cc8b59 Inline spinner 2024-04-04 09:55:52 +05:30
Manav Rathi
949a42004f Remove the need for a separate page 2024-04-04 09:53:11 +05:30
Manav Rathi
cb94dd8b42 [web] Refactor payments (#1304)
This is a reduction in code generally before we give a shot to using
vite for Payments. Once that is done, will do an end-to-end test of the
payments pages on localhost.
2024-04-03 21:44:08 +05:30
Manav Rathi
56d500f4e8 Keep React in scope 2024-04-03 21:41:03 +05:30
Manav Rathi
7a41ba43a5 Another cleanup of billing-service 2024-04-03 21:32:38 +05:30
laurenspriem
15f9176208 [mob] More logs on breaking cluster 2024-04-03 21:31:16 +05:30
Manav Rathi
7a729183e2 Cleanup the pages 2024-04-03 20:03:02 +05:30
Manav Rathi
aa5422db6c Clean up CSS 2024-04-03 19:54:16 +05:30
Manav Rathi
c0fee7bc91 Clean up strings 2024-04-03 19:51:01 +05:30
Manav Rathi
1411ca6fad Continue refactoring 2024-04-03 19:46:15 +05:30
Vishal
92715b658c Change API parameter 2024-04-03 19:24:12 +05:30
laurenspriem
744ded4922 [mob] Add DBSCAN clustering for intra-cluster analysis 2024-04-03 18:49:43 +05:30
Vishal
2ddf4c897c Rectify if else 2024-04-03 18:25:41 +05:30
Vishal
ffefae89a6 Redefine struct 2024-04-03 17:50:53 +05:30
vishnukvmd
9d7a342aa9 Ensure widget is updated when endpoint changes 2024-04-03 17:34:45 +05:30
vishnukvmd
ee33a3229f Update landing page to provide an option to update the app's endpoint 2024-04-03 17:24:44 +05:30
vishnukvmd
54c4862e71 Add widget that renders the current endpoint app is connecting to 2024-04-03 17:24:26 +05:30
vishnukvmd
b97839adae Update strings 2024-04-03 17:24:01 +05:30
vishnukvmd
37c4295df9 Update NetworkClient when configuration changes 2024-04-03 17:23:54 +05:30
vishnukvmd
089be79688 Add API within Configuration to update the endpoint 2024-04-03 17:23:23 +05:30
vishnukvmd
0034d880f9 Initialize Configuration before Network 2024-04-03 17:23:00 +05:30
vishnukvmd
81bdc0fe73 Add strings 2024-04-03 17:22:34 +05:30
vishnukvmd
76dca4d819 Update iOS config 2024-04-03 17:22:22 +05:30
Manav Rathi
d0f1bbfca7 Refactor billing service 2024-04-03 17:22:00 +05:30
laurenspriem
b21466bf13 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-03 17:02:39 +05:30
laurenspriem
6a240ee030 Highlight relevant face 2024-04-03 16:59:38 +05:30
Manav Rathi
8a00f1b85f Remove custom errors indirection 2024-04-03 15:45:20 +05:30
Manav Rathi
f10f751a2f Inline local storage calls
The methods are trivial, and we cannot centralize the keys since they will be
different for different apps. So an abstraction for this is not beneficial.

Also move the next specific dev build check to @/next
2024-04-03 14:21:11 +05:30
Neeraj Gupta
922550b1a3 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-03 13:57:58 +05:30
Neeraj Gupta
fb3a77bf94 Merge branch 'main' of https://github.com/ente-io/auth into mobile_face 2024-04-03 13:57:39 +05:30
Manav Rathi
d28daece8a ignorePatters seems to be inherited (as we wished) when extending 2024-04-03 13:48:41 +05:30
Manav Rathi
24bce96d71 Shorten 2024-04-03 13:44:30 +05:30
Manav Rathi
ad6dea2ecb prettier markdown 2024-04-03 13:39:44 +05:30
Manav Rathi
212dcfb88a Tinker 2024-04-03 13:32:05 +05:30
Manav Rathi
a689aca4a6 Remove the eslint stuff from docs
(trying to remove the eslint-disables throughout)
2024-04-03 13:26:46 +05:30
laurenspriem
934d0bb3a0 [mob] Add todo 2024-04-03 13:19:12 +05:30
laurenspriem
11937a42b4 [mob] cluster suggestion class 2024-04-03 13:18:24 +05:30
Manav Rathi
e2fd88bff0 Remove (possibly) unnecessary tsconfigRootDir
Let's see what breaks
2024-04-03 13:15:12 +05:30
laurenspriem
cb8f66fcaa [mob][wip] break up cluster method 2024-04-03 13:06:46 +05:30
laurenspriem
786ddf438b Add distance parameter to clustering 2024-04-03 13:06:08 +05:30
Manav Rathi
764b6bf2f3 Move react setup to react specific file 2024-04-03 13:02:09 +05:30
Vishal
39ec761949 fix warnings 2024-04-03 12:57:37 +05:30
Vishal
01f842c445 Rearrange methods 2024-04-03 12:41:18 +05:30
Neeraj Gupta
2fe703df92 [server] Increase embedding fetch limit (#1300)
## Description

Also use different semaphore than existing diff API

## Tests
2024-04-03 12:38:34 +05:30
Vishal
18c48c7e0a Fix typo in comment 2024-04-03 11:14:55 +05:30
Manav Rathi
ca688d0d46 [server] Add a notice that minio is only for getting started (#1299)
From our Discord, someone commented

> if minio's cautions about Single-Node, Single-Drive are to be taken
seriously:
>
> "SNSD deployments use a zero-parity erasure coded backend that
provides no
added reliability or availability beyond what the underlying storage
volume
  implements. These deployments are best suited for local testing and
evaluation, or for small-scale data workloads that do not have
availability or
  performance requirements."

MinIO was never meant as a production replacement, it was only to make
it easy
for people to get started. So add a notice in the docs re this.
2024-04-03 10:04:20 +05:30
Manav Rathi
885308471f [server] Add a notice that minio is only for getting started
From our Discord, someone commented

> if minio's cautions about Single-Node, Single-Drive are to be taken seriously:
>
> "SNSD deployments use a zero-parity erasure coded backend that provides no
  added reliability or availability beyond what the underlying storage volume
  implements. These deployments are best suited for local testing and
  evaluation, or for small-scale data workloads that do not have availability or
  performance requirements."

MinIO was never meant as a production replacement, it was only to make it easy
for people to get started. So add a notice in the docs re this.
2024-04-03 10:01:48 +05:30
Vishnu Mohandas
125f7bfece Update export docs 2024-04-03 08:52:34 +05:30
Neeraj Gupta
011aee20d5 [server] Fix handling of redundant auth update (#1298)
## Description
When client tries to send update request with same data, the actual db
update doesn't happen. This was resulting in 5xx error.

## Tests
2024-04-03 07:13:44 +05:30
Neeraj Gupta
85778bcdaa [server] Fix handling of redundant auth update 2024-04-03 07:05:03 +05:30
Neeraj Gupta
e10cb5d456 [mob] Fix person cover photo 2024-04-03 05:26:08 +05:30
Manav Rathi
43e97d225e [web] Restructure shared package layouts (#1294)
- Merge @/ui into @/next
- Restructure eslint config
2024-04-02 20:55:05 +05:30
Manav Rathi
b3a86874db yarn.lock 2024-04-02 20:47:35 +05:30
Manav Rathi
5c1ed5be8f Restructure eslint config 2024-04-02 20:44:57 +05:30
Manav Rathi
14fde54d87 Not really 2024-04-02 20:04:23 +05:30
Manav Rathi
26b35cec9e Merge @/ui into @/next 2024-04-02 19:58:42 +05:30
Vishal
b8100b1273 rename functions 2024-04-02 17:45:30 +05:30
Neeraj Gupta
a8b154b46e Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-02 17:39:19 +05:30
Neeraj Gupta
172678dc42 [mob] Lint fixes 2024-04-02 17:39:03 +05:30
Vishal
a5fcbbf901 add listmonk mailing list control (subscribe/usubscribe) 2024-04-02 17:36:53 +05:30
laurenspriem
8fefc22180 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-02 17:30:50 +05:30
Neeraj Gupta
8e6617eed5 [mob] Speed up cluster avg calculation 2024-04-02 17:29:20 +05:30
Manav Rathi
6213628aee [web] Prefer .local files for local only configuration (#1280)
Refs: https://vitejs.dev/guide/env-and-mode.html
2024-04-02 17:22:32 +05:30
Manav Rathi
a7625cd83d [web] Enable Russian (#1288)
The translation percentage of Russian in crowdin is now 100%, it's time
to enable it as an option in the UI.

A big thank you to the translators ❤️
2024-04-02 17:22:15 +05:30
Manav Rathi
cc90dd7ba5 [web] Enable Russian
The translation percentage of Russian in crowdin is now 100%, it's time to
enable it as an option in the UI.

A big thank you to the translators.
2024-04-02 17:16:33 +05:30
Manav Rathi
b3630f9543 [desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info (#1287)
Open the link in a new tab. This prevents the desktop app from getting
into a state where the user cannot navigate back.

Tested on the web app and desktop app.
2024-04-02 17:10:16 +05:30
Manav Rathi
9cb289e002 [desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info
Open the link in a new tab. This prevents the desktop app from getting into a
state where the user cannot navigate back.
2024-04-02 17:05:23 +05:30
Ashil
1800ad0a1f [Mobile][Photos] Bump up version to v0.8.74 (#1284) 2024-04-02 17:02:01 +05:30
Manav Rathi
3230b9275e [web] New translations (#1281)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-02 17:00:20 +05:30
Crowdin Bot
ce5627f04c New Crowdin translations by GitHub Action 2024-04-02 11:28:47 +00:00
Neeraj Gupta
faa07a0704 [mob] compute suggestion in small batches 2024-04-02 16:56:55 +05:30
Manav Rathi
8dd7c100af [web] Make the cast link clickable (#1286)
Tested locally.
2024-04-02 16:53:03 +05:30
Manav Rathi
2e7dcc6bc2 Make the cast link clickable 2024-04-02 16:51:27 +05:30
laurenspriem
57fec06d73 [mob] Bump minimum face score for clustering to 0.8 2024-04-02 16:44:34 +05:30
Manav Rathi
0e1bdfe07e Support arbitrary ReactNodes as title 2024-04-02 14:38:37 +05:30
Neeraj Gupta
e2ed836b16 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-02 14:07:18 +05:30
Neeraj Gupta
bdb7ce2f03 [mob] Store image height and width 2024-04-02 14:07:02 +05:30
Vishnu Mohandas
1e106d707f [mobile][photos] Fix colours in loading screen on light theme when viewing photos (#1283)
## Description

Before


https://github.com/ente-io/ente/assets/77285023/75304321-1fa4-4d61-9ad1-cc87ade62f92

After



https://github.com/ente-io/ente/assets/77285023/55b204b2-773c-42db-a03c-c9879f33548b
2024-04-02 14:01:41 +05:30
ashilkn
0053e814c8 nit: remove unnecessary clipping 2024-04-02 13:49:41 +05:30
ashilkn
53184da7fb fix: loading icon's color in light theme when viewing images 2024-04-02 13:49:05 +05:30
ashilkn
165bcb5c6e fix: white bg for loading state when viewing images, turned it to black.
when swiping on light theme, this comes up a 'white flash' on the right which looked odd. We use black bg when viewing images.
2024-04-02 13:47:57 +05:30
laurenspriem
255b566342 View faces with highest distance in cluster suggestion 2024-04-02 13:46:42 +05:30
Neeraj Gupta
c85692360c [mob] Fix face cluster suggestion 2024-04-02 13:35:32 +05:30
Neeraj Gupta
8e322114b7 [mob] Fix reset queries for feedback & clusters 2024-04-02 12:21:14 +05:30
Neeraj Gupta
226808aadb [mob] Use vector for cosine dist 2024-04-02 11:53:40 +05:30
Neeraj Gupta
4cb7334868 [mob] Remove unused method 2024-04-02 10:43:50 +05:30
Neeraj Gupta
814c0ad4b6 [mob] Drop cluster colum from files table 2024-04-02 10:41:28 +05:30
Vishnu Mohandas
d6316a1724 [mobile][photos] Prepare for release v0.8.73 (#1278) 2024-04-02 09:06:45 +05:30
Manav Rathi
b95fc54adb [web] Prefer .local files for local only configuration
Refs:
https://vitejs.dev/guide/env-and-mode.html
2024-04-01 19:59:02 +05:30
ashilkn
bc0a453cbc Merge branch 'main' into prepare_for_release_v0.8.73 2024-04-01 18:41:24 +05:30
ashilkn
166e9ad1bf Update change log 2024-04-01 18:41:21 +05:30
ashilkn
841921a732 bump up version to v0.8.73 2024-04-01 18:38:17 +05:30
Vishnu Mohandas
769da989c4 [mobile][photos] Do not upload files if ACCESS_MEDIA_LOCATION is not granted (#1275)
## Tests

Tested with and without granting `ACCESS_MEDIA_LOCATION`.
2024-04-01 18:28:37 +05:30
Vishnu Mohandas
3e917bd855 [photos][mobile] Add support for viewing HEIC images with proXDR (#1171)
## Description

New Oneplus devices have a "ProXDR" feature when viewing images. These
images (when in HEIC format) decode fine on devices that supports
ProXDR, but fails to decode on other devices.

So if decoding fails, we convert it to a JPEG and use that image for
viewing it.

## Tests

- [x] Tries converting to jpeg only if decoding fails
- [x] If converting also fails, the behaviour remains the same as before
when decoding fails.
2024-04-01 18:28:28 +05:30
Neeraj Gupta
51b51ff2b1 [mob] Use separate table for storing clusters 2024-04-01 17:34:35 +05:30
Manav Rathi
7f1730b56c [web] Fix and standardize MUI / emotion imports (#1277)
- Always import from `@mui/material`
- Component selector API doesn't work, live with it and document it
2024-04-01 17:18:05 +05:30
Manav Rathi
25e762ba57 Remove mui from list of transpiled packages
- I can't see this mentioned anywhere in the docs
- Removing it didn't break anything dev / preview
2024-04-01 17:13:06 +05:30
Manav Rathi
d5f294980e Remove use of emotion from payments 2024-04-01 17:08:54 +05:30
Manav Rathi
1e410a82f2 Remove stray use of @mui/system 2024-04-01 17:05:05 +05:30
ashilkn
d013519655 refactor 2024-04-01 16:59:42 +05:30
Manav Rathi
3b3d314f9c Remove stale import from styled-engine 2024-04-01 16:52:57 +05:30
ashilkn
855d362cca Merge branch 'main' into handle_proxdr_image_viewing 2024-04-01 16:43:19 +05:30
Manav Rathi
eced463f6f Investigate and explain why component selectors don't work with Next vanilla
Refs:
- https://github.com/mui/material-ui/issues/27380#issuecomment-928973157
- https://codesandbox.io/s/hopeful-browser-4q17t5?file=/README.md
- https://mui.com/system/styled/#how-to-use-components-selector-api
- https://github.com/vercel/next.js/issues/46973
2024-04-01 16:43:10 +05:30
Ashil
f8febe12df [mobile][photos] Reupload files with missing GPS data (#1263)
## Description

- Fixes corrupt files (missing GPS data) that were uploaded due to [this
issue](https://github.com/ente-io/ente/pull/1261)
- Refactor

## Tests

Tested and working
- Uploaded two file from a build that has missing permission for
`ACCESS_MEDIA_LOCATION` and GPS data is missing.
- Created a new build with changes in this PR.
- Deleted the file from device. 
- Remote file has GPS data when checked from file info.

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-01 16:41:33 +05:30
ashilkn
0c44d1b789 remove unneccesary check 2024-04-01 16:18:40 +05:30
ashilkn
f74af4199d only verify media location access if platform is android 2024-04-01 16:14:29 +05:30
Neeraj Gupta
323521d496 [mob] Rename face tables 2024-04-01 16:05:23 +05:30
Manav Rathi
9b27cac465 Remove @emotion/server
It is not mentioned as a dependency in the SSR page

> For v10 and above, SSR just works in Next.js.
>
> https://emotion.sh/docs/ssr

Tested by - yarn dev, yarn preview:photos
2024-04-01 16:05:17 +05:30
ashilkn
7b94c32bbf Do not upload files if ACCESS_MEDIA_LOCATION is not granted 2024-04-01 15:51:13 +05:30
Neeraj Gupta
baec7a2af8 [mob] Remove unused column from facesTable 2024-04-01 15:49:15 +05:30
Manav Rathi
881c94be05 [web] Remove bootstrap (#1274)
Fixes the issues we started seeing with broken CSS after removing the
emotion cache.
2024-04-01 15:47:02 +05:30
Neeraj Gupta
7e9c6a7f81 [mob] Rename 2024-04-01 15:44:25 +05:30
Neeraj Gupta
5b339fc30e Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-01 15:37:41 +05:30
Neeraj Gupta
f663bbfc53 [mob] Rename 2024-04-01 15:37:25 +05:30
Manav Rathi
7248a226bc Remove bootstrap 2024-04-01 15:35:45 +05:30
laurenspriem
1af3d2d2db [mob] Big cleanup of old code 2024-04-01 15:34:45 +05:30
Manav Rathi
8ae7ae2de9 Replace the Spinner in payments 2024-04-01 15:32:56 +05:30
Neeraj Gupta
29c58d5554 [mob] Remove unused code 2024-04-01 15:31:50 +05:30
laurenspriem
e7670bfee6 [mob] complete remove from cluster feedback 2024-04-01 15:14:28 +05:30
Manav Rathi
28cf7d76d5 Even numbers don't seem to be kosher, only strings work 2024-04-01 15:13:43 +05:30
Neeraj Gupta
a75c440dc2 [mob] sync person entity type 2024-04-01 15:10:19 +05:30
Manav Rathi
c2957238da Fix the date handling 2024-04-01 15:07:29 +05:30
Manav Rathi
f9a2ec774a Make it work with MUI components 2024-04-01 14:54:29 +05:30
Neeraj Gupta
548721e415 [mob]Ignore souceFileMissing error for iOS (#1273)
## Description

## Tests
2024-04-01 14:32:18 +05:30
Manav Rathi
0568cd03c9 Refactor somewhat
More to come
2024-04-01 13:07:36 +05:30
Manav Rathi
226f891e99 [docs] Update-export-faq (#1271) 2024-04-01 12:32:18 +05:30
Manav Rathi
9643dd645f Fix typo "intac" 2024-04-01 12:31:38 +05:30
Manav Rathi
7e897815a1 Remove stale VSCode settings
.vscode is already in the gitignore, not sure how this got added (perhaps some
bug in the github.dev web editor that Jishnu is using).
2024-04-01 12:18:24 +05:30
Manav Rathi
a9b92b9bfa [web] Remove emotion cache (#1272)
- Still doesn't work in dev mode
- Prepares ground for removing bootstrap
2024-04-01 12:14:50 +05:30
Jishnuraj9
489de9f8c2 export-general-subscription-update 2024-04-01 11:54:59 +05:30
Manav Rathi
39bc68390f Match the variable name 2024-04-01 10:49:28 +05:30
Manav Rathi
83dabfbdee Refactor 2024-04-01 10:23:54 +05:30
Manav Rathi
35f2a6944e Inline 2024-04-01 09:58:55 +05:30
Manav Rathi
fbe2996dcc [meta] Update READMEs to mention the new Auth Desktop app (#1269)
Fixes https://github.com/ente-io/ente/issues/1268
2024-04-01 09:28:39 +05:30
Manav Rathi
7f23b31bbc [meta] Update READMEs to mention the new Auth Desktop app
Fixes https://github.com/ente-io/ente/issues/1268
2024-04-01 09:26:07 +05:30
Jishnuraj9
f43e260434 update images of export 2024-04-01 08:04:24 +05:30
Manav Rathi
18698d35bb Replace in export progress 2024-03-31 21:43:24 +05:30
Manav Rathi
9e41b906a7 Swap progress bar 2024-03-31 21:38:26 +05:30
Manav Rathi
0f2181c09b Remove more legacy ml code 2024-03-31 18:41:15 +05:30
Manav Rathi
707e14702e Remove unused ML debug code 2024-03-31 18:34:00 +05:30
Manav Rathi
f3a0240f1d Remove more dead code
...that uses bootstrap instead of spending migration effort on it.
2024-03-31 18:23:05 +05:30
Manav Rathi
e84b989484 Remove unused code
Came across this when trying to migrate off bootstrap in the few remaining
places, this code is unused and just removing it instead of doing a migration of
it to mui.
2024-03-31 18:19:48 +05:30
Manav Rathi
86e4cffb8e Replace bootstrap buttons in fix time dialog 2024-03-31 18:16:57 +05:30
Manav Rathi
1d02fe4f32 Remove unused fix-large-thumbnail feature
This was disabled years ago. Specifically removing this now to reduce the amount
of work in removing bootstrap.
2024-03-31 18:07:17 +05:30
Manav Rathi
e5edeae370 Remove the bootstrap carousel 2024-03-31 18:01:38 +05:30
Manav Rathi
40a1da1ba7 Fine tune 2024-03-31 18:00:09 +05:30
Manav Rathi
5dfafa28c7 Almost there in terms of styling 2024-03-31 17:54:38 +05:30
Manav Rathi
d3df6b31ae Use actual contents 2024-03-31 17:31:33 +05:30
Manav Rathi
145850a66e Try using intrinsic size 2024-03-31 17:28:26 +05:30
Manav Rathi
6b56c28870 Mark vscode-styled-components optional 2024-03-31 17:07:48 +05:30
Manav Rathi
9ec68ecd3d Mention vscode-styled-components 2024-03-31 17:04:38 +05:30
Manav Rathi
8c127a6cec Animate 2024-03-31 16:47:10 +05:30
Manav Rathi
3890373d4a Try pure-react-carousel as a replacement of bootstrap's Carousel 2024-03-31 16:45:46 +05:30
Manav Rathi
ee1eb75bdf Extract component 2024-03-31 16:41:50 +05:30
Manav Rathi
14e99ea26a Fix ports 2024-03-30 20:59:05 +05:30
Manav Rathi
7183a8b493 [web] Remove emotion caches
This is no longer needed for emotion > 10

> For v10 and above, SSR just works in Next.js.
>
> https://emotion.sh/docs/ssr#nextjs

Tested with

- yarn dev:*
- yarn preview:*

This change screws up the CSS in places in dev mode though.
2024-03-30 20:56:38 +05:30
Prateek Sunal
e1ac5e7394 [FIX] Auth Desk (#1262)
## Description

- Don't hide but close app on exit
- Hide window option
- Fix translation of labels of context menu
2024-03-30 19:27:56 +05:30
Prateek Sunal
1391cff1f1 fix: translate labels of context menu 2024-03-30 19:13:30 +05:30
Prateek Sunal
204d4d048e chore: update podfile 2024-03-30 19:10:01 +05:30
Prateek Sunal
8dfd60df19 fix: close app on exit and add option to hide window 2024-03-30 19:02:05 +05:30
laurenspriem
768fa3d1ce [mob][wip] remove from cluster feedback 2024-03-30 18:35:46 +05:30
Manav Rathi
5810d2b762 Add yarn preview:* 2024-03-30 18:06:58 +05:30
Manav Rathi
f6abcafc83 Copy over fix into auth and accounts 2024-03-30 17:20:26 +05:30
laurenspriem
a3b6a72315 [mob] Debug option to reset feedback 2024-03-30 17:13:54 +05:30
Ashil
7950f1ec26 [mobile][photos] Explicitly ask for media location (#1261)
## Description

On bumping up photo_manager version, it introduced a breaking change
where we need to explicitly ask for ACCESS_MEDIA_LOCATION permission.

## Tests

Tested on android 13 and 14 devices.
2024-03-30 16:48:15 +05:30
github-actions[bot]
6974672f8c [mobile] New translations (#1239)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-30 16:15:32 +05:30
Neeraj Gupta
25cedd5e2f [server] Gracefully handle stale collection entry (#1260)
## Description

## Tests
2024-03-30 15:24:52 +05:30
laurenspriem
7f66bd2ed0 [mob] constant increments in bucket clustering 2024-03-30 15:17:26 +05:30
laurenspriem
f5ea834fad [mob] delete old file 2024-03-30 14:41:15 +05:30
Neeraj Gupta
a51a965fc8 [cli] Fix handling of delete file with stale colleciton entry (#1259)
## Description

## Tests
Tested locally
2024-03-30 14:14:03 +05:30
Vishnu Mohandas
fc5d8aeca6 [auth] Add new custom icons in auth (#1258)
Add new icons

- ConfigCat
- Mercado Livre
- SendGrid
- Habbo
2024-03-30 07:02:04 +05:30
ialexanderbrito
03fc59a8fb feat: add new custom icons in auth 2024-03-29 17:15:31 -03:00
Prateek Sunal
80a27f7e6f [FIX] libffi7 missing error in auth appimage (#1257)
Package libffi7 with appimage
2024-03-30 01:03:34 +05:30
Prateek Sunal
cc2c8e3e26 fix: libffi7 missing error in appimage 2024-03-30 00:54:16 +05:30
Manav Rathi
d52f873c92 [web] Remove dead code from cast (#1256) 2024-03-29 22:45:05 +05:30
Manav Rathi
911cdd9448 Remove more dead code from cast 2024-03-29 22:37:42 +05:30
Manav Rathi
b4699ecfcb Remove ElectronFile from cast 2024-03-29 22:26:50 +05:30
Manav Rathi
ded151241f Remove more dead code from cast 2024-03-29 22:22:03 +05:30
Manav Rathi
3dfc3a6dba Remove dead code from cast 2024-03-29 21:56:33 +05:30
Vishnu Mohandas
08b7fe6a49 [FIX] home widget count function and package source (#1252)
## Description

- Switched to pub.dev version of home_widget
- Replaced count home widget with getInstalledWidgets().

## Tests
2024-03-29 21:32:05 +05:30
Manav Rathi
7ef59bb4cc Short circuit unused code
isFileEligibleForCast filters out isRawFileFromFileName. Specifically, it
filters out HEIC files. So getRenderableImage is a no-op.
2024-03-29 21:01:17 +05:30
Manav Rathi
049a240916 Remove dead code from cast 2024-03-29 20:54:10 +05:30
Manav Rathi
3fdf5f1e46 Remove dead cast code 2024-03-29 20:12:57 +05:30
Prateek Sunal
d92fd25a78 fix: home widget count function 2024-03-29 19:46:13 +05:30
laurenspriem
aa79c4ee24 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-29 18:27:32 +05:30
laurenspriem
8c6bb30578 Change faceID generation 2024-03-29 18:26:28 +05:30
laurenspriem
8aed14ace6 [mob] Change text 2024-03-29 17:33:29 +05:30
laurenspriem
b56b0c47d0 Show debug info for cluster suggestions 2024-03-29 17:26:58 +05:30
laurenspriem
2a04192b3c [mob] temp fix 2024-03-29 17:24:50 +05:30
Manav Rathi
640b546d78 [docs] Update-export2 (#1249) 2024-03-29 17:24:07 +05:30
Manav Rathi
9e3fbce6c7 Center align the dialog images 2024-03-29 17:23:08 +05:30
Manav Rathi
e89eb48214 [web] Various minor fixes and improvements to cast (#1250)
- Use 3001 for sidecars
- Use the placeholder as the placeholder, not as the label
- Change slideshow time from 5s => 10s
- Remove the 123456 below the actual code
- Make the code copyable without inserting spaces in between
2024-03-29 17:14:45 +05:30
Manav Rathi
9440b967c8 Remove the extra spaces being inserted when we copy paste
Ref:

- https://github.com/facebook/react/issues/1643
- https://stackoverflow.com/questions/10837063/display-text-with-spaces-that-are-not-copied
2024-03-29 17:10:51 +05:30
Jishnuraj9
d6769fb1d5 Update image and text-export 2024-03-29 17:06:48 +05:30
Jishnuraj9
df377ebcf3 update image 2024-03-29 16:34:16 +05:30
Prateek Sunal
0114775e22 Bump auth to 2.0.50 build number (#1248)
## Description

## Tests
2024-03-29 16:30:55 +05:30
Prateek Sunal
31ffb124b6 chore: bump it again to 250 2024-03-29 16:27:09 +05:30
Prateek Sunal
f01583d168 chore: bump auth to 249 build number 2024-03-29 16:25:58 +05:30
Neeraj Gupta
f6dca2dfc9 [server] Drop locationTag table and related code (#1245)
## Description

## Tests
2024-03-29 16:25:39 +05:30
Prateek Sunal
45f9b47f24 [FEAT] Add Context menu to desktop right click (#1247)
## Description


![image](https://github.com/ente-io/ente/assets/41370460/099a90d9-3fb7-48cc-8177-79ea81c3edfc)
2024-03-29 16:24:19 +05:30
Prateek Sunal
cb7a2445e1 fix: qr image 2024-03-29 16:23:55 +05:30
Prateek Sunal
4830a69aad chore: remove lint 2024-03-29 16:23:04 +05:30
Prateek Sunal
f8fbedfe10 fix: use context menu on desktop 2024-03-29 16:21:30 +05:30
Manav Rathi
d22cf34a0e Remove nesting 2024-03-29 16:18:49 +05:30
Neeraj Gupta
ef250acad9 [server] Add person EntityType (#1246)
## Description

## Tests
2024-03-29 16:12:59 +05:30
Neeraj Gupta
459c4515a0 [server] Drop locationTag table and related code 2024-03-29 16:08:28 +05:30
Prateek Sunal
056e29a5f5 feat: context menu vert 2024-03-29 16:07:09 +05:30
Prateek Sunal
71e87ef7e9 feat: context menu horz 2024-03-29 16:07:01 +05:30
Manav Rathi
0d3662d9fe Remove the 123456 below the actual code
It prevents copy pasting (and doesn't look too good either)
2024-03-29 16:03:34 +05:30
Neeraj Gupta
67134db3a4 [mob] Fixed typo 2024-03-29 15:43:13 +05:30
Neeraj Gupta
44a5b97de1 [mob] Storge cluster summary in batches 2024-03-29 15:39:12 +05:30
Neeraj Gupta
ab875ea9a9 [mob] Use epochTime as clusterID 2024-03-29 14:33:11 +05:30
Neeraj Gupta
5f468e6c63 [mob] Trim face score 2024-03-29 12:49:20 +05:30
Manav Rathi
70e5e9b13c [cast] Change slideshow time from 5s => 10s 2024-03-29 12:34:54 +05:30
laurenspriem
1d527f9e02 Add face score in debugMode 2024-03-29 12:18:21 +05:30
Manav Rathi
949780d1e8 [cast] Use the placeholder as the placeholder, not as the label 2024-03-29 12:15:06 +05:30
laurenspriem
afa8a372d2 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-29 12:14:33 +05:30
Manav Rathi
a06a93e73d Use 3001 for sidecars 2024-03-29 11:58:42 +05:30
Neeraj Gupta
bc45db51a9 [cli] Improve logging for decryption error (#1242)
## Description
Related to #1237
## Tests
2024-03-29 11:08:45 +05:30
Manav Rathi
54d93647ef Add SMTP for sending emails (#1228)
## Tests
Tested for templated mails in user.go, userauth.go, stripe.go,
public_collection.go, playstore.go, admin.go, email_notification.go

Screenshots for all the templates -
[https://drive.google.com/drive/folders/1f7BjM5MHicRUbr5jlCe2-4MGz7s1moLw?usp=sharing](url)
2024-03-29 09:22:40 +05:30
Manav Rathi
230ea380ad [docs] Change capitalization (#1238)
## Description
Changed "ente" to "Ente" as the first letter is meant to be a capital
one now:
<img width="303" alt="image"
src="https://github.com/ente-io/ente/assets/41323182/82ec2a2e-b7d3-4995-a3a9-950924bc05f6">

## Tests
2024-03-29 09:21:47 +05:30
Manav Rathi
81bff42992 [web] Fix nightly build (#1241)
This was accidentally an ancient version of axios when importing from
the older repo - update it to what the rest of the code uses (via the
shared package).
2024-03-29 09:16:06 +05:30
Manav Rathi
1f6b9030ff [web] Fix nightly build
This was accidentally an ancient version of axios when importing from the older
repo - update it to what the rest of the code uses (via the shared package).
2024-03-29 09:11:28 +05:30
green
ce6bdb1298 Update index.md 2024-03-29 00:00:55 +01:00
Vishnu Mohandas
2c7144590f fix: macos sha256 sum generation (#1236)
## Description

## Tests
2024-03-29 02:46:02 +05:30
Prateek Sunal
d21f0146ec fix: macos sha256 sum generation 2024-03-29 01:48:21 +05:30
Vishnu Mohandas
95ec3098c0 [FIX] Auth Desktop (#1235)
## Description

- Add Checksums for mac and windows
- Capitalize ente Auth mostly everywhere
- Ask for installation mode (for all users [admin] or for current user
[non-privileged])
2024-03-29 01:30:17 +05:30
Prateek Sunal
de2d04bb78 chore: bump auth version 2024-03-29 01:26:35 +05:30
Prateek Sunal
17500fd536 fix: capital case ente Auth 2024-03-29 01:22:17 +05:30
Prateek Sunal
86d5e636df fix: generated sha256 sums for windows and macos 2024-03-29 01:21:52 +05:30
Prateek Sunal
8325b270e0 fix: ask for installation mode at start 2024-03-29 01:21:39 +05:30
Prateek Sunal
9e93dc5e6d [FIX] Auth desktop (#1234)
Fixes for auth desktop
- Install Dir path and name fix
- Install/Uninstall Icon fix
- Don't check "add Desktop icon" by default
- Fix Exit app in system tray
2024-03-28 22:24:00 +05:30
Prateek Sunal
fbd673cb5a chore: bump to 247 2024-03-28 22:22:47 +05:30
Prateek Sunal
0760845536 chore: replace local_auth_ios with local_auth_darwin 2024-03-28 21:57:49 +05:30
Prateek Sunal
28156132a6 fix: use tray manager instead of system tray 2024-03-28 21:53:44 +05:30
Prateek Sunal
6966124249 chore: rename directory to icons 2024-03-28 21:25:06 +05:30
Prateek Sunal
d4ca574f1f fix: icons for setup and uninstall 2024-03-28 21:24:10 +05:30
ashilkn
b976d30ab2 fix colours in new material 3 toggle switch 2024-03-28 20:37:27 +05:30
Prateek Sunal
c7de109494 fix: don't create desktop icon by default 2024-03-28 18:36:09 +05:30
Prateek Sunal
5e5a6de709 fix: install directory and folder name 2024-03-28 18:31:34 +05:30
ashilkn
4c73fb7374 Specify color for dividers to keep it same after flutter upgrade
New material theme has a different default colour for dividers
2024-03-28 18:22:38 +05:30
ashilkn
9f22882d8d override ffi dependency version to fix build failing after running flutter pub upgrade command 2024-03-28 18:21:37 +05:30
Vishal
8c9bd284e2 Remove isEnable from config 2024-03-28 18:16:38 +05:30
Manav Rathi
e4ce144bd4 [web] Complete integration of payments code (#1233)
Next step - deploy from here.
2024-03-28 17:48:05 +05:30
Manav Rathi
055ebd0447 Fix leftover gunk 2024-03-28 17:44:27 +05:30
Vishal
d5f0334a34 Remove isEnabled from config 2024-03-28 17:44:08 +05:30
Manav Rathi
212b2663d0 Add payments deployment scripts 2024-03-28 17:42:54 +05:30
Vishnu Mohandas
cc6cc6ede5 [mobile] New translations (#1220)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-03-28 17:32:31 +05:30
Manav Rathi
5867af3a2f Clean up EnteSpinner 2024-03-28 17:15:45 +05:30
Manav Rathi
ac01f7a12a Clean up utils 2024-03-28 17:10:48 +05:30
Manav Rathi
713a0038f0 Clean up CSS 2024-03-28 17:09:11 +05:30
Manav Rathi
3c0c591bed Remove custom font 2024-03-28 17:08:39 +05:30
Manav Rathi
990f9a8d70 Remove old payment instructions 2024-03-28 17:05:59 +05:30
ashilkn
fa304aa8cc upgrade flutter version 2024-03-28 16:56:54 +05:30
Manav Rathi
e61b9646b3 Update comment 2024-03-28 16:34:22 +05:30
ashilkn
dabda8e744 upgrade photo_manager and flutter 2024-03-28 16:32:59 +05:30
Manav Rathi
2114644ed1 Mirror the decision tree 2024-03-28 16:28:45 +05:30
Neeraj Gupta
6c287775d4 [mob] Add logs for cluster feedback suggestions 2024-03-28 16:25:09 +05:30
Manav Rathi
a64cbf79dc Flip the order of smtp/transmail 2024-03-28 16:20:49 +05:30
Neeraj Gupta
9aafe137a1 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-03-28 16:13:25 +05:30
Vishal
1f75633c5c Private method to bottom of the file 2024-03-28 15:03:27 +05:30
ashilkn
6e4db6c0df add cast to dependencies and update flutter 2024-03-28 14:57:33 +05:30
Manav Rathi
f524403580 Wait for i18 to be ready before trying to load the page 2024-03-28 14:25:20 +05:30
Vishnu Mohandas
3791f35601 Add CERN Icon (#1226)
This PR adds the CERN logo to Ente Auth custom icons. Great job with
Ente Auth so far! Keep up the fantastic work!
2024-03-28 14:05:56 +05:30
Neeraj Gupta
d6db3de6b1 [mob] Log time to fetch in debugMode 2024-03-28 13:40:15 +05:30
Neeraj Gupta
03e5f06bf2 [mob][face] Add delay before starting faceIndexing 2024-03-28 13:27:16 +05:30
Neeraj Gupta
aa58989299 [mob] Remove commented out code 2024-03-28 13:23:39 +05:30
Neeraj Gupta
5b94cbf912 [face][mob] Log db batch update progress 2024-03-28 13:22:32 +05:30
Manav Rathi
4c05e0925d Fix example whitelisted-redirect-url 2024-03-28 13:19:00 +05:30
Manav Rathi
2b379640ca Allow billing plans to be mounted into the Docker container if needed 2024-03-28 13:07:43 +05:30
Manav Rathi
8cd725978a Update the README 2024-03-28 12:55:47 +05:30
Ashil
5768a69062 [mobile][photos] fix: Image switcharoo bug when sharing from signal (#1232)
## Description

Fixes #1158
2024-03-28 12:43:52 +05:30
Manav Rathi
9599982f30 [web] Make payments feel at home (#1231)
Make the imported payments code feel at home in the new monorepo.
2024-03-28 12:16:25 +05:30
Manav Rathi
c5a2b61454 Fix tsconfig formatting 2024-03-28 12:11:09 +05:30
Manav Rathi
88e4f61221 Config 2024-03-28 12:07:10 +05:30
Manav Rathi
06f1fa086e Fix dev 2024-03-28 11:56:05 +05:30
Manav Rathi
e4c18b9e74 Inline 2024-03-28 11:49:05 +05:30
Manav Rathi
478435f806 Use :3001 for all the aux services 2024-03-28 11:42:59 +05:30
Manav Rathi
8f0ef055c5 [web] Make the imported payments code feel at home in the new monorepo
- Use the shared yarn monorepo configuration
- styled-components => emotion (since that's what the rest of the code uses)
- Remove Sentry (since it's gone elsewhere)
2024-03-28 11:40:22 +05:30
Manav Rathi
ad3503053d [web] Import code for payments.ente.io (#1230)
Manav: To avoid accidentally spilling out any secrets, squash and
import. However, the overwhelming majority of the work in the original
code was done by @abhinavkgrd so set them as the author for the commit.
2024-03-28 10:32:15 +05:30
Abhinav
8a3c0743fe Import code for payments.ente.io
Manav: To avoid accidentally spilling out any secrets, squash and
import. However, the overwhelming majority of the work in the original code was
done by Abhinav <abhinavk.grd@gmail.com> so set them as the author for the
commit.
2024-03-28 10:19:44 +05:30
Manav Rathi
33314bc2da [meta] Add a special case for comments in the notifier workaround (#1229)
Discord still hasn't fixed the issue on their end, and having a top
level link whenever a new comment is added is getting cumbersome, so add
a handler for the common comments case too.

Tested and deployed.
2024-03-28 10:12:22 +05:30
Manav Rathi
12aa071adc [meta] Add a special case for comments in the notifier workaround
Discord still hasn't fixed the issue on their end, and having a top level link
whenever a new comment is added is getting cumbersome, so add a handler for the
common comments case too.

Tested and deployed.
2024-03-28 10:11:04 +05:30
Vishal
cc3376154f Change name 2024-03-27 22:39:12 +05:30
Vishal
a7692b7d2e Update if else 2024-03-27 21:40:40 +05:30
Manav Rathi
3213fe0d26 [photos-desktop] Various changes, bringing the code up to speed (#1227)
See commit titles for a gist.
2024-03-27 21:22:54 +05:30
Manav Rathi
3706b99d36 Remove debug print 2024-03-27 21:21:31 +05:30
Manav Rathi
1bb79854a5 Mollify TypeScript 2024-03-27 21:17:30 +05:30
Manav Rathi
c9f8ad3e88 Tidy and prune the app's menu
- Switch to title case (discussed with others that the app's main menu is an
  appropriate choice and exception to our sentence casing otherwise).

- Prune
2024-03-27 21:12:45 +05:30
Manav Rathi
0dda25800e Update the node version number in tsconfig doc comments 2024-03-27 20:34:10 +05:30
Manav Rathi
95eec1f3d6 Remove brew special casing
Brew Formulae support an `auto_updates true` flag which tells brew's auto update
mechanism to stay out of the way.

Ref: https://docs.brew.sh/FAQ#why-arent-some-apps-included-during-brew-upgrade

Will need to open a PR to update our Formula though.

9241d331b6/Casks/e/ente.rb (L9)
2024-03-27 20:29:11 +05:30
Manav Rathi
5ac4799ce1 Support arbitrary parameters like console.log 2024-03-27 20:26:16 +05:30
Manav Rathi
3699118f0c Don't shellescape fully formed commands 2024-03-27 20:10:45 +05:30
Vishal
9893e3f305 Add Amazon SES for sending mails 2024-03-27 19:58:27 +05:30
Subhashis Suara
07552e7c47 Add CERN Icon 2024-03-27 14:33:27 +01:00
Manav Rathi
cf71d1477b update to new functions in more places 2024-03-27 17:44:49 +05:30
Ashil
79f7fb9ad9 [mobile][photos] Update change log for v0.8.72 release (#1225)
## Description

![72 change
log](https://github.com/ente-io/ente/assets/77285023/1a903668-76be-40d3-b00a-a0a7c7dfb66a)
2024-03-27 17:40:25 +05:30
Manav Rathi
937e09f6a3 Fix import errors 2024-03-27 17:21:42 +05:30
Manav Rathi
8ffe1ece2d Relay isFolder error back to renderer 2024-03-27 17:13:25 +05:30
Manav Rathi
175ea274c4 Alternative formatting 2024-03-27 17:07:56 +05:30
Vishnu Mohandas
78b858ae7c [mobile] FAQ -> Help (#1224) 2024-03-27 17:06:39 +05:30
vishnukvmd
94f4c1e757 [mobile] FAQ -> Help 2024-03-27 17:06:01 +05:30
Manav Rathi
08489c8237 Tweak "render-process-gone" handler 2024-03-27 17:04:46 +05:30
Vishnu Mohandas
be62ea1459 [mobile][photos] Reduce GC events when loading models (#1223)
## Description

When using `readAsBytes()`, noticed a lot of `concurrentMark` GC event
in timeline when using the performance profiler dev tool, which were
potentially causing longer build and raster time for frames.
2024-03-27 16:44:05 +05:30
ashilkn
01b3d99e3a bump up version for release 2024-03-27 16:43:03 +05:30
Manav Rathi
3e61ebf1df Add types for shellescape
Refs:

- https://github.com/boazy/any-shell-escape
- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/shell-escape/index.d.ts
- https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html
2024-03-27 16:36:31 +05:30
ashilkn
7966c6bbc8 Merge branch 'main' into load_model_perf_improvement 2024-03-27 16:34:39 +05:30
ashilkn
35a8a96898 pref: reduce GC events 2024-03-27 16:34:06 +05:30
Vishnu Mohandas
eef33e9c0c [mobile][web] Redirect to payment portal if subscription is past due (#1222)
## Description

When a customer whose Stripe subscription is past due (within the 30 day
window after expiry time and has not been cancelled) clicks on the
subscription modal, take them to the payment portal to complete the
subscription.

## Tests

- [x] Tested web
- [x] Tested mobile
2024-03-27 16:29:58 +05:30
vishnukvmd
ba307b0dcd [web] Fix check 2024-03-27 16:23:38 +05:30
vishnukvmd
44403c94c2 Cancel SEPA subscriptions when payments fail 2024-03-27 16:20:58 +05:30
vishnukvmd
ba314eb647 [web] Handle past-due state on clicking "renew" 2024-03-27 16:17:23 +05:30
vishnukvmd
1020366c3a [mobile][web] Ignore cancelled subscriptions while computing past-due status 2024-03-27 16:11:03 +05:30
laurenspriem
3869802e4c Use alternative face thumbnails in suggestions 2024-03-27 16:08:23 +05:30
vishnukvmd
a15e9b0c9a [web] Redirect to payment portal if subscription is past due 2024-03-27 15:57:00 +05:30
vishnukvmd
a581e31ef9 [mobile] Redirect to payment portal if subscription is past due 2024-03-27 15:56:54 +05:30
Manav Rathi
e1c2c9fc98 Rearrange 2024-03-27 15:55:02 +05:30
Manav Rathi
c38542dbfb Init logging 2024-03-27 15:34:29 +05:30
Manav Rathi
27047da08b Use a truthy check 2024-03-27 15:12:40 +05:30
Manav Rathi
846c2af02b Outline a potential approach 2024-03-27 15:10:35 +05:30
Manav Rathi
42679bc9da Remove duplicated icon
Per https://www.electron.build/icons, a single 512x512 icon.png placed in the
buildResources directory (default `build`) is enough to generate icons for all
three - macOS, Windows and Linux.
2024-03-27 15:00:25 +05:30
Crowdin Bot
856db38fae New Crowdin translations by GitHub Action 2024-03-27 09:14:31 +00:00
Vishnu Mohandas
81a8cba4da [mobile] New translations (#1140)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-03-27 14:44:29 +05:30
Vishnu Mohandas
0c400db649 [server] Fix Stripe related issues (#1152)
## Description

### Stripe
- Settings have been modified to "Cancel" the subscription if all
attempts to charge an invoice fails. The previous configuration was to
set the subscription to "Past Due".

### Museum
- Updated our Stripe workflow to use `PaymentBehaviorAllowIncomplete` in
case of SEPA payments
- Fixed the issue caused by us spawning unnecessary subscriptions when a
customer tried to renew their expired subscription
- Removed the email that was being sent out when a Stripe subscription
expired. We will have to run our own cron to send a notification and
perform necessary clean up. When payments fail, we will still send a
notification to intimate the customer that their account is on hold.

### Mobile
- Fixed the dialogs and error messages on the payment page

## Tests
The following cases were tested for SEPA, Credit Cards, and Credit Cards
with 3DS.
- [x] Purchase
  - [x] Success
  - [x] Failure
- [x] Renewal
  - [x] Success
  - [x] Failure
- [x] Upgrades
  - [x] Success
  - [x] Failure
- [x] Cancellation
- [x] Resumption post recovery

## Note

These changes are likely to break in the event of some corner cases we
haven't thought of. But this will land us in a state that is better than
where we are right now in terms of collecting payments for expired
subscriptions and those via SEPA.
2024-03-27 14:43:36 +05:30
vishnukvmd
25a054287a Prevent duplicate emails for SEPA 2024-03-27 14:22:30 +05:30
Manav Rathi
379a5f8e79 [server] Publish docker image - Part 2/2 (#1219)
Part 2 (and final part) of https://github.com/ente-io/ente/pull/1218.

Completes https://github.com/ente-io/ente/discussions/673. The images
are accessible at `ghcr.io/ente-io/server`, e.g.

```sh
docker pull ghcr.io/ente-io/server
```
2024-03-27 13:59:14 +05:30
Manav Rathi
62d95ad862 Mention pre-built binary in docs 2024-03-27 13:53:43 +05:30
Manav Rathi
e803b7f053 Document in main README 2024-03-27 13:44:24 +05:30
Manav Rathi
741c968c8a Fix typo 2024-03-27 13:10:05 +05:30
Manav Rathi
4a4a6ba44a Give an example of the pull command 2024-03-27 13:04:28 +05:30
Manav Rathi
6588880b31 Use the correct commit, not the current one 2024-03-27 13:02:46 +05:30
Manav Rathi
cb45a070be Tweaks 2024-03-27 12:58:17 +05:30
Manav Rathi
fc8e79fbe9 Remove double namespacing 2024-03-27 12:54:29 +05:30
Manav Rathi
a8a2e7aee3 [server] Publish docker image - Part 1 (#1218)
- Outline the plan
- Add a first cut of the publish script

Merging this now so that I can test the workflow. Post a successful
publish, I'll open another PR with any fixes entailed, and will also
document this in the main server README.
2024-03-27 12:46:26 +05:30
Manav Rathi
4ba76e4aa2 Tweaks 2024-03-27 12:46:08 +05:30
Manav Rathi
7c0f41166c Add a first cut of the publish script 2024-03-27 12:42:29 +05:30
Manav Rathi
b31332ff30 Outline the plan 2024-03-27 12:42:26 +05:30
Manav Rathi
16c2706e48 [docs] Add images for continuous sync (#1217) 2024-03-27 11:55:10 +05:30
Manav Rathi
50431c6410 Update image 2024-03-27 11:53:15 +05:30
Manav Rathi
b6b66684f3 Reindent 2024-03-27 11:46:37 +05:30
Jishnuraj9
0e04a0df04 add images for continuous sync 2024-03-27 11:43:58 +05:30
Vishnu Mohandas
0fc3773812 feat: rounded icons for auth desktop (#1215)
## Description

## Tests
2024-03-26 23:19:43 +05:30
Prateek Sunal
2cda8da3c5 fix: remove unused submodules 2024-03-26 23:13:54 +05:30
Prateek Sunal
652f6a92f5 feat: rounded icons for desktop 2024-03-26 23:12:38 +05:30
Manav Rathi
a78e2892cd [photos-desktop] Update to latest Electron (#1213)
- And update to latest everything else too
- Fix the duplication in preload
- ... and many more cleanup changes (see commit titles for details)

Should not have major functional impact, and whatever IPC actions got
broken by the switch to context-isolation will still not be working.
This is just an intermediate step, and more PRs will continue fixing the
IPC APIs.
2024-03-26 21:54:18 +05:30
Manav Rathi
48a726885f Fix typo in comment 2024-03-26 21:45:21 +05:30
Manav Rathi
88e8e1a18d Remove hacky splash window with a background color
...hacky because it was using a timer instead of the "ready-to-show" event
(which wasn't getting fired for some reason). It is recommended that we set a
background color anyway.
2024-03-26 21:45:21 +05:30
Manav Rathi
ac97d65c12 Remove one copy of duplication from IPC types 2024-03-26 21:45:21 +05:30
Manav Rathi
b0ca3a1a9f Preload won't have logging 2024-03-26 21:45:21 +05:30
Manav Rathi
c055cd9b4a Remove the tscw 2024-03-26 21:45:21 +05:30
Manav Rathi
9e987f62f6 Fix paths of splash etc 2024-03-26 21:45:21 +05:30
Manav Rathi
cb33b6df10 Refactor the init process 2024-03-26 21:45:20 +05:30
Manav Rathi
c3dfa46514 Major version update of Electron
And other surrounding packages.
2024-03-26 21:42:48 +05:30
Manav Rathi
24176d8c40 Document a few more dependencies 2024-03-26 21:42:48 +05:30
Manav Rathi
6e737cdf9a Mention package.json in the shx description 2024-03-26 21:42:48 +05:30
Manav Rathi
8f978a3d3d Manually update the version info in package.json 2024-03-26 21:42:48 +05:30
Manav Rathi
fe94a4cd77 yarn-upgrade interactive 2024-03-26 21:42:48 +05:30
Manav Rathi
140b65b69d Use default import instead of star import
Refs:
https://stackoverflow.com/questions/31386631/difference-between-import-x-and-import-as-x-in-node-js-es6-babel
2024-03-26 21:42:48 +05:30
Manav Rathi
db930feaf3 Stop source map generation
This isn't doing anything for us currently, and I suspect is also the source of
this error when trying to run a binary built using `yarn build:quick`

> DevTools failed to load source map: Could not load content for next://app/preload.js.map:
  Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Note that the renderer process already has source maps.
2024-03-26 21:42:48 +05:30
Manav Rathi
2038b036c5 Remove baseUrl that didn't work
From what I've understood, there isn't a way for us to use the baseUrl for
absolute imports without also using a bundler. The baseUrl works for the
tsconfig, but not for the generated JS.

Since this setting was anyways not working, remove it. Tested by doing `yarn
dev`, `yarn build` and also doing a quick perusal in VSCode to see that it is
not reporting any errors.

Refs:

- https://stackoverflow.com/questions/50679031/why-are-these-tsconfig-paths-not-working
- https://github.com/electron-react-boilerplate/electron-react-boilerplate/issues/2737
- https://stackoverflow.com/questions/40407342/resolving-paths-in-typescript-outdir
- https://stackoverflow.com/questions/51683827/using-paths-in-typescript-in-a-nodejs-project
2024-03-26 21:42:48 +05:30
vishnukvmd
c9618d8038 Update copy 2024-03-26 21:31:29 +05:30
vishnukvmd
888aca7e6c Extract common code 2024-03-26 21:11:57 +05:30
vishnukvmd
31d3319d20 Revert "Depend on subscription-past-due events to trigger the account-on-hold email"
This reverts commit a131c16f4e.
2024-03-26 20:59:02 +05:30
Vishnu Mohandas
2cadc0f0fc Update otp.md 2024-03-26 20:45:46 +05:30
vishnukvmd
a131c16f4e Depend on subscription-past-due events to trigger the account-on-hold email 2024-03-26 20:29:55 +05:30
vishnukvmd
b78a66a274 [mobile] Update behavior of the payment page 2024-03-26 19:59:22 +05:30
Vishnu Mohandas
1c891f80f9 [docs] Improve export docs (#1212) 2024-03-26 16:40:11 +05:30
Manav Rathi
613e32b00e [docs] Improve export docs 2024-03-26 16:38:49 +05:30
Vishnu Mohandas
c72878b00e [auth] New translations (#1174)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-03-26 11:47:40 +05:30
Manav Rathi
e7db1ceb01 [web] New translations (#1207)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-26 09:58:33 +05:30
Manav Rathi
512226b727 [docs] Add FAQ items around self hosting (#1209) 2024-03-26 09:58:00 +05:30
Manav Rathi
7fbb37a851 Add FAQ items around self hosting 2024-03-26 09:57:08 +05:30
Crowdin Bot
af568bcb21 New Crowdin translations by GitHub Action 2024-03-26 02:02:59 +00:00
Crowdin Bot
33cfec915a New Crowdin translations by GitHub Action 2024-03-26 01:55:04 +00:00
Crowdin Bot
e3d3943539 New Crowdin translations by GitHub Action 2024-03-26 01:36:29 +00:00
vishnukvmd
f2aac262b1 Remove unused flag 2024-03-25 23:27:39 +05:30
vishnukvmd
4afc056a9f Stop listening to subscription deleted events 2024-03-25 23:26:48 +05:30
vishnukvmd
2dcf5daf54 Handle cases where default payment method might not be specified 2024-03-25 23:16:20 +05:30
vishnukvmd
29245b73b9 Cancel subscriptions on SEPA failures immediately 2024-03-25 23:15:43 +05:30
vishnukvmd
d003542e42 Simplify how last payment method is fetched 2024-03-25 23:13:56 +05:30
laurenspriem
a09b71cc15 [mob] Faster face cropping method 2024-03-23 17:02:22 +05:30
vishnukvmd
a275ab7740 Set subscription to expire 7 days after payment failure 2024-03-23 14:37:29 +05:30
laurenspriem
b1b3bcc534 Support for clustering in buckets 2024-03-22 11:49:23 +05:30
laurenspriem
85f76497b4 More debug info 2024-03-22 11:31:33 +05:30
ashilkn
953824ca25 Refactor: reduce parameters and change name of function 2024-03-21 19:54:31 +05:30
laurenspriem
005ab0814f [mob] Remove empty CTA icon when there are people 2024-03-21 18:59:45 +05:30
laurenspriem
b8813161a1 Add faces count 2024-03-21 18:23:21 +05:30
laurenspriem
f94aa400bf [mob] Minor changes to clustering 2024-03-21 18:07:12 +05:30
laurenspriem
b5cff212bb Refactor of clustering 2024-03-21 16:59:55 +05:30
laurenspriem
212208ae01 Add debugPrint 2024-03-21 16:53:22 +05:30
laurenspriem
fc8122b18e Add indexing debug cooldown 2024-03-21 16:52:52 +05:30
ashilkn
7c05069dbd fix(viewing proXDR images): When codec fails to produce an image, try converting image to jpeg and use the jpeg file for viewing the image 2024-03-21 16:26:09 +05:30
laurenspriem
a2bca84b91 [mob] Sort clustering on fileCreationTime asc 2024-03-21 15:41:34 +05:30
vishnukvmd
e634310cb1 Remove unused method 2024-03-21 14:49:37 +05:30
vishnukvmd
b95d7c241d Create new subs only if the existing subscription is in a cancelled state 2024-03-21 14:48:29 +05:30
vishnukvmd
3cf680eec1 [WiP] Prevent subscription cancellation 2024-03-21 14:42:38 +05:30
vishnukvmd
1f17f2442a Handle SEPA failures 2024-03-21 14:33:10 +05:30
vishnukvmd
859af52c64 Remove commented code 2024-03-21 13:55:42 +05:30
vishnukvmd
78e5e3bdb1 Minor refactor 2024-03-21 13:31:46 +05:30
vishnukvmd
5635e63cb7 Update handling for subscription updated events 2024-03-21 13:29:42 +05:30
laurenspriem
a9fdee96a8 More debug options 2024-03-21 12:40:03 +05:30
Abhinav
520f7ab64c only use PaymentBehaviorAllowIncomplete for SEPA payment method 2024-03-21 07:18:28 +05:30
Abhinav
4e074770d2 invoice client specific invoice api 2024-03-21 06:48:49 +05:30
laurenspriem
125a4de66a Deprecate function 2024-03-20 16:20:55 +05:30
laurenspriem
a4582c0e55 Move FaceML inside Machine Learning directory 2024-03-20 15:51:57 +05:30
laurenspriem
1819ea834a Forgot to delete debug stuff 2024-03-20 14:44:28 +05:30
laurenspriem
a443ac1680 Better use of constants 2024-03-20 14:42:42 +05:30
laurenspriem
39f16ff517 Only show high quality faces in file info 2024-03-20 14:34:12 +05:30
vishnukvmd
49893d9732 Update on-hold email subject 2024-03-20 14:31:33 +05:30
vishnukvmd
db81f52cf1 Update mail when subscription is on-hold 2024-03-20 14:31:01 +05:30
laurenspriem
974b7c7329 Increase blur threshold 2024-03-20 14:15:59 +05:30
vishnukvmd
628565cfaf Merge branch 'main' into sepa-fix 2024-03-20 14:08:36 +05:30
laurenspriem
af1a6fc9fa [mob] Log actually analyzed count 2024-03-20 12:03:08 +05:30
laurenspriem
2573328c30 [mob] Minor change 2024-03-20 11:28:59 +05:30
laurenspriem
eaea4f81b7 [mob] update server on old FaceMlVersion 2024-03-20 11:28:37 +05:30
laurenspriem
17fa64aa5e Remove unused import 2024-03-20 10:43:02 +05:30
Abhinav
6b749294ce fix sepa issue 2024-03-19 18:40:32 +05:30
laurenspriem
83d8d7ae7a [mob] empty constructor for Face 2024-03-19 18:24:46 +05:30
Neeraj Gupta
4d4bdb99df Remove auth/flutter submodule 2024-03-19 16:20:34 +05:30
Neeraj Gupta
a79b14db78 [mob] use ml version when to decide need for re-index 2024-03-19 16:16:08 +05:30
Neeraj Gupta
e83e8cdb6e [mob] minor refactor 2024-03-19 15:18:07 +05:30
Neeraj Gupta
3e4cf4b4f2 [mob] Skip already indexed files on remote 2024-03-19 15:06:32 +05:30
Neeraj Gupta
8a4ca15eb8 [mob] generated strings 2024-03-19 13:44:57 +05:30
Neeraj Gupta
79acd166b7 [mob] Enable magic search in face 2024-03-19 12:37:24 +05:30
Neeraj Gupta
f78eb703ef [mob] Add support for pushing embeddings to remote 2024-03-16 23:02:44 +05:30
laurenspriem
58c85c8c13 Deprecating some methods 2024-03-15 18:22:40 +05:30
laurenspriem
0b0a0cec26 [mob] Only run decoding of images once 2024-03-15 18:15:57 +05:30
laurenspriem
470a3da7b0 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-15 17:10:16 +05:30
laurenspriem
9285baace2 Change Face to use relative coordinates 2024-03-15 17:07:17 +05:30
Neeraj Gupta
bcfe05f16a [mob] Remove unused import 2024-03-15 15:20:49 +05:30
laurenspriem
ca16c6f0d6 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-15 14:58:21 +05:30
laurenspriem
cdd8929bc6 Cleanup 2024-03-15 14:53:46 +05:30
laurenspriem
05f188080b Remove image package in thumbnail generation 2024-03-15 14:53:40 +05:30
Neeraj Gupta
85ed93e374 [mob] Remove unused files 2024-03-15 14:52:57 +05:30
Neeraj Gupta
3007c4c7dd Remove unused model 2024-03-15 14:41:57 +05:30
laurenspriem
847a99d0e9 Fix cutoff face thumbnails 2024-03-15 12:52:27 +05:30
laurenspriem
52b787f71e Face thumbnail generation without canvas 2024-03-15 12:48:01 +05:30
Neeraj Gupta
9f3fe7b05b Merge branch 'main' into mobile_face 2024-03-14 17:11:53 +05:30
laurenspriem
8ef673fe58 Clean up logs 2024-03-14 16:13:42 +05:30
laurenspriem
74d1cbb01f Use full file on face detection 2024-03-14 16:13:27 +05:30
laurenspriem
f0ad363895 elliptical rounding on face widget 2024-03-14 16:04:08 +05:30
Neeraj Gupta
c643876955 [mob][face] Fix clear table query 2024-03-14 11:12:22 +05:30
laurenspriem
17684a112e [mob] green banner for adding name to cluster 2024-03-13 19:00:23 +05:30
laurenspriem
aad4bd3b79 Better logging for face detection 2024-03-13 18:32:57 +05:30
Neeraj Gupta
614db863bc [mob] Fix search tab 2024-03-13 17:49:10 +05:30
Neeraj Gupta
f239959067 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-03-13 16:39:27 +05:30
laurenspriem
83b9afa5c8 custom interpolation for face detection 2024-03-13 16:36:45 +05:30
Neeraj Gupta
33a0a3511a Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-03-13 12:06:53 +05:30
Neeraj Gupta
f9dd509d61 Merge branch 'main' of https://github.com/ente-io/auth into mobile_face 2024-03-13 12:06:33 +05:30
laurenspriem
af978e1e36 Banner to add name to cluster 2024-03-12 18:52:31 +05:30
laurenspriem
a00a8bb0a9 RRect for faces in file info 2024-03-12 18:48:21 +05:30
laurenspriem
3b2fa3ba10 bicubic interpolation 2024-03-12 17:06:42 +05:30
laurenspriem
5b3519ea38 Align faces with bilinear interpolation in dart 2024-03-11 18:50:00 +05:30
laurenspriem
ebc69b645e Enable faces section quick and dirty fix 2024-03-11 18:18:45 +05:30
laurenspriem
db4b1a8767 Deprecate TFLite preprocessing methods 2024-03-11 17:10:16 +05:30
Neeraj Gupta
350e02f348 Lint fixes 2024-03-08 12:00:39 +05:30
Neeraj Gupta
d2bf4846a5 [mobile] Patch faces mvp from photos-app repo 2024-03-08 09:36:03 +05:30
Prateek Sunal
801b4162f2 fix: file hash should not be unique 2023-11-20 05:32:04 +05:30
Prateek Sunal
1ca2721dae fix: add file key in table 2024-04-10 22:50:02 +05:30
Prateek Sunal
ce3a3bd802 fix: upload status to table 2024-04-10 20:31:04 +05:30
Prateek Sunal
a45092931d fix: add support for inital resumable 2024-04-10 19:36:57 +05:30
Prateek Sunal
7358305d15 fix: generalize xml parser logic 2024-04-07 12:10:20 +05:30
Prateek Sunal
12c1aa4c28 fix: only multipart when count is greater than 1 2024-04-07 12:09:59 +05:30
Prateek Sunal
2a4a551d52 fix: complete url xml 2024-04-06 22:42:57 +05:30
Prateek Sunal
c2bbca3bc7 fix: separate xml parser util 2024-04-06 21:30:44 +05:30
Prateek Sunal
9c9309cc06 feat: add multipart upload support 2024-04-06 21:24:14 +05:30
3076 changed files with 224427 additions and 408155 deletions

View File

@@ -4,11 +4,12 @@ labels: ["triage"]
body:
- type: markdown
attributes:
value: >
Before opening a new issue, please ensure you are on the latest
version (it might've already been fixed), and that you've searched
for existing issues (please add you observations as a comment
there instead of creating a duplicate).
value: |
Before opening a new bug report, please ensure
1. you are on the latest version (it might've already been fixed),
2. you've searched for existing issues (please add your observations as a comment there instead of creating a duplicate).
If you are self hosting, please create a community [Q&A](https://github.com/ente-io/ente/discussions/categories/q-a) instead.
- type: textarea
attributes:
label: Description
@@ -16,7 +17,8 @@ body:
Please describe the bug. If possible, also include the steps to
reproduce the behaviour, and the expected behaviour (sometimes
bugs are just expectation mismatches, in which case this would be
a good fit for Discussions).
a good fit for [feature
requests](https://github.com/ente-io/ente/discussions/categories/feature-requests)).
validations:
required: true
- type: input

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
.github/assets/obtainium-badge.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

31
.github/workflows/auth-crowdin-push.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: "Push sources to Crowdin (auth)"
on:
push:
branches: [main]
paths:
# Run workflow when auth's intl_en.arb is changed
- "auth/lib/l10n/arb/app_en.arb"
# Or the workflow itself is changed
- ".github/workflows/auth-crowdin.yml"
jobs:
push-sources-to-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "auth/"
config: "auth/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: false
project_id: 575169
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

36
.github/workflows/auth-crowdin-sync.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: "Sync Crowdin translations (auth)"
on:
schedule:
# Run Mondays at ~6:30 AM IST
# See: [Note: Run workflow on specific days of the week]
- cron: "50 0 * * 1"
# Also allow manually running the workflow.
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "auth/"
config: "auth/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: translations/auth
create_pull_request: true
skip_untranslated_strings: true
pull_request_title: "[auth] New translations"
pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-authenticator-app)"
pull_request_base_branch_name: "main"
project_id: 575169
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -1,42 +0,0 @@
name: "Sync Crowdin translations (auth)"
on:
push:
branches: [main]
paths:
# Run workflow when auth's intl_en.arb is changed
- "mobile/lib/l10n/arb/app_en.arb"
# Or the workflow itself is changed
- ".github/workflows/auth-crowdin.yml"
schedule:
# See: [Note: Run workflow on specific days of the week]
- cron: "50 1 * * 2,5"
# Also allow manually running the workflow
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v1
with:
base_path: "auth/"
config: "auth/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: crowdin-translations-auth
create_pull_request: true
skip_untranslated_strings: true
pull_request_title: "[auth] New translations"
pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-authenticator-app)"
pull_request_base_branch_name: "main"
project_id: 575169
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -0,0 +1,56 @@
name: "Internal release (auth mobile)"
on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.24.3"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Setup keys
uses: timheuer/base64-to-file@v1
with:
fileName: "keystore/ente_auth_key.jks"
encodedString: ${{ secrets.SIGNING_KEY }}
- name: Build PlayStore AAB
run: |
flutter build appbundle --release --flavor playstore --dart-define=app.flavor=playstore
env:
SIGNING_KEY_PATH: "/home/runner/work/_temp/keystore/ente_auth_key.jks"
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
- name: Upload AAB to PlayStore
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.ente.auth
releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal

View File

@@ -1,15 +1,14 @@
name: "Lint (auth)"
on:
# Run on every push to a branch other than main that changes auth/
push:
branches-ignore: [main, "deploy/**"]
# Run on every pull request (open or push to it) that changes auth/
pull_request:
paths:
- "auth/**"
- ".github/workflows/auth-lint.yml"
env:
FLUTTER_VERSION: "3.19.3"
FLUTTER_VERSION: "3.24.3"
jobs:
lint:

View File

@@ -17,8 +17,8 @@ name: "Release (auth)"
# We use a suffix like `-test` to indicate that these are test tags, and that
# they belong to a pre-release.
#
# If you need to do multiple tests, add a +x at the end of the tag. e.g.
# `auth-v1.2.3-test+1`.
# If you need to do multiple tests, add a .x at the end of the tag. e.g.
# `auth-v1.2.3-test.1`.
#
# Once the testing is done, also delete the tag(s) please.
@@ -29,7 +29,7 @@ on:
- "auth-v*"
env:
FLUTTER_VERSION: "3.19.3"
FLUTTER_VERSION: "3.24.3"
jobs:
build-ubuntu:
@@ -45,6 +45,11 @@ jobs:
with:
submodules: recursive
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
@@ -85,29 +90,22 @@ jobs:
- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm libsqlite3-dev locate appindicator3-0.1 libappindicator3-dev
- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config libsqlite3-dev locate appindicator3-0.1 libappindicator3-dev libffi-dev libtiff5
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
- name: Build desktop app
run: |
flutter config --enable-linux-desktop
dart pub global activate flutter_distributor
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
flutter_distributor package --platform=linux --targets=deb --skip-clean
flutter_distributor package --platform=linux --targets=rpm --skip-clean
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.deb artifacts/ente-${{ github.ref_name }}-x86_64.deb
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
env:
LIBSODIUM_USE_PKGCONFIG: 1
- name: Generate checksums
run: sha256sum artifacts/ente-* > artifacts/sha256sum
- name: Generate checksums and push to artifacts
run: |
sha256sum artifacts/ente-* > artifacts/sha256sum-apk-deb
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
@@ -127,6 +125,67 @@ jobs:
releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal
build-fedora-etc:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Create artifacts directory
run: mkdir artifacts
- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff5 xz-utils libarchive-tools
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/
- name: Build desktop app
run: |
flutter config --enable-linux-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
# Run below command if it is a beta or nightly
if [[ ${{ github.ref }} =~ beta|nightly ]]; then
flutter_distributor package --platform=linux --targets=pacman --skip-clean
mv dist/**/*-*-linux.pacman artifacts/ente-${{ github.ref_name }}-x86_64.pacman
fi
flutter_distributor package --platform=linux --targets=rpm --skip-clean
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
- name: Generate checksums
run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "auth/artifacts/*"
draft: true
allowUpdates: true
updateOnlyUnreleased: true
build-windows:
runs-on: windows-latest
@@ -153,10 +212,11 @@ jobs:
- name: Build Windows installer
run: |
flutter config --enable-windows-desktop
dart pub global activate flutter_distributor
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
make innoinstall
flutter_distributor package --platform=windows --targets=exe --skip-clean
mv dist/**/ente_auth-*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
mv dist/**/*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
- name: Retain Windows EXE and DLLs
run: cp -r build/windows/x64/runner/Release ente-${{ github.ref_name }}-windows
@@ -173,6 +233,9 @@ jobs:
- name: Zip Windows EXE and DLLs
run: tar.exe -a -c -f artifacts/ente-${{ github.ref_name }}-windows.zip ente-${{ github.ref_name }}-windows
- name: Generate checksums
run: sha256sum artifacts/ente-* > artifacts/sha256sum-windows
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
@@ -246,7 +309,7 @@ jobs:
flutter config --enable-macos-desktop
dart pub global activate flutter_distributor
flutter_distributor package --platform=macos --targets=dmg --skip-clean
mv dist/**/ente_auth-*-macos.dmg artifacts/ente-${{ github.ref_name }}.dmg
mv dist/**/*-macos.dmg artifacts/ente-${{ github.ref_name }}.dmg
- name: Code sign DMG
run: |
@@ -267,6 +330,9 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
- name: Generate checksums
run: shasum -a 256 artifacts/ente-* > artifacts/sha256sum-macos
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:

29
.github/workflows/desktop-lint.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: "Lint (desktop)"
on:
# Run on every pull request (open or push to it) that changes desktop/
pull_request:
paths:
- "desktop/**"
- ".github/workflows/desktop-lint.yml"
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: desktop
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "desktop/yarn.lock"
- run: yarn install
- run: yarn lint

View File

@@ -37,11 +37,8 @@ jobs:
run: yarn build
- name: Publish
uses: cloudflare/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: help
directory: docs/docs/.vitepress/dist
wranglerVersion: "3"
command: pages deploy --project-name=ente --commit-dirty=true --branch=help docs/docs/.vitepress/dist

View File

@@ -4,9 +4,8 @@ name: "Verify build (docs)"
# succeeding before we merge the PR into main.
on:
# Run on every push to a branch other than main that changes docs/
push:
branches-ignore: [main, "deploy/**"]
# Run on every pull request (open or push to it) that changes docs/
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs-verify-build.yml"

View File

@@ -0,0 +1,43 @@
name: "Deploy (staff)"
on:
# Run on every push to main that changes infra/staff/
push:
branches: [main]
paths:
- "infra/staff/**"
- ".github/workflows/infra-deploy-staff.yml"
# Also allow manually running the workflow
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: infra/staff
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Publish
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/staff infra/staff/dist

33
.github/workflows/infra-lint-staff.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: "Lint (staff)"
on:
# Run on every pull request (open or push to it) that changes infra/staff/
pull_request:
paths:
- "infra/staff/**"
- ".github/workflows/infra-deploy-staff.yml"
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: infra/staff
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint

View File

@@ -0,0 +1,31 @@
name: "Push sources to Crowdin (mobile)"
on:
push:
branches: [main]
paths:
# Run workflow when mobiles's intl_en.arb is changed
- "mobile/lib/l10n/intl_en.arb"
# Or the workflow itself is changed
- ".github/workflows/mobile-crowdin.yml"
jobs:
push-sources-to-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "mobile/"
config: "mobile/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: false
project_id: 574741
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -0,0 +1,35 @@
name: "Sync Crowdin translations (mobile)"
on:
schedule:
# Run Mondays at ~6:30 AM IST
# See: [Note: Run workflow on specific days of the week]
- cron: "40 0 * * 1"
# Also allow manually running the workflow.
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "mobile/"
config: "mobile/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: translations/mobile
create_pull_request: true
pull_request_title: "[mobile] New translations"
pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-photos-app)"
pull_request_base_branch_name: "main"
project_id: 574741
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -1,42 +0,0 @@
name: "Sync Crowdin translations (mobile)"
on:
push:
branches: [main]
paths:
# Run workflow when mobiles's intl_en.arb is changed
- "mobile/lib/l10n/intl_en.arb"
# Or the workflow itself is changed
- ".github/workflows/mobile-crowdin.yml"
schedule:
# See: [Note: Run workflow on specific days of the week]
- cron: "40 1 * * 2,5"
# Also allow manually running the workflow
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v1
with:
base_path: "mobile/"
config: "mobile/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: crowdin-translations-mobile
create_pull_request: true
skip_untranslated_strings: true
pull_request_title: "[mobile] New translations"
pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-photos-app)"
pull_request_base_branch_name: "main"
project_id: 574741
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -0,0 +1,56 @@
name: "Internal release (photos)"
on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.24.3"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: mobile
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Setup keys
uses: timheuer/base64-to-file@v1
with:
fileName: "keystore/ente_photos_key.jks"
encodedString: ${{ secrets.SIGNING_KEY_PHOTOS }}
- name: Build PlayStore AAB
run: |
flutter build appbundle --release --flavor playstore
env:
SIGNING_KEY_PATH: "/home/runner/work/_temp/keystore/ente_photos_key.jks"
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS_PHOTOS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD_PHOTOS }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD_PHOTOS }}
- name: Upload AAB to PlayStore
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.ente.photos
releaseFiles: mobile/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal

View File

@@ -1,15 +1,15 @@
name: "Lint (mobile)"
on:
# Run on every push to a branch other than main that changes mobile/
push:
branches-ignore: [main, f-droid, "deploy/**"]
# Run on every pull request (open or push to it) that changes mobile/
pull_request:
paths:
- "mobile/**"
- ".github/workflows/mobile-lint.yml"
env:
FLUTTER_VERSION: "3.13.4"
FLUTTER_VERSION: "3.24.3"
jobs:
lint:

View File

@@ -9,7 +9,7 @@ on:
- "photos-v*"
env:
FLUTTER_VERSION: "3.13.4"
FLUTTER_VERSION: "3.24.3"
jobs:
build:
@@ -25,6 +25,11 @@ jobs:
with:
submodules: recursive
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:

View File

@@ -1,9 +1,8 @@
name: "Lint (server)"
on:
# Run on every push to a branch other than main that changes server/
push:
branches-ignore: [main, "deploy/**"]
# Run on every pull request (open or push to it) that changes server/
pull_request:
paths:
- "server/**"
- ".github/workflows/server-lint.yml"
@@ -21,7 +20,8 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: "server/go.mod"
go-version-file: server/go.mod
cache-dependency-path: server/go.sum
cache: true
- name: Install dependencies

45
.github/workflows/server-publish.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
name: "Publish (server)"
on:
# Run manually, providing it the commit.
#
# To obtain the commit from the currently deployed museum, do:
# curl -s https://api.ente.io/ping | jq -r '.id'
#
# See server/docs/publish.md for more details.
workflow_dispatch:
inputs:
commit:
description: "Commit to publish the image from"
type: string
required: true
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit }}
- name: Build and push
uses: mr-smithers-excellent/docker-build-push@v6
with:
dockerfile: server/Dockerfile
directory: server
# Resultant package name will be ghcr.io/ente-io/server
image: server
registry: ghcr.io
enableBuildKit: true
multiPlatform: true
platform: linux/amd64,linux/arm64
buildArgs: GIT_COMMIT=${{ inputs.commit }}
tags: ${{ inputs.commit }}, latest
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Tag as server/ghcr
run: |
git tag -f server/ghcr
git push -f origin server/ghcr

View File

@@ -7,11 +7,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out code
- name: Checkout code
uses: actions/checkout@v4
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & Push
- name: Build and push
uses: mr-smithers-excellent/docker-build-push@v6
with:
dockerfile: server/Dockerfile
directory: server

View File

@@ -0,0 +1,34 @@
name: "Push Crowdin translations (web)"
# This is a variant of web-crowdin-sync.yml that uploads the translated strings in
# addition to the source strings.
#
# This allows us to change the strings in our source code for an automated
# refactoring (e.g. renaming a key), and then run this workflow to update the
# data in Crowdin taking our source code as the source of truth.
on:
# Trigger manually, or using
# `gh workflow run web-crowdin-push-both.yml --ref <my-branch>`
workflow_dispatch:
jobs:
push-both-to-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin push
uses: crowdin/github-action@v2
with:
base_path: "web/"
config: "web/crowdin.yml"
upload_sources: true
upload_translations: true
download_translations: false
project_id: 569613
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

50
.github/workflows/web-crowdin-sync.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
name: "Sync Crowdin translations (web)"
on:
push:
branches: [main]
paths:
# Run workflow when web's en-US/translation.json is changed
- "web/packages/base/locales/en-US/translation.json"
# Or the workflow itself is changed
- ".github/workflows/web-crowdin.yml"
schedule:
# Run Mondays at ~6:00 AM IST
#
# [Note: Run workflow on specific days of the week]
#
# The last (5th) component of the cron syntax denotes the day of the
# week, with 0 == SUN and 6 == SAT. So, for example, to run on every TUE
# and FRI, this can be set to `2,5`.
#
# See also: [Note: Run workflow every 24 hours]
- cron: "20 0 * * 1"
# Also allow manually running the workflow.
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "web/"
config: "web/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: translations/web
create_pull_request: true
skip_untranslated_strings: true
pull_request_title: "[web] New translations"
pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-photos-web)"
pull_request_base_branch_name: "main"
project_id: 569613
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -1,48 +0,0 @@
name: "Sync Crowdin translations (web)"
on:
push:
branches: [main]
paths:
# Run workflow when web's en-US/translation.json is changed
- "web/apps/photos/public/locales/en-US/translation.json"
# Or the workflow itself is changed
- ".github/workflows/web-crowdin.yml"
schedule:
# [Note: Run workflow on specific days of the week]
#
# The last (5th) component of the cron syntax denotes the day of the
# week, with 0 == SUN and 6 == SAT. So, for example, to run on every TUE
# and FRI, this can be set to `2,5`.
#
# See also: [Note: Run workflow every 24 hours]
- cron: "20 1 * * 2,5"
# Also allow manually running the workflow
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin's action
uses: crowdin/github-action@v1
with:
base_path: "web/"
config: "web/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: crowdin-translations-web
create_pull_request: true
skip_untranslated_strings: true
pull_request_title: "[web] New translations"
pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-photos-web)"
pull_request_base_branch_name: "main"
project_id: 569613
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -1,43 +0,0 @@
name: "Deploy (accounts)"
on:
push:
# Run workflow on pushes to the deploy/accounts
branches: [deploy/accounts]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build accounts
run: yarn build:accounts
- name: Publish accounts
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: deploy/accounts
directory: web/apps/accounts/out
wranglerVersion: "3"

View File

@@ -1,43 +0,0 @@
name: "Deploy (auth)"
on:
push:
# Run workflow on pushes to the deploy/auth
branches: [deploy/auth]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build auth
run: yarn build:auth
- name: Publish auth
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: deploy/auth
directory: web/apps/auth/out
wranglerVersion: "3"

View File

@@ -1,43 +0,0 @@
name: "Deploy (cast)"
on:
push:
# Run workflow on pushes to the deploy/cast
branches: [deploy/cast]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build cast
run: yarn build:cast
- name: Publish cast
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: deploy/cast
directory: web/apps/cast/out
wranglerVersion: "3"

61
.github/workflows/web-deploy-one.yml vendored Normal file
View File

@@ -0,0 +1,61 @@
name: "Deploy one (web)"
on:
workflow_dispatch:
inputs:
app:
description: "App to build and deploy"
type: choice
required: true
default: "photos"
options:
- "accounts"
- "auth"
- "cast"
- "payments"
- "photos"
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build ${{ inputs.app }}
run: yarn build:${{ inputs.app }}
- name: Publish ${{ inputs.app }} to preview
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# [Note: Wrangler commit-dirty]
#
# Without the --commit-dirty flag, running the wrangler-action
# always prints a warning when used:
#
# Warning: Your working directory is a git repo and has uncommitted changes
# To silence this warning, pass in --commit-dirty=true
#
# There is no clear documentation of if passing this is
# harmless, but all indications and in-practice tests seem to
# indicate so.
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/${{ inputs.app }} web/apps/${{ inputs.app }}/out

View File

@@ -1,43 +0,0 @@
name: "Deploy (photos)"
on:
push:
# Run workflow on pushes to the deploy/photos
branches: [deploy/photos]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build photos
run: yarn build:photos
- name: Publish photos
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: deploy/photos
directory: web/apps/photos/out
wranglerVersion: "3"

View File

@@ -0,0 +1,50 @@
name: "Deploy preview (web)"
on:
workflow_dispatch:
inputs:
app:
description: "App to build and deploy"
type: choice
required: true
default: "photos"
options:
- "accounts"
- "auth"
- "cast"
- "payments"
- "photos"
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build ${{ inputs.app }}
run: yarn build:${{ inputs.app }}
- name: Publish ${{ inputs.app }} to preview
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=preview web/apps/${{ inputs.app }}/out

View File

@@ -0,0 +1,99 @@
name: "Deploy staging (web)"
# Builds the "staging/web" branch if it exists, "main" otherwise.
on:
schedule:
# Run everyday at ~3:00 PM IST
#
# See: [Note: Run workflow every 24 hours]
- cron: "25 9 * * *"
# Also allow manually running the workflow
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Determine branch to build
id: select-branch
working-directory: ${{ github.workspace }}
run: |
if git ls-remote --exit-code --heads https://github.com/ente-io/ente refs/heads/staging/web; then
echo "branch=staging/web" >> $GITHUB_OUTPUT
else
echo "branch=main" >> $GITHUB_OUTPUT
fi
- name: Checkout ${{ steps.select-branch.outputs.branch }}
uses: actions/checkout@v4
with:
ref: ${{ steps.select-branch.outputs.branch }}
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build photos
run: yarn build:photos
env:
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT: https://albums.ente.sh
- name: Publish photos
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=n-photos web/apps/photos/out
- name: Build accounts
run: yarn build:accounts
- name: Publish accounts
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=n-accounts web/apps/accounts/out
- name: Build auth
run: yarn build:auth
- name: Publish auth
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=n-auth web/apps/auth/out
- name: Build cast
run: yarn build:cast
- name: Publish cast
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=n-cast web/apps/cast/out
- name: Build payments
run: yarn build:payments
- name: Publish payments
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=n-payments web/apps/payments/dist

94
.github/workflows/web-deploy.yml vendored Normal file
View File

@@ -0,0 +1,94 @@
name: "Deploy (web)"
on:
schedule:
# [Note: Run workflow every 24 hours]
#
# Run everyday at ~8:00 AM IST (except Sundays).
#
# First field is minute, second is hour of the day. Last is day of week,
# 0 being Sunday.
#
# Add a few minutes of offset to avoid scheduling on exact hourly
# boundaries (recommended by GitHub to avoid congestion).
#
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
# https://crontab.guru/
#
- cron: "25 2 * * 1-6"
# Also allow manually running the workflow
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build photos
run: yarn build:photos
- name: Publish photos
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/photos web/apps/photos/out
- name: Build accounts
run: yarn build:accounts
- name: Publish accounts
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/accounts web/apps/accounts/out
- name: Build auth
run: yarn build:auth
- name: Publish auth
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/auth web/apps/auth/out
- name: Build cast
run: yarn build:cast
- name: Publish cast
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/cast web/apps/cast/out
- name: Build payments
run: yarn build:payments
- name: Publish payments
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/payments web/apps/payments/dist

View File

@@ -1,13 +1,17 @@
name: "Lint (web)"
on:
# Run on every push to a branch other than main that changes web/
push:
branches-ignore: [main, "deploy/**"]
# Run on every pull request (open or push to it) that changes web/
pull_request:
paths:
- "web/**"
- ".github/workflows/web-lint.yml"
# Cancel in-progress lint runs when a new commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest

View File

@@ -1,94 +0,0 @@
name: "Nightly (web)"
on:
schedule:
# [Note: Run workflow every 24 hours]
#
# Run every 24 hours - First field is minute, second is hour of the day
# This runs 23:15 UTC everyday - 1 and 15 are just arbitrary offset to
# avoid scheduling it on the exact hour, as suggested by GitHub.
#
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
# https://crontab.guru/
#
- cron: "15 23 * * *"
# Also allow manually running the workflow
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build accounts
run: yarn build:accounts
- name: Publish accounts
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-accounts
directory: web/apps/accounts/out
wranglerVersion: "3"
- name: Build auth
run: yarn build:auth
- name: Publish auth
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-auth
directory: web/apps/auth/out
wranglerVersion: "3"
- name: Build cast
run: yarn build:cast
- name: Publish cast
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-cast
directory: web/apps/cast/out
wranglerVersion: "3"
- name: Build photos
run: yarn build:photos
env:
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT: https://albums.ente.sh
- name: Publish photos
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-photos
directory: web/apps/photos/out
wranglerVersion: "3"

View File

@@ -1,52 +0,0 @@
name: "Preview (web)"
on:
workflow_dispatch:
inputs:
app:
description: "App to build and deploy"
type: choice
required: true
default: "photos"
options:
- "accounts"
- "auth"
- "cast"
- "photos"
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
- name: Install dependencies
run: yarn install
- name: Build ${{ inputs.app }}
run: yarn build:${{ inputs.app }}
- name: Publish ${{ inputs.app }} to preview
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: preview
directory: web/apps/${{ inputs.app }}/out
wranglerVersion: "3"

3
.gitignore vendored
View File

@@ -1,5 +1,6 @@
# Let folks use their custom .vscode settings
# Let folks use their custom editor settings
.vscode
.idea
# macOS
.DS_Store

7
.gitmodules vendored
View File

@@ -9,13 +9,6 @@
[submodule "auth/assets/simple-icons"]
path = auth/assets/simple-icons
url = https://github.com/simple-icons/simple-icons.git
[submodule "mobile/plugins/clip_ggml"]
path = mobile/plugins/clip_ggml
url = https://github.com/ente-io/clip-ggml.git
[submodule "web/apps/photos/thirdparty/ffmpeg-wasm"]
path = web/apps/photos/thirdparty/ffmpeg-wasm
url = https://github.com/abhinavkgrd/ffmpeg.wasm.git
branch = master
[submodule "web/apps/photos/thirdparty/photoswipe"]
path = web/apps/photos/thirdparty/photoswipe
url = https://github.com/ente-io/PhotoSwipe.git

View File

@@ -12,9 +12,10 @@ There are many ways to contribute, and most of them don't require writing code.
## Spread the word
This is perhaps the most impactful contribution you can make. Spread the word.
Online on your favorite social media channels. Offline to your friends and
family who are looking for a privacy-friendly alternative to big tech.
This is perhaps the most impactful contribution you can make. [Spread the
word](https://help.ente.io/photos/features/referral-program/). Online on your
favorite social media channels. Offline to your friends and family who are
looking for a privacy-friendly alternative to big tech.
## Engage with the community
@@ -59,21 +60,30 @@ See [docs/](docs/README.md) for how to edit these documents.
## Code contributions
If you'd like to contribute code, it is best to start small.
Code is a small aspect of community, and the ways mentioned above are more
important in helping us. But if you'd _really_ like to contribute code, it is
best to start small. Consider some well-scoped changes, say like adding more
[custom icons to auth](auth/docs/adding-icons.md).
Each of the individual product/platform specific directories in this repository
have instructions on setting up a dev environment and making changes. The issues
and discussions (feature requests) labelled "good first issues" should be good
starting points. Once you have a bearing, you can head on to issues or
discussions labelled "help wanted".
have instructions on setting up a dev environment.
If you're planning on adding a new feature or making any other substantial
change, please [discuss it with
us](https://github.com/ente-io/ente/discussions). Discussing your idea with us
first ensures that everyone is on the same page before you start working on your
change.
For anything beyond trivial bug fixes, please use [features requests and
discussions](https://github.com/ente-io/ente/discussions) instead of performing
code changes directly.
## Star
> [!TIP]
>
> Please remember that code is a important, but small, part of the overall big
> picture that makes a product a joy to use. Something that's easy in code is
> not necessarily the right choice for the product as a whole. So we'll repeat -
> there are other ways to contribute than code that we'd request you to
> consider.
## Leave a review or star
If you haven't already done so, consider [starring this
repository](https://github.com/ente-io/ente/stargazers).
repository](https://github.com/ente-io/ente/stargazers) or leaving a review on
[PlayStore](https://play.google.com/store/apps/details?id=io.ente.auth),
[AppStore](https://apps.apple.com/us/app/ente-authenticator/id6444121398) or
[AlternativeTo](https://alternativeto.net/software/ente-authenticator/).

View File

@@ -35,18 +35,19 @@ platform. Private sharing. Collaborative albums. Family plans. Easy import,
easier export. Background uploads. The list goes on. And of course, all of this,
while being fully end-to-end encrypted.
Ente Photos is a paid service, but we offer a free trial. You can also clone
this repository and choose to self host.
Ente Photos is a paid service, but we offer 5GB of free storage.
You can also clone this repository and choose to self-host.
<br />
<div align="center">
[<img height="42" src=".github/assets/app-store-badge.svg">](https://apps.apple.com/app/id1542026904)
[<img height="42" src=".github/assets/play-store-badge.png">](https://play.google.com/store/apps/details?id=io.ente.photos)
[<img height="42" src=".github/assets/f-droid-badge.png">](https://f-droid.org/packages/io.ente.photos.fdroid/)
[<img height="42" src=".github/assets/desktop-badge.png">](https://ente.io/download/desktop)
[<img height="42" src=".github/assets/web-badge.svg">](https://web.ente.io)
[<img height="40" src=".github/assets/app-store-badge.svg">](https://apps.apple.com/app/id1542026904)
[<img height="40" src=".github/assets/play-store-badge.png">](https://play.google.com/store/apps/details?id=io.ente.photos)
[<img height="40" src=".github/assets/f-droid-badge.png">](https://f-droid.org/packages/io.ente.photos.fdroid/)
[<img height="40" src=".github/assets/obtainium-badge.png">](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22io.ente.photos.independent%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2Fente-io%2Fente%22%2C%22author%22%3A%22ente-io%22%2C%22name%22%3A%22Ente%20Photos%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22includePrereleases%5C%22%3Afalse%2C%5C%22fallbackToOlderReleases%5C%22%3Atrue%2C%5C%22filterReleaseTitlesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22filterReleaseNotesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22verifyLatestTag%5C%22%3Afalse%2C%5C%22dontSortReleasesList%5C%22%3Atrue%2C%5C%22useLatestAssetDateAsReleaseDate%5C%22%3Afalse%2C%5C%22releaseTitleAsVersion%5C%22%3Afalse%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22versionDetection%5C%22%3Atrue%2C%5C%22releaseDateAsVersion%5C%22%3Afalse%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22ente-photos*%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22allowInsecure%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22%5C%22%7D%22%2C%22overrideSource%22%3Anull%7D)
[<img height="40" src=".github/assets/desktop-badge.png">](https://ente.io/download/desktop)
[<img height="40" src=".github/assets/web-badge.svg">](https://web.ente.io)
</div>
@@ -60,18 +61,19 @@ Our labour of love. Two years ago, while building Ente Photos, we realized that
there was no open source end-to-end encrypted authenticator app. We already had
the building blocks, so we built one.
Ente Auth is currently free. If in the future we convert this to a paid service,
existing users will be grandfathered in.
Ente Auth is free, and will remain free forever. If you like the service and
want to give back, please check out Ente Photos or spread the word.
<br />
<div align="center">
[<img height="42" src=".github/assets/app-store-badge.svg">](https://apps.apple.com/app/id6444121398)
[<img height="42" src=".github/assets/play-store-badge.png">](https://play.google.com/store/apps/details?id=io.ente.auth)
[<img height="42" src=".github/assets/f-droid-badge.png">](https://f-droid.org/packages/io.ente.auth/)
[<img height="42" src=".github/assets/github-badge.png">](https://github.com/ente-io/ente/releases?q=tag%3Aauth-v2)
[<img height="42" src=".github/assets/web-badge.svg">](https://auth.ente.io)
[<img height="40" src=".github/assets/app-store-badge.svg">](https://apps.apple.com/app/id6444121398)
[<img height="40" src=".github/assets/play-store-badge.png">](https://play.google.com/store/apps/details?id=io.ente.auth)
[<img height="40" src=".github/assets/f-droid-badge.png">](https://f-droid.org/packages/io.ente.auth/)
[<img height="40" src=".github/assets/obtainium-badge.png">](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22io.ente.auth.independent%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2Fente-io%2Fente%22%2C%22author%22%3A%22ente-io%22%2C%22name%22%3A%22Ente%20Auth%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22includePrereleases%5C%22%3Afalse%2C%5C%22fallbackToOlderReleases%5C%22%3Atrue%2C%5C%22filterReleaseTitlesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22filterReleaseNotesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22verifyLatestTag%5C%22%3Afalse%2C%5C%22dontSortReleasesList%5C%22%3Atrue%2C%5C%22useLatestAssetDateAsReleaseDate%5C%22%3Afalse%2C%5C%22releaseTitleAsVersion%5C%22%3Afalse%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22versionDetection%5C%22%3Atrue%2C%5C%22releaseDateAsVersion%5C%22%3Afalse%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22ente-auth*%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22allowInsecure%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22%5C%22%7D%22%2C%22overrideSource%22%3Anull%7D)
[<img height="40" src=".github/assets/desktop-badge.png">](https://github.com/ente-io/ente/releases?q=tag%3Aauth-v4)
[<img height="40" src=".github/assets/web-badge.svg">](https://auth.ente.io)
</div>
@@ -99,7 +101,7 @@ connect with the community.
[![Discord](https://img.shields.io/discord/948937918347608085?style=for-the-badge&logo=Discord&logoColor=white&label=Discord)](https://discord.gg/z2YVKkycX3)
[![Ente's Blog RSS](https://img.shields.io/badge/blog-rss-F88900?style=for-the-badge&logo=rss&logoColor=white)](https://ente.io/blog/rss.xml)
[![Twitter](.github/assets/twitter.svg)](https://twitter.com/enteio) &nbsp; [![Mastodon](.github/assets/mastodon.svg)](https://mstdn.social/@ente)
[![Twitter](.github/assets/twitter.svg)](https://twitter.com/enteio) &nbsp; [![Mastodon](.github/assets/mastodon.svg)](https://fosstodon.org/@ente)
---

View File

@@ -1,51 +1,54 @@
# Security Policy
Ente believes that working with security researchers across the globe is crucial
to keeping our users safe. If you believe you've found a security issue in our
product or service, we encourage you to notify us, by email (security@ente.io)
or by [filling this
form](https://github.com/ente-io/ente/security/advisories/new) We welcome
working with you to resolve the issue promptly. Thanks in advance!
product or service, we encourage you to notify us by email at security@ente.io
or by
[filling out this form](https://github.com/ente-io/ente/security/advisories/new).
We welcome working with you to resolve the issue promptly. Thanks in advance!
## Disclosure Policy
- Let us know as soon as possible upon discovery of a potential security issue,
and we'll make every effort to quickly resolve the issue.
- Provide us a reasonable amount of time to resolve the issue before any
disclosure to the public or a third-party. We may publicly disclose the issue
before resolving it, if appropriate.
- Make a good faith effort to avoid privacy violations, destruction of data, and
interruption or degradation of our service. Only interact with accounts you
own or with explicit permission of the account holder.
- If you would like to encrypt your report, please use the PGP key with long ID
`E273695C0403F34F74171932DF6DDDE98EBD2394` (available in the public keyserver
pool).
- Let us know as soon as possible upon discovery of a potential security
issue, and we'll make every effort to quickly resolve the issue.
- Provide us with a reasonable amount of time to resolve the issue before any
disclosure to the public or a third party. We may publicly disclose the
issue before resolving it if appropriate.
- Make a good faith effort to avoid privacy violations, destruction of data,
and interruption or degradation of our service. Only interact with accounts
you own or with the explicit permission of the account holder.
- If you would like to encrypt your report, please use the PGP key with long
ID `E273695C0403F34F74171932DF6DDDE98EBD2394` (available in the public
keyserver pool).
## In-scope
- Security issues in any current release of Ente's services. Product downloads
are available at https://ente.io. Source code is available at
https://github.com/ente-io.
- Security issues in any current release of Ente's services. Product downloads
are available at [https://ente.io](https://ente.io). Source code is
available at [https://github.com/ente-io](https://github.com/ente-io).
## Exclusions
The following bug classes are out-of scope:
The following bug classes are out of scope:
- Bugs that are already reported on any of [Ente's issue
trackers](https://github.com/ente-io), or that we already know of (Note that
some of our issue tracking is private)
- Issues in an upstream software dependency (ex: Flutter, Next.js etc) which are
already reported to the upstream maintainer
- Attacks requiring physical access to a user's device
- Self-XSS
- Issues related to software or protocols not under ente's control
- Vulnerabilities in outdated versions of ente
- Missing security best practices that do not directly lead to a vulnerability
- Issues that do not have any impact on the general public
- Bugs that are already reported on any of
[Ente's issue trackers](https://github.com/ente-io) or that we already know
of (note that some of our issue tracking is private).
- Issues in an upstream software dependency (e.g., Flutter, Next.js, etc.)
that are already reported to the upstream maintainer.
- Attacks requiring physical access to a user's device.
- Self-XSS.
- Issues related to software or protocols not under Ente's control.
- Vulnerabilities in outdated versions of Ente.
- Missing security best practices that do not directly lead to a
vulnerability.
- Issues that do not have any impact on the general public.
While researching, we'd like to ask you to refrain from:
- Denial of service
- Spamming
- Social engineering (including phishing) of Ente staff or contractors
- Any physical attempts against Ente property or data centers
- Denial of service
- Spamming
- Social engineering (including phishing) of Ente staff or contractors
- Any physical attempts against Ente property or data centers
Thank you for helping keep Ente and our users safe!

View File

@@ -12,7 +12,7 @@ multi-device sync.
### Android
This repository's [GitHub
releases](https://github.com/ente-io/ente/releases?q=tag%3Aauth-v2)
releases](https://github.com/ente-io/ente/releases?q=tag%3Aauth-v4)
contains APKs, built straight from source. These builds keep themselves updated,
without relying on third party stores.
@@ -31,14 +31,16 @@ You can alternatively install the build from PlayStore or F-Droid.
<img height="59" src="../.github/assets/app-store-badge.svg">
</a>
### Desktop
You can [**download**](https://github.com/ente-io/ente/releases?q=tag%3Aauth-v4)
a native desktop app from this repository's GitHub releases. The desktop app
works on Windows, Linux and macOS.
### Web
You can view your 2FA codes at [auth.ente.io](https://auth.ente.io). For adding
or managing your secrets, please use our mobile app.
### Desktop
A native desktop app is coming soon!
or managing your secrets, please use our mobile or desktop app.
## 🧑‍💻 Build from source
@@ -93,13 +95,10 @@ more, see [docs/adding-icons](docs/adding-icons.md).
## 💚 Contribute
For more ways to contribute, see [../CONTRIBUTING.md](../CONTRIBUTING.md).
The best way to support this project is by checking out [Ente
Photos](../mobile/README.md) or spreading the word.
You can also support us by giving this project a ⭐ star on GitHub or by leaving
a review on
[PlayStore](https://play.google.com/store/apps/details?id=io.ente.auth),
[AppStore](https://apps.apple.com/us/app/ente-authenticator/id6444121398) or
[AlternativeTo](https://alternativeto.net/software/ente-authenticator/).
For more ways to contribute, see [../CONTRIBUTING.md](../CONTRIBUTING.md).
## ⭐️ About

View File

@@ -1,3 +1,9 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
@@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
@@ -21,10 +22,6 @@ if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
@@ -32,7 +29,18 @@ if (keystorePropertiesFile.exists()) {
}
android {
compileSdkVersion 34
namespace "io.ente.auth"
compileSdk 34
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
@@ -46,8 +54,10 @@ android {
defaultConfig {
applicationId "io.ente.auth"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -105,13 +115,4 @@ flutter {
source '../..'
}
dependencies {
implementation 'io.sentry:sentry-android:2.0.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.guava:guava:28.2-android'
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}
dependencies {}

View File

@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.ente.auth">
<!-- Flutter needs it to communicate with the running application
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>

View File

@@ -1,8 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.ente.auth">
xmlns:tools="http://schemas.android.com/tools">
<application android:name="${applicationName}"
android:label="auth"
android:label="Ente Auth"
android:icon="@mipmap/launcher_icon"
android:usesCleartextTraffic="true"
android:requestLegacyExternalStorage="true"

View File

@@ -0,0 +1,40 @@
Ente Auth helps you generate and store 2 step verification (2FA)
tokens on your mobile devices.
FEATURES
- Secure Backups
Auth provides end-to-end encrypted cloud backups so that you don't have to worry
about losing your tokens. We use the same protocols Ente Photos uses to encrypt
and preserve your data.
- Multi Device Synchronization
Auth will automatically sync the 2FA tokens you add to your account, across all
your devices. Every new device you sign into will have access to these tokens.
- Web access
You can access your 2FA code from any web browser by visiting https://auth.ente.io .
- Offline Mode
Auth generates 2FA tokens offline, so your network connectivity will not get in
the way of your workflow.
- Import and Export Tokens
You can add tokens to Auth by one of the following methods:
1. Scanning a QR code
2. Manually entering (copy-pasting) a 2FA secret
3. Bulk importing from a file that contains a list of codes in the following format:
otpauth://totp/provider.com:you@email.com?secret=YOUR_SECRET
The codes maybe separated by new lines or commas.
You can also export the codes you have added to Auth, to an **unencrypted** text
file, that adheres to the above format.
SUPPORT
If you need help, please visit @ https://github.com/ente-io/ente/discussions/new?category=q-a, and someone will get in touch with you.
If you have feature requests, please create an issue @ https://github.com/ente-io/ente

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -0,0 +1 @@
Auth is a FOSS authenticator app that provides end-to-end encrypted backups for your 2FA secrets.

View File

@@ -0,0 +1 @@
Ente Auth

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 604 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 69 B

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 887 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Some files were not shown because too many files have changed in this diff Show More