shenlong-tanwen
146d7cdeb0
refactor: use currentUser for auth user table
...
# Conflicts:
# mobile/lib/domain/services/sync_linked_album.service.dart
# mobile/lib/infrastructure/repositories/store.repository.dart
# mobile/lib/infrastructure/repositories/user.repository.dart
# mobile/lib/providers/infrastructure/user.provider.dart
# mobile/test/domain/services/sync_linked_album_service_test.dart
# mobile/test/providers/infrastructure/memory_provider_test.dart
2026-08-28 09:08:13 +05:30
shenlong-tanwen
8adaf017f8
rebase
...
# Conflicts:
# mobile/lib/infrastructure/repositories/db.repository.dart
# mobile/lib/infrastructure/repositories/db.repository.steps.dart
# mobile/test/unit/presentation/presentation_context.dart
2026-08-28 09:08:13 +05:30
shenlong-tanwen
5b89fdf14d
fix tests and adapt changes from main
2026-08-28 09:07:46 +05:30
shenlong-tanwen
98b68cb002
refactor: use currentUser for auth user table
...
# Conflicts:
# mobile/lib/domain/services/sync_linked_album.service.dart
# mobile/lib/infrastructure/repositories/store.repository.dart
# mobile/lib/infrastructure/repositories/user.repository.dart
# mobile/lib/providers/infrastructure/user.provider.dart
# mobile/test/domain/services/sync_linked_album_service_test.dart
# mobile/test/providers/infrastructure/memory_provider_test.dart
# Conflicts:
# mobile/lib/domain/models/store.model.dart
# mobile/lib/pages/common/splash_screen.page.dart
2026-08-28 09:07:46 +05:30
shenlong-tanwen
789480ff16
migrate session config from store
2026-08-28 09:07:46 +05:30
shenlong-tanwen
acfc66a837
rebase
...
# Conflicts:
# mobile/lib/infrastructure/repositories/db.repository.dart
# mobile/lib/infrastructure/repositories/db.repository.steps.dart
# mobile/test/unit/presentation/presentation_context.dart
2026-08-28 09:07:46 +05:30
shenlong-tanwen
8d3a0f8c42
fix tests
2026-08-22 10:20:22 +05:30
shenlong-tanwen
d902a2867d
remove null values test group
2026-08-22 10:20:22 +05:30
shenlong-tanwen
7a5ef79254
rebase changes
2026-08-22 10:20:22 +05:30
shenlong-tanwen
64d40027b5
rebase over main
2026-08-22 10:20:22 +05:30
shenlong-tanwen
57a1abd4cc
rebase
...
# Conflicts:
# mobile/lib/infrastructure/repositories/db.repository.steps.dart
2026-08-22 10:20:22 +05:30
shenlong-tanwen
a01513125f
migrate session config from store
2026-08-22 10:20:16 +05:30
Santo Shakil
2237b28813
fix(mobile): permanently delete local copies when moving to the locked folder ( #29730 )
...
Docker / Build and Push ML-5 (push) Has been cancelled
Docker / Build and Push Server (push) Has been cancelled
Docker / Mirror to Docker Hub (push) Has been cancelled
Docker / Mirror to Docker Hub-1 (push) Has been cancelled
Docker / Mirror to Docker Hub-2 (push) Has been cancelled
Docker / Mirror to Docker Hub-3 (push) Has been cancelled
Docker / Mirror to Docker Hub-4 (push) Has been cancelled
Docker / Mirror to Docker Hub-5 (push) Has been cancelled
Docker / Mirror to Docker Hub-6 (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 (Server & CLI)-1 (push) Has been cancelled
Test / End-to-End Tests (Web) (push) Has been cancelled
Test / End-to-End Tests (Web)-1 (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
* permanently delete local copies when moving to the locked folder
* simplify the delete path and move the stubs into the mock defaults
* drop the kept count from the partial message and log the mismatch instead
2026-08-22 07:42:11 +05:30
Adam Gastineau
37e033a09d
chore(mobile): migrate remaining simple classes to Freezed ( #30907 )
2026-08-21 22:37:03 +05:30
Santo Shakil
a490cea1c4
fix(mobile): dedupe stale remote_asset rows on sync ( #28445 )
...
* fix(mobile): dedupe stale remote_asset rows on sync
queue a pre-delete on the matching partial-index tuple before each
upsert in updateAssetsV1/V2 so the second insert does not crash on
SqliteException(2067) when the server re-issues a new id for the
same (ownerId, checksum). closes #22522 #27186 .
* run the dedupe deletes before the inserts and keep only the last duplicate per payload
* switch the asset upsert to insert or replace
* trim the dedupe tests to the essentials
2026-08-21 11:13:48 +00:00
Santo Shakil
a066b5f301
fix(mobile): order album/place/person timelines by local date ( #29338 )
...
* fix(mobile): order album/place/person timelines by local date
* fold the timeline date ordering into one helper and tighten the tests
* drop the redundant none guard from the place asset query
* format
2026-08-20 13:52:33 +06:00
nikhilpodila
65b4b9b8fb
fix(mobile): cannot deep link to memory lane ( #30634 ) ( #30787 )
...
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
2026-08-18 18:37:15 +00:00
shenlong
ea3fa92776
feat: actions undo handling ( #30481 )
...
* feat: actions undo handling
# Conflicts:
# mobile/lib/main.dart
* address pr reviews
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-19 00:06:57 +05:30
Santo Shakil
1539ae8b07
fix(mobile): resend an upload once when the connection dies before a response ( #30843 )
2026-08-18 22:38:52 +06:00
Adam Gastineau
225ca9ab8d
chore(mobile): use Drift @DriftAccessor() and collapse some providers ( #30693 )
...
* chore(mobile): use Drift @DriftAccessor() and collapse some providers
* Fix import order
* Required formatting
2026-08-17 14:43:32 -07:00
Santo Shakil
9ab12b0c4e
fix(mobile): mark finished downloads complete instead of leaving them stuck ( #29023 )
...
* wire download status to the ui and dismiss finished entries
* mark finished downloads with a checkmark instead of dismissing
* use the theme color for the done icon and guard status updates on a known task
2026-08-17 16:10:26 +06:00
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
shenlong
bd55f7e73a
chore: pump flutter_lints to 6.0 ( #30664 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-15 16:55:45 +05:30
Adam Gastineau
b82d480552
fix(mobile): prevent iOS status bar scroll to top during transitions ( #30717 )
2026-08-12 12:57:45 -07:00
shenlong
943c11c019
chore: label local only delete as trash ( #30726 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-12 10:02:08 -04:00
Santo Shakil
9862e50aab
fix(mobile): decode remote thumbnails at displayed size ( #29965 )
...
* fix(mobile): decode remote thumbnails at displayed size
* use nullable decode size and reuse the tapped thumbnail in the viewer
* clean up decode size naming and guards
2026-08-10 21:14:23 +06:00
Santo Shakil
35c2a90fca
fix(mobile): video playback controls dead for backed up videos opened from search ( #30587 )
...
* key video player state by asset id instead of hero tag
* expose id on BaseAsset instead of a separate playerKey
2026-08-09 23:54:55 +06:00
shenlong
e9eafc3161
refactor: gallery permission notifier ( #30477 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-08 11:14:14 -05:00
shenlong
db2033a4b0
chore: add reason for stopForegroundBackup in tests ( #30573 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-05 22:45:50 +06:00
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
Santo Shakil
00e813ba84
fix(mobile): stop long images squishing on ios ( #29367 )
...
* fix(mobile): stop long images squishing on ios
* fix(mobile): bound the original to 16384 with fast resize
* refactor(mobile): reuse the shared request options for the original
* fix(mobile): fix squished long image previews on ios
* fix(mobile): retry with exact resize when fast resize overshoots the texture bound
* fix(mobile): clamp preview targets to a minimum of one pixel
* fix nullable cast flagged by the stricter lints
2026-08-04 19:08:27 +00:00
Santo Shakil
8d2fdd6b8f
fix(mobile): stop websocket reconnect loop draining battery when server is unreachable ( #29901 )
...
* fix(mobile): stop websocket reconnect loop draining battery when server is unreachable
* fix(mobile): reconnect when the websocket is inactive and guard resume against pause
* move the test mocks to the service mocks file
2026-08-04 18:51:28 +00:00
Santo Shakil
d8e1ead6f4
fix(mobile): stale local renders after editing a photo on device ( #30415 )
...
* fix(mobile): key local image caches by content so on-device edits re-render
* use Object.hash and the local asset factory
2026-08-05 00:37:49 +06:00
shenlong
4d9a27691e
fix: action provider overrides ( #30480 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-03 19:53:12 +05:30
shenlong
cafd6c7c0f
refactor: cleanup actions & action tests ( #30265 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:44 +05:30
shenlong
3d42c1424c
refactor: mobile upload action ( #29949 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:43 +05:30
shenlong
bc84054ccc
refactor: mobile tag and download actions ( #29948 )
...
refactor: mobile tag and download action
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:43 +05:30
shenlong
1fa985babb
feat: album action ( #29770 )
...
refactor: mobile album actions
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:43 +05:30
shenlong
0a97b4b099
refactor: mobile share actions ( #29947 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:42 +05:30
shenlong
9fcbb6eefc
refactor: mobile edit asset actions ( #30264 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:42 +05:30
shenlong
a048e86217
refactor: mobile cast and slideshow action ( #29768 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:42 +05:30
shenlong
36f12ec805
refactor: mobile open in browser, similar, set profile action ( #29769 )
...
refactor: mobile browser and similar photos action
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:41 +05:30
shenlong
3f3bc44258
refactor: mobile delete action ( #29771 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:41 +05:30
shenlong
47d34e3b4b
refactor: mobile lock action ( #29767 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:41 +05:30
shenlong
e6b5b0deb6
feat: archive action ( #29362 )
...
refactor: mobile archive action
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:40 +05:30
shenlong
208b7cf9ca
feat: stack action ( #29370 )
...
refactor: mobile stack action
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:40 +05:30
shenlong
5b0a324b68
feat: restore action ( #29374 )
...
* refactor: existing actions to new structure
# Conflicts:
# mobile/lib/presentation/actions/action.dart
# mobile/lib/presentation/actions/action.widget.dart
# mobile/lib/presentation/actions/asset_debug.action.dart
# mobile/lib/presentation/actions/favorite.action.dart
# mobile/lib/presentation/actions/partner.action.dart
# mobile/test/unit/presentation/actions/favorite_action_test.dart
* rename to actionitem
* review changes
* refactor: mobile restore action
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-01 08:06:40 +05:30
Adam Gastineau
483b375c26
fix(mobile): resolve owned assets when partner owns identical asset ( #30137 )
...
* fix(mobile): resolve owned assets when partner owns identical asset
* Add limit to auth user expressions
* Change debug method semantics
2026-07-31 14:37:12 +00:00
shenlong
fe5c8ed0fb
refactor: base action ( #29617 )
...
* refactor: existing actions to new structure
# Conflicts:
# mobile/lib/presentation/actions/action.widget.dart
# mobile/lib/presentation/widgets/action_buttons/favorite_action_button.widget.dart
# mobile/lib/presentation/widgets/action_buttons/unfavorite_action_button.widget.dart
# mobile/test/unit/presentation/partner_page_test.dart
* rename to actionitem
* more cleanup
* review changes
* lint changes
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-07-30 17:02:14 -04:00
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