Commit graph

7875 commits

Author SHA1 Message Date
Radon Rosborough
7df4ec93b0
Massively improve findFile performance (#728)
* Massively improve findFile performance

* Update libs.versions.toml

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 7ec2108812fbe0483111dbe996e29e5a621b583a)
(cherry picked from commit 089e6268e7777394fe2b2b572ad65e59bdf3477d)
2024-05-19 02:52:52 +07:00
AntsyLich
20230046ae
Trust extension by repo (#570)
(cherry picked from commit 70cd688ac245a70a3146e2ac7374f24b0c3453ab)
(cherry picked from commit bbc8adc3e8d1614f75075a1a81f1cb1b61457168)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt
2024-05-19 02:52:52 +07:00
AntsyLich
59144028c1
Fix some extension related issue and cleanups
- Extension being marked as not installed instead of untrusted after updating with private installer
- Extension update counter not updating due to extension being marked as untrusted
- Minimize `Key "extension-XXX-YYY" was already used` crash

(cherry picked from commit 21145144cdf550aa775047603e06e261951ebc42)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/ExtensionManager.kt
(cherry picked from commit 077b673c0aaa78cf94356cdfc43a4730e5b1f787)
2024-05-19 02:52:52 +07:00
FooIbar
5625b0a49f
Log app crash exceptions in dumped crash logs (#742)
(cherry picked from commit a3d438e2f5b427eb8b4c391ab9fe10c5a83baf29)
(cherry picked from commit 14dae420f5f1cd0df8fd91e5e393a598ef853333)
2024-05-19 02:52:52 +07:00
FooIbar
dc75025d78
Use Coil pipeline instead of SSIV for image decode (#692)
(cherry picked from commit c3e7bb12f4cccf42dd3ea169111c771876e640fe)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt
(cherry picked from commit 5ae350866538cb21e43bd92f4fde42472da5afb8)
2024-05-19 02:52:51 +07:00
FooIbar
b226027dce
Use Okio instead of java.io for image processing (#691)
(cherry picked from commit b152e3881bffd9050a8a0ed4030823886e3fe04f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	core/common/src/main/kotlin/tachiyomi/core/common/util/system/ImageUtil.kt
(cherry picked from commit aeeff72bed2a568812e8f09b3089d86df6bfea4d)
2024-05-19 02:52:51 +07:00
FooIbar
35522c75a1
Use m3 ripple and clean up interactionSource usage (#675)
Also remove a leftover of scoped storage adaptation.

(cherry picked from commit f27ca3b1b2f92258c213bca6b27d8eff4c7363ad)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/manga/components/MangaBottomActionMenu.kt
(cherry picked from commit 5895e78b398b8d3b3c58cb742f2511f20c8103d1)
2024-05-19 02:52:51 +07:00
Cuong M. Tran
1761811fc7
update changelog 2024-05-19 02:52:51 +07:00
Cuong M. Tran
8eceef75b9
update changelog 2024-05-08 14:47:59 +07:00
Cuong M. Tran
1eefa745ea
Updater: similar to Mihon
- Preview version now name Beta, use different package & repo
- Drop syDebugVersion, use commitCount
- Fix Firebase analytics for both Release & Preview build
- Create separate variant for Preview build instead of using syDebugVersion
- Preview version showing changelog_debug.xml
- Release version showing changelog_release.xml
2024-05-08 11:55:10 +07:00
Cuong M. Tran
4161b6cac9
WhatsNewDialog: add button to open Github's release version 2024-05-08 11:12:54 +07:00
Cuong M. Tran
533caa0cc2
AboutScreen: remove Mihon's link & update Komikku's link 2024-05-08 11:01:16 +07:00
Cuong M. Tran
19b57a22d0
new icon for preview/beta
update icon for debug
2024-05-06 10:51:07 +07:00
Cuong M. Tran
1044e1d115
Change WhatsNew confirm button from Cancel to OK 2024-05-03 18:08:13 +07:00
Cuong M. Tran
0f29586723
Disable invalidate_download_cache since it's not working yet 2024-05-03 18:07:41 +07:00
Cuong M. Tran
5942daa4e1
Related titles: switch to Map to avoid duplicated entries 2024-05-03 10:21:22 +07:00
Cuong M. Tran
2f752e0fc5
Navigate from SourceFeedScreen will allow go back to it instead of Home screen 2024-05-02 16:12:38 +07:00
Cuong M. Tran
5392999e39
Click on the missing Source name in MangaScreen will search for missing extension in ExtensionsScreen 2024-05-02 15:53:43 +07:00
Cuong M. Tran
ba1414d70d
Click uninstalled source in MangaScreen will open extensionsTab 2024-05-02 15:53:43 +07:00
Cuong M. Tran
01007bf870
Add WebView button to SourceFeedScreen 2024-05-02 13:42:50 +07:00
Cuong M. Tran
329417c431
Click on Source name in MangaScreen will open Source's Browsing instead of Global searching 2024-05-02 12:38:49 +07:00
Cuong M. Tran
d9e440084e
Support showing related titles for all extensions...
...by using getSearchManga (if extension support searching)

Drop old API style (using suspend function instead of RxJava)

Cleanup
2024-04-30 02:33:54 +07:00
Cuong Tran
f6be3a494c
BulkSelection: “Select all” for all screens
(cherry picked from commit bddcc089df738e23331b351cc20c8425cb316c74)
2024-04-26 12:44:49 +07:00
Cuong Tran
45553eb096
BulkSelection: avoid using toggle when Select all
(cherry picked from commit 695f872b381feca1051f0f5133a0288d252691e5)
2024-04-26 12:33:05 +07:00
Cuong Tran
097ce0e2c3
Hide bulkSelection’s “Select all” button when not used
(cherry picked from commit 8f8214f65467cde97161a5fd9edab5b1543b333e)
2024-04-26 12:06:29 +07:00
Cuong M. Tran
fddfe6280a
Select All for GlobalSearch
(cherry picked from commit a28233735cac5bce5a630de84555b501ffcccc8d)
2024-04-26 11:45:09 +07:00
Cuong M. Tran
5d870559e7
Merge branch 'master' into bulk-favorite 2024-04-26 11:38:17 +07:00
Cologler
30ab6153ca
fix: check order before restore from backup (#1156) 2024-04-26 11:35:16 +07:00
KaiserBh
e3e5c55a5a
feat: syncing etag and overall improvement. (#1155)
* chore: don't log the access token from google.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* chore: don't log the access token from google.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* chore: forgot to add sy stuff.

The customInfo and readEntries wasn't taken into account, so when it was disabled it will always sync it because it's true by default in BackupOptions.kt. Should be fixed and now it doesn't reset the check mark.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* fix: same device sync.

When same device is initiating the sync just update the remote that.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* refactor: throw early.

When there is network failure or any sort during downloading just throw exception and stop syncing.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* refactor(gdrive): stream the json.

People with over 3k library can't sync because we are hitting OOM ```java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 370950192 byte allocation with 25165824 free bytes and 281MB until OOM, target footprint 333990992, growth limit 603979776```. This should fix that for them but only gdrive.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* feat: a demo for sync with new api

* refactor: perform early null checks

* feat: restore even if push failed

* feat: switch to protobuf

* chore: show error notification when sync fails.

Signed-off-by: KaiserBh <kaiserbh@proton.me>

* fix: update order by merge

* fix: call pushSyncData twice

---------

Signed-off-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: Cologler <skyoflw@gmail.com>
2024-04-26 11:35:16 +07:00
Jobobby04
9681b8f055
Move sync strings to SY files 2024-04-26 11:35:15 +07:00
AntsyLich
9b66027ad8
MangaCoverFetcher: Small cleanups
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 13656959ae0606736f6ca9eb62699dc23e467c2f)
2024-04-26 11:35:15 +07:00
AntsyLich
4836ddfffc
Remove unused imports
(cherry picked from commit 20e4cb26d6c264b13edb357ecfa25a6db21f19b8)
2024-04-26 11:35:15 +07:00
AntsyLich
72634e76f8
Rework buildSrc and remove usage of subprojects
(cherry picked from commit e448e40406e8d9916120a278e42829a6f1b25a7a)

# Conflicts:
#	app/build.gradle.kts
#	buildSrc/src/main/kotlin/AndroidConfig.kt
#	i18n/build.gradle.kts
#	source-api/build.gradle.kts
2024-04-26 11:35:15 +07:00
AntsyLich
b07a1428a3
Fix build time zone in about screen
And slight cleanup

(cherry picked from commit aed53d3bdc85ce0e899fbb90b9f9cad0f1b86480)
2024-04-26 11:35:15 +07:00
MajorTanya
77dcfe1b17
Add ProGuard rule to keep mihon namespace classes (#605)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 555d2f834fb64df9a56fdf4f54d528c15fefa4cb)
2024-04-26 11:35:15 +07:00
Andreas
6d4623e616
Fix Migrator not doing work (#604)
(cherry picked from commit 6b3423a12b620dd2aae635ac4e859d00a4f62ceb)
2024-04-26 11:35:15 +07:00
Maddie Witman
ffed74b74c
New Feature: Introduce Upcoming page to Mihon (#420)
* Work in progress upcoming feature

* Checkpointing WIP upcoming feature

* Functional Upcoming Screen

* Rename UpdateCalendar to UpdateUpcoming

* Converted Strings to resources

* Cleanup

* Fixed detekt issues

* Removed Link icon per @AntsyLich's suggestion.

* Detekt

* Fixed Calendar display on wide form factor devices

* Added Key to upcoming lazycolumn

* Updated tablet mode UI to support two column view

* Updated header creation logic

* Updated header creation logic... again

* Moved stray string to resources

* Fixed PR Comments and query refactor

* Tweaks to query, refactored to flow, comments on calendar

* Switched to Date Formatter

* Cleaned up date formatter

* More Refactor work

* Updated Calendar to support localized week formats

* Fixed year format

* Refactored Header animation

* Moved upcoming FAQ

* Completed YearMonth Migration

* Replaced currentYearMonth with delegate

* Even more cleanup

* cleaned up alignment modifiers

* Click Handler and other refactors

* Removed Wrapped Content Height/Size/extra clips

* Huge Refactor for CalendarDay

* Another cleanup attempt

* Migrated to new mihon.feature.* module pattern

* changed access modifier

* A Bunch of changes from the next round of reviews

* Cleanups

* Cleanup 2

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 72222ad86d6fb328d20eead86c6357833d08c061)

# Conflicts:
#	app/src/main/java/eu/kanade/domain/DomainModule.kt
#	gradle/libs.versions.toml
2024-04-26 11:35:15 +07:00
Andreas
19035174cb
Migrator improvements (#588)
(cherry picked from commit 0265c16eb239518d52b7e9fb4200b5b003418d5d)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2024-04-26 11:35:15 +07:00
Jobobby04
8b4caf11c3
Reduce build warnings 2024-04-26 11:35:15 +07:00
Jobobby04
ae8e931a4a
Fix build 2024-04-26 11:35:15 +07:00
Maddie Witman
1d039752dd
Migrated from Accompanist Webview to KevinZou WebView (#569)
* Migrated from Accompanist Webview to KevinZou WebView to preempt deprecation

* Removed old webview from version library

(cherry picked from commit ba9cfd867c028551c0b0740922c5130b14455c9f)
2024-04-26 11:35:15 +07:00
Andreas
0f9add0eca
Rewrite Migrations (#577)
* Rewrite Migrations

* Fix Detekt errors

* Do migrations synchronous

* Filter and sort migrations

* Review changes

* Review changes 2

* Fix Detekt errors

(cherry picked from commit 666d6aa117756f0a9a57b31f91b7acb0ee5d7409)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/Migrations.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2024-04-26 11:35:15 +07:00
Jobobby04
8c651a1d0f
Fix build 2024-04-26 11:35:15 +07:00
Jobobby04
7a482c64e4
Revert "Migrated from Accompanist Webview to KevinZou WebView (#569)"
This reverts commit 268b4831826df121f2b7fb7529ad367389bc731c.
2024-04-26 11:35:15 +07:00
AntsyLich
e258770407
Fix more TypeReference issues and cleanup
(cherry picked from commit e020ae5ed558e80742ef0ad8bfa0f69af0959d5a)
2024-04-26 11:35:15 +07:00
MajorTanya
4ffdc2d426
Fix extension repo crash with TypeReference issue (#574)
Fix by @AntsyLich.

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 05071b420572a8fa93a55ab02c743c7da4fd3b3a)
2024-04-26 11:35:15 +07:00
MajorTanya
ee4b89ccf9
Fix repo name used for URL instead of baseUrl (#572)
* Fix repo name used for URL instead of baseUrl

This applies to both the item being shown in the screen as well as the
"copy to clipboard" button. Before, copying a repo url would return
"The Repo Name/index.json.min". This PR fixes that.

* Correct Misunderstanding

Passing the whole ExtensionRepo data class through now, using the name
for display purposes and the baseUrl for copying the URL.

(cherry picked from commit da20d00481f112802aade5d63fc1eca15c5496ba)
2024-04-26 11:35:15 +07:00
Maddie Witman
7aefe011fa
Migrated from Accompanist Webview to KevinZou WebView (#569)
* Migrated from Accompanist Webview to KevinZou WebView to preempt deprecation

* Removed old webview from version library

(cherry picked from commit ba9cfd867c028551c0b0740922c5130b14455c9f)
2024-04-26 11:35:14 +07:00
Maddie Witman
93f9bc02d0
Grab extension repo detail from repo.json and include in DB (#506)
* 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>
(cherry picked from commit 4b4e46851083c29ca412c114b1b96136fcc21442)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/Migrations.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	data/src/main/sqldelight/tachiyomi/migrations/3.sqm

# Conflicts:
#	app/src/main/java/eu/kanade/domain/extension/interactor/CreateExtensionRepo.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionApi.kt
2024-04-26 11:35:14 +07:00
renovate[bot]
bc4ee3af78
fix(deps): update aboutlib.version to v11 (major) (#473)
* 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>
(cherry picked from commit e75488f5d98fb600408d065d1c5060520a8921a4)

# Conflicts:
#	gradle/libs.versions.toml
2024-04-26 11:35:14 +07:00