Commit graph

60 commits

Author SHA1 Message Date
Ming Ming
0e4ecf4f2b Rewrite metadata service, add support for server side exif 2024-11-21 01:35:45 +08:00
Ming Ming
bc9bbe9455 Adapt to server side metadata 2024-11-10 23:30:53 +08:00
Corentin Noël
774bcd97c5 Use the EXIF data provided by Nextcloud Photos 2024-11-03 08:25:39 +00:00
Ming Ming
b007c3e764 Fix removing photos from a server album incorrectly deleted it, and implement runtime blocks to prevent this from happening again 2024-09-26 01:27:18 +08:00
Ming Ming
e573837b7b Fix 404 when accessing collections page without having any album 2024-06-19 21:08:24 +08:00
Ming Ming
3631abaf7d Revamp Photos tab
- Lazy loading
- Minimap
2024-05-06 22:32:45 +08:00
Ming Ming
57c438b7f1 Handle share dir in np_db 2024-03-24 21:34:42 +08:00
Ming Ming
64b281289b Improve doc 2024-02-14 01:13:45 +08:00
Ming Ming
91caf39184 Fix db file data source returning file instead of fd from share folder 2024-02-14 01:13:36 +08:00
Ming Ming
0b3aa72015 Add log 2024-02-07 01:14:30 +08:00
Ming Ming
378da23360 Migrate Remove to use controller 2024-02-07 01:14:30 +08:00
Ming Ming
5b20ec4fff Add new FilesController to improve file handling 2024-02-07 01:14:30 +08:00
Ming Ming
05f7ecf55f Fix exception when syncing dir with path only 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
Ming Ming
423ab9ebb1 Fix sql UNIQUE exception when using folders 2023-09-09 22:50:53 +08:00
Ming Ming
9f43092dab Refactor: extract collection utilities to package 2023-08-26 01:35:16 +08:00
Ming Ming
c07819fb0e Refactor: move OrNull away from main package 2023-08-24 23:32:50 +08:00
Ming Ming
18f5a49db0 Upgrade drift 2023-07-12 00:52:50 +08:00
Ming Ming
929f282098 Fix moving files back and forth causing cache out sync 2023-05-21 21:55:13 +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
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
576d8dafc8 Fix cached datetime not updated in DB 2022-11-20 09:53:39 +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
189f536f29 Add new file property to store geocoded address 2022-08-29 23:32:46 +08:00
Ming Ming
c99fc16aa0 Format code 2022-08-20 19:11:10 +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
84264dad20 Setting eagerError may cause the transaction to end before all future returns 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
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
413c185290 Improve log 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
e0236e8644 Fix e2ee dir get added and removed repeatedly 2022-07-24 22:01:47 +08:00