Commit graph

120 commits

Author SHA1 Message Date
Ming Ming
f6318988b3 Fix shared files in share folder not scanned for metadata 2021-12-08 04:29:42 +08:00
Ming Ming
dbd9679cba Move account settings out of pref 2021-12-08 04:29:42 +08:00
Ming Ming
224ab16bf0 Fix listing shares for file with path belonging to others 2021-12-08 04:29:41 +08:00
Ming Ming
e98f4611da Overhaul how dependencies are injected to clients 2021-12-08 04:29:41 +08:00
Ming Ming
962e7d1e17 Overhaul Remove to handle shared album properly 2021-12-02 19:58:37 +08:00
Ming Ming
807b009dd7 Improve how filenames are logged 2021-12-02 19:58:36 +08:00
Ming Ming
bf09cc2462 Remove obsolete param 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
667d0395ec Remove shared album from collection when deleting 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
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
3d523920f3 Fix overwriting album file when (un)sharing to multiple people 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
598f583686 Open the new album after added to collection 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
5d63a5bcb3 Fix sharing files to the file owner 2021-11-25 21:02:42 +08:00
Ming Ming
50599f2ba5 Disallow updating album with a newer version 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
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
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
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
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
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
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
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
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
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
2aa792370b Support modified share_folder parameter 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
5fe70c3964 Support account specific settings 2021-10-28 04:48:51 +08:00
Ming Ming
8931a191f5 Tweak logs 2021-10-28 04:48:51 +08:00