Commit graph

136 commits

Author SHA1 Message Date
Ming Ming
ec4e05c5e0 Tweak logs 2021-09-28 16:36:12 +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
a15f7a0db6 Fix new provider being created instead of modified 2021-09-28 16:32:13 +08:00
Ming Ming
856828f329 Add qtff(.mov) to suppoed formats 2021-09-28 16:32:13 +08:00
Ming Ming
06023228b8 Conform to the new lint rules 2021-09-16 03:53:10 +08:00
Ming Ming
a0b62cac35 Migrate to new person API 2021-09-11 16:03:58 +08:00
Ming Ming
33887402ec Preliminary face recognition app support 2021-09-09 02:07:52 +08:00
Ming Ming
6fd9ad7bc4 Fix username in NC is case-insensitive 2021-09-05 19:54:10 +08:00
Ming Ming
7c2fed344c Handle erroneous datetimeoriginal tag 2021-09-05 02:15:53 +08:00
Ming Ming
f430e8f3cd Test case for LsDirBloc 2021-08-17 13:08:31 +08:00
Ming Ming
f7d8a2533a Set album cover manually 2021-08-16 03:46:01 +08:00
Ming Ming
b9bf48c6ed List shares for a dir 2021-08-16 03:46:01 +08:00
Ming Ming
ac4a2aca15 Share album file with other users 2021-08-09 04:42:25 +08:00
Ming Ming
02e8bf0c76 New naming scheme for album files 2021-08-08 15:13:27 +08:00
Ming Ming
a4122854b4 Simplify code with typedef 2021-08-08 15:13:27 +08:00
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
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