Jobobby04
d14f012bbb
Update firebase
2024-03-17 19:53:23 -04:00
Shamicen
6719f22eff
implement mihonapp/mihon#326 ( #1104 )
...
* implement mihonapp/mihon#326
Archives are now being read from channels
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
* disable parallelisms for loading into memory
* switched to mutex
* detekt changes
* more detekt baseline changes
---------
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-03-16 11:59:00 -04:00
KaiserBh
334e9fb680
feat: add cross device sync ( #1005 )
...
* feat: add cross device sync.
* chore: add google api.
* chore: add SY specifics.
* feat: add backupSource, backupPref, and "SY" backupSavedSearches.
I forgot to add the data into the merging logic, So remote always have empty value :(. Better late than never.
* feat(sync): Allow to choose what to sync.
Various improvement and added the option to choose what they want to sync. Added sync library button to LibraryTab as well.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* oops.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* refactor: fix up the sync triggers, and update imports.
* refactor
* chore: review pointers.
* refactor: update imports
* refactor: add more error guard for gdrive.
Also changed it to be app specific, we don't want them to use sync data from SY or other forks as some of the model and backup is different. So if people using other forks they should use the same data and not mismatch.
* fix: conflict and refactor.
* refactor: update imports.
* chore: fix some of detekt error.
* refactor: add breaks and max retries.
I think we were reaching deadlock or infinite loop causing the sync to go forever.
* 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 migrations
* chore: version and is_syncing fields.
* chore: add SY only stuff.
* fix: oops wrong index.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* chore: review pointers.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* chore: remove the option to reset timestamp
We don't need this anymore since we are utilizing versioning system.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* refactor: Forgot to use the new versioning system.
I forgot to cherry pick this from mihon branch.
* chore: remove isSyncing from Chapter/Manga model.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* chore: remove unused import.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* chore: remove isSyncing leftover.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* chore: remove isSyncing.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
* refactor: make sure the manga version is bumped.
When there is changes in the chapters table such as reading or updating last read page we should bump the manga version. This way the manga is synced properly as in the History and last_read history is synced properly. This should fix the sorting issue.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
---------
Signed-off-by: KaiserBh <kaiserbh@proton.me>
2024-03-16 11:53:20 -04:00
renovate[bot]
ee6bc20f27
Update dependency io.nlopez.compose.rules:detekt to v0.3.12 ( #500 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 0d6f426dbd8874c7861b6cc245f9e6ff43dbbe2c)
2024-03-15 20:07:56 -04:00
az4521
a9fd1f8811
Update image-decoder ( #466 )
...
Use newer image-decoder lib
fixes crashing when trying to load corrupt images below 12 bytes in size
(cherry picked from commit 154f4d327caea9ceef6a53e739324ee0a9ed959d)
# Conflicts:
# gradle/libs.versions.toml
2024-03-15 19:53:26 -04:00
renovate[bot]
117e0d5792
Update dependency com.android.tools.build:gradle to v8.3.0 ( #471 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 31e052ac15679496f9f2c3882e53096119e0e6cf)
2024-03-03 22:00:56 -05:00
renovate[bot]
64bbe941a4
Update dependency io.mockk:mockk to v1.13.10 ( #470 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 60480686daa9456c78d7cb45c5ad2e23644d1bd2)
2024-03-03 22:00:49 -05:00
renovate[bot]
03bc09c1aa
Update dependency me.saket.swipe:swipe to v1.3.0 ( #343 )
...
* 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>
(cherry picked from commit b51a0a38bd9849b573bc2de0d936d6ab2becb83c)
# Conflicts:
# app/src/main/java/eu/kanade/presentation/manga/components/MangaChapterListItem.kt
2024-03-02 14:24:16 -05:00
AntsyLich
c4df418081
Switch to Coil3
...
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit f72b6e4d7c1f2f93d705402e4d80c94160bef54d)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/App.kt
# app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt
2024-03-02 14:22:54 -05:00
AntsyLich
deb0a95985
Upgrade Compose
...
(cherry picked from commit 0301362430af6f74678dcae801b70d6aeb371a56)
2024-03-02 14:01:34 -05:00
renovate[bot]
23e3ec20b6
Update Kotlin ( #422 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 802a2c5c1ea73c79967fb5b535b6249506df1870)
2024-03-02 13:59:43 -05:00
renovate[bot]
32d97ed194
Update dependency io.coil-kt:coil-bom to v2.6.0 ( #447 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit c1c174698525e982107cc955d8dff711c4498989)
2024-03-02 13:59:34 -05:00
renovate[bot]
167a4e9820
Update dependency org.junit.jupiter:junit-jupiter to v5.10.2 ( #419 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 4fcbd80a8ec72f4113d0ee9d457c000dcd8e7440)
2024-03-02 13:59:25 -05:00
renovate[bot]
aef0b50663
Update dependency com.google.firebase:firebase-analytics-ktx to v21.5.1 ( #417 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 16969193c718cc8e6cabb473ecb1d0d7bc02f33e)
# Conflicts:
# gradle/libs.versions.toml
2024-03-02 13:59:16 -05:00
renovate[bot]
5b5e6c8f44
Update dependency androidx.test.uiautomator:uiautomator to v2.3.0 ( #416 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 55637ddfe154c2ed60efb5d9d1466d2106c97f9f)
2024-03-02 13:58:48 -05:00
renovate[bot]
5dc96384bd
Update detekt to v1.23.5 ( #267 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit e50358dc4be7cbd866a79d052edc62689f0e4ca5)
2024-03-02 13:58:39 -05:00
renovate[bot]
b7c9eaa981
Update dependency com.squareup.okio:okio to v3.8.0 ( #423 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 1521c359412518731ef7338255cdd280321faa70)
2024-03-02 13:56:12 -05:00
renovate[bot]
133c34dee2
Update dependency com.google.gms:google-services to v4.4.1 ( #418 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 21020e1797ae9c0373e5132e1dbcd9a64455c17f)
2024-03-02 13:48:11 -05:00
renovate[bot]
3417fdb1a4
Update dependency androidx.test.ext:junit-ktx to v1.2.0-alpha03 ( #340 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 72f3756a3b89de292d75d41fe6b5a59172039c45)
2024-03-02 12:10:13 -05:00
renovate[bot]
a6394672e7
Update dependency androidx.test.espresso:espresso-core to v3.6.0-alpha03 ( #339 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 0780385d2ebc9caca0bda0151d828ea6e036c768)
2024-03-02 12:10:07 -05:00
renovate[bot]
1fc97e4b7a
Update lifecycle.version to v2.7.0 ( #268 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 31e9273b1ff4ecfd1992beaa8ad10fa27f726cc2)
2024-03-02 12:09:58 -05:00
renovate[bot]
fe853aa1c5
Update dependency com.github.requery:sqlite-android to v3.45.0 ( #260 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 088e37b2d8d4d790e926eda34119377c2f94ccf6)
# Conflicts:
# gradle/libs.versions.toml
2024-03-02 12:09:47 -05:00
renovate[bot]
9c3f805eab
Update dependency io.github.fornewid:material-motion-compose-core to v1.2.0 ( #257 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 5b88f1bd94ae3c696681fe34a22453575e747ff6)
2024-03-02 12:08:30 -05:00
renovate[bot]
410eda6d6c
Update dependency androidx.benchmark:benchmark-macro-junit4 to v1.2.3 ( #255 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 18beb20aac774a83d6cb13f6dc276c3683aaf9a2)
2024-03-02 12:08:21 -05:00
renovate[bot]
719c24fb38
Update dependency gradle to v8.6 ( #341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 9bff20cb1a0918d7789b281952624fed890fbab7)
2024-03-02 12:08:04 -05:00
AntsyLich
0cf6a6ef2d
Upgrade combose-bom
to latest
...
(cherry picked from commit 47e542152788e587f5f77dea4b2676683f2fba47)
# Conflicts:
# app/src/main/java/eu/kanade/presentation/manga/components/MangaBottomActionMenu.kt
2024-02-17 14:48:08 -05:00
Theodoro Loureiro mota
4d44e093d5
Fix #197 - Scroll crashing ( #272 )
...
Updating compose bom.
(cherry picked from commit 5dc6501688d541da990eaa1f687d93dc9e18e20e)
2024-02-17 14:47:29 -05:00
Theodoro Loureiro mota
2c75649a3c
Adding Detekt in the project ( #216 )
...
* 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>
(cherry picked from commit cc09230e266c3cd7ed748affe92922d775523695)
# Conflicts:
# .github/workflows/build_pull_request.yml
# .github/workflows/build_push.yml
2024-02-17 14:47:23 -05:00
renovate[bot]
1ca599a550
Update dependency com.android.tools.build:gradle to v8.2.2 ( #256 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 4bcba0503ae36aa42384335333b814163c0ed0c8)
2024-02-17 14:45:24 -05:00
arkon
a80a765ee5
Update Compose compiler and Kotlin
...
(cherry picked from commit 9ae71dfe93291e6d170f5e6af994f2c52c4158a1)
2024-01-13 00:18:45 -05:00
renovate[bot]
83d85cdd7c
Update dependency io.mockk:mockk to v1.13.9 ( #10349 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 7d6e1bdafc8043f4b8f5d91cd0f3d836a38e3025)
2024-01-09 18:52:14 -05:00
arkon
ed88c76010
Bump dependencies
...
(cherry picked from commit 8321ff60005892e3ba333caafd1e88c1fb6d6660)
2024-01-09 18:51:39 -05:00
arkon
98f4b7086a
Defer ACRA reporting until device is idle/not low battery/on unmetered network
...
(cherry picked from commit ec478cbb1bc0a80c18957169cbcc13505d46f37d)
# Conflicts:
# app/build.gradle.kts
# app/src/main/java/eu/kanade/tachiyomi/App.kt
2024-01-09 18:50:41 -05:00
arkon
10b8924d43
Use Material3 version of AboutLibraries
...
(cherry picked from commit 74931fad861abf19f26b51d9395642b58ee34e12)
2023-12-31 15:09:08 -05:00
renovate[bot]
9a32b209b9
Update dependency org.jsoup:jsoup to v1.17.2 ( #10277 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 901b77f55c6a6fc819505ce77fee9caff4881c16)
2023-12-31 02:01:28 -05:00
arkon
f5c5c6ef0d
Update Coil
...
(cherry picked from commit 087da2b2f3f6ca333aa0534b56ab059294f34f9e)
2023-12-27 13:47:37 -05:00
arkon
abf1cdb31b
Update Compose compiler
...
(cherry picked from commit a51108cbe8d86976ecf8f7e6c7fcf7f5b6f65380)
2023-12-24 14:06:04 -05:00
renovate[bot]
11420ef158
Update okhttp monorepo to v5.0.0-alpha.12 ( #10245 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 7ae17e6aaccadfe01652ff54ca7c06cf756f0292)
2023-12-24 14:05:29 -05:00
renovate[bot]
d6b314473d
Update dependency com.squareup.okio:okio to v3.7.0 ( #10239 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit c6356fe4b2283667fff7c59a7d35ccac78b5e2c2)
2023-12-24 14:04:07 -05:00
arkon
7de2e72228
Bump dependencies
...
(cherry picked from commit add9357257b1e56c4f79554b4ea5cb60e8cfce56)
2023-12-24 13:34:12 -05:00
arkon
c42fe376d7
Upgrade Voyager
...
(cherry picked from commit e5693ed6689840e50da9d40af36539fe8611e858)
2023-12-24 12:50:23 -05:00
arkon
9671c456d5
Bump dependencies
...
(cherry picked from commit 3135db4bb28d46bd9d09b80cf17b94b999b99153)
2023-12-24 12:45:15 -05:00
renovate[bot]
deddf720bb
Update dependency com.android.tools.build:gradle to v8.2.0 ( #10212 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit ea1684133b155f44afbf31709be1df364a238735)
2023-12-24 12:17:25 -05:00
arkon
4a6693124e
Bump dependencies
...
(cherry picked from commit 7a52afd223332819d462365138f65ad8bcd8b3d9)
2023-12-24 12:15:04 -05:00
arkon
209da5eb04
Bump dependencies
...
(cherry picked from commit 5dda32bb8143abe4e495fb7a5693299ac9f4da41)
# Conflicts:
# .github/workflows/build_pull_request.yml
# app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/MigrationFlags.kt
2023-12-24 11:54:51 -05:00
Ivan Iskandar
fcb230df45
Migrate downloader service to WorkManager ( #10190 )
...
(cherry picked from commit 8ce8b600922410a4eb64da35a1850840a2f28669)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadService.kt
2023-12-24 11:53:10 -05:00
arkon
ab63f6036c
Remove storage permissions
...
Requires adjusting some file reading to first copy to a temporary file
in cache that we have permissions to read from. This is only applicable for things
like ZIP files where we need an actual File rather than just some Android content
URI shenanigans.
(cherry picked from commit 4fcdde4913df28bbd678ae1be4a2971ed77179d3)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/RarPageLoader.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ZipPageLoader.kt
# source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt
2023-12-24 11:46:47 -05:00
arkon
c2d2295149
Update UniFile
...
Which has more correct nullability for some methods and case insensitivity for listFiles where possible.
(cherry picked from commit a74a689c9048cc67f4854678fbfefa361631a5e7)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt
# source-local/src/androidMain/kotlin/tachiyomi/source/local/image/LocalCoverManager.kt
2023-12-23 23:30:24 -05:00
arkon
8a24a8b705
Bump dependencies
...
(cherry picked from commit f1778ac5b4160a6965ae1a5f2e420f8b5e11fafb)
2023-12-23 22:50:08 -05:00
Ivan Iskandar
8a68bfc2ce
Migrate XML themes to Compose ( #10152 )
...
(cherry picked from commit 255ed50685845e1a43ee4b86cdfd2484942b1368)
2023-12-23 22:42:42 -05:00