Commit Graph

36238 Commits

Author SHA1 Message Date
Crowdin Bot
20acf7c0bf New Crowdin translations by GitHub Action 2024-12-16 01:05:37 +00:00
Aman Raj Singh Mourya
f5e77d8b23 [auth] fix missing [ ] in altNames in custom-icons.json (#4401)
## Description
Debug build failing due missing [ ] in altNames in the custom-icon.json
from PR [https://github.com/ente-io/ente/pull/4348/files]()
Code Ref:
https://github.com/ente-io/ente/blob/main/auth/assets/custom-icons/_data/custom-icons.json#L639
2024-12-14 22:15:54 +05:30
Aman Raj
449c966342 [auth] fix missing [ ] in altNames in custom-icons.json 2024-12-14 22:02:04 +05:30
Aman Raj Singh Mourya
ca02c20d09 [auth] Remove duplicate code (#4383) 2024-12-14 08:32:39 +05:30
Neeraj Gupta
e3d3f3b1f4 [auth] New translations (#4355)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-12-13 14:46:26 +05:30
Ashil
062a7fe257 [mob][photos] Minor UI fix (#4396) 2024-12-13 14:40:47 +05:30
ashilkn
442cf6583b [mob][photos] Minor UI fix 2024-12-13 14:39:47 +05:30
k3kk07
7bc38a061d Updated randstad icon (#4363)
## Description
Updated randstad icon
## Tests
2024-12-13 14:21:20 +05:30
Neeraj Gupta
fd04cd0a98 Fix #4296 + download UI improvement + fixes (#4369)
## Description

### Background 
Proposal to fix #4296 (@ua741). High level, there is a race condition
which is generating wrong entries in the FilesDB (creating orphan
files). This issue is easily replicable if you select multiple files and
try to download them (the more files, the more likely wrong entries will
be created). This issue is also messing up with the date of the files we
see in the timeline and is creating "orphan" (not linked to uploaded
files) files in the device collections.

To my understanding, this is quite a critical bug and any user is very
likely to encounter it in the current implementation.

There is some self healing already in place that will reupload all those
files and this should correct the dates, but this will only do it 10
files at a time, and based on potential candidates, without fixing the
orphan entries. I was also able to produce files which were never
corrected.

### This pull request
After extensive tests and lots of debugging, I was able to fully fix
this issue (meaning I am not able to reproduce it, at all, and I tried a
lot..). I also do not see any orphan in the device collection
("Pictures" folder for Android), while i could see 20+ (even more) each
time I was trying to replicate the issue. To fix it, I have:

- created a new class `PhotoManagerSafe` which is safely making sure
that the app will not react to file changes when it has been asked not
to do so (previous implementation allowed scenarios where a caller was
executing code thinking no change notification would be sent).
- created a Lock in the `LocalSyncService` that is used to make sure no
local synchronisation can be performed at the same time a download is
performed (this was the main culprit). The main side effect is that when
you download multiple files, they will be processed sequentially. I
think this can be improved but the main "side" advantage is that
whenever there is a failure, not a lot will be lost and it is more
robust in that way if you want to download a big collection. It would be
better to have at least 2 threads downloading/decrypting at the same
time, maybe (maybe not needed as well)?
- improved the "Downloading files..." dialog, which is now showing the
progress (for example "Downloading files... (235/494)"), so that the
user knows if something is actually happening and what is the current
progress.
- Added a missing call on the Video Editor page where the change notify
was stopped but never started again at the end when task was performed.

Feel free to close this PR if not suitable according to you, I can also
take feedback and try to implement them as best as I can.

## Tests

Tested on my Pixel 6a

Built with :

Flutter 3.24.3
JDK 17.0.2
Gradle 7.2
2024-12-13 14:17:34 +05:30
Neeraj Gupta
1a80c40f78 [auth] Add icons for Nelnet, US Mobile (#4389)
## Description

Custom icons for Nelnet and US Mobile
2024-12-13 14:16:28 +05:30
Neeraj Gupta
19441d9fee [auth] Lint rule to validate file size (#4394)
## Description

## Tests
2024-12-13 14:14:39 +05:30
Neeraj Gupta
826b2f997e [auth] Reduce icon sizes 2024-12-13 14:11:50 +05:30
Neeraj Gupta
747bf88515 [auth] Lint on file size 2024-12-13 14:11:26 +05:30
Aman Raj
5175f24402 [auth] fix: change the selectedItemCount 2024-12-13 13:37:32 +05:30
Simon Dubrulle
32ed84f48d Moved getFile() outside lock + Implemented simple Download queue 2024-12-13 08:34:52 +01:00
Vishnu Mohandas
ca40492d99 Remove bold (#4393) 2024-12-13 12:44:18 +05:30
vishnukvmd
c220e0385a Update 2024-12-12 23:13:13 -08:00
vishnukvmd
df9c08cd7f Remove bold 2024-12-12 23:08:08 -08:00
Neeraj Gupta
a7cd7030f1 [server] Fix recovery email (#4392)
## Description

## Tests
2024-12-13 12:37:04 +05:30
Neeraj Gupta
113fbef0d9 [server] Fix recovery email 2024-12-13 12:31:12 +05:30
Neeraj Gupta
af23fd37b2 [docs] Adding help article for Legacy (#4390)
## Description

## Tests
2024-12-13 12:24:31 +05:30
setalp
6dc2f6139a Update sidebar.ts 2024-12-13 12:23:09 +05:30
setalp
665ba9e634 Update initiate_account_recovery.png 2024-12-13 12:07:51 +05:30
Neeraj Gupta
acd2f63a87 [server] Send emails for legacy (#4391)
## Description

## Tests
2024-12-13 12:05:38 +05:30
Neeraj Gupta
58ae5eee32 Update from address 2024-12-13 12:01:35 +05:30
Neeraj Gupta
eaee515e17 Update templates 2024-12-13 12:01:06 +05:30
Neeraj Gupta
3be7c4a60f Update templates 2024-12-13 11:49:26 +05:30
setalp
84e39c43d6 Adding help article for Legacy 2024-12-13 11:45:35 +05:30
Neeraj Gupta
7f0d07db3f [auth] Add custom icon for DreamHost (#4381)
This is my first PR for this repo; please let me know if I've done
anything incorrectly. I've got a couple other icons to submit if this
one looks good.
2024-12-13 11:41:44 +05:30
Aaron Sherber
0fd6eceda6 Add icons for Nelnet, US Mobile 2024-12-12 22:18:47 -05:00
Aman Raj
f439d805fc [auth] extract strings 2024-12-12 20:27:13 +05:30
Aman Raj Singh Mourya
0e98ef43df [auth] Save button on reorder screen (#4382) 2024-12-12 15:36:56 +05:30
Neeraj Gupta
38d679f574 [server] Clean up emergency contacts on account deletion 2024-12-12 15:32:10 +05:30
Aman Raj
be92c30bb1 Merge branch 'main' into save_button_reorder_screen 2024-12-12 15:06:55 +05:30
Neeraj Gupta
c648127ff8 [server] Reject/Stop active recovery when contact is removed 2024-12-12 14:53:08 +05:30
Aman Raj
209bdf3f0b [auth] remove unused variables 2024-12-12 14:46:38 +05:30
Aman Raj
257344f2e5 [auth] Added save button on appbar to save the updated code order 2024-12-12 14:45:14 +05:30
Neeraj Gupta
cbe105020b Update emails 2024-12-12 14:21:32 +05:30
Aman Raj
0e33013cec [auth] UI fix 2024-12-12 12:46:06 +05:30
Neeraj Gupta
9c0426d716 [server] Update contact emails 2024-12-12 11:27:58 +05:30
Neeraj Gupta
35de887624 [server] Update contact emails 2024-12-12 11:27:52 +05:30
Aaron Sherber
d81c545423 Add custom icon for DreamHost 2024-12-11 19:51:43 -05:00
Neeraj Gupta
c499df4212 [mob] Fix copy (#4380)
## Description

## Tests
photos-v0.9.71
2024-12-11 21:11:44 +05:30
Neeraj Gupta
e0d462ec75 [mob] Fix copy 2024-12-11 21:11:19 +05:30
Aman Raj
c80f64943d [auth] UI implementation 2024-12-11 18:35:27 +05:30
Aman Raj
5326c7452b [auth] impelmented logic to find duplicate code 2024-12-11 18:35:03 +05:30
Aman Raj
38023d0ab1 [auth] add new tile to navigate to duplicate code screen 2024-12-11 18:34:06 +05:30
Neeraj Gupta
6cc6d2521a [mob] Bump version v0.9.70 (#4376)
## Description

## Tests
2024-12-11 17:25:11 +05:30
Neeraj Gupta
553276828c [mob] Bump version v0.9.70 2024-12-11 17:24:29 +05:30
Neeraj Gupta
b6d9527f1d [server] Update template 2024-12-11 16:23:40 +05:30