Commit graph

71 commits

Author SHA1 Message Date
Ming Ming
b106ec0458 Video support on web 2021-08-08 12:40:04 +08:00
Ming Ming
2812e1336e Handle files in trash bin 2021-08-02 19:22:28 +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
1a4779f465 Fix album dir hardcoded in low level logic 2021-07-24 04:09:01 +08:00
Ming Ming
dc5d6a4a8d Convenient fn to check file owner 2021-07-24 04:09:01 +08:00
Ming Ming
002ede3392 Fix album time not preserved on load 2021-07-24 04:09:01 +08:00
Ming Ming
aada2e12e2 Format code 2021-07-22 16:44:49 +08:00
Ming Ming
c29b1106b5 Refactoring 2021-07-22 16:44:49 +08:00
Ming Ming
3054bfaf9c Fix exception when lastModified = null 2021-07-16 17:37:28 +08:00
Ming Ming
368a6a6755 Filter out invalid files 2021-07-16 17:37:28 +08:00
Ming Ming
444491114e Add text labels to albums 2021-07-11 13:32:35 +08:00
Ming Ming
a07fb0d9a4 Improve sorting non-file items 2021-07-11 13:32:35 +08:00
Ming Ming
1a5fc2bbe2 Use stable sort for album 2021-07-11 13:32:35 +08:00
Ming Ming
2b555598db Improve code 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
4708f2b23a Enable webm support on Android 2021-07-11 13:32:35 +08:00
Ming Ming
743dd7c081 Format code 2021-07-03 17:11:30 +08:00
Ming Ming
decf78f9b7 Refractor code 2021-07-03 17:11:30 +08:00
Ming Ming
eb4bdf47d2 Sort dynamic albums correctly by time 2021-06-29 21:41:06 +08:00
Ming Ming
8891e8165e Make sure all dates are UTC internally 2021-06-29 21:41:06 +08:00
Ming Ming
b53c48808f Dynamic album that reflects dir contents 2021-06-29 21:41:06 +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
Ming Ming
d4785b1f74 Improve album compatibility handling 2021-06-29 18:11:59 +08:00
Ming Ming
e1a5dbb843 Support gif 2021-06-23 02:30:07 +08:00
Ming Ming
20a69b5620 Fix empty albums are not cached 2021-06-23 01:05:02 +08:00
Ming Ming
b47cb5c63c Customize date/time of a file 2021-06-23 01:05:02 +08:00
Ming Ming
deacacdd96 Handle time only in UTC internally 2021-06-23 01:05:01 +08:00
Ming Ming
9c08e5a635 Simplify File datetime access 2021-06-23 01:05:01 +08:00
Ming Ming
f4faa1ed1f Resync items with db when opening album 2021-06-15 03:30:46 +08:00
Ming Ming
c03dad7e03 Store each files in db 2021-06-15 03:30:46 +08:00
Ming Ming
ff091d495d Store owner id in File 2021-06-14 21:53:30 +08:00
Ming Ming
51936926cc Tweak File.toString 2021-06-14 21:52:45 +08:00
Ming Ming
4926228164 Simplify Album.toString 2021-06-14 21:52:45 +08:00
Ming Ming
954d8a869d New archive property for file 2021-06-06 03:39:58 +08:00
Ming Ming
a846a51332 Treat metadata as property 2021-06-06 03:39:58 +08:00
Ming Ming
a429fbe006 Ensure File path not starting with / 2021-05-26 04:10:43 +08:00
Ming Ming
72e6e7a9ec Fix root dir path is not stripped correctly 2021-05-25 22:01:41 +08:00
Ming Ming
3c70d6f5e2 Remove useless imports 2021-05-24 18:28:05 +08:00
Ming Ming
f7d0a41540 Group data srcs in new file 2021-05-24 18:28:05 +08:00
Ming Ming
5c3655d881 Add touch token to sync remote/local properties 2021-05-24 18:28:05 +08:00
Ming Ming
bea76298dd PutFileBinary creates parent dirs automatically 2021-05-24 18:28:05 +08:00
Ming Ming
15e1591622 Put server-side storage path together 2021-05-24 18:28:05 +08:00
Ming Ming
88491f13cb Move remote album files to a subdir 2021-05-24 18:28:05 +08:00
Ming Ming
e5434a64e4 Add use case to create dirs 2021-05-24 18:28:02 +08:00
Ming Ming
9c37b1f0d8 Support creating remote dir 2021-05-24 15:33:20 +08:00
Ming Ming
6e2018a711 Support moving remote file 2021-05-24 15:33:20 +08:00
Ming Ming
e300f043bb Support copying remote file 2021-05-24 15:33:20 +08:00