Commit graph

666 commits

Author SHA1 Message Date
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
Ming Ming
6545e78bb6 Fix cached album not shown when offline 2021-09-09 02:09:07 +08:00
Ming Ming
42b931fa62 Sort albums 2021-09-09 02:09:06 +08:00
Ming Ming
7423b1fd51 Reorder sort options 2021-09-09 02:07:52 +08:00
Ming Ming
c96224bbfc More descriptions in translation file 2021-09-09 02:07:52 +08:00
Ming Ming
33887402ec Preliminary face recognition app support 2021-09-09 02:07:52 +08:00
Ming Ming
2c8434b768 Fix unnecessarily opening DB as RW 2021-09-09 02:07:52 +08:00
Ming Ming
ab5f1f29ba Refactoring: simplify code 2021-09-09 02:07:52 +08:00
Ming Ming
a25fd8ff63 Change how exceptions are handled in notified action 2021-09-09 02:07:52 +08:00
Ming Ming
9256d19518 Refactoring: remove magic constants 2021-09-09 02:07:52 +08:00