Commit graph

68 commits

Author SHA1 Message Date
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
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
f384c6483f Add tests 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
2355f8e8a8 Update test cases 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
adf1968a40 LsSingleFile now takes repo as with other use cases 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
e9f0f12f23 Refactor: relocate function 2021-11-25 21:02:42 +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
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
92bfaaa639 Add test cases for shared album ops 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
ff3739c04f Fix exception when upgrading remote v5 album 2021-10-31 22:20:26 +08:00
Ming Ming
2bcc47775b Remove obsolete tests 2021-10-28 05:22:12 +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
3bc22f285d Test case for CompatV32 2021-10-28 04:48:51 +08:00
Ming Ming
07e2aba673 Refactoring: extract fn 2021-10-09 16:46:18 +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
06023228b8 Conform to the new lint rules 2021-09-16 03:53:10 +08:00
Ming Ming
fe91c8fe8b More test cases 2021-08-17 21:40:41 +08:00
Ming Ming
788a47b1a4 Simplify mock code 2021-08-17 21:38:21 +08:00
Ming Ming
f430e8f3cd Test case for LsDirBloc 2021-08-17 13:08:31 +08:00
Ming Ming
832f866d00 Add trashbin properties to File 2021-08-02 14:47:18 +08:00
Ming Ming
df26b7a8c8 Migrate to null-safety 2021-07-25 00:23:08 +08:00
Ming Ming
444491114e Add text labels to albums 2021-07-11 13:32:35 +08:00
Ming Ming
4fb6c022d2 Abstract album sort behavior 2021-07-11 13:32:35 +08:00
Ming Ming
1f01c83f9a Extract album item class 2021-07-11 13:32:35 +08:00
Ming Ming
8e46c604a8 Abstract album cover provider 2021-06-29 18:11:59 +08:00
Ming Ming
0e7f2462b6 Abstract album content provider 2021-06-29 18:11:59 +08:00