Commit graph

372 commits

Author SHA1 Message Date
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
4aeca291c3 Reorder collection items 2021-09-15 04:58:14 +08:00
Ming Ming
8291972e6b Enable the new de translation 2021-09-13 05:27:26 +08: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
8e7dc3b012 Fix album browser not refreshed after zoom changed 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
33887402ec Preliminary face recognition app support 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
Ming Ming
458ef2f733 Refactoring: extract add items to album 2021-09-09 02:07:52 +08:00
Ming Ming
c72a66a3b5 Fix able to unset album cover even if !canEdit 2021-09-05 19:54:10 +08:00
Ming Ming
0c08fc8122 New flag to control logging file name 2021-09-05 02:15:53 +08:00
Ming Ming
b085f8f4e1 Fix missing tooltip for the mute button 2021-09-02 22:34:46 +08:00
Ming Ming
25523b72ab Reorganize settings page 2021-09-02 22:34:46 +08:00
Ming Ming
db73464232 Unset album cover 2021-08-31 20:49:37 +08:00
Ming Ming
12aedf4fbe Refactoring 2021-08-31 20:49:37 +08:00
Ming Ming
a1186136a6 Respect system dark mode on Android 10+ 2021-08-31 04:51:20 +08:00
Ming Ming
5ef2a4e8f9 Support black theme alongside dark theme 2021-08-31 04:50:55 +08:00
Ming Ming
5ab3698490 Fix AppTheme not applied to some widget 2021-08-31 01:00:14 +08:00
Ming Ming
43aa12ed57 Auto play video after loaded 2021-08-30 03:58:52 +08:00
Ming Ming
2bdcaede9d Show error if failed loading video 2021-08-30 03:58:52 +08:00
Ming Ming
2edc989a76 Show video position & length 2021-08-30 03:58:52 +08:00
Ming Ming
225b8c6f5c Mute video 2021-08-30 03:58:52 +08:00
Ming Ming
c7358084f8 Rename albums tab 2021-08-30 03:58:52 +08:00
Ming Ming
90b79a65e0 Fix misusing context after widget disposed 2021-08-30 03:58:52 +08:00
Ming Ming
49fa4d320b Fix exception when accessing localized string with broken context 2021-08-30 03:58:51 +08:00
Ming Ming
a99b48809e Remove useless arg 2021-08-30 03:57:53 +08:00
Ming Ming
bd68566e23 Also show the ISO lang name in picker 2021-08-30 03:57:53 +08:00
Ming Ming
bbe7d20e31 Align icon in detail pane 2021-08-29 02:48:23 +08:00
Ming Ming
afaea7a337 Fix buttons in detail pane not scrollable 2021-08-29 02:48:23 +08:00
Ming Ming
9c0dea88c7 Empty trash 2021-08-28 04:41:29 +08:00
Ming Ming
510e78cc3a Brightness and orientation only work on mobile 2021-08-28 04:41:29 +08:00
Ming Ming
0689040ccc Tweak style 2021-08-27 03:08:07 +08:00
Ming Ming
6c69e7e2ed Show the owner of a shared file 2021-08-27 03:08:07 +08:00
Ming Ming
3983420fbe Tweak style 2021-08-24 21:50:44 +08:00
Ming Ming
7e91b4d346 Rotate viewer even if auto rotation is disabled 2021-08-24 20:56:44 +08:00
Ming Ming
af12bbdf6b Group viewer options in settings page 2021-08-24 20:56:44 +08:00
Ming Ming
8d255b9238 Fix setting brightness with negative value 2021-08-24 20:56:44 +08:00
Ming Ming
5c60c80b9e Refactoring 2021-08-24 20:56:44 +08:00
Ming Ming
e4a80a5c49 Tweak style 2021-08-24 01:27:08 +08:00
Ming Ming
27fdab786d Adjust screen brightness when viewer is in foreground 2021-08-23 22:48:36 +08:00
Ming Ming
a68c7cdd8b Back button to quit selection mode on android 2021-08-23 05:03:26 +08:00
Ming Ming
cb5238d388 Don't handle tap event in album item widget 2021-08-23 05:03:26 +08:00
Ming Ming
5bb8795f2f Migrate albums to use selectable list 2021-08-23 05:03:26 +08:00
Ming Ming
b446f229d0 Padding should be handled by children 2021-08-23 05:03:26 +08:00
Ming Ming
658e808fcd Format code 2021-08-23 05:03:26 +08:00
Ming Ming
c4c750a778 Fix post update logic running twice 2021-08-23 05:03:26 +08:00
Ming Ming
e165c618fe Improve error handling 2021-08-23 05:03:26 +08:00
Ming Ming
ea8d351187 Remove opened photo from an album 2021-08-23 05:03:26 +08:00
Ming Ming
607e8a23ca Can only set cover for albums owned by you 2021-08-23 05:03:26 +08:00
Ming Ming
4a32f49a11 Add pending shared albums to collection 2021-08-23 05:03:26 +08:00
Ming Ming
c0f65745f7 List pending shard albums 2021-08-23 05:03:26 +08:00
Ming Ming
6d2bfb2831 Refactoring 2021-08-23 05:03:26 +08:00
Ming Ming
a7a8825f0a Add link to the help wiki 2021-08-23 05:03:26 +08:00
Ming Ming
26d45b5c32 Enable the new russian translation 2021-08-23 05:03:26 +08:00
Ming Ming
047f92bc98 Fix hardcoded text 2021-08-17 22:18:30 +08:00
Ming Ming
1e941e8a05 Show state of the metadata task in photos page 2021-08-16 03:46:01 +08:00
Ming Ming
31452bc5fb More subtle color for icons in detail pane 2021-08-16 03:46:01 +08:00
Ming Ming
d057799d75 Reduce padding in detail pane buttons 2021-08-16 03:46:01 +08:00
Ming Ming
f7d8a2533a Set album cover manually 2021-08-16 03:46:01 +08:00
Ming Ming
7ae54b9d7e Remove useless code 2021-08-16 03:46:01 +08:00
Ming Ming
9fc08aa5ec Remove delete button from detail pane 2021-08-16 03:46:01 +08:00
Ming Ming
8f8b5c2319 Refactoring 2021-08-16 03:46:01 +08:00
Ming Ming
058320ffe4 Archive/unarchive opened file 2021-08-16 03:46:01 +08:00
Ming Ming
64d7cc66b9 Indicate shared album 2021-08-16 03:46:01 +08:00
Ming Ming
b1d37f7b73 Fix album browser not respecting cover provider 2021-08-16 03:46:01 +08:00
Ming Ming
2092b6aa0c List album returns its own object 2021-08-16 03:46:01 +08:00
Ming Ming
8bd586fc4a Fix nav button sometimes lead to a wrong page 2021-08-16 03:46:01 +08:00
Ming Ming
52b063211f Fix missing parent impl for some methods 2021-08-16 03:46:01 +08:00
Ming Ming
88ab3113f6 Refactoring: extract label views 2021-08-16 03:46:01 +08:00
Ming Ming
f07e641026 Fix incorrect fallback language 2021-08-10 16:07:09 +08:00
Ming Ming
74b05682a8 Lab settings 2021-08-09 04:42:25 +08:00
Ming Ming
a28f8b6c1b Move shared albums into our data dir 2021-08-09 04:42:25 +08:00
Ming Ming
ac4a2aca15 Share album file with other users 2021-08-09 04:42:25 +08:00
Ming Ming
1fe5a7fabd Reduce padding 2021-08-08 12:40:04 +08:00
Ming Ming
aa65c12f7b Fix loading indicator showing randomly 2021-08-08 12:40:04 +08:00
Ming Ming
b106ec0458 Video support on web 2021-08-08 12:40:04 +08:00
Ming Ming
674814fd01 Remove extra newline in changelog dialog 2021-08-03 04:56:00 +08:00
Ming Ming
948579bcb5 Remove redundant measuring 2021-08-03 02:56:28 +08:00
Ming Ming
645f30a1ff Simplify user facing texts 2021-08-02 20:39:58 +08:00
Ming Ming
c6f2cebf12 Show something in a empty browser 2021-08-02 19:22:28 +08:00
Ming Ming
f412556f65 Refactoring: extract empty list widget 2021-08-02 19:22:28 +08:00
Ming Ming
2b61011b62 Reorganize special buttons in album page 2021-08-02 19:22:28 +08:00
Ming Ming
2812e1336e Handle files in trash bin 2021-08-02 19:22:28 +08:00
Ming Ming
8cb56e095c Refactoring: rename AlbumViewer + associates 2021-08-02 14:47:18 +08:00
Ming Ming
f95251a527 Refactoring: rename ArchiveViewer 2021-08-02 14:47:18 +08:00
Ming Ming
ed19b1bd82 Refactoring: extract page viewer logic 2021-08-02 14:47:18 +08:00
Ming Ming
80a64b35bc Refactoring: extract bottom app bar in viewer 2021-08-02 14:47:18 +08:00
Ming Ming
c8d452795c Better looking lanuage selection dialog 2021-08-02 14:47:18 +08:00
Ming Ming
7321c04dc1 Fix NPE pressing edit before album initialized 2021-07-26 11:43:23 +08:00
Ming Ming
1c476be689 Fix missing return type 2021-07-26 11:43:23 +08:00
Ming Ming
65a58368fb Refactor selection app bar 2021-07-25 22:28:48 +08:00
Ming Ming
6a0374d6c0 Refactor zoom button 2021-07-25 22:28:17 +08:00
Ming Ming
942f61d90d Fix text field value not preserved after scrolling 2021-07-25 22:28:17 +08:00
Ming Ming
5330fe81ae Refactor app bar in album viewer 2021-07-25 22:28:17 +08:00
Ming Ming
bbb9eb14be Simplify localized string access 2021-07-25 13:08:05 +08:00
Ming Ming
2472f839e8 Fix unpicking wrong parent dir 2021-07-25 00:23:08 +08:00
Ming Ming
df26b7a8c8 Migrate to null-safety 2021-07-25 00:23:08 +08:00
Ming Ming
dc5d6a4a8d Convenient fn to check file owner 2021-07-24 04:09:01 +08:00
Ming Ming
002ede3392 Fix album time not preserved on load 2021-07-24 04:09:01 +08:00
Ming Ming
c2d2bb694b Fix adding photos to album from photos page 2021-07-17 23:40:38 +08:00
Ming Ming
1957773c5a Do not propagate shared files in album 2021-07-17 23:40:38 +08:00
Ming Ming
679c0dbae2 Change zoom icon
Looks too similar to the search icon
2021-07-16 15:57:02 +08:00
Ming Ming
651508de88 Search albums 2021-07-16 15:57:01 +08:00
Ming Ming
75d2346a40 Remove incorrect error log 2021-07-16 15:56:21 +08:00
Ming Ming
91747efb0f Extract album grid item builder 2021-07-15 13:45:05 +08:00
Ming Ming
dec000b1a6 Prefer Theme.colorScheme 2021-07-15 13:45:05 +08:00
Ming Ming
d927bf3cb8 Replace cloud icon with https indicator 2021-07-15 13:45:05 +08:00
Ming Ming
76bc61c155 Tweak archive padding 2021-07-13 16:28:16 +08:00
Ming Ming
2f32c39407 Remove obsolete mixin 2021-07-13 16:28:16 +08:00
Ming Ming
1e44f20bd1 Tweak album padding 2021-07-13 02:56:33 +08:00
Ming Ming
a0bbddfe3b Migrate deprecated dependency: android_intent 2021-07-12 21:29:49 +08:00
Ming Ming
65b4977e92 Fix incorrect scroll extent in photos page 2021-07-12 17:46:37 +08:00
Ming Ming
4532fb45bf Stop showing errors if page is invisible 2021-07-11 13:32:35 +08:00
Ming Ming
c89d999b73 Support sorting in dynamic album 2021-07-11 13:32:35 +08:00
Ming Ming
81d266033b Extract option picker dialog 2021-07-11 13:32:35 +08:00
Ming Ming
61c950ecec A simpler way to share photos to other apps 2021-07-11 13:32:35 +08:00
Ming Ming
a2ff2a3788 Move "delete selected" into menus 2021-07-11 13:32:35 +08:00
Ming Ming
4ae69b3349 Download notification now handles >1 files 2021-07-11 13:32:35 +08:00
Ming Ming
f6bc230a2c Add new photos to the head of album
Matters when the album is sorted manually
2021-07-11 13:32:35 +08:00
Ming Ming
f2ec5a0e63 Tweak paddings 2021-07-11 13:32:35 +08:00
Ming Ming
60339968de Fix screen turning off while watching video 2021-07-11 13:32:35 +08:00
Ming Ming
d722fda3e0 Sort albums in picker 2021-07-11 13:32:35 +08:00
Ming Ming
444491114e Add text labels to albums 2021-07-11 13:32:35 +08:00
Ming Ming
62e72bdf81 Support using diff widget for drag feedback 2021-07-11 13:32:35 +08:00
Ming Ming
da878c39fe Make album viewer compatible with non file items 2021-07-11 13:32:35 +08:00
Ming Ming
fe38f27252 Dialog that takes text input from user 2021-07-11 13:32:35 +08:00
Ming Ming
16cdf3ce78 Add comments 2021-07-11 13:32:35 +08:00
Ming Ming
8eef2a2084 Ensure isEditMode is false when calling done 2021-07-11 13:32:35 +08:00
Ming Ming
8de5597575 Drag photos to rearrange them in album 2021-07-11 13:32:35 +08:00