Commit Graph

130 Commits

Author SHA1 Message Date
arkon 99710b45d1 Fix download status updates not appearing in chapters list (fixes #3358) 2020-07-30 22:22:37 -04:00
arkon 3813743e3d Split download notifications into progress and complete channels 2020-07-29 21:57:43 -04:00
Jimmy Low 7e73ede47a [Feature Request] - Download Complete Remidner #3475 (#3527)
* [Feat] Show a download complete notification channel when all downloads are completed. Auto cancels when onclick and navigate to download screen.

* [Feat] Update the download message string to shorten the length.
2020-07-29 17:31:45 -04:00
arkon 71c6c71081 Lazily find chapter directories 2020-07-25 12:54:17 -04:00
jobobby04 ee01686ae4 Change to J2k style downloads while keeping support for the old ones (#3513)
* Change to J2k style downloads while keeping support for the old ones

* Tweaks based on comments in the PR

* Add scanlator to download pending deleter chapter data class

* Inline the foreach functions

* Make the rename function do less lookups

* More rename downloaded chapter tweaks

* Downloader conflict fixing
2020-07-25 10:59:33 -04:00
Ken Swenson 76147a9be7 fix: Download on WiFi regardless of metered status (#3489)
* fix: Download on WiFi regardless of metered status

fixes #3395

* fix: check if not WiFi rather than checking if connection is mobile
2020-07-24 22:25:10 -04:00
arkon 93960315d9 Prevent downloads when less than 50MB of disk space is available (closes #1018) 2020-07-10 12:47:19 -04:00
Jay 73dcc7bcb1 Fix download cache not working for a source name change 2020-07-07 17:29:32 -04:00
arkon 0ef073669a Update notifier paused state when starting downloads (fixes #3254) 2020-07-04 10:27:57 -04:00
arkon 3d43473bf8 Mark isDownloading flag as volatile (maybe fixes #3219) 2020-05-31 11:42:12 -04:00
arkon 2194c4ba28 Localize "Page list is empty" exception message 2020-05-31 11:26:36 -04:00
arkon bf5065d16b Minor cleanup, remove some usages of ArrayList 2020-05-30 23:42:11 -04:00
arkon 759795940b Use onBackpressureLatest for chapter/page download observables (maybe fixes #3229) 2020-05-30 18:20:19 -04:00
Chris Allan 0fccbbc0ca Rename downloaded chapters (#3216) 2020-05-20 22:42:30 -04:00
MCAxiaz a20874f6a1 String Formatting Fixes (#3118)
String Formatting Fixes
2020-05-08 21:44:01 -04:00
arkon c9035b5df9 Download from up to 5 different sources concurrently (closes #2534) 2020-05-08 18:48:00 -04:00
arkon 150132f4dd Concurrently download up to 5 pages at a time 2020-05-08 18:41:11 -04:00
arkon b4c7992726 Minor cleanup of wakelocks, extension ID backup 2020-05-07 09:14:52 -04:00
arkon 548dbf4b78 Copy files from cache when downloading 2020-04-28 18:44:58 -04:00
arkon 3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon 902700e1f4 Minor edits 2020-04-25 11:05:29 -04:00
arkon aa1d927da6 More FlowPreference migration 2020-04-24 11:58:16 -04:00
TacoTheDank 415df2357c JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon 31b94fd3ff Fix string key typo 2020-04-18 14:25:29 -04:00
arkon 627a720d4b Migrate to ViewBinding from Kotlin synthetics in controllers 2020-04-08 23:06:28 -04:00
arkon 912629c2dc Replace TagGroup library with Material chips 2020-03-29 14:11:13 -04:00
arkon 879fa484f6 Remove dead code from DownloadQueue 2020-03-29 12:44:17 -04:00
arkon fb897e37d1 Add download queue features from J2K fork 2020-03-15 22:42:40 -04:00
arkon ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
arkon f3d69599aa Add setting to hide manga content from update/download notifications 2020-03-04 18:55:19 -05:00
arkon 043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
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