Commit graph

775 commits

Author SHA1 Message Date
Ming Ming
0e7d41a589 Inject repo to ListAlbumShareOutlierBloc 2021-11-25 21:02:41 +08:00
Ming Ming
e14faa83c1 Fix destination in move/copy not encoded correctly 2021-11-25 21:02:41 +08:00
Ming Ming
cef0f4dd88 Fix running android specific code on web 2021-11-25 21:02:41 +08:00
Ming Ming
a63d3e43a1 Add OSM as alternative map provider 2021-11-25 21:02:41 +08:00
Ming Ming
d57be5e77a Rename map to reduce confusion 2021-11-25 21:02:41 +08:00
Ming Ming
fa98762d49 Update untranslated messages 2021-11-18 00:36:04 +08:00
luckmax
adac533350 Update app_es.arb 2021-11-17 16:13:36 +00:00
Ming Ming
0e93bab326 Versioning: 33.0 2021-11-09 14:01:47 +08:00
Ming Ming
e0e8861770 Fix comment 2021-11-09 13:59:39 +08:00
Ming Ming
4d54b2099d Fix not cleaing latestItemTime after removing last item 2021-11-07 01:09:02 +08:00
Ming Ming
a964f0f14d Fix datetime in album item may not be UTC 2021-11-07 01:09:02 +08:00
Ming Ming
f997f0638d Fix cover not updating after removing manual cover 2021-11-07 01:09:02 +08:00
Ming Ming
8450f91afa Fix not unsetting cover after removing the last file 2021-11-07 01:08:57 +08:00
Ming Ming
ba0f441635 Refactor: decouple pref and storage to ease unit test 2021-11-04 03:23:35 +08:00
Ming Ming
456975360a Inject Pref to use cases 2021-11-04 03:23:34 +08:00
Ming Ming
7583b09bb8 Inject AppDb 2021-11-04 03:23:30 +08:00
Ming Ming
aab38b752d Tap 2FA hint to open the help page 2021-11-04 01:03:13 +08:00
Ming Ming
4d1755db3a Upgrade dependencies 2021-11-04 01:03:13 +08:00
Ming Ming
50a80fe2a3 Handle download in dart to support customized request 2021-11-03 21:41:06 +08:00
Ming Ming
0cf981446d Versioning: 32.1 2021-10-31 22:21:18 +08:00
Ming Ming
e090cab528 Improve messaging 2021-10-31 22:20:26 +08:00
Ming Ming
ff3739c04f Fix exception when upgrading remote v5 album 2021-10-31 22:20:26 +08:00
Ming Ming
d45a0c1d64 Versioning: 32.0 2021-10-30 03:03:52 +08:00
Ming Ming
a0287a551a Selectively enable experiments 2021-10-30 01:45:06 +08:00
Ming Ming
36dee1a7f1 Guard shared album logic with pref flag 2021-10-30 01:42:44 +08:00
Ming Ming
2ad844292a Compare username ignoring case 2021-10-30 01:42:44 +08:00
nkming2
13e34317ff Update README.md 2021-10-28 20:54:00 +00:00
Ming Ming
9ca333403f Simplify Pref access 2021-10-28 05:22:12 +08:00
Ming Ming
be220071cd Fix incorrect pending metadata count 2021-10-28 04:48:52 +08:00
Ming Ming
9010756a08 Drop UserComment from both server and local 2021-10-28 04:48:52 +08:00
Ming Ming
83af36f2e7 Format code 2021-10-28 04:48:52 +08:00
Ming Ming
c127869e60 Tweak log 2021-10-28 04:48:52 +08:00
Ming Ming
ded9af9d18 Migrate to ExceptionEvent 2021-10-28 04:48:52 +08:00
Ming Ming
1fdf438956 Fix back button bypassing Done listener in account settings 2021-10-28 04:48:51 +08:00
Ming Ming
6052d82047 Lab settings are now more accessible 2021-10-28 04:48:51 +08:00
Ming Ming
36611c7f35 REmove file shares when removing album 2021-10-28 04:48:51 +08:00
Ming Ming
a25d5f4632 Tweak logs 2021-10-28 04:48:51 +08:00
Ming Ming
6dade916b5 Handle share removed event in batch 2021-10-28 04:48:51 +08:00
Ming Ming
3fcb4e2090 Fix calling setState after widget dismissed 2021-10-28 04:48:51 +08:00
Ming Ming
9b9e737a95 Ignore UserComment in EXIF 2021-10-28 04:48:51 +08:00
Ming Ming
4ac8cac73d Store user and time when an item is added to album 2021-10-28 04:48:51 +08:00
Ming Ming
b2016e6f9b Unshare when removing files from album 2021-10-28 04:48:51 +08:00
Ming Ming
cf359670cd Fix files shared in other albums not unshared correctly 2021-10-28 04:48:51 +08:00
Ming Ming
cf966a13e2 Refactoring: extract list dir share class 2021-10-28 04:48:51 +08:00
Ming Ming
f1cffb0571 Share files added to a shared album 2021-10-28 04:48:51 +08:00
Ming Ming
d7a41161ed Better way to compare if 2 Files are the same file on server 2021-10-28 04:48:51 +08:00
Ming Ming
743f9b79e1 Improve logs 2021-10-28 04:48:51 +08:00
Ming Ming
6848f86f38 Tweak log 2021-10-28 04:48:51 +08:00
Ming Ming
2aa792370b Support modified share_folder parameter 2021-10-28 04:48:51 +08:00
Ming Ming
25acd91c44 Support single selection in DirPicker 2021-10-28 04:48:51 +08:00
Ming Ming
aadde09440 Tweak text 2021-10-28 04:48:51 +08:00
Ming Ming
e5479b7761 Refactoring: convert dir picker to widget 2021-10-28 04:48:51 +08:00
Ming Ming
52e26057d3 Tweak settings item style 2021-10-28 04:48:51 +08:00
Ming Ming
bf5845f832 Settings to disable face recognition support 2021-10-28 04:48:51 +08:00
Ming Ming
75262a2a9b Tweak icon style 2021-10-28 04:48:51 +08:00
Ming Ming
b2f6e1a73a Move account settings to Settings 2021-10-28 04:48:51 +08:00
Ming Ming
5fe70c3964 Support account specific settings 2021-10-28 04:48:51 +08:00
Ming Ming
001ed6b514 Tweak logs 2021-10-28 04:48:51 +08:00
Ming Ming
1106dfc72f List albums shared by me 2021-10-28 04:48:51 +08:00
Ming Ming
0478fe3840 List sharing fill albumFile properly
Not filling it prevent album cache to be used, which end up with more requests
2021-10-28 04:48:51 +08:00
Ming Ming
c2c3508414 No longer list non-link shares by me 2021-10-28 04:48:51 +08:00
Ming Ming
bda5a9826c No longer list files shared with me 2021-10-28 04:48:51 +08:00
Ming Ming
8931a191f5 Tweak logs 2021-10-28 04:48:51 +08:00
Ming Ming
0a04d2da7d Improve comments 2021-10-28 04:48:51 +08:00
Ming Ming
afa40e02f8 Fix touch response in share album dialog 2021-10-28 04:48:51 +08:00
Ming Ming
fb3b035214 Make hardcoded string translatable 2021-10-28 04:48:51 +08:00
Ming Ming
164237a858 Tweak style 2021-10-28 04:48:51 +08:00
Ming Ming
f7bbf35cd9 Darken checkbox color in dark theme 2021-10-28 04:48:51 +08:00
Ming Ming
5b1dcfb515 (Un)Share associated files when (un)sharing an album 2021-10-28 04:48:51 +08:00
Ming Ming
b533c9caf7 Share only supported in static albums 2021-10-28 04:48:51 +08:00
Ming Ming
bcf71f2eb3 Sync shares between album and its files 2021-10-28 04:48:51 +08:00
Ming Ming
39eae6dd1f Refactoring: extract generic widget class 2021-10-28 04:48:51 +08:00
Ming Ming
6a394cc93a Fix confusing text for albums shared by you 2021-10-28 04:48:51 +08:00
Ming Ming
dd93a9eb2a Show placeholder when image failed to load 2021-10-28 04:48:51 +08:00
Ming Ming
2502c85ff1 Tweak error message 2021-10-28 04:48:51 +08:00
Ming Ming
8652c63091 Tweak icon style 2021-10-28 04:48:51 +08:00
Ming Ming
4f795a5b8e Make hardcoded string translatable 2021-10-28 04:48:51 +08:00
Ming Ming
c824543656 Refactoring 2021-10-28 04:48:51 +08:00
Ming Ming
c7b1b906c6 Fix snackbar not always closed in notified action 2021-10-28 04:48:51 +08:00
Ming Ming
c2eade1a50 Remove redundant code 2021-10-28 04:48:51 +08:00
Ming Ming
3bc59bdeaa Tweak comments 2021-10-28 04:48:51 +08:00
Ming Ming
6f255a9386 Fix list album not handling new/removed share 2021-10-28 04:48:51 +08:00
Ming Ming
be2867ae41 Import potential shared albums in sharing browser 2021-10-28 04:48:51 +08:00
Ming Ming
eec1c99a8e Show indicator when new albums are shared with you 2021-10-28 04:48:51 +08:00
Ming Ming
7167587554 Remove obsolete code 2021-10-28 04:48:51 +08:00
Ming Ming
29d5c9a509 Remove obsolete import 2021-10-28 04:48:51 +08:00
Ming Ming
fee6d092e9 Remove old sharing widget 2021-10-28 04:48:51 +08:00
Ming Ming
1c29044540 Show albums shared with you in Sharing 2021-10-28 04:48:51 +08:00
Ming Ming
31fd2ab5fa Fix wrong log tag 2021-10-28 04:48:51 +08:00
Ming Ming
f0aa5eb23c Tweak style 2021-10-28 04:48:51 +08:00
Ming Ming
23017c74f8 Improve arb comments 2021-10-28 04:48:51 +08:00
Ming Ming
481387e8fb Refactoring: extract widget class 2021-10-28 04:48:51 +08:00
Ming Ming
afd859d414 List files shared with you in Sharing 2021-10-28 04:48:51 +08:00
Ming Ming
50ba293345 Show progress bar in sharing browser 2021-10-28 04:48:51 +08:00
Ming Ming
5cc998ef21 Versioning: 31.0 2021-10-09 17:52:24 +08:00
Ming Ming
16285bf0f6 Fix dirs deeper than 2 lvs are optimized out 2021-10-09 17:10:23 +08:00
Ming Ming
a37697f7be (Web) Allow sharing as links 2021-10-09 16:46:18 +08:00
Ming Ming
5e100d1586 Ask to delete link share dir after unsharing 2021-10-09 16:46:18 +08:00
Ming Ming
210e4f845f Support link share dirs in Sharing 2021-10-09 16:46:18 +08:00
Ming Ming
da1093a606 Share multiple files as link 2021-10-09 16:46:18 +08:00
Ming Ming
84cee42c8c Remove extra / from Share.path 2021-10-09 16:46:18 +08:00
Ming Ming
d53590522f Fix file conflict in copy api is not handled 2021-10-09 16:46:18 +08:00
Ming Ming
07e2aba673 Refactoring: extract fn 2021-10-09 16:46:18 +08:00
Ming Ming
bc489ab954 Fix "go back" showing in top-level dir 2021-10-07 18:04:49 +08:00
Ming Ming
129f72e7fe Retain list person bloc state 2021-10-07 18:04:49 +08:00
Ming Ming
2fd3f7feff Rename lab sharing button 2021-10-07 18:04:49 +08:00
Ming Ming
0c86af1bfb Format code 2021-10-07 18:04:49 +08:00
Ming Ming
85daba9786 Manage shares 2021-10-07 18:04:49 +08:00
Ming Ming
3b6c679f04 Refactoring 2021-10-07 13:27:47 +08:00
Ming Ming
fabee4a139 Improve HTTP404 error message 2021-10-07 13:27:47 +08:00
Ming Ming
4b590e85ba Tweak style 2021-10-05 03:49:49 +08:00
Ming Ming
84b06a5cdd Pull to refresh 2021-10-05 03:49:49 +08:00
Ming Ming
99fd139f51 Indicate album being sorted manually 2021-10-05 03:49:49 +08:00
Ming Ming
5557b591c9 Group photos by date in album browser 2021-10-05 03:49:49 +08:00
Ming Ming
dfe1acc6e4 Refactoring 2021-10-05 03:29:12 +08:00
Ming Ming
a9b424f25d Versioning: 30.2 2021-10-02 23:03:05 +08:00
Ming Ming
e699dafc14 Fix inconsistent default EXIF setting 2021-10-02 22:11:23 +08:00
Ming Ming
04b546a85e Versioning: 30.1 2021-10-02 21:00:45 +08:00
Ming Ming
588c3b408d Fix EXIF in setup not persisted if not changed 2021-10-02 20:59:45 +08:00
Ming Ming
8724f48a6d Fix exception on first startup 2021-10-02 20:50:10 +08:00
Ming Ming
8789dd78ce Versioning: 30.0 2021-10-02 17:57:20 +08:00
Ming Ming
4efad2c0f7 Remove unused imports 2021-10-02 17:48:28 +08:00
Ming Ming
60a0a387b2 (Android) Show our own download notifs 2021-10-02 17:36:11 +08:00
Ming Ming
808c654e75 Convenient fn to extract filename from File 2021-10-02 17:35:46 +08:00
Ming Ming
56698e12ce Update untranslated messages 2021-10-02 17:30:06 +08:00
Ming Ming
b5b1e4ecd7 Enable the new cs translation 2021-10-02 17:30:06 +08:00
nkming2
22d85c16b7 Merge branch 'undefined' into 'master'
Add sharing related translations to spanish.

