Commit graph

979 commits

Author SHA1 Message Date
Ming Ming
58171f14c9 Add app lock 2024-05-25 17:46:01 +08:00
Ming Ming
fd8251b86c Add encrypted pref variant 2024-05-25 17:46:01 +08:00
Ming Ming
bc690dc61e Migrate WillPopScope where we could 2024-05-23 01:06:32 +08:00
Ming Ming
8512ec0c4d Update dependencies 2024-05-22 00:17:35 +08:00
Ming Ming
ba2c69311b Fix some new lint warnings 2024-05-21 23:42:28 +08:00
Ming Ming
302cc3938e Migrate deprecated code in flutter 3.16 2024-05-21 23:42:28 +08:00
Ming Ming
4c1ba03d6e Fix fluttter 3.16 compatibility 2024-05-21 01:09:12 +08:00
Ming Ming
bcca6d600a Migrate to new translucent sliver app bar 2024-05-21 01:09:12 +08:00
Ming Ming
81a63d5e36 Upgrade to flutter3.16 2024-05-21 01:09:12 +08:00
Ming Ming
e1baba916d Remove unused import 2024-05-21 01:05:55 +08:00
Ming Ming
bbeb8a3852 Fix removed files reappeared in photos timeline 2024-05-20 00:41:28 +08:00
Ming Ming
bf71411709 Increase number of files to be queried each time in photos tab 2024-05-20 00:41:28 +08:00
Ming Ming
df3f3a65d3 Support selecting secondary theme color in settings 2024-05-18 22:00:35 +08:00
Ming Ming
71652c7e9a Fix checkbox theme 2024-05-18 22:00:35 +08:00
Ming Ming
64e13bdee5 Ready theme to support secondary color 2024-05-17 00:38:02 +08:00
Ming Ming
6311f8a4de Refresh random icons in account dialog 2024-05-17 00:38:00 +08:00
Ming Ming
21dffd9a13 Query memories on DB side instead 2024-05-16 00:48:19 +08:00
Ming Ming
1c2892c6cd Reload no longer clear timeline stream 2024-05-12 23:30:32 +08:00
Ming Ming
6a29f8966c Fix used before init in video viewer 2024-05-12 23:30:32 +08:00
Ming Ming
bc3c480223 Fix initial sync not starting on first run 2024-05-12 23:30:32 +08:00
Ming Ming
9e3ec0bfc3 Relocate code to related packages 2024-05-12 23:30:32 +08:00
Ming Ming
65a1a02926 Fix broken double tab to exit in new Photos and Collections tab 2024-05-09 00:18:41 +08:00
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
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
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
Ming Ming
7e1b873ba7 Sync with POEditor 2023-09-02 02:33:14 +08:00
Ming Ming
150c4c4831 Android 13 compatibility update 2023-09-02 02:16:50 +08:00
Ming Ming
e91d6410f5 Refactor: extract native event to package 2023-09-02 02:16:50 +08:00
Ming Ming
8841673b88 Fix native image processor messages not reporting to flutter 2023-09-02 02:16:50 +08:00
Ming Ming
6809503e0b Refactor: extract native log package 2023-09-01 12:30:08 +08:00
Ming Ming
dbea0e0a55 Refactor: extract image processor 2023-09-01 12:30:08 +08:00
Ming Ming
70a234a9b4 Make navigation bar in local viewer black 2023-09-01 12:30:07 +08:00
Ming Ming
84782974d9 Make navigation bar in image editor and enhancer page black 2023-08-30 00:32:58 +08:00
Ming Ming
6f0a2514b9 Use generated locale list 2023-08-30 00:32:57 +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
0d2d9feac4 Remove obsolete code 2023-08-27 19:20:52 +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