Commit graph

327 commits

Author SHA1 Message Date
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
27c542860f Tweak some texts 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
a07fb0d9a4 Improve sorting non-file items 2021-07-11 13:32:35 +08:00
Ming Ming
1a5fc2bbe2 Use stable sort for album 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
2b555598db Improve code 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
4708f2b23a Enable webm support on Android 2021-07-11 13:32:35 +08:00
luckmax
688e88ff17 Re-translated some lines to make more sense.
Translated new lines.
2021-07-04 11:40:23 +00:00
Ming Ming
e479ef53e9 Versioning: 19.1 2021-07-03 22:57:43 +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
f7e7a339f6 Versioning: 19.0 2021-07-03 19:38:32 +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
743dd7c081 Format code 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
decf78f9b7 Refractor code 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
luckmax
8b40041529 Update spanish translation 2021-07-02 11:59:19 +00: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
8891e8165e Make sure all dates are UTC internally 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
d4785b1f74 Improve album compatibility handling 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
fed1561860 Reduce list item count per DB entry 2021-06-29 18:11:17 +08:00
Ming Ming
24ee630d3a Set display language 2021-06-29 17:46:00 +08:00
luckmax
6f3e220693 Updates to app_es.arb 2021-06-26 19:44:31 +00:00
Ming Ming
8d1de3544c Versioning: 18.1 2021-06-23 03:51:40 +08:00
Ming Ming
9a7d2005da Merge branch 'luckkmaxx/nc-photos-master' 2021-06-23 03:38:37 +08:00
luckmax
82902b705d Update lib/l10n/app_es.arb 2021-06-22 19:27:53 +00:00
luckmax
7d5fa47c7f Upload New File fully translated 2021-06-22 18:54:53 +00:00
Ming Ming
8a2dd590a6 Versioning: 18.0 2021-06-23 02:41:14 +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
20a69b5620 Fix empty albums are not cached 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
deacacdd96 Handle time only in UTC internally 2021-06-23 01:05:01 +08:00
Ming Ming
3e7b9ffe36 Check if number is in specific range 2021-06-23 01:05:01 +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
luckmax
d1d91cb405 Upload New File for spanish, is it correct to do it so? 2021-06-21 02:24:24 +00:00
Ming Ming
96b670e7e3 Versioning: 17.1 2021-06-15 23:58:15 +08:00
Ming Ming
383b8c1d76 Fix changelog not showing 2021-06-15 23:56:56 +08:00
Ming Ming
ab2c4e65c8 Versioning: 17.0 2021-06-15 19:52:54 +08:00
Ming Ming
9297686a6e Simplify DB upgrade 2021-06-15 19:08:00 +08:00
Ming Ming
fd95e459b8 Colored logs in debug mode 2021-06-15 03:30:46 +08:00
Ming Ming
8136bf65ef Improve logs 2021-06-15 03:30:46 +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
c03dad7e03 Store each files in db 2021-06-15 03:30:46 +08:00
Ming Ming
c4b53983fa Use file id to get preview if available 2021-06-14 21:53:30 +08:00
Ming Ming
ff091d495d Store owner id in File 2021-06-14 21:53:30 +08:00
Ming Ming
84ec93b95e Fix cover not updated after updating album 2021-06-14 21:53:30 +08:00
Ming Ming
51936926cc Tweak File.toString 2021-06-14 21:52:45 +08:00
Ming Ming
4926228164 Simplify Album.toString 2021-06-14 21:52:45 +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
a846a51332 Treat metadata as property 2021-06-06 03:39:58 +08:00
Ming Ming
ed9d5de275 Versioning: 16.0 2021-06-06 03:25:18 +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
b2316f2378 Improve messaging 2021-05-29 17:26:30 +08:00
Ming Ming
a429fbe006 Ensure File path not starting with / 2021-05-26 04:10:43 +08:00
Ming Ming
ff85c0caba Versioning: 15.0 2021-05-26 03:34:55 +08:00
Ming Ming
c0af21d689 Scan metadata after refresh listing is done 2021-05-25 23:47:51 +08:00
Ming Ming
708383d291 Fix different user shared same local touch name 2021-05-25 23:06:32 +08:00
Ming Ming
9aa770aa4f Fix metadata task not fired after switching account 2021-05-25 22:01:41 +08:00
Ming Ming
a60ad1e980 Fix token path for root dir 2021-05-25 22:01:41 +08:00
Ming Ming
72e6e7a9ec Fix root dir path is not stripped correctly 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
5c3655d881 Add touch token to sync remote/local properties 2021-05-24 18:28:05 +08:00
Ming Ming
be8a45751c Make album repo optional in remove
Useful when removing data files
2021-05-24 18:28:05 +08:00
Ming Ming
b46a2704a3 Add universal storage for small pieces of data 2021-05-24 18:28:05 +08:00
Ming Ming
f765767ee2 Improve logs 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
bea76298dd PutFileBinary creates parent dirs automatically 2021-05-24 18:28:05 +08:00
Ming Ming
7b8ed4885d ScanDir should not scan our remote storage 2021-05-24 18:28:05 +08:00
Ming Ming
15e1591622 Put server-side storage path together 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
88491f13cb Move remote album files to a subdir 2021-05-24 18:28:05 +08:00
Ming Ming
e95d0470c4 Fix processing dirs as album files 2021-05-24 18:28:05 +08:00
Ming Ming
e5434a64e4 Add use case to create dirs 2021-05-24 18:28:02 +08:00
Ming Ming
9c37b1f0d8 Support creating remote dir 2021-05-24 15:33:20 +08:00
Ming Ming
6e2018a711 Support moving remote file 2021-05-24 15:33:20 +08:00
Ming Ming
e300f043bb Support copying remote file 2021-05-24 15:33:20 +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
46e077f5ab Tweak logs 2021-05-24 15:33:08 +08:00
Ming Ming
87dfe7ef5c Store oc:fileid in file 2021-05-24 15:33:08 +08:00
Ming Ming
fe602f5f61 Versoning: 14.0 2021-05-09 19:40:09 +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
eaf3824400 Versioning: 13.0 2021-05-07 17:47:15 +08:00
Ming Ming
3c12ac9262 Handle webdav href that starts with server path
This happens when nextcloud is hosted in a subdir
2021-05-07 16:01:06 +08:00
Ming Ming
5ad3254634 Fix exception when loadind metadata for png/webp 2021-05-07 16:01:06 +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