Commit graph

1955 commits

Author SHA1 Message Date
Ming Ming
dccbad2185 Migrate old (un)archive code to use filescontroller 2024-05-09 00:18:41 +08:00
Ming Ming
8ccc50ac16 Relocate code to related packages 2024-05-09 00:18:41 +08:00
Ming Ming
901195442f Remove unused code 2024-05-09 00:18:41 +08:00
ming
a336542187 Merge branch 'master' into 'master'
Fix: Added missing index.php to photos api url

See merge request nkming2/nc-photos!72
2024-05-07 15:56:35 +00:00
Jirka Stehlík
77539aaa52 Fix: Added missing index.php to photos api url 2024-05-07 15:56:35 +00:00
Ming Ming
af3dd480d6 Fix test cases 2024-05-07 23:12:56 +08:00
Ming Ming
528699d7c5 Remove sort Photos tab by filename option
This is no longer supported in the revamped code
2024-05-07 00:33:10 +08:00
Ming Ming
5be72240c5 Fix scroll bar label showing wrong date if timeline grouped by month 2024-05-06 22:32:49 +08:00
Ming Ming
20120ea90d Fix item in Photos list sometimes not removed correctly 2024-05-06 22:32:47 +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
7b98a282ed Add DateRange 2024-05-06 22:32:41 +08:00
Ming Ming
efb32a785a Improve theme 2024-04-15 01:25:42 +08:00
Ming Ming
44e6447fe8 Enable Turkish 2024-04-12 01:25:15 +08:00
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
0bf19c9203 Fix archived files included in getFilesSummary 2024-04-10 01:16:29 +08:00
Ming Ming
e0f1b679f0 Add sortedBySelf to Iterable of Comparables 2024-04-10 01:16:25 +08:00
Ming Ming
8bf709e10b Add addedAll for Map and Set 2024-04-10 01:16:23 +08:00
Ming Ming
b1f975c329 Add convenient extensions for DateTime 2024-04-10 01:16:20 +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
0db853f749 Fix build error 2024-03-24 03:30:52 +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
99c8448bde Merge branch 'files-controller' 2024-03-17 16:57:02 +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