346 Commits

Author SHA1 Message Date
Neeraj Gupta
f3ea825429
[mob](upload-status): fixes (#3141)
## Description

These PR does following fixes to upload status:
- Always maintain order or backup status.
  - failed -> in queue -> in background -> uploading -> uploaded
- Show previous uploaded items in this too
2024-09-11 12:02:06 +05:30
Laurens Priem
23d9ed65ec
Merge branch 'main' into ml_parallel 2024-09-10 11:12:51 -04:00
Ashil
73cae89fc5
[mob][photos] Require Authentication on App Reopen from Guest View (#3131)
This PR introduces a security enhancement that requires authentication
when the app is reopened after being closed while in guest view.
2024-09-10 17:30:58 +05:30
Aman Raj Singh Mourya
3e136baee2 [mob][photos] Refractor code 2024-09-10 17:01:35 +05:30
ashilkn
9c81d59833 [mob][photos] Resolve merge conflicts and merge main 2024-09-10 16:32:33 +05:30
Aman Raj Singh Mourya
068cad2207 [mob][photos] Extract strings 2024-09-10 13:58:42 +05:30
Aman Raj Singh Mourya
2a0c7d1e56 [mob][photos] Refractor code 2024-09-10 13:44:00 +05:30
laurenspriem
74d2c07ea0 [mob][photos] Run clip and faces parallel in same isolate 2024-09-09 15:49:27 -04:00
Prateek Sunal
53e2aeff3f Merge remote-tracking branch 'origin/main' into mob-upload-status-fixes 2024-09-09 20:59:38 +05:30
Prateek Sunal
80aebe3869 fix(upload-status): show all uploads, even from past 2024-09-09 20:53:14 +05:30
laurenspriem
762fa7150e [mob][photos] Refactor 2024-09-08 19:28:06 +02:00
laurenspriem
db6f8dbff8 [mob][photos] comment 2024-09-08 14:26:45 +02:00
laurenspriem
af25c83aa2 [mob][photos] Use antialias for 80% scale and lower 2024-09-08 14:19:58 +02:00
laurenspriem
23eaab0757 [mob][photos] Fix regression I created 2024-09-06 17:27:42 +02:00
laurenspriem
e9d6f46997 [mob][photos] Use antialias with clip image 2024-09-06 14:16:27 +02:00
laurenspriem
9b743d7afe [mob][photos] Stop using ByteData directly 2024-09-06 13:51:01 +02:00
laurenspriem
c94db7e9b8 [mob][photos] Remove unused method 2024-09-06 13:10:56 +02:00
Neeraj Gupta
be1ca57515 [mob] Add gen id in temp file path 2024-09-06 11:41:52 +05:30
Neeraj Gupta
7c2ce513df [mob] Additional check for fileSize for multipart upload 2024-09-06 11:41:52 +05:30
Neeraj Gupta
1b6dbbc288 [mob] Compute encFileSize just once 2024-09-06 11:41:52 +05:30
Neeraj Gupta
138515da02 [mob] Reuse same fileSize 2024-09-06 11:41:52 +05:30
Neeraj Gupta
5820d03bb5 [mob] Rethrow exception due to content size 2024-09-06 11:41:52 +05:30
Neeraj Gupta
67867cc127 [mob] Remove noisy log 2024-09-04 11:59:34 +05:30
laurenspriem
cbf84922bb [mob][photos] Log index status of user 2024-09-03 21:53:19 +02:00
ashilkn
8e014ae7c6 [mob][photos][auth] Fix lockscreen not automatically appearing on opening app
This does not fix the root cause, this is just a workaround. The root cause is somewhere in didChangeAppLifecycleState in app_lock.dart
2024-09-03 21:07:26 +05:30
Laurens Priem
debf52ee88
Ml logging (#3112)
## Description

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


## Tested

Tested in debug mode on my pixel 8 phone.
2024-09-03 17:36:55 +02:00
laurenspriem
13f1309857 [mob][photos] Logging 2024-09-03 13:36:48 +02:00
laurenspriem
ed3b27475e [mob][photos] Try converting any unsupported format on Android 2024-09-03 13:13:56 +02:00
laurenspriem
9dadb92d8d [mob][photos] Last logging todos 2024-09-03 12:49:45 +02:00
laurenspriem
ab636232ff [mob][photos] Cleaner logging 2024-09-03 12:04:35 +02:00
Neeraj Gupta
6e07067d94
[mob][photos] Add option to enable or disable looping of videos (#3059)
https://github.com/user-attachments/assets/e6635b09-d0d2-4f7e-b75f-513899c996ad
2024-09-02 17:07:47 +05:30
ashilkn
75448d5e5a [mob][photos] Add gesture interaction on grant permission screen and local photo sync screen to send logs 2024-09-02 16:48:23 +05:30
ashilkn
d42d8965e6 [mob][photos] Resolve merge conflicts and merge main 2024-09-02 14:52:22 +05:30
ashilkn
ab86c5129e [mob][photos] Refactor 2024-09-02 14:46:52 +05:30
laurenspriem
a9bc6502cb [mob][photos] proper logging in ML indexing isolate 2024-08-30 13:58:46 +02:00
laurenspriem
91646a809b [mob][photos] Actual logging in ML Computer 2024-08-30 12:07:06 +02:00
Prateek Sunal
325871f7c5 fix(backup): attach reason of error, use ListView.builder, use upload instead of forceUpload 2024-08-29 20:45:51 +05:30
Prateek Sunal
864b5514be feat(backup): introduce backup status screen 2024-08-29 20:45:51 +05:30
laurenspriem
e1ce353069 [mob][photos] Don't process large files on mobile 2024-08-28 11:08:18 +02:00
laurenspriem
7718da93a5 [mob][photos] Logs 2024-08-27 10:23:15 +02:00
laurenspriem
d299f94518 [mob][photos] More logs 2024-08-27 10:11:12 +02:00
laurenspriem
375260d701 [mob][photos] Better logging for image retrieval 2024-08-27 10:05:31 +02:00
laurenspriem
0121643558 [mob][photos] Log format of decoding error 2024-08-26 16:53:01 +02:00
laurenspriem
abd5234e7c [mob][photos] resolve merge conflict 2024-08-23 17:48:18 +02:00
laurenspriem
e47b4169ed [mob][photos] small refactor 2024-08-23 15:26:23 +02:00
laurenspriem
f0c546bc3b [mob][photos] clip bilinear 2024-08-23 12:01:35 +02:00
Neeraj Gupta
a1b447c5c8 [mob] Rename 2024-08-21 23:14:28 +05:30
Neeraj Gupta
165f288ad9 [mob] Remove unused key 2024-08-21 23:08:50 +05:30
laurenspriem
87a17c0034 [mob][photos] Convert heic to jpg for ML on Android 2024-08-21 18:20:49 +02:00
laurenspriem
f4a46a1fd3 [mob][photos] Refactor MLResults processing 2024-08-21 13:33:20 +02:00