Commit graph

6841 commits

Author SHA1 Message Date
Secozzi
80f038fb78
ExpandableMangaDescription: Adjust size transform anim spec
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-10-26 10:15:15 +02:00
Secozzi
8f2466d61e
Add Backup and Restore of Extension Repos (#1057)
* Backup/Restore Extension Repos

* Refactor

* Moving to Under App Settings

* Sort by URL, Check existing by SHA and Error Logging

Untested. Currently in a lecture and can't test if the changes really work.

* Changes to logic

* Don't ask me what's happening here

* Renaming Variables

* Fixing restoreAmount & changes to logic

Co-Authored-By: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
2024-10-26 10:12:39 +02:00
Secozzi
4c4c20700c
Rename backup restore error log file
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-09-19 11:19:43 +02:00
FooIbar
f09e563359
Don't crash on ill-formed URLs (#1084)
(cherry picked from commit 854474f85ffc41eccdc2b3a6cf105fa2805ebc3c)
2024-09-19 11:18:18 +02:00
FooIbar
1d2dcac601
Match extra layout space with scroll distance (#1076)
And increase recycler item view cache size.

(cherry picked from commit a3dfd2efe6ace7a2a4d79bd09fb1a729989f1094)
2024-09-19 11:15:51 +02:00
Secozzi
f5eb3e044e
Improve error message if restoring from JSON file
* Improve error message if restoring from JSON file

* Replace Exception with IOException

* Use more generic error message if protobuf fails

* fix lint

Co-authored-by: Vetle Ledaal <13540478+vetleledaal@users.noreply.github.com>
2024-09-19 11:15:36 +02:00
Secozzi
5eb1bf700b
Cleanup backup/restore related code
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-09-19 11:09:57 +02:00
Secozzi
83a10d384e
Fix library is backed up when disabled and make categories backup/restore independent
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-09-19 10:43:31 +02:00
Secozzi
98941fe2d8
Adds Option to Copy Panel to Clipboard
* Add Copy to Clipboard

* Removing Unused Import

* Reusing onShare function

* Commit Suggestion

* Early Return on null

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

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
2024-09-18 09:12:21 +02:00
Secozzi
4f3509cbae
Fix disappearance items when fast scrolling
* Don't use animateItem's fade-in/fade-out in FastScrollLazyColumn

* Move to extension function

Avoid using animateItemPlacement name since it's shadowed by compose-bom's deprecated one

Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>
2024-09-18 09:03:57 +02:00
Secozzi
0d712f8df4
Format Category String on Subtitle Display
* Fixes #1029

* Max Line Length Fix

* Update SettingsLibraryScreen.kt

No idea how this works.

Co-authored-by: Foolbar <118464521+Foolbar@users.noreply.github.com>

---------

Co-authored-by: Foolbar <118464521+Foolbar@users.noreply.github.com>
Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
2024-09-18 08:54:02 +02:00
Quickdev
79cd35b29a
feat(downloader): Copy the file location when using ext downloader (#1758) 2024-08-29 10:28:43 +02:00
Secozzi
dabfdf968e
fix(downloader): Don't invalidate anime downloads on startup (#1753) 2024-08-29 10:28:05 +02:00
Secozzi
5c939814a7
fix(animescreen): Fix airing time not showing (#1720) 2024-07-25 12:19:56 +02:00
Secozzi
1d18aa313f
feat(entry): Show "Now" instead of "0 minutes ago" (#1715) 2024-07-21 14:47:55 +02:00
jmir1
c83ebf322f
fix: Group updates by date and not time 2024-07-18 16:01:36 +02:00
Secozzi
291c24b405
feat(player): Add better auto sub select (#1706)
Co-authored-by: Abdallah <54363735+abdallahmehiz@users.noreply.github.com>
Co-authored-by: jmir1 <jhmiramon@gmail.com>
2024-07-18 13:48:26 +02:00
jmir1
58817c724e
fix(tracking): Fix Shikimori 2024-07-16 22:59:30 +02:00
jmir1
74b32a3a0b
fix: Use different status strings for anime trackers 2024-07-16 22:53:53 +02:00
jmir1
03e1ecd75e
fix: Some issues with relative date calculations 2024-07-16 20:25:18 +02:00
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