Commit Graph

150 Commits

Author SHA1 Message Date
arkon 6fb7a85e8a Address more coroutine scope leaks 2021-01-07 18:15:57 -05:00
arkon 84ae61f72c Refactor download states into enum 2020-12-27 10:20:14 -05:00
arkon 1365d553a4 Log exception on invalid download directory issue 2020-12-26 18:05:39 -05:00
arkon fd2028557e Some crash fixes 2020-12-13 11:00:46 -05:00
Taco c2b8fea291 Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints
2020-12-08 22:21:08 -05:00
arkon d21c147203 Singleton instance of Json serializer 2020-11-01 15:12:16 -05:00
Taco 60755d0c26 Use some more KTX and Compat stuff (#3933)
* Use more KTX extensions

* Update Android Studio

* Use more Compat classes
2020-10-12 16:46:25 -04:00
arkon 980feb6c96 Migrate to kotlinx.serialization for download store and deleter 2020-10-11 15:26:57 -04:00
Andreas E 11ab3b2c2e Remove from queue after read (#3870)
* Add option to remove chapter from download queue after marked as read

* Begone bug

There was a bug when one queued a new download to the downloader. Which resulted in getChapterDownloadOrNull() would not find the corresponding download for the provided chapter

* Fix review comment

* Remove preference and just remove from queue
2020-10-03 12:29:51 -04:00
arkon 76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon 4c8665c9f0 Don't enqueue bookmarked chapters for deletion (fixes #3691) 2020-08-18 17:47:07 -04:00
arkon 64bdfabbd8 Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon 4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon dbaac69fad Add option to prevent deleting bookmarked chapters (closes #2082) 2020-08-09 12:18:05 -04:00
arkon 3e6b0117fd Swallow errors when trying to determine available disk space when downloading (closes #3603) 2020-08-09 11:39:18 -04:00
arkon 095461e31b Explicitly dismiss progress notification on downloader stop 2020-08-03 11:15:33 -04:00
arkon 8e8c30c1eb Move download warnings/errors to separate notification channel 2020-08-02 12:16:51 -04:00
arkon 2ef277bcef Don't show completed notification if download error notification was shown 2020-08-02 10:53:17 -04:00
arkon ec56c27071 More core-ktx usages 2020-07-31 10:29:32 -04:00
arkon eb0e0a1952 Use Kotlin extensions for preference editing 2020-07-30 23:04:50 -04:00
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