168 Commits

Author SHA1 Message Date
Jobobby04
a6b98e24dc Undo linting 2020-08-15 15:57:07 -04:00
Jobobby04
bc549c56d6 Automatic linting fixes 2020-08-14 18:41:20 -04:00
arkon
d7d1d97f5f Add option to prevent deleting bookmarked chapters (closes #2082)
(cherry picked from commit dbaac69fada009fdf92500303e89f864ac3fdf48)
2020-08-09 19:20:01 -04:00
arkon
a2fb89066c Swallow errors when trying to determine available disk space when downloading (closes #3603)
(cherry picked from commit 3e6b0117fd86d9277ee7f5e401a3f1cadc32157e)
2020-08-09 19:18:05 -04:00
Jobobby04
f60b29c763 Replace cleanup downloads for loops with forEach loops 2020-08-06 16:15:40 -04:00
Jobobby04
0125f326b4 Copy cleanup orphaned downloads from J2k 2020-08-06 14:59:31 -04:00
arkon
d07dbee9b0 Explicitly dismiss progress notification on downloader stop
(cherry picked from commit 095461e31b969adacd74cc981be19ecb43b9b86b)
2020-08-03 18:14:02 -04:00
arkon
01ea86ab90 Move download warnings/errors to separate notification channel
(cherry picked from commit 8e8c30c1eb16f4740c9d3760caced0099ea014db)
2020-08-02 15:10:52 -04:00
arkon
1f7e69e13c Don't show completed notification if download error notification was shown
(cherry picked from commit 2ef277bceff5326986eba4072431336aef3c5152)
2020-08-02 15:10:23 -04:00
arkon
057ccf74ce More core-ktx usages
(cherry picked from commit ec56c27071c71cdfb4c5883fbf45a3574cf7e8db)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterDividerItemDecoration.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2020-08-01 12:26:35 -04:00
arkon
c21771823c Use Kotlin extensions for preference editing
(cherry picked from commit eb0e0a1952aa3ba0de56f99f15768cf83d8f67b8)
2020-08-01 12:17:18 -04:00
arkon
bb47188d5c Fix download status updates not appearing in chapters list (fixes #3358)
(cherry picked from commit 99710b45d1763690911819e2d72cd92a1e8f9789)
2020-08-01 12:09:21 -04:00
Jobobby04
ff48e89161 Now really fix internal sources download badges not showing up, plus some refactoring and testing debug functions 2020-07-30 15:56:18 -04:00
arkon
e338bb0f47 Split download notifications into progress and complete channels
(cherry picked from commit 3813743e3dec3e0fe08a44d0dce8eb929b851886)
2020-07-29 23:21:01 -04:00
Jobobby04
ae48c1d7d4 Fix nHentai and E-Hentai manga download badges when the extension is installed as well. Closes #55 2020-07-29 23:13:58 -04:00
Jimmy Low
70d134b375 [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.

(cherry picked from commit 7e73ede47abcd1f65ab2e0eb9506409d0357643b)
2020-07-29 19:27:19 -04:00
arkon
bf49023693 Lazily find chapter directories
(cherry picked from commit 71c6c71081c2a805840386a705f0c513266564ce)
2020-07-25 22:12:53 -04:00
Ken Swenson
1af2698b72 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

(cherry picked from commit 76147a9be735a24f37c778124e2f40075e3c5540)
2020-07-25 21:05:16 -04:00
Jobobby04
a38cb2ab5f Downloader conflict fixing 2020-07-24 23:19:57 -04:00
Jobobby04
589464d723 More rename downloaded chapter tweaks 2020-07-24 23:11:36 -04:00
Jobobby04
d7f3b399f4 Make the rename function do less lookups 2020-07-24 22:41:07 -04:00
Jobobby04
646aeb66c5 Inline the foreach functions 2020-07-24 22:37:54 -04:00
Jobobby04
135f0bdd95 Add scanlator to download pending deleter chapter data class 2020-07-24 22:26:31 -04:00
Jobobby04
80394dab4a Tweaks based on comments in the PR 2020-07-24 22:16:23 -04:00
Jobobby04
75e9911317 SY maybe supports J2k downloads now 2020-07-24 21:46:59 -04:00
Jobobby04
372e570fac Use Tachi previews info + chapters manga page, plus of course SY features integrated into it
Add missed invert tap settings
Add missed extension open in settings overflow menu option
Cleanup
2020-07-12 19:21:29 -04:00
arkon
43034db5e5 Prevent downloads when less than 50MB of disk space is available (closes #1018)
(cherry picked from commit 93960315d99a1af46f46e8fc609279754e3e7a1e)
2020-07-12 15:41:34 -04:00
Jobobby04
2e033356aa Manga info edit will now not break everything 2020-07-11 15:22:11 -04:00
Jobobby04
044c638079 Very basic manga info edit, currently will break everything if used, tags and cover edit not working 2020-07-11 14:53:59 -04:00
Jay
6e390d4205 Fix download cache not working for a source name change
(cherry picked from commit 73dcc7bcb1c229d8ec3f9819387ac00a3838ffb0)
2020-07-09 16:05:50 -04:00
arkon
ea2cabfb3c Update notifier paused state when starting downloads (fixes #3254)
(cherry picked from commit 0ef073669a1932c57d34c37653a74cd18e0cbf4c)
2020-07-05 21:34:27 -04:00
arkon
1ee9da4c91 Mark isDownloading flag as volatile (maybe fixes #3219)
(cherry picked from commit 3d43473bf8f4c7eaea28063f2b71e77394dc7f79)
2020-05-31 16:37:09 -04:00
arkon
25a7e233b3 Localize "Page list is empty" exception message
(cherry picked from commit 2194c4ba284581e22dbf15bc69086b2334fb101e)
2020-05-31 14:14:20 -04:00
arkon
b944da5592 Minor cleanup, remove some usages of ArrayList
(cherry picked from commit bf5065d16bd3b1c8ce001dc63b976e8d14030d40)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
2020-05-31 14:13:45 -04:00
arkon
f9ef44d586 Use onBackpressureLatest for chapter/page download observables (maybe fixes #3229)
(cherry picked from commit 759795940b78d3791c2d2f765f5762d27c79a8ef)
2020-05-31 13:53:29 -04:00
Chris Allan
60706e8b8b Rename downloaded chapters (#3216)
(cherry picked from commit 0fccbbc0ca28c8a026a9dbf595cd59110c492ed9)
2020-05-22 17:50:08 -04:00
MCAxiaz
80fa7ebe6c String Formatting Fixes (#3118)
String Formatting Fixes

(cherry picked from commit a20874f6a15f443025367f6ed988ff93a30ccd6c)
2020-05-09 11:41:45 -04:00
arkon
ce0d99b78f Download from up to 5 different sources concurrently (closes #2534)
(cherry picked from commit c9035b5df9a331dbed3322eb6ad95bc81d1d7f22)
2020-05-09 11:36:04 -04:00
arkon
3ffb80c6f1 Concurrently download up to 5 pages at a time
(cherry picked from commit 150132f4dd40020c3cbc8f72d5a7d63dc695d2b3)
2020-05-09 11:35:52 -04:00
arkon
005d43a3ec Minor cleanup of wakelocks, extension ID backup
(cherry picked from commit b4c7992726fdf36a7dc58e7d7142c2a1642d0f36)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt
2020-05-09 11:30:38 -04:00
Jobobby04
bef0a44447 It Builds! 2020-05-03 18:34:46 -04:00
Rani Sargees
4d8f44ddae merge double upstream 2020-05-02 23:39:46 -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