Commit graph

193 commits

Author SHA1 Message Date
Ming Ming
7c83b81810 Add utility to extract owner id of a nc album 2023-12-07 00:54:30 +08:00
Ming Ming
cd5e771044 Move utility to package 2023-10-09 01:41:06 +08:00
Ming Ming
7306d3cedf Move object utilities to np_common 2023-10-03 22:28:35 +08:00
Ming Ming
3599227ba1 Disallow item to be deleted from nextcloud album
Deleted files are left dangling in the album on server
2023-09-15 01:22:37 +08:00
Ming Ming
1cfff45039 Fix removing file from Nextcloud album incorrectly deleted it 2023-09-13 01:28:24 +08:00
Ming Ming
85623d7588 Hide the sharer part of a shared nc album 2023-09-11 01:37:40 +08:00
Ming Ming
51b9d26e31 Nc album shared with you is not allowed to be renamed 2023-09-11 01:37:40 +08:00
Ming Ming
423ab9ebb1 Fix sql UNIQUE exception when using folders 2023-09-09 22:50:53 +08:00
Ming Ming
93d6180f06 Fix image path in detail pane for those inside NC albums 2023-09-09 02:52:18 +08:00
Ming Ming
66a128bf77 Support server albums shared with you in Collections 2023-09-09 02:52:18 +08:00
Ming Ming
866720fa3a Refactor: extract universal storage 2023-08-29 01:22:40 +08:00
Ming Ming
fd5b7f7e5b Refactor: extract geocoder 2023-08-28 00:55:58 +08:00
Ming Ming
0ca85f2598 Refactor: extract async utilities to its own package 2023-08-28 00:55:58 +08:00
Ming Ming
0f129f839d Refactor: use the platform package 2023-08-27 19:00:36 +08:00
Ming Ming
cd525f5168 Refactor: move the higher level platform lock code to its own package 2023-08-27 19:00:36 +08:00
Ming Ming
9f43092dab Refactor: extract collection utilities to package 2023-08-26 01:35:16 +08:00
Ming Ming
c1717a1f59 Refactor: extract string utilities 2023-08-26 01:34:07 +08:00
Ming Ming
c07819fb0e Refactor: move OrNull away from main package 2023-08-24 23:32:50 +08:00
Ming Ming
f50d7fbf26 Refactor: move theme prefs to PrefController 2023-08-20 00:52:06 +08:00
Ming Ming
d5de52a789 Support ATTACH_DATA intent on android
This is typically used to set wallpaper or contact photos
2023-08-04 01:24:25 +08:00
Ming Ming
17749cd7a2 Refactor: extract photos settings 2023-07-28 01:25:48 +08:00
Ming Ming
cadf9c7410 Support system theme color (aka Material You) 2023-07-24 21:48:45 +08:00
Ming Ming
b017461887 Fix new db tables not truncated 2023-07-23 03:08:00 +08:00
Ming Ming
4e03c76d0d Select between Face Recognition and Recognize 2023-07-22 22:27:54 +08:00
Ming Ming
d5172bdd4f Fix cover picked for Recognize person 2023-07-22 22:27:54 +08:00
Ming Ming
738883387a Support face provided by Recognize app 2023-07-22 22:27:54 +08:00
Ming Ming
c920a6bc36 Rename FaceRecognition table 2023-07-22 22:27:54 +08:00
Ming Ming
383e38a579 Rewrite face support 2023-07-22 22:27:54 +08:00
Ming Ming
484da170d4 Refactor account pref 2023-07-18 00:44:30 +08:00
Ming Ming
0725e8ebce Refactor pref 2023-07-18 00:44:30 +08:00
Ming Ming
4bfe37b94c Fix sql query for face recognition persons 2023-07-17 01:09:42 +08:00
Ming Ming
18f5a49db0 Upgrade drift 2023-07-12 00:52:50 +08:00
Ming Ming
7417dd9533 Fix stripped path of nc album and item 2023-07-12 00:52:50 +08:00
Ming Ming
b4e8e609db Add toString to fd 2023-05-21 21:55:13 +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
fb02f3c9b0 Regression: import album shared with you 2023-05-21 21:55:13 +08:00
Ming Ming
f20900f2a9 Fix shared album removed instead of unimporting it 2023-05-21 21:55:13 +08:00
Ming Ming
6b9175de18 Regression: only open dynamic collections after creating a new one 2023-05-21 21:55:13 +08:00
Ming Ming
cc3780587b Fix typo 2023-05-21 21:55:13 +08:00
Ming Ming
155990e7bd Remove obsolete code 2023-05-21 21:55:13 +08:00
Ming Ming
2b177d7679 Don't try to query ncalbum when Nextcloud <25 2023-05-21 21:54:24 +08:00
Ming Ming
6b3600625b Fix cover not displaying for NcAlbum if the file is shared 2023-05-21 21:54:24 +08:00
Ming Ming
067b6a1a60 Fix shared image in collaborative album not showing in viewer 2023-05-21 21:54:24 +08:00
Ming Ming
4d9644ac18 Correctly show shared items in a collaborative nc album 2023-05-21 21:54:24 +08:00
Ming Ming
d2886e55c1 Regression: share and unshare album 2023-05-21 21:54:24 +08:00
Ming Ming
aa49624517 Fix compatibility with very old album 2023-05-21 21:51:20 +08:00
Ming Ming
9fb8ff6cfc Filter dynamic collections from the picker 2023-05-21 21:51:20 +08:00
Ming Ming
815c023ace Fix compatibility with very old album 2023-05-21 21:51:20 +08:00
Ming Ming
c4887faf33 Ignore files w/o fileId when working out album cover 2023-05-21 21:51:20 +08:00
Ming Ming
53b51b77b1 Migrate Memory to use collection browser 2023-05-21 21:51:20 +08:00
Ming Ming
3f38efccf3 Export collection with different provider 2023-05-21 21:51:20 +08:00
Ming Ming
e7212e0643 Remove obsolete code 2023-05-21 21:51:20 +08:00
Ming Ming
2291e3b158 Fix outdated albums not getting updated to cache correctly 2023-05-21 21:51:20 +08:00
Ming Ming
c62af9941b Regression: album cover is gone after unsetting one for a dynamic album 2023-05-21 21:51:20 +08:00
Ming Ming
02107c7150 Fix album upgrader assuming wrong data type 2023-05-21 21:51:20 +08:00
Ming Ming
203eaf290a Regression: dynamic album cover not shown even after opening it 2023-05-21 21:51:20 +08:00
Ming Ming
0eb13273a1 Add Album upgrader when reading from DB 2023-05-21 21:51:20 +08:00
Ming Ming
31de51f755 Make FileDescriptor's json serialization method more explicit 2023-05-21 21:51:20 +08:00
Ming Ming
7bd33c8444 Migrate AlbumAutoCoverProvider to use FileDescriptor 2023-05-21 21:51:20 +08:00
Ming Ming
72bd5fa38e Fix DateTime incorrectly serialized in FileDescriptor 2023-05-21 21:51:20 +08:00
Ming Ming
3ccf302553 Regression: set/unset album cover 2023-05-21 21:51:20 +08:00
Ming Ming
004a93a24f Fix edit menu not shown in dynamic album 2023-05-21 21:51:20 +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
a2baad029a Use clock lib to get current time 2023-03-13 19:55:39 +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
28efab5e52 Fix v3 index not created for new db 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
82cdd8b6a1 Fix exception when counting with empty file list 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
576d8dafc8 Fix cached datetime not updated in DB 2022-11-20 09:53:39 +08:00
Ming Ming
9759f172db Fix SyncDir always consider root dirs as changed 2022-10-30 12:07:38 +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
ce4877e416 Remove leading/trailing space from search term 2022-09-08 15:26:03 +08:00
Ming Ming
9fd57951ed Search now return results from tags, locations and people 2022-09-08 13:10:00 +08:00
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