Commit graph

97 commits

Author SHA1 Message Date
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
Ming Ming
87dfe7ef5c Store oc:fileid in file 2021-05-24 15:33:08 +08:00
Ming Ming
3c12ac9262 Handle webdav href that starts with server path
This happens when nextcloud is hosted in a subdir
2021-05-07 16:01:06 +08:00
Ming Ming
5ad3254634 Fix exception when loadind metadata for png/webp 2021-05-07 16:01:06 +08:00
Ming Ming
5ca19c6c4f MP4 video support 2021-05-07 16:01:05 +08:00
Ming Ming
391226f56b Only scan metadata for images 2021-05-06 14:42:01 +08:00
Ming Ming
45e3140ea9 Tweak how to clear metadata 2021-04-29 03:31:54 +08:00
Ming Ming
63772e6e17 Clean up logs 2021-04-28 13:58:41 +08:00
Ming Ming
4a1326a96b Split large albums in DB 2021-04-27 19:06:34 +08:00
Ming Ming
926ac57980 Split large dirs in DB
To workaround 1MB cursor size limit on Android
2021-04-27 19:06:33 +08:00
Ming Ming
687aa0bf24 Fix always querying root dir from remote 2021-04-24 23:13:00 +08:00
Ming Ming
bb71dcc22b Remove MakerNote from Exif
It's too large for nothing
2021-04-24 00:46:32 +08:00
Ming Ming
17964ed695 Remove unused code 2021-04-23 19:01:31 +08:00
Ming Ming
6bc0e8d0d3 Fix a photo could be added to an album twice 2021-04-18 19:35:41 +08:00
Ming Ming
77bd2a9770 Add some unittest 2021-04-16 02:47:48 +08:00
Ming Ming
b3f410d8b8 Make some entities equatable 2021-04-16 02:47:48 +08:00
Ming Ming
c4da1429af Fix resolution not rotated for EXIF-rotated JPEG 2021-04-15 07:09:16 +08:00
Ming Ming
12421aa1d8 Fix EXIF error when converting from JSON 2021-04-15 07:09:16 +08:00
Ming Ming
400abd33e4 HEIC support 2021-04-15 06:57:56 +08:00
Ming Ming
d7269a1cba Show MapView if GPS data exists in exif 2021-04-10 23:25:04 +08:00
Ming Ming
4a8784f508 Fix rational list not converted from/to json correctly 2021-04-10 23:25:04 +08:00
Ming Ming
ab573ad273 Initial commit 2021-04-10 12:28:12 +08:00