Commit graph

366 commits

Author SHA1 Message Date
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
Ming Ming
65a9ecfc71 Disable swiping in viewer on web
It hardly works
2021-04-21 03:44:47 +08:00
Ming Ming
9c475b417d Add nav button in viewer on web 2021-04-21 03:44:47 +08:00
Ming Ming
6f058f2d92 Extract page switching fn in viewer 2021-04-21 03:44:47 +08:00
Ming Ming
cee9747d1f Refine styling 2021-04-20 18:21:39 +08:00
Ming Ming
3a5d6a17a9 Support map on web 2021-04-20 00:16:13 +08:00
Ming Ming
6bc0e8d0d3 Fix a photo could be added to an album twice 2021-04-18 19:35:41 +08:00
Ming Ming
571d902b4e Update log messages 2021-04-18 19:35:41 +08:00
Ming Ming
bc6c247a78 Fix albums not sorted correctly 2021-04-18 19:35:41 +08:00
Ming Ming
1ab320fe76 Switch dark mode in runtime 2021-04-17 17:07:41 +08:00
Ming Ming
c22c89678b Update app theme 2021-04-17 17:07:41 +08:00
Ming Ming
5b918b81d4 Extract db functions out of MyApp 2021-04-17 17:07:41 +08:00
Ming Ming
26bd5a3285 Fix setup showing incorrectly if progress > all 2021-04-17 01:21:41 +08:00
Ming Ming
23d9d12be5 Show changelog on upgrade if available 2021-04-17 01:04:35 +08:00
Ming Ming
b3f410d8b8 Make some entities equatable 2021-04-16 02:47:48 +08:00
Ming Ming
0ff7e29d7a Refactor ScanDirBloc construction 2021-04-12 11:45:38 +08:00
Ming Ming
81eabdf332 Fix programmatic scroll closing detail pane 2021-04-12 11:45:38 +08:00
Ming Ming
e234eb18d9 Add some buffer to the scroll threshold 2021-04-12 11:45:38 +08:00
Ming Ming
c902d7ca20 Manually refresh photos page 2021-04-11 17:57:38 +08:00
Ming Ming
dd7cad7d30 Get rid of useless param 2021-04-11 17:57:38 +08:00
Ming Ming
d7269a1cba Show MapView if GPS data exists in exif 2021-04-10 23:25:04 +08:00
Ming Ming
8d2024c334 Fix the translation link 2021-04-10 15:23:42 +08:00
Ming Ming
ab573ad273 Initial commit 2021-04-10 12:28:12 +08:00