Commit graph

145 commits

Author SHA1 Message Date
Ming Ming
1cd87d7ebc Add tag collection 2022-02-08 19:36:52 +08:00
Ming Ming
693e7d6a58 Show file tags in detail pane 2022-02-08 19:36:38 +08:00
Ming Ming
64b1d92927 Unify import name used for path 2022-02-08 19:36:38 +08:00
Ming Ming
f4e3791f51 Sync favorites on start 2022-02-08 19:36:38 +08:00
Ming Ming
abe997f274 Set/unset favorite in viewer 2022-02-08 19:36:36 +08:00
Ming Ming
5dd1a83055 Browse favorites 2022-02-08 19:35:55 +08:00
Ming Ming
49f592a1c9 Remove no media marker handling in use cases 2022-02-08 19:34:33 +08:00
Ming Ming
8d7b508084 Remove files and dirs under no media dir 2022-02-08 19:34:33 +08:00
Ming Ming
08617e1351 Format code 2022-02-08 19:34:33 +08:00
Ming Ming
bfe6385534 Fix incorrect comment 2022-02-08 19:34:33 +08:00
Ming Ming
313d5f3dcb FindFile now work with list of IDs 2022-02-08 18:22:55 +08:00
Ming Ming
2dcfe4a261 Remove obsolete argument 2022-01-22 19:23:21 +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
494e4c4337 Fix incorrect comment 2022-01-06 18:55:46 +08:00
Ming Ming
7b95bc7fe7 Simplify code 2022-01-06 18:55:46 +08:00
Ming Ming
2fb0d6a155 Minimize transaction lifespan in ResyncAlbum 2022-01-06 18:55:46 +08:00
Ming Ming
9fe0ed3792 Minimize transaction lifespan in FindFile 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
c26fa28594 Remove options to include root in Ls 2022-01-06 18:55:46 +08:00
Ming Ming
b5685d1d65 Check supported files early
Technically this can save some memory footprint
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
97799f5f1b Fix reshared file listed as missing share 2021-12-08 04:29:43 +08:00
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