Commit graph

6912 commits

Author SHA1 Message Date
Secozzi
cdb0621434
detekt(detekt): detekt 2024-07-03 18:55:00 +02:00
Secozzi
6c42541dc7
Grab extension repo detail from repo.json and include in DB
* WIP Extension Repo DB Support

* Wired in to extension screen, browse settings screen

* Detekt changes

* Ui tweaks and open in browser

* Migrate ExtensionRepos on Update

* Migration Cleanup

* Slight cleanup / error handling

* Update ExtensionRepo from Repo.json during extension search.
Added Manual refresh in extension repos page.

* Split repo fetching into separate API module, major refactor work

* Removed development strings

* Moved migration to #3

* Fixed rebase

* Detekt changes

* Added Replace Repository Dialog

* Cleanup, removed platform specific code, PR comments

* Removed extra function, reverted small change

* Detekt cleanup

* Apply suggestions from code review

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Fixed error introduced in cleanup

* Tweak for multiline when

* Moved getCount() to flow

* changed getCount to non-suspend, used property delegation

* Apply suggestions from code review

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Fixed formatting with updated comment string

* Big wave of PR comments, renaming/other tweaks

* onOpenWebsite changes

* onOpenWebsite changes

* trying to make single line

* Renamed ExtensionRepoApi.kt to ExtensionRepoService.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-07-03 18:35:12 +02:00
Secozzi
69b9db4e8e
fix(tracking): Fix crashing for Jellyfin enhanced tracking (#1658) 2024-07-02 21:37:02 +02:00
Secozzi
7040eb4d83
fix(tracking): Fix enhanced tracking for jellyfin (#1656) 2024-07-02 20:00:08 +02:00
Secozzi
ccc66a8a8c
fix(deps): update aboutlib.version to v11 (major)
* fix(deps): update aboutlib.version to v11

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 14:50:50 +02:00
Secozzi
caf269a787
Rework Duplicate Dialog and Allow Migration
* (Mostly) Working Manga screen migration via duplicate dialog

* Fully working migrate from Browse Search

* Small tweaks for Antsy

* Update app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceScreenModel.kt

* Update app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreen.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-07-02 14:39:20 +02:00
Secozzi
1e75c9ca8c
Fix webtoon last visible item position calculation
Covers the case when image height > screen height.

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-02 14:08:03 +02:00
Secozzi
6b49a5d41a
Fix recycled item's height being 0 in webtoon mode (#563)
Which will prevent the new image from being decoded until it's visible.

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-02 14:05:04 +02:00
Secozzi
8378c5a400
Address detekt issues
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 14:03:25 +02:00
Secozzi
6d1717788b
Update image-decoder, color management
* Update image-decoder, color management

* move display profile pref

* remove true color pref

* Move Display Profile settings to a new section

* Partially revert "remove true color pref"

This partially reverts commit e1a7581.

* Tweak label

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: w <19401176+wwww-wwww@users.noreply.github.com>
2024-07-02 14:01:47 +02:00
Secozzi
e016c0e393
Switch to seconds for DATE_MODIFIED of saved pages
While most Android skins are seemingly able to handle the millisecond
format, the documentation technically specifies seconds. This seems to
be causing issues on Samsung devices using the Samsung Gallery app,
which renders the millisecond timestamps as if they were second ones,
causing the dates to be set at some point in the year 56189.

This change should fix that issue on Samsung devices and have no real
impact on the rest.

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-07-02 13:46:50 +02:00
Secozzi
3c9cfda1ed
Fix regression from coil3 migration
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2024-07-02 13:45:22 +02:00
Secozzi
e9f91522a8
Disable SerialVersionUIDInSerializableClass detekt rule
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 13:29:28 +02:00
Secozzi
fd5d568a10
Fix multiple issues regarding sources loading too late
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 13:19:38 +02:00
Secozzi
94730b153e
Fix crash in track date selection dialog
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-02 12:44:54 +02:00
jmir1
959f84ab41
fix: Extensions disappearing due to errors with the ClassLoader 2024-07-02 00:23:14 +02:00
Secozzi
c9161b32c7
feat: db changes to accommodate new cross device syncing logic.
* feat: db changes to accommodate new syncing logic.

Using timestamp to sync is a bit skewed due to system clock etc and therefore there was a lot of issues with it such as removing a manga that shouldn't have been removed. Marking chapters as unread even though it was marked as a read. Hopefully by using versioning system it should eliminate those issues.

* chore: add new line.

* chore: remove isSyncing from Chapter/Manga model.

* chore: remove isSyncing leftover.

* chore: remove isSyncing.

* refactor: remove isSync guard.

Just use it directly to 1 now since we don't have the isSyncing field in Manga or Chapter.

* Lint and stuff

* Add missing ,

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: KaiserBh <41852205+kaiserbh@users.noreply.github.com>
2024-07-02 00:10:22 +02:00
Secozzi
c42c7ffd28
Fix shizuku being buggy for multi user setups
Fetch the current userid separately because shizuku always runs as the main user and would otherwise install and update for the main user

* Update app/src/main/java/eu/kanade/tachiyomi/extension/installer/ShizukuInstaller.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Redjard <47570415+Redjard@users.noreply.github.com>
2024-07-01 23:19:44 +02:00
Secozzi
2b469339de
Fix ChapterDownloadIndicator
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 22:35:14 +02:00
Secozzi
5e5cb55e17
Small cleanup
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 22:33:40 +02:00
Secozzi
d0a7a0aa9e
detekt my beloved
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 22:27:08 +02:00
Secozzi
58fe2c8d25
Update dependency me.saket.swipe:swipe to v1.3.0
* Update dependency me.saket.swipe:swipe to v1.3.0

* Update MangaChapterListItem.kt

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2024-07-01 21:56:51 +02:00
Secozzi
99cf0cd4d5
Switch to Coil3
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 21:29:11 +02:00
Secozzi
0cf34a4759
Remove custom Pager
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 20:17:49 +02:00
Secozzi
e4a97eeef9
ChapterDownloadIndicator: Remove composed modifier usage
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 20:01:32 +02:00
Secozzi
bf8b570c7a
Address ZipFile deprecation warning
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-01 19:40:57 +02:00
Secozzi
962b60a1eb
Made some changes to ComicInfo metadata
* Made some changes to ComicInfo metadata

The web field now contains a " " separated list of source and tracker urls.
The translator field will now use the source name if the scanlator field is empty.

* lint

* use already existing source instance

* made translator not nullable

* implemented requested changes

created new Mihon exclusive ComicInfo source field  and populated it with SourceName

reverted previous changes to translator field

* Update core-metadata/src/main/java/tachiyomi/core/metadata/comicinfo/ComicInfo.kt

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Update app/src/main/java/eu/kanade/domain/manga/model/Manga.kt

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Update app/src/main/java/eu/kanade/domain/manga/model/Manga.kt

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

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

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

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

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Shamicen <84282253+Shamicen@users.noreply.github.com>
2024-07-01 19:33:43 +02:00
jmir1
5045fa18ce
fix(proguard): Use a newer proguard release 2024-07-01 18:49:22 +02:00
jmir1
a7644c2681
fix(proguard): Don't optimize anything 2024-07-01 18:16:41 +02:00
jmir1
98d252866e
fix(proguard): Don't optimize kotlin classes 2024-07-01 17:22:30 +02:00
Secozzi
affe6512ee
feat: Add detekt in the project (#1651)
Co-authored-by: Theo L.M. <9647399+theolm@users.noreply.github.com>
2024-07-01 13:55:45 +02:00
jmir1
1b80548686
fix(proguard): Don't optimize string calsses 2024-07-01 13:45:15 +02:00
jmir1
53686808b9
chore: Update version name 2024-06-30 23:34:05 +02:00
jmir1
fb9f463316
fix(player): Check for phone's maximum brightness value 2024-06-30 23:32:45 +02:00
jmir1
39ba4324e2
fix(datasaver): Escape image URL in data saver requests 2024-06-30 23:11:28 +02:00
jmir1
02c5672d29
fix(player): Tweak some subtitle options 2024-06-30 23:06:35 +02:00
jmir1
a423b560eb
fix(deps) Update a lot of dependencies 2024-06-30 21:29:59 +02:00
jmir1
72a95081fa
fix(deps): Fix incompatible compose library versions 2024-06-30 19:18:15 +02:00
renovate[bot]
68ce36ca86
fix(deps): Update okhttp monorepo to v5.0.0-alpha.14 (#1635)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-06-30 18:12:52 +02:00
perokhe
2a0f185186
fix: Advanced player settings crash in Android 10 and lower (#1627) 2024-06-30 17:06:55 +02:00
jmir1
9baf6adce5
chore: Merge branch 'mihonmerge' 2024-06-20 11:41:44 +02:00
Quickdev
495b68bf84
refactor(player): Implement more enums (#1609) 2024-06-20 11:32:18 +02:00
Secozzi
631c206822
lint(lint): lint 2024-06-12 22:08:13 +02:00
Secozzi
69ca0ee524
revert adding detekt 2024-06-12 11:14:04 +02:00
Quickdev
e1087abfb6
fix(pip): PiP not broadcasting intent in A14+ (#1603) 2024-06-09 07:40:38 +02:00
Secozzi
09966bad71
Allow disabling reader's zoom out
* Allow disabling reader's zoom out (#62)

* Renamed disable zoom out pref and string

* Zoom to default rate if the scale is inferior

* Fixed null value check and formatting

* Fixed detekt

Co-authored-by: Splintor <55398298+Splintorien@users.noreply.github.com>
2024-06-06 01:17:57 +02:00
Secozzi
22712d3b83
Fix some issues from 7ff95e2
* Fixed extra header introduced in 7ff95e2

* Removed parentheses to make detekt happy

* Updated relative date display for dates in the future

* Small cleanup for header creation logic

* replaced "and" with "&&" for better formatting

Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-06-06 01:10:02 +02:00
Secozzi
27ff22e297
[ExtensionLoader] Prioritize extension classpath over app classpath
Co-authored-by: beerpsi <92439990+beerpiss@users.noreply.github.com>
2024-06-06 01:00:15 +02:00
Secozzi
af7471e446
Fix DelayedTrackingUpdateJob spam on update errors
* Fix DelayedTrackingUpdateJob spam on update errors

DelayedTrackingUpdateJob would start spamming when it encountered an
error (e.g. a tracker has an issue) and never stop.
This seems to stem from a circular dependency between the Job's
`doWork` and TrackChapter's `await`.

TrackChapter sets up a completely new instance of the
DelayedTrackingUpdateJob if any Exception was thrown during the track
update.

This causes the Job to get replaced (as per the WorkManager's set
ExistingWorkPolicy).

Because of this, the guard clause at the start of doWork would never
trigger, as all instances of the Job would report being the 0th try
(because they were completely new instances).

This simple fix introduces a boolean `isRetry` parameter to
TrackChapter's await method, which is set to `false` by default.
DelayedTrackingUpdateJob however sets this parameter to `true`, which
means TrackChapter won't try to set up the Job again.

* Rename isRetry parameter to setupJobOnFailure

This also inverts the logic, so true & false were swapped.

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-06-06 00:56:22 +02:00
Secozzi
dcd34b53bb
Address overridePendingTransition deprecation
This function is deprecated starting with API 34 "UpsideDownCake" and
should be replaced with `overrideActivityTransition`.

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-06-06 00:52:54 +02:00
Secozzi
87348bbff6
Cleanup [BaseColorScheme.getColorScheme]
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-06 00:46:57 +02:00
Secozzi
eabd93c726
Small cleanup in WorkerInfoScreen
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-06 00:41:40 +02:00
Secozzi
2a875f6c86
thank you android studio, very cool 2024-06-06 00:32:44 +02:00
Secozzi
f72df3f620
Refactor use of Java.util.date to Java.time.*, to fix localized date …
…issues. (#402)

* Add support for localdate based relative times

* Update History Screen to use new localdate based relative times

* Update Updates Screen to use new localdate based relative times

* Cleaned up date util classes

* Updated build time display

* Code cleanup

* Fixed crash in settings

* Updated Preferences item

* Worker Info works

* Fixed Tracker date display

* Code changes to pass detekt

Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-06-06 00:17:28 +02:00
Secozzi
a2c293de8c
Minor refactor of theming when expressions
* Minor refactor of theming when expressions

Avoids triggering detekt's CyclomaticComplexMethod warning because of
too many when branches, which would happen with one more theme being
added in these two locations.

In TachiyomiTheme, the Monet theme is separated because it requires
the current Compose context to function. The other themes do not and
are delegated to a Map.

* Implement requested changes

- moved themeResources out of the ThemingDelegate interface
- replaced single condition when with if expression

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-06-05 15:16:07 +02:00
Secozzi
0424b60b3e
Don't copy archives to temp files when opening
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-06-05 14:45:53 +02:00
Secozzi
5825f6e84c
Don't throw MALTokenExpired whenever we fail to refresh MAL token
Also cleanup

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-05 11:56:39 +02:00
Secozzi
4b7d9583b1
Lint
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-05 11:37:52 +02:00
Secozzi
55e66f9e07
Fix new extension install not registering in app.
* Fix extension install not registering

* fix duplicate key compose error on extension update

* fix doubling of extension after update

* not needed

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
2024-06-05 11:27:13 +02:00
Secozzi
ccc29527dd
Move :core to :core:common
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-05 11:21:41 +02:00
Abdallah
a48a9f4162
feat: Hide the skip intro button if the skipped amount == 0 (#1598) 2024-06-04 00:54:44 +02:00
Secozzi
e347424f91
Merge branch 'master' of https://github.com/Secozzi/aniyomi into mihonmerge 2024-06-02 16:11:36 +02:00
Secozzi
96b79299c9
[skip ci] Delete ic_launcher-web.png
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-02 15:50:12 +02:00
Secozzi
e762aeb987
Add click-to-copy extension debug info
* Add click-to-copy extension debug info

Adds some debug info about an extension to the user's clipboard when
tapping the logo/name/package name area at the top of the details
screen. Modeled after the debug info from the About screen.

Closes #168.

* Fix linting failure

* Slight cleanup

* Address detekt

---------

Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-02 15:43:25 +02:00
Secozzi
9340eebc51
Upgrade combose-bom to latest
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-06-02 15:39:22 +02:00
Secozzi
fe26badbbd
Adding Detekt in the project
* Removing ktlint

* Removing compose lint

* Adding initial Detekt config

* Setting up detekt config

* Adding detekt baseline

* Fixing workflows

* Moving to a module based solution

* Adding new line

* Adding new line

* Updating baseline

* Addressing PR suggestions

* Regenerating baseline.xml

* Cleanup

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Theodoro Loureiro mota <9647399+theolm@users.noreply.github.com>
2024-06-02 15:15:05 +02:00
Secozzi
0d7bc83a46
Change extension update error file name
Co-authored-by: Jishnu M <83004520+mjishnu@users.noreply.github.com>
2024-06-02 14:33:03 +02:00
Secozzi
bef8e4f586
Fixing bottom sheet UI bug in non-tablet devices
* replace the windowInsetsPadding for navigationBarsPadding + statusBarsPadding

* Setting decorFitsSystemWindows = true to fix ui bug on Android 11

Co-authored-by: Theodoro Loureiro mota <9647399+theolm@users.noreply.github.com>
2024-06-02 14:30:02 +02:00
Secozzi
addb8dc402
Hide display cutout setting if fullscreen is off
- make it behave like the one on more -> setting -> reader

Co-authored-by: Riztard <16263232+Riztard@users.noreply.github.com>
Co-authored-by: Soitora <10836780+Soitora@users.noreply.github.com>
2024-06-02 14:11:18 +02:00
jmir1
847f877b98
fix: Lint error 2024-05-29 14:43:07 +02:00
jmir1
a23eea9805
Merge pull request #1578 from Secozzi/mihonmerge
Merge from mihon until mihon 0.16.2
2024-05-26 07:56:05 +02:00
Abdallah
69f0787a26
fix: Browse icon not animating after first interaction (#1582) 2024-05-26 07:54:43 +02:00
jmir1
224430ec0d
fix: Fix some issues with mpv config file settings 2024-05-18 01:14:27 +02:00
jmir1
4168579d4b
fix: Copy font for osd 2024-05-18 00:59:10 +02:00
jmir1
9d06277a18
fix: Use MANAGE_EXTERNAL_STORAGE to enable MPV scripts 2024-05-17 23:51:54 +02:00
Secozzi
bf43455ed6
Lint
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-15 21:55:21 +02:00
Secozzi
6232336376
Update types of legacy tracker model to match to domain one (#245)
* `score` to Double

* `tracker_id` to Long

* `last_chapter_read` to Double

* `total_chapters` to Long

* `status` to Long

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-15 21:50:00 +02:00
Secozzi
b863acabf3
Fix #126: Inconsistent button height with some languages in "Data and…
… storage" (#202)

* replace the windowInsetsPadding for navigationBarsPadding + statusBarsPadding

* Fixing bug in the MultiChoiceSegmentedButtonRow

* Rollback file

Co-authored-by: Theodoro Loureiro mota <9647399+theolm@users.noreply.github.com>
2024-05-14 10:22:47 +02:00
Secozzi
1a55853b2e
Adding Type-safe project accessors (#194)
* replace the windowInsetsPadding for navigationBarsPadding + statusBarsPadding

* Enabling TYPESAFE_PROJECT_ACCESSORS

* Adding typesafe project accessors in the app module

* Adding typesafe project accessors in the core module

* Adding typesafe project accessors in the core-metadata module

* Adding typesafe project accessors in the data module

* Adding typesafe project accessors in the domain module

* Adding typesafe project accessors in the presentation-core module

* Adding typesafe project accessors in the presentation-widget module

* Adding typesafe project accessors in the source-local module

* Adding typesafe project accessors in the source-api module

* Rolling back

* Changing TYPESAFE_PROJECT_ACCESSORS line

* Removing extra spaces

Co-authored-by: Theodoro Loureiro mota <9647399+theolm@users.noreply.github.com>
2024-05-14 10:17:59 +02:00
Secozzi
3deb7f55d8
Lint
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-14 09:56:22 +02:00
Secozzi
ad687d78e0
Use custom user agents
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Med <45147847+kitsumed@users.noreply.github.com>
2024-05-14 09:52:58 +02:00
Secozzi
389ff605d9
Revert 4fe7681 2024-05-14 08:24:12 +02:00
Secozzi
0ec1583e2d
Fix issues when updating extensions
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-14 08:22:37 +02:00
Secozzi
98633df396
Remove usage of .not() where possible
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-14 08:08:37 +02:00
Secozzi
d1645e0290
Backup and Restore Excluded scanlators (#166)
* Backup and Restore Excluded scanlators

* Improve performance

* This looks better

Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2024-05-14 07:55:42 +02:00
Secozzi
36ea0acf3c
Fix "Flash on page change" gives black screen on page change
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-14 07:04:29 +02:00
Secozzi
fa8b7160bd
remove useless line 2024-05-14 06:59:56 +02:00
Secozzi
e5ef80b8d4
Lint
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-10 17:37:30 +02:00
Secozzi
5f630407e9
Remove aniyomi-specific android 6/7 support 2024-05-10 17:29:42 +02:00
Secozzi
b85fc16ecd
Make the app Android 8+
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-05-10 17:17:53 +02:00
jmir1
c91fb86e4b
chore: Release v0.15.3.0 2024-05-10 10:44:59 +02:00
Secozzi
e0eacb22a2
lint(lint): lint 2024-05-08 18:32:30 +02:00
Secozzi
36113c7f6c
Install build-tools 29.0.3
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com>
2024-05-08 17:19:20 +02:00
Secozzi
b214ec16ae
Use newer build tools
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com>
2024-05-08 17:14:30 +02:00
Secozzi
6f5172f904
Better message for empty extensions list
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com>
2024-05-08 16:53:41 +02:00
Secozzi
5f5915b25c
Fixed tap controls not working when zoomed in (#10378)
Co-authored-by: Paloys <40764414+Paloys@users.noreply.github.com>
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com>
2024-05-08 16:38:52 +02:00
Secozzi
104291a83c
Minor extension repo enhancements
- Shortcut to settings from extensions tab
- Don't show error toast anymore if nothing's loaded
- Ability to copy extension repo URL to clipboard

Co-authored-by: arkon <4098258+arkon@users.noreply.github.com>
2024-05-08 16:36:05 +02:00
Secozzi
6ea76e0dbc
[download-cache] Fixed init logic to skip when cache file is missing (#10362)
There are several possible causes of the cache file to not exist, including user
 action. By skipping these couple steps during initialization when the file is
 missing, a renew action is allowed to start and the cache will rebuild and
 hopefully work as expected.

Co-authored-by: Caleb Morris <347395+CalebMorris@users.noreply.github.com>
2024-05-08 16:18:39 +02:00
Secozzi
28e70ffd5d
Use transaction on restore to go brr. (#10375)
refactor: use transaction to go brr.

This improve the restore speed on fresh db and non fresh db.

Co-authored-by: KaiserBh <41852205+kaiserbh@users.noreply.github.com>
2024-05-08 16:14:23 +02:00
Secozzi
dd5e9b17f1
Fixed dev UI preview (#10385)
The TachiyomiTheme introduced a dependency-injection construct that didn't
 exist at the time of rendering previews, so I've changed the preview function
 to use a preview version of the theme that uses declarative configuration
 over dependency injection

Co-authored-by: Caleb Morris <347395+CalebMorris@users.noreply.github.com>
2024-05-08 15:57:54 +02:00
Secozzi
39832daa75
feat(repo): Remove default manga repo (#1571) 2024-05-07 15:45:20 +02:00
Secozzi
b6aa5e34db
feat: Add auto-safe as (default) audio channel (#1552) 2024-04-26 12:35:27 +02:00
jmir1
7df6954538
fix: Lint 2024-04-12 01:57:28 +02:00
Abdallah
469ff7ac9a
feat(player): Add audio channels settings (#1523) 2024-04-12 01:50:22 +02:00
jmir1
71e0d44a0b
fix: Don't run MPV on startup 2024-04-12 01:48:40 +02:00
Abdallah
9145411e3a
feat(navigation): Add the ability to move browse tab to the more tab (#1513) 2024-03-29 17:11:44 +01:00
Enrico Tirri
ad94a91de4
fix: Fix multi-threaded download, minor changes to download management (#1457)
Co-authored-by: giorgio <giorgionegro@protonmail.com>
2024-03-07 17:44:59 +01:00
LuftVerbot
e937d8b792
fix(main): Fix possible crash (#1463)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-03-07 15:50:01 +01:00
Christo Paul
13397a0889
fix: Offline tracking (#1482) 2024-03-07 13:56:42 +01:00
LuftVerbot
3def939d93
fix(main): Infinite loop on start screen (#1436) 2024-02-18 15:28:36 +01:00
LuftVerbot
024abb7806
feat(settings): Move storage tab into "Data and Storage" (#1421) 2024-02-14 00:06:02 +01:00
Quickdesh
cbb690688b fix(toasts): bring back missing toasts 2024-02-10 23:41:09 -05:00
Quickdesh
b962180d23 lint(lint): lint 2: Electric Boogaloo 2024-02-10 22:55:08 -05:00
Quickdesh
30a36a55dd lint(lint): lint 2024-02-10 21:29:09 -05:00
Quickdesh
0e7860e191 fix(case): fixed a small alphabetical case error 2024-02-10 21:17:48 -05:00
Quickdesh
5b307e2a3b feat(logs): add mpv related information to debug logs 2024-02-10 21:14:29 -05:00
Quickdesh
04bb9f8057 fix(downloader): fix chapters fab 2024-02-10 15:32:45 -05:00
Quickdesh
e5ea1e0787 fix(chapters): fixed crashing when seeking below 0 seconds 2024-02-10 15:27:14 -05:00
Quickdesh
706621f332 fix(controls): fixed chapter button clickable bounds 2024-02-10 14:45:19 -05:00
Quickdesh
4191b5cd30 fix(player): Make player settings sheet scrollable 2024-02-10 14:42:29 -05:00
Quickdesh
1796fcb930 fix(hwDec): properly default to SW for WSA users 2024-02-10 14:42:02 -05:00
Quickdev
aec7893099
refactor(pip): Clean up & update code (#1404) 2024-02-08 14:45:06 +01:00
Samfun75
0bd1bb37bd
fix: Better locale detection and avoid launching null intents (#1382) 2024-02-05 23:32:57 +01:00
jmir1
89795945a5
feat: Copy scripts and script-opts from Aniyomi directory 2024-01-31 14:49:43 +01:00
Abdallah
4295669a4d
feat(player): Show the current chapter in player controls ui (#1363)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-30 11:45:20 +01:00
jmir1
16361e5dbe
fix: Lint 2024-01-28 20:29:06 +01:00
jmir1
e5c8bbd2d8
fix: Properly initialize MPVView 2024-01-28 20:11:09 +01:00
jmir1
7205ed1823
refactor: Remove useless expressions 2024-01-28 19:58:27 +01:00
jmir1
69a660f7d5
chore: Prepare new version 2024-01-28 17:39:09 +01:00
Cantsleep08
97ca3e6b45
fix(about): Show messages as a toast (#1369) 2024-01-28 17:35:03 +01:00
Samfun75
bcc24e4aa0
feat(episode-options): Add play internally option (#1364) 2024-01-28 17:33:18 +01:00
Abdallah
f0af44663f
feat(player): Add gpu-next to advanced player settings (#1353)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-28 16:55:37 +01:00
jmir1
9527daeb42
fix: Use Aniyomi's tracker API clients 2024-01-28 16:11:46 +01:00
AntsyLich
0d1ce0dcdc
Refactor MAL code to not spam refresh token when it fails 2024-01-28 15:47:05 +01:00
Secozzi
97467c84d3
fix(tracker): Fix tracking for enhanced services (#1355) 2024-01-26 15:24:44 +01:00
Secozzi
c2ab0db7a2
feat(tracker): Add Jellyfin enhanced tracker (#1341) 2024-01-24 14:22:13 +01:00
Abdallah
03ec7a7c4c
fix(navigation): Fix some issues with start screen setting (#1344)
* Navigate back to the user-defined start screen
* Fix back button when opening the app in a start screen moved to More.
* Always set library titles to "Anime" and "Manga" to avoid having two "Library" tabs, I thought that was confusing.

Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-23 15:40:03 +01:00
jmir1
5e4ea90748
chore: Release v0.15.2.3 2024-01-21 19:43:45 +01:00
AntsyLich
d47f22bc91
Fix score issue with MangaUpdates
Also add custom user agent

Potentially fix #17
2024-01-21 19:42:13 +01:00
Diego Peña y Lillo
b9837ec7ed
fix(episode/chapter list): Show separator when scanlator exists (#1339)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-21 18:39:41 +01:00
jmir1
70efdd8f01
chore: Release v0.15.2.2 2024-01-17 13:32:39 +01:00
jmir1
4fe7681992
fix(extensions): Crash when the same extension appears multiple times in the list 2024-01-17 13:22:45 +01:00
jmir1
00883792cd
fix(downloads): Crash while scrolling and missing actions in top bar 2024-01-17 13:10:47 +01:00
jmir1
44fea71799
fix(settings): Only show thread preference if multi-threading is enabled 2024-01-17 01:04:19 +01:00
Abdallah
4f283cf06e
fix(player): Use mpv's default font (#1308) 2024-01-16 22:01:59 +01:00
jmir1
d268a2b5cc
fix: Use some anime-specific strings 2024-01-16 19:38:58 +01:00
Secozzi
07103687de
feat(browse): Convert GitHub blob URLs (#1302)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-16 14:56:00 +01:00
giorgionegro
89fa0e15c7
feat: Add a setting to throttle downloads (#1303)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-16 13:58:31 +01:00
Quickdev
7e24066420
fix(navigation): Bring back navigation options (#1300)
Co-authored-by: AbdallahMehiz <abdallahmehiz0@gmail.com>
2024-01-16 00:10:23 +01:00
giorgionegro
e21beff4d3
fix(downloader): MT chunk merging (#1297) 2024-01-15 22:26:33 +01:00
Catting
b27ca3d9cb
refactor: Make ordering of items consistent (#1290) 2024-01-15 12:31:32 +01:00
giorgionegro
55fedef4ad
feat: Multi-threaded anime downloading (#1248)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-15 12:00:28 +01:00
jmir1
e3cae3b6d1
fix(tracking): Crash when searching on Kitsu 2024-01-15 11:19:08 +01:00
jmir1
06c418a6f7
chore: Release v0.15.2.1 2024-01-15 00:15:42 +01:00
Dark25
1412d7a51d
fix(onboarding): Fix storage selection on Android TV (#1272)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-01-15 00:13:55 +01:00
jmir1
5bfb5ff7aa
chore: Remove reddit button
That subreddit shouldn't be seen as "official", I don't really know who the mod is.
2024-01-14 23:34:48 +01:00
jmir1
596f501ba1
feat(doh): Add LibreDNS (#1287) 2024-01-14 23:31:59 +01:00
giorgionegro
43bcdc9bd0
fix: Fix downloading large files (#1282) 2024-01-14 21:18:46 +01:00
Quickdev
bfa68d1807
fix(pip): Add receiver flag for A14+ (#1277) 2024-01-13 22:48:29 +01:00
jmir1
a009b7e07b
fix: Actually create anime extension repos 2024-01-12 01:16:14 +01:00
jmir1
87d232c151
fix: Favourite button in anime screen 2024-01-12 00:43:53 +01:00
jmir1
3d93dfee24
fix: More lint errors 2024-01-11 20:08:57 +01:00
jmir1
778c0681a7
Merge branch 'upstream/master' 2024-01-11 19:58:15 +01:00
jmir1
6749e32092
fix(settings): Show anime category excludes for auto-delete episode option 2024-01-11 17:18:27 +01:00
jmir1
94dd78236d
fix: Add necessary flags to anime download notification 2024-01-11 16:58:39 +01:00
Samfun75
9b168cbeca
fix: Extension settings (#1263) 2024-01-10 22:37:08 +01:00
jmir1
eab58a8c36
fix(browse): Add new default manga repo 2024-01-10 15:11:48 +01:00
jmir1
0e10b43e06
fix: Installing anime extensions on Android 14+ 2024-01-10 14:32:55 +01:00
jmir1
762cf29ff9
fix(backups): Add back restore logic for extension APKs 2024-01-10 14:24:36 +01:00
jmir1
3baa3ead3a
fix: Lint errors 2024-01-10 14:10:50 +01:00
jmir1
acaf5bd43e
Merge branch 'upstream/master' 2024-01-10 04:10:35 +01:00
arkon
c6601c1f94 Release v0.15.2 2024-01-08 18:17:25 -05:00
arkon
68899aea61 Disable some non-ready stuff for stable build 2024-01-08 18:16:59 -05:00
arkon
3d178737b1 Move extension repos interactors to proper package
Also retain ordering of added repos.
2024-01-08 17:15:48 -05:00
arkon
bf737cf95c Remove built-in official extension repo support 2024-01-07 23:06:17 -05:00
Naputt1
c91ec9a33b
fix Can't scroll down to the bottom of the webtoon on the last chapter (#10291) 2024-01-07 22:52:10 -05:00
Caleb Morris
a8040cb21a
[track-search] Added context menu for copy and open-in-web (#10352) 2024-01-07 22:49:51 -05:00
arkon
f60782f11f Avoid floating point precision issues when converting scores
Fixes #10343
Maybe we'll finally migrate off of those legacy models some day...
2024-01-07 17:50:14 -05:00
arkon
5854ad97e0 Do proper check for next chapter's download status when downloading ahead
Fixes #10151 (I think?)
2024-01-07 17:30:53 -05:00
arkon
4b8fa059d5 Fix external repo info banner in ExtensionDetailsScreen 2024-01-07 16:35:25 -05:00
arkon
3dc2f9a711 Add advanced setting to revoke all trusted unknown extensions 2024-01-07 16:16:26 -05:00
arkon
8033a94ee2 Trusting new extension shouldn't revoke other irrelevant extensions 2024-01-07 16:05:31 -05:00
arkon
028da099dd Add filter library by customized update frequency
Supersedes #9619

Co-authored-by: quangkieu <quangkieu@users.noreply.github.com>
2024-01-07 16:03:12 -05:00
arkon
e6c6c32d81 Fix selecting custom fetch interval not persisting sometimes 2024-01-07 15:40:53 -05:00
Luqman
bce6af62fc
Add Nord Theme (#10308)
* Add Nord Theme

* update

* update error color

* update comment
2024-01-07 15:20:08 -05:00
arkon
6510a9617a Allow permanently trusting unofficial extensions by version code + signature
Closes #10290
2024-01-07 13:35:44 -05:00
arkon
14510f1d26 Avoid jank in extensions list if install permissions already granted 2024-01-07 12:32:33 -05:00
arkon
f115edf2ea Allow deep linking to add external repo 2024-01-07 12:27:40 -05:00
arkon
8a8362203f Release v0.15.1 2024-01-07 09:52:01 -05:00
arkon
727289c8eb Allow opening .tachibk files directly with app to restore 2024-01-06 19:03:10 -05:00
arkon
9c91ddd4e3 Add link to storage FAQ in settings screen 2024-01-06 18:26:39 -05:00
arkon
3ea026e311 Avoid hard crash if cached image file was already deleted
Closes #9720
2024-01-06 18:15:17 -05:00
arkon
36f307e3bb Normalize some locale names 2024-01-06 18:14:45 -05:00
arkon
89678ebb17 Show non-localized language names too in app language selection 2024-01-06 17:53:31 -05:00
arkon
80b7d14af1 Fix RAR loading
Closes #10302
2024-01-06 17:09:38 -05:00
arkon
bbd8098a61 Avoid showing WebView button in reader errors if page isn't actually from web 2024-01-06 16:55:50 -05:00
arkon
f8ef0f143b Add link to storage guide during onboarding step 2024-01-06 13:33:56 -05:00
arkon
c4ceda59df Release v0.15.0 2024-01-06 09:50:56 -05:00
arkon
8321ff6000 Bump dependencies 2024-01-05 23:21:19 -05:00
arkon
9c899e97a9 Clean up external repos
- Accept full URL as input instead, which allows for non-GitHub
- Remove automatic CDN fallback in favor of adding that as an external repo if needed
2024-01-05 23:13:16 -05:00