Commit graph

894 commits

Author SHA1 Message Date
Ali Yasin
6474aa2f1c
Add files via upload (#5) 2024-04-12 01:22: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
25ef1a94f9 New class to store only date when time is not needed 2024-04-10 01:16:03 +08:00
Ming Ming
57c438b7f1 Handle share dir in np_db 2024-03-24 21:34:42 +08:00
Ming Ming
22ebcebfce Optimize timezone conversion speed in HomePhotos 2024-02-26 01:21:25 +08:00
Ming Ming
177d3c51fb Don't reload files if nothing changes in remote sync 2024-02-26 01:21:25 +08:00
Ming Ming
def24946e2 Optimize pref streams where the first value should be ignored 2024-02-26 01:21:25 +08:00
Ming Ming
c588ab9c6d Update collection items when file updated in files controller 2024-02-17 02:27:35 +08:00
Ming Ming
1c999f6fab Migrate album to save files as file descriptors 2024-02-14 01:13:45 +08:00
Ming Ming
07ee28d0cb List and create share now take file descriptor instead of file 2024-02-14 01:13:45 +08:00
Ming Ming
59a5741c50 Update test cases 2024-02-14 01:13:45 +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
3c35a383c1 Remove obsolete files 2024-02-07 01:15:24 +08:00
Ming Ming
0521e2b5c3 Fix item count in HomeCollections does not consider the runtime count from item controller 2024-02-07 01:15:18 +08:00
Ming Ming
e77059225b Fix removing files does not update collections 2024-02-07 01:15:15 +08:00
Ming Ming
455aedd22b Remove legacy home photos 2024-02-07 01:14:31 +08:00
Ming Ming
5278cda402 Use controller to remove files in RemoveSelectionHandler 2024-02-07 01:14:31 +08:00
Ming Ming
482158c6bf Remove unused import 2024-02-07 01:14:31 +08:00
Ming Ming
be0caa1c48 Deprecate pref updated events 2024-02-07 01:14:30 +08:00
Ming Ming
54e8c127b9 Handle ImageProcessorUploadSuccessEvent 2024-02-07 01:14:30 +08:00
Ming Ming
88af19ac67 Move metadata logic out of photos bloc 2024-02-07 01:14:30 +08:00
Ming Ming
5dca7db992 Move file refresh logic from photos bloc to controller 2024-02-07 01:14:30 +08:00
Ming Ming
fcdb3a6275 Add log 2024-02-07 01:14:30 +08:00
Ming Ming
50d38d374e Deprecate FavoriteResyncedEvent 2024-02-07 01:14:30 +08:00
Ming Ming
b7c0b187e2 Fix set/unsetting favorite in viewer does not reflect in browser 2024-02-07 01:14:30 +08:00
Ming Ming
962829568f Fix log 2024-02-07 01:14:30 +08:00
Ming Ming
b2c1c39abb Remove obsolete native event handler 2024-02-07 01:14:30 +08:00
Ming Ming
7bb2f2452a Fix native events not propagated to controllers 2024-02-07 01:14:30 +08:00
Ming Ming
f97476e4f0 Fix startup sync results not propagated to main isolate 2024-02-07 01:14:30 +08:00
Ming Ming
a04ecefed9 Respond to share folder changes 2024-02-07 01:14:30 +08:00
Ming Ming
37a30e927c Refresh after receiving native exif event 2024-02-07 01:14:30 +08:00
Ming Ming
5c1ab48aae Port starting exif service 2024-02-07 01:14:30 +08:00
Ming Ming
47348cf10a Fix not grouping by month when zoomed out to the lowest level 2024-02-07 01:14:30 +08:00
Ming Ming
feea195e60 Port memories range handling 2024-02-07 01:14:30 +08:00
Ming Ming
ff401f399a Port sorting files by name 2024-02-07 01:14:30 +08:00
Ming Ming
4bbfc805cc Tap photos again to jump to the top in new photos 2024-02-07 01:14:30 +08:00
Ming Ming
5f7d898078 Fix refresh indicator in the new home photos 2024-02-07 01:14:30 +08:00
Ming Ming
0b3aa72015 Add log 2024-02-07 01:14:30 +08:00
Ming Ming
1a09dc37a0 Add remote sync to the new HomePhotos 2024-02-07 01:14:30 +08:00
Ming Ming
db8f93b052 Migrate collections browser to use files controller 2024-02-07 01:14:30 +08:00
Ming Ming
f1a340d550 Rewrite ArchiveBrowser 2024-02-07 01:14:30 +08:00
Ming Ming
4950bcef8f Rewrite HomePhotos 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
7629251886 Migrate UpdateProperty to 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
d5da991a26 Improve log 2024-02-07 01:12:07 +08:00
Ming Ming
d8048b2004 Fix exception when restoring files from trash 2024-02-07 01:11:39 +08:00
Ming Ming
aac86d8590 65.0 2024-01-14 23:57:01 +08:00
Ming Ming
60192a56ca Sync translations with POEditor 2024-01-14 23:57:01 +08:00
Ming Ming
e47f033b3a Refactor: tidy up code 2024-01-13 12:16:53 +08:00
Ming Ming
29bc5567b0 Match Set.toString with List and Map 2024-01-13 12:16:53 +08:00
Ming Ming
21ac3c5530 Improve FileSharerDialog to match the deprecated one in HomePhotos 2023-12-28 01:08:19 +08:00
Ming Ming
782f73448e Refactor: tidy up code 2023-12-28 01:08:13 +08:00
Ming Ming
67289f1ccd Fix resources not released for PlacesController 2023-12-19 21:13:13 +08:00
Ming Ming
e1acc97995 Revert "Remove redundant import"
This reverts commit f75b64812a.
2023-12-19 21:09:49 +08:00
Ming Ming
6ea872f2fb Refactor: extract common widgets 2023-12-18 01:23:23 +08:00
Ming Ming
f75b64812a Remove redundant import 2023-12-18 01:23:21 +08:00
Ming Ming
6778750d51 Fix broken tests 2023-12-18 01:23:18 +08:00
Ming Ming
3e5dc3fedf Refactor: rewrite search landing widget 2023-12-14 01:01:22 +08:00
Ming Ming
0af86944d0 Fix person controller not responding to provider change in pref 2023-12-14 00:55:47 +08:00
Ming Ming
f848f612ea Fix race condition when mixing stream and raw access with pref controller 2023-12-14 00:55:47 +08:00
Ming Ming
c1e8f28001 Refactor: rewrite place browser 2023-12-14 00:55:47 +08:00
Ming Ming
368026fab8 Add pull to refresh to people browser 2023-12-14 00:55:47 +08:00
Ming Ming
d6d866774c Improve cross platform support 2023-12-11 23:46:47 +08:00
Ming Ming
10b263834d Fix incompatible getFileDescriptors api calls 2023-12-10 16:28:14 +08:00
Ming Ming
05f7ecf55f Fix exception when syncing dir with path only 2023-12-08 00:11:03 +08:00
Ming Ming
8bc9b8c8fd Fix exif not unserialized correctly 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
702fac4b38 Fix NPE in viewer pane 2023-12-08 00:10:46 +08:00
Ming Ming
7c83b81810 Add utility to extract owner id of a nc album 2023-12-07 00:54:30 +08:00
Ming Ming
65c614940b Move test to correct package 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
731e21df7c Remove unused var 2023-09-25 01:13:19 +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
eb52d84526 Versioning: 64.0 2023-09-13 01:45:40 +08:00
Ming Ming
56195ed380 Sync translations with POEditor 2023-09-13 01:45:40 +08:00
Ming Ming
1cfff45039 Fix removing file from Nextcloud album incorrectly deleted it 2023-09-13 01:28:24 +08:00
Ming Ming
bfbfaffe5c Fix runtime type error 2023-09-13 01:28:24 +08:00
Ming Ming
7dde4b1de9 Move the delete button from viewer to detail pane for album files to avoid confusion 2023-09-13 01:28:24 +08:00
Ming Ming
436a760950 Refactor: extract map 2023-09-13 00:31:41 +08:00
Ming Ming
b4cd90d6d4 Refactor: revamp sharing browser code 2023-09-12 01:31:29 +08:00
Ming Ming
1404717574 Fix exception when showing the shared album info dialog 2023-09-11 01:37:40 +08:00
Ming Ming
dc4cf7d5bd Refactor: extract widget 2023-09-11 01:37:40 +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
f7f8c22000 Don't query tags for files in a nc album 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
c8b132d6d7 Remove obsolete code 2023-09-09 02:52:18 +08:00
Ming Ming
b43b099f7e Fix theme color defaulting to blue when Material You is enabled 2023-09-05 00:29:06 +08:00
Ming Ming
19d694b485 Update dependency 2023-09-04 01:15:09 +08:00
Ming Ming
bc44d44c96 Revamp foreground download dialog 2023-09-03 17:13:11 +08:00
Ming Ming
eb941f15af Versioning: 63.1 2023-09-02 03:30:16 +08:00
Ming Ming
2dd1f84e9d Versioning: 63.0 2023-09-02 02:59:12 +08:00
Ming Ming
548fa540b4 Fix catalan not shown in language menu 2023-09-02 02:59:12 +08:00
Ming Ming
aa1959a0e6 Update untranslated message 2023-09-02 02:59:12 +08:00
Ming Ming
b1a64e907d Fix localization syntax 2023-09-02 02:59:12 +08:00