Commit graph

50 commits

Author SHA1 Message Date
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
Ming Ming
e088b1dbaa Share 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
731370e994 Support loading metadata from local file 2022-05-14 15:00:43 +08:00
Ming Ming
843497a708 Streamline code 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
7a3d195a36 Pause sservice when battery is low 2022-04-09 11:25:05 +08:00
Ming Ming
853fd91ea0 Fix unable to cancel service when waiting for wifi 2022-04-09 11:25:05 +08:00
Ming Ming
3f8832c0e1 Run metadata task in a service on Android 2022-04-07 01:21:45 +08:00
Ming Ming
856b61da4f Refactor: move event state enum to event file 2022-04-06 02:37:58 +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