Commit graph

127 commits

Author SHA1 Message Date
Ming Ming
430943e678 Rewrite how file data are stored in local DB 2022-01-06 18:55:46 +08:00
Ming Ming
62396a91a4 Use LsSingleFile to query single file 2022-01-06 18:55:46 +08:00
Ming Ming
b2684b507f Remove redundant functions 2022-01-06 18:55:46 +08:00
Ming Ming
57958fbf09 Fix stripped root path not unstripped correctly 2022-01-06 18:55:46 +08:00
Ming Ming
2bddfcbf8c copyWith should create new instances of collections 2022-01-06 18:55:46 +08:00
Ming Ming
a88c776d7c A more graphical album picker 2021-12-11 02:45:16 +08:00
Ming Ming
97799f5f1b Fix reshared file listed as missing share 2021-12-08 04:29:43 +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
7b7dc1be8a Fix share responsibilities among users in shared album 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
adf1968a40 LsSingleFile now takes repo as with other use cases 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
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
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
87d2696a99 Refactor: extract fn to check if file under dir 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
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
7583b09bb8 Inject AppDb 2021-11-04 03:23:30 +08:00
Ming Ming
ff3739c04f Fix exception when upgrading remote v5 album 2021-10-31 22:20:26 +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
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
d7a41161ed Better way to compare if 2 Files are the same file on server 2021-10-28 04:48:51 +08:00
Ming Ming
29d5c9a509 Remove obsolete import 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
afd859d414 List files shared with you in Sharing 2021-10-28 04:48:51 +08:00
Ming Ming
84cee42c8c Remove extra / from Share.path 2021-10-09 16:46:18 +08:00
Ming Ming
d53590522f Fix file conflict in copy api is not handled 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
3b6c679f04 Refactoring 2021-10-07 13:27:47 +08:00
Ming Ming
808c654e75 Convenient fn to extract filename from File 2021-10-02 17:35:46 +08:00
Ming Ming
20dfc2e00e Support share link when sharing a single file 2021-09-28 16:36:37 +08:00
Ming Ming
d5147fcf23 Refactoring: replace magic constants with enum 2021-09-28 16:36:12 +08:00
Ming Ming
ec4e05c5e0 Tweak logs 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
a15f7a0db6 Fix new provider being created instead of modified 2021-09-28 16:32:13 +08:00
Ming Ming
856828f329 Add qtff(.mov) to suppoed formats 2021-09-28 16:32:13 +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
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
7c2fed344c Handle erroneous datetimeoriginal tag 2021-09-05 02:15:53 +08:00