Commit graph

1107 commits

Author SHA1 Message Date
Ming Ming
478c25b5d0 Fix user ID and display name mixed up in logic 2022-07-24 22:01:49 +08:00
Ming Ming
413c185290 Improve log 2022-07-24 22:01:48 +08:00
Ming Ming
c3f50f20f5 Add hidden dev options to clear cache db 2022-07-24 22:01:48 +08:00
Ming Ming
90d73ecc9c Enable WAL mode 2022-07-24 22:01:48 +08:00
Ming Ming
c2d7cdb30a More test cases 2022-07-24 22:01:48 +08:00
Ming Ming
878699b02c Fix account not deleted from db after signing out 2022-07-24 22:01:47 +08:00
Ming Ming
d85ed4102b Filter out x86 libraries 2022-07-24 22:01:47 +08:00
Ming Ming
c2cc6b5842 Fix invalid DateTimeOriginal in exif breaking DB logic 2022-07-24 22:01:47 +08:00
Ming Ming
e0236e8644 Fix e2ee dir get added and removed repeatedly 2022-07-24 22:01:47 +08:00
Ming Ming
2c4ec3447b Switch local DB from IndexedDB to SQLite 2022-07-24 22:01:47 +08:00
Ming Ming
378e4f0b67 Fix edited photos not shown in Enhance collection 2022-07-24 22:01:46 +08:00
Ming Ming
be28551386 Add link to help wiki 2022-07-24 22:01:46 +08:00
Ming Ming
654627ebbb Adjust image color 2022-07-24 22:01:46 +08:00
Ming Ming
552d6d30ee ImageProvider for raw RGBA pixels 2022-07-24 22:01:45 +08:00
Ming Ming
f903fd8e6f Fix metadata service not stopping correctly with >1 roots 2022-07-24 22:01:45 +08:00
Ming Ming
468b74b15d Override global brightness w/ AppTheme 2022-07-24 22:01:45 +08:00
Ming Ming
c5bb14e07b Update untranslated messages 2022-07-24 22:01:45 +08:00
pHamala
3183b51a8d Latest finnish translations and fixes 2022-07-20 10:14:52 +03:00
Ming Ming
16dbed324c Refactor: extract permission handling 2022-07-16 02:17:29 +08:00
Ming Ming
1f0c1b74c0 Update ndk 2022-07-16 02:17:29 +08:00
Ming Ming
ef5b2a0d70 Add identity hashcode to File 2022-07-16 02:17:29 +08:00
Ming Ming
d665859261 Update untranslated messages 2022-07-16 02:16:26 +08:00
luckmax
73b10236a1 Update and enhance spanish 2022-07-14 20:24:50 +00:00
Ming Ming
0f573d1370 Fix remote storage dir considered when importing album 2022-07-12 03:49:22 +08:00
Ming Ming
d949c9f1bf Wrap long logs that get truncated by android 2022-07-11 15:07:45 +08:00
Ming Ming
03e38325f6 Double tap to exit 2022-07-11 15:06:38 +08:00
Ming Ming
c4fd0fafdd Set account label 2022-07-11 02:55:13 +08:00
Ming Ming
ac01e35e89 Update transitive dependencies 2022-07-09 22:20:16 +08:00
Ming Ming
1c502c5ace Update video_player 2022-07-09 22:20:16 +08:00
Ming Ming
292e880b73 Update battery_plus_linux 2022-07-09 22:20:16 +08:00
Ming Ming
fe62c5f86a Update device_info_plus_windows 2022-07-09 22:20:16 +08:00
Ming Ming
98adf40ba6 update transitive 2022-07-09 22:20:16 +08:00
Ming Ming
2de1fe54d9 Update bloc 2022-07-09 22:20:16 +08:00
Ming Ming
bd855ec139 Update transitive dependencies 2022-07-09 20:02:55 +08:00
Ming Ming
3bf4fae19d Update native_device_orientation 2022-07-09 20:00:52 +08:00
Ming Ming
c83458a866 Update connectivity_plus 2022-07-09 20:00:52 +08:00
Ming Ming
bfaf99553b Update screen_brightness 2022-07-09 20:00:51 +08:00
Ming Ming
b5c9995438 Update wakelock 2022-07-09 20:00:14 +08:00
Ming Ming
ef1521296d Update google maps 2022-07-09 20:00:12 +08:00
Ming Ming
1cab879cd6 Update flutter_lints 2022-07-09 19:58:51 +08:00
Ming Ming
f55f68b593 Update xml 2022-07-09 19:25:56 +08:00
Ming Ming
a9ab10508e Update synchronized 2022-07-09 19:25:56 +08:00
Ming Ming
9048123118 Update battery_plus 2022-07-09 19:25:56 +08:00
Ming Ming
62c0d3c1f8 Update shared_preferences 2022-07-09 19:25:55 +08:00
Ming Ming
3ec9e8157e Update rxdart 2022-07-09 19:25:55 +08:00
Ming Ming
a271edc1b4 Update kiwi 2022-07-09 19:25:55 +08:00
Ming Ming
9713416ee6 Update flutter_map 2022-07-09 19:25:54 +08:00
Ming Ming
e1db2fe943 Update device_info_plus 2022-07-09 19:24:01 +08:00
Ming Ming
68f8433dd3 Update path_provider 2022-07-09 19:24:01 +08:00
Ming Ming
ee6767f751 Update mime 2022-07-09 19:24:01 +08:00
Ming Ming
397eaefe9e Update url_launcher 2022-07-09 19:24:00 +08:00
Ming Ming
310fa424d6 Make Lock support running in unit tests 2022-07-08 16:46:12 +08:00
Ming Ming
715bfaa0ee Fix missing parent dir not handled corrently when uploading file 2022-07-08 16:46:12 +08:00
Ming Ming
f1c42aef88 Update dependency 2022-07-06 03:05:48 +08:00
Ming Ming
cfd2037903 Ignore ImageDescription tag in exif 2022-07-06 03:05:48 +08:00
Ming Ming
c16efaa90e Update native_device_orientation to fix build warning 2022-07-06 00:06:53 +08:00
Ming Ming
0df2bc9253 Update cached_network_image to fix build warning 2022-07-06 00:06:53 +08:00
Ming Ming
8fe9283b93 Update visibility_detector to fix build warning 2022-07-06 00:06:53 +08:00
Ming Ming
f7d5a9ebec Update flutter_typeahead to fix build error 2022-07-06 00:06:53 +08:00
Ming Ming
9e68caabaa Update win32 to fix build error 2022-07-06 00:06:53 +08:00
Ming Ming
2bcc673a89 Switch to const constructor 2022-07-06 00:06:53 +08:00
Ming Ming
17838d0704 Fix warnings on Binding.instance 2022-07-06 00:06:53 +08:00
Ming Ming
3b537ec76d Upgrade to flutter 3 2022-07-06 00:06:53 +08:00
Ming Ming
63e977b83b Fix scroll label invisible under light theme 2022-07-06 00:05:41 +08:00
Ming Ming
f90acc076d Move label away from scrollbar thumb 2022-07-06 00:04:43 +08:00
Ming Ming
d183d27517 Show year month label when scrolling 2022-07-06 00:04:43 +08:00
Ming Ming
534fcc7546 Format code 2022-07-06 00:04:43 +08:00
Ming Ming
12e4118b99 (Web) Hide irrelevant settings 2022-07-06 00:04:43 +08:00
Ming Ming
21e0bff949 Update untranslated messages 2022-07-06 00:03:34 +08:00
nkming2
363f37e429 Merge branch 'master' into 'master'
Updated spanish

