Commit graph

7783 commits

Author SHA1 Message Date
Cuong Tran
722ebe757e
reuse Dialog composer 2024-04-26 01:48:48 +07:00
Cuong Tran
55226e3016
fix detekt 2024-04-26 01:48:48 +07:00
Cuong Tran
cd016ab29e
fix: won’t show dialog if skip all then selection list is empty 2024-04-26 01:48:48 +07:00
Cuong Tran
89a5f2e702
no need using builder to create AppBarAction 2024-04-26 01:48:48 +07:00
Cuong M. Tran
a7c6232a50
add BulkSelection to the rest of Migrate, MangaDex… 2024-04-26 01:48:48 +07:00
Cuong M. Tran
df229af0eb
migrate the rest to BulkSelectionScreenModel 2024-04-26 01:48:48 +07:00
Cuong M. Tran
cc5b6a1d5f
separate BulkSelection into standalone BulkFavoriteScreenModel 2024-04-26 01:48:48 +07:00
Cuong M. Tran
42022bf661
improve: toggle selection mode when last item is unselected 2024-04-26 01:48:48 +07:00
Cuong M. Tran
0ad2680b45
renovate code 2024-04-26 01:48:48 +07:00
Cuong M. Tran
3bc673ae17
Feat: allow long click to favorite on GlobalSearch 2024-04-26 01:48:48 +07:00
Cuong M. Tran
c30a8873a2
Bulk favorite for GlobalSearchScreen & MigrateSearchScreen 2024-04-26 01:48:48 +07:00
Cuong M. Tran
8d46ab8fc2
renovate: move SelectionToolbar to its own component 2024-04-26 01:48:48 +07:00
Cuong M. Tran
2df7f13e4e
Fix: Won’t try call favorite if none selected 2024-04-26 01:48:48 +07:00
Cuong M. Tran
a617528fda
Allow/Skip one by one 2024-04-26 01:48:48 +07:00
Cuong M. Tran
83910501b7
Allow skip duplicates 2024-04-26 01:48:48 +07:00
Cuong M. Tran
b64c7f30c0
Bulk selection mode for BrowseSourceScreen 2024-04-26 01:48:48 +07:00
Cuong M. Tran
93fb56b771
rename 2024-04-26 01:48:47 +07:00
Cuong M. Tran
0da6b78d74
Bulk selection for SourceFeedScreen 2024-04-26 01:48:47 +07:00
Cuong M. Tran
46ad83a79b
Use topBar action to add favorite instead of bottomBar
some minor name changes
2024-04-26 01:48:47 +07:00
Cuong M. Tran
8ed81b91ba
Allow bulk-favoite default category 2024-04-26 01:48:47 +07:00
Cuong M. Tran
466f2b0c77
Hide BottomNav when in selection mode 2024-04-26 01:48:47 +07:00
Cuong M. Tran
e3e2141282
Selection:
* Clear selection after set Favorite
* Keep selection when editing categories
2024-04-26 01:48:47 +07:00
Cuong M. Tran
34f35e2461
Allow add to favorite even when no category available 2024-04-26 01:48:47 +07:00
Cuong M. Tran
c7ed0a4324
Set Favorite & Libraries OK now 2024-04-26 01:48:47 +07:00
Cuong M. Tran
468518bdc3
handle back button 2024-04-26 01:48:47 +07:00
Cuong M. Tran
459bbcc9bd
shade for selected items 2024-04-26 01:48:47 +07:00
Cuong M. Tran
5c5a0f5fcf
Toggle and toolbar count 2024-04-26 01:48:47 +07:00
Cuong M. Tran
a4604809bc
selection list & toggleSelection/clearSelection 2024-04-26 01:48:47 +07:00
AntsyLich
c3b7e33b2f
Fix ChapterDownloadIndicator
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit d8b9a9f593911569ff2bceb49b4f020978d0d2e1)
2024-03-04 11:01:37 +07:00
AntsyLich
e181e2bfe3
Small cleanup
(cherry picked from commit b7e091d5d039e00cababc7daf555280df6cf9c03)
2024-03-04 11:01:37 +07:00
Jobobby04
8ce1b895ab
1.10.5
# Conflicts:
#	.github/ISSUE_TEMPLATE/report_issue.yml
#	.github/ISSUE_TEMPLATE/request_feature.yml
2024-03-04 11:01:22 +07:00
Jobobby04
84fca4290a
Fix for duplicate read 2024-03-04 10:57:36 +07:00
Jobobby04
471c8c9909
Throw IOException 2024-03-04 10:54:05 +07:00
AntsyLich
246ab2e8aa
detekt my beloved
(cherry picked from commit c56f4665ef0276c54f5abebd9ab93e2e283739a6)
2024-03-04 10:53:37 +07:00
renovate[bot]
8766eb412a
Update dependency me.saket.swipe:swipe to v1.3.0 (#343)
* Update dependency me.saket.swipe:swipe to v1.3.0

* Update MangaChapterListItem.kt

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit b51a0a38bd9849b573bc2de0d936d6ab2becb83c)

