1942 Commits

Author SHA1 Message Date
shenlong-tanwen
be70444157 go delete assets 2025-05-18 16:13:59 +05:30
shenlong-tanwen
b9b7e20bc9 fix test 2025-05-16 09:15:14 +05:30
shenlong-tanwen
f36049a696 sync fixes 2025-05-15 06:24:36 +05:30
shenlong-tanwen
61316d94a9 add android unit tests 2025-05-13 21:04:21 +05:30
shenlong-tanwen
30fc632ce8 update ci 2025-05-13 18:23:00 +05:30
shenlong-tanwen
28434aa6d1 show dev route in profile mode 2025-05-12 15:50:05 +05:30
shenlong-tanwen
57668a8382 simplify interface and fix dart test 2025-05-10 06:37:42 +05:30
shenlong-tanwen
95ba4e4d38 db clear buttons, ios album lookup 2025-05-10 02:17:47 +05:30
shenlong-tanwen
9c2ac887b9 use nullable marker 2025-05-09 22:32:53 +05:30
shenlong-tanwen
1977458c79 add local media summary page 2025-05-09 21:33:24 +05:30
shenlong-tanwen
35c3f7211f pragma update and WAL checkpoint feat 2025-05-09 17:46:51 +05:30
shenlong-tanwen
63ebba671b make the native calls synchronous, pass datetime as long 2025-05-09 11:54:17 +05:30
Alex
87599daaac
feat: ios incremental sync optimization 2025-05-08 11:40:31 -05:00
shenlong-tanwen
09e5503fb1 reduce number of native calls 2025-05-07 19:34:08 +05:30
shenlong-tanwen
c0acd863cf feat: native sync android 2025-05-05 22:42:50 +05:30
shenlong-tanwen
214893d2f4 feat: native sync ios 2025-05-02 19:52:17 +05:30
shenlong-tanwen
dbe1a127c9 Merge branch 'feat/sqlite-device-assets' into feat/sqlite-remote-assets
# Conflicts:
#	mobile/drift_schemas/main/drift_schema_v1.json
#	mobile/lib/domain/models/asset/asset.model.dart
#	mobile/lib/domain/models/asset/local_asset.model.dart
#	mobile/lib/domain/models/asset/merged_asset.model.dart
#	mobile/lib/domain/models/asset/remote_asset.model.dart
#	mobile/lib/infrastructure/entities/local_asset.entity.dart
#	mobile/lib/infrastructure/entities/local_asset.entity.drift.dart
2025-04-30 23:01:23 +05:30
shenlong-tanwen
02b74d626a Merge branch 'main' into feat/sqlite-device-assets 2025-04-30 22:50:53 +05:30
Jason Rasmussen
094a41ac9a
chore: remove audit file report (#17994) 2025-04-30 11:17:23 -04:00
Ben
ac73e163df
chore(mobile): translate toast messages (#17964) 2025-04-29 14:26:41 -05:00
Jason Rasmussen
d89e88bb3f
feat: configure token endpoint auth method (#17968) 2025-04-29 15:17:48 -04:00
Jason Rasmussen
1b5fc9c665
feat: notifications (#17701)
* feat: notifications

* UI works

* chore: pr feedback

* initial fetch and clear notification upon logging out

* fix: merge

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-04-28 10:36:14 -04:00
Yaros
23717ce981
feat(mobile): save grid size on gesture resize (#17891) 2025-04-28 09:23:33 -05:00
Andreas Tollkötter
21c7d70336
feat(mobile): Capitalize month names in asset grid (#17898)
* capitalize month titles

* capitalize day titles as well
2025-04-28 13:56:36 +00:00
Jason Rasmussen
ad272333db
refactor: user avatar color (#17753) 2025-04-28 08:54:51 -05:00
Alex
205260d31c
chore: post release tasks (#17895) 2025-04-27 23:02:03 -05:00
Alex
3858973be5
chore(mobile): translation (#17920) 2025-04-27 23:00:40 -05:00
github-actions
02994883fe chore: version v1.132.3 2025-04-25 19:44:05 +00:00
Alex
a1f8150c30
fix: Authelia OAuth code verifier value contains invalid characters (#17886)
* fix(mobile): Authelia OAuth code verifier value contains invalid characters

* Refactor

* Refactoring with Jason

* Refactoring with Jason
2025-04-25 19:39:14 +00:00
Yaros
d85ef19bfc
fix(mobile): revert get location on app start (#17882) 2025-04-25 10:38:30 -05:00
Alex
644defa4a1
chore: post release tasks (#17867) 2025-04-25 04:14:40 +00:00
github-actions
0d60be3d87 chore: version v1.132.2 2025-04-25 03:07:06 +00:00
Alex
765da7b182
fix(mobile): mobile migration logic (#17865)
* fix(mobile): mobile migration logic

* add exception

* remove unused comment

* finalize
2025-04-25 00:16:54 +00:00
shenlong
b037158028
fix(mobile): auto trash using MANAGE_MEDIA (#17828)
fix: auto trash using MANAGE_MEDIA

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-04-24 19:09:50 -05:00
github-actions
37f5e6e2cb chore: version v1.132.1 2025-04-23 21:43:47 +00:00
Alex
57d622bc43
chore: post release tasks (#17816) 2025-04-23 16:41:08 -05:00
Alex
c167e46ec7
chore: revert #16732 (#17819)
* chore: revert #16732

* lint
2025-04-23 16:40:59 -05:00
github-actions
f659ef4b7a chore: version v1.132.0 2025-04-23 16:44:47 +00:00
Toni
59fa8fbd0e
perf(mobile): remove small thumbnail and cache generated thumbnails (#17792)
* Remove small thumbnail and cache generated thumbnails

* Creating the small thumbnails takes quite some time, which should not be underestimated.
* The time needed to generate the small or big thumbnail is not too different from each other. Therefore there is no real benefit of the small thumbnail and it only adds frustration to the end user experience. That is because the image appeared to have loaded (the visual move from blur to something better) but it's still so bad that it is basically a blur. The better solution is therefore to stay at the blur until the actual thumbnail has loaded.
* Additionaly to the faster generation of the thumbnail, it now also gets cached similarly to the remote thumbnail which already gets cached. This further speeds up the all over usage of the app and prevents a repeatet thumbnail generation when opening the app.
* Decreased the quality from the default 95 to 80 to provide similar quality with much reduces thumbnail size.
* Use try catch around the read of the cache file.
* Use the key provided in the loadImage method instead of the asset of the constructor.

* Use userId instead of ownerId

* Remove import

* Add checksum to thumbnail cache key
2025-04-23 10:31:35 -05:00
Jason Rasmussen
1b5e981a45
fix: failing ci checks (#17810) 2025-04-23 10:59:54 -04:00
Tin Pecirep
b7a0cf2470 feat: add oauth2 code verifier
* fix: ensure oauth state param matches before finishing oauth flow

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* chore: upgrade openid-client to v6

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* feat: use PKCE for oauth2 on supported clients

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* feat: use state and PKCE in mobile app

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* fix: remove obsolete oauth repository init

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* fix: rewrite callback url if mobile redirect url is enabled

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* fix: propagate oidc client error cause when oauth callback fails

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* fix: adapt auth service tests to required state and PKCE params

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* fix: update sdk types

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* fix: adapt oauth e2e test to work with PKCE

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

* fix: allow insecure (http) oauth clients

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>

---------

Signed-off-by: Tin Pecirep <tin.pecirep@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2025-04-23 15:08:11 +01:00
Alex
13d6bd67b1
feat: no small local thumbnail (#17787)
* feat: no small local thumbnail

* pr feedback
2025-04-23 14:02:51 +00:00
Toni
1de2eae12d
perf(mobile): remove load of thumbnails in the image provider (#17773)
Remove loading of thumbnail in the image provider

* Removed the load of the thumbnail from the local and remote image provider as they shall provide the image, not the thumbnail. The thumbnail gets provided by the thumbnail provider.
* The thumbnail provider is used as the loadingBuilder and the image provider as the imageProvider. Therefore loading the thumbnail in the image provider loads it a second time which is completely redundant, uses precious time and yields no results.

Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-04-23 13:55:51 +00:00
Matthew Momjian
699fdd0d1b
fix(mobile): recently added -> taken (#17780) 2025-04-23 12:38:25 +01:00
Łukasz Wawrzyk
ee017803bf
fix(mobile): use immutable cache keys for local images (#17794) 2025-04-23 02:32:03 +00:00
Alex
0986a71ce3
fix(mobile): revert cache fixes (#17786)
* Revert "fix(mobile): use immutable cache keys for local images (#17736)"

This reverts commit 010b144754680f39979a65668311b5a5ffee2416.

* Revert "perf(mobile): remove small thumbnail and cache generated thumbnails (#17682)"

This reverts commit b71039e83c2497f9829f1592573dbc2e85bb2f2c.
2025-04-22 12:15:54 -05:00
Alex
af36eaa61b
fix(mobile): video player initialization (#17778)
* fix(mobile): video player initialization

* nit
2025-04-22 11:51:20 -04:00
shenlong-tanwen
e9f145a477 refactor domain models 2025-04-22 01:19:20 +05:30
shenlong-tanwen
3e5a944143 server: add originalFileName to SyncAssetV1 2025-04-22 00:31:13 +05:30
Łukasz Wawrzyk
010b144754
fix(mobile): use immutable cache keys for local images (#17736)
fix(mobile): usse immutable cache keys for local images
2025-04-21 13:00:46 -05:00