Commit Graph

7986 Commits

Author SHA1 Message Date
Mend Renovate 855918bbf4 Update dependency androidx.compose:compose-bom-alpha to v2026.09.00 (#3752)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2026-09-12 18:21:37 +06:00
Mend Renovate 6c6eff3ab8 Update markdown to v0.45.0 (#3806)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2026-09-12 18:21:24 +06:00
AntsyLich d435dd9217 Switch to upstream Injekt
The patch is redundant given we switched to Metro DI and don't use `Injekt.addSingletonFactory` anymore
2026-09-12 16:04:58 +06:00
AntsyLich f7da5c856a Switch to upstream sqldelight-androidx-driver
The deadlock issue should be fixed upstream
2026-09-12 16:03:50 +06:00
AntsyLich 737fdbfbf0 Switch to upstream FlexibleAdapter
Closes #3932

Upstream published to Maven Central
2026-09-12 16:03:50 +06:00
AntsyLich 802958b1ea Bump compileSdk to 37.1 2026-09-12 15:28:40 +06:00
Mend Renovate 2292554d97 Update dependency de.stefan-oltmann:kim to v0.40.0 (#3937) 2026-09-12 08:22:15 +00:00
Mend Renovate 918cfb3dda Update dependency androidx.benchmark:benchmark-macro-junit4 to v1.5.0 (#3936) 2026-09-12 08:20:37 +00:00
Mend Renovate 5de262675a Update dependency io.kotest:kotest-assertions-core to v6.2.5 (#3935) 2026-09-12 14:11:48 +06:00
Mend Renovate 9f480564c2 Update dependency androidx.baselineprofile to v1.5.0 (#3934) 2026-09-12 14:10:54 +06:00
w d17ad1e002 Bump webgpuviewer (#3933)
* add disable zoom out

* add hdr

* Fix dual mode page progress and cleanup

* webgpu viewer add page gap setting

* Update libs.versions.toml
2026-09-12 11:57:02 +06:00
MajorTanya 1e054ea14d Fix inverted MAL OAuth expiry check logic (#3927) 2026-09-10 16:28:53 +00:00
Mend Renovate 5f87f7e054 Update dependency androidx.sqlite:sqlite-bundled to v2.7.1 (#3916) 2026-09-10 14:38:45 +06:00
Mend Renovate a5260487d3 Update metro to v1.4.3 (#3918)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2026-09-09 22:38:45 +00:00
Mend Renovate 0ce6f22cf5 Update kotlin monorepo to v2.4.20 (#3917) 2026-09-09 22:36:04 +00:00
Darkphoenix 35bb84705e Fix GPU texture leak when a decoded page is no longer usable (#3872) 2026-09-09 22:22:36 +00:00
Mend Renovate e32231eeaa Update dependency com.google.firebase:firebase-bom to v34.19.0 (#3915) 2026-09-09 21:55:02 +00:00
Mend Renovate d0ee514044 Update GitHub Actions (#3892) 2026-09-09 21:54:27 +00:00
Mend Renovate 44a9d96e90 Update dependency de.stefan-oltmann:kim to v0.39.1 (#3890) 2026-09-09 21:51:24 +00:00
Mend Renovate 3f845c12c8 Update android.gradle to v9.4.0 (#3893) 2026-09-10 03:44:43 +06:00
Mend Renovate 6c0fa3a043 Update spotless to v8.10.2 (#3895) 2026-09-10 03:43:19 +06:00
Mend Renovate 2810dd14c4 Update dependency com.mohamedrejeb.richeditor:richeditor-compose to v1.2.0 (#3896) 2026-09-10 03:41:54 +06:00
MajorTanya aebf11a749 Make tracker utils package-internal (#3908)
It gets really annoying to use any of them when they have name
collisions. Especially extensions on Track or basic public functions.

Also make some same-file extension function in the MangaUpdates
package method on the class they extended.

I would have done the same for the DTOs themselves but any that are
used on method signatures have to be public and then all their members
also have to be public. We'd end up with a confusing mess of some
internal and some public DTOs, even at the top level (since generics
can be internal to the `dto` package (e.g. with parseAs<...>) but
return annotations cannot be).
2026-09-08 11:26:21 +06:00
Mend Renovate 3a64c8d65c Update dependency com.squareup.okio:okio to v3.18.2 (#3894) 2026-09-06 21:38:09 +06:00
Mend Renovate f7cd820f2f Update dependency org.conscrypt:conscrypt-android to v2.7.0 (#3897) 2026-09-06 21:33:17 +06:00
Secozzi 5b69dbad81 Fix default category and manga sometimes not having their category restored (#3891) 2026-09-06 21:32:38 +06:00
Secozzi a82baac3ef Fixed crash caused by incorrect handling of kitsu score type from login (#3887)
* track/kitsu: Fixed crash caused by incorrect handling of score type from login

* revert changelog

* turn into lowercase when accessing map
2026-09-06 21:30:38 +06:00
MajorTanya 5e99306e5f Minor tracking refactors (#3900)
* Make tracker Api classes take their tracker's ID

Also made the name consistently `trackerId` since `trackId` can be
confusing in the context of Tracks that also carry several IDs.

Also made the public constants in TrackerManager entirely redundant,
so trackers are all equally getting their ID defined in their
constructor call now.

* Explicitly mark unused Exceptions as such

* Make isExpired method of BGMOAuth data class

As opposed to an extension defined in the same file

* Kavita: thumbnail_url -> thumbnailUrl

With a SerialName annotation of course

* Suwayomi: Remove redundant with(json)

Both of these requests don't use parseAs so this not required.

* Bangumi: Don't recreate OAuth object for storing

* Remove unused attribute from tracker OAuth classes

Mostly `token_type`.
Also removed `user_id` from BGMOAuth and `scope` & `expiresIn` from
MangaBakaOAuth (which already provides `expiresAt`).

* Use kotlin.time durations for token expiry math

Something like `Clock.System.now().plus(1.hours)` is much easier to
read than `System.getEpochMillis() + 3600`.

Also lets us use the `epochSeconds` attribute where the given
timestamps are seconds-resolution.

* Bangumi: Remove redundant apply block

* Kavita: Misc simplifications

* Use parseAs in tracker interceptors

* MAL: Use existing setAuth to store refresh token
2026-09-06 21:26:33 +06:00
Mend Renovate 3acd7eaca9 Update coil to v3.6.2 (#3889) 2026-09-04 15:18:23 +00:00
w f3125ab897 Bump webgpuviewer (#3886)
* Add continuous min width

* Add dual page flip transition, separate some dual config

* Fix progress on sides for dual

* re-organize and minor fixes

* Reverse pan when vertical and zoom start right

* add flip to single

* Simple page size heuristics for dual selection

* zoom minimum wideness

* Fix continuous page progress

* continuous dynamic cache size

* Update libs.versions.toml
2026-09-04 21:18:18 +06:00
MajorTanya 21af65b100 Fix unhelpful generic 401 error on AniList expiry (#3888)
A leftover of what I assume was the v1 API behaviour handling manually
multiplied the `expires` values by 1,000, supposedly to make it a
millisecond value. However, AL tokens have been saved as milliseconds
since at least the v2 API implementation in 2018, so this has made
every expiry comparison ludicrously impossible.

Example:
millisecond timestamp:
1788529931115 (2026-09-04T13:52:11.115Z)
*1,000
1788529931115000 (+58646-04-04T21:45:15Z)

So any expiry comparisons would say "yes this token is still totally
valid", causing Mihon to send expired credentials and AL to respond
with a 401.

With these changes (which include some loosely associated clean-up),
we now correctly identify expired credentials before we attempt any AL
requests & actually show a toast with the "Token expired." error
message for the first time in 8 years or so?

I was able to keep the new ALOAuth shape compatible with
already-serialized data, though whenever a user (re-)links AL from now
on, both the `token_type` and `expiresIn` fields won't exist any more.
Since they had no use in the current code anyway, I don't consider
this a problem.

I took the liberty of adding basic instructions to the error message
but these can't be i18n'd properly so I kept it short and sweet.

---

Side effect of expired credentials is Mihon erasing the token in
storage, meaning AL disappears from the tracker sheet until re-linked.
I would say this is acceptable, but we might see panicked users in
support saying "Mihon deleted my AL links" or something.
2026-09-04 21:07:05 +06:00
천재웅 056d9baeeb Migrate composeGrid to new group ID (#3877) 2026-08-30 17:45:42 +00:00
MajorTanya baad5c59bb Clean up some missed unused imports (#3876) 2026-08-30 23:43:36 +06:00
AntsyLich 34a33ed4f8 Use filled icon for library continue reading button 2026-08-30 23:30:28 +06:00
AntsyLich 7f342ca076 Use built-in DelegateLastClassLoader for extensions (#3874)
Assisted-by: Claude:claude-opus-5
2026-08-29 16:07:51 +00:00
AntsyLich b695940114 Switch to Material Symbols and use Valkyrie for ImageVector generation (#3873)
* Add material symbols icon module

Assisted-by: Claude:claude-opus-5

* Replace material icons with material symbols

Assisted-by: Claude:claude-opus-5

* Add simple icons module and migrate CustomIcons

Assisted-by: Claude:claude-opus-5
2026-08-29 21:39:55 +06:00
w bb24e904a9 Bump webgpuviewer, fix navigation directions and long strip bounds (#3870)
* Keep previous page when jumping pages

* Fix navigation directions

* fix continuous jump after navigate

* webgpuviewer config

* Fade in loaded pages

* async onPageChange

* Update libs.versions.toml
2026-08-28 17:42:37 +00:00
AntsyLich 5fadea61e7 Make the source manager surface suspend (#3869)
Assisted-by: Claude:claude-opus-5
2026-08-28 23:36:28 +06:00
Mend Renovate c1d1f6b161 Update aboutLibraries to v15.2.0 (#3866) 2026-08-28 13:17:32 +00:00
Mend Renovate ff3dedb6d8 Update dependency androidx.glance:glance-appwidget to v1.2.0 (#3867) 2026-08-28 13:14:56 +00:00
Mend Renovate 7b41ebf8fe Update spotless to v8.10.1 (#3865) 2026-08-28 13:08:34 +00:00
Mend Renovate 161617b95d Update dependency de.stefan-oltmann:kim to v0.38.1 (#3862) 2026-08-28 13:06:57 +00:00
Mend Renovate 1512ca63d7 Update dependency com.materialkolor:material-kolor to v5.0.1 (#3864) 2026-08-28 13:06:44 +00:00
Mend Renovate 6cfce8d425 Update actions/setup-java action to v6 (#3861) 2026-08-28 18:55:10 +06:00
Mend Renovate 2776e3edda Update dependency androidx.baselineprofile to v1.5.0-rc02 (#3856) 2026-08-28 18:54:10 +06:00
Mend Renovate 7847cad0f4 Update coil to v3.6.0 (#3860) 2026-08-28 18:53:21 +06:00
Mend Renovate deb7b33118 Update dependency org.jsoup:jsoup to v1.23.2 (#3854) 2026-08-26 13:37:50 +00:00
Mend Renovate 3f56685e0c Update android.gradle to v9.3.2 (#3853) 2026-08-26 13:37:43 +00:00
w 0854bde12e Bump webgpuviewer, imagedecoder, fixes (#3852)
* Bump webgpuviewer, imagedecoder, fixes

Render transition page using text renderer
Fix progress page in dual
Fix animations in dual
Re-do crop bounds

* Fix navigation buttons and zoom start

* Update libs.versions.toml
2026-08-26 19:24:32 +06:00
tigeryu8900 ac249e3668 Exit early in CloudflareInterceptor when cloudflare challenge is interactive (#3842) 2026-08-23 10:50:31 +00:00