Commit graph

58 commits

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