Commit graph

83 commits

Author SHA1 Message Date
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
5e8c8a1fde Only reacts to events of the same account 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
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
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
224b9ad151 Case insensitive string for username 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
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
7583b09bb8 Inject AppDb 2021-11-04 03:23:30 +08:00
Ming Ming
ded9af9d18 Migrate to ExceptionEvent 2021-10-28 04:48:52 +08:00
Ming Ming
6dade916b5 Handle share removed event in batch 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
bcf71f2eb3 Sync shares between album and its files 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
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
afd859d414 List files shared with you in Sharing 2021-10-28 04:48:51 +08:00
Ming Ming
210e4f845f Support link share dirs in Sharing 2021-10-09 16:46:18 +08:00
Ming Ming
129f72e7fe Retain list person bloc state 2021-10-07 18:04:49 +08:00
Ming Ming
85daba9786 Manage shares 2021-10-07 18:04:49 +08:00
Ming Ming
4efad2c0f7 Remove unused imports 2021-10-02 17:48:28 +08:00
Ming Ming
f7ed6d1a01 Refactoring: replace tuple with actual class 2021-09-29 04:57:38 +08:00
Ming Ming
06023228b8 Conform to the new lint rules 2021-09-16 03:53:10 +08:00
Ming Ming
a0b62cac35 Migrate to new person API 2021-09-11 16:03:58 +08:00
Ming Ming
620c840ccc Capture logs from settings for bug report 2021-09-11 16:03:57 +08:00
Ming Ming
6545e78bb6 Fix cached album not shown when offline 2021-09-09 02:09:07 +08:00
Ming Ming
33887402ec Preliminary face recognition app support 2021-09-09 02:07:52 +08:00
Ming Ming
6fd9ad7bc4 Fix username in NC is case-insensitive 2021-09-05 19:54:10 +08:00
Ming Ming
1102ffd67c Fix ListAlbum exception if dir does not exist 2021-09-05 19:54:10 +08:00
Ming Ming
942c16b850 Format code 2021-09-05 02:15:53 +08:00
Ming Ming
0c08fc8122 New flag to control logging file name 2021-09-05 02:15:53 +08:00
Ming Ming
55065d5122 Refresh when a supported file is moved 2021-08-28 04:41:03 +08:00
Ming Ming
e4f75b585a Tweak logs 2021-08-23 05:03:26 +08:00
Ming Ming
4a32f49a11 Add pending shared albums to collection 2021-08-23 05:03:26 +08:00
Ming Ming
c0f65745f7 List pending shard albums 2021-08-23 05:03:26 +08:00
Ming Ming
f430e8f3cd Test case for LsDirBloc 2021-08-17 13:08:31 +08:00
Ming Ming
64d7cc66b9 Indicate shared album 2021-08-16 03:46:01 +08:00