Commit graph

119 commits

Author SHA1 Message Date
NarwhalHorns
e50767709a Utilize tracker for library duplicate detection (mihonapp/mihon#2978)
* Utilize tracker for library duplicate detection (#2978)

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

* Avoid crash due to duplicate manga ID when there are more than 1 trackers

* Add index for duplicate library manga detection in manga_sync

---------

Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>
2026-05-08 19:27:41 +07:00
NarwhalHorns
c290472012 Add option for bookmarked chapters to download dropdown (mihonapp/mihon#2891)
Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

(cherry picked from commit 3c6f0f1697ccab055ee7af47da84b2161d406f0c)

(cherry picked from commit 185cd923c0bf838d55b38ce0ebfb5c010760b880)
2026-05-08 14:52:04 +07:00
NarwhalHorns
aa7198f082 Optimize tracked library filter (mihonapp-mihon#2977)
Co-authored-by: NarwhalHorns <onefailedgamer@gamil.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

(cherry picked from commit ab214526c6f24466a0432b5c5c7d254a244cd958)
2026-05-08 13:24:41 +07:00
MajorTanya
513e5e8dd3 Add src:local search alias for Local Source (mihonapp/mihon#2928)
(cherry picked from commit cf93afab4526bf7dc336b9eaec93a45181785ff1)
2026-02-09 10:24:19 +07:00
MajorTanya
0d712e4365
Add "src:" prefix to search by source ID (mihonapp/mihon#2927)
Allows users to search for the exact source ID in their library.

Similar to the Browse > Migrate screen, but filtered in the Library,
where users can take all the usual actions.

Could be used in the future to change the search behaviour of tapping
the source name in the title info view to search by the ID with this
prefix.

(cherry picked from commit 4e4bdffdf38043418685ab42b177c8476842c83c)
2026-02-03 18:06:57 +07:00
MajorTanya
3e7dc5c41a Add Filters to Updates screen (mihonapp/mihon#2851)
* Add Filters to Updates screen

Behaves basically like the filters in the library:

- Unread: Show/Don't show unread chapters
- Downloaded: Show/Don't show downloaded chapters
- Started: Show/Don't show chapters that have some progress but aren't
  fully Read
- Bookmarked: Show/Don't show chapters that have been bookmarked

Started behaves differently from its Library counterpart because the
actual manga data is not available at this point in time and I thought
calling getManga for each entry without caching would be a pretty bad
idea.

I have modelled this closely on the filter control flow in the
Library, but I'm sure this can be simplified/adjusted in some way.

* Move most filtering logic to SQL

Unread, Started, and Bookmarked filters are now part of the SQL query.

Download state cannot be filtered in the database so it remains in
Kotlin.

Because the Downloaded filter has to be run in Kotlin, the combine
flow uses the preferences flow twice, once to get the SQL query params
and once for the Kotlin filters (only Downloaded at this time).

* Add "Hide excluded scanlators" to update filters

Based on the work done in mihonapp/mihon#1623 but integrated with the other filters
in this PR. Added the user as a co-author for credit.

Co-authored-by: Dani <17619547+shabnix@users.noreply.github.com>

---------

Co-authored-by: Dani <17619547+shabnix@users.noreply.github.com>

---------

* Merge Panorama toggle into Filter diaglog
* Make Panorama toggle persistent and share it with History
* Implement toggleSwitch method for preference management to avoid create new function on every composition

Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

(cherry picked from commit bbe9aa8561360f030072fbc49f79748e71c6535e)
2026-01-28 12:41:18 +07:00
MajorTanya
44a76b548e Reword download index message (mihonapp/mihon#2874)
I'm tired of people thinking the current wording is an error. Improved wordings welcome, this was just my first decent guess.

(cherry picked from commit 05d90ea4d652cd7ead385ec954e0ae2dc332a012)
2026-01-26 11:18:17 +07:00
NGB-Was-Taken
58d1bf34d3 Enable logcat logging on stable and debug builds without enabling verbose logging (mihonapp/mihon#2836)
(cherry picked from commit a4f5a8184c956a3d92183e52a1c96d786cfe9517)
2026-01-08 14:29:25 +07:00
NGB-Was-Taken
59ecc73253 Fix crash when trying to install/update extensions while shizuku isn't running (mihonapp/mihon#2837)
(cherry picked from commit 4ce249c1a0ee9f3a20d91214fd09145e0924b2e4)
2026-01-08 13:42:03 +07:00
Constantin Piber
c525ce49af Implement automatic removal of downloads on Suwayomi after reading, configurable via extension settings (mihonapp/mihon#2673)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 1263df9d4111511e49a43463c9808060433ce76d)
2026-01-07 11:27:00 +07:00
Luca Auer
a5d8f2efac
Minimize memory usage by reducing in-memory cover cache size (mihonapp/mihon#2266)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 4c9cfd8da5f9c67daa4b6401a910f979fd79179f)
2026-01-05 14:19:08 +07:00
NGB-Was-Taken
83827f7e8e Fix disabling incognito mode from notification (mihonapp/mihon#2512)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 96e5131358110079587d262d37ec346e10941758)
2025-10-06 16:49:41 +07:00
Guzmazow
136fb7652c Improve spoofing of X-Requested-With header to support newer WebView versions (mihonapp/mihon#2491)
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
(cherry picked from commit 065147472e8e683c47d11f3e00386aba2a7c1bac)
2025-10-06 16:35:26 +07:00
Constantin Piber
e6bddcab14 Delegate Suwayomi tracker authentication to extension (mihonapp/mihon#2476)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 6f635782c22cc0844caa4e4d88cf390005989b0b)
2025-10-06 16:14:46 +07:00
krysanify
639459f8af Fix crash opening filter sheet with empty library and mark as read/unread for selected items (mihonapp/mihon#2355)
(cherry picked from commit d88dbe6409b9c4dd7fbb37757e89c09af73f1fd3)
2025-08-27 14:29:01 +07:00
AntsyLich
395f68f71f Fix 'Default' category showing in library with no user-added categories (mihonapp/mihon#2371)
(cherry picked from commit 7d717ee7fd9779b85fee29cadc946292cfdcee89)
2025-08-27 14:29:01 +07:00
AntsyLich
1fd86ca74f Optimize and cleanup library code (mihonapp/mihon#2329)
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
(cherry picked from commit e62cd0e816402303fdf12513816894624f77e208)
2025-08-27 14:29:01 +07:00
Secozzi
c5c4961ed7 Fix height of description not being calculated correctly if images are present (mihonapp/mihon#2382)
(cherry picked from commit c6a96b3970f0ba4643f438155653790973fa00f6)
2025-08-12 23:03:22 +07:00
AntsyLich
78a62b257b Fix local source EPUB files not loading (mihonapp/mihon#2369)
(cherry picked from commit 9bf3f15fff96b48e6847034c9fcd07f14675130b)
2025-08-12 23:03:22 +07:00
Radon Rosborough
8ef8aff653 Use ComicInfo.xml for chapter metadata in localSource (mihonapp/mihon#2332)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 32257e438e2f0bea7e0bfe84dc72135795d620ad)
2025-08-12 23:03:22 +07:00
anirudhn
e224b8d06b Fixed scrollbar sometimes not showing during scroll or not reaching the bottom with few items (mihonapp/mihon#2304)
(cherry picked from commit 095ef8e74b1c208be25b616ce01d5b198749ee2e)
2025-08-12 23:03:22 +07:00
AwkwardPeak7
e6c760cbcb Include Manga initialized status in backup (mihonapp/mihon#2285)
(cherry picked from commit 62eec15fe61be88e0ebc8be89a1e445dde55ba7e)
2025-08-12 23:03:22 +07:00
Secozzi
7acd998b12 Add option for rendering images in description (mihonapp/mihon#2076)
(cherry picked from commit 2ef8ae11c9da02c24bf4d12bf22b41c5d19bada4)
2025-08-12 23:03:22 +07:00
AntsyLich
71548322e5 Make local source default chapter sorting match file explorer behavior
Closes mihonapp/mihon#2225

(cherry picked from commit 7f56555d632508379037eb0fba4411079c27ad5b)
2025-08-12 23:03:22 +07:00
Matthias Ahouansou
46bb3da70a Use median to determine smart update interval (mihonapp/mihon#2251)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit d60241690b373e42215761b4108e52a7655daaeb)
2025-07-17 15:36:52 +07:00
AwkwardPeak7
a7b307b732 Ensure app waits for Cloudflare challenge to complete before continuing (mihonapp/mihon#2200)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 2df3382148c76d287943fc36e2f55bc16df1cd83)
2025-06-16 00:38:37 +07:00
claymorwan
0b37b3258c Add Catppuccin theme (mihonapp/mihon#2117)
Mocha for dark and Latte for light, mauve accent

(cherry picked from commit 77eb55874278b7740d43b9144d9253a075cc593c)
2025-06-16 00:38:37 +07:00
AntsyLich
bd93329372 Disable reader's 'Keep screen on' setting by default (mihonapp/mihon#2095)
(cherry picked from commit f0de8f973b331ebad6e1844aea7864f97f237941)
2025-06-15 22:28:03 +07:00
AwkwardPeak7
903281c2ef Fix pressing Enter while searching also triggering navigation back on physical keyboards (mihonapp/mihon#2077)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 86ebf5581598f28feab4090ac3bf627f54b511d7)
2025-06-15 22:28:03 +07:00
FlaminSarge
6e3670ef75
Add advanced option to always update manga title from source (mihonapp/mihon#1182)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 8b45ef0e5d5d368e0925df9816ae423defaed4d9)
2025-05-13 23:55:50 +07:00
AntsyLich
6562ab0018
Add autofill support to tracker login dialog and update processing text (mihonapp/mihon#2069)
(cherry picked from commit 7deeabe844d41d2b5e918ad747ddd548163c9fe3)
2025-05-08 02:05:20 +07:00
AntsyLich
e39354926c
Fix downloader stopping after failing to create download directory of a manga (mihonapp/mihon#2068)
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
(cherry picked from commit 536393a6d9941fac282f10b825aa611b91e1fcdb)
2025-05-08 02:05:20 +07:00
AntsyLich
23565be68c
Fix Pill not following the local text style
Closes mihonapp/mihon#2009

(cherry picked from commit f8cb506137a3619f828dac94557b5448b2a7fa24)
2025-05-08 02:05:20 +07:00
NarwhalHorns
376a13fb1c
Fix empty layout not appearing in browse source screen in some cases (mihonapp/mihon#2043)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 37e19edf8a5f6a15a95f160390cbcf22d8133380)
2025-04-28 03:06:29 +07:00
AntsyLich
0f365336e2
Switch default user agent to Android Chrome (mihonapp/mihon#2048)
(cherry picked from commit 8b7f35598833917c89f8ae53cca10578fd880d67)
2025-04-28 03:06:25 +07:00
AntsyLich
18dd02d71b
Fix crash when trying use source sort filter without a pre-selection (mihonapp/mihon#2036)
(cherry picked from commit 1c982c2a01c1bba5ec4a955c9bf61cb346c752e7)
2025-04-28 03:06:21 +07:00
AntsyLich
39280a6f54
Fix content under source browse screen top appbar is interactable (mihonapp/mihon#2026)
(cherry picked from commit 9750c1e4bd6b931e71b7b348abbe2638a8cf317b)
2025-04-28 03:06:18 +07:00
Secozzi
d8057f927c
Update markdown to 0.33.0 and tweak visuals (mihonapp/mihon#2024)
- Update markdown to 0.33.0
- Use github flavour for github changelog
- Fix bullet list alignment

(cherry picked from commit e2915a1f69340cad515962de8a0b9d11ecff8d42)
2025-04-20 01:38:45 +07:00
AwkwardPeak7
3e7e6c4dd1
Remove Okhttp networking from WebView Screen (mihonapp/mihon#2020)
(cherry picked from commit df2b4c754bab9dd96fe2199b9f6df62d87b7175e)
2025-04-20 01:38:45 +07:00
Joseph Madamba
c413d7f219
Update Facebook and Reddit icon (mihonapp/mihon#1994)
(cherry picked from commit 0cb1925cf158155665f3173bccb93f39d84b71e0)
2025-04-14 17:15:15 +07:00
AwkwardPeak7
a99652a775
Include source headers when opening failed images from reader (mihonapp/mihon#2004)
(cherry picked from commit fea85241afac5a849aa418d01710f5cdc0c25b54)
2025-04-14 17:15:08 +07:00
Secozzi
1e0a37014b
Use simpler markdown flavour in manga description (mihonapp/mihon#2000)
(cherry picked from commit e273a26c9b7f0a9dd9f8847cfc65e69453fa5905)
2025-04-14 17:15:05 +07:00
AwkwardPeak7
25f3229a98
Fix duplicate requests in WebView due to empty reasonPhrase (mihonapp/mihon#2003)
(cherry picked from commit 818e6931c6bc89e0bb111e77418542a88f8db37c)
2025-04-14 17:15:01 +07:00
AwkwardPeak7
55dc08d330
Add option to keep read manga when clearing database (mihonapp/mihon#1979)
(cherry picked from commit ecc6ede0815a89b7f8288e47c607c57bacc47e71)
2025-04-14 17:14:58 +07:00
AwkwardPeak7
6e966746db
Surface image loading error in Reader (mihonapp/mihon#1981)
(cherry picked from commit fefa8f84982b537ca930438f7976087844d5bb9c)
2025-04-14 17:14:51 +07:00
Cuong-Tran
b8d3d7f3d4
Fix navigation issue after migrating a duplicated entry from History tab
(cherry picked from commit d9c4b56336c21db96a835630a48c46ee7a480342)
2025-04-14 15:14:22 +07:00
NarwhalHorns
f685e6d5fc
Display total chapters on duplicates list items (mihonapp/mihon#1963)
(cherry picked from commit 12abd9938b7c235d6a1c02391624703476c1f339)
2025-04-09 12:21:45 +07:00
AntsyLich
5da873cac1
Update non-library manga data when browsing (mihonapp/mihon#1967)
(cherry picked from commit a594ad392d4793f3a5cb2b709d29b2feab6120d3)
2025-04-09 12:04:22 +07:00
NarwhalHorns
c2341cf3cd
Display all similarly named duplicates in duplicate manga dialogue (mihonapp/mihon#1861)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 0d35b6fdafbf5451a2743ea9bcfc735bf49374a7)
2025-04-06 01:49:35 +07:00
AntsyLich
d19c37596b
Fix unintended app permissions due to Firebase misconfiguration (mihonapp/mihon#1960)
(cherry picked from commit 2259164fde4135cdd2d756fbec2d671d475ebb37)
2025-04-05 23:20:51 +07:00