Commit graph

88 commits

Author SHA1 Message Date
Ming Ming
4c88070a7e Refactor: make webdav parser more generic 2022-02-08 18:22:55 +08:00
Ming Ming
313d5f3dcb FindFile now work with list of IDs 2022-02-08 18:22:55 +08:00
Ming Ming
19b89cb4e7 Update tests 2022-01-17 16:50:56 +08:00
Ming Ming
c8ad689a52 Support home dir named not as the username 2022-01-17 16:50:56 +08:00
Ming Ming
541b1d61fe Shorten memory album time range 2022-01-17 16:50:56 +08:00
Ming Ming
781d846806 Drop db if failed migrating 2022-01-16 04:41:34 +08:00
Ming Ming
042a927a2f Add memory album 2022-01-16 04:37:02 +08:00
Ming Ming
a1182bfbae Fix tests broken after downgrading flutter 2022-01-07 11:21:18 +08:00
Ming Ming
877d50d2a2 Update tests 2022-01-06 18:55:46 +08:00
Ming Ming
430943e678 Rewrite how file data are stored in local DB 2022-01-06 18:55:46 +08:00
Ming Ming
deb3014f54 Update tests 2022-01-06 18:55:46 +08:00
Ming Ming
98b540ea48 Slice lists 2022-01-06 18:55:46 +08:00
Ming Ming
c26fa28594 Remove options to include root in Ls 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
67c35bcd00 Doc and tests for ObjectExtension 2022-01-06 18:55:46 +08:00
Ming Ming
2d8738146e Overhaul how dependencies are injected to clients 2021-12-08 04:29:43 +08:00
Ming Ming
9cf061ad8e Update tests 2021-12-08 04:29:43 +08:00
Ming Ming
97799f5f1b Fix reshared file listed as missing share 2021-12-08 04:29:43 +08:00
Ming Ming
fc779ee2e2 Update tests 2021-12-08 04:29:43 +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
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