Commit graph

6065 commits

Author SHA1 Message Date
LuftVerbot
c0324ecfaa merge31
Last Commit Merged: e917349bb7
2023-07-07 21:09:13 +02:00
LuftVerbot
834bde7bfc
Merge pull request #13 from aniyomiorg/dev 2023-07-07 21:05:34 +02:00
Quickdev
9e875b5ddf
feat(Anime Library): Add Sort by Airing time option (#1051) 2023-07-01 20:32:41 +02:00
Quickdev
424d587cfa
feat(anime screen): Next Episode Countdown (#1045) 2023-06-26 09:58:12 +02:00
LuftVerbot
c6028f3666
Merge pull request #11 from aniyomiorg/dev
feat(player): Add chapter seeking (#1040)
2023-06-24 11:25:26 +02:00
abdallahmehiz
878b0b65a2
feat(player): Add chapter seeking (#1040) 2023-06-20 08:38:53 +02:00
LuftVerbot
85466dabdf Merge branch 'merge2.5' into merge2.0 2023-06-19 12:20:08 +02:00
jmir1
d02a0da971
Merge branch 'master' into dev 2023-06-16 16:02:10 +02:00
jmir1
08787976b4
chore: change repo links to aniyomiorg (#1035) 2023-06-16 15:56:17 +02:00
Quickdesh
f579789bb0
refactor(player): Refactor more files (#1033) 2023-06-15 15:29:14 +02:00
LuftVerbot
1c6a18b14a merge30
Last Commit Merged: ad4912803b
2023-06-14 13:32:21 +02:00
LuftVerbot
26145b9245 merge29
Last Commit Merged: c6e5f8abd9
2023-06-14 00:05:39 +02:00
LuftVerbot
7918e23593
Merge pull request #4 from jmir1/dev
feat(player): Sheet Condense and Fixes (#1028)
2023-06-13 20:47:48 +02:00
Quickdesh
35ac41cc4b
feat(player): Sheet Condense and Fixes (#1028) 2023-06-12 08:41:58 +02:00
LuftVerbot
0eb23fa107
Merge pull request #3 from jmir1/dev
test
2023-06-08 12:36:54 +02:00
LuftVerbot
3eae48ed1f Update EntryToolbar.kt 2023-06-08 12:28:48 +02:00
Quickdesh
f9786f2981
refactor(player): Fixes and Player file changes (#1022) 2023-06-06 21:31:39 +02:00
LuftVerbot
aeeecad486 merge28
Last Commit Merged: f03a834136
2023-06-06 21:19:09 +02:00
jmir1
7834b18298
feat(themes): add 4 new themes (#1021) 2023-06-06 20:36:50 +02:00
jmir1
e3301235bf fix: delete duplicate files 2023-06-06 16:21:13 +02:00
jmir1
d871a580b3 feat: allow backing up extension apks 2023-06-06 15:22:30 +02:00
LuftVerbot
54ec5ac72c merge27
Last Commit Merged: 5b2e937d5f
2023-06-06 12:55:36 +02:00
LuftVerbot
cd98fe13f7 merge25
Last Commit Merged: 63048d2f0b
2023-06-04 19:43:54 +02:00
LuftVerbot
0c5818bfd7 merge25
Last Commit Merged: 83a4e34095
2023-06-04 15:30:15 +02:00
LuftVerbot
f83c4ea8df flammenwerfert running notification again 2023-06-04 13:39:54 +02:00
LuftVerbot
ce37320e1e fix duplication again 2023-06-04 13:12:42 +02:00
LuftVerbot
64d737433f fix pause button duplication 2023-06-04 11:55:01 +02:00
LuftVerbot
540e77b144
Merge branch 'master' into merge 2023-06-03 20:37:39 +02:00
LuftVerbot
efbd9abf24 merge24
Last Commit Merged: c0e2eb211d
2023-06-03 20:32:54 +02:00
jmir1
05b72eee1b
feat: allow backing up extension settings (#1014) 2023-06-03 00:34:48 +02:00
LuftVerbot
cc57e19fd8 merge23
Last Commit Merged: 93523ef50b
2023-06-02 18:59:21 +02:00
LuftVerbot
5a174da724 merge22
Second Checkpoint reached. Merged till v0.14.5
Last Commit Merged: a6d6a5ed87
2023-06-02 15:11:56 +02:00
LuftVerbot
788bf7fd23 notification got flammenwerfert
aniyomi is running notification... Hans get ze Flammenwerfer
2023-06-02 13:56:09 +02:00
LuftVerbot
23464f211c parallelize downloads
- set the number of downlaods at the same time
- separate download message for each download running(on some devices there can be a notification that aniyomi is runnging)
2023-06-02 13:27:14 +02:00
LuftVerbot
76350a4af9 merge21
Last Commit Merged: 727399611d
2023-06-01 22:01:19 +02:00
LuftVerbot
2fd78fa5d9 merge20
Last Commit Merged: 07fdb74fbc
2023-06-01 16:58:51 +02:00
LuftVerbot
e784d9cdc6 merge19
Last Commit Merged: e3cf863230
2023-06-01 15:53:29 +02:00
LuftVerbot
c18e08e2f3
Merge pull request #2 from Quickdesh/move_n_rename_files
Move and rename files
2023-05-31 19:06:11 +02:00
Quickdesh
573b9dcb95 fix lint, fuck you 2023-05-31 22:11:42 +05:30
Quickdesh
63ab033e45 quick fixes 2023-05-31 20:35:24 +05:30
Quickdesh
0093339838 add comments to the smaller player files 2023-05-31 20:16:40 +05:30
LuftVerbot
d005475754 merge17
Last Commit Merged: ef863335e6
2023-05-31 14:43:40 +02:00
Quickdesh
cd7d8d1ecf add episode list arrow 2023-05-31 16:59:07 +05:30
Quickdesh
9ec278bfab make the main buttons smaller 2023-05-31 16:37:02 +05:30
Quickdesh
77da2d6a38 fix rtl format of double tap skip 2023-05-31 03:12:59 +05:30
LuftVerbot
af98923989 merge16
Last Commit Merged: 4d607c4aed
2023-05-30 23:25:49 +02:00
Quickdesh
c044f4f178 Merge branch 'subss' into episode_selector_in_player 2023-05-31 00:31:08 +05:30
LuftVerbot
5d92a784d3 merge15
Last Commit Merged: ec46b2281b
2023-05-30 19:04:13 +02:00
Quickdesh
faff8b6f0b fix null check 2023-05-30 20:07:46 +05:30
Quickdesh
1d1aa51de3 add video quality dialog to episode downloads 2023-05-30 19:30:36 +05:30
LuftVerbot
24e9e1846d merge14
Last Commit Merged: f6e6a7ddf1
2023-05-30 14:20:22 +02:00
LuftVerbot
c6daaae9e6 clean up 2023-05-30 13:14:17 +02:00
LuftVerbot
918e5bfb9c merge13
Includes everything from Tachiyomi v0.14.4 to this commit of Tachiyomi: bff98ca768
2023-05-30 13:07:48 +02:00
LuftVerbot
58260b43ca clean up & fix 2023-05-28 19:15:44 +02:00
LuftVerbot
a5c9fb6b07 merge12
Last Commit Merged: 3c16082636
2023-05-28 15:04:48 +02:00
LuftVerbot
1a4eddd11d merge11
Last Commit Merged: f2c48480b6
2023-05-28 14:11:48 +02:00
LuftVerbot
33c1cd0103 merge10
Last Commit Merged: 12e41b6e6f
2023-05-24 20:13:36 +02:00
LuftVerbot
0434e270f6 merge9
Last Commit Merged: 1a319601de
2023-05-24 13:29:01 +02:00
LuftVerbot
3451cc9e62 merge8
Last Commit Merged: 345e9c2a9a
2023-05-24 00:35:58 +02:00
LuftVerbot
e2b2a7944b merge7
Last Commit Merged: b53e24e0db
2023-05-23 22:37:41 +02:00
LuftVerbot
24e4158874 merge6
Last Commit Merged: c2812fca24
2023-05-23 13:18:00 +02:00
LuftVerbot
6b6e24f02d merge5
Last Commit Merged: 823749fc1e
2023-05-21 14:52:06 +02:00
LuftVerbot
c04774f451 merge4
Last Commit Merged: c637172ee0
2023-05-21 00:32:04 +02:00
LuftVerbot
fa88af1d67 merge_3
Last Commit Merged: 33a2219716
2023-05-06 12:28:55 +02:00
LuftVerbot
3523b845a2 merge2
Last Commit Mergerd: 8c494f314c
2023-05-05 17:09:46 +02:00
LuftVerbot
c08b326a77 merge_1
From Tachi 14.3 to "a0f47d3f1b"
2023-05-05 13:43:46 +02:00
arkon
9339ea4196 Process chapter duplicates after sorting
Closes #9255, sort of. The example is a bad edge case though, where chapter numbers are repeated across versions,
so realistically only the first 113 will appear but the later 113(s) won't despite being "different". Those realistically
should be in different manga entries, not all mixed together, so this is just a crappy source.
2023-04-28 16:01:14 -04:00
AntsyLich
6bdc1b676e
Avoid potential crash when opening library settings sheet 2.0 (#9419)
Avoid potential crash when opening library settings sheet  2.0

Previous one had issues
2023-04-28 15:15:54 -04:00
Andreas
7451c13edd
Add slider for changing columns (#9421)
- It changes the columns based on the current orientation
2023-04-28 15:13:41 -04:00
arkon
ccd4143d9d extension-lib 1.5: Add AppInfo#getSupportedImageMimeTypes() 2023-04-28 11:36:17 -04:00
arkon
c590f55030 Revert "Avoid potential crash when opening library settings sheet (#9415)"
This reverts commit 2cb08e6bb1.
2023-04-28 10:11:13 -04:00
AntsyLich
c21813a8b5
Add an icon to "Item Per Row" on library sheet (#9414)
Also cleanup `SettingsItems.kt`
2023-04-28 10:08:35 -04:00
AntsyLich
2cb08e6bb1
Avoid potential crash when opening library settings sheet (#9415) 2023-04-28 09:08:17 -04:00
stevenyomi
058ee4c86b
Fix exception formatter's format (#9413) 2023-04-28 09:06:32 -04:00
jmir1
ed442d9db9 handle exceptions for chrashlytics 2023-04-28 12:33:47 +02:00
arkon
ea6e5eebac Remove "when tapping" from "Pan wide images" setting
Closes #9343
2023-04-27 22:54:07 -04:00
arkon
9cc25ff345 Fix disable source option not appearing 2023-04-27 22:47:58 -04:00
arkon
c9805b8612 Consolidate exception message formatting
Closes #9408
2023-04-27 22:45:30 -04:00
Quang Kieu
41c89eb61d
Add interval data layer (#9398)
* Update Manga classes for fetch interval data

* Update per review

bump version

---------

Co-authored-by: quangkieu <qkieu>
2023-04-27 22:27:12 -04:00
arkon
392c3492b3 Minor cleanup 2023-04-26 17:27:44 -04:00
arkon
20bec66a9d Handle archives with nested directories properly
Closes #9389
2023-04-25 22:07:34 -04:00
Ken Swenson
3ce9a9ff97
Double tap zoom toggle (#9384)
* Double tap zoom toggle

Implements a toggle that allows users to disable double tap zoom including QuickScaling for webtoons. Partially resolves #4145

* Update i18n/src/main/res/values/strings.xml

---------

Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-04-25 18:06:49 -04:00
d-najd
a8f17a3fab
Add swipe actions for chapters (#9304)
* added chapter swipe

* Rework corner animtion

* Update i18n/src/main/res/values/strings.xml

Co-authored-by: arkon <arkon@users.noreply.github.com>

* Replace LTR/RTL with Start/End layout

* Added label to the animation so the warning will go away

* Getting rid of the swipe threshold setting

* adding disabled option, renaming stuff, other stuff?

* Getting rid of the snackbar

* Getting rid of unecessary strings

* changing enum names as requested

* Renaming Raio to Ratio (I need a better keyboard as well -__-)

* Replacing error with download icon and action

* backup

* minor cleanup

* fixing an nasty edge case

* fixing mistakes in the previous conflict

* space

* fixing bug

fixed bug where the user could dismiss already dismissed item leading to item getting stuck

* fixing lint errors

* fixing lints (hopefully)

* Added "swipe disabled" to the list of actions

* Replacing string value and moving value as requested

* replacing rest of the strings with generic ones

---------

Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-04-25 17:29:39 -04:00
Tooster
ef3d2c14b4
Fix misused string key in library context menu (#9388)
The "update global" action used key which led to translation issues in Polish.
2023-04-24 22:32:28 -04:00
arkon
44619febd3
Load ZIP file contents to cache (#9381)
* Extract downloaded archives to tmp folder when loading for viewing

* Generate sequence of entries from ZipInputStream instead of loading entire ZipFile
2023-04-23 11:59:58 -04:00
arkon
c48accb357 Maybe fix Firebase crashes
See https://github.com/firebase/firebase-android-sdk/issues/3507
2023-04-23 11:59:44 -04:00
arkon
418e6a8b3a Make loader implementation classes internal 2023-04-23 10:11:26 -04:00
arkon
67b4e53a58 Minor cleanup 2023-04-23 10:11:26 -04:00
arkon
265934d77a Fix missing type info in release builds 2023-04-22 18:32:22 -04:00
arkon
2a218cca90 Fix missing type info in release builds 2023-04-22 18:22:24 -04:00
arkon
e23cc8f83a Hide beta split tall images setting from reader setting sheet for release builds
Closes #9358
2023-04-22 16:33:41 -04:00
arkon
0b125b7106
Use Compose for reader transition chapter info (#9373) 2023-04-22 16:33:36 -04:00
arkon
26f3995595 Consolidate missing chapters functions to domain module and add tests 2023-04-22 11:34:51 -04:00
Pauline
41cc1fe723
Fallback chapter name if it ends up as blank (#9220)
* change the directory's name for a download when the chapter's name is only composed of numbers or is blank

* maj in case the chapter name is blank or empty

* clean code
2023-04-22 11:11:56 -04:00
arkon
add228407f Remove abstract TabeedBottomSheetDialog class 2023-04-19 22:43:36 -04:00
Ivan Iskandar
2c6e025063
Add more info to debug screen (#9357)
* App version
* WebView version
* ART profile status
* Device model
* Android version
2023-04-18 22:59:27 -04:00
arkon
97e6f1ea9a
Upgrade to AGP 8.0.0 (#9351) 2023-04-16 18:02:24 -04:00
arkon
5c1a81d8ca Merge branch 'patch' 2023-04-16 11:09:22 -04:00
arkon
c615f4d458 Release v0.14.6 2023-04-16 11:00:14 -04:00
Eshlender
7115a9b9fe Update track domain shikimori.me (#9333)
shikimori.me

(cherry picked from commit 564a0980b9)
2023-04-16 10:53:01 -04:00
arkon
fd8b97fc87 Better handle overflowing content in MigrateDialog actions
Fixes #9207

(cherry picked from commit b7cd7b8b4e)
2023-04-16 10:52:53 -04:00
arkon
4dd67e4348 Save current chapter progress when navigating to adjacent chapters
Fixes #9295

(cherry picked from commit 776d36caf1)
2023-04-16 10:52:42 -04:00
arkon
38428c6ebe Show proper string in manga detail screen for SourceNotInstalledException
(cherry picked from commit 14d1bcacc9)
2023-04-16 10:51:05 -04:00
arkon
bf85e147e7 Set default automatic library updates to off
(cherry picked from commit abd23b6826)
2023-04-16 10:50:55 -04:00
arkon
d2dd34c2e5 Use queued last chapter read number when performing delayed tracker update
Fixes #8876

(cherry picked from commit f7f2072621)
2023-04-16 10:50:24 -04:00
arkon
aa2ec5940f Avoid crashing in SourcePreferencesScreen if source can't be loaded
(cherry picked from commit 4efca04765)
2023-04-16 10:49:11 -04:00
arkon
79323de326 Avoid crash in DeleteLibraryMangaDialog
No clue why it ever gets a -1 index though.

(cherry picked from commit b12c7cf963)
2023-04-16 10:49:05 -04:00
Two-Ai
08e6487a9a Fix download queue page count display bug (#9126)
When restarting a download, the page count would display as 0 until
the first page download completion, after all the existing pages were
rechecked.

To fix, calculate downloadedImages from pages instead of relying on
the downloader to reset and increment the count.

(cherry picked from commit 779df32e98)
2023-04-16 10:48:16 -04:00
arkon
6f2bb18d72 Avoid crash when loading invalid extension package
(cherry picked from commit 3d7c136320)
2023-04-16 10:47:58 -04:00
arkon
c6ac992798 Move library columns settings to library sheet
Closes #3969. Dialog-ception.
2023-04-15 19:36:49 -04:00
arkon
8ab7e63293 Add tests for MissingChapters function 2023-04-15 09:51:52 -04:00
arkon
4bcd623829 Move worker info screen into debug info menu
No need to translate anything for debug info. Dunno what else will end up in that menu in the future.
2023-04-15 09:35:22 -04:00
Trace
4816b4b53a
fix: skip duplicate chapters on download ahead if option to skip duplicates is enabled (#9334)
* fix: skip duplicate chapters on download ahead if option is enabled

* fix: Use a function to filter duplicates
2023-04-15 09:34:02 -04:00
Ivan Iskandar
60d8650860
WheelPicker: Add manual input (#9338) 2023-04-15 09:26:33 -04:00
Eshlender
564a0980b9
Update track domain shikimori.me (#9333)
shikimori.me
2023-04-14 21:57:05 -04:00
Quickdesh
33e5f1f1a2 move player files 2023-04-10 05:03:06 -04:00
Quickdesh
c7efb5ce8e add settings option to track sheet 2023-04-10 04:48:13 -04:00
Ivan Iskandar
c1e23ec18e
GlobalSearchScreen: Skip result screen when using search intent (#9299) 2023-04-07 22:18:48 -04:00
jmir1
2c1dbdc008 remove reference to beta 2023-04-07 21:30:27 +02:00
jmir1
2daac8b976 fix restoring "full" backups with preferences 2023-04-07 21:09:29 +02:00
arkon
b7cd7b8b4e Better handle overflowing content in MigrateDialog actions
Fixes #9207
2023-04-05 22:36:57 -04:00
arkon
776d36caf1 Save current chapter progress when navigating to adjacent chapters
Fixes #9295
2023-04-05 22:29:56 -04:00
Ivan Iskandar
182e642cfc
SearchToolbar: Check initial search query to open keyboard by default (#9297) 2023-04-05 22:15:56 -04:00
arkon
d25ba23079 Fix automatic backups not working
Apparently they die if you rename a worker class.
2023-04-05 22:13:54 -04:00
Quickdesh
183107c482
Aniyomi quick fixes p2 (#961) 2023-04-05 12:18:57 +02:00
arkon
75460e01c8 Remove crash log notification in favor of sharing directly 2023-04-02 15:30:22 -04:00
RS156
274218cf22
Make center zoom start vertically centered too (#8849)
Update ReaderPageImageView.kt

"true center" Zoom start position #8747.
Changed zoom position to get true center value.
2023-04-01 14:52:15 -04:00
Ivan Iskandar
7a1b599462
Adjust SearchToolbar soft keyboard behavior (#9282)
* Show soft keyboard when the text field is composed (a redo)
* Clear focus on text field when soft keyboard is hidden
* Request focus on text field and show soft keyboard
when clear button is clicked
2023-03-31 09:24:44 -04:00
arkon
1dd62af188 Ensure EmptyScreen is scrollable
Also fix padding for loading/empty states in BrowseSourceScreen
2023-03-29 22:53:58 -04:00
Ivan Iskandar
6f1099b710
AdaptiveSheet: Wrap inside Dialog (#9279)
Because of Compose issue, the style of the sheet surface is adjusted as
a workaround

Ref https://issuetracker.google.com/issues/246909281
2023-03-29 22:34:32 -04:00
arkon
be8e2f119f Make pin source icon lighter
Closes #9274
2023-03-28 23:01:22 -04:00
arkon
18f9e5ba6b Use IO dispatcher for some screen model work
Not sure if this is an ideal approach. If it is, we could migrate more usages to this.
2023-03-28 22:52:30 -04:00
arkon
d1bf857079 Remove unnecessary withIOContext 2023-03-28 18:16:43 -04:00
arkon
be54b8862e Refactor away some unnecessary lambda expressions 2023-03-26 13:27:31 -04:00
arkon
1a61130f0b Don't attempt to initialize manga details from BrowseSource or Search screens
This was effectively DDoSing sources as it does a request for every entry to get the details (primarily a cover image).
The expectation now is that users have to open individual entries to load the details/cover if needed.
This isn't necessary for most sources, which are able to provide covers as part of the listing normally.
2023-03-26 13:12:32 -04:00
arkon
1de4bc9586 Restore POST_NOTIFICATIONS permission check for SDK 33+
Although we don't even target it yet and don't prompt for it but whatever, less work in the future.
2023-03-26 12:56:34 -04:00
arkon
1986042277 Skip POST_NOTIFICATIONS permission check for now
Fixes #9265
2023-03-26 12:34:32 -04:00
arkon
e932983494 Subscribe to changes to manga in BrowseSourceScreen
Fixes #9235
2023-03-26 12:06:12 -04:00
Two-Ai
35d381144d
Cleanup Preference.asHotFlow() (#9257)
* Drop duplicate initial call in Preference.asHotFlow

Preference.changes() always starts by returning the current value of
the preference, so asHotFlow calls block twice on the initial value.

Possible breaking change: As implemented, asHotFlow ran block(get())
before returning the flow. After this change, the first call to block
will run within the flow collection. This might cause concurrency
issues if the flow collection is late to execute.

* Inline Preference.asHotFlow

The Preference.changes().onEach().launchIn() pattern is used widely,
so the asHotFlow extension method is redundant.
2023-03-26 11:52:54 -04:00
stevenyomi
0bcc22822d
Simplify code in missing chapters warning (#9263) 2023-03-26 11:50:29 -04:00
arkon
1ff78173f7 Adjust missing chapters UI 2023-03-26 10:26:58 -04:00
arkon
8d7a7919a9 Add TODO to default to 32-bit color at some point
Originally proposed in #8959
2023-03-24 22:52:18 -04:00
arkon
953720472f Add "Rotate wide pages to fit" setting for paged reader
Originally authored in #7983

Co-authored-by: timothyng-164 <timothyng-164@users.noreply.github.com>
2023-03-24 22:49:35 -04:00
Felix Kaiser
f94d902bb6
Added missing chapters count in MangaInfoHeader (#9184)
* Added missing chapters count in MangaInfoHeader

* Added "Might be missing chapters"

* Added missing chapters to MangaAndSourceTitlesLarge function

* Removed comments

* Reworked getMissingChapters to countMissingChapters, moved -1 check

* Attempting detecting sub-chapters

* Moved MissingChapters to ChapterHeader; Adapted design to fit in

* Fixed block comment in one-line-element

* Fixed critical missing-chapter counting bug

* Undid unintentional & unnecessary changes

* Moved & refactored countMissingChapters

* Fixed import order; Mapping chapter object to chapterNumber

* Optimized "No (valid) chapters" detection

---------

Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-03-24 22:44:58 -04:00
arkon
da25322572 Bump Compose dependencies 2023-03-23 22:19:43 -04:00
arkon
cb4699a5bb Bump dependencies 2023-03-22 22:58:42 -04:00
arkon
2e5efadf42 Rename Complications -> Overlay 2023-03-22 09:26:07 -04:00
arkon
ac0596a53d Revert "Always attempt to split tall images when downloading"
This partially reverts commit 2769525b2c.

Keeps the change to silently ignore spliting errors since it falls back to
the original images in those cases.
2023-03-20 08:45:36 -04:00
arkon
7ec5a51eb8 Move isLocal extension functions to LocalSource 2023-03-20 08:41:44 -04:00
arkon
3cca460282 Misc cleanup 2023-03-19 22:38:14 -04:00