Commit graph

666 commits

Author SHA1 Message Date
Ming Ming
edebc64824 Ignore missing rows when removing files from cache db 2023-03-27 00:22:34 +08:00
Ming Ming
895e167a77 Update untranslated message 2023-03-27 00:22:34 +08:00
Ming Ming
b333c63ede Retain previous translators 2023-03-27 00:16:17 +08:00
ming
7d58ef3e86 Merge branch 'Fjuro-master-patch-98171' into 'master'
Update Czech language

See merge request nkming2/nc-photos!62
2023-03-26 15:09:26 +00:00
Fjuro
0859681c05 Update Czech language 2023-03-26 15:09:26 +00:00
Ming Ming
43d1df9aa2 Add margin when cropping to work with gesture navigation 2023-03-26 18:50:27 +08:00
ming
32447a310d Merge branch 'adaptive-icon' into 'master'
Add Android 13 Themed Icons support

See merge request nkming2/nc-photos!67
2023-03-25 17:57:56 +00:00
fischer-felix
b55cf3c886 Add Android 13 Themed Icons support 2023-03-25 17:57:56 +00:00
ming
cf78011d6b Merge branch 'master' into 'master'
Update Portuguese

See merge request nkming2/nc-photos!66
2023-03-25 10:42:16 +00:00
Fernando Santos
b186af0669 Update Portuguese 2023-03-25 10:42:16 +00:00
ming
9183e6fe2b Merge branch 'translation_es' into 'master'
Update spanish

