Commit graph

6821 commits

Author SHA1 Message Date
jmir1
1f3be7b523
feat: Show hours and minutes in relative time strings
Closes #1702
2024-07-16 17:37:09 +02:00
jmir1
5ae35c891b
fix: Actually remove ACRA 2024-07-16 15:44:43 +02:00
Abdallah
60c671aa27
feat(player): Add video filters (#1698) 2024-07-16 15:40:08 +02:00
jmir1
d3c6a159d8
chore: Remove ACRA 2024-07-16 15:38:41 +02:00
Secozzi
150ba47b76
detekt(detekt): detekt 2024-07-13 10:07:28 +02:00
Secozzi
633e9880a2
Bump coil version and some cleanup
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-13 09:34:39 +02:00
Secozzi
20d8b06104
Fix some issues when reading/saving images
* Fix unsupported mime type error when saving images

Avoid using platform mime type map to get extensions as it may not have
all mime types we support.

* Fix jxl images downloading/reading

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-13 09:31:27 +02:00
Secozzi
5e1a6c9d9c
Fix login prompts despite being logged in to trackers in Manga screen
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-13 09:26:00 +02:00
Secozzi
38ba45b6e7
Observe tracker login state instead of fetching once
* Observe tracker login state instead of fetching once

* Review changes

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 23:15:47 +02:00
Secozzi
2ff66d7f1d
Make global search "Has result" sticky
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 22:39:54 +02:00
Secozzi
2ccd3ffc8f
Smart Update Dialog Tweak
* Smart Update Dialog Fix

* Build Fail Change 1

* Commit Suggested Change

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Build Fail Change 2

---------

Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 22:35:31 +02:00
Secozzi
c312832812
fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alph…
…a07

* fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha07

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 22:27:00 +02:00
CrepeTF
bcf72c919f
Theme fixes (#963)
* Fix theme issue with download progress indicator

* Fix theme issue with download progress indicator + better contrast

(cherry picked from commit e132cc405f23e18dd8d73626730821eae9051149)
2024-07-12 22:14:53 +02:00
Secozzi
637f159079
Added configuration options to e-ink page flashes
* Recommit for e-ink pref changes

* Fixed state holder for flash interval

* Detekt

* Refactor suggested by Antsy

* inverted currentDisplayRefresh check for early exit

Co-authored-by: Maddie Witman <1882979+sirlag@users.noreply.github.com>
2024-07-12 22:11:53 +02:00
Secozzi
8f45a8e122
Refactor archive support with libarchive
* Refactor archive support with libarchive

* Revert string resource changs

* Only mark archive formats as supported

Comic book archives should not be compressed.

* Fixup

* Remove epub from archive format list

* Move to mihon package

* Format

* Cleanup

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-12 22:00:23 +02:00
Secozzi
b1fba0e55f
Cleanup in CommonMangaItem.kt
Closes #19

Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 21:29:26 +02:00
Secozzi
1c0e44f7f9
Fix Migrator test and also add the test to build script
* Fix MigratorTest after update to Kotlin 2.0.0

* add main module's test to build script

Co-authored-by: Tran M. Cuong <16017808+cuong-tran@users.noreply.github.com>
2024-07-12 21:21:58 +02:00
Secozzi
406cec32f7
Remove unused file 2024-07-12 20:59:56 +02:00
Secozzi
5c3d5cdc18
Fix issue with creating and restoring backup
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 20:53:33 +02:00
Secozzi
013b1ee762
Check category order before restoring from backup
Closes #632

Co-authored-by: Cologler <10906962+Cologler@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 20:07:29 +02:00
Secozzi
3e2498828d
MangaChapterListItem: Don't use alpha modifier
Possibly fixes #822

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 19:24:54 +02:00
Secozzi
162471c7fb
fix(deps): update okhttp monorepo to v5.0.0-alpha.14
* fix(deps): update okhttp monorepo to v5.0.0-alpha.14

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 19:21:03 +02:00
Secozzi
d1cf93bed1
fix(deps): update dependency dev.chrisbanes.compose:compose-bom to v2…
…024.05.00-alpha03

* fix(deps): update dependency dev.chrisbanes.compose:compose-bom to v2024.05.00-alpha03

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 19:19:21 +02:00
Secozzi
639d56364f
chore(deps): update kotlin and compose compiler to v2 (major)
* chore(deps): update kotlin and compose compiler to v2

* Update .gitignore

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 19:10:02 +02:00
Secozzi
fc5fc7ed65
Fix MigratorTest after update to io.mockk v1.13.11
* Fix MigratorTest after update to io.mockk v1.13.11

Causing error: io.mockk.MockKException: was not can only be called on a mocked object

* remove import

Co-authored-by: Tran M. Cuong <16017808+cuong-tran@users.noreply.github.com>
2024-07-12 18:46:12 +02:00
Secozzi
8b406fd4eb
fix: storage permission request for non-conforming devices
* fix: storage permission request for non-conforming devices

* fix: catch more specific exception

* chore: add toast message to indicate missing persistent permissions

* chore: correct newly introduced translaction string

* Change error toast message

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Sven <5113257+mainrs@users.noreply.github.com>
2024-07-12 18:42:29 +02:00
CrepeTF
aa2f4ec302
Update themes to follow new compose update changes (#766)
* Update Green Apple theme

* Add some Green Apple theme comments

* Update Lavender theme

* Update Midnight Dusk theme

* Update Nord theme

* Update Strawberry Daiquiri theme

* Update Tako theme

* Update Teal & Turquoise theme

* Update Lavender secondaryContainer and onSecondaryContainer colour

* Update M.Dusk secondaryContainer and onSecondaryContainer colour

* Update Tako secondaryContainer and onSecondaryContainer colour

* Comments

* Update Tidal Wave theme

* Update Yin Yang theme

* Update Yotsuba theme

* Fix navbar tinted background on pure black

* Add surfaceContainer levels to Lavender theme

* Resolve detekt issues

* Add surfaceContainer levels to Midnight Dusk theme

* Add surfaceContainer levels to Nord theme

* Add surfaceContainer levels to Tako theme

* Add surfaceContainer levels to Teal & Turquoise theme

* Add surfaceContainer levels to Tidal Wave theme

* Add surfaceContainer levels to Yin Yang theme

* Add surfaceContainer levels to Yotsuba theme

* Add dark theme surfaceContainer levels to Yotsuba theme

* surfaceContainer tweaks to Yotsuba theme

* surfaceContainer tweaks to Strawberry Daiquiri theme

* surfaceContainer tweaks to Nord theme

* surfaceContainer tweaks to Lavender theme

* Update Tachiyomi theme

* Update Pure Black theme

* Resolve detekt issues

* Oopsie

(cherry picked from commit 16392adcbba4027cbed0a44e2fc62df330af6385)
2024-07-12 18:16:53 +02:00
Secozzi
e3226196a1
update r8 rules for MultipartBody.Builder in extensions
Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
2024-07-12 18:16:16 +02:00
Secozzi
30359baaba
Remove dependency on compose material 2 components
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-12 18:13:02 +02:00
Secozzi
cdc9e7c8b0
Fix tap control area shifting after zooming out
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-11 23:19:25 +02:00
Secozzi
268581c84e
Use new SurfaceContainer color roles
Non-dynamic themes need to be updated

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-11 23:17:25 +02:00
Secozzi
303f0f2763
Fix search bar style
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-11 23:08:10 +02:00
Secozzi
04325a832c
Change keyboard type in extension repo dialog
Co-authored-by: Reagan <24711088+xbjfk@users.noreply.github.com>
2024-07-11 23:07:11 +02:00
Secozzi
02ccbfd172
Bump compose version
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-11 23:04:41 +02:00
Secozzi
f9d340819a
Massively improve findFile performance
* Massively improve findFile performance

* Update libs.versions.toml

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Radon Rosborough <6559064+raxod502@users.noreply.github.com>
2024-07-11 22:39:59 +02:00
Secozzi
5419d987f8
Remove some legacy folder/file name lookup for download
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-11 22:29:43 +02:00
Secozzi
d07bd71678
Trust extension by repo
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-11 22:27:52 +02:00
Secozzi
482425f7b2
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

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-11 22:02:56 +02:00
Secozzi
a10fc6dcb7
Log app crash exceptions in dumped crash logs
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-11 21:12:33 +02:00
Secozzi
1ee6f0fc57
Use Coil pipeline instead of SSIV for image decode
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-11 21:09:41 +02:00
Secozzi
4f865ff629
Use Okio instead of java.io for image processing
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-11 21:00:47 +02:00
Secozzi
3c4142cb54
Use m3 ripple and clean up interactionSource usage
Also remove a leftover of scoped storage adaptation.

Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-07-11 20:38:02 +02:00
jmir1
525c4715e9
Merge branch 'master' into mihonmerge 2024-07-11 14:55:23 +02:00
Secozzi
c51100d0b5
feat(player): Set mpv's media-title property (#1672) 2024-07-11 14:54:55 +02:00
Secozzi
5c0d507f85
feat(external players): Add mpvKt (#1674)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-07-11 14:53:13 +02:00
Secozzi
fb5275535a
Merge branch 'master' into mihonmerge 2024-07-04 14:43:36 +00:00
Secozzi
f258614e9b
MangaCoverFetcher: Small cleanups
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-04 13:56:23 +02:00
Secozzi
3eb3f01646
Rework buildSrc and remove usage of subprojects
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-04 13:43:31 +02:00
Secozzi
c593c83745
Fix build time zone in about screen
And slight cleanup

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-07-04 13:00:16 +02:00
Secozzi
67875b7e10
Add ProGuard rule to keep mihon namespace classes
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-07-04 12:50:40 +02:00