See merge request nkming2/nc-photos!47
2022-07-05 15:02:46 +00:00
luckmax
882edc8c6c Updated spanish 2022-07-05 15:02:45 +00:00
pHamala
5fff51c235 Latest finnish translations 2022-06-22 12:40:15 +03:00
Ming Ming
e54685a958 Versioning: 45.0 2022-06-09 03:08:46 +08:00
Ming Ming
53ef33b545 Update el translations 2022-06-09 03:05:50 +08:00
Ming Ming
e852075b01 Build photo list in isolate 2022-06-08 19:09:15 +08:00
Ming Ming
42495455b5 Remove obsolete functions 2022-06-08 13:05:40 +08:00
Ming Ming
763762d385 Parse json in isolate 2022-06-08 13:05:40 +08:00
Ming Ming
687cbbc4df Parse XML response in isolate 2022-06-08 13:05:40 +08:00
Ming Ming
a3c92baca5 Allow processing exif over data network 2022-06-08 02:54:11 +08:00
Ming Ming
b2c61766bb Tweak wifi detection timeout 2022-06-08 02:53:07 +08:00
Ming Ming
49231209a1 Get rid of magic constants 2022-06-08 02:53:07 +08:00
Ming Ming
94e7c82709 Remove obsolete code 2022-06-08 02:53:07 +08:00
Ming Ming
4839d5b0bb Fix not setting foreground mode early enough 2022-06-08 02:53:07 +08:00
Ming Ming
e99711e317 Fix private members not named correctly 2022-06-08 02:53:07 +08:00
Ming Ming
5d8e5b25b3 Time some fn 2022-06-07 01:39:29 +08:00
Ming Ming
f01ab2f648 Get rid of useless hack 2022-06-07 01:39:29 +08:00
Ming Ming
511e95b237 Add template type to stream extension 2022-06-07 01:39:29 +08:00
Ming Ming
b809809727 Util fn to trasform list in-place 2022-06-07 01:39:29 +08:00
Ming Ming
f6614a3542 Refactor: inplace stable sort 2022-06-07 01:39:29 +08:00
Ming Ming
29eebe4460 Fix hard coded string 2022-06-06 15:53:24 +08:00
Ming Ming
924a05a01e Tweak logs 2022-06-06 15:49:10 +08:00
Ming Ming
25ba0c0702 Versioning: 44.1 2022-06-01 13:57:25 +08:00
Ming Ming
b6f67db29a Versioning: 44.0 2022-05-29 03:02:37 +08:00
Ming Ming
7b52f9f010 Use more cache during the inital query 2022-05-28 17:01:53 +08:00
Ming Ming
8ce0125879 Limit number of async queries to be fired at the same time
While the plugin can handle this no problem, the dart side will get stuck when all the results come in over a tiny period of time
2022-05-28 14:38:11 +08:00
Ming Ming
92980e4062 Fix potential stack overflow when querying lots of files 2022-05-28 14:38:11 +08:00
Ming Ming
6b5f62d91c Remove pointless singleton 2022-05-27 01:56:35 +08:00
Ming Ming
4ab4f83015 Fix incorrect lock used for delete ops 2022-05-27 01:56:35 +08:00
Ming Ming
32bef588a1 Support sorting albums by filename 2022-05-26 12:01:12 +08:00
Ming Ming
083263c561 Support sorting by filename in Photos tab 2022-05-26 12:01:12 +08:00
Ming Ming
3982f5d5ff Add AlbumSortProvider test 2022-05-26 12:01:12 +08:00
Ming Ming
dbb7af2848 Add enhancement: style transfer 2022-05-25 21:41:49 +08:00
Ming Ming
e49f06e7bc Query device RAM size 2022-05-25 21:41:49 +08:00
Ming Ming
2bcc8ccb49 Don't use direct link to gitlab
In case we move away from GitLab later
2022-05-25 19:08:25 +08:00
Ming Ming
7a5282ad91 Revert "Move namespace from manifest to build files"
This reverts commit b77df01a85.
2022-05-22 02:11:17 +08:00
Ming Ming
b0f1f013ba Versioning: 43.0 2022-05-21 23:56:12 +08:00
Ming Ming
9d51b2d40e Build debug symbols in release build 2022-05-21 23:55:43 +08:00
Ming Ming
b77df01a85 Move namespace from manifest to build files
As instructred by Android Studio
2022-05-21 23:07:32 +08:00
Ming Ming
50c72f64b3 Update gradle 2022-05-21 23:07:32 +08:00
Ming Ming
6758149a40 Tweak style 2022-05-21 19:52:45 +08:00
Ming Ming
038f2a3b39 Add enhancement: super resolution with ESRGAN 2022-05-21 19:39:13 +08:00
Ming Ming
477e694133 Format code 2022-05-21 19:37:39 +08:00
Ming Ming
770d4527da Store first run time 2022-05-21 19:37:39 +08:00
Ming Ming
3d81fb39a6 Change error type 2022-05-21 19:37:39 +08:00
Ming Ming
83ee332b73 Update untranslated messages 2022-05-21 19:37:31 +08:00
nkming2
f4430f3d39 Merge branch 'master' into 'master'
Latest finnish translations

