Commit graph

340 commits

Author SHA1 Message Date
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
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
f86ea228bb Versioning: 12.0 2021-05-06 15:24:57 +08:00
Ming Ming
391226f56b Only scan metadata for images 2021-05-06 14:42:01 +08:00
Ming Ming
9aabe2cb10 Tweak theme 2021-05-06 14:42:01 +08:00
Ming Ming
fd4b6712ef Fix api request to server under subdir 2021-05-06 14:42:01 +08:00
Ming Ming
7e120295b9 More comments 2021-05-06 14:42:01 +08:00
Ming Ming
222170c2cc Improve error message 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
4c4ccccf2f Versioning: 11.0 2021-05-01 16:46:38 +08:00
Ming Ming
419a6e7df3 Fix broken preview link on some installation 2021-05-01 16:44:55 +08:00
Ming Ming
d4541216af Versioning: 10.0 2021-05-01 01:10:12 +08:00
Ming Ming
31c663471f (android) Notification after downloaded photo 2021-05-01 01:02:41 +08:00
Ming Ming
553bdbf8eb Optimize log 2021-05-01 01:02:41 +08:00
Ming Ming
513c740f8d Downloader returns content Uri on android 2021-05-01 01:02:41 +08:00
Ming Ming
19bd1fd62f Fix broken abstraction 2021-05-01 01:02:41 +08:00
Ming Ming
13772ee742 Extract plaform constants 2021-05-01 01:02:41 +08:00
Ming Ming
45e3140ea9 Tweak how to clear metadata 2021-04-29 03:31:54 +08:00
Ming Ming
a9bcac8078 Zoom out to group photos by month 2021-04-28 21:04:06 +08:00
Ming Ming
4bb837875c Rescan only after multiple metadata updates 2021-04-28 21:04:06 +08:00
Ming Ming
63772e6e17 Clean up logs 2021-04-28 13:58:41 +08:00
Ming Ming
f4ade24950 Versioning: 9.0 2021-04-27 19:48:42 +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
4a1326a96b Split large albums in DB 2021-04-27 19:06:34 +08:00
Ming Ming
5283cf07ff Simplify log 2021-04-27 19:06:34 +08:00
Ming Ming
2cb237375b Log stacktrace 2021-04-27 19:06:34 +08:00
Ming Ming
c2c903f494 Only explicitly query album cache on first run 2021-04-27 19:06:34 +08:00
Ming Ming
926ac57980 Split large dirs in DB
To workaround 1MB cursor size limit on Android
2021-04-27 19:06:33 +08:00
Ming Ming
01e014b72c Iterate with index 2021-04-27 00:28:29 +08:00
Ming Ming
60353bc489 Only explicitly query file cache on first run 2021-04-27 00:28:29 +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
687aa0bf24 Fix always querying root dir from remote 2021-04-24 23:13:00 +08:00
Ming Ming
c0e65e1c51 Fix depth not respected in propfind 2021-04-24 23:13:00 +08:00
Ming Ming
bb71dcc22b Remove MakerNote from Exif
It's too large for nothing
2021-04-24 00:46:32 +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
17964ed695 Remove unused code 2021-04-23 19:01:31 +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
1f2eea6f0c Versioning: 8.0 2021-04-20 19:02:46 +08:00
Ming Ming
bae25768ba Show less logs in release build 2021-04-20 18:59:40 +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
0b6f399570 Versioning: 7.0 2021-04-17 01:33:44 +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
77bd2a9770 Add some unittest 2021-04-16 02:47:48 +08:00
Ming Ming
b3f410d8b8 Make some entities equatable 2021-04-16 02:47:48 +08:00
Ming Ming
49244a3d09 Versioning: 6.0 2021-04-15 07:10:56 +08:00
Ming Ming
c4da1429af Fix resolution not rotated for EXIF-rotated JPEG 2021-04-15 07:09:16 +08:00
Ming Ming
12421aa1d8 Fix EXIF error when converting from JSON 2021-04-15 07:09:16 +08:00
Ming Ming
400abd33e4 HEIC support 2021-04-15 06:57:56 +08:00
Ming Ming
b4a667e0ee Fix Platform check crashing on web 2021-04-15 06:57:56 +08:00
Ming Ming
83f90ceaa3 Versioning: 5.0 2021-04-12 13:50:16 +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
4a8784f508 Fix rational list not converted from/to json correctly 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
9fe2c41269 Readable error for HTTP423 2021-04-10 15:23:42 +08:00
Ming Ming
ab573ad273 Initial commit 2021-04-10 12:28:12 +08:00