Commit graph

99 commits

Author SHA1 Message Date
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
Ming Ming
5b1dcfb515 (Un)Share associated files when (un)sharing an album 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
da1093a606 Share multiple files as link 2021-10-09 16:46:18 +08:00
Ming Ming
07e2aba673 Refactoring: extract fn 2021-10-09 16:46:18 +08:00
Ming Ming
85daba9786 Manage shares 2021-10-07 18:04:49 +08:00
Ming Ming
60a0a387b2 (Android) Show our own download notifs 2021-10-02 17:36:11 +08:00
Ming Ming
808c654e75 Convenient fn to extract filename from File 2021-10-02 17:35:46 +08:00
Ming Ming
7bb41887b3 Refactoring: hide resync and populate 2021-09-29 22:56:54 +08:00
Ming Ming
4c222a239a Download album 2021-09-29 22:56:54 +08:00
Ming Ming
f7ed6d1a01 Refactoring: replace tuple with actual class 2021-09-29 04:57:38 +08:00
Ming Ming
19367e2a0d Refactoring: extract create share fn 2021-09-28 16:36:41 +08:00
Ming Ming
20dfc2e00e Support share link when sharing a single file 2021-09-28 16:36:37 +08:00
Ming Ming
3d2003de26 Fix exception resyncing file w/o id and not in DB 2021-09-28 16:36:12 +08:00
Ming Ming
f01c64a155 Remove metadata from album files
This help reduce the file size
2021-09-28 16:36:08 +08:00
Ming Ming
3d5de229cb Refactoring: extract remove item from album 2021-09-28 16:33:40 +08:00
Ming Ming
a15f7a0db6 Fix new provider being created instead of modified 2021-09-28 16:32:13 +08:00
Ming Ming
734807733c Migrate to DownloadManage on Android
Fix OOME when downloading large files
2021-09-20 01:37:54 +08:00
Ming Ming
c16c97ec9f Delete obsolete old cache 2021-09-16 18:30:09 +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
858455206c Minimize platform code 2021-09-11 16:03:15 +08:00