See merge request nkming2/nc-photos!45
2022-05-21 11:31:46 +00:00
pHamala
1801889345 Latest finnish translations 2022-05-21 09:09:34 +03:00
Ming Ming
e4c7f52ec1 Ignore e2ee dirs when listing content 2022-05-17 01:59:55 +08:00
Ming Ming
2645c7f977 Corrently handle E2EE dirs in dir picker 2022-05-17 01:59:55 +08:00
Ming Ming
8a6beae5d0 Tweak style 2022-05-17 01:58:55 +08:00
Ming Ming
89efb79006 Reduce button text length 2022-05-17 01:58:55 +08:00
Ming Ming
fbe5f4b1dc Fix listtile bg overflowing the parent bound 2022-05-16 20:03:06 +08:00
Ming Ming
0a9256f0b0 Versioning: 42.0 2022-05-16 04:39:07 +08:00
Ming Ming
afefa0c136 Allow setting the iteration of ZeroDCE 2022-05-16 04:32:51 +08:00
Ming Ming
c0c49361b8 Allow setting the radius of Portrait blur 2022-05-16 04:32:51 +08:00
Ming Ming
cef00a60da Versioning: 41.2 2022-05-15 22:17:39 +08:00
Ming Ming
3cc6bd3065 Versioning: 41.1 2022-05-15 19:49:41 +08:00
Ming Ming
021291705c Fix text not centered correctly 2022-05-15 19:48:48 +08:00
Ming Ming
828d3df28e Versioning: 41.0 2022-05-15 16:46:50 +08:00
Ming Ming
c784cf63ff Reduce logs in release build 2022-05-15 16:46:50 +08:00
Ming Ming
9ecdb53e69 Show intro dialog for photo enhancement 2022-05-15 16:46:50 +08:00
Ming Ming
fb2bb30e0f Update untranslated messages 2022-05-15 16:46:50 +08:00
Ming Ming
e7a89c93af Allow setting resolution of enhanced photos 2022-05-15 16:46:50 +08:00
Ming Ming
24a5dfd3f4 Format code 2022-05-14 15:00:43 +08:00
Ming Ming
b03d6b941e Tweak style 2022-05-14 15:00:43 +08:00
Ming Ming
762fe521b2 Add enhancement: portrait blur with deeplab 2022-05-14 15:00:43 +08:00
Ming Ming
c84083886b Check permission before querying local files 2022-05-14 15:00:43 +08:00
Ming Ming
6d0f612c7b Enhance original file instead of cached preview 2022-05-14 15:00:43 +08:00
Ming Ming
192fe923a2 Tweak style 2022-05-14 15:00:43 +08:00
Ming Ming
e088b1dbaa Share enhanced photos 2022-05-14 15:00:43 +08:00
Ming Ming
65d8825b6b Fix permission not requested before enhancing photo 2022-05-14 15:00:43 +08:00
Ming Ming
1cf2e565ba Handle android permission request on dart side 2022-05-14 15:00:43 +08:00
Ming Ming
80689fa431 Open enhanced photo browser from notification 2022-05-14 15:00:43 +08:00
Ming Ming
ef4daf552b Browse enhanced photos 2022-05-14 15:00:43 +08:00
Ming Ming
39840c8e45 Local image file viewer 2022-05-14 15:00:43 +08:00
Ming Ming
c38ace893d Delete local files 2022-05-14 15:00:43 +08:00
Ming Ming
d33e3af806 Delete files via MediaStore api 2022-05-14 15:00:43 +08:00
Ming Ming
4da8b95c61 List local files 2022-05-14 15:00:43 +08:00
Ming Ming
b71620ee28 Query files from media store 2022-05-14 15:00:43 +08:00
Ming Ming
c6e6b99128 Add image provider backed by content uri 2022-05-14 15:00:43 +08:00
Ming Ming
a65c8d824e Add enhance button in viewer 2022-05-14 15:00:43 +08:00
Ming Ming
731370e994 Support loading metadata from local file 2022-05-14 15:00:43 +08:00
Ming Ming
4beb93c552 Overhaul and migrate MediaStore 2022-05-14 15:00:43 +08:00
Ming Ming
8095a15972 Update gitignore 2022-05-14 15:00:43 +08:00
Ming Ming
0b81ab2a69 Remove unnecessary import 2022-05-14 15:00:43 +08:00
Ming Ming
843497a708 Streamline code 2022-05-14 15:00:43 +08:00
Ming Ming
c979d644e7 Android version code 2022-05-14 15:00:43 +08:00
Ming Ming
e63ae17014 Add utility fn 2022-05-14 15:00:43 +08:00
Ming Ming
7eff5639bf Rename localized string 2022-05-14 15:00:04 +08:00
Ming Ming
86eceb4e43 Format code 2022-05-14 14:49:54 +08:00
Ming Ming
880d599776 Match the native language name with Android's 2022-05-14 14:47:31 +08:00
Ming Ming
0d34625fac Enable zh translation 2022-05-14 14:46:31 +08:00
Ming Ming
d6c980c917 Add zh tranlations 2022-05-14 14:33:28 +08:00
Ming Ming
b4c692da05 Update untranslated messages 2022-05-11 02:55:15 +08:00
nkming2
68c46664e4 Merge branch 'master' into 'master'
Update FR translations

