Commit Graph

99 Commits

Author SHA1 Message Date
arkon
275bd44e15 Reword "Clear" to "Cancel all" in download queue 2020-02-23 11:46:47 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
497fe1e68a Minor cleanup 2020-02-17 12:19:42 -05:00
Jays2Kings
7f115f2e83
Group notifcations for Library updates (#2582) 2020-02-17 10:56:23 -05:00
arkon
8aa48effaa Refactor notification builder extension 2020-02-09 17:28:09 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
9f9de27a57 Reorganize some util files 2020-02-02 22:04:11 -05:00
arkon
6f84815801 Filter out tmp directories for download badge 2020-02-02 18:01:08 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
13a2d3dfdd Provide more human readable error when downloading to invalid directory (#2462) 2020-01-09 08:39:40 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
Carlos
aa57b1bc77
adjust so downloader doesnt autostart when queue was paused (#2413)
adjust so downloader doesnt autostart when queue was paused
2020-01-03 15:33:17 -05:00
Eugene
bc825bdefa
Minor dependency updates 2019-12-26 16:47:01 -05:00
arkon
b8b118bdeb
Add .nomedia file in each chapter download folder (#2199)
* Move .nomedia creation to directory fetch

* Add .nomedia file to all chapter download directories
2019-12-26 12:39:20 -05:00
Samuel Bronson
9276c491bc Upgrade Kotlin (to 1.3), Coroutines, Gradle and Android gradle plugin.
Kotlin:                1.2.71 -> 1.3.50
Coroutines:            0.30.2 -> 1.3.1
Gradle:                4.6    -> 5.4.1
Android gradle plugin: 3.2.1  -> 3.5.0

This brings us down to *one* experimental coroutine API, and we've
opted in to using it in just *one* place.

(The fact that the API to opt-in to using an experimental API in a
specific place is *also* experimental surely will not come back to
bite us later.)
2019-09-18 22:45:54 -04:00
FlaminSarge
974891a085 Allow pausing downloads from progress notification (#1637) 2018-10-27 19:01:56 +02:00
inorichi
18f89cc341
New reader (#1550)
* Delete old reader

* Add utility methods

* Update dependencies

* Add new reader

* Update tracking services. Extract transition strings into resources

* Restore delete read chapters

* Documentation and some minor changes

* Remove content providers for compressed files, they are not needed anymore

* Update subsampling. New changes allow to parse magic numbers and decode tiles with a single stream. Drop support for custom image decoders. Other minor fixes
2018-09-01 17:12:59 +02:00
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