Commit graph

894 commits

Author SHA1 Message Date
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
Ming Ming
c496e2d1e2 Refactor: extract native lock and log 2023-08-27 00:32:08 +08:00
Ming Ming
9f43092dab Refactor: extract collection utilities to package 2023-08-26 01:35:16 +08:00
Ming Ming
b0cac85d7f Refactor: move class out of main package 2023-08-26 01:34:07 +08:00
Ming Ming
c1717a1f59 Refactor: extract string utilities 2023-08-26 01:34:07 +08:00
Ming Ming
2186cac470 Refactor: extract math utilities 2023-08-26 01:34:07 +08:00
Ming Ming
7236e033d9 Better way to store session variables 2023-08-24 23:32:50 +08:00
Ming Ming
c07819fb0e Refactor: move OrNull away from main package 2023-08-24 23:32:50 +08:00
Ming Ming
571c88a668 Refactor: move some generic widgets out of the main package 2023-08-21 03:05:05 +08:00
Ming Ming
f50d7fbf26 Refactor: move theme prefs to PrefController 2023-08-20 00:52:06 +08:00
Ming Ming
9d7d97b924 Refactor: extract log package 2023-08-18 00:37:48 +08:00
Ming Ming
4e5322553f Fix lint warnings 2023-08-16 00:44:58 +08:00
Ming Ming
8ba6526844 Move lint rules to a separated pacakge 2023-08-16 00:44:58 +08:00
Ming Ming
5a94a27db1 Fix "fix share" button showing incorrectly 2023-08-15 00:03:34 +08:00
Ming Ming
bc2767be46 Remove redundant code 2023-08-14 23:21:37 +08:00
Ming Ming
cf3c78ddee Change the path of account settings 2023-08-14 23:21:37 +08:00
Ming Ming
c226071582 Refactor: extract enhancement settings 2023-08-14 23:21:37 +08:00
Ming Ming
af125a0bc2 Reduce bottom tab bar height 2023-08-12 23:26:58 +08:00
Ming Ming
4774a5be22 Relocate file 2023-08-12 23:26:58 +08:00
Ming Ming
976af8960e Add localization for Catalan 2023-08-12 12:56:38 +08:00
Ming Ming
50f6fadb45 Fix warnings 2023-08-12 12:56:38 +08:00
Ming Ming
8a3a143b5d Sync translations with POEditor 2023-08-12 12:56:38 +08:00
Ming Ming
57278c0c0d Fix gesture conflict in collection browser 2023-08-12 12:56:38 +08:00
Ming Ming
14da434706 Versioning: 62.0 2023-08-09 22:48:05 +08:00
Ming Ming
320fbe515a Extract misc settings 2023-08-09 22:45:41 +08:00
Ming Ming
0932a17d8e Fix viewer buttons visible even when detail pane is opened 2023-08-09 22:45:41 +08:00
Ming Ming
f8882de9d7 Workaround upstream grid scrolling bug when there are multiple sliver grids 2023-08-09 01:30:57 +08:00
Ming Ming
85a9157a9d Tweak UI style 2023-08-09 01:30:57 +08:00
Ming Ming
3dce9af3dd Update dependency 2023-08-06 23:50:13 +08:00
Ming Ming
23a8597439 Tweak ui 2023-08-06 01:07:29 +08:00
Ming Ming
dd78b99dee Align icons in account dialog 2023-08-06 01:07:29 +08:00
Ming Ming
2c6351dc9b Add a confirmation dialog before signing out 2023-08-06 00:54:24 +08:00
Ming Ming
b6d14ba442 Versioning: 61.0 2023-08-05 17:03:39 +08:00
Ming Ming
4c5410d9d1 Fix NPE when syncing a delected face from Recognize 2023-08-05 16:39:25 +08:00
Ming Ming
46460e99e9 Set nav bar to black in viewer 2023-08-05 03:51:38 +08:00
Ming Ming
b403609f07 Fix navigation bar icon color 2023-08-05 03:51:38 +08:00
Ming Ming
ad5146607a Match navigation bar color with theme 2023-08-05 03:33:21 +08:00
Ming Ming
9201e394ac Simplify app language stream 2023-08-05 03:33:21 +08:00
Ming Ming
dfe03caf73 Limit max account dialog width (mainly for tablets) 2023-08-05 03:33:20 +08:00
Ming Ming
c304011ea3 Refactor: extract collection settings 2023-08-05 03:33:20 +08:00
Ming Ming
cad6ef6bf6 Refactor: extract view settings 2023-08-05 03:33:20 +08:00
Ming Ming
924a7c9105 Format code 2023-08-04 01:26:16 +08:00
Ming Ming
88cda20582 Remove write permission in share intent 2023-08-04 01:24:25 +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
a142436e7b Enlarge the account picker dialog 2023-07-31 01:08:11 +08:00
Ming Ming
4740cc2ac5 Versioning: 60.0 2023-07-29 17:25:57 +08:00
Ming Ming
86bf630c84 Tweak UI style 2023-07-29 02:50:57 +08:00
Ming Ming
e95764643b Update untranslated messages 2023-07-29 02:50:57 +08:00
Ming Ming
07dde17064 Add contributors link 2023-07-29 02:50:57 +08:00
Ming Ming
7935b5af7b Update help link 2023-07-29 02:50:57 +08:00
Ming Ming
507c197b81 Sync translations with poeditor 2023-07-29 02:50:57 +08:00
Ming Ming
b2e96f69d2 Improve bloc logs 2023-07-29 00:53:51 +08:00
Ming Ming
244a76c6df Update untranslated message 2023-07-28 01:26:07 +08:00
Ming Ming
c314daccec Remove obsolete code 2023-07-28 01:26:07 +08:00
Ming Ming
17749cd7a2 Refactor: extract photos settings 2023-07-28 01:25:48 +08:00
Ming Ming
9c2a9cb0ad Refactor: extract widget 2023-07-28 00:52:27 +08:00
Ming Ming
2c26908237 Tweak settings items 2023-07-28 00:52:27 +08:00
Ming Ming
d814769c01 Move exif settings to a separated page 2023-07-28 00:52:27 +08:00
Ming Ming
068fef8fde Fix cancel button not working in download notification 2023-07-26 01:41:26 +08:00
Ming Ming
3817b16847 Tweak UI style 2023-07-24 21:48:45 +08:00
Ming Ming
cadf9c7410 Support system theme color (aka Material You) 2023-07-24 21:48:45 +08:00
Ming Ming
2c50e06991 Update dependency 2023-07-24 21:48:45 +08:00
Ming Ming
3fd6a47270 Fix account dialog when theme switch is hidden 2023-07-24 02:01:30 +08:00
Ming Ming
e53d0ecf6c Animate settings highlight 2023-07-24 02:01:30 +08:00
Ming Ming
b017461887 Fix new db tables not truncated 2023-07-23 03:08:00 +08:00
Ming Ming
97d2513ded Fix face not focused in PeopleBrowser 2023-07-23 03:08:00 +08:00
Ming Ming
f66345cded Resync with server after modifying person provider 2023-07-22 22:27:54 +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
512e67d569 Fix stream not correctly closed on dispose 2023-07-22 22:27:19 +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
705a54762d Fix wakelock dependency 2023-07-10 22:22:54 +08:00
Ming Ming
0ef03ce887 Fix wakelock dependency 2023-07-10 21:27:55 +08:00
Ming Ming
f7d0453d84 Fix logger generator not working on mixins 2023-07-10 21:08:53 +08:00
Ming Ming
7d08d16af7 Remove obsolete code 2023-07-03 01:19:02 +08:00
Ming Ming
19df299c6c Fix text labels incorrectly clickable in the new collection browser 2023-06-19 01:15:11 +08:00
Ming Ming
e8b3c6e0a4 Add scaling ux to collecton browser 2023-06-19 01:15:11 +08:00
Ming Ming
ebd593e5be Replace zoom button with gesture in collection browser 2023-06-19 01:15:11 +08:00
Ming Ming
d511158e27 Tweak account picker dialog style 2023-06-19 01:15:11 +08:00