Commit Graph
100 Commits
Author SHA1 Message Date
arkon 4be9b03ac6 Combine build and test tasks in workflows 2022-05-19 13:45:15 -04:00
arkon 6d154b1e4f Run unit tests during CI builds 2022-05-18 22:41:29 -04:00
arkon f4e344f686 Bump dependencies 2022-05-18 22:30:28 -04:00
arkon 395a840fc4 Convert ic_untrusted_source icons to WEBP 2022-05-18 17:40:16 -04:00
arkon 01e04e31bf Theme Compose SwipeRefresh indicator like XML version
Also rename some screens/controllers to better represent that they're the list views.
2022-05-16 23:08:04 -04:00
arkon 63987f952e [skip ci] Reword reset viewer flags settings 2022-05-15 17:48:36 -04:00
arkon 9f42306f79 Minor cleanup 2022-05-15 17:03:57 -04:00
arkon d61bfd7caf Use jsDelivr as fallback when GitHub can't be reached for extensions (closes #5517)
Re-implementation of 24bb2f02dc
2022-05-15 16:51:52 -04:00
arkon 13943f77f7 Migrate extension details page to Compose 2022-05-15 16:35:33 -04:00
arkon bdb55ef881 Update to AGP 7.2.0 again
- Disable optimizations on eu.kanade.tachiyomi.source.** classes to avoid access modifications causing mismatches between the app and extensions
- Remove Gson and Kotson Proguard rules, since we don't have those dependencies anymore
2022-05-14 19:40:08 -04:00
arkon 628a3bc16c Temporarily downgrade AGP to fix extension loading issue in non-debug builds 2022-05-14 19:18:01 -04:00
arkon 5dc688dc2e Update reset viewer flags strings 2022-05-12 09:04:02 -04:00
arkon 393fc14630 Update Compose
Fixes #7004
2022-05-11 22:29:28 -04:00
arkon c7707dc50e Minor cleanup 2022-05-11 22:17:12 -04:00
arkon 37199a10bf Bump dependencies 2022-05-11 18:09:13 -04:00
arkon b950370f12 Address some build warnings 2022-05-11 18:08:49 -04:00
arkon cd8392bae2 Minor dependency updates 2022-05-10 17:55:07 -04:00
arkon ae7df4fb7f Update linter 2022-05-10 17:54:52 -04:00
arkon 8bee5accb7 Update build workflow actions 2022-05-10 17:53:19 -04:00
arkon cf024b0e61 Update to Coil 2.0.0 2022-05-10 17:46:59 -04:00
arkon d3f9232a3f Minor cleanup
- Add pending intent immutable flags to satisfy lint warnings
- Change AddDuplicateMangaDialog arg to a function instead to avoid leaking controller-specific logic into it
- Require WebView 99+
2022-05-10 17:39:45 -04:00
arkon e421eb61bc Extract add duplicate manga dialog into a controller 2022-05-10 09:19:10 -04:00
arkon c49d862fc5 Rename "navigation layout" to "tap zones" 2022-05-09 08:45:26 -04:00
arkonandjobobby04 6993e88265 Adjust inset consumption in Compose controllers (fixes #7085)
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2022-05-07 23:50:14 -04:00
arkon 681e9396b3 Fix crash when using renamed library sort methods (fixes #7092) 2022-05-07 23:48:53 -04:00
arkon 85ef40d0ff Don't allow swiping away app update install notification
Also show the new version number in the notifications.
2022-05-07 11:04:55 -04:00
arkon 39c0b74250 Fix tall image split math issues
- Round up per-split height to ensure the entire page ends up being split
- Handle the last split of a page potentially being shorter than the others
2022-05-06 23:10:56 -04:00
arkon a9e629aea6 Minor cleanup
- Remove some unused StorIO queries
- Clean up tall image splitting a bit (no need for creating an unscaled scaled bitmap copy, or tracking coordinates)
- Clean up library updater a bit (still needs a lot of work though)
2022-05-06 22:48:00 -04:00
arkon aec980662f Extract migrate list number badges for later use in library items 2022-05-01 22:35:44 -04:00
arkon e3f6cfa2df Add newer methods to StubSource 2022-05-01 10:46:44 -04:00
arkon dee7830793 Update navigation bar padding in Compose screens 2022-04-30 11:59:39 -04:00
arkon cccd09fb5c Allow passing modifier to preference composables 2022-04-30 09:43:49 -04:00
arkon ccff333123 Use Compose for OAuth login loading indicator 2022-04-29 09:01:05 -04:00
arkon a5d767042c Update compiler flag args 2022-04-28 18:09:16 -04:00
arkon 9fdc803c14 Fix Android 13 icon sizing 2022-04-28 18:09:05 -04:00
arkon 8798c295e6 Fix about icons sizing 2022-04-28 09:15:59 -04:00
arkon 7abb407897 Fix crashing in Android 13 Beta 1 2022-04-28 09:15:59 -04:00
arkon 70698e6494 Add links to website FAQ for library update and download warning notifications 2022-04-27 22:45:31 -04:00
arkon 259c370eb9 Remove unused drawables 2022-04-27 09:19:21 -04:00
arkon a4a4503311 Migrate SettingsMainController to Compose 2022-04-26 22:41:42 -04:00
arkon 2752540330 Update Kotlin and Compose 2022-04-26 17:52:18 -04:00
arkon 0b77b78f6a Remove some minor settings
Some spring cleaning to remove some unnecessary complexity so things are easier to maintain.

- Start screen: redundant with app shortcuts in Android 7.1+
- Jump to chapters: irrelevant in tablet mode and people can scroll a tiny bit if they really have to
- Option to not scroll away bottom nav: issues with fast scroll will be irrelevant with it being replaced or removed in the Compose migrations

Get ready for people malding over their special needs. https://xkcd.com/1172/
2022-04-24 22:17:15 -04:00
arkon f1126c55ca Add Plumber to handle some system leaks automatically 2022-04-24 16:28:09 -04:00
arkon 2caf220b18 Remove some unused StorIO queries/resolvers 2022-04-24 16:20:46 -04:00
arkon 4d23f35b9d Throw out old unit tests
Considering we never run or update them, they're not providing any value right now.
Kept the chapter recognition tests and bumped to JUnit 5.
2022-04-24 16:16:05 -04:00
arkon f6fdb12db2 Adjust download menu item positioning (fixes #6932) 2022-04-24 15:55:24 -04:00
arkon 7773deabc0 Adjust library sorting by dates (closes #6954)
Ascending by date = oldest dates first. If no date is present, fallback to epoch 0 (i.e., oldest).
2022-04-24 15:50:51 -04:00
arkon 91ed3a4a5f Fix skipped library entries and size warning notifications using same ID 2022-04-24 15:49:24 -04:00
arkon 20145f7a12 Fix update warning notifications being cut off (fixes #6983) 2022-04-24 15:35:05 -04:00
arkon 883945e3e8 Default to downloading as CBZ (closes #6942)
Generally seems fine. People with weak devices may experience some issues, but they can toggle it off/extract the archives separately if needed.
2022-04-24 15:32:50 -04:00
arkon 3feea71146 Add battery not low restriction for global updates (closes #6980) 2022-04-24 15:25:28 -04:00
arkon 08e63e5fab Minor cleanup 2: Electric Boogaloo
- Reword pins on top setting
- Make "Latest" button style match old UI
- Sort sources by name
2022-04-24 15:17:01 -04:00
arkon 0ec9496d26 Minor cleanup 2022-04-24 14:39:51 -04:00
arkon 558b18899c Migrate WebViewActivity to Compose 2022-04-24 10:22:22 -04:00
arkon 6e95fde4ec Delete entire app_webview folder when clearing WebView data 2022-04-24 09:42:26 -04:00
arkon e691e17efc Remove unused preference layouts 2022-04-23 18:34:53 -04:00
arkon 8933b41937 Tweak about preferences styles 2022-04-23 12:42:35 -04:00
arkon 7e2f1d729f Clean up repetitive controller transactions 2022-04-23 12:10:32 -04:00
arkon d6c87ec10e Basic initial port of About screen to Compose 2022-04-23 12:05:00 -04:00
arkon 2d01933c28 Lifted NestedScrollConnection to abstract Compose classes
Since it'll likely be used in every controller.
2022-04-23 10:57:04 -04:00
arkon bf0bb5aa88 Move clear webview data action to network group 2022-04-23 10:52:34 -04:00
arkon 1b4d9fc4e9 Migrate open source licenses screen to Compose 2022-04-23 10:52:19 -04:00
arkon 2b79295240 Revert "Revert history Compose/SQLDelight changes"
This reverts commit 96c894ce5b.
2022-04-22 17:35:18 -04:00
arkon 42eaaa497f Release v0.13.4 2022-04-22 17:29:18 -04:00
arkon 96c894ce5b Revert history Compose/SQLDelight changes 2022-04-22 17:27:58 -04:00
arkon c0214103a9 Temporarily remove chapter name cleaning
To be added back in a more consistent manner later around the app. Probably when more things are Compose-y with less repetition.
2022-04-22 14:03:43 -04:00
arkon 2b76a97989 Add advanced setting to clear WebView data 2022-04-22 14:00:42 -04:00
arkon 032aa64195 Lift Compose theme to abstract controller 2022-04-21 22:58:28 -04:00
arkon 7c8e8317a8 Simplify history item description building 2022-04-21 22:47:51 -04:00
arkon eb1cfc4cd4 Add abstract ComposeController 2022-04-21 22:42:37 -04:00
arkon f1e5cccee7 Add placeholder color for Compose manga covers 2022-04-21 19:02:54 -04:00
arkon bc2ed763bd Default auto backups to 2 2022-04-21 17:13:33 -04:00
arkonandJays2Kings 6c1565a7d4 Make links in new update dialog clickable
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2022-04-19 22:39:33 -04:00
arkon 2ca6b655ad Replace ignore button in new update dialog with link to GitHub page
Not enough room for 3 buttons. Users can still tap outside or back out of the dialog if they want to ignore it.
2022-04-18 22:45:58 -04:00
arkon a83a481ac8 Update junrar 2022-04-18 17:14:47 -04:00
arkon 65a8b63b3b Move chapter name cleaning logic to holder (fixes #6955) 2022-04-18 09:26:43 -04:00
arkon 189f92d7e8 Show better error message when empty backup creation is attempted (closes #6941) 2022-04-17 11:51:24 -04:00
arkon cdd4ec6233 Increase default OkHttp call timeout to 2 minutes
Which is still stupidly high, but maybe it'll be lenient enough for certain people.
2022-04-17 11:32:47 -04:00
arkon ef1bb4e800 Show parsed Markdown for new version info (closes #6940) 2022-04-17 11:30:05 -04:00
arkon 28522f4f90 Release v0.13.3 2022-04-15 16:37:25 -04:00
arkon 89decf3474 Always remove manga title from if it prefixes chapter names (related to #6913) 2022-04-15 15:52:48 -04:00
arkon 0b2794e843 Limit package name overriding to Android 8+ (related to #6846) 2022-04-15 13:43:54 -04:00
arkon 554dfb5874 Bump Material Components 2022-04-15 13:36:24 -04:00
arkon 9c30fa1da3 Update F-Droid migration guide link 2022-04-15 12:11:01 -04:00
arkon e81bd61e24 Adjust update/download warnings
This is a partial revert/evolution of 538dd60580

- Back to notifications, because Android 12+ may cut off toasts
- Notifications now automatically dismiss after 30s on Android 8+ (taken from J2K)
- Also warn if more than 30 chapters are queued for download
2022-04-15 10:24:54 -04:00
arkon 7a0b54bb38 Set network call timeout to 90 seconds (instead of infinite) 2022-04-15 09:56:35 -04:00
arkon f060daf8c4 Rollback to stable OkHttp
There's some weird crashes related to it. Happy Eyeballs will return once we upgrade again.
2022-04-14 22:37:51 -04:00
arkon c1976ef599 Avoid some crashes 2022-04-14 18:28:16 -04:00
arkon f16fb4e1e4 Minor cleanup 2022-04-14 18:15:47 -04:00
arkon 5da2c82f47 Avoid crashing if picture can't be saved (related to #6905) 2022-04-13 18:45:49 -04:00
arkon 9be3eea5fd Remove dependency review step from push workflow 2022-04-13 18:35:46 -04:00
arkon 07a9fd061d Add dependency review step to workflows 2022-04-13 18:34:33 -04:00
arkon 2a070c0b1e Add clear cookies option to WebView menu 2022-04-13 17:48:05 -04:00
arkon 7b5106d206 Update ACRA 2022-04-13 17:44:49 -04:00
arkon 821d9cdb02 Show different update notification for F-Droid installations 2022-04-13 17:44:43 -04:00
arkon 28575936d3 Move learn more text in skipped entries notification to main content
Because people apparently don't realize they can tap actions
2022-04-12 23:08:00 -04:00
arkon 83a04da4a0 Stop allowing keeping app data on uninstall
Seems to be more trouble than it's worth since it makes the app uninstallable without manually deleting app data. Users have to go out of their way to save data into the app data folder now anyway.
2022-04-12 17:27:09 -04:00
arkon eb33d3c991 Remove build flavor checks for update warnings
"stable" was invalid anyway, it should've been "release"
2022-04-11 23:05:00 -04:00
arkon d7f01abf3a Update Coil 2022-04-11 23:04:19 -04:00
arkon 80635343ae Update ACRA 2022-04-11 23:04:07 -04:00