See merge request nkming2/nc-photos!30
2021-10-01 19:37:51 +00:00
luckmax
a9be3824f8 Add sharing related translations to spanish. 2021-09-30 17:32:16 +00:00
Matěj Musil
6fa4d0d749 Add Czech support 2021-09-29 16:11:41 +00:00
Ming Ming
0f3dbda458 Refactoring: unify fn naming 2021-09-29 22:56:54 +08:00
Ming Ming
7bb41887b3 Refactoring: hide resync and populate 2021-09-29 22:56:54 +08:00
Ming Ming
4c222a239a Download album 2021-09-29 22:56:54 +08:00
Ming Ming
e7f510ac4f Download selected files 2021-09-29 22:56:54 +08:00
Ming Ming
145761495c Refactoring: improve naming 2021-09-29 22:56:51 +08:00
Ming Ming
bb5440a7d6 Fix handling errors from other download instances 2021-09-29 04:57:39 +08:00
Ming Ming
aa1c90282c Fix download stream not canceled 2021-09-29 04:57:39 +08:00
Ming Ming
2cafe8e184 Tweak selectable style 2021-09-29 04:57:39 +08:00
Ming Ming
c494a9f33e Fix image grid recreated on every build 2021-09-29 04:57:38 +08:00
Ming Ming
f7ed6d1a01 Refactoring: replace tuple with actual class 2021-09-29 04:57:38 +08:00
Ming Ming
19367e2a0d Refactoring: extract create share fn 2021-09-28 16:36:41 +08:00
Ming Ming
20dfc2e00e Support share link when sharing a single file 2021-09-28 16:36:37 +08:00
Ming Ming
d5147fcf23 Refactoring: replace magic constants with enum 2021-09-28 16:36:12 +08:00
Ming Ming
dc83f49d81 Customize input dialog button label 2021-09-28 16:36:12 +08:00
Ming Ming
3d2003de26 Fix exception resyncing file w/o id and not in DB 2021-09-28 16:36:12 +08:00
Ming Ming
ec4e05c5e0 Tweak logs 2021-09-28 16:36:12 +08:00
Ming Ming
f01c64a155 Remove metadata from album files
This help reduce the file size
2021-09-28 16:36:08 +08:00
Ming Ming
e2152a7ebe Tweak logs 2021-09-28 16:34:32 +08:00
Ming Ming
15d9d6edee Flatten future 2021-09-28 16:33:44 +08:00
Ming Ming
0a6a90f963 Remove redundant code 2021-09-28 16:33:44 +08:00
Ming Ming
3d5de229cb Refactoring: extract remove item from album 2021-09-28 16:33:40 +08:00
Ming Ming
a15f7a0db6 Fix new provider being created instead of modified 2021-09-28 16:32:13 +08:00
Ming Ming
99b3e9f7fa Fix wrong title shown when editing album again 2021-09-28 16:32:13 +08:00
Ming Ming
e98cec65f6 Refactoring 2021-09-28 16:32:13 +08:00
Ming Ming
856828f329 Add qtff(.mov) to suppoed formats 2021-09-28 16:32:13 +08:00
Ming Ming
823e88522c Reenable drag to scroll with mouse
This was disabled on flutter 2.5
2021-09-28 16:32:13 +08:00
Ming Ming
4bdd523a94 Show download progress when sharing 2021-09-28 16:32:12 +08:00
luckmax
69c97b9c2d Fix an error in archive button saying "archive selected" when its an only item, so must be "archive" 2021-09-19 17:43:59 +00:00
Ming Ming
67b806b971 Reduce sensitive logs in release build 2021-09-20 01:37:54 +08:00
Ming Ming
c928c2cf74 Fix exceptions not caught for download notification 2021-09-20 01:37:54 +08:00
Ming Ming
734807733c Migrate to DownloadManage on Android
Fix OOME when downloading large files
2021-09-20 01:37:54 +08:00
Ming Ming
ff87cd3099 Update untranslated messages 2021-09-20 01:37:54 +08:00
luckmax
be99101b57 Added [seconds and slideshow] translation to spanish. 2021-09-19 17:31:17 +00:00
Ming Ming
69adbcf57d Versioning: 29.1 2021-09-17 00:30:44 +08:00
Ming Ming
194b1b8836 Fix people browser showing error when server app not installed 2021-09-16 23:49:32 +08:00
Ming Ming
ffa82a1f31 Versioning: 29.0 2021-09-16 18:59:05 +08:00
Ming Ming
75c040aa1d Graduate people from lab 2021-09-16 18:58:28 +08:00
Ming Ming
d8177edd28 Unify cache size 2021-09-16 18:30:09 +08:00
Ming Ming
c16c97ec9f Delete obsolete old cache 2021-09-16 18:30:09 +08:00
Ming Ming
6b24f6f98a Separate cache for different use cases 2021-09-16 18:26:40 +08:00
Ming Ming
c74d430747 Accent color is no longer used in flutter 2.5 2021-09-16 03:53:10 +08:00
Ming Ming
dfb090f02a Migrate setEnabledSystemUIOverlays 2021-09-16 03:53:10 +08:00
Ming Ming
afe4cdf607 Tweak style 2021-09-16 03:53:10 +08:00
Ming Ming
5bb781160d Fix invisible buttons in light theme 2021-09-16 03:53:10 +08:00
Ming Ming
94118c4a5b Remove unnecessary Containers 2021-09-16 03:53:10 +08:00
Ming Ming
bc9b2a4c78 Brightness is no longer used by flutter 2.5 2021-09-16 03:53:10 +08:00
Ming Ming
06023228b8 Conform to the new lint rules 2021-09-16 03:53:10 +08:00
Ming Ming
e41df68898 Fix a rare NPE 2021-09-16 03:53:10 +08:00
Ming Ming
3151e088bc Tweak button style 2021-09-16 03:53:10 +08:00
Ming Ming
ec930361cd Slideshow 2021-09-16 03:53:10 +08:00
Ming Ming
26da1ec582 Extract wakelock as disposable 2021-09-15 14:48:06 +08:00
Ming Ming
88ba985a1a Make Disposable less confusing 2021-09-15 05:03:36 +08:00
Ming Ming
1f4b43459c Fix visibility not set if initial opacity == 0 2021-09-15 04:58:14 +08:00
Ming Ming
df45b23705 Show metadata task progress 2021-09-15 04:58:14 +08:00
Ming Ming
6372d65f1f Fix exif task starting prematurely after enabling in settings 2021-09-15 04:58:14 +08:00
Ming Ming
3183efafb3 Listen to pref change event 2021-09-15 04:58:14 +08:00
Ming Ming
4aeca291c3 Reorder collection items 2021-09-15 04:58:14 +08:00
Ming Ming
4bce2ee71b Update untranslated messages 2021-09-15 04:58:01 +08:00
Ming Ming
8291972e6b Enable the new de translation 2021-09-13 05:27:26 +08:00
nkming2
268d8ecb87 Merge branch 'master' into 'master'
Add German translation

