Commit graph

775 commits

Author SHA1 Message Date
Ming Ming
965e0125a3 Direct user to wiki when opening shared album the 1st time 2021-11-27 01:14:58 +08:00
Ming Ming
16553db19d Improve log 2021-11-26 18:10:53 +08:00
Ming Ming
b92147215d Can now zoom more 2021-11-26 18:10:53 +08:00
Ming Ming
42d6851bf5 Swipe up to open detail pane in viewer 2021-11-26 18:10:53 +08:00
Ming Ming
e322197117 Fix incorrect asset path 2021-11-26 18:10:53 +08:00
Ming Ming
ba009ce132 Make hardcoded string translatable 2021-11-25 22:59:25 +08:00
Ming Ming
3d523920f3 Fix overwriting album file when (un)sharing to multiple people 2021-11-25 22:59:25 +08:00
Ming Ming
1c63346b0c Fix sharing browser not updated after unsharing album 2021-11-25 22:59:25 +08:00
Ming Ming
7b7dc1be8a Fix share responsibilities among users in shared album 2021-11-25 22:59:25 +08:00
Ming Ming
b709dd1ed2 Fix wrong shared indicator in collections tab 2021-11-25 22:59:25 +08:00
Ming Ming
1595d741c3 Fix outdated item in sharing browser after added to collection 2021-11-25 21:02:42 +08:00
Ming Ming
4ef2431c83 Only reacts to events of the same account 2021-11-25 21:02:42 +08:00
Ming Ming
f9ae813613 Optimize unnecessary copy 2021-11-25 21:02:42 +08:00
Ming Ming
0de7e5ed87 Add missing close() 2021-11-25 21:02:42 +08:00
Ming Ming
598f583686 Open the new album after added to collection 2021-11-25 21:02:42 +08:00
Ming Ming
5e8c8a1fde Only reacts to events of the same account 2021-11-25 21:02:42 +08:00
Ming Ming
c63b473034 Refactor rename fn 2021-11-25 21:02:42 +08:00
Ming Ming
adf1968a40 LsSingleFile now takes repo as with other use cases 2021-11-25 21:02:42 +08:00
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
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
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
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
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
Ming Ming
456975360a Inject Pref to use cases 2021-11-04 03:23:34 +08:00
Ming Ming
7583b09bb8 Inject AppDb 2021-11-04 03:23:30 +08:00
Ming Ming
aab38b752d Tap 2FA hint to open the help page 2021-11-04 01:03:13 +08:00
Ming Ming
4d1755db3a Upgrade dependencies 2021-11-04 01:03:13 +08:00
Ming Ming
50a80fe2a3 Handle download in dart to support customized request 2021-11-03 21:41:06 +08:00
Ming Ming
0cf981446d Versioning: 32.1 2021-10-31 22:21:18 +08:00
Ming Ming
e090cab528 Improve messaging 2021-10-31 22:20:26 +08:00
Ming Ming
ff3739c04f Fix exception when upgrading remote v5 album 2021-10-31 22:20:26 +08:00
Ming Ming
d45a0c1d64 Versioning: 32.0 2021-10-30 03:03:52 +08:00
Ming Ming
a0287a551a Selectively enable experiments 2021-10-30 01:45:06 +08:00
Ming Ming
36dee1a7f1 Guard shared album logic with pref flag 2021-10-30 01:42:44 +08:00
Ming Ming
2ad844292a Compare username ignoring case 2021-10-30 01:42:44 +08:00
nkming2
13e34317ff Update README.md 2021-10-28 20:54:00 +00:00
Ming Ming
9ca333403f Simplify Pref access 2021-10-28 05:22:12 +08:00
Ming Ming
be220071cd Fix incorrect pending metadata count 2021-10-28 04:48:52 +08:00
Ming Ming
9010756a08 Drop UserComment from both server and local 2021-10-28 04:48:52 +08:00
Ming Ming
83af36f2e7 Format code 2021-10-28 04:48:52 +08:00
Ming Ming
c127869e60 Tweak log 2021-10-28 04:48:52 +08:00
Ming Ming
ded9af9d18 Migrate to ExceptionEvent 2021-10-28 04:48:52 +08:00
Ming Ming
1fdf438956 Fix back button bypassing Done listener in account settings 2021-10-28 04:48:51 +08:00
Ming Ming
6052d82047 Lab settings are now more accessible 2021-10-28 04:48:51 +08:00
Ming Ming
36611c7f35 REmove file shares when removing album 2021-10-28 04:48:51 +08:00
Ming Ming
a25d5f4632 Tweak logs 2021-10-28 04:48:51 +08:00
Ming Ming
6dade916b5 Handle share removed event in batch 2021-10-28 04:48:51 +08:00
Ming Ming
3fcb4e2090 Fix calling setState after widget dismissed 2021-10-28 04:48:51 +08:00
Ming Ming
9b9e737a95 Ignore UserComment in EXIF 2021-10-28 04:48:51 +08:00
Ming Ming
4ac8cac73d Store user and time when an item is added to album 2021-10-28 04:48:51 +08:00
Ming Ming
b2016e6f9b Unshare when removing files from album 2021-10-28 04:48:51 +08:00
Ming Ming
cf359670cd Fix files shared in other albums not unshared correctly 2021-10-28 04:48:51 +08:00
Ming Ming
cf966a13e2 Refactoring: extract list dir share class 2021-10-28 04:48:51 +08:00
Ming Ming
f1cffb0571 Share files added to a shared album 2021-10-28 04:48:51 +08:00
Ming Ming
d7a41161ed Better way to compare if 2 Files are the same file on server 2021-10-28 04:48:51 +08:00
Ming Ming
743f9b79e1 Improve logs 2021-10-28 04:48:51 +08:00
Ming Ming
6848f86f38 Tweak log 2021-10-28 04:48:51 +08:00
Ming Ming
2aa792370b Support modified share_folder parameter 2021-10-28 04:48:51 +08:00
Ming Ming
25acd91c44 Support single selection in DirPicker 2021-10-28 04:48:51 +08:00
Ming Ming
aadde09440 Tweak text 2021-10-28 04:48:51 +08:00
Ming Ming
e5479b7761 Refactoring: convert dir picker to widget 2021-10-28 04:48:51 +08:00
Ming Ming
52e26057d3 Tweak settings item style 2021-10-28 04:48:51 +08:00
Ming Ming
bf5845f832 Settings to disable face recognition support 2021-10-28 04:48:51 +08:00
Ming Ming
75262a2a9b Tweak icon style 2021-10-28 04:48:51 +08:00
Ming Ming
b2f6e1a73a Move account settings to Settings 2021-10-28 04:48:51 +08:00
Ming Ming
5fe70c3964 Support account specific settings 2021-10-28 04:48:51 +08:00
Ming Ming
001ed6b514 Tweak logs 2021-10-28 04:48:51 +08:00
Ming Ming
1106dfc72f List albums shared by me 2021-10-28 04:48:51 +08:00
Ming Ming
0478fe3840 List sharing fill albumFile properly
Not filling it prevent album cache to be used, which end up with more requests
2021-10-28 04:48:51 +08:00
Ming Ming
c2c3508414 No longer list non-link shares by me 2021-10-28 04:48:51 +08:00
Ming Ming
bda5a9826c No longer list files shared with me 2021-10-28 04:48:51 +08:00
Ming Ming
8931a191f5 Tweak logs 2021-10-28 04:48:51 +08:00
Ming Ming
0a04d2da7d Improve comments 2021-10-28 04:48:51 +08:00
Ming Ming
afa40e02f8 Fix touch response in share album dialog 2021-10-28 04:48:51 +08:00
Ming Ming
fb3b035214 Make hardcoded string translatable 2021-10-28 04:48:51 +08:00
Ming Ming
164237a858 Tweak style 2021-10-28 04:48:51 +08:00
Ming Ming
f7bbf35cd9 Darken checkbox color in dark theme 2021-10-28 04:48:51 +08:00
Ming Ming
5b1dcfb515 (Un)Share associated files when (un)sharing an album 2021-10-28 04:48:51 +08:00
Ming Ming
b533c9caf7 Share only supported in static albums 2021-10-28 04:48:51 +08:00
Ming Ming
bcf71f2eb3 Sync shares between album and its files 2021-10-28 04:48:51 +08:00
Ming Ming
39eae6dd1f Refactoring: extract generic widget class 2021-10-28 04:48:51 +08:00
Ming Ming
6a394cc93a Fix confusing text for albums shared by you 2021-10-28 04:48:51 +08:00
Ming Ming
dd93a9eb2a Show placeholder when image failed to load 2021-10-28 04:48:51 +08:00
Ming Ming
2502c85ff1 Tweak error message 2021-10-28 04:48:51 +08:00
Ming Ming
8652c63091 Tweak icon style 2021-10-28 04:48:51 +08:00
Ming Ming
4f795a5b8e Make hardcoded string translatable 2021-10-28 04:48:51 +08:00
Ming Ming
c824543656 Refactoring 2021-10-28 04:48:51 +08:00
Ming Ming
c7b1b906c6 Fix snackbar not always closed in notified action 2021-10-28 04:48:51 +08:00
Ming Ming
c2eade1a50 Remove redundant code 2021-10-28 04:48:51 +08:00
Ming Ming
3bc59bdeaa Tweak comments 2021-10-28 04:48:51 +08:00
Ming Ming
6f255a9386 Fix list album not handling new/removed share 2021-10-28 04:48:51 +08:00
Ming Ming
be2867ae41 Import potential shared albums in sharing browser 2021-10-28 04:48:51 +08:00
Ming Ming
eec1c99a8e Show indicator when new albums are shared with you 2021-10-28 04:48:51 +08:00
Ming Ming
7167587554 Remove obsolete code 2021-10-28 04:48:51 +08:00
Ming Ming
29d5c9a509 Remove obsolete import 2021-10-28 04:48:51 +08:00
Ming Ming
fee6d092e9 Remove old sharing widget 2021-10-28 04:48:51 +08:00
Ming Ming
1c29044540 Show albums shared with you in Sharing 2021-10-28 04:48:51 +08:00
Ming Ming
31fd2ab5fa Fix wrong log tag 2021-10-28 04:48:51 +08:00
Ming Ming
f0aa5eb23c Tweak style 2021-10-28 04:48:51 +08:00
Ming Ming
23017c74f8 Improve arb comments 2021-10-28 04:48:51 +08:00
Ming Ming
481387e8fb Refactoring: extract widget class 2021-10-28 04:48:51 +08:00
Ming Ming
afd859d414 List files shared with you in Sharing 2021-10-28 04:48:51 +08:00
Ming Ming
50ba293345 Show progress bar in sharing browser 2021-10-28 04:48:51 +08:00
Ming Ming
5cc998ef21 Versioning: 31.0 2021-10-09 17:52:24 +08:00
Ming Ming
16285bf0f6 Fix dirs deeper than 2 lvs are optimized out 2021-10-09 17:10:23 +08:00
Ming Ming
a37697f7be (Web) Allow sharing as links 2021-10-09 16:46:18 +08:00
Ming Ming
5e100d1586 Ask to delete link share dir after unsharing 2021-10-09 16:46:18 +08:00
Ming Ming
210e4f845f Support link share dirs in Sharing 2021-10-09 16:46:18 +08:00
Ming Ming
da1093a606 Share multiple files as link 2021-10-09 16:46:18 +08:00