Commit Graph

81 Commits

Author SHA1 Message Date
inorichi
32db1e3045 Run downloader in foreground service 2018-04-28 10:54:27 +02:00
inorichi
0d480dbf7c Remove debug log 2018-02-18 19:19:59 +01:00
inorichi
7b4ac7998a Remove simultaneous downloads 2018-02-18 17:34:22 +01:00
inorichi
34a40b0131 Start downloader after a library update. It should help with some catalogue issues 2017-12-02 17:29:05 +01:00
inorichi
28a21d0b8f Minor changes to download cache. Also keep the library view, as recreation is expensive 2017-11-28 23:58:37 +01:00
inorichi
bff329a329 Implement a download cache 2017-11-28 00:32:51 +01:00
inorichi
cb357b0a16 Fix some crashes 2017-11-08 22:25:00 +01:00
inorichi
4ae00c80ca Fix many compilation warnings 2017-10-28 19:12:17 +02:00
len
4abd2d709f Introduce coroutines. Fix #1027. Lower notification channels' importance 2017-10-13 00:12:29 +02:00
inorichi
d97aff85b3 Support notification channels. Fixes #995 2017-10-10 14:16:37 +02:00
len
5c662b1ae1 Fix app freezes when queueing many chapters with SAF. Closes #817 2017-10-05 10:15:02 +02:00
Bram van de Kerkhof
cc9b77b876 Simultaneous download will now show on start. (#911) 2017-07-26 10:49:13 +02:00
len
211f7b591b Dependency updates. OkHttp nullability changes 2017-05-23 20:39:02 +02:00
Andy Bao
2e44f29882 Prevent some manga breaking the download notifier (#711) 2017-03-15 22:19:06 +01:00
Bram van de Kerkhof
add2ca0b8f Fixed multi-threaded initial download not showing. (#675)
Fixed library notification cancel PendingIntent.
2017-02-04 17:57:26 +01:00
len
89940677cc Use custom mime discovery in downloader 2017-02-02 20:21:38 +01:00
len
f807447de1 Rename OnlineSource to HttpSource 2017-01-20 21:27:53 +01:00
len
706163e7a6 Move source and network outside data 2017-01-20 21:24:31 +01:00
Bram van de Kerkhof
c445ea90ba Notification Improvements (#594)
* Download notifier improvements

* Notification improvements

Added a Notification Service.

Added a Notification Activity Handler.

* Removed service. Everything is now managed by single broadcast

* Fixed some flags

* Fixed ReaderActivity call

* Code review

* Added Handler. Removed dismiss onDestroy
2017-01-20 21:18:15 +01:00
inorichi
dd56d7c0bb Initial support for external sources 2017-01-08 18:12:19 +01:00
len
e1a3ee1b81 Bugfixes 2016-12-18 16:35:39 +01:00
len
f98e0858a7 Improve download discovery performance in library updates view 2016-12-09 20:23:48 +01:00
len
3e1dc9f400 Add property to get the number of a page 2016-11-29 22:32:44 +01:00
len
d30c019b89 Allow to share images when reading online. Move chapter cache to external cache dir. Dependency updates. 2016-11-29 21:37:35 +01:00
len
4ef7b16925 Minor refactor 2016-11-24 21:50:02 +01:00
len
93e244b4c4 Fix #547 2016-11-24 21:42:01 +01:00
len
20041701cd Handle empty directory. Fix travis 2016-11-24 16:11:01 +01:00
len
f9c5379400 Fix #546 2016-11-24 15:40:34 +01:00
len
2a531f1a1e Fix #545 2016-11-23 21:43:24 +01:00
len
0db1a3167d Improve extension discovery. Fix #542 2016-11-22 20:49:57 +01:00
inorichi
6f297161de Download manager rewrite (#535)
* Saving to SD working

* Rename imagePath to uri

* Handle android < 21

* Minor changes

* Separate downloader from the manager. Optimize folder lookups

* Persist downloads across restarts

* Fix for #511

* Updated ReactiveNetwork. Add some documentation

* More documentation and minor fixes

* Handle persistent notifications. Other minor changes

* Improve downloader and add documentation

* Rename pageNumber to index in Page class

* Remove unused methods

* Use chop method

* Make sure dest dir is created

* Reset downloads dir preference

* Use invalidate options menu in download fragment and fix wrong condition

* Fix empty download queue after application restart

* Use addAll method in download queue to avoid too many notifications

* Inform download manager changes
2016-11-20 11:20:57 +01:00
Bram van de Kerkhof
93f90b5a62 fixes 2016-10-25 16:08:33 +02:00
Bram van de Kerkhof
c2b113ac0a Fixes + API 16 support 2016-10-25 15:49:27 +02:00
Bram van de Kerkhof
8ff8ab4f27 Fixed webtoon page 2016-10-25 15:49:22 +02:00
Bram van de Kerkhof
414b8c9f21 Now uses glide for notification 2016-10-25 15:49:21 +02:00
Bram van de Kerkhof
4975787afa Added code to prevent OutOfMemory error. Made notification optional. Can now save image on long press. Bug fixes 2016-10-25 15:49:20 +02:00
Bram van de Kerkhof
2991906a85 Added option to download page or set page as cover 2016-10-25 15:49:17 +02:00
len
d7b8015df7 Drop support for reencode images 2016-10-23 13:22:14 +02:00
Bram van de Kerkhof
2d2ff0a29d Download queue will now be reset if negative. (#485) 2016-10-02 11:59:10 +02:00
len
6a30a75e3e Upgrade dependencies, use new Timber's overloaded method for errors 2016-09-08 18:30:29 +02:00
len
5f1a89df63 Remove newThread usages, it probably fixes random crashes 2016-07-08 18:23:03 +02:00
len
ce7118084a Downloads view now uses a copy of the original queue. Fixes #351 and some crashes while scrolling and removing a download from the queue 2016-07-01 18:30:46 +02:00
len
5cfd5da338 Convert some classes to Kotlin 2016-06-15 16:37:48 +02:00
len
237af4b07d Fix dependency injection and use custom models extending DB ones 2016-06-14 15:17:37 +02:00
len
682a2c7546 Delete file when exception is thrown 2016-06-09 15:46:08 +02:00
len
46cc078e93 Downloading chapters now always add them from the beginning 2016-05-27 20:11:37 +02:00
len
0fe350af9a Minor classes restructuration and optimize imports 2016-05-27 13:21:21 +02:00
len
dd5692bb2d Rewrite sources. Implement Batoto and Kissmanga 2016-05-26 10:22:39 +02:00
len
a0f7761a37 Minor changes 2016-05-07 23:50:05 +02:00
Bram van de Kerkhof
ed77c60283 Added download notifications, resolves #260 (#289) 2016-05-07 23:09:14 +02:00