Compare commits

..

1679 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ashil
a41f705dad
Upgrade to flutter 3.22.0 (#1804) 2024-05-23 14:17:47 +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
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
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
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
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
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
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
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
laurenspriem
d235ff1035 [mob][photos] Inline 2024-05-21 16:53:52 +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
Manav Rathi
982f0d8f77
[web] Improve consistency with mobile impl (#1797) 2024-05-21 16:12:57 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Manav Rathi
51e9383ce0
lint 2024-05-06 15:33:21 +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
laurenspriem
ea8846ee0c [mob][photos] Properly sort faces on fileCreationTime for clustering 2024-05-06 10:38:26 +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
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
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
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
laurenspriem
662dc1a32b [mob][photos] Make sure hidden doesn't show in naming sheet 2024-05-03 15:09:29 +05:30
laurenspriem
38a40a5ace [mob][photos] Make sure hidden faces are displayed last in file info 2024-05-03 15:05:02 +05:30
laurenspriem
915a3f646d [mob][photos] Small fix 2024-05-03 14:59:25 +05:30
laurenspriem
f275761c4b [mob][photos] Refresh file info on changed person 2024-05-03 14:49:06 +05:30
laurenspriem
cfd656b360 [mob][photos] Unhide person feedback 2024-05-03 14:42:33 +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
laurenspriem
267b3669f2 [mob][photos] Don't show hidden clusters in clusters page 2024-05-03 12:25:14 +05:30
laurenspriem
1ab42640d9 [mob][photos] UI for triggering hide method 2024-05-03 12:16:48 +05:30
laurenspriem
cdc6972d53 [mob][photos] Remove validateCluster option 2024-05-03 12:10:58 +05:30
laurenspriem
5c1bc220e9 [mob][photos] Method for hiding cluster 2024-05-03 12:07:23 +05:30
Prateek Sunal
c6084c6148 fix: add code error widget 2024-05-03 11:59:28 +05:30
Prateek Sunal
b860d3a056 fix: push theme for button 2024-05-03 01:59:43 +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
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
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
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
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
Prateek Sunal
c9c7f0c8f4 fix: width of popup menu button 2024-05-01 00:59:03 +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
laurenspriem
10b04c6ad3 [mob][photos] Make sure face in face thumbnail is always centered 2024-04-30 16:31:36 +05:30
Neeraj Gupta
f80f7a03e1 [mob] Fix query 2024-04-30 16:11:51 +05:30
laurenspriem
4cff6b1299 [mob][photos] Simplify face generation code 2024-04-30 15:44:32 +05:30
Neeraj Gupta
7e5561e5cd [mob] Use EntePopupMenuItem 2024-04-30 14:59:55 +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
laurenspriem
8d4f9fe966 [mob][photos] Move code 2024-04-30 14:29:25 +05:30
laurenspriem
29b9bee1be [mob][photos] Use thumbnails for generating face crop in suggestions 2024-04-30 14:20:21 +05:30
laurenspriem
a80c9dd589 [mob][photos] Rename method 2024-04-30 12:35:05 +05:30
laurenspriem
046a96f586 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-30 11:57:03 +05:30
laurenspriem
740ca907f2 [mob][photos] Prevent face cropping out of image bounds 2024-04-30 11:38:39 +05:30
laurenspriem
c783735e86 [mob][photos] Log clustering time for each bucket 2024-04-30 11:24:06 +05:30
Neeraj Gupta
cbf2a77d5b refactor 2024-04-30 11:06:41 +05:30
laurenspriem
9f5c5fde49 [mob][photos] Parallelize the cropping and encoding of faces 2024-04-30 10:59:45 +05:30
laurenspriem
1cd31d2cab [mob][photos] Only decode image once for face thumbnails in file info 2024-04-30 10:46:16 +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
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
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
laurenspriem
8b1545239c [mob][photos] Use canvas again for generating face thumbnail 2024-04-29 16:28:19 +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
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
Prateek Sunal
12635be0d2 fix: complete pinned design 2024-04-29 14:48:40 +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
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
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
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
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
ashilkn
a577611e65 [mob] merge mobile_face to fix_face_thumbnail 2024-04-26 11:32:33 +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
laurenspriem
3828fa328e [mob][photos] Increase conservative clustering threshold slightly 2024-04-25 16:41:23 +05:30
laurenspriem
f101468a8d [mob][photos] Show faces in file info regardless of blur value 2024-04-25 16:30:00 +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
laurenspriem
7370557b08 [mob][photos] More use of sqlite async 2024-04-25 15:41:26 +05:30
laurenspriem
f0ebdb211c [mob][photos] Functionality to remove selected images from suggestion 2024-04-25 14:13:58 +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
laurenspriem
d429efaf14 [mob][photos] Trailing commas 2024-04-25 12:19:19 +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
laurenspriem
d0420ce477 [mob][photos] Better sorting of faces in file info 2024-04-25 10:03:05 +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
laurenspriem
244d562207 [mob][photos] Increase the pool for face thumbnail generation 2024-04-25 08:50:44 +05:30
laurenspriem
3fbfa8c0e6 [mob][photos] Precompute face thumbnails for suggestions 2024-04-24 18:59:08 +05:30
laurenspriem
6f6f976dec [mob][photos] Fix bug 2024-04-24 18:33:00 +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
laurenspriem
3806ee3232 [mob][photos] Use SIMD in sorting suggestions too 2024-04-24 16:19:10 +05:30
laurenspriem
e829f7b62f [mob][photos] Use vectors everywhere in cluster suggestion 2024-04-24 16:01:03 +05:30
laurenspriem
4b6641d7d8 [mob][photos] Speed up suggestion calculation 2024-04-24 15:46:00 +05:30
laurenspriem
093f48fb63 [mob][photos] Sort found suggestions based on distance 2024-04-24 11:24:25 +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
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
laurenspriem
7312633e02 [mob][photos] Only sort big suggestions 2024-04-23 14:26:30 +05:30
laurenspriem
3786c9def9 [mob][photos] Suggestions change parameters 2024-04-23 13:37:53 +05:30
laurenspriem
6fe8dc7c66 [mob][photos] Check big and medium clusters first for suggestions 2024-04-23 12:18:19 +05:30
laurenspriem
9e87b4a2cc [mob][photos] Highlight face in cluster 2024-04-23 11:58:39 +05:30
Laurens Priem
dad427a498
[mob][photos] Fix issues with face thumbnail (#1523)
## Description

See commits.
2024-04-23 11:21:38 +05:30
ashilkn
4c25997bb6 [mob] use layoutBuilder in face thumbnail 2024-04-23 11:15:46 +05:30
laurenspriem
6a0a9bad1e [mob][photos] Clustering time logs 2024-04-23 09:56:46 +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
ashilkn
8225697e43 Merge branch 'mobile_face' into fix_face_thumbnail 2024-04-23 07:49:59 +05:30
laurenspriem
f49ede4a74 [mob][photos] Small fix in detecting sideways faces 2024-04-22 18:07:50 +05:30
laurenspriem
9cdd4fd713 [mob][photos] Face thumbnail generation from widgets 2024-04-22 17:24:34 +05:30
laurenspriem
fa466d715f [mob][photos] Improve suggestions by improving speed and preferring big clusters 2024-04-22 16:40:31 +05:30
ashilkn
c1587cc5ea [mob] Remove redundant clippling and anti aliasing for performance gain 2024-04-22 11:52:39 +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
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
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
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
laurenspriem
7be1b63822 [mob] Clean up linear clustering method 2024-04-20 12:24:20 +05:30
laurenspriem
01aecb9742 [mob] store sideways face boolean in local face table 2024-04-19 18:13:35 +05:30
laurenspriem
a0fa90cb50 [mob] Remove faceArea and faceVisibility from local DB 2024-04-19 16:43:41 +05:30
laurenspriem
6d3e1325c4 [mob] Update face widget 2024-04-19 16:35:33 +05:30
laurenspriem
4095b14589 [mob] Conservative threshold for combination of low score and blur 2024-04-19 15:57:11 +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
laurenspriem
ecc1bc9980 [mob] Use more conservative cluster threshold for sideways faces 2024-04-19 14:58:52 +05:30
laurenspriem
2b88daa15f [mob] Method for detecting sideways faces 2024-04-19 14:00:15 +05:30
laurenspriem
a9ca8a4a24 [mob] Better handling of cluster update 2024-04-19 12:19:10 +05:30
laurenspriem
ab0a99cf76 [mob] Make sure cluster page is updated after file removal 2024-04-19 11:42:39 +05:30
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
Prateek Sunal
901e50b69b chore: move multipart size out of constants 2024-04-18 21:15:21 +05:30
laurenspriem
e20f13f02b [mob] Re-cluster when removing file from person/cluster 2024-04-18 17:57:14 +05:30
laurenspriem
34798c344c [mob] Fix typo 2024-04-18 16:32:11 +05:30
laurenspriem
e7992674d5 [mob] Use async sqlite for getting file creation times 2024-04-18 16:17:04 +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
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
laurenspriem
417c5eab1c [mob] Rename cluster method to clarify use of Computer 2024-04-18 14:48:57 +05:30
laurenspriem
ba58ac1358 [mob] Add merges to predictComplete method 2024-04-18 14:44:12 +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
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
laurenspriem
e3fd836901 [mob] clustering make it difficult for good faces to link to bad faces 2024-04-17 17:46:53 +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
laurenspriem
6f26901073 [mob] Minor refactor of clustering methods 2024-04-17 14:54:31 +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
laurenspriem
f61a5f91b6 [mob] Debug option to get clusters of blur values 2024-04-16 19:22:27 +05:30
laurenspriem
d4d9253f1a [mob] Minor changes 2024-04-16 15:22:59 +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
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
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
Neeraj Gupta
30d562ed1a [mob][photos] Fix upload clearTable 2024-04-15 12:49:58 +05:30
Neeraj Gupta
8185fca7c6 Merge branch 'main' into mobile-resumable 2024-04-15 12:18:18 +05:30
Neeraj Gupta
6cfa176566 Merge branch 'main' into mobile-resumable 2024-04-15 12:12:37 +05:30
Neeraj Gupta
e09b77770d [mob] Upgrade sqlite_async 2024-04-13 16:55:21 +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
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
590fd8441b Merge remote-tracking branch 'origin/multipart' into mobile-resumable 2024-04-13 14:07:56 +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
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
laurenspriem
c67a1fa52a [mob] Make clustering in buckets the default 2024-04-13 11:32:03 +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
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
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
laurenspriem
21451efa6b Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-12 15:11:15 +05:30
Neeraj Gupta
259787ff41 [mob] Upgrade to flutter 3.19.5 2024-04-12 14:55:07 +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
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
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
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
Neeraj Gupta
5710cb2d35 Merge branch 'main' into mobile_face 2024-04-12 10:38:14 +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
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
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
laurenspriem
90db558498 Merge branch 'update_deps_and_flutter' into mobile_face 2024-04-11 12:39:54 +05:30
laurenspriem
cab649ef77 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-11 11:52:31 +05:30
laurenspriem
5b6df99486 [mob] Remove onnx models from local assets 2024-04-11 11:44:11 +05:30
laurenspriem
c902f24e63 [mob] Better organization of face detection code. 2024-04-11 11:42:31 +05:30
laurenspriem
aad0a5a1d4 [mob] More documentation 2024-04-11 11:15:37 +05:30
Neeraj Gupta
b18734f63e Merge branch 'main' into mobile_face 2024-04-11 11:10:54 +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
laurenspriem
efaf869e95 [mob] Remove tflite dependency 2024-04-11 10:52:16 +05:30
laurenspriem
74f8f7aaf3 [mob] Remove debug option 2024-04-10 17:36:34 +05:30
laurenspriem
222716f6f9 [mob] Make methods private 2024-04-10 14:44:08 +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
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
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
Neeraj Gupta
c8154784f1 [mob] Minor fixes 2024-04-09 16:37:54 +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
Neeraj Gupta
24f7b191b4 [mob] reduce clustering threshold 2024-04-09 09:04:07 +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
Neeraj Gupta
250cb33bc9 [mob] Use localFileserver to serving files 2024-04-08 14:37:30 +05:30
laurenspriem
eeedf8b3c2 [mob] Trailing commas 2024-04-08 14:05:38 +05:30
Neeraj Gupta
b6aec20b22 [mob] Update log 2024-04-08 09:45:34 +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
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
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
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
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
laurenspriem
ad73496c4d [mob] Minor change 2024-04-05 11:04:05 +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
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
laurenspriem
19007c38b5 [mob] await removal and fire event 2024-04-04 16:03:17 +05:30
laurenspriem
583c09155b [mob] Rename file 2024-04-04 15:40:38 +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
laurenspriem
517b099de8 [mob] better visualization of cluster analysis 2024-04-04 15:10:10 +05:30
Neeraj Gupta
2163201046 [mob] Increase the batch & bucket size 2024-04-04 14:46:56 +05:30
laurenspriem
dd3b0be8f2 [mob] Tune analysis parameter 2024-04-04 13:17:43 +05:30
laurenspriem
6a9b670d52 [mob] thinner highlight of face in file info 2024-04-04 12:58:58 +05:30
laurenspriem
0176b01fea [mob] Add basic debug UI for breaking up cluster 2024-04-04 12:14:18 +05:30
laurenspriem
15f9176208 [mob] More logs on breaking cluster 2024-04-03 21:31:16 +05:30
laurenspriem
744ded4922 [mob] Add DBSCAN clustering for intra-cluster analysis 2024-04-03 18:49:43 +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
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
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
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
Neeraj Gupta
e10cb5d456 [mob] Fix person cover photo 2024-04-03 05:26:08 +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
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
Neeraj Gupta
faa07a0704 [mob] compute suggestion in small batches 2024-04-02 16:56:55 +05:30
laurenspriem
57fec06d73 [mob] Bump minimum face score for clustering to 0.8 2024-04-02 16:44:34 +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
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
Neeraj Gupta
51b51ff2b1 [mob] Use separate table for storing clusters 2024-04-01 17:34:35 +05:30
Neeraj Gupta
323521d496 [mob] Rename face tables 2024-04-01 16:05:23 +05:30
Neeraj Gupta
baec7a2af8 [mob] Remove unused column from facesTable 2024-04-01 15:49:15 +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
laurenspriem
1af3d2d2db [mob] Big cleanup of old code 2024-04-01 15:34:45 +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
Neeraj Gupta
a75c440dc2 [mob] sync person entity type 2024-04-01 15:10:19 +05:30
laurenspriem
768fa3d1ce [mob][wip] remove from cluster feedback 2024-03-30 18:35:46 +05:30
laurenspriem
a3b6a72315 [mob] Debug option to reset feedback 2024-03-30 17:13:54 +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
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
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
laurenspriem
1d527f9e02 Add face score in debugMode 2024-03-29 12:18:21 +05:30
laurenspriem
afa8a372d2 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-29 12:14:33 +05:30
Neeraj Gupta
6c287775d4 [mob] Add logs for cluster feedback suggestions 2024-03-28 16:25:09 +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
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
laurenspriem
3869802e4c Use alternative face thumbnails in suggestions 2024-03-27 16:08:23 +05:30
laurenspriem
a09b71cc15 [mob] Faster face cropping method 2024-03-23 17:02:22 +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
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
laurenspriem
a2bca84b91 [mob] Sort clustering on fileCreationTime asc 2024-03-21 15:41:34 +05:30
laurenspriem
a9fdee96a8 More debug options 2024-03-21 12:40:03 +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
laurenspriem
974b7c7329 Increase blur threshold 2024-03-20 14:15:59 +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
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
822 changed files with 31693 additions and 12693 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

View file

@ -3,7 +3,7 @@ name: "Lint (auth)"
on:
# Run on every push to a branch other than main that changes auth/
push:
branches-ignore: [main, "deploy/**"]
branches-ignore: [main]
paths:
- "auth/**"
- ".github/workflows/auth-lint.yml"

View file

@ -85,30 +85,21 @@ 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 patchelf libsqlite3-dev locate appindicator3-0.1 libappindicator3-dev libffi-dev libtiff5
sudo apt-get install -y libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-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: 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
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
@ -128,6 +119,61 @@ 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 libwebkit2gtk-4.0-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff5
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
flutter_distributor package --platform=linux --targets=rpm --skip-clean
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
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

View file

@ -3,7 +3,7 @@ name: "Lint (desktop)"
on:
# Run on every push to a branch other than main that changes desktop/
push:
branches-ignore: [main, "deploy/**"]
branches-ignore: [main]
paths:
- "desktop/**"
- ".github/workflows/desktop-lint.yml"

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

@ -6,7 +6,7 @@ name: "Verify build (docs)"
on:
# Run on every push to a branch other than main that changes docs/
push:
branches-ignore: [main, "deploy/**"]
branches-ignore: [main]
paths:
- "docs/**"
- ".github/workflows/docs-verify-build.yml"

View file

@ -1,10 +1,10 @@
name: "Internal Release - Photos"
name: "Internal release (photos)"
on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.19.3"
FLUTTER_VERSION: "3.22.0"
jobs:
build:
@ -54,4 +54,3 @@ jobs:
packageName: io.ente.photos
releaseFiles: mobile/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal
changesNotSentForReview: true

View file

@ -3,13 +3,13 @@ name: "Lint (mobile)"
on:
# Run on every push to a branch other than main that changes mobile/
push:
branches-ignore: [main, f-droid, "deploy/**"]
branches-ignore: [main, f-droid]
paths:
- "mobile/**"
- ".github/workflows/mobile-lint.yml"
env:
FLUTTER_VERSION: "3.19.5"
FLUTTER_VERSION: "3.22.0"
jobs:
lint:

View file

@ -3,7 +3,7 @@ name: "Lint (server)"
on:
# Run on every push to a branch other than main that changes server/
push:
branches-ignore: [main, "deploy/**"]
branches-ignore: [main]
paths:
- "server/**"
- ".github/workflows/server-lint.yml"

View file

@ -38,3 +38,8 @@ jobs:
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

34
.github/workflows/web-crowdin-push.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: "Push Crowdin translations (web)"
# This is a variant of web-crowdin.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.yml --ref <my-branch>`
workflow_dispatch:
jobs:
push-to-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin push
uses: crowdin/github-action@v1
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 }}

View file

@ -1,43 +0,0 @@
name: "Deploy (accounts)"
on:
push:
# Run workflow on pushes to the deploy/accounts
branches: [deploy/accounts, deploy-f/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: "web/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: "web/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, deploy-f/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: "web/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 (payments)"
on:
push:
# Run workflow on pushes to the deploy/payments
branches: [deploy/payments]
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 payments
run: yarn build:payments
- name: Publish payments
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: deploy/payments
directory: web/apps/payments/dist
wranglerVersion: "3"

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: "web/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

@ -1,4 +1,4 @@
name: "Preview (web)"
name: "Deploy preview (web)"
on:
workflow_dispatch:
@ -43,11 +43,8 @@ jobs:
run: yarn build:${{ inputs.app }}
- name: Publish ${{ inputs.app }} to preview
uses: cloudflare/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: preview
directory: web/apps/${{ inputs.app }}/out
wranglerVersion: "3"
command: pages deploy --project-name=ente --commit-dirty=true --branch=preview web/apps/${{ inputs.app }}/out

View file

@ -38,11 +38,8 @@ jobs:
run: yarn build:staff
- name: Publish staff
uses: cloudflare/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: deploy/staff
directory: web/apps/staff/dist
wranglerVersion: "3"
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/staff web/apps/staff/dist

View file

@ -0,0 +1,86 @@
name: "Deploy staging (web)"
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: 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
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

View file

@ -1,17 +1,21 @@
name: "Nightly (web)"
name: "Deploy (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.
# 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: "15 23 * * *"
- cron: "25 2 * * 1-6"
# Also allow manually running the workflow
workflow_dispatch:
@ -39,69 +43,52 @@ jobs:
- 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/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-accounts
directory: web/apps/accounts/out
wranglerVersion: "3"
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/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-auth
directory: web/apps/auth/out
wranglerVersion: "3"
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/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-cast
directory: web/apps/cast/out
wranglerVersion: "3"
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/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: ente
branch: n-payments
directory: web/apps/payments/dist
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"
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/payments web/apps/payments/dist

View file

@ -3,7 +3,7 @@ name: "Lint (web)"
on:
# Run on every push to a branch other than main that changes web/
push:
branches-ignore: [main, "deploy/**"]
branches-ignore: [main]
paths:
- "web/**"
- ".github/workflows/web-lint.yml"

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

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,6 +54,8 @@ 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
versionCode flutterVersionCode.toInteger()
@ -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="Auth"
android:icon="@mipmap/launcher_icon"
android:usesCleartextTraffic="true"
android:requestLegacyExternalStorage="true"

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 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 69 B

View file

@ -1,6 +1,5 @@
<?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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -4,7 +4,10 @@
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#000000</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
@ -15,4 +18,4 @@
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
</resources>

View file

@ -7,6 +7,7 @@
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.

View file

@ -4,7 +4,10 @@
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#FFFFFF</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your

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,16 +1,3 @@
buildscript {
ext.kotlin_version = '1.8.22'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
@ -21,6 +8,8 @@ allprojects {
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}

View file

@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true

View file

@ -1,6 +1,5 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip

View file

@ -1,11 +1,26 @@
include ':app'
pluginManagement {
def flutterSdkPath = {
def properties = new Properties()
file("local.properties").withInputStream { properties.load(it) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath
}
settings.ext.flutterSdkPath = flutterSdkPath()
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}
include ":app"

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 820 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 801 KiB

@ -1 +1 @@
Subproject commit 8e7701d6a40462733043f54b3849faf35af70a83
Subproject commit 8a3731352af133a02223a6c7b1f37c4abb096af0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 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.

After

Width:  |  Height:  |  Size: 1 MiB

View file

@ -0,0 +1,11 @@
<svg width="286" height="44" viewBox="0 0 286 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="286" height="44" fill="#531DAB"/>
<rect width="286" height="44" fill="url(#paint0_linear_25656_80129)" style="mix-blend-mode:soft-light"/>
<defs>
<linearGradient id="paint0_linear_25656_80129" x1="286.174" y1="43.5575" x2="272.305" y2="-42.2227" gradientUnits="userSpaceOnUse">
<stop offset="0.00134129" stop-color="#B37FEB"/>
<stop offset="0.15" stop-color="#D2AEF5" stop-opacity="0"/>
<stop offset="0.829143" stop-color="#EFDBFF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 578 B

View file

@ -0,0 +1,4 @@
<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.67969 9.13704L7.30255 10.7599L11.3597 14.817L12.1711 14.0056L12.9825 10.7599L14.6054 8.32561L17.0397 7.51418V6.70275L13.794 3.45703L12.1711 5.07989L9.73683 8.32561H7.30255L5.67969 9.13704Z" fill="black"/>
<path d="M13.3183 1.71931L13.269 1.77093L13.2168 1.71985L13.2162 1.72046L13.1634 1.77327L13.1645 1.77432L12.7776 2.17734L12.7776 2.17732L12.7762 2.1788C12.1335 2.88609 11.8262 3.77724 11.7519 4.66728L9.32505 7.09411C7.81108 6.83615 6.18671 7.26627 5.01998 8.433L4.5818 8.87117L4.5289 8.92408L4.58307 8.97568L5.0206 9.39255L7.593 11.965L2.58519 16.9523L2.56369 16.9737V17.004V17.8603V17.9333H2.63672H3.49237H3.5227L3.54411 17.9118L8.53265 12.9046L11.0473 15.4205L11.4655 15.8569L11.5172 15.9108L11.5699 15.8579L12.0068 15.4199C12.0068 15.4198 12.0068 15.4198 12.0069 15.4198C13.2915 14.1363 13.6624 12.3762 13.2912 10.7902L15.4057 8.67503C16.4706 8.79297 17.5592 8.48109 18.3396 7.70071L18.3408 7.69952L18.7595 7.26135L18.8076 7.21094L18.7595 7.16049L18.3414 6.72231L18.3414 6.7223L18.3402 6.72109L13.7759 2.1568L13.7759 2.15679L13.7748 2.15565L13.3183 1.71931ZM14.9413 7.25429L14.9004 7.24301L14.8703 7.27306L14.6232 7.52014L14.6232 7.52015L12.0758 10.0682L12.0756 10.0684L11.8091 10.3361L11.7778 10.3675L11.7912 10.4097L11.9056 10.7706L11.906 10.7716C12.2473 11.7962 12.1016 12.9497 11.4516 13.9063L6.59236 9.04707C7.44951 8.48202 8.46219 8.23203 9.40643 8.47956L9.72799 8.5736L9.76941 8.58571L9.8 8.55527L10.0483 8.30819L10.0484 8.30806L12.8631 5.49281L12.8631 5.49281L13.0335 5.32241L13.0549 5.30102V5.27077V5.02248C13.0549 4.58263 13.2053 4.16125 13.4189 3.75595L16.7417 7.07936C16.2718 7.33067 15.7795 7.47262 15.2832 7.3484L14.9413 7.25429Z" fill="black" stroke="black" stroke-width="0.146057"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -0,0 +1,11 @@
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_25342_9412)">
<path d="M3 5.5L4 6.5L6.5 9L7 8.5L7.5 6.5L8.5 5L10 4.5L10 4L8 2L7 3L5.5 5L4 5L3 5.5Z" fill="#9610D6"/>
<path d="M7.67655 0.960601L7.70697 0.928785L7.98822 1.19766L7.98895 1.19836L7.98894 1.19837L10.8014 4.01087L10.8022 4.01161L10.8022 4.01162L11.0598 4.28162L11.0895 4.31271L11.0598 4.34378L10.8018 4.61378L10.8011 4.61451C10.3202 5.09537 9.64942 5.28755 8.9932 5.21488L7.69023 6.51822C7.91896 7.49551 7.69045 8.58009 6.89886 9.37096L7.67655 0.960601ZM7.67655 0.960601L7.64442 0.929125L7.64405 0.9295L7.61152 0.962044L7.61219 0.962686L7.37379 1.21102L7.37377 1.21101L7.37295 1.21192C6.97691 1.64775 6.78753 2.19688 6.74173 2.74532M7.67655 0.960601L6.74173 2.74532M6.74173 2.74532L5.24633 4.24072C4.31342 4.08177 3.31249 4.34681 2.59355 5.06574L2.32356 5.33574L2.29096 5.36834L2.32433 5.40014L2.59394 5.65702L4.17904 7.24212L1.09325 10.3153L1.08 10.3285L1.08 10.3472L1.08 10.8748L1.08 10.9198L1.125 10.9198L1.65225 10.9198L1.67094 10.9198L1.68413 10.9066L4.75805 7.82114L6.30726 9.37107L6.30792 9.37175L6.56526 9.64032L6.59711 9.67356L6.62961 9.64096L6.8988 9.37102L6.74173 2.74532ZM8.70707 4.33943L8.68182 4.33248L8.6633 4.35099L8.51105 4.50324L8.51105 4.50325L6.9413 6.07337L6.94123 6.07344L6.77698 6.23844L6.75773 6.25778L6.76598 6.28379L6.83648 6.50616L6.83647 6.50616L6.83668 6.50679C7.047 7.13811 6.95722 7.84894 6.55667 8.43835L3.56245 5.44413C4.09062 5.09595 4.71463 4.94191 5.29647 5.09443L5.49462 5.15238L5.52014 5.15984L5.53899 5.14109L5.69199 4.98884L5.69207 4.98875L7.42644 3.25401L7.42645 3.254L7.53144 3.14901L7.54462 3.13583L7.54462 3.11719L7.54462 2.96419C7.54462 2.69316 7.63733 2.4335 7.76892 2.18376L9.81644 4.23163C9.52687 4.38649 9.22356 4.47396 8.91769 4.39741L8.70707 4.33943Z" fill="#9610D6" stroke="#9610D6" stroke-width="0.09"/>
</g>
<defs>
<clipPath id="clip0_25342_9412">
<rect width="12" height="12" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,3 @@
<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.1853 2.04353L13.136 2.09515L13.0839 2.04407L13.0832 2.04468L13.0304 2.09748L13.0315 2.09854L12.6447 2.50148L12.6447 2.50146L12.6434 2.50294C12.0008 3.21009 11.6935 4.10106 11.6192 4.99092L9.19285 7.41726C7.67919 7.15935 6.05514 7.58939 4.88864 8.75589L4.45056 9.19397L4.39766 9.24686L4.45182 9.29846L4.88926 9.71525L7.46115 12.2871L2.45434 17.2735L2.43285 17.2949V17.3252V18.1813V18.2543H2.50586H3.36134H3.39166L3.41307 18.2328L8.40061 13.2266L10.9148 15.742L11.3329 16.1783L11.3845 16.2322L11.4373 16.1793L11.8741 15.7413C11.8741 15.7413 11.8741 15.7413 11.8741 15.7413C13.1585 14.4581 13.5293 12.6983 13.1582 11.1126L15.2723 8.99787C16.337 9.11579 17.4254 8.80396 18.2056 8.02374L18.2068 8.02256L18.6254 7.58447L18.6735 7.53407L18.6254 7.48363L18.2074 7.04554L18.2074 7.04553L18.2062 7.04432L13.6428 2.48094L13.6429 2.48093L13.6417 2.47979L13.1853 2.04353ZM14.808 7.57742L14.7671 7.56614L14.737 7.59618L14.49 7.84321L14.49 7.84322L11.943 10.3908L11.9429 10.3909L11.6764 10.6586L11.6452 10.69L11.6585 10.7322L11.7729 11.093L11.7729 11.093L11.7733 11.094C12.1145 12.1184 11.9688 13.2717 11.3189 14.2281L6.46071 9.36983C7.31768 8.8049 8.33015 8.55496 9.2742 8.80243L9.59571 8.89646L9.63712 8.90857L9.66771 8.87813L9.91596 8.6311L9.91609 8.63097L12.7302 5.81628L12.9005 5.64592L12.9219 5.62453V5.59429V5.34604C12.9219 4.90629 13.0723 4.48499 13.2858 4.07977L16.608 7.40252C16.1382 7.65378 15.6461 7.7957 15.1498 7.6715L14.808 7.57742Z" fill="black" stroke="black" stroke-width="0.146028"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -6,35 +6,35 @@ PODS:
- ReachabilitySwift
- device_info_plus (0.0.1):
- Flutter
- DKImagePickerController/Core (4.3.4):
- DKImagePickerController/Core (4.3.9):
- DKImagePickerController/ImageDataManager
- DKImagePickerController/Resource
- DKImagePickerController/ImageDataManager (4.3.4)
- DKImagePickerController/PhotoGallery (4.3.4):
- DKImagePickerController/ImageDataManager (4.3.9)
- DKImagePickerController/PhotoGallery (4.3.9):
- DKImagePickerController/Core
- DKPhotoGallery
- DKImagePickerController/Resource (4.3.4)
- DKPhotoGallery (0.0.17):
- DKPhotoGallery/Core (= 0.0.17)
- DKPhotoGallery/Model (= 0.0.17)
- DKPhotoGallery/Preview (= 0.0.17)
- DKPhotoGallery/Resource (= 0.0.17)
- DKImagePickerController/Resource (4.3.9)
- DKPhotoGallery (0.0.19):
- DKPhotoGallery/Core (= 0.0.19)
- DKPhotoGallery/Model (= 0.0.19)
- DKPhotoGallery/Preview (= 0.0.19)
- DKPhotoGallery/Resource (= 0.0.19)
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Core (0.0.17):
- DKPhotoGallery/Core (0.0.19):
- DKPhotoGallery/Model
- DKPhotoGallery/Preview
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Model (0.0.17):
- DKPhotoGallery/Model (0.0.19):
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Preview (0.0.17):
- DKPhotoGallery/Preview (0.0.19):
- DKPhotoGallery/Model
- DKPhotoGallery/Resource
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Resource (0.0.17):
- DKPhotoGallery/Resource (0.0.19):
- SDWebImage
- SwiftyGif
- file_picker (0.0.1):
@ -81,17 +81,15 @@ PODS:
- qr_code_scanner (0.2.0):
- Flutter
- MTBBarcodeScanner
- ReachabilitySwift (5.2.1)
- SDWebImage (5.19.0):
- SDWebImage/Core (= 5.19.0)
- SDWebImage/Core (5.19.0)
- Sentry/HybridSDK (8.21.0):
- SentryPrivate (= 8.21.0)
- sentry_flutter (0.0.1):
- ReachabilitySwift (5.2.2)
- SDWebImage (5.19.2):
- SDWebImage/Core (= 5.19.2)
- SDWebImage/Core (5.19.2)
- Sentry/HybridSDK (8.25.0)
- sentry_flutter (7.20.1):
- Flutter
- FlutterMacOS
- Sentry/HybridSDK (= 8.21.0)
- SentryPrivate (8.21.0)
- Sentry/HybridSDK (= 8.25.0)
- share_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1):
@ -102,23 +100,23 @@ PODS:
- sqflite (0.0.3):
- Flutter
- FlutterMacOS
- sqlite3 (3.45.1):
- sqlite3/common (= 3.45.1)
- sqlite3/common (3.45.1)
- sqlite3/fts5 (3.45.1):
- "sqlite3 (3.45.3+1)":
- "sqlite3/common (= 3.45.3+1)"
- "sqlite3/common (3.45.3+1)"
- "sqlite3/fts5 (3.45.3+1)":
- sqlite3/common
- sqlite3/perf-threadsafe (3.45.1):
- "sqlite3/perf-threadsafe (3.45.3+1)":
- sqlite3/common
- sqlite3/rtree (3.45.1):
- "sqlite3/rtree (3.45.3+1)":
- sqlite3/common
- sqlite3_flutter_libs (0.0.1):
- Flutter
- sqlite3 (~> 3.45.1)
- "sqlite3 (~> 3.45.3+1)"
- sqlite3/fts5
- sqlite3/perf-threadsafe
- sqlite3/rtree
- SwiftyGif (5.4.4)
- Toast (4.1.0)
- SwiftyGif (5.4.5)
- Toast (4.1.1)
- url_launcher_ios (0.0.1):
- Flutter
@ -160,7 +158,6 @@ SPEC REPOS:
- ReachabilitySwift
- SDWebImage
- Sentry
- SentryPrivate
- sqlite3
- SwiftyGif
- Toast
@ -225,19 +222,19 @@ SPEC CHECKSUMS:
app_links: e70ca16b4b0f88253b3b3660200d4a10b4ea9795
connectivity_plus: bf0076dd84a130856aa636df1c71ccaff908fa1d
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
file_picker: 15fd9539e4eb735dc54bae8c0534a7a9511a03de
file_saver: 503e386464dbe118f630e17b4c2e1190fa0cf808
fk_user_agent: 1f47ec39291e8372b1d692b50084b0d54103c545
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_email_sender: 02d7443217d8c41483223627972bfdc09f74276b
flutter_email_sender: 10a22605f92809a11ef52b2f412db806c6082d40
flutter_inappwebview_ios: 97215cf7d4677db55df76782dbd2930c5e1c1ea0
flutter_local_authentication: 1172a4dd88f6306dadce067454e2c4caf07977bb
flutter_local_notifications: 4cde75091f6327eb8517fa068a0a5950212d2086
flutter_native_splash: edf599c81f74d093a4daf8e17bd7a018854bc778
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
fluttertoast: 31b00dabfa7fb7bacd9e7dbee580d7a2ff4bf265
fluttertoast: 9f2f8e81bb5ce18facb9748d7855bf5a756fe3db
local_auth_darwin: c7e464000a6a89e952235699e32b329457608d98
move_to_background: 39a5b79b26d577b0372cbe8a8c55e7aa9fcd3a2d
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
@ -246,21 +243,20 @@ SPEC CHECKSUMS:
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
privacy_screen: 1a131c052ceb3c3659934b003b0d397c2381a24e
qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e
ReachabilitySwift: 5ae15e16814b5f9ef568963fb2c87aeb49158c66
SDWebImage: 981fd7e860af070920f249fd092420006014c3eb
Sentry: ebc12276bd17613a114ab359074096b6b3725203
sentry_flutter: dff1df05dc39c83d04f9330b36360fc374574c5e
SentryPrivate: d651efb234cf385ec9a1cdd3eff94b5e78a0e0fe
ReachabilitySwift: 2128f3a8c9107e1ad33574c6e58e8285d460b149
SDWebImage: dfe95b2466a9823cf9f0c6d01217c06550d7b29a
Sentry: cd86fc55628f5b7c572cabe66cc8f95a9d2f165a
sentry_flutter: 4cb24c1055c556d7b27262ab2e179d1e5a0b9b0c
share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
sodium_libs: 1faae17af662384acbd13e41867a0008cd2e2318
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
sqlite3: 73b7fc691fdc43277614250e04d183740cb15078
sqlite3_flutter_libs: af0e8fe9bce48abddd1ffdbbf839db0302d72d80
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
Toast: ec33c32b8688982cecc6348adeae667c1b9938da
sqlite3: 02d1f07eaaa01f80a1c16b4b31dfcbb3345ee01a
sqlite3_flutter_libs: 9bfe005308998aeca155330bbc2ea6dddf834a3b
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
Toast: 1f5ea13423a1e6674c4abdac5be53587ae481c4e
url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586
PODFILE CHECKSUM: b4e3a7eabb03395b66e81fc061789f61526ee6bb
COCOAPODS: 1.14.3
COCOAPODS: 1.15.2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 705 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 519 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Some files were not shown because too many files have changed in this diff Show more