# Conflicts:
#	app/src/main/java/eu/kanade/presentation/manga/components/MangaChapterListItem.kt
2024-03-04 10:53:37 +07:00
AntsyLich
c7757f601e
Switch to Coil3
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit f72b6e4d7c1f2f93d705402e4d80c94160bef54d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt
2024-03-04 10:53:37 +07:00
AntsyLich
c10135002c
Remove custom Pager
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 84984ef7e1d7242924120cd2f171cb9dd75bc916)
2024-03-04 10:53:37 +07:00
AntsyLich
33bbc52020
Enable experimental Compose compiler optimization
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 9f48def1e2718abd5b4aad3cb6ee8af6b39e76cc)
2024-03-04 10:53:37 +07:00
AntsyLich
5b40eb5ce9
ChapterDownloadIndicator: Remove composed modifier usage
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit e83bfb0d3511f3c049d1dfe6ca13e74467655e08)
2024-03-04 10:53:37 +07:00
Shamicen
137816b394
Made some changes to ComicInfo metadata (#459)
* Made some changes to ComicInfo metadata

The web field now contains a " " separated list of source and tracker urls.
The translator field will now use the source name if the scanlator field is empty.

* lint

* use already existing source instance

* made translator not nullable

* implemented requested changes

created new Mihon exclusive ComicInfo source field  and populated it with SourceName

reverted previous changes to translator field

* Update core-metadata/src/main/java/tachiyomi/core/metadata/comicinfo/ComicInfo.kt

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

* Update app/src/main/java/eu/kanade/domain/manga/model/Manga.kt

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

* Update app/src/main/java/eu/kanade/domain/manga/model/Manga.kt

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

* Update app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt

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

* Update app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 4bfc5e7b51452a1a9cac3a3644e6343d1c47aa95)

# Conflicts:
#	app/src/main/java/eu/kanade/domain/manga/model/Manga.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt
#	core-metadata/src/main/java/tachiyomi/core/metadata/comicinfo/ComicInfo.kt
2024-03-04 10:53:37 +07:00
AntsyLich
9eb420cf42
Don't add custom User Agent for MAL
Closes #298

(cherry picked from commit 7974a1fc0c2b0e237d5704a033a60ec0fd60cdbc)
2024-03-04 10:52:57 +07:00
Splintor
3dad09973e
Allow disabling reader's zoom out (#302)
* Allow disabling reader's zoom out (#62)

* Renamed disable zoom out pref and string

* Zoom to default rate if the scale is inferior

* Fixed null value check and formatting

* Fixed detekt

(cherry picked from commit c15f3f2fd5b11cc9c2088ae2fa444f4fe35ea740)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderPreferences.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonFrame.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonRecyclerView.kt
2024-03-04 10:51:49 +07:00
Maddie Witman
2f31c13550
Fix some issues from 7ff95e2 (#415)
* Fixed extra header introduced in 7ff95e2

* Removed parentheses to make detekt happy

* Updated relative date display for dates in the future

* Small cleanup for header creation logic

* replaced "and" with "&&" for better formatting

(cherry picked from commit 07f963d5ae16c3c8d7be025a7e9439ad2110ac71)
2024-03-04 10:51:49 +07:00
beerpsi
31ac23f31c
[ExtensionLoader] Prioritize extension classpath over app classpath (#433)
(cherry picked from commit ab02568ac6e9dabc7a41036bb3d8c77138125544)
2024-03-04 10:51:49 +07:00
MajorTanya
2844dd2e73
Fix DelayedTrackingUpdateJob spam on update errors (#411)
* Fix DelayedTrackingUpdateJob spam on update errors

DelayedTrackingUpdateJob would start spamming when it encountered an
error (e.g. a tracker has an issue) and never stop.
This seems to stem from a circular dependency between the Job's
`doWork` and TrackChapter's `await`.

TrackChapter sets up a completely new instance of the
DelayedTrackingUpdateJob if any Exception was thrown during the track
update.

This causes the Job to get replaced (as per the WorkManager's set
ExistingWorkPolicy).

Because of this, the guard clause at the start of doWork would never
trigger, as all instances of the Job would report being the 0th try
(because they were completely new instances).

This simple fix introduces a boolean `isRetry` parameter to
TrackChapter's await method, which is set to `false` by default.
DelayedTrackingUpdateJob however sets this parameter to `true`, which
means TrackChapter won't try to set up the Job again.

* Rename isRetry parameter to setupJobOnFailure

This also inverts the logic, so true & false were swapped.

(cherry picked from commit 617bf491eee1d1010dc23c3f6df5d148700feb44)
2024-03-04 10:51:49 +07:00
MajorTanya
c33d0d6786
Address overridePendingTransition deprecation (#410)
This function is deprecated starting with API 34 "UpsideDownCake" and
should be replaced with `overrideActivityTransition`.

(cherry picked from commit 840b647b4b4e738fac546b7437dd5449679232a1)
2024-03-04 10:51:49 +07:00
AntsyLich
7628f98b49
Cleanup [BaseColorScheme.getColorScheme]
(cherry picked from commit 95d4df9ca80a88e87e633fc24c7fec677bc9d9b6)
2024-03-04 10:51:49 +07:00
AntsyLich
35f23d66a1
Small cleanup in WorkerInfoScreen
(cherry picked from commit 5aec8f8018236a38106483da08f9cbc28261ac9b)
2024-03-04 10:51:26 +07:00
AntsyLich
12ff1248b5
Revert a mishap in 7ff95e21babda98dd1b479912278d6029cd15f0d
(cherry picked from commit e183cbb231c6d48a17c573dbd3f2c8ce04ff7031)
2024-03-04 10:51:26 +07:00
Jobobby04
18f52a6043
Improve duplicate chapter set as read 2024-03-04 10:50:54 +07:00