Commit graph

133 commits

Author SHA1 Message Date
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
Ming Ming
878699b02c Fix account not deleted from db after signing out 2022-07-24 22:01:47 +08:00
Ming Ming
c2cc6b5842 Fix invalid DateTimeOriginal in exif breaking DB logic 2022-07-24 22:01:47 +08:00
Ming Ming
e0236e8644 Fix e2ee dir get added and removed repeatedly 2022-07-24 22:01:47 +08:00
Ming Ming
2c4ec3447b Switch local DB from IndexedDB to SQLite 2022-07-24 22:01:47 +08:00
Ming Ming
ef5b2a0d70 Add identity hashcode to File 2022-07-16 02:17:29 +08:00
Ming Ming
cfd2037903 Ignore ImageDescription tag in exif 2022-07-06 03:05:48 +08:00
Ming Ming
e852075b01 Build photo list in isolate 2022-06-08 19:09:15 +08:00
Ming Ming
763762d385 Parse json in isolate 2022-06-08 13:05:40 +08:00
Ming Ming
687cbbc4df Parse XML response in isolate 2022-06-08 13:05:40 +08:00
Ming Ming
5d8e5b25b3 Time some fn 2022-06-07 01:39:29 +08:00
Ming Ming
f01ab2f648 Get rid of useless hack 2022-06-07 01:39:29 +08:00
Ming Ming
7b52f9f010 Use more cache during the inital query 2022-05-28 17:01:53 +08:00
Ming Ming
8ce0125879 Limit number of async queries to be fired at the same time
While the plugin can handle this no problem, the dart side will get stuck when all the results come in over a tiny period of time
2022-05-28 14:38:11 +08:00
Ming Ming
32bef588a1 Support sorting albums by filename 2022-05-26 12:01:12 +08:00
Ming Ming
e4c7f52ec1 Ignore e2ee dirs when listing content 2022-05-17 01:59:55 +08:00
Ming Ming
e088b1dbaa Share enhanced photos 2022-05-14 15:00:43 +08:00
Ming Ming
ef4daf552b Browse enhanced photos 2022-05-14 15:00:43 +08:00
Ming Ming
c38ace893d Delete local files 2022-05-14 15:00:43 +08:00
Ming Ming
4da8b95c61 List local files 2022-05-14 15:00:43 +08:00
Ming Ming
886bcf10ae Load metadata now directly return metadata 2022-04-23 04:26:19 +08:00
Ming Ming
0c23b8e7e4 Fix AppDb.use returns before db is closed 2022-04-06 02:37:58 +08:00
Ming Ming
a4dfe29e92 Move app code to sub-dir 2022-04-06 02:37:58 +08:00