shenlong
ffc83eae36
chore: more dart lints ( #30665 )
...
Static Code Analysis / pre-job (push) Has been cancelled
Test / pre-job (push) Has been cancelled
Test / ShellCheck (push) Has been cancelled
Test / OpenAPI Clients (push) Has been cancelled
Test / SQL Schema Checks (push) Has been cancelled
CLI Build / Docker (push) Has been cancelled
Docker / Re-Tag ML (push) Has been cancelled
Docker / Re-Tag Server (push) Has been cancelled
Docker / Build and Push ML (push) Has been cancelled
Docker / Build and Push Server (push) Has been cancelled
Docker / Mirror to Docker Hub (push) Has been cancelled
Docker / Docker Build & Push Server Success (push) Has been cancelled
Docker / Docker Build & Push ML Success (push) Has been cancelled
Docs build / Docs Build (push) Has been cancelled
Static Code Analysis / Run Dart Code Analysis (push) Has been cancelled
Test / Scripts unit tests (push) Has been cancelled
Test / Test & Lint Server (push) Has been cancelled
Test / Unit Test CLI (push) Has been cancelled
Test / Unit Test CLI (Windows) (push) Has been cancelled
Test / Lint Web (push) Has been cancelled
Test / Test Web (push) Has been cancelled
Test / Test i18n (push) Has been cancelled
Test / End-to-End Lint (push) Has been cancelled
Test / Medium Tests (Server) (push) Has been cancelled
Test / End-to-End Tests (Server & CLI) (push) Has been cancelled
Test / End-to-End Tests (Web) (push) Has been cancelled
Test / End-to-End Tests Success (push) Has been cancelled
Test / Unit Test Mobile (push) Has been cancelled
Test / Unit Test ML (push) Has been cancelled
Test / .github Files Formatting (push) Has been cancelled
The lints are regrouped and sorted. Also, added the following new lints:
- unnecessary_ignore
- parameter_assignments
- avoid_unused_constructor_parameters
- tighten_type_of_initializing_formals
- only_throw_errors
- deprecated_consistency
- unnecessary_statements
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-15 16:55:45 +05:30
Adam Gastineau
235daff561
chore(mobile): more complicated Freezed pass ( #30452 )
...
* chore(mobile): example freezed implementation on some models
2026-08-10 14:12:45 -07:00
Adam Gastineau
18d4a796bb
chore(mobile): simple freezed implementation on some models ( #30168 )
...
* chore(mobile): example freezed implementation on some models
* Don't commit Freezed generated code
* Freezed easy pass
* Formatting fix
* Generate Flutter debugging info
2026-08-05 12:00:49 -07:00
shenlong
1a40ef66b4
chore: log reason for foreground backup cancellation ( #30570 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-05 20:18:27 +05:30
Santo Shakil
b2eb62dfa5
fix(mobile): keep backup remainder from going negative ( #29011 )
...
* recount the backup counters when a run starts
* clear the error before the recount
* create the cancel token before the recount
2026-08-05 20:17:05 +05:30
Adam Gastineau
e7aace436d
chore(mobile): Apply stricter linting rules for correctness ( #30372 )
...
* chore(mobile): Apply stricter linting rules for correctness
* Added discarded_futures rule
2026-07-30 19:39:24 +00:00
Adam Gastineau
d864a90811
chore(mobile): Apply stricter linting rules for formatting ( #30370 )
...
* chore(mobile): Apply stricter linting rules for formatting
* Formatting fixes
2026-07-30 08:56:46 +00:00
shenlong
12f7b2a005
chore: add always_put_control_body_on_new_line lint ( #28352 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-05-11 13:47:24 -04:00
shenlong
79fccdbee0
refactor: yeet old timeline ( #27666 )
...
* refactor: yank old timeline
# Conflicts:
# mobile/lib/presentation/pages/editing/drift_edit.page.dart
# mobile/lib/providers/websocket.provider.dart
# mobile/lib/routing/router.dart
* more cleanup
* remove native code
* chore: bump sqlite-data version
* remove old background tasks from BGTaskSchedulerPermittedIdentifiers
* rebase
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-04-15 23:00:27 +05:30
Mert
a05c8c6087
feat(mobile): use shared native client ( #25942 )
...
* use shared client in dart
fix android
* websocket integration
platform-side headers
update comment
consistent platform check
tweak websocket handling
support streaming
* redundant logging
* fix proguard
* formatting
* handle onProgress
* support videos on ios
* inline return
* improved ios impl
* cleanup
* sync stopForegroundBackup
* voidify
* future already completed
* stream request on android
* outdated ios ws code
* use `choosePrivateKeyAlias`
* return result
* formatting
* update tests
* redundant check
* handle custom headers
* move completer outside of state
* persist auth
* dispose old socket
* use group id for cookies
* redundant headers
* cache global ref
* handle network switching
* handle basic auth
* apply custom headers immediately
* video player update
* fix
* persist url
* potential logout fix
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2026-03-05 11:04:45 -06:00
Alex
23445fdcc1
fix: upload progress bar flickering ( #25829 )
...
* fix: upload progress bar flickering
* pr feedback and more logs
2026-02-03 09:28:29 -06:00
Alex
44b4f35019
chore: expose upload errors to UI ( #25566 )
2026-01-27 16:33:44 +00:00
Alex
e4443fa43e
chore: dart http foreground upload ( #24883 )
...
* feat: bring back manual backup
* expose iCloud retrieval progress
* wip
* unify http upload method, check for connectivity on iOS
* handle LivePhotos progress
* feat: speed calculation
* wip
* better upload detail page
* handle error
* handle error
* pr feedback
* feat: share intent upload
* feat: manual upload
* feat: manual upload progress
* chore: styling
* refactor
* refactor
* remove unused logs
* fix: background android backup
* feat: add error section
* remove complete section
* remove empty state and prevent slot jumps
* more refactor
* fix: background test
* chore: add metadata to foreground upload
* fix: email and name get reset in auth provider
* pr feedback
* remove version check for metadata field in upload payload
* chore: fix unit test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-01-15 20:10:08 -06:00
Peter Ombodi
a57c4d9a9e
fix(drift backup notifier): add lifecycle guards and dispose logging ( #24806 )
...
* fix(drift backup notifier): add lifecycle guards and dispose logging
* fix(drift backup notifier): re-read notifiers in callbacks to avoid disposed backup notifier
* fix(drift backup notifier): increase the log level to warning.
---------
Co-authored-by: Peter Ombodi <peter.ombodi@gmail.com>
2025-12-26 18:44:07 +00:00
shenlong
ac0d646401
fix: mobile unawaited_futures lint ( #21661 )
...
* chore: add unawaited_futures lint as warning
# Conflicts:
# mobile/analysis_options.yaml
* remove unused dcm lints
They will be added back later on a case by case basis
* fix warning
# Conflicts:
# mobile/lib/presentation/pages/drift_remote_album.page.dart
* auto gen file
* review changes
* conflict resolution
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-10-27 09:32:52 -05:00
shenlong
8f1bc7e821
fix: show un-hashed remainder assets ( #22492 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-30 08:19:03 -05:00
shenlong
44284b4351
chore: do not remote sync twice in backup page ( #22484 )
...
do not remote sync twice in backup page
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-29 13:14:01 -05:00
shenlong
75b9bd163e
chore: show error message in upload details route ( #22472 )
...
* chore: show error message in upload details route
* pretty format exception
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-29 12:31:09 -05:00
shenlong
ee3c07d049
fix: process upload only after successful remote sync ( #22360 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-29 10:10:00 -05:00
shenlong
d73aabc494
chore: log mobile upload failures ( #22349 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-26 00:22:03 +05:30
Alex
7a0107fc79
feat: show preparing/hashing status in backup page ( #22222 )
...
* only show preparing information while hashing
* pr feedback
* use count
* use a single query for count
* use Mert's query
2025-09-21 14:34:19 -05:00
Alex
d36c26bf97
chore: refresh backup stats when entering backup page ( #21977 )
...
* chore: refresh backup stats when entering backup page
* check for success status
* remove logs
* remove sync remote when toggle the button
* show status immediately after navigating to screen
* pr feedback
2025-09-18 15:36:43 -05:00
Alex
6bb8903b05
chore: revert poll counts from DB rather than using callbacks from library ( #22117 ) ( #22140 )
...
Revert "fix: poll counts from DB rather than using callbacks from library (#22117 )"
This reverts commit 29fd981587 .
2025-09-17 15:41:33 +00:00
shenlong
29fd981587
fix: poll counts from DB rather than using callbacks from library ( #22117 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-16 21:13:34 -05:00
Mert
17bbcdf584
chore(mobile): add debugPrint lint rule ( #21872 )
...
* add lint rule
* update usages
* stragglers
* use dcm
* formatting
* test ci
* Revert "test ci"
This reverts commit 8f864c4e4d .
* revert whitespace change
2025-09-12 18:56:00 -04:00
shenlong
e239b8d2fa
fix: android crash on app pause ( #21768 )
...
* revert service locks
* rename backgroundWorkerFgServiceProvider
* refactor: parallel background worker init (#21769 )
* refactor: parallel background worker init
* fix: hashing not running from the background engine (#21773 )
* init and dispose workmanager from background engine
* log message contend
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-09-10 17:15:42 +00:00
shenlong
67a8cab286
feat: resurrect advanced info ( #21633 )
...
* feat: resurrect advanced info
* display null values as well
* add exif details
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-10 08:38:53 -05:00
shenlong
0df88fc22b
feat: beta background sync ( #21243 )
...
* feat: ios background sync
# Conflicts:
# mobile/ios/Runner/Info.plist
* feat: Android sync
* add local sync worker and rename stuff
* group upload notifications
* uncomment onresume beta handling
* rename methods
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-08-28 14:11:54 +00:00
Alex
c443ab854c
chore: ignore queue retry error ( #21069 )
...
* chore: ignore queue retry error
* remove items
2025-08-21 21:22:36 +00:00
Alex
ab2849781a
feat: show remainder assets info ( #21114 )
...
* feat: show remainder assets info
* pr feedback
2025-08-21 17:18:31 +00:00
Alex
4b9019e762
fix: return method correctly ( #20831 )
2025-08-09 23:01:47 -05:00
Alex
b1aacfdbd9
chore: log resume backup process ( #20768 )
2025-08-07 15:44:49 -05:00
Alex
10e9c278ee
feat: network requirement option for upload ( #20302 )
...
* wifi toggle
* feat: network requirement option for upload
* chore: put back holding queue previous config numbers
* options
* backup option page
* pr feedback
2025-07-30 22:13:20 +05:30
shenlong
e52b9d15b5
chore: bump dart sdk to 3.8 ( #20355 )
...
* chore: bump dart sdk to 3.8
* chore: make build
* make pigeon
* chore: format files
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-28 14:04:03 -05:00
Alex
03a13828e1
chore: refactor upload service ( #20130 )
...
* chore: refactor upload service
* fix: cancel upload queue on logout (#20131 )
* fix: cancel upload on logout
* fix: test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
---------
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-25 10:09:32 -05:00
shenlong
ad65e9011a
chore: bump line length to 120 ( #20191 )
2025-07-25 02:37:22 +00:00
shenlong
08122d6871
fix: show only local assets from albums selected for backup ( #20050 )
...
* show only local assets from albums selected for backup
# Conflicts:
# mobile/lib/infrastructure/repositories/db.repository.drift.dart
* ignore backup selection
* fix: backup album ownerId
* fix: backup album ownerId
* only show local only assets that are selected for backup
* add index on visibility and backup selection
* fix: video not playing in search view
* remove safe area from bottom bar
* refactor stack count with a CTE and local asset with a SELECT
* fix lint
* remove redundant COALESCE
* remove stack count from main timeline query
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-23 09:13:15 -05:00
Alex
1011cdb376
chore: handle requeue upload when target albums changed ( #20089 )
...
* chore: handle requeue upload when target albums changed
* chore: remove debug
2025-07-22 17:11:06 -05:00
Alex
4d27f187ea
feat: new upload (cont) ( #20029 )
...
* new upload button
* wip
* pr feedback
* fix: updateAll override album selection value
* feat: status box
* feat: handle upload resume
* re-enable websocket event
* fix: update state condition and upload status
* Better backup detail page
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-21 15:30:51 -05:00
Alex
fafb88d31c
feat(mobile): new upload ( #18726 )
2025-07-19 04:58:53 +00:00
shenlong
5b0575b956
refactor: DCM - const border radius, constructor & switch expressions ( #19515 )
...
* enable border radius, switch exp, const constructor
* regenerate provider
* more formatting
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-25 13:06:24 +05:30
Alex
9b047d30e4
refactor(mobile): backup_album.interface.dart ( #19348 )
2025-06-21 21:58:02 +00:00
Alex
c10b795e99
refactor(mobile): file_media.interface.dart ( #19343 )
...
* refactor(mobile): file_media.interface.dart
* merge main
2025-06-21 19:24:59 +00:00
Alex
e61d7f2616
refactor(mobile): album_media.interface.dart ( #19355 )
...
* refactor(mobile): album_media.interface.dart
* refactor: album_media repo
* make dcm happy
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-20 14:23:43 +00:00
shenlong
ece977d9ca
fix(mobile): empty translation placeholders ( #18063 )
...
* fix: empty placeholders
* fix: use namedArgs
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-05-06 09:21:05 -04:00
Alex
b2c903c000
feat(mobile): use Weblate for i18n (2) ( #17620 )
...
* feat(mobile): use Weblate for i18n (2)
* remove old translation files
* dedup keys
* remove migration report
* chore
* remove localizely.yml
2025-04-15 15:54:26 +00:00
Alex
82624b0979
chore(mobile): upgrade riverpod ( #16742 )
2025-03-09 20:30:58 -05:00
Alex
c70c9067b0
refactor(mobile): backup provider ( #16360 )
...
* refactor(mobile): backup provider
* refactor(mobile): backup provider
2025-02-27 09:56:23 -06:00
shenlong
76d95cd348
refactor(mobile): move store settings and store into domain folder ( #16201 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-02-19 19:27:32 +00:00
Alex
9503bf479b
feat(album): album view sort order ( #14648 )
...
* feat(mobile): album view sort order
* feat: add error message
* refactor(mobile): album page (#14659 )
* refactor album page
* update lint rule
* const record
* fix: updating sort order when pull to refresh
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
* Move sort toggle button to bottom sheet menu
* chore: revert multiselectgrid loading status
* chore: revert multiselectgrid loading status
---------
Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com>
2024-12-16 16:11:48 +00:00