Commit Graph
100 Commits
Author SHA1 Message Date
arkonandjobobby04 56722140c9 Add a proguard rule for XMLUtil
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2022-09-26 17:28:22 -04:00
arkon e90b39b29d Use more unique item keys
Should make stacktraces more distinguishable.
2022-09-26 17:23:08 -04:00
arkon ec272f6c4e Fix date added when adding from browse source
Fixes #8059
2022-09-25 13:09:25 -04:00
arkon f0af3858e8 Bump minimum WebView version and default user agent string 2022-09-25 10:55:10 -04:00
arkon db91d04e82 Temporarily replace library category tabs divider with our own
Fixes #7789
2022-09-25 10:50:02 -04:00
arkon 9859b38f32 Ellipsize long titles
Fixes #8075
2022-09-25 10:18:50 -04:00
arkon b8c1257645 Enable Gradle parallel mode 2022-09-24 11:57:27 -04:00
arkon 2d22baba62 Bump dependencies 2022-09-24 10:34:49 -04:00
arkon 750f90614d Remove Tagalog translations
Filipino should be used instead. Hopefully Weblate stops adding this back??
2022-09-24 10:31:45 -04:00
arkon b37b3767f3 Minor cleanup
Also add POST_NOTIFICATIONS permissions to make Android Studio stop complaining about it.
2022-09-21 22:39:32 -04:00
arkon 2d56ad1ad9 Replace deprecated SmallTopAppBar 2022-09-21 22:30:06 -04:00
arkon 5d3bc7245e Bump dependencies 2022-09-21 22:19:00 -04:00
arkon 2b089648a3 Remove redundant preference keys 2022-09-20 00:13:33 -04:00
arkon 0e3176a77c Clean up UpdatesController
- Move loading state into scaffold (closes #7704)
- Move logic into presenter
- Make some composables private
2022-09-18 22:38:44 -04:00
arkon f85cbb1582 Replace clear database FAB with button
Also remove a bunch of unnecessary inset paddings since Scaffold handles it
2022-09-18 18:38:22 -04:00
arkon 20bbda78e6 Fix library search not being reflected (fixes #8031) 2022-09-18 18:09:26 -04:00
arkon 0225711f6f Clean up base classes
Should be able to throw away some of the search controller stuff after Global Search is migrated
2022-09-18 17:22:54 -04:00
arkon 7ec822503a Catch error properly when app update check fails (fixes #8019) 2022-09-18 16:24:26 -04:00
arkon 83871fc013 Minor cleanup/fixes
- Add FAB collapsing in clear database screen (fixes #7935)
- Don't allow multiline category names to be entered
- Consolidate Downloaded Only / Incognito Mode banner components
- Fix see-through migrate screen sticky header
2022-09-18 16:08:58 -04:00
arkon 877ae041a4 Avoid invalid locales in language picker (fixes #7950)
We should probably prune the translations though.
2022-09-18 11:07:10 -04:00
arkonandjobobby04 4ea512f6c2 Fix manga being reinitialized in browse
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2022-09-15 22:55:20 -04:00
arkon 829aadd0bd Always attempt automatic backup creation
- Defaults to every 12 hours
- Minimum number of backups is now 2, just to offer some level of redundancy in case something happens
- If it's missing storage permissions, it'll fail but that's the user's loss if they somehow haven't granted that permission yet
2022-09-15 22:53:46 -04:00
arkon 9d28def387 Remove some dead code 2022-09-15 22:51:01 -04:00
arkon 82cd316493 Revert compose-theme-adapter
Since it brings in material3 beta02. See https://issuetracker.google.com/issues/245626686
2022-09-13 09:22:46 -04:00
arkon 19be0d68b6 Add some padding to tab indicators 2022-09-11 17:59:08 -04:00
arkon f9bbbce466 Check the actual folder when deleting source folder in case of stale cache 2022-09-11 17:58:59 -04:00
arkon eb5ef72747 Revert "Update Compose Material3"
This partially reverts commit 3dea10bcb9.

See https://issuetracker.google.com/issues/245626686
2022-09-11 17:49:10 -04:00
arkon 3dea10bcb9 Update Compose Material3 2022-09-11 11:52:29 -04:00
arkon cd3cb72b65 Bump dependencies + linting 2022-09-10 23:57:03 -04:00
arkon b8cdf7fbff [skip ci] avoid PR builds for translations 2022-09-10 10:30:53 -04:00
arkon 28594bba2c Remove unused resources 2022-09-10 10:19:38 -04:00
arkon 448978ac8a Remove unused resources 2022-09-09 22:37:29 -04:00
arkon 26d8e47bb9 Bump default user agent string 2022-09-04 18:01:02 -04:00
arkon 21804bfc45 Reimplement extensions search
Not sure if I should abstract this out to per-tab though. Maybe when we need it...
2022-09-03 10:47:48 -04:00
arkon 38950f7bc8 Address some OkHttp nullability changes 2022-09-03 10:38:56 -04:00
arkon bbf5c86b46 Fix missing downloaded only/incognito banners in Browse 2022-09-03 10:33:31 -04:00
arkon 8ef200861c Fix webtoon viewer pages not loading
Partial revert of fddca15182
2022-09-02 10:02:04 -04:00
arkon 30b86e530b Bump OkHttp and re-enable fast fallback
It wasn't very stable last time, but we'll see how it goes in preview builds.
2022-08-31 16:51:33 -04:00
arkon 504844a892 Make top app bar lift behavior more consistent 2022-08-31 16:31:08 -04:00
arkon 4c1da1bd1d Maybe fix extensions list crash
Also fix weird animation of last updated text in Updates
2022-08-31 15:56:08 -04:00
arkon dc62d0ea8b Clean up interceptors a bit 2022-08-31 15:39:59 -04:00
arkon c39a1b7867 Minor cleanup 2022-08-31 14:43:58 -04:00
arkon 90c08303fa Implement nicer UI for migrate list sorting 2022-08-30 16:31:28 -04:00
arkon 92e83f702c Initial conversion of browse tabs to full Compose
TODO:
- Global search should launch a controller with the search textfield focused. This is pending a Compose rewrite of that screen.
- Better migrate sort UI
- Extensions search
2022-08-30 16:05:35 -04:00
arkon f5c7aa1142 Convert settings main and search views to full Compose 2022-08-29 16:39:35 -04:00
arkon 761635b572 Convert extension details to full Compose 2022-08-29 16:10:55 -04:00
arkonandSaud-97 488d8ab8cf Update chapter progress upon registering tracker (closes #7209)
Co-authored-by: Saud-97 <Saud-97@users.noreply.github.com>
2022-08-29 15:36:56 -04:00
arkon 8efb20439a Remove some usages of global scope 2022-08-29 15:15:18 -04:00
arkonanddatreesezcup 43c195e14a Add last update time to Updates Tab (closes #5466)
Co-authored-by: datreesezcup <datreesezcup@users.noreply.github.com>
2022-08-29 14:57:25 -04:00
arkon 8a3a7418d0 Show number of unique library items (closes #6522)
- Filters do affect this
- Won't be shown if tabs aren't visible and there's more than 1 category (so it'd always show the per-category count), but a separate stats page should show that info instead
2022-08-29 14:34:11 -04:00
arkon 32190b6cac Fix choosing regionalized locales 2022-08-29 13:54:02 -04:00
arkon cd82c88b9a Fix checkbox selection when tapping text in Compose dialogs 2022-08-27 12:48:04 -04:00
arkon 31b62b2779 Minor cleanup 2022-08-27 11:50:51 -04:00
arkon 5732fc61e8 Bump dependencies 2022-08-26 09:21:30 -04:00
arkon 03b9950fa1 Minor tweaks to download custom dialog
- Allow large decrements (just goes to 0)
- Use Material3 text field for proper theming
- Move dialog composable to presentation package
2022-08-26 09:16:26 -04:00
arkon 2e81e1b7d8 Reorder themes 2022-08-21 11:27:02 -04:00
arkon 3760b310df Don't allow setting blank user agent string 2022-08-19 08:24:03 -04:00
arkon 301cae13f0 Simplify split tall images preference wording 2022-08-18 18:55:15 -04:00
arkon 1fe9b7bda7 Update default user agent string 2022-08-18 18:54:55 -04:00
arkon 324ae3fcfb Remove Duktape
Now that none of the official extensions are using it.
2022-08-18 18:01:57 -04:00
arkon 29348677b8 Merge branch 'patch' 2022-08-14 11:51:29 -04:00
arkon 1f79444a53 Fix sources not loading 2022-08-14 11:49:19 -04:00
arkon daaa23e8e0 Add ref to push workflow concurrency group
To help distinguish from tag builds
2022-08-14 11:31:05 -04:00
arkon 1d6aa9a277 Merge branch 'patch'
# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/models/Manga.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/saver/ImageSaver.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionInstallReceiver.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/SearchableNucleusController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/MigrationFlags.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/AddDuplicateMangaDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderPageImageView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderTransitionView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterSorter.kt
#	app/src/main/res/layout/pref_settings.xml
#	app/src/test/java/eu/kanade/tachiyomi/util/chapter/ChapterRecognitionTest.kt
#	gradle/androidx.versions.toml
#	gradle/libs.versions.toml
2022-08-14 11:28:28 -04:00
arkon 7497e02979 Update checkbox icons to match latest Material lib 2022-08-14 11:05:53 -04:00
arkon 8811d951d0 Release v0.13.6 2022-08-14 10:32:04 -04:00
arkon a89651810d Don't allow swiping away app update install notification
Based on 85ef40d0ff
2022-08-13 15:15:14 -04:00
arkon b635789740 Actually compare chapter numbers as numbers when sorting (fixes #7247)
(cherry picked from commit da8669c826)
2022-08-13 15:05:23 -04:00
6db2becd30 Add auto split tall images setting
Also includes some fixes for bad merges in earlier commits

Co-authored-by: Saud-97 <Saud-97@users.noreply.github.com>
Co-authored-by: AntsyLich <AntsyLich@users.noreply.github.com>
2022-08-13 14:56:08 -04:00
arkon d4adb664cc Avoid catastrophic failure when cover can't be created in local source (fixes #7577)
(cherry picked from commit d6977e5676)
2022-08-13 13:14:33 -04:00
arkon 5194bdb229 Show better error when trying to open RARv5 file
(cherry picked from commit a843054388)
2022-08-13 13:14:23 -04:00
arkon 7c7bd72c8e Make default user agent string configurable
(cherry picked from commit 4ee1d72b6f)
2022-08-13 13:09:55 -04:00
arkon c7e44aa22f Replace deprecated ACTION_MEDIA_SCANNER_SCAN_FILE intent
(cherry picked from commit 0b4f3f5532)
2022-08-13 13:09:19 -04:00
arkonandghostbear ac4f98e152 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

Based on d977b89af1

Co-authored-by: ghostbear <andreas.everos@gmail.com>
2022-08-13 13:08:16 -04:00
arkon e0d23cd688 Use Material3 switches in XML layouts
(cherry picked from commit da7a64b40d)
2022-08-13 13:05:36 -04:00
arkon 3966a917ee Bump dependencies + compile SDK to 33 + linting 2022-08-13 12:52:18 -04:00
arkon be33a57d43 Update .editorconfig 2022-08-13 12:37:13 -04:00
arkonandSaud-97 4a71022a60 Update chapter recognition and related tests
Includes 3e07100dc2

Co-authored-by: Saud-97 <Saud-97@users.noreply.github.com>
2022-08-13 12:37:02 -04:00
arkon 34ac39e7e5 Update AGP/Gradle 2022-08-13 10:13:37 -04:00
arkon d6f1534ee8 Address misc. build warnings 2022-08-10 23:26:34 -04:00
arkon 24e64f52e2 Bump dependencies 2022-08-10 22:54:19 -04:00
arkon b0da0753d9 Use concurrency to cancel duplicate workflow runs
Docs: https://docs.github.com/en/actions/using-jobs/using-concurrency
2022-08-10 22:51:01 -04:00
arkon e511f24979 Fix crash when setting cover errors (closes #7714) 2022-08-10 16:11:12 -04:00
arkon 3bc6b1e202 Fix default category showing up in edit manga categories list
Also remove some usages of runBlocking
2022-08-07 11:00:51 -04:00
arkon 3c2e237d63 Fix appbar action content descriptions 2022-08-07 10:16:08 -04:00
arkon 688cc64dff Minor fixes
- Fix categories modal showing when adding from source with no categories
- Use old categories icon in library bottom action menu
2022-08-06 16:23:13 -04:00
arkon 9f0052eceb More backup/restore code cleanup 2022-08-06 15:40:50 -04:00
arkon a2bb81b7db 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.
2022-08-05 23:11:06 -04:00
arkon 5e68fe4fe9 Make screen loading indicators more consistent 2022-08-05 22:33:52 -04:00
arkon 807987f0d3 Bump AGP and Compose compiler dependencies 2022-08-04 17:43:41 -04:00
arkon 322f3a07e8 Remove some unneeded TODOs 2022-07-31 17:52:17 -04:00
arkon bfd22f8f2d Minor gradle cleanup 2022-07-31 11:55:53 -04:00
arkon 2ca62c4eda Remove unused viewstatepageradapter dependency 2022-07-31 11:55:07 -04:00
arkon 0c9c4c0347 Mimic M3 rounded tab indicators 2022-07-30 12:27:32 -04:00
arkon f90e1b935c Bump dependencies 2022-07-29 23:13:40 -04:00
arkon 7336714306 Bump dependencies and remove some unneeded opt-in compiler flags 2022-07-27 09:26:40 -04:00
arkon cd9487f94c Set splash screen ready state for history and updates pages 2022-07-23 19:37:26 -04:00
arkon 07c9af4901 Fix padding in history screen 2022-07-23 11:25:45 -04:00
arkon d6977e5676 Avoid catastrophic failure when cover can't be created in local source (fixes #7577) 2022-07-23 11:14:34 -04:00
arkon a843054388 Show better error when trying to open RARv5 file 2022-07-23 11:13:52 -04:00