Commit graph

33 commits

Author SHA1 Message Date
Ming Ming
cf1ad9eb0e Migrate from kDebugMode to something we can control 2024-10-20 21:49:53 +08:00
Ming Ming
63c601f59a Workaround server bug where REPORT api no longer respect the path 2024-08-10 21:26:25 +08:00
Ming Ming
739b23b8ba DB api to support filtering locations by time range 2024-07-20 03:37:46 +08:00
Ming Ming
4bb825a7dc Correctly filter map browser query 2024-07-20 03:37:46 +08:00
Ming Ming
b6abb4ae47 New MapBrowser to browse photo clusters on a map 2024-07-20 03:37:46 +08:00
Ming Ming
1870830b39 Replace tuple with records 2024-07-02 01:39:25 +08:00
Ming Ming
29383658f4 Fix photos taken in the current year are included in memories 2024-06-02 02:53:30 +08:00
Ming Ming
8512ec0c4d Update dependencies 2024-05-22 00:17:35 +08:00
Ming Ming
e18ffce8a3 Fix sqlite3 compatibility 2024-05-21 23:38:17 +08:00
Ming Ming
21dffd9a13 Query memories on DB side instead 2024-05-16 00:48:19 +08:00
Ming Ming
3631abaf7d Revamp Photos tab
- Lazy loading
- Minimap
2024-05-06 22:32:45 +08:00
Ming Ming
692ccd2e9e Add use case to list archived files 2024-05-06 22:32:43 +08:00
Ming Ming
2d5e470508 Support querying getFileDescriptors with time range filter and offset 2024-04-10 01:16:35 +08:00
Ming Ming
0bf19c9203 Fix archived files included in getFilesSummary 2024-04-10 01:16:29 +08:00
Ming Ming
6281e6daff Allow TimeRange to be open 2024-04-10 01:16:16 +08:00
Ming Ming
25ef1a94f9 New class to store only date when time is not needed 2024-04-10 01:16:03 +08:00
Ming Ming
da00a4f3ad Fix includeRelativeRoots and includeRelativeDirs not working in queryFileDescriptors when set together 2024-04-10 01:15:53 +08:00
Ming Ming
57c438b7f1 Handle share dir in np_db 2024-03-24 21:34:42 +08:00
Ming Ming
d90dc436fe Fix dirs wrongly returning from queryFileDescriptors 2024-03-18 00:44:12 +08:00
Ming Ming
97b3e99aa7 Add db api to query summary of all the files 2024-03-18 00:44:12 +08:00
Ming Ming
f97476e4f0 Fix startup sync results not propagated to main isolate 2024-02-07 01:14:30 +08:00
Ming Ming
6778750d51 Fix broken tests 2023-12-18 01:23:18 +08:00
Ming Ming
d6d866774c Improve cross platform support 2023-12-11 23:46:47 +08:00
Ming Ming
f99b79b6b7 Fix not correctly treating null columns in where clause 2023-12-11 01:20:53 +08:00
Ming Ming
77d8791eb8 Fix image_locations column used in where clause but not joined 2023-12-10 16:28:14 +08:00
Ming Ming
10b263834d Fix incompatible getFileDescriptors api calls 2023-12-10 16:28:14 +08:00
Ming Ming
15ed907c34 Improve log 2023-12-09 03:16:07 +08:00
Ming Ming
a75b3b3c1e Fix exception when inserting items for new recognize face 2023-12-09 03:10:24 +08:00
Ming Ming
5fa4cfb361 Fix recognize face item field serialized twice 2023-12-09 03:10:24 +08:00
Ming Ming
3229c014bf Make code more readable 2023-12-08 00:11:03 +08:00
Ming Ming
05f7ecf55f Fix exception when syncing dir with path only 2023-12-08 00:11:03 +08:00
Ming Ming
33462d9fec Fix asserting when there are favorite files outside roots 2023-12-08 00:11:03 +08:00
Ming Ming
0e4411c725 Refactor: extract all db code to dedicated package 2023-12-08 00:11:03 +08:00