Commit graph

797 commits

Author SHA1 Message Date
Ming Ming
59ddc48499 Slice strings 2021-12-02 19:57:05 +08:00
Ming Ming
e784cf29fd Add tests 2021-12-02 19:57:05 +08:00
Ming Ming
c5c6bc1ea7 Add tests for FindFile 2021-12-02 19:57:05 +08:00
Ming Ming
d937e33685 Simplify tests 2021-12-02 19:57:05 +08:00
Ming Ming
004c4fe39f Fix tests 2021-12-02 19:57:05 +08:00
Ming Ming
bf09cc2462 Remove obsolete param 2021-12-02 19:57:05 +08:00
Ming Ming
d3c67782b2 Tweak log 2021-12-02 19:57:05 +08:00
Ming Ming
0cd9dd5884 Fix identical file added to album 2021-12-02 19:57:05 +08:00
Ming Ming
3ad3fe5564 Should not update a shared album after resyncing 2021-12-02 19:57:05 +08:00
Ming Ming
f4041f2d33 Refactor: remove useless copy 2021-12-02 19:57:05 +08:00
Ming Ming
eb46c8f3ea Refactor: format code 2021-12-02 19:57:05 +08:00
Ming Ming
667d0395ec Remove shared album from collection when deleting 2021-12-02 19:57:05 +08:00
Ming Ming
ba7e621588 Reorder logic 2021-12-02 19:57:05 +08:00
Ming Ming
8d017f6042 Fix unnecessarily updating album with same cover for diff user 2021-12-02 19:57:05 +08:00
Ming Ming
e58d28ee57 Fix more files are processed than necessary 2021-11-27 23:56:47 +08:00
Ming Ming
35e49c2bfd Act according to album content instead of the pref flag 2021-11-27 23:56:47 +08:00
Ming Ming
f384c6483f Add tests 2021-11-27 23:56:47 +08:00
Ming Ming
b23c1286c1 Fix not removing shares correctly in RemoveAlbum 2021-11-27 23:56:47 +08:00
Ming Ming
7c0c4db045 Fix files also shared in other albums being unshared 2021-11-27 23:56:47 +08:00
Ming Ming
1586193c83 Update tests 2021-11-27 23:56:47 +08:00
Ming Ming
852f166dfc Fix album filename in tests 2021-11-27 23:56:47 +08:00
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
2355f8e8a8 Update test cases 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
f1ecbc82fc Simplify test cases 2021-11-25 21:02:42 +08:00
Ming Ming
179ad24419 Update test cases 2021-11-25 21:02:42 +08:00
Ming Ming
ef704c64c2 Add more test cases 2021-11-25 21:02:42 +08:00
Ming Ming
ea32fd51dd Tweak comments 2021-11-25 21:02:42 +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