Yaros
733373c0ca
feat(mobile): ocr support ( #26523 )
2026-06-05 04:29:03 +05:30
Mert
963862b1b9
fix(mobile): proper background task cleanup ( #28694 )
...
* event-based cancellation
wire hash cancellation
await cleanup
remove forced kill
add regression tests
abort sync requests
fix cleanup ordering in teardown
exit isolate
test background sync
test sigabrt crash
cleanup
* abort local sync
2026-06-03 08:16:19 -04:00
Timon
96d521e149
feat(mobile): add three-state field serialization ( #27231 )
...
* bump to v7.22.0 and update patching
* gen client
* migrate mobile call sites
2026-06-03 08:13:17 -04:00
shenlong
91ac56cef2
refactor: move timeline config to metadata table ( #28227 )
...
* migrate timeline config
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-05-13 01:23:25 +05:30
Mert
b554664791
chore!: duration in milliseconds ( #28003 )
...
* server changes
* openapi
* web changes
* mobile changes
* assume 3.0 client
* deprecate
* review feedback
* update medium tests
* linting
2026-04-30 09:44:27 -04:00
Daniel Dietzler
4bfb8b36c2
chore!: migrate album owner to album_user ( #27467 )
...
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-04-22 16:52:23 +02:00
Brandon Wees
9597f8c37f
feat(mobile): SyncAssetEditV1 ( #26518 )
...
* feat(mobile): SyncAssetEditV1
* fix: websocket handling
* fix: server version requirement
* fix: revert pubspec changes
2026-03-05 13:03:59 -06:00
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
Brandon Wees
e633bc3f24
fix: missing deletedAt and isVisible columns on mobile ( #26414 )
...
* feat: SyncAssetV2
* feat: mobile sync handling
* feat: request correct sync object based on server version
* fix: mobile queries
* chore: sync sql
* fix: test
* chore: switch to mapper
* fix: sql sync
2026-02-23 09:50:54 -05:00
Alex
0beb1f9e7a
fix: width and height migration issue ( #25643 )
...
* fix: width and height migration issue
* chore: sync stream migration tests
* lint and test
---------
Co-authored-by: bwees <brandonwees@gmail.com>
2026-01-28 15:14:50 -06:00
shenlong
9fa8de7baa
feat: add cloud id during native sync ( #20418 )
...
* use adjustment time in iOS for hash reset
# Conflicts:
# mobile/lib/infrastructure/repositories/local_album.repository.dart
# mobile/lib/presentation/pages/drift_asset_troubleshoot.page.dart
* migration
* feat: sync cloudId and eTag on sync
* fixes fixes
* more fixes
* re-sync updated eTags
* add server version check & auto sync cloud ids on compatible servers
* fix test
* remove button from sync status page
* chore: modify for testing
* more changes
* chore: add commas in toString
* use cached provider in splash screen
* read upload service provider to prevent reset
* log errors from fetching cloud id mapping
* WIP: migrate cloud id - debug log
* ignore locked asset update
* bulk update metadata
* change log text
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2026-01-14 12:34:11 -06: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
dcee34095b
fix: reset sqlite on beta migration ( #20735 )
...
reset sync stream on migration
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-09-14 16:30:25 -05:00
shenlong
059a0e8aa8
feat: sync AuthUserV1 ( #21565 )
...
* feat: sync AuthUserV1
* migration
* chore: fix analyze
* fix user updatedAt check
* fix: auth user sync query
* generate sql
* bump schema version and update migration
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-09-08 14:00:10 -05:00
shenlong
fd4c2acde8
feat: handle SyncResetV1 ( #20732 )
...
* feat: handle SyncResetV1
* auto retry on reset and handle SyncCompleteV1
* fix tests
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-09-08 09:48:26 -05:00
Brandon Wees
3cd7f5ab90
feat: use sqlite for logging ( #20414 )
...
* feat: use drift for logging
* fix: tests
* feat: use the truncate limit from constants.ts as default
* chore: move setupAll to top level and restructure
* chore: code review changes
* fix: inherits
* feat: raise log line limit to 2000
* limit getAll to 250 lines
* delete DLog and make LogRepository not a singleton
* fix: drift build settings and `make migration`
* fix: tests
* remove sensitive log
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-08-06 10:49:29 -05:00
Zack Pollard
02381343ff
fix: album asset sync must sync new assets in a shared album ( #20655 )
2025-08-05 17:53:51 +01:00
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
shenlong
ad65e9011a
chore: bump line length to 120 ( #20191 )
2025-07-25 02:37:22 +00:00
Daimolean
ac44f6d1e0
feat(mobile): asset face sync ( #20022 )
...
* feat(mobile): asset face sync
* fix: lint
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-22 17:17:52 +00:00
Daimolean
7bae49ebd5
feat(mobile): people sync ( #19777 )
...
* feat(mobile): drift people sync
* merge main
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-18 14:21:39 +00:00
Daimolean
0acbf1199a
feat(mobile): drift user metadata sync ( #19894 )
...
* feat(mobile): drift user metadata sync
* change text to jsonb
* update primary key
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-15 09:17:35 -05:00
Daimolean
cc471806fe
feat(mobile): stack sync ( #19735 )
...
* feat(mobile): stack sync
* fix: lint
* Update mobile/lib/infrastructure/repositories/sync_api.repository.dart
Co-authored-by: Alex <alex.tran1502@gmail.com>
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-06 22:01:09 -05:00
Alex
445f9174ea
feat: memories sync ( #19644 )
...
* feat: memories sync
* Update mobile/lib/infrastructure/repositories/sync_stream.repository.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update mobile/lib/infrastructure/repositories/sync_stream.repository.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* show sync information
* tests and pr feedback
* pr feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-02 19:18:37 +00:00
shenlong
ea3a14ed25
feat(mobile): add album asset sync ( #19522 )
...
* feat(mobile): add album asset sync
* add SyncAlbumToAssetDeleteV1 to openapi-spec
* update delete queries to use where in statements
* clear remote album when clear remote data
* fix: bad merge
* fix: bad merge
* fix: _SyncAckV1 return type
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: wuzihao051119 <wuzihao051119@outlook.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-06-26 08:50:39 -05:00
Alex
1923f1a887
refactor(mobile): interfaces refactor ( #19415 )
...
* refactor(mobile): interfaces refactor
* generate files
2025-06-23 11:27:44 -05:00
Alex
5f5308631e
chore: Revert "feat(mobile): remote album sync" ( #19159 )
...
Revert "feat(mobile): remote album sync (#18876 )"
This reverts commit 242817c49a .
2025-06-13 16:15:39 +00:00
Daimolean
242817c49a
feat(mobile): remote album sync ( #18876 )
...
* feat(mobile): remote album sync
* fix: lint
* missing createdAt field
* lint
2025-06-09 10:09:14 -05:00
shenlong
2d05a5482f
refactor: logger service and remove dynamic ( #17733 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-08 22:01:31 -05:00
shenlong
b4a798c39f
feat(mobile): remote asset & exif sync ( #18756 )
...
* feat(mobile): remote asset & exif sync
* add visibility and update constraints
* chore: generate drifts
* update ids to be strings
* clear remote entities on logout
* reset sqlite button
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-03 11:01:50 -05:00
shenlong
9771e48049
fix(mobile): do not continue on remote stream parse error ( #18344 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-05-20 16:09:49 -05:00
Alex
0e6ac87645
feat(mobile): assets + exif stream sync placeholder ( #17677 )
...
* feat(mobile): assets + exif stream sync placeholder
* feat(mobile): assets + exif stream sync placeholder
* refactor
* fix: test
* fix:test
* refactor(mobile): sync stream service (#17687 )
* refactor: sync stream to use callbacks
* pr feedback
* pr feedback
* pr feedback
* fix: test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex Tran <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-04-18 19:01:16 +00:00
shenlong
81ed54aa61
feat: user sync stream ( #16862 )
...
* refactor: user entity
* chore: rebase fixes
* refactor: remove int user Id
* refactor: migrate store userId from int to string
* refactor: rename uid to id
* feat: drift
* pr feedback
* refactor: move common overrides to mixin
* refactor: remove int user Id
* refactor: migrate store userId from int to string
* refactor: rename uid to id
* feat: user & partner sync stream
* pr changes
* refactor: sync service and add tests
* chore: remove generated change
* chore: move sync model
* rebase: convert string ids to byte uuids
* rebase
* add processing logs
* batch db calls
* rewrite isolate manager
* rewrite with worker_manager
* misc fixes
* add sync order test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-04-17 10:25:27 -05:00
Alex
1ed1a0a1fc
feat(mobile): new sync ( #16556 )
...
* feat(mobile): new sync
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* update analysis option
* remove database operation
* pr feedback
2025-03-06 08:44:28 -06:00