Commit graph

62 commits

Author SHA1 Message Date
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
69d6ec9628 Make aspect ratio required when using the preview api 2022-12-19 00:08:17 +08:00
Ming Ming
a2fc045834 Generate correct tags for logger 2022-12-16 23:01:04 +08:00
Ming Ming
2136300b27 Fix duplicated places when there are >1 roots in account 2022-12-11 16:39:04 +08:00
Ming Ming
5884919c1b Fix background isolates on Flutter 3.3 2022-12-10 22:45:33 +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
5570fcf156 Use generator for toString 2022-12-09 00:03:28 +08:00
Ming Ming
11279b4119 Show proper progress during initial sync 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
62b28c67a0 Migrate wrong bestDateTime in DB on upgrade 2022-11-07 19:47:53 +08:00
Ming Ming
9759f172db Fix SyncDir always consider root dirs as changed 2022-10-30 12:07:38 +08:00
Ming Ming
497b75ce53 Query only a subset of File object during startup 2022-10-16 23:23:34 +08:00
Ming Ming
aa68035b88 Fix not syncing favorites in share folder 2022-09-25 13:52:02 +08:00
Ming Ming
c47880be37 Support sharing a reduced quality preview 2022-09-10 01:02:02 +08:00
Ming Ming
e320b6b741 Set day range of memory albums 2022-09-05 12:54:02 +08:00
Ming Ming
fe99b6b1f0 Fix metadata task progress not shown correctly on web 2022-08-31 22:21:32 +08:00
Ming Ming
075d208fff Sort places by count instead of time 2022-08-29 23:34:01 +08:00
Ming Ming
88727f1818 Show places in search page 2022-08-29 23:34:01 +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
5e385097a0 Refactor: extract utility function 2022-08-20 19:11:10 +08:00
Ming Ming
967bb03aee Fix ResyncAlbum breaks when a file got no fileid 2022-08-16 22:35:59 +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
40203bbdbc Improve function naming 2022-08-07 01:26:20 +08:00
Ming Ming
8915ddf002 Time startup sync 2022-08-07 01:26:19 +08:00
Ming Ming
8f340da473 Extract use case 2022-08-07 01:26:19 +08:00
Ming Ming
3387378181 Run startup sync in background isolate 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
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
65c67a9af0 Improve logs 2022-07-24 22:01:51 +08:00
Ming Ming
1737025570 Add known accounts to db on upgrade 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
478c25b5d0 Fix user ID and display name mixed up in logic 2022-07-24 22:01:49 +08:00
Ming Ming
2c4ec3447b Switch local DB from IndexedDB to SQLite 2022-07-24 22:01:47 +08:00
Ming Ming
715bfaa0ee Fix missing parent dir not handled corrently when uploading file 2022-07-08 16:46:12 +08:00
Ming Ming
763762d385 Parse json in isolate 2022-06-08 13:05:40 +08:00
Ming Ming
a3c92baca5 Allow processing exif over data network 2022-06-08 02:54:11 +08:00
Ming Ming
b2c61766bb Tweak wifi detection timeout 2022-06-08 02:53:07 +08:00
Ming Ming
e99711e317 Fix private members not named correctly 2022-06-08 02:53:07 +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
92980e4062 Fix potential stack overflow when querying lots of files 2022-05-28 14:38:11 +08:00