See merge request nkming2/nc-photos!44
2022-05-10 18:47:53 +00:00
Mateo Greil
7c3fd33971 Update FR translations 2022-05-10 18:47:53 +00:00
Ming Ming
72037c3c56 Add gitlab flavor 2022-05-08 00:05:33 +08:00
Ming Ming
15fd318a97 Fix CI not working after moving code into subdir 2022-04-23 16:59:07 +08:00
Ming Ming
da3a4e2cca Versioning: 40.0 2022-04-23 04:30:41 +08:00
Ming Ming
9625955615 Tweak how multiple translators are shown 2022-04-23 04:30:41 +08:00
Ming Ming
a0492c580f Solve some warnings 2022-04-23 04:26:19 +08:00
Ming Ming
7573f00bfb Add a link to trash after removing items 2022-04-23 04:26:19 +08:00
Ming Ming
0356e22be7 Fix permission error not handled correctly in some case 2022-04-23 04:26:19 +08:00
Ming Ming
886bcf10ae Load metadata now directly return metadata 2022-04-23 04:26:19 +08:00
Ming Ming
f6ec7e10d5 Refactor: decouple image viewer and image source 2022-04-23 04:26:19 +08:00
Ming Ming
653c981a99 Move native code to plugin 2022-04-23 04:26:19 +08:00
Ming Ming
8176e10dbe Format code 2022-04-23 04:26:19 +08:00
Ming Ming
3ffe174f07 Make bottom app bar translucent 2022-04-23 04:26:19 +08:00
Ming Ming
d2c84af8a8 Simplify app bar extent calculation 2022-04-23 04:26:19 +08:00
Ming Ming
0a3b91fe30 Update untranslated messages 2022-04-23 04:26:19 +08:00
Сергей Манжула
7402af1949 Update Russian translation 2022-04-22 20:21:29 +00:00
Ming Ming
2d022a9c33 Update untranslated messages 2022-04-19 04:17:41 +08:00
Ming Ming
59198b54eb Add plural support to selectionAppBarTitle 2022-04-19 04:17:41 +08:00
Ming Ming
f8c25800a1 Enable pt translation 2022-04-19 03:48:09 +08:00
nkming2
1a2c1d9517 Merge branch 'frankius-master-patch-54659' into 'master'
Upload of New File. Brazilian Portuguese interface language

