Commit graph

77 commits

Author SHA1 Message Date
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