451 Commits

Author SHA1 Message Date
arkon
d98e0c5f68 Stop removing local manga's title from chapter names (closes #6578)
Users should better curate their chapter folder/file names if need be. There's legit reasons for a chapter to start with or contain the same word(s) that the manga title consists of.

(cherry picked from commit b89acb5853ee8cf3e53a45bb28dfd0607f00d158)
2022-03-27 20:14:22 -04:00
arkon
8a32db268e Avoid crashing when global search encounters a NoClassDefFoundError
(cherry picked from commit 9c426bc216d2ca61dd1168f119b4ddc99e770e47)
2022-03-20 12:38:21 -04:00
Jobobby04
8185b91f11 Fix HBrowse new galleries 2022-02-26 12:10:37 -05:00
Jobobby04
0680e0120f Fix https://github.com/tachiyomiorg/tachiyomi-extensions/issues/10759 for SY 2022-02-08 19:29:15 -05:00
Jobobby04
2eef81c468 Add Mangadex blocked groups and uploaders extension preference support 2022-02-01 17:09:20 -05:00
Jobobby04
254d739d12 Rewrite E-H favorites sync database, fixes:
- Freezing issues
- Build times
- Probably fixes bloated app size
2022-01-23 17:08:31 -05:00
Jobobby04
7c8c6c4303 Remove lang hijacks on Hitomi and NHentai 2022-01-22 12:22:32 -05:00
arkon
87afe3191b Fix pages not being serializable for chapter cache (fixes #6483)
(cherry picked from commit 0ff8966a274708071668566e208557d688bf927b)
2022-01-22 11:45:31 -05:00
arkon
324d74f6c3 Remove some dead code
(cherry picked from commit edd213343b9b524d0cbb05165969b559c24e401c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2022-01-22 11:45:12 -05:00
Jobobby04
464f343e4a Update EHTags using updated Scraper 2022-01-20 22:19:57 -05:00
jopejoe1
dc60352bd6
Add support for Azuki Manga and MangaHot Chapters in Mangadex (#506)
* Update MangaDex.kt

* Add Azuki and MangaHot Handlers
2022-01-15 17:59:13 -05:00
arkon
7cc14bb5d0 Add new manga statuses
To be exposed in extension-lib 1.3

(cherry picked from commit 375a27a93d76292a47310e9544c895f517af35f9)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2022-01-08 18:18:43 -05:00
Jobobby04
60f3ee1978 Remove NSFW annotation 2022-01-01 15:25:10 -05:00
Jobobby04
d7856fe351 Mangadex support manga rating 2021-12-27 16:19:42 -05:00
Jobobby04
77f5acf2dd Show Mangadex relations in Mangadex similar 2021-12-27 16:12:09 -05:00
arkon
23e43a78d9 Avoid unnecessary string creation when sorting
(cherry picked from commit 1c5c370c12a0541d7f3799be543d66725597d466)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceFilterController.kt
2021-12-26 12:47:22 -05:00
Jobobby04
c5b2aa180e Data saver: Long click a source to exclude, also downloader can be excluded.
Small rewrite of Data saver
2021-12-04 14:12:20 -05:00
Jobobby04
21346eefe2 Minor lint fixes 2021-12-02 20:54:54 -05:00
Jobobby04
42da9abe3e Build fixes after cherry picking 2021-12-02 20:44:05 -05:00
arkon
4a87181d3b Throw exceptions if some of the deprecated source methods are used
(cherry picked from commit be4f27028c8abfd5f115909bee4024160c3c3fc3)
2021-12-02 19:30:10 -05:00
arkon
a3a27dc1c6 Add UnmeteredSource interface
To be included in extension-lib 1.3 (or whatever it's going to be). This applies to sources like Komga or Lanragi, where large numbers of update/download aren't of concern since they're (usually) self-hosted.

(cherry picked from commit 3ea3b0bf2ecc3f74a790af2012dd4f4a6b2ab3f7)
2021-12-02 19:29:50 -05:00
jmir1
b2b5854910 Fix local source cover changing (#6252)
* fix local source cover changing

* Remove unnecessary check for `exists()`

* fix for when there is no thumbnail_url in the db

(cherry picked from commit 10ddeeb7999214f1ed2fa579dadab7e9e379c1a6)
2021-12-02 19:29:08 -05:00
arkon
43ef18cdc3 Partially migrate LocalSource to 1.x methods
(cherry picked from commit 46a4b0e0b676f72fa747a65bedbb00a68ebdb501)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt
2021-12-02 19:27:53 -05:00
Jobobby04
4ea72f5342 Keep future chapters on Mangadex like Billibi and Comikey 2021-11-14 18:34:22 -05:00
Jobobby04
0df5376545 Mangadex support completed status 2021-11-13 22:46:03 -05:00
arkon
be2e95db38 Clean up local source chapter name cleaning (closes #5969)
(cherry picked from commit 9ebbfb2d908778e993723847bba74a1abcf78281)
2021-11-02 19:08:47 -04:00
Tom Briden
ec6b6ae779 Fix storing covers for local manga (#6127)
getCoverFile only returns a cover if it already exists, meaning
the block of code to write it from the inputstream never executes.
If getCoverFile returns null, then use previous behaviour of setting
it to cover.jpg so that if the file doesn't exist it's created

(cherry picked from commit f0a5557e603e31a53117c40426237d2340142bc2)
2021-11-02 19:06:35 -04:00
Jobobby04
72b33a1c52 Tweak mangadex integration 2021-10-23 14:25:11 -04:00
nicki
1d80725ea9 Fix Local and Other lang sources showing up in seperate Other Categories (#6024)
* group LocalSource and Other lang source together

* use better kotlin syntactic sugar

* add lang "other" to local

* remove duplicate LocalSource entries in Browse

* linting

* revert unnecessary linting

was a manually adding change

* Revert previous two commit but not the most recent

This reverts commit 30250f2f82fc5e38a1b30c7b55c445efec23a114
This also reversts commit 359ed5a8cda91577216b593a4138280e971e0126

* better way to avoid duplicate Local Sources

* more linting by plugin

* `""` lang is no longer used anywhere

(cherry picked from commit 2d1404d15523484d5f900ae3808c7f31058c2a8c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourcePresenter.kt
2021-10-23 14:24:45 -04:00
Ivan Iskandar
14d6e8dd94 Replace Timber with Square Logcat and make logging configurable (#6062)
* Replace Timber with Square Logcat

* Configurable logger

(cherry picked from commit 2e127dff1f0b00f6a92359a07132c6016db6ea36)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.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/reader/loader/ChapterLoader.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt
2021-10-23 14:24:42 -04:00
arkon
b9fea9c045 Minor cleanup
(cherry picked from commit d7d46f4447746d5719cbc30532522e9ccdf405ca)
2021-09-24 12:52:47 -04:00
Aria Moradi
970967104e rewrite getFormat the kotlin way (#5930)
(cherry picked from commit 3664195c71a7b5f3f43f4307d85ec306152181eb)
2021-09-24 12:52:30 -04:00
arkon
6618f848ea Unify NSFW flagging for sources/extensions
Since multisource extensions are no longer a thing, we now simply rely on the flag at the extension level, i.e. the per-Source/SourceFactory `@Nsfw` annotation is no longer checked.
We'll have to remove all of the annotation usages from the existing sources, which will also effectively break the setting for older versions of the app.

(cherry picked from commit a2cf210a524894e5c1d1f062e4813086b46777a4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionPresenter.kt
2021-09-24 12:47:29 -04:00
Jobobby04
23928d3c89 Fix Merged Manga not refreshing 2021-09-17 16:16:59 -04:00
Jobobby04
98f285f777 Cleanup 2021-09-11 11:48:32 -04:00
arkon
71533fb2bc Read from streams for local source manga details and legacy backups
(cherry picked from commit e942b8a4023be55737d9c11e5e62c7ea9b072c3f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupRestore.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt
2021-09-06 16:40:36 -04:00
Jobobby04
52cdb636c9 MangaDex, add support for Bilibili chapters 2021-09-06 16:38:50 -04:00
Jobobby04
d9c9ed45bb Orginization 2021-09-01 18:41:16 -04:00
Jobobby04
94595a99ac Support Comikey chapters 2021-09-01 18:41:12 -04:00
Jobobby04
e284c7a921 Add E/Exh popular as the default browse menu, add a Toplists filter for E-Hentai 2021-08-27 12:50:34 -04:00
Jobobby04
8bcf2f7b82 Add uploader as a virtual tag 2021-08-27 12:50:04 -04:00
Jobobby04
478d7f989d Improve Hitomi tag list 2021-08-27 12:50:03 -04:00
Jobobby04
81af5a5654 Cleanup 2021-07-25 14:15:27 -04:00
Jobobby04
877adee4f7 Cleanup 2021-07-24 12:49:09 -04:00
Jobobby04
d22b14734d Cleanup 2021-07-22 20:20:51 -04:00
Jobobby04
b769043f36 Fix logout of mangadex 2021-07-22 19:28:59 -04:00
FlaminSarge
25629b5a4c Group 'Source not installed' cases in library update error log (#5589)
(cherry picked from commit 88619145d816fdd3248b5c071bdd8059ab3219cb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/SourceManager.kt
2021-07-22 15:48:36 -04:00
Jobobby04
fda6458821 Implement manga dir rename 2021-07-21 13:56:30 -04:00
Jobobby04
65b6f7df44 Fix build errors because of JSoup update 2021-07-18 20:18:20 -04:00
Jobobby04
2bdead3e5f Cleanup mangadex, hopefully mitigate freezing 2021-07-18 13:06:12 -04:00