Commit graph

372 commits

Author SHA1 Message Date
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
Ming Ming
7644a23f44 Sort photos in album by time in asc/desc order 2021-07-11 13:32:35 +08:00
Ming Ming
93a1d376b8 Avoid potential useless comparison 2021-07-11 13:32:35 +08:00
Ming Ming
c04c9ae7b0 Avoid potential copying of item list 2021-07-11 13:32:35 +08:00
Ming Ming
4fb6c022d2 Abstract album sort behavior 2021-07-11 13:32:35 +08:00
Ming Ming
2e82360071 Refactor selectable list item 2021-07-11 13:32:35 +08:00
Ming Ming
cf8f696738 Refactoring 2021-07-11 13:32:35 +08:00
Ming Ming
8d73bf2f84 Extract selectable item widget 2021-07-11 13:32:35 +08:00
Ming Ming
f191317627 Extract photo item list 2021-07-11 13:32:35 +08:00
Ming Ming
d729834185 Refactoring 2021-07-11 13:32:35 +08:00
Ming Ming
500ec4ab43 Tweak list item style 2021-07-11 13:32:35 +08:00
Ming Ming
77355eab20 Refactoring 2021-07-11 13:32:35 +08:00
Ming Ming
1f01c83f9a Extract album item class 2021-07-11 13:32:35 +08:00
Ming Ming
5680e52eb4 Tweak album picker style 2021-07-11 13:32:35 +08:00
Ming Ming
8ceac22deb Tweak account list style 2021-07-11 13:32:35 +08:00
Ming Ming
f41c053f24 Tweak photo list style 2021-07-11 13:32:35 +08:00
Ming Ming
523ab1fd5e Merge translation link into translator credit
Keep settings lean
2021-07-03 22:55:37 +08:00
Ming Ming
89eaff4ea8 Fix no dirs can be picked if root dir is not set 2021-07-03 22:32:17 +08:00
Ming Ming
9ef285c217 Fix contents not populated in failure state 2021-07-03 19:37:57 +08:00
Ming Ming
7030376137 Fix accessing context during initState 2021-07-03 19:37:57 +08:00
Ming Ming
296aa9a99f Remove obsolete code 2021-07-03 17:11:30 +08:00
Ming Ming
c2b06cfeb6 Change root dirs of the current account 2021-07-03 17:11:30 +08:00
Ming Ming
ea5706161d Fix missing tooltip 2021-07-03 17:11:30 +08:00
Ming Ming
c2f9b3ba2e Add comments 2021-07-03 17:11:30 +08:00
Ming Ming
77461ded3a Extract processing dialog widget 2021-07-03 17:11:30 +08:00
Ming Ming
b85948d589 Edit album name 2021-07-02 20:03:09 +08:00
Ming Ming
aee0c06834 Mark mixin methods as protected 2021-07-02 20:03:09 +08:00
Ming Ming
e5ce085f28 Fix comments 2021-07-02 20:03:09 +08:00
Ming Ming
1cfb849cea Fix log tag 2021-07-02 20:03:09 +08:00
Ming Ming
ead2c61feb Tweak icon size 2021-07-02 20:03:09 +08:00
Ming Ming
5ba39ecc0a Fix folders outside of the roots could be picked 2021-07-02 20:03:09 +08:00
Ming Ming
7386a69d79 Prefer final variable 2021-07-02 20:03:09 +08:00
Ming Ming
5257766151 Batch import folders as albums 2021-07-02 20:03:09 +08:00
Ming Ming
8faa31852c Extract dynamic album update functions 2021-07-02 20:03:09 +08:00
Ming Ming
8ea935ccc9 Remove unused import 2021-07-02 20:03:09 +08:00
Ming Ming
cf0f8f7e79 Convert dynamic albums to a static one 2021-06-30 13:14:29 +08:00
Ming Ming
afdb895542 Show number of extra dirs in album screen 2021-06-30 00:20:53 +08:00
Ming Ming
c7176692d3 Fix trivial warnings 2021-06-29 21:41:46 +08:00
Ming Ming
b04803e3bd Create folder based album 2021-06-29 21:41:06 +08:00
Ming Ming
3b3ce66c3b Extract dir selecting list 2021-06-29 21:41:06 +08:00
Ming Ming
8efdd17153 Change icons for folder based albums 2021-06-29 21:41:06 +08:00
Ming Ming
eb4bdf47d2 Sort dynamic albums correctly by time 2021-06-29 21:41:06 +08:00
Ming Ming
b53c48808f Dynamic album that reflects dir contents 2021-06-29 21:41:06 +08:00
Ming Ming
8e46c604a8 Abstract album cover provider 2021-06-29 18:11:59 +08:00
Ming Ming
0e7f2462b6 Abstract album content provider 2021-06-29 18:11:59 +08:00
Ming Ming
8d1fbea069 Fix date/time string not being localized 2021-06-29 18:11:59 +08:00
Ming Ming
24ee630d3a Set display language 2021-06-29 17:46:00 +08:00
Ming Ming
92f59b3936 Separate translator credit and tranlation link 2021-06-23 02:30:07 +08:00
Ming Ming
c631b68266 Add hint to sign in with 2FA enabled 2021-06-23 02:30:07 +08:00
Ming Ming
e1a5dbb843 Support gif 2021-06-23 02:30:07 +08:00
Ming Ming
4079ba39f2 Indicate an item is a video 2021-06-23 01:05:02 +08:00
Ming Ming
2e9bc412f5 Tweak layout of photo items 2021-06-23 01:05:02 +08:00
Ming Ming
a809136474 Nav arrows should stay white 2021-06-23 01:05:02 +08:00
Ming Ming
b47cb5c63c Customize date/time of a file 2021-06-23 01:05:02 +08:00
Ming Ming
bf0e60c474 Init metadata directly in initState 2021-06-23 01:05:01 +08:00
Ming Ming
9c08e5a635 Simplify File datetime access 2021-06-23 01:05:01 +08:00
Ming Ming
1b2d36bcab Fix log 2021-06-23 01:05:01 +08:00
Ming Ming
383b8c1d76 Fix changelog not showing 2021-06-15 23:56:56 +08:00
Ming Ming
4267aef71e Show error if user picked nothing in root picker 2021-06-15 03:30:46 +08:00
Ming Ming
30ec7dab7a No longer propagate property updates to album 2021-06-15 03:30:46 +08:00
Ming Ming
f4faa1ed1f Resync items with db when opening album 2021-06-15 03:30:46 +08:00
Ming Ming
84ec93b95e Fix cover not updated after updating album 2021-06-14 21:53:30 +08:00
Ming Ming
82e6732f6e Add bug report link in settings 2021-06-14 21:52:45 +08:00
Ming Ming
d2768e6066 Archive items to hide in photos list 2021-06-06 03:39:58 +08:00
Ming Ming
954d8a869d New archive property for file 2021-06-06 03:39:58 +08:00
Ming Ming
8f0ba3b296 Fix duplicate global key in list 2021-06-06 03:23:50 +08:00
Ming Ming
7b846c5f66 Query dirs level-by-level in root picker
Fix performance issue on servers with many dirs
2021-06-06 01:55:09 +08:00
Ming Ming
235073bfb6 Remove unused mixin 2021-05-29 17:26:31 +08:00
Ming Ming
0a2686f047 Fix inconsistent thumbnail size 2021-05-29 17:26:30 +08:00
Ming Ming
c0af21d689 Scan metadata after refresh listing is done 2021-05-25 23:47:51 +08:00
Ming Ming
9aa770aa4f Fix metadata task not fired after switching account 2021-05-25 22:01:41 +08:00
Ming Ming
3c70d6f5e2 Remove useless imports 2021-05-24 18:28:05 +08:00
Ming Ming
f7d0a41540 Group data srcs in new file 2021-05-24 18:28:05 +08:00
Ming Ming
0ad8454c7a Scan metadata after initial listing is done 2021-05-24 18:28:05 +08:00
Ming Ming
a1f7bd684a Hide the default scrollbar in flutter 2.2 2021-05-24 18:28:05 +08:00
Ming Ming
dc1fdc623f Hide the nav bar in fullscreen viewer 2021-05-24 15:33:08 +08:00
Ming Ming
835426e534 Add scrollbar in photos page 2021-05-24 15:33:08 +08:00
Ming Ming
3cc6ba2749 (android) Allow whitelisting self-signed cert 2021-05-09 19:28:06 +08:00
Ming Ming
555256f4e4 Logging 2021-05-09 18:32:34 +08:00
Ming Ming
5068fc8a01 Improve error message for wrong password 2021-05-09 18:32:33 +08:00
Ming Ming
9d2e1798f7 (android) Show/Hide status bar in viewer 2021-05-07 16:01:06 +08:00
Ming Ming
a0382d2b16 Fix video ignored seeking after finished 2021-05-07 16:01:05 +08:00
Ming Ming
6927f94d54 Easier to tap on video seek bar 2021-05-07 16:01:05 +08:00
Ming Ming
5ca19c6c4f MP4 video support 2021-05-07 16:01:05 +08:00
Ming Ming
6e793ff14f Extract photo list item widget 2021-05-07 16:01:05 +08:00
Ming Ming
9aabe2cb10 Tweak theme 2021-05-06 14:42:01 +08:00
Ming Ming
f47fbb11ef Always use preview when showing image 2021-05-06 14:42:01 +08:00
Ming Ming
5143f86751 Extract animated visibility class 2021-05-06 14:42:01 +08:00
Ming Ming
609e2c5bd9 Extract image viewer 2021-05-06 14:42:01 +08:00
Ming Ming
31c663471f (android) Notification after downloaded photo 2021-05-01 01:02:41 +08:00
Ming Ming
13772ee742 Extract plaform constants 2021-05-01 01:02:41 +08:00
Ming Ming
a9bcac8078 Zoom out to group photos by month 2021-04-28 21:04:06 +08:00
Ming Ming
63772e6e17 Clean up logs 2021-04-28 13:58:41 +08:00
Ming Ming
dcf35f61c6 Drop successive scan dir request
Happens when external events are fired quickly in succession
2021-04-27 19:06:34 +08:00
Ming Ming
5283cf07ff Simplify log 2021-04-27 19:06:34 +08:00
Ming Ming
c9a3a01d85 Remove unused code 2021-04-24 23:13:00 +08:00
Ming Ming
7f8fbef078 Extract selectable list logic 2021-04-24 23:13:00 +08:00
Ming Ming
c5caca94cb (mobile) Long press to select range 2021-04-23 19:04:56 +08:00
Ming Ming
06e94c83b3 (web) Fix navigation buttons showing on edge items 2021-04-23 19:04:56 +08:00
Ming Ming
4ad0b673fc (web) Shift+click to select range 2021-04-23 19:04:56 +08:00
Ming Ming
76d122783f Refactor 2021-04-23 18:25:40 +08:00