Commit graph

4349 commits

Author SHA1 Message Date
Jays2Kings
0c21ee050f Cleanup SettingsGeneralController 2022-08-28 20:06:57 -04:00
Jays2Kings
c2bd98b56a Add Migration for autoDownloadWhileReading 2022-08-28 15:06:04 -04:00
nzoba
c209836e77
Fix stucked downloads (#1392) 2022-08-28 14:55:20 -04:00
nzoba
0ff8a86fde
Change download ahead after reading to while reading (#1397) 2022-08-28 14:54:03 -04:00
nzoba
0201021450
Stats page (#1359)
* Add StatsController and StatsDetailsController

* Add read duration to stats

* Add chipIcon

* Fix chips when orientation changes and cleanup

* Few fixes charts

* Fix charts too big on tablet

* Change category filter order to library's
2022-08-28 14:49:38 -04:00
h-hyuuga
871aa2b23e
Add toggle to searchbar to force show all categories (#1386)
* Revert #1312 + Add toggle for showing all categories in searchbar

* Use compatToolTipText

* Use isGone instead of visibity = ...

* Make showAllCategoriesView nullable instead of lateinit

* Make toggle state persistent across library searches

* Prevent duplicate views when onCreateOptionsMenu called multiple times in a row

        Fixes an issue where going to recents while on Library Tab, then
        re-opening the app would add a duplicate toggle
2022-08-28 14:44:35 -04:00
nzoba
e897d5628f
Add option to backup read manga not in library (#1383) 2022-08-22 14:12:56 -04:00
nzoba
4192818ba0
Add option to keep read manga in Clear Database (#1382) 2022-08-22 14:05:53 -04:00
Jays2Kings
0f54058aee Version 1.5.8 2022-08-22 13:16:49 -04:00
Jays2Kings
2ee22059a3 Fix download button being shrunken sometimes
Fixes #1391
2022-08-22 13:16:49 -04:00
Weblate (bot)
daeb8f895e
Weblate translations (#1385)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Artem <artem@molotov.work>
Co-authored-by: Cường Bá <cuongba956@gmail.com>
Co-authored-by: DIAN SABSAB <philiptenibas@gmail.com>
Co-authored-by: DatTran MLL <tranthanhdat1142003@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Sapphire <sapphireinc@protonmail.ch>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/vi/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Artem <artem@molotov.work>
Co-authored-by: Cường Bá <cuongba956@gmail.com>
Co-authored-by: DIAN SABSAB <philiptenibas@gmail.com>
Co-authored-by: DatTran MLL <tranthanhdat1142003@gmail.com>
Co-authored-by: Sapphire <sapphireinc@protonmail.ch>
2022-08-22 13:04:16 -04:00
nzoba
ca7a315a03
fix concurrent download (#1387)
* Fix concurrent download

* lower Concurrency

* artist Update app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
(cherry picked from commit b635f02d93)

Co-authored-by: f1998f1998 <71004883+f1998f1998@users.noreply.github.com>
2022-08-22 13:03:45 -04:00
nzoba
655ac93a56
Add custom range for remove downloads in manga details (#1388)
* Add custom range for remove downloads in manga details

* Add remove custom range to onLongClick
2022-08-22 13:03:11 -04:00
Prakash Palanisamy
335242741d
Side padding: Added missing percentage (#1389)
Adding missing 5% in "webtoon_side_padding" and "webtoon_side_padding_values" for ReaderPagedView.kt.
2022-08-22 12:59:47 -04:00
Jays2Kings
dba990c83d Revert "Version 1.5.8"
This reverts commit 4805b36007.
2022-08-22 12:59:22 -04:00
Jays2Kings
4805b36007 Version 1.5.8 2022-08-22 12:51:51 -04:00
Jays2Kings
e79f564c0d Update user agent to match main 2022-08-22 12:49:28 -04:00
Jays2Kings
80f2423f98 Fix download chapter dir when scanlator is empty or changed 2022-08-22 01:06:37 -04:00
Jays2Kings
61d0023e2f Version 1.5.7 2022-08-21 14:36:18 -04:00
Jays2Kings
59ecab3bbc update dependencies
lifecycle-viewmodel-ktx
firebase:firebase-core
firebase-analytics-ktx
2022-08-21 14:31:44 -04:00
Jays2Kings
874217e778 Fixes to setting hide chapter titles and resetting to default 2022-08-21 14:25:17 -04:00
Jays2Kings
e4dc101c2d Fix material checkbox being the wrong color 2022-08-21 13:57:08 -04:00
Jays2Kings
a57695c366 Don't move library bubble text in single category mode 2022-08-21 13:40:47 -04:00
Weblate (bot)
8ba6ae64dd
Weblate translations (#1336)
Co-authored-by: Abhijeet Sonar <abhijeet.nkt@gmail.com>
Co-authored-by: Ahmed Saleh <sniperasa8@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Bartłomiej Fedorczak <fed-bar@wp.pl>
Co-authored-by: DatTran MLL <tranthanhdat1142003@gmail.com>
Co-authored-by: Dennis Jojo Kuriakose <dennisjojo052001@gmail.com>
Co-authored-by: EpicLemon99 <epiclemon99@protonmail.com>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Excalidoom <doctorasulatomic@gmail.com>
Co-authored-by: Hiroshi <borlonjhayron1119@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hussein Almusharfawi <fnmo78@gmail.com>
Co-authored-by: ID-86 <id86dev@gmail.com>
Co-authored-by: Igor <zerrxs@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jackiu <jackiu1997@outlook.com>
Co-authored-by: Jen Kung-chih <Kaitul@outlook.com>
Co-authored-by: John Philip Sabinet <philiptenibas@gmail.com>
Co-authored-by: Kira Roubin <obodenkokirill@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: MrChuw <jgabrielmonteiro@hotmail.com>
Co-authored-by: Nepx <anandabaskara@outlook.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Pranav Kale <pranavkale021998@gmail.com>
Co-authored-by: Ric <rikku.debec@gmail.com>
Co-authored-by: Ronny Wegener <wegener.ronny@gmail.com>
Co-authored-by: Sanket Datta <sdsanketdatta1997@gmail.com>
Co-authored-by: Sapphire <sapphireinc@protonmail.ch>
Co-authored-by: Shahab Safari <shahab.safari.72@gmail.com>
Co-authored-by: Silvio Pastore <silvioppastore@gmail.com>
Co-authored-by: Sándor Karácsony <kar.sanyika2002@gmail.com>
Co-authored-by: TheBluuDot <strangeworrior@gmail.com>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: Uzuki Shimamura <hzy980512@126.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: abc0922001 <abc0922001@hotmail.com>
Co-authored-by: altinat <poiiiii4yy@gmail.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: markov <marergert@gmail.com>
Co-authored-by: moon <jamiejakie@gmail.com>
Co-authored-by: stevenlele <stevenlele@outlook.com>
Co-authored-by: yarin yaari <yariny101y@gmail.com>
Co-authored-by: Äljan Sayat <form7040@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/bn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ceb/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/eu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fa/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/he/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/kk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/lv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/or/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ro/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/th/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ur/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/vi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hant/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Abhijeet Sonar <abhijeet.nkt@gmail.com>
Co-authored-by: Ahmed Saleh <sniperasa8@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Bartłomiej Fedorczak <fed-bar@wp.pl>
Co-authored-by: DatTran MLL <tranthanhdat1142003@gmail.com>
Co-authored-by: Dennis Jojo Kuriakose <dennisjojo052001@gmail.com>
Co-authored-by: EpicLemon99 <epiclemon99@protonmail.com>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Excalidoom <doctorasulatomic@gmail.com>
Co-authored-by: Hiroshi <borlonjhayron1119@gmail.com>
Co-authored-by: Hussein Almusharfawi <fnmo78@gmail.com>
Co-authored-by: ID-86 <id86dev@gmail.com>
Co-authored-by: Igor <zerrxs@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jackiu <jackiu1997@outlook.com>
Co-authored-by: Jen Kung-chih <Kaitul@outlook.com>
Co-authored-by: John Philip Sabinet <philiptenibas@gmail.com>
Co-authored-by: Kira Roubin <obodenkokirill@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: MrChuw <jgabrielmonteiro@hotmail.com>
Co-authored-by: Nepx <anandabaskara@outlook.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Pranav Kale <pranavkale021998@gmail.com>
Co-authored-by: Ric <rikku.debec@gmail.com>
Co-authored-by: Ronny Wegener <wegener.ronny@gmail.com>
Co-authored-by: Sanket Datta <sdsanketdatta1997@gmail.com>
Co-authored-by: Sapphire <sapphireinc@protonmail.ch>
Co-authored-by: Shahab Safari <shahab.safari.72@gmail.com>
Co-authored-by: Silvio Pastore <silvioppastore@gmail.com>
Co-authored-by: Sándor Karácsony <kar.sanyika2002@gmail.com>
Co-authored-by: TheBluuDot <strangeworrior@gmail.com>
Co-authored-by: TheKingTermux <achmadmaulana0233@gmail.com>
Co-authored-by: Uzuki Shimamura <hzy980512@126.com>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: abc0922001 <abc0922001@hotmail.com>
Co-authored-by: altinat <poiiiii4yy@gmail.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: markov <marergert@gmail.com>
Co-authored-by: moon <jamiejakie@gmail.com>
Co-authored-by: stevenlele <stevenlele@outlook.com>
Co-authored-by: yarin yaari <yariny101y@gmail.com>
Co-authored-by: Äljan Sayat <form7040@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2022-08-21 13:23:09 -04:00
Jays2Kings
d9758b4d08 cleanup BackupRestorer 2022-08-21 03:48:05 -04:00
Jays2Kings
cea5761b29 Change migration of custom covers to also include custom manga info 2022-08-21 03:47:55 -04:00
Jays2Kings
93e56c194a Migrating titles maintains custom covers
Closes #972

Co-Authored-By: Saud-97 <39028181+Saud-97@users.noreply.github.com>
2022-08-21 03:46:43 -04:00
Jays2Kings
41c085210c Add missing Authorization header on MAL refresh token request
* Add missing Authorization header on MAL refresh token request.

* Make sure to also close the response when it have failed.

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-21 01:51:51 -04:00
Jays2Kings
d64932a504 Avoid catastrophic failure when cover can't be created in local source
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-21 01:21:31 -04:00
Jays2Kings
d236536e86 Show better error when trying to open RARv5 file
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-21 01:19:42 -04:00
Jays2Kings
c905ac8d96 Fix Links to Changelog/Readme/Commits for multisrc
Co-Authored-By: nicki <72807749+curche@users.noreply.github.com>
2022-08-21 01:16:45 -04:00
Jays2Kings
889c7fe12e Configure SQLite
- Turn on `foreign_keys` to cascade on delete properly
- Turn on `journal_mode` and set `synchronous` to NORMAL which may help performance for larger libraries

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>
2022-08-21 01:14:43 -04:00
Jays2Kings
0fd4b2cb72 Start cleaning up backup/restore code
The abstraction was useful for handling 2 systems, but it's no longer needed. Cleaning it up will make migrating to domain models easier down the line.

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-21 01:08:45 -04:00
Jays2Kings
6ad9f1ac09 Remove logic for restoring legacy JSON backups
- Protobuf backups have been around for 1.5 years now
- The ability to restore online-dependant data from JSON backups gets harder as time goes on and sources drift
- If users really need a way to restore them, they can use an older version of the app, or a separate tool for translating between the formats could be created

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-21 00:39:47 -04:00
Jays2Kings
3dcf50704c Remove 1.x source models
Co-Authored-By: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
2022-08-21 00:06:17 -04:00
Jays2Kings
b707cd19fe Remove Duktape
Now that none of the official extensions are using it.

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-20 23:29:49 -04:00
Jays2Kings
ebbcb9b6c1 Simplify split tall images preference wording
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-20 23:28:03 -04:00
Jays2Kings
dea47baff1 Don't allow setting blank user agent string 2022-08-20 23:26:33 -04:00
Jays2Kings
8d4e812b3d Use Android User agent for default
Dynamic by android device/version
2022-08-20 23:22:51 -04:00
Jays2Kings
e37043eca2 Remove blue theme
Fixes #1380
2022-08-20 23:17:34 -04:00
Jays2Kings
a1f9472638 Fix Chocolate Strawberries Toolbar Color
Fixes #1379
2022-08-20 23:03:42 -04:00
Jays2Kings
2a719beae4 allow "no wifi/internet connection" warning notification to be dismissiable 2022-08-20 22:55:35 -04:00
Jays2Kings
17138d2b68 refactor LibraryCategoryAdapter scroll text logic 2022-08-20 22:52:10 -04:00
Jays2Kings
238b21c2e2 Scroll through library entries (instead of just categories) by fastscrolling then moving to the middle of the screen
maybe by the release notes i'll have a better way of explaining that

closes #1348 in a way I can live with
2022-08-20 22:51:23 -04:00
Jays2Kings
dc71e1d4a2 Fix search setting node direction for RTL prefs 2022-08-19 21:23:36 -04:00
Jays2Kings
ff82a65cd2 Fix dpToPxEnd for custom RTL languages prefs 2022-08-17 22:33:11 -04:00
Jays2Kings
20fe3112ef Add more DoH providers
Co-Authored-By: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
2022-08-17 20:41:24 -04:00
Jays2Kings
6b7d529a19 gradle -> 7.2.2 2022-08-17 20:30:30 -04:00
Jays2Kings
63ca5f5525 material -> 1.7.0-beta01 2022-08-17 20:30:11 -04:00
Jays2Kings
0de018c98f Make default user agent string configurable
using custom preference class to add a reset button to the dialog

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-17 20:29:54 -04:00