See merge request nkming2/nc-photos!61
2023-03-25 08:53:19 +00:00
Ming Ming
c667550222 Use user's profile picture in appbar 2023-03-20 00:02:53 +08:00
Ming Ming
c5981b4d85 Increase cache size 2023-03-20 00:02:53 +08:00
Ming Ming
f5aca6f016 Fix snackbar covering bottom appbar in viewer 2023-03-19 17:02:50 +08:00
Ming Ming
8a429dc4cd Update copy_with 2023-03-19 12:47:03 +08:00
Ming Ming
a2baad029a Use clock lib to get current time 2023-03-13 19:55:39 +08:00
Ming Ming
10f1f84dff Relocate db test case 2023-02-26 01:34:25 +08:00
Ming Ming
7a17f2b274 Refactor: move nextcloud api to dedicated pacakge 2023-02-26 01:29:14 +08:00
Ming Ming
6e00d44871 Tweak imports 2023-02-20 22:58:02 +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
427b43fcb8 Update dependency 2023-01-14 01:54:22 +08:00
Ming Ming
bbdfe10a8d Back to top when tapping the Photos navigation button again 2023-01-10 00:58:59 +08:00
Ming Ming
33b26d5ca1 Tapping the same page in NavigationBar should do nothing 2023-01-10 00:58:59 +08:00
Ming Ming
5459919fab Tidy up source files 2023-01-10 00:58:59 +08:00
luckkmaxx
ff62529c91 Update spanish 2023-01-05 01:11:00 +01:00
Ming Ming
6694149c29 Versioning: 57.0 2023-01-05 00:44:37 +08:00
Ming Ming
635a3c5c83 Versioning: 56.0 2023-01-01 16:59:21 +08:00
Ming Ming
346ad2a028 Move clear cache db out of the hidden dev settings 2023-01-01 16:59:21 +08:00
Ming Ming
7b1a70d1d1 Refactoring: migrate ThemeSettings to use bloc 2023-01-01 16:59:21 +08:00
Ming Ming
232be4d267 Set proper git ref for to_string package 2023-01-01 16:59:21 +08:00
Ming Ming
eb3e86f67c Revert cloud progress indicator to the original style 2023-01-01 16:59:21 +08:00
Ming Ming
1f3cbad7bc Don't loop video during slieshow 2023-01-01 16:59:21 +08:00
Ming Ming
075f84decc Refactoring: extract widget 2022-12-26 18:15:13 +08:00
Ming Ming
5468658bc2 Save and restore video player settings 2022-12-26 18:15:13 +08:00
Ming Ming
34ee7bbe19 Tweak mute icon in video player 2022-12-26 11:35:32 +08:00
Ming Ming
22fd922125 Add loop control in video player 2022-12-26 11:35:32 +08:00
Ming Ming
c48492597e Separate builder and annotation package 2022-12-26 11:35:32 +08:00
Ming Ming
6905e503fe Tweak generated logger code 2022-12-21 00:49:14 +08:00
Ming Ming
1fc9de5af2 Reenable hero using the thumbnail 2022-12-19 00:08:17 +08:00
Ming Ming
9ab9f11fb5 Fix wrong cache manager used 2022-12-19 00:08:17 +08:00
Ming Ming
69d6ec9628 Make aspect ratio required when using the preview api 2022-12-19 00:08:17 +08:00
Ming Ming
308f351863 Helper fn to get preview url for a file 2022-12-19 00:08:17 +08:00
Ming Ming
ae8156e0b7 Extract thumbnail widget 2022-12-19 00:08:17 +08:00
Ming Ming
d2d0b44f60 Show scrollbar thumb earlier 2022-12-19 00:08:16 +08:00
Ming Ming
187b647cb5 Tidy up code 2022-12-19 00:08:16 +08:00
Ming Ming
20095ffb4e Fix scrollbar thumb not using theme color 2022-12-19 00:08:16 +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
8c85f98293 Fix exception when printing Response 2022-12-14 00:42:00 +08:00
Ming Ming
bb7919ff15 Fix cancel button not working while waiting for server response 2022-12-14 00:42:00 +08:00
Ming Ming
d51724a16b Document test cases 2022-12-14 00:42:00 +08:00
Ming Ming
ca8b360b23 Remove unnecessary import 2022-12-11 16:43:22 +08:00
Ming Ming
352705872a Refactoring: extract widget class 2022-12-11 16:39:05 +08:00
Ming Ming
e965871d4e Add tests for ListLocationGroup 2022-12-11 16:39:04 +08:00
Ming Ming
2136300b27 Fix duplicated places when there are >1 roots in account 2022-12-11 16:39:04 +08:00
Ming Ming
7b6639d2e9 Guard setState use in async callback 2022-12-11 16:39:04 +08:00
Ming Ming
ed5343e32d Versioning: 55.2 2022-12-11 02:21:28 +08:00
Ming Ming
51636c6c32 Versioning: 55.1 2022-12-10 22:45:33 +08:00
Ming Ming
5884919c1b Fix background isolates on Flutter 3.3 2022-12-10 22:45:33 +08:00
Ming Ming
2990110007 Versioning: 55.0 2022-12-10 13:27:42 +08:00
Ming Ming
a84dd389ef Add changelog banner 2022-12-10 13:26:51 +08:00
Ming Ming
ece16e6765 Add signing configs to gradle 2022-12-10 11:53:14 +08:00
Ming Ming
ed3884eb5d Tweak cloud progress style 2022-12-09 00:37:50 +08:00
Ming Ming
94113b4df4 Improve messaging while connecting to server 2022-12-09 00:37:50 +08:00
Ming Ming
ccb8c821cf Update untranslated messages 2022-12-09 00:03:28 +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
18b2dd9c96 Prefer immutable fields 2022-12-08 21:02:27 +08:00
Ming Ming
b3d6d30963 Target Android 12 to match play store requirements 2022-12-04 12:06:40 +08:00
Ming Ming
11279b4119 Show proper progress during initial sync 2022-12-04 12:06:40 +08:00
Ming Ming
94a34f3124 Revert progress indicator in appbar 2022-12-04 12:06:40 +08:00
Ming Ming
82cdd8b6a1 Fix exception when counting with empty file list 2022-12-04 12:06:40 +08:00
Ming Ming
98696b9a47 Fix potential use of disposed context 2022-12-04 12:06:40 +08:00
luckkmaxx
5d910aa455 Spanish updates 2022-12-04 04:02:13 +00:00
Ming Ming
2e9d70d878 Tweak cloud progress indicator design 2022-11-27 18:46:47 +08:00
Ming Ming
938a0dfb4f Fix server path not saved in Account 2022-11-27 18:46:47 +08:00
Ming Ming
1bf6dfba5a Add a cancel button in Connect 2022-11-27 18:46:47 +08:00
Ming Ming
97cf688359 Tweak messaging in Connect 2022-11-27 17:45:03 +08:00
Ming Ming
abfb13e7c6 Tweak sign in theme 2022-11-27 17:45:03 +08:00
Ming Ming
70d293078d Add theme color description 2022-11-26 17:52:31 +08:00
Ming Ming
91978a6cc8 Allow picking theme color from color wheel 2022-11-26 17:52:31 +08:00
Ming Ming
a6bd406ce9 Redesign connect page 2022-11-25 00:54:19 +08:00
Ming Ming
173817dadf Add a cloud-shaped progress indicator 2022-11-25 00:54:19 +08:00
Ming Ming
76e804dc8b Redesign sign in page 2022-11-25 00:54:19 +08:00
Ming Ming
dbe74cf2d5 Restore legacy sign in in debug mode for quick dev access 2022-11-22 22:12:52 +08:00
steffenmalisi
34066215c0
[123] change login form to nextcloud login flow v2 (#1) 2022-11-20 23:35:53 +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
c0e3efab16 Refactoring: extract widget 2022-11-20 09:53:39 +08:00
Ming Ming
8eaf1a7b7b Migrate buttons in HomeAlbum to m3 chips 2022-11-20 09:53:39 +08:00
Ming Ming
0e31d2fb66 Tweak top & bottom app bar style 2022-11-20 09:53:39 +08:00
Ming Ming
cd77ffc8de Update dependency 2022-11-15 00:11:24 +08:00
Ming Ming
5eba466d9b Make image expand to cover the rect in photo list 2022-11-13 19:48:01 +08:00
Ming Ming
7b3b0fed40 Persist RGB value for theme color instead 2022-11-13 18:20:43 +08:00
Ming Ming
658beef3bd Migrate deprecated methods 2022-11-13 17:50:09 +08:00
Ming Ming
b8780c9ddb Fix lint warnings 2022-11-13 17:50:09 +08:00
Ming Ming
1a7f2a2bbb Upgrade to flutter 3.3 2022-11-13 17:50:09 +08:00
Ming Ming
bd11aef1db Tweak selected item style 2022-11-13 17:50:09 +08:00
Ming Ming
597961c821 Add alt color schemes that can be picked in settings 2022-11-13 12:50:01 +08:00
Ming Ming
86cdc1f9c8 Make app bar in home pages translucent when scrolled 2022-11-13 12:49:29 +08:00
Ming Ming
10aa594057 Move load indicator to app bar in home pages 2022-11-13 12:49:29 +08:00
Ming Ming
eddb94a3e6 Speed up tab transition in home 2022-11-13 12:49:29 +08:00
Ming Ming
93d966ad08 Material 3 theme 2022-11-13 12:49:29 +08:00
Ming Ming
9682f81f39 Update untranslated message 2022-11-13 12:49:24 +08:00
Petri Hämäläinen
61d476f4f7 Latest Finnish translations and fixes 2022-11-07 14:22:38 +02:00
Ming Ming
cf80b0461d Fix all video controls being unresponsive 2022-11-07 19:47:53 +08:00
Ming Ming
5fbed436c2 Make status bar transparent on android 2022-11-07 19:47:53 +08:00
Ming Ming
62b28c67a0 Migrate wrong bestDateTime in DB on upgrade 2022-11-07 19:47:53 +08:00
Ming Ming
72ebbfdd08 Fix unsupported files returned from scan account bloc 2022-10-30 17:20:34 +08:00
Ming Ming
9759f172db Fix SyncDir always consider root dirs as changed 2022-10-30 12:07:38 +08:00
Ming Ming
62716f3f72 Fix error handling when share folder is not under root dirs 2022-10-30 11:42:07 +08:00
Ming Ming
9e58a3a9ca Fix touch cache not cleared when refreshing file list 2022-10-29 19:07:05 +08:00
Ming Ming
037fbd845d Fix not updating bestDateTime when updating file property 2022-10-29 19:07:05 +08:00
Ming Ming
054d6bbae5 Fix connection error not handled in Photos 2022-10-29 15:42:54 +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
07534e308c Fix removing item from viewer is not reflected in dynamic album browser 2022-10-23 21:48:46 +08:00
Ming Ming
f66d6cbf47 Fix accessig db out of a transaction 2022-10-19 00:12:35 +08:00
Ming Ming
f004fc6801 Hide processing notification when removing from viewer 2022-10-17 00:16:36 +08:00
Ming Ming
c398dabc03 Don't dismiss viewer after some actions 2022-10-17 00:16:36 +08:00
Ming Ming
9c7ac04f25 Play slideshow in reverse order 2022-10-17 00:16:36 +08:00
Ming Ming
7eb7701e93 Use non stable sort as it doesn't work well with polymorphism 2022-10-17 00:16:04 +08:00
Ming Ming
50673be1f0 Disable Hero animation as viewer size initially is 0 with partial files 2022-10-16 23:23:34 +08:00
Ming Ming
5ac326b5c8 Fix weird scrollcontroller state causing detail pane to open wrongly 2022-10-16 23:23:34 +08:00
Ming Ming
497b75ce53 Query only a subset of File object during startup 2022-10-16 23:23:34 +08:00
Ming Ming
2ad104a92e Fix blinking image when switching to next one with detail pane opened 2022-10-16 16:15:04 +08:00
Ming Ming
2505d817ec Fix type in code analyzer 2022-10-16 16:15:04 +08:00
Ming Ming
e6ed521a54 Add step to List.slice 2022-10-16 16:15:04 +08:00
Ming Ming
5243e300fb Versioning: 54.0 2022-10-01 12:39:32 +08:00
Ming Ming
f0ea012056 Improve logs 2022-09-26 20:41:58 +08:00
Ming Ming
241b1c4775 Rework touch hack to improve startup performance 2022-09-26 20:41:58 +08:00
Ming Ming
c7322bccff Fix description not visible under light theme 2022-09-26 20:41:58 +08:00
Ming Ming
aa68035b88 Fix not syncing favorites in share folder 2022-09-25 13:52:02 +08:00
Ming Ming
42f5ce5a67 Fix scan bloc not actaully filtering duplicated query events 2022-09-25 13:52:02 +08:00
Ming Ming
3308e91133 Fix running StartupSync before finishing query 2022-09-25 13:52:02 +08:00
Ming Ming
7f50bcaa58 Update Spanish (by luckkmaxx) 2022-09-25 10:19:30 +08:00
Ming Ming
c4886a56dd Versioning: 53.1 2022-09-21 21:58:40 +08:00
Ming Ming
0175a694b1 Versioning: 53.0 2022-09-16 23:35:13 +08:00
Ming Ming
50a44008df Update Spanish (contributed by luckkmaxx) 2022-09-16 23:35:13 +08:00
Ming Ming
aaee53b68f Replace enhancement dialog with a nice page 2022-09-16 12:36:26 +08:00
Ming Ming
a43aa4cbbd Add auto retouch enhancement 2022-09-15 18:45:01 +08:00
Ming Ming
2a39fe6cf7 Versioning: 52.0 2022-09-12 11:41:28 +08:00
Ming Ming
104025d424 Show a dialog to pick persist location on 1st run 2022-09-11 23:34:11 +08:00
Ming Ming
ddf059e609 Fix cropping and rotating photos with EXIF orientation set 2022-09-11 15:33:52 +08:00
Ming Ming
348802efc5 Add color pop enhancement 2022-09-11 11:10:36 +08:00
Ming Ming
14500fe8f1 Update some text 2022-09-10 15:51:27 +08:00
Ming Ming
4e821514e6 Rename enhanced collection to edited to be more generic 2022-09-10 15:23:35 +08:00
Ming Ming
fbec0f1af8 Use settings label in settings page instead of dedicated text 2022-09-10 15:23:35 +08:00
Ming Ming
7b030e5931 Add pref to updated Editor settings 2022-09-10 15:13:26 +08:00
Ming Ming
eda68ff55c Add pref to control whether to save to server/device 2022-09-10 15:13:26 +08:00
Ming Ming
3df8fbd7ca Schedule a metadata task after image processor is done 2022-09-10 12:19:04 +08:00
Ming Ming
a4a4d952f7 Trigger a Photos tab refresh after image processor is done 2022-09-10 12:19:04 +08:00
Ming Ming
abdded09ca Edited/enahanced images are now uploaded to the server 2022-09-10 12:04:08 +08:00
Ming Ming
fe7cd38200 Fix metadata task in some cases does not start unless refreshing twice 2022-09-10 01:02:02 +08:00
Ming Ming
c47880be37 Support sharing a reduced quality preview 2022-09-10 01:02:02 +08:00
Ming Ming
c57d4aa717 Versioning: 51.1 2022-09-08 15:26:03 +08:00
Ming Ming
ce4877e416 Remove leading/trailing space from search term 2022-09-08 15:26:03 +08:00
Ming Ming
9328244ed6 Versioning: 51.0 2022-09-08 13:10:00 +08:00
Ming Ming
9fd57951ed Search now return results from tags, locations and people 2022-09-08 13:10:00 +08:00
Ming Ming
a3c98267eb Add hero animation when opening image 2022-09-08 13:10:00 +08:00
Ming Ming
fd676e0ac4 Simplify code 2022-09-08 13:10:00 +08:00
Ming Ming
3acc5d1825 Tweak style 2022-09-08 13:10:00 +08:00
Ming Ming
8f2a1d4155 Refactor: remove magic constant 2022-09-08 13:10:00 +08:00
Ming Ming
75d05e767e Crop an image in editor 2022-09-08 13:10:00 +08:00
Ming Ming
7ffe4a55b9 Change orientation of an image in editor 2022-09-06 16:31:17 +08:00
Ming Ming
08f372d691 Allow hiding the activation order in toolbar btn 2022-09-06 16:31:17 +08:00
Ming Ming
37bf5500e3 Fix missing setState when tweaking color tools 2022-09-06 16:31:17 +08:00
Ming Ming
a4f2fb0bce Rename color filter to filter to be more generic 2022-09-06 16:31:17 +08:00
Ming Ming
839ef8bb03 Refactor: extract color tools from main editor 2022-09-06 16:31:17 +08:00
Ming Ming
50849817a6 Add an icon to clearly indicate that local files are not synced 2022-09-05 13:06:01 +08:00
Ming Ming
04fcbfde94 Rearrange some settings 2022-09-05 12:54:03 +08:00
Ming Ming
e320b6b741 Set day range of memory albums 2022-09-05 12:54:02 +08:00
Ming Ming
3040cd123e Move memories settings to a new page 2022-09-05 12:54:02 +08:00
Ming Ming
ecf85449d2 Versioning: 50.3 2022-09-04 18:16:45 +08:00
Ming Ming
36a2d8946e Hide the create album dialog on slow network 2022-09-04 18:01:10 +08:00
Ming Ming
256775ffae Fix shared file is always ignored
The code is wrongly comparing with a / prefix that's got removed
2022-09-04 18:01:10 +08:00
Ming Ming
e7f1354118 Remove unused import 2022-09-03 00:53:17 +08:00
Ming Ming
18f3345b3f Enable GMaps on web
There's no reason to disable it on web in the first place
2022-09-01 18:50:06 +08:00
Ming Ming
b592c37faf Versioning: 50.2 2022-09-01 18:42:54 +08:00
Ming Ming
41d60c6051 Add missing db functions for web 2022-09-01 18:42:54 +08:00
Ming Ming
d01fd33f62 Update dependency 2022-09-01 18:38:18 +08:00
Ming Ming
2de766c2de Versioning: 50.1 2022-08-31 23:14:07 +08:00
Ming Ming
cf23bcfdb0 Fix broken tests 2022-08-31 23:14:07 +08:00
Ming Ming
288e6f4b3c Fix return type does not match between app and web 2022-08-31 22:21:32 +08:00
Ming Ming
4e74d67b95 Fix app not detecting album changes in server 2022-08-31 22:21:32 +08:00
Ming Ming
fe99b6b1f0 Fix metadata task progress not shown correctly on web 2022-08-31 22:21:32 +08:00
Ming Ming
7497e15267 Versioning: 50.0 2022-08-30 02:37:30 +08:00
Ming Ming
116884b5d4 Also allow searching admin1 and admin2 regions 2022-08-30 02:37:30 +08:00
Ming Ming
5925d3f59b Reenable GMaps on devices with new renderer 2022-08-30 02:37:30 +08:00
Ming Ming
ebff61b08e Tweak gradle properties 2022-08-30 02:37:30 +08:00
Ming Ming
b628647666 Update dependencies 2022-08-30 02:37:30 +08:00
Ming Ming
8b2a069379 Update kotlin 2022-08-29 23:34:58 +08:00
Ming Ming
febfb5e557 Sort people browser by number of photos 2022-08-29 23:34:58 +08:00
Ming Ming
cb285722b1 Limit number of entries shown in search landing page 2022-08-29 23:34:58 +08:00
Ming Ming
66d31d3c20 Also show the geocoding dialog in other pages 2022-08-29 23:34:01 +08:00
Ming Ming
075d208fff Sort places by count instead of time 2022-08-29 23:34:01 +08:00
Ming Ming
ac6b3586d3 Add places to search suggestion 2022-08-29 23:34:01 +08:00
Ming Ming
88727f1818 Show places in search page 2022-08-29 23:34:01 +08:00