Commit graph

953 commits

Author SHA1 Message Date
Ming Ming
d9a6d04ae8 Remove obsolete ListPendingSharedAlbum classes 2021-11-25 21:02:42 +08:00
Ming Ming
ea1729ebaf Prevent adding same user to share list 2021-11-25 21:02:42 +08:00
Ming Ming
ee171b8187 Fix wrong display name used to construct AlbumShare 2021-11-25 21:02:42 +08:00
Ming Ming
8f9879b1d4 Type user name to share album with them
Doesn't make sense to list all users
2021-11-25 21:02:42 +08:00
Ming Ming
ebcfc03815 Refactor: make search suggestion bloc generic 2021-11-25 21:02:42 +08:00
Ming Ming
5d63a5bcb3 Fix sharing files to the file owner 2021-11-25 21:02:42 +08:00
Ming Ming
e9f0f12f23 Refactor: relocate function 2021-11-25 21:02:42 +08:00
Ming Ming
a141d19a59 Refactor: extract wait fn 2021-11-25 21:02:42 +08:00
Ming Ming
a7cb4ce8de Tweak style 2021-11-25 21:02:42 +08:00
Ming Ming
49dca92f70 Fix draggable scrollbar overlapping app bar and status bar 2021-11-25 21:02:42 +08:00
Ming Ming
0e8d125a8c Pull to refresh album page 2021-11-25 21:02:41 +08:00
Ming Ming
cc5046ee8e Keep the refresh indicator until done 2021-11-25 21:02:41 +08:00
Ming Ming
50599f2ba5 Disallow updating album with a newer version 2021-11-25 21:02:41 +08:00
Ming Ming
3527e96f7a Bump album version 2021-11-25 21:02:41 +08:00
Ming Ming
b6a9ff2d1d Refactor: simplify constructing album upgrader 2021-11-25 21:02:41 +08:00
Ming Ming
0eef1a88cc Can only remove owned items from album 2021-11-25 21:02:41 +08:00
Ming Ming
31baba7a8a Clear selection immediately after pressing add 2021-11-25 21:02:41 +08:00
Ming Ming
2aaf6d0a88 Add selected items to album in album browser 2021-11-25 21:02:41 +08:00
Ming Ming
ab4969d69f Unify adding items to album from widgets 2021-11-25 21:02:41 +08:00
Ming Ming
9a111c1fb9 Fix new album item replacing existing ones during conflict 2021-11-25 21:02:41 +08:00
Ming Ming
be435f31f0 Refactor: extract class to override operator== 2021-11-25 21:02:41 +08:00
Ming Ming
4027058809 Scan share_folder even if it's not under account roots 2021-11-25 21:02:41 +08:00
Ming Ming
679aaf36dd Refactor: extract fn to unstrip file path 2021-11-25 21:02:41 +08:00
Ming Ming
87d2696a99 Refactor: extract fn to check if file under dir 2021-11-25 21:02:41 +08:00
Ming Ming
d72f64d4f4 Remove connectivity check on web
It doesn't work at all on web
2021-11-25 21:02:41 +08:00
Ming Ming
1460f12762 Format code 2021-11-25 21:02:41 +08:00
Ming Ming
224b9ad151 Case insensitive string for username 2021-11-25 21:02:41 +08:00
Ming Ming
d84ff1ed64 Improve how album is shown in fix shares widget 2021-11-25 21:02:41 +08:00
Ming Ming
cd3476f9e8 Refactor: relocate function 2021-11-25 21:02:41 +08:00
Ming Ming
92bfaaa639 Add test cases for shared album ops 2021-11-25 21:02:41 +08:00
Ming Ming
6e9a34342a Revamp how share is managed for album
Shares are now stored in the album json, such that users other than the album owner are aware of the shares
2021-11-25 21:02:41 +08:00
Ming Ming
b9655c66c2 Keep filename if it's null 2021-11-25 21:02:41 +08:00
Ming Ming
d1841556c2 Inject repo to LsDirBloc 2021-11-25 21:02:41 +08:00
Ming Ming
c05493ac5d Upgrade dev dependencies 2021-11-25 21:02:41 +08:00
Ming Ming
0e7d41a589 Inject repo to ListAlbumShareOutlierBloc 2021-11-25 21:02:41 +08:00
Ming Ming
e14faa83c1 Fix destination in move/copy not encoded correctly 2021-11-25 21:02:41 +08:00
Ming Ming
cef0f4dd88 Fix running android specific code on web 2021-11-25 21:02:41 +08:00
Ming Ming
51134f30bc Remove obsolete permission 2021-11-25 21:02:41 +08:00
Ming Ming
a63d3e43a1 Add OSM as alternative map provider 2021-11-25 21:02:41 +08:00
Ming Ming
d57be5e77a Rename map to reduce confusion 2021-11-25 21:02:41 +08:00
Ming Ming
fa98762d49 Update untranslated messages 2021-11-18 00:36:04 +08:00
nkming2
87260d838a Merge branch 'undefined' into 'master'
Update app_es.arb

See merge request nkming2/nc-photos!32
2021-11-17 16:13:36 +00:00
luckmax
adac533350 Update app_es.arb 2021-11-17 16:13:36 +00:00
Ming Ming
0e93bab326 Versioning: 33.0 2021-11-09 14:01:47 +08:00
Ming Ming
e0e8861770 Fix comment 2021-11-09 13:59:39 +08:00
Ming Ming
4d54b2099d Fix not cleaing latestItemTime after removing last item 2021-11-07 01:09:02 +08:00
Ming Ming
a964f0f14d Fix datetime in album item may not be UTC 2021-11-07 01:09:02 +08:00
Ming Ming
f997f0638d Fix cover not updating after removing manual cover 2021-11-07 01:09:02 +08:00
Ming Ming
8450f91afa Fix not unsetting cover after removing the last file 2021-11-07 01:08:57 +08:00
Ming Ming
ba0f441635 Refactor: decouple pref and storage to ease unit test 2021-11-04 03:23:35 +08:00