See merge request nkming2/nc-photos!22
2021-09-12 21:22:49 +00:00
luckmax
949a773827 Added spanish log saver and people collection translations 2021-09-12 19:51:29 +00:00
PhilProg
fab986f77e Enable German translation 2021-09-12 09:55:36 +00:00
Ming Ming
3d3d2994e8 Make strings related to People translatable 2021-09-11 16:11:48 +08:00
Ming Ming
a0b62cac35 Migrate to new person API 2021-09-11 16:03:58 +08:00
Ming Ming
620c840ccc Capture logs from settings for bug report 2021-09-11 16:03:57 +08:00
Ming Ming
858455206c Minimize platform code 2021-09-11 16:03:15 +08:00
Ming Ming
e9f69fa327 Use private bloc for people 2021-09-11 16:03:14 +08:00
Ming Ming
87cc42a1c7 Update untranslated message 2021-09-11 16:02:54 +08:00
nkming2
56a58a81ef Merge branch 'luckkmaxx-master-patch-74786' into 'master'
Translate album sort to spanish

See merge request nkming2/nc-photos!21
2021-09-11 07:48:28 +00:00
luckmax
e15bc4d432 Translate album sort to spanish 2021-09-10 11:13:48 +00:00
Ming Ming
8e7dc3b012 Fix album browser not refreshed after zoom changed 2021-09-09 02:09:07 +08:00