See merge request nkming2/nc-photos!42
2022-04-18 19:46:27 +00:00
Fernando Santos
a48eb96aec Upload of New File. Brazilian Portuguese interface language 2022-04-18 19:46:27 +00:00
Petri Hämäläinen
005f68fd72 Latest translations and error corrections in l10n (fi) 2022-04-10 13:18:41 +03:00
Ming Ming
3d81dd3d69 Versioning: 39.0 2022-04-09 11:28:28 +08:00
Ming Ming
7a3d195a36 Pause sservice when battery is low 2022-04-09 11:25:05 +08:00
Ming Ming
853fd91ea0 Fix unable to cancel service when waiting for wifi 2022-04-09 11:25:05 +08:00
Ming Ming
dfa8511cdc Fix wake lock not released when waiting for wifi 2022-04-09 11:25:05 +08:00
Ming Ming
466dce592c Refactor platform notification code 2022-04-09 11:25:04 +08:00
Ming Ming
b2dd68fc0c Versioning: 38.2 2022-04-08 03:11:34 +08:00
Ming Ming
d8bd05191c Fix file provider authorities modified incorrectly 2022-04-08 03:11:26 +08:00
Ming Ming
698ee78c97 Versioning: 38.1 2022-04-07 18:57:14 +08:00
Ming Ming
7fa7aa99b7 Upgrade flutter 2022-04-07 18:56:37 +08:00
Ming Ming
5499460fc4 Versioning: 38.0 2022-04-07 01:24:02 +08:00
Ming Ming
3f8832c0e1 Run metadata task in a service on Android 2022-04-07 01:21:45 +08:00
Ming Ming
6c64af1f8c Use static for log object 2022-04-06 02:37:58 +08:00
Ming Ming
856b61da4f Refactor: move event state enum to event file 2022-04-06 02:37:58 +08:00
Ming Ming
68fcba6f54 Fix log 2022-04-06 02:37:58 +08:00
Ming Ming
b00ec570f6 Refactor: extract init logics 2022-04-06 02:37:58 +08:00
Ming Ming
0c23b8e7e4 Fix AppDb.use returns before db is closed 2022-04-06 02:37:58 +08:00
Ming Ming
5554c32781 Platform side lock 2022-04-06 02:37:58 +08:00
Ming Ming
701d2c40da Increase compileSdkVersion to 31 2022-04-06 02:37:58 +08:00
Ming Ming
c94c2708db Migrate android native code to plugin 2022-04-06 02:37:58 +08:00
Ming Ming
a4dfe29e92 Move app code to sub-dir 2022-04-06 02:37:58 +08:00