Commit graph

172 commits

Author SHA1 Message Date
Ming Ming
cadf9c7410 Support system theme color (aka Material You) 2023-07-24 21:48:45 +08:00
Ming Ming
b017461887 Fix new db tables not truncated 2023-07-23 03:08:00 +08:00
Ming Ming
4e03c76d0d Select between Face Recognition and Recognize 2023-07-22 22:27:54 +08:00
Ming Ming
d5172bdd4f Fix cover picked for Recognize person 2023-07-22 22:27:54 +08:00
Ming Ming
738883387a Support face provided by Recognize app 2023-07-22 22:27:54 +08:00
Ming Ming
c920a6bc36 Rename FaceRecognition table 2023-07-22 22:27:54 +08:00
Ming Ming
383e38a579 Rewrite face support 2023-07-22 22:27:54 +08:00
Ming Ming
484da170d4 Refactor account pref 2023-07-18 00:44:30 +08:00
Ming Ming
0725e8ebce Refactor pref 2023-07-18 00:44:30 +08:00
Ming Ming
4bfe37b94c Fix sql query for face recognition persons 2023-07-17 01:09:42 +08:00
Ming Ming
18f5a49db0 Upgrade drift 2023-07-12 00:52:50 +08:00
Ming Ming
7417dd9533 Fix stripped path of nc album and item 2023-07-12 00:52:50 +08:00
Ming Ming
b4e8e609db Add toString to fd 2023-05-21 21:55:13 +08:00
Ming Ming
929f282098 Fix moving files back and forth causing cache out sync 2023-05-21 21:55:13 +08:00
Ming Ming
fb02f3c9b0 Regression: import album shared with you 2023-05-21 21:55:13 +08:00
Ming Ming
f20900f2a9 Fix shared album removed instead of unimporting it 2023-05-21 21:55:13 +08:00
Ming Ming
6b9175de18 Regression: only open dynamic collections after creating a new one 2023-05-21 21:55:13 +08:00
Ming Ming
cc3780587b Fix typo 2023-05-21 21:55:13 +08:00
Ming Ming
155990e7bd Remove obsolete code 2023-05-21 21:55:13 +08:00
Ming Ming
2b177d7679 Don't try to query ncalbum when Nextcloud <25 2023-05-21 21:54:24 +08:00
Ming Ming
6b3600625b Fix cover not displaying for NcAlbum if the file is shared 2023-05-21 21:54:24 +08:00
Ming Ming
067b6a1a60 Fix shared image in collaborative album not showing in viewer 2023-05-21 21:54:24 +08:00
Ming Ming
4d9644ac18 Correctly show shared items in a collaborative nc album 2023-05-21 21:54:24 +08:00
Ming Ming
d2886e55c1 Regression: share and unshare album 2023-05-21 21:54:24 +08:00
Ming Ming
aa49624517 Fix compatibility with very old album 2023-05-21 21:51:20 +08:00
Ming Ming
9fb8ff6cfc Filter dynamic collections from the picker 2023-05-21 21:51:20 +08:00
Ming Ming
815c023ace Fix compatibility with very old album 2023-05-21 21:51:20 +08:00
Ming Ming
c4887faf33 Ignore files w/o fileId when working out album cover 2023-05-21 21:51:20 +08:00
Ming Ming
53b51b77b1 Migrate Memory to use collection browser 2023-05-21 21:51:20 +08:00
Ming Ming
3f38efccf3 Export collection with different provider 2023-05-21 21:51:20 +08:00
Ming Ming
e7212e0643 Remove obsolete code 2023-05-21 21:51:20 +08:00
Ming Ming
2291e3b158 Fix outdated albums not getting updated to cache correctly 2023-05-21 21:51:20 +08:00
Ming Ming
c62af9941b Regression: album cover is gone after unsetting one for a dynamic album 2023-05-21 21:51:20 +08:00
Ming Ming
02107c7150 Fix album upgrader assuming wrong data type 2023-05-21 21:51:20 +08:00
Ming Ming
203eaf290a Regression: dynamic album cover not shown even after opening it 2023-05-21 21:51:20 +08:00
Ming Ming
0eb13273a1 Add Album upgrader when reading from DB 2023-05-21 21:51:20 +08:00
Ming Ming
31de51f755 Make FileDescriptor's json serialization method more explicit 2023-05-21 21:51:20 +08:00
Ming Ming
7bd33c8444 Migrate AlbumAutoCoverProvider to use FileDescriptor 2023-05-21 21:51:20 +08:00
Ming Ming
72bd5fa38e Fix DateTime incorrectly serialized in FileDescriptor 2023-05-21 21:51:20 +08:00
Ming Ming
3ccf302553 Regression: set/unset album cover 2023-05-21 21:51:20 +08:00
Ming Ming
004a93a24f Fix edit menu not shown in dynamic album 2023-05-21 21:51:20 +08:00
Ming Ming
f3901b5ff0 Rewrite collection support and add NC25 album support 2023-05-21 21:51:20 +08:00
Ming Ming
edebc64824 Ignore missing rows when removing files from cache db 2023-03-27 00:22:34 +08:00
Ming Ming
a2baad029a Use clock lib to get current time 2023-03-13 19:55:39 +08:00
Ming Ming
7a17f2b274 Refactor: move nextcloud api to dedicated pacakge 2023-02-26 01:29:14 +08:00
Ming Ming
1d2b770d1a Tidy up source files 2023-02-20 22:24:28 +08:00
Ming Ming
c68761b8c5 Improve usability of diff functions 2023-02-18 01:59:56 +08:00
Ming Ming
6905e503fe Tweak generated logger code 2022-12-21 00:49:14 +08:00
Ming Ming
a2fc045834 Generate correct tags for logger 2022-12-16 23:01:04 +08:00
Ming Ming
5e06136b8a Fix moved files are removed from DB in some case 2022-12-14 00:46:19 +08:00
Ming Ming
a3d3c6c375 Only cache a dir after its children are synced and cached 2022-12-09 00:03:28 +08:00
Ming Ming
d5d69144de Remove unused code 2022-12-09 00:03:28 +08:00
Ming Ming
28efab5e52 Fix v3 index not created for new db 2022-12-09 00:03:28 +08:00
Ming Ming
5570fcf156 Use generator for toString 2022-12-09 00:03:28 +08:00
Ming Ming
82cdd8b6a1 Fix exception when counting with empty file list 2022-12-04 12:06:40 +08:00
Ming Ming
c19003e5b9 Remove erratic metadata from heic files w/o exif 2022-11-20 09:53:40 +08:00
Ming Ming
576d8dafc8 Fix cached datetime not updated in DB 2022-11-20 09:53:39 +08:00
Ming Ming
9759f172db Fix SyncDir always consider root dirs as changed 2022-10-30 12:07:38 +08:00
Ming Ming
037fbd845d Fix not updating bestDateTime when updating file property 2022-10-29 19:07:05 +08:00
Ming Ming
afa32c4299 Fix db sub tables not dropped when data removed from entity 2022-10-29 15:42:54 +08:00
Ming Ming
497b75ce53 Query only a subset of File object during startup 2022-10-16 23:23:34 +08:00
Ming Ming
241b1c4775 Rework touch hack to improve startup performance 2022-09-26 20:41:58 +08:00
Ming Ming
ce4877e416 Remove leading/trailing space from search term 2022-09-08 15:26:03 +08:00
Ming Ming
9fd57951ed Search now return results from tags, locations and people 2022-09-08 13:10:00 +08:00
Ming Ming
4e74d67b95 Fix app not detecting album changes in server 2022-08-31 22:21:32 +08:00
Ming Ming
8e1aeaa013 Run reverse geocoding in metadata task 2022-08-29 23:32:46 +08:00
Ming Ming
189f536f29 Add new file property to store geocoded address 2022-08-29 23:32:46 +08:00
Ming Ming
610bf688a0 Refactor: extract exif function 2022-08-20 19:11:10 +08:00
Ming Ming
5e385097a0 Refactor: extract utility function 2022-08-20 19:11:10 +08:00
Ming Ming
c99fc16aa0 Format code 2022-08-20 19:11:10 +08:00
Ming Ming
8f8175604f Fix possible NPE in Exif 2022-08-20 19:11:10 +08:00
Ming Ming
6ca54f0776 Add VACUUM to dev settings 2022-08-13 03:10:31 +08:00
Ming Ming
5074498444 Fix reopening db on web 2022-08-13 03:09:57 +08:00
Ming Ming
7c8dedf259 Add search 2022-08-07 23:54:35 +08:00
Ming Ming
ad9260385b Sync persons on startup 2022-08-07 22:32:06 +08:00
Ming Ming
711516439e Sync tags on startup 2022-08-07 22:32:06 +08:00
Ming Ming
51887f68b8 Fix too many SQL variables error 2022-08-07 01:26:48 +08:00
Ming Ming
65a6ec84e7 Fix memory album showing files out of the included dirs 2022-08-07 01:26:20 +08:00
Ming Ming
40203bbdbc Improve function naming 2022-08-07 01:26:20 +08:00
Ming Ming
fc3279a4d8 Improve code 2022-08-07 01:26:19 +08:00
Ming Ming
6863e92f83 Remove undocumented tag property 2022-08-07 01:26:19 +08:00
Ming Ming
2e596fbd11 Set the drift logger also in isolates 2022-07-28 17:47:59 +08:00
Ming Ming
49b5901149 Optimize SyncFavorite to only update a column 2022-07-28 17:47:59 +08:00
Ming Ming
450f43694a Set sqlite busy timeout 2022-07-28 17:47:59 +08:00
Ming Ming
84264dad20 Setting eagerError may cause the transaction to end before all future returns 2022-07-28 17:47:59 +08:00
Ming Ming
2df27502f1 Improve custom sql statements 2022-07-28 17:47:59 +08:00
Ming Ming
c98482d4c5 Speed up root picker by not querying all file data 2022-07-28 17:47:59 +08:00
Ming Ming
2af31a0357 Favor functions in package:collection 2022-07-28 17:47:59 +08:00
Ming Ming
e5fa14943c Update TouchTokenManager to not cache the tokens 2022-07-24 22:01:51 +08:00
Ming Ming
423d7aa364 listSingle will now update the cache db 2022-07-24 22:01:51 +08:00
Ming Ming
d548c592ae Prefer DiContainer over creating ad hoc repo 2022-07-24 22:01:51 +08:00
Ming Ming
c119d08dc1 Remove unused field 2022-07-24 22:01:51 +08:00
Ming Ming
65c67a9af0 Improve logs 2022-07-24 22:01:51 +08:00
Ming Ming
799594443b Throttle calls to update remote touch token 2022-07-24 22:01:50 +08:00
Ming Ming
7563fa2ad6 Show first 100 photos on startup
This is to create an illusion that the app loads quickly when it's not ;)
2022-07-24 22:01:50 +08:00
Ming Ming
a65da95f75 Owner display name should be shown instead of owner id 2022-07-24 22:01:50 +08:00
Ming Ming
478c25b5d0 Fix user ID and display name mixed up in logic 2022-07-24 22:01:49 +08:00
Ming Ming
413c185290 Improve log 2022-07-24 22:01:48 +08:00
Ming Ming
c3f50f20f5 Add hidden dev options to clear cache db 2022-07-24 22:01:48 +08:00
Ming Ming
90d73ecc9c Enable WAL mode 2022-07-24 22:01:48 +08:00