Commit graph

8793 commits

Author SHA1 Message Date
NGB-Was-Taken
06ce765952 Remove the unused mark duplicate as read preference. (jobobby04/tachiyomiSY#1448)
* Remove the unused mark duplicate as read preference.

* Migrate the old preference to new preference

(cherry picked from commit 71470b9e02bc5e3e7607d7de57f90a882810bb49)
2025-06-16 00:38:37 +07:00
Cuong-Tran
b7c60d0750 Cleanup nHentai media-server 2025-06-16 00:38:37 +07:00
NoFace33
519c5f822e
Update DMCA UUID list using Mangadex Massacre Google Sheet (#988)
* Update DMCA UUID list using Mangadex Massacre Google Sheet

* Fix: add trailing newline to mangadex_dmca_uuids.txt

* Re-add trailing newline for formatting consistency
2025-06-16 00:06:54 +07:00
Callum Wong
3f2eb75b71 Add QR code scan button for sync API key (jobobby04/tachiyomiSY#1430)
* Add dependency com.journeyapps:zxing-android-embedded:4.3.0

* Add widget parameter to EditTextPreferenceWidget

* Add QR code scanner icon button to sync API key preference which launches a ScanContract

* Remove screenOrientation property from CaptureActivity manifest

* Allow scanning both normal and inverted codes

* store values and make code more concise

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

* Import local context

---------

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
(cherry picked from commit 84c7da5a7d244ffc0cd7155d15e0a200f548ad35)
2025-06-15 22:28:03 +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
Cuong-Tran
87563a239c
fix(searching): fix filter-list param when doing search with some ext while doing: (#1006)
- Smart search
- Suggestions
2025-06-15 21:38:00 +07:00
Cuong-Tran
6c530e4fca
fix(recommendation): Fix null RecommendationSource & refactoring (#1000)
* Remove redundant condition & refactor class

* Batch networkToLocalManga

* Fix null source

* Simplify by creating RecommendationSource to match with upstream

* Add comment
2025-06-12 15:39:09 +07:00
Tim Schneeberger
9a31ffcc41
feat(recommendation): batch processing for recommendations & sort by relevancy (jobobby04/TachiyomiSY#1383)
* refactor: use NoResultsException

* refactor: cleanup RecommendationPagingSources

* refactor: turn wake/wifi lock functions into reusable extensions

* feat: implement batch recommendation (initial version)

* fix: serialization issues

* fix: wrong source id

* refactor: increase performance using virtual paging

* refactor: update string

* refactor: handle 404 of MD source correctly

* style: add newline

* refactor: create universal throttle manager

* refactor: throttle requests

* chore: remove unused strings

* feat: rank recommendations by match count

* feat: add badges indicating match count to batch recommendations

* fix: handle rec search with no results

* fix: validate flags in pre-search bottom sheet

* feat: implement 'hide library entries' for recommendation search using custom SmartSearchEngine for library items

* style: run spotless

* fix: cancel button

* fix: racing condition causing loss of state

* Avoid runBlocking in a property getter

* Remove unnecessary `synchronized`

* Fixes screen staying on in library tab. (jobobby04/TachiyomiSY#1451)

(cherry picked from commit 254980695bc39fe064e7aeb181ecdbf70c1eff95)

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
Co-authored-by: NGB-Was-Taken <76197326+NGB-Was-Taken@users.noreply.github.com>
2025-06-12 15:19:34 +07:00
Cuong-Tran
cd3dc79583
feat(MangaDex): use tracker links to associate mangas automatically with trackers (#991)
* feat(MangaDex): use tracker links to associate mangas automatically with trackers (jobobby04/TachiyomiSY#1387)

* feat: add searchById support to trackers (MAL, AniList, MangaUpdates only)

* feat: add new preference to toggle auto selection of tracker items using source metadata if available

* feat: add new preference to toggle auto selection of tracker items using source metadata if available

* feat: add automatic title selection using source metadata to TrackInfoDialog.kt

* style: apply spotless

* refactor: remove hardcoded MangaDexSearchMetadata cast and introduce common interface

(cherry picked from commit 217503eab0e2fe551943e3b702cc6df4aaae8ebf)

* Handle null when searchId failed

* Wrap the await() call in a use block to ensure the OkHttp Response is properly closed after use

* Simplify Regex

* Injection via construction

* Wrap the blocking HTTP call in an IO dispatcher context

---------

Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
2025-06-09 18:43:05 +07:00
Cuong-Tran
2661122d9a
chore(source-feed): Also hide entries already in library (#985) 2025-06-06 10:08:54 +07:00
Cuong-Tran
a843918e7f
feat(ui): Improve migration bottom sheet layout with scrollable content (#983)
* feat(ui): Improve migration bottom sheet layout with scrollable content

* Using with(binding) and remove redundant Box

* Simplify checkbox listener setup in MigrationBottomSheetDialog

* Fix reference ID should not create new ID
2025-06-05 12:03:22 +07:00
Cuong-Tran
4b4e4c6204
chore(sponsor): change to GitHub Sponsor (#981)
* chore(sponsor): change to GitHub Sponsor

* Fix button style

* Font style

* Small fix

* spotless
2025-06-04 16:15:31 +07:00
Cuong-Tran
3d2ad327bc
chore(manga-repository): Revert (in-memory) fast browsing (#965)
* Revert "fix(manga-repository): Fix selected entries while bulk-selection won't show as selected (#927)"

This reverts commit 303a266720.

* Revert "refactor(network-to-local): simplify networkToLocalManga (#910)"

This reverts commit d33efced68.

* Revert "chore(network-local-manga): Reintroduce (in-memory) fast browsing (#909)"

This reverts commit 3310784faf.

* Add updateInfo parameter to insertNetworkManga method
2025-05-31 11:41:20 +07:00
Cuong-Tran
ba63b74163
fix(migration): Fix issue preventing migration dialog to be shown up (#964) 2025-05-31 11:30:46 +07:00
Cuong-Tran
89f0e240ad
fix(updates): Fix wrong date order (#963) 2025-05-31 11:30:15 +07:00
Cuong-Tran
7df225c358
chore: Fix Discord badge & Weblate link (#960) 2025-05-29 09:48:59 +07:00
Cuong-Tran
c1157e7d5b
feat(ui): Update Buy Me a Coffee button theme (#959)
* feat(ui): update Buy Me a Coffee button theme and add preview

* Simplify vector & make button with border

* clipping the ripple effect
2025-05-29 01:33:52 +07:00
Cuong-Tran
757a86852c
Buy Me a Coffee (#953)
* Update expired Discord link

* Buy me a coffee

* Refactor

* move it down
2025-05-28 18:30:47 +07:00
Cuong-Tran
aaa1d855ff
feat(sanitizer): Sanitize manga titles for special characters before searching (#956) 2025-05-28 17:37:13 +07:00
Cuong-Tran
83b32b4c0a
feat(library): Filter MangaDex DMCA library entries with search keyword mangadex-dmca (#936)
* Filter MangaDex DMCA entries with search keyword `mangadex-dmca`

* Load from raw file

* using IO dispatcher

---------

Co-authored-by: az4521 <18432684+az4521@users.noreply.github.com>
2025-05-27 21:27:06 +07:00
Cuong-Tran
04227d718f
fix(release-notes): Fix Github Release Notes incorrectly displayed with Markdown (#934) 2025-05-27 15:34:30 +07:00
Cuong-Tran
068dc188ec
fix(notification): Prevent duplicate notifications during backup and restore processes (#933)
Avoid calling show() before returning builder for ForegroundInfo
2025-05-27 12:35:57 +07:00
Cuong-Tran
46c3f1ef2f
feat(notification): Add separate channel for sync notifications (#928)
* Add separate channel for sync notifications

(cherry picked from commit 2ef674cf5481272a80719b57d19e95b0bd0395f9)

* fix `showSyncError` notification channel

* Remove duplicate notification cancellation

---------

Co-authored-by: Jery <jery99961@gmail.com>
2025-05-27 09:08:47 +07:00
Cuong-Tran
5ac35847af
fix(debug-menu): Fix debug-menu pop twice (#925) 2025-05-26 16:35:35 +07:00
Cuong-Tran
49c012e548
chore(migrate-manga): Allow open manga by clicking cover while in selection mode (#924) 2025-05-26 15:36:20 +07:00
Cuong-Tran
cfa9f6bfef
feat(bulk-favorite): Show progress indicator when running bulk-favorite (#923)
* Show progress indicator when running `bulk-favorite`

* Deduplicate action title
2025-05-26 15:25:09 +07:00
Cuong-Tran
262c6315fd
feat(library-update-errors): add/clear error when updating manually from entry's screen (#922)
* add/clear error when updating manually from entry's screen

* Optimize redundant code

* Replace default error message with localized string
2025-05-26 14:44:10 +07:00
Cuong-Tran
f8ef5d4cf2
feat(duplicate-manga): Add target manga name in duplicate dialogs (#921) 2025-05-24 11:08:00 +07:00
Cuong-Tran
382d29e303
feat(manga-folder): Allow open manga folder with system's File Manager (#920)
* feat(manga-folder): Allow open manga folder with system's File Manager

* Add error message for failed folder opening
2025-05-24 01:53:53 +07:00
Cuong-Tran
fb9409c12f
fix(tracker-anilist): Remove unused 'id' field from ALEdge data class 2025-05-23 22:07:18 +07:00
Cuong-Tran
323ddd0aa8
chore(trust-extension): Bypass trust check for debug build types 2025-05-23 22:06:20 +07:00
Fermín Cirella
7f820b590c
feat(library): add category library filter (#895)
* feat(library): add category library filter

* feat(library): pre-calculate filter categories map

* feat(library): ungroup library items if category filter is enabled

* refactor `combine` function and improve flow handling

* fix: Exclude system's `Default` category from the list (as no other category would match with it)

* refactor: categories conversion

* feat: correctly restore categories filter preferences

* feat: improve DB ops performance

* chore: add KMK comment

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-05-20 15:32:41 +07:00
多能豆
70fcc3dff0
fix (delegate): Fix E-Hentai Jump/Seek match for detailed date (#919)
* Fix E-Hentai Jump/Seek match for detailed date

* end of line regex & note

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-05-20 15:24:08 +07:00
Cuong-Tran
2024cdf168
feat(update-errors): Allow manually delete update errors (#916)
* Allow manually delete error(s)

* remember swipe action & correct Modifier

* Simplify LibraryUpdateError data structure and separate SourceManager from compose UI

* Add badge count errors

* using SwipeToDismiss

* correct Modifier & StringResource

* remove confirmValueChange when Settle
2025-05-17 19:07:42 +07:00
Cuong-Tran
bc33a75b6b
fix(update-errors): Fix range selection & ordering latest error first (#914)
* Fix range selection

* Sort error list by latest error first

* Correct non-nullable lastUpdate & fix comment
2025-05-16 15:07:37 +07:00
Cuong-Tran
c52de8c472
feat(updates-screen): Swipe actions for chapter updates (#915)
* feat(updates-screen): Swipe actions for chapter updates

* Smaller cover size & add option to hide cover images (debug menu)

* Correctly apply passed-in modifier

* Memoize `getSwipeAction(...)`` invocations with Compose’s `remember` (keyed on the action and state) to avoid recreating those objects on every recomposition
2025-05-16 14:05:49 +07:00
Cuong-Tran
a3abccb34b
feat(updates-selection): Enable whole-group selection & Fix range selection in Updates screen (#913)
* fix(updates-screen): Fix range selection in Updates screen

* feat(updates-screen): select Updates whole-group

* improve performance

* simplify onUpdateSelected parameters using UpdateSelectionOptions
2025-05-15 16:31:19 +07:00
Cuong-Tran
2f55a0bc16
feat(updates-screen): Animated Updates group expand visibility (#912) 2025-05-15 14:06:32 +07:00
Cuong-Tran
d33efced68
refactor(network-to-local): simplify networkToLocalManga (#910) 2025-05-14 15:14:25 +07:00
Cuong-Tran
a18cc3e6a9
Fix mark existing duplicate read chapters as read option not working in some cases (mihonapp/mihon#1944)
(cherry picked from commit 9972fa1053d19191871e52d48a9fd56b22fbc708)
2025-05-14 15:01:05 +07:00
Cuong-Tran
85e3e383cb
chore(pager-viewer): cleanup setChaptersInternal 2025-05-14 10:48:38 +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
Cuong-Tran
3310784faf
chore(network-local-manga): Reintroduce (in-memory) fast browsing (#909)
* measure time

* Revert "Revert "Fast browsing (#612)""

This reverts commit d23130b317.

* Fix networkToLocal for bulk-selection selectAll/reverseSelection

* fix comments
2025-05-13 23:18:01 +07:00
Cuong-Tran
7dd57c54bc
chore(storage): check valid data folder location & handle permission for device without FilePicker (#906)
* fix(storage): setting app's data folder on Android TV

Also check if set location is actually accessible then update UI compose accordingly (for all devices) in some cases (e.g. location set but actual folder was deleted or permission revoked)

(cherry picked from commit ef56b7f11ef0d243ef14816e85afa360f1137fe8)

* chore(storage): improve permission handling for older Android version & Fire TV

(cherry picked from commit 5ee009a6db73d33687e55ee8f4ad6412a9e320d4)
2025-05-11 23:24:16 +07:00
Cuong-Tran
0db7b47bcf
fix(migrate-dialog): Fix migrate-dialog reappear before migration actual complete (#905)
refactor MigrateDialog to use rememberScreenModel for state management
2025-05-11 20:32:02 +07:00
Cuong-Tran
615c9fa259
feat(incognito): add incognito mode for local sources (#903) 2025-05-11 16:07:36 +07:00
Cuong-Tran
8a2b063cd9
feat(incognito): add toggle for incognito mode in BrowseSource & SourceFeed (#902)
* feat(incognito): add `toggle for incognito` mode in BrowseSource & SourceFeed

* fix null check
2025-05-11 15:52:01 +07:00
Jery
a862bda9d5
feat(incognito): Add incognito mode for EH based sources (#901)
* Add incognito mode for eh based sources

(cherry picked from commit bdf848ebb721394ff1b7b7006e538f6f60056b76)

* simplify GetIncognitoState parameters and logic

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-05-11 14:22:30 +07:00
Cuong-Tran
ee1418c7fc
fix(source-feed): update last used source was not working, show incognito status bar (#900) 2025-05-11 03:08:33 +07:00
Jery
3d9dd9d7b1
feat(incognito): add animated incognito mode indicator and icon (#899)
* Add indicator for source incognito mode

Adds an indicator to the manga info header to show if a source is running in incognito mode.
Also moves the source incognito check logic to `SourceExtensions`.

(cherry picked from commit 5e547efda51cdeaa7bc71198b932c8ac9aecc312)

* Replaced incognito icon with animated glasses_with_hat icon.

This commit introduces an animated vector drawable for the incognito mode icon and updates the related icons in the app.

- Adds `anim_incognito.xml`, a new animated vector drawable for incognito mode.
- Adds `ic_glasses_with_hat_24dp.xml`, a new icon for incognito mode.
- Updates the incognito mode icon in the following places:
    - MoreScreen
    - ExtensionDetailsScreen
    - App notification
    - Manga info header
- Updates `SwitchPreferenceWidget` and `TextPreferenceWidget` to accept any type of icons.

(cherry picked from commit 2a28673e078ff15fe0a7c2a030ffc6ce6cbe6b31)

* move incognito icon

* issue: Use stringResource for contentDescription to support localization

* Wrap the ImageVector.vectorResource call in remember to avoid inflating the drawable on every recomposition.

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-05-11 02:38:17 +07:00
Cuong-Tran
4fcbd88618
refactor(bulk-selection): optimize selectAll/reverseSelection logic (#898) 2025-05-10 01:12:13 +07:00
Cuong-Tran
78f03f8207
fix(toolbar): do not bulk-selection on BrowseRecommends (#897) 2025-05-10 00:44:33 +07:00
Cuong-Tran
c962584f19
fix(notification): cleanup 2025-05-09 00:54:10 +07:00
Cuong-Tran
8be38ce077
fix(tracker-anilist): format property in ALSearchItem nullable (#890) 2025-05-08 02:05:20 +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
Cuong-Tran
ed6cb1c44c
Revert "feat(tracker-login): Enhance tracking login dialog with autofill and loading state (#884)"
This reverts commit 29cf391ede.
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
4fe7ef9abb
Cleanup MarkdownRender
Co-authored-by: p
(cherry picked from commit 98230ed30f04fe754fd4bd407356c8c03d8d8719)
2025-05-07 21:58:55 +07:00
Mend Renovate
1be6c1a3ee
Update dependency androidx.compose:compose-bom to v2025.04.01 (mihonapp/mihon#2040)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
(cherry picked from commit d721a4321bdc6fafdd32e7bfd451b61b2bdd66b7)
2025-05-07 21:58:55 +07:00
Cuong-Tran
5f762beb90
feat(reader): add smaller tap zone preference for navigation regions (#867) 2025-05-04 01:07:47 +07:00
Cuong-Tran
24b6c4aa3c fix(custom-theme): fix cursor color in migration-bottom-sheet (#885) 2025-05-03 23:56:29 +07:00
Cuong-Tran
e40abcf40b chore(custom-color): refactor EditText and TextInputLayout color handling (#885) 2025-05-03 23:56:29 +07:00
Cuong-Tran
29cf391ede
feat(tracker-login): Enhance tracking login dialog with autofill and loading state (#884)
* fix(tracker-login): allow autofill on tracker's login dialog

* add loading state to tracking login dialog

* improve error color handling and dynamic height measurement in login dialog

* enable autofill for email and password fields in login dialog

* improve code

* refactor: optimize state management and improve dialog width measurement

* refactor: optimize dialog height measurement and error state handling
2025-05-03 23:50:53 +07:00
Cuong-Tran
8b03233c45
fix(MangaUpdates): prevent showing last chapter read if it's in Wish list 2025-04-29 18:15:47 +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
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
Mend Renovate
27915073da
Update aboutlib.version to v12 (major) (mihonapp/mihon#2016)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit a036407c75d83ef0ba5350cb1825b615361316c3)
2025-04-28 02:42:30 +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
Cuong-Tran
e398d9b156
Improve getting staff name with Anilist 2025-04-20 01:38:45 +07:00
Cuong-Tran
98f93bfbad
refactor checksum regex in GH release notes (#858) 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
KokaKiwi
b3efb5fbac
Fix ReaderViewModel::updateChapterProgress
The condition for updating progress is wrong since fefa8f84982b537ca930438f7976087844d5bb9c
2025-04-17 12:28:05 +07:00
Cuong-Tran
438be9d942
Fix: crash in Updates tab due to possible duplicate headers 2025-04-17 10:03:29 +07:00
Cuong-Tran
e2181307ca
simplify What's New dialog 2025-04-14 17:57:30 +07:00
ArthurKun
daf64aa0b9
Replace Modifier.composed with Composable Modifier (mihonapp/mihon#1959)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit a31b3b7bbf2c5164baf76ac4b36f1d27c5d43135)
2025-04-14 17:15:11 +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
AwkwardPeak7
c72a4ab265
Change Page.State to sealed interface (mihonapp/mihon#1988)
(cherry picked from commit f1e2efcb37e2c623b769e979fa1c7e9e5ad7117d)
2025-04-14 17:14:48 +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
Cuong-Tran
284ee890b4
update version & changelog 2025-04-10 00:22:25 +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
Cuong-Tran
fa7b18590e
Allow migrate mangas when using Bulk-favorite (#824)
* Combine ChangeMangaCategoryDialog

* Allow migrating a single manga when using Bulk-favorite

* Allow migrating mangas one by one when using Bulk-favorite

* set visibility

* Fix duplicate toggleSelection after migration

* After migration, continue adding favorites if there are more to bulk-favorite or push new Manga screen if it's a single manga being added by long-click

* fix usage of ChangeMangaCategory

* improve toggleSelection code

* refactoring ChangeMangasCategory

* switch LocalNavigator.currentOrThrow to current

* split composable to `presentation`

* hoisting the state to a common parent composable

* Fix migration dialog dismissed when clicking on Show entry

* Don't push new Manga screen after migration of duplicated entries everywhere
2025-04-09 11:42:43 +07:00
Cuong-Tran
8d94c09a43
Fix: selection-mode was turned on after add-anyway using Duplicate dialog in Bulk-favorite 2025-04-08 01:02:06 +07:00
Cuong-Tran
271680bd03
Bring back original Mihon's migration dialog (#823) 2025-04-08 00:01:47 +07:00
Cuong-Tran
d89180fb10
Combine Bulk-favorite's dialogs into one reusable compose 2025-04-07 21:22:56 +07:00
Cuong-Tran
28fae3657a
Bulk-favorite fully uses new multi-Duplicate dialog 2025-04-06 22:45:32 +07:00
Cuong-Tran
ea418b9517
Fix: NaN when dragging Start/Resume reading button in MangaScreen 2025-04-06 21:31:26 +07:00
Cuong-Tran
8c45ac552f
Show new multi-Duplicate dialog when Bulk-favorite with only 1 manga 2025-04-06 21:31:26 +07:00
Cuong-Tran
d58523161f
Panorama cover for the new Duplicate dialog 2025-04-06 01:50:21 +07:00
Cuong-Tran
ffec4e819d
Showing duplicated entries evenly distributed 2025-04-06 01:49:44 +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
50d31978b2
Deduplicate entries when browsing (mihonapp/mihon#1957)
(cherry picked from commit f81da3dcce9afba883b6a3accdd3bf4ea21cfa81)
2025-04-05 23:20:42 +07:00
Cuong-Tran
9fe4573723
Improve speed of SourceFeed, Feed, Recommends, Suggestions 2025-04-05 23:20:37 +07:00
AntsyLich
712a1f2bdb
Significantly improve browsing speed (near instantaneous) (mihonapp/mihon#1946)
(cherry picked from commit c8ffabc84a096207c1997ab69fc86176f3b53f00)
2025-04-05 23:20:37 +07:00
Cuong-Tran
d23130b317
Revert "Fast browsing (#612)"
Also bring back selectAll/selectReverse on BulkSelection

This reverts commit 5fc9e202e8
and f37a7b1580
and 7e16b56911.
2025-04-05 23:20:31 +07:00
AntsyLich
ccd6032a39
Remove feature flag from Nord theme (mihonapp/mihon#1951)
(cherry picked from commit 5d2110f3fb1aa6b15f62af0dcd3378cfbe475b7a)
2025-04-03 01:25:03 +07:00
Secozzi
7f196f128b
Add markdown support for manga descriptions (mihonapp/mihon#1948)
(cherry picked from commit 4e68339783b47b0780e1b9aee643404339d35ed1)
2025-04-03 01:24:57 +07:00
Bartu Özen
cd25a7d443
Fix app bar action tooltips blocking clicks (mihonapp/mihon#1928)
(cherry picked from commit 77e79233ab054d16bb5dc04a040d0d86a326136f)
2025-04-03 01:24:54 +07:00
AntsyLich
09a0b4f862
Fix mark existing duplicate read chapters as read option not working in some cases (mihonapp/mihon#1944)
(cherry picked from commit 8a21148578af3c1538e9ab2b1fe5bdf05b4e35c9)
2025-04-03 01:24:50 +07:00
AntsyLich
3b13f4411a
Fix user notes not restoring when manga doesn't exist in DB (mihonapp/mihon#1945)
(cherry picked from commit e91db86faef8d6b17961a1b73fbf07f0d2c8975d)
2025-04-03 00:37:14 +07:00
kunet
0ef230f3dd
Add user manga notes (mihonapp/mihon#428)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 8fbe630308b962043c7b59422878c94f80156e9f)
2025-04-03 00:36:31 +07:00
Fermín Cirella
40927153ca
Allow to top align the cover in manga info view (#816)
* Add Appearance option to set if cover should be vertically aligned in the manga info view

* Apply align modifier with `CenterVertically` or `Top` instead of using `.apply`

* Change option to align cover to top
2025-04-02 02:59:39 +07:00
Cuong-Tran
8f07bc231a
Fix refresh covers was limited by Smart Update 2025-04-02 02:11:32 +07:00
Mend Renovate
dd9f9a3447
Update kotlin monorepo to v2.1.20 (mihonapp/mihon#1883)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 556290f2d35f739bb4bddc012739acf10b92708d)
2025-04-01 23:49:20 +07:00
perokhe
7340f210fb
Fix page number not appearing when opening chapter (mihonapp/mihon#1936)
(cherry picked from commit 132d77aa9947f891f90f1afcdcb24e20ce515438)
2025-03-30 15:08:11 +07:00
Cuong-Tran
7b635662d1
Update workflow build & fix benchmark build 2025-03-29 16:40:36 +07:00
Cuong-Tran
5d97317909
missing changelog 2025-03-29 01:13:55 +07:00
Cuong-Tran
f22670034b
Merge branch 'release' 2025-03-29 00:57:57 +07:00
Cuong-Tran
69e28d3217
Update changelog & fix build_preview 2025-03-28 22:53:18 +07:00
Cuong-Tran
8035f0f474
Update Readme & Discord link 2025-03-28 19:47:03 +07:00
Cuong-Tran
5b22159512
Fix: Messed up trackers progress update always auto sync (#794) 2025-03-28 19:44:28 +07:00
Cuong-Tran
64b9b3e50f
Restore original list header's background color (#797)
* more subtle header

* restore original ListGroupHeader color & make option applied to only LibraryUpdateError, using tonalElevation instead.
2025-03-28 19:44:21 +07:00
Cuong-Tran
4d30068a81
Revert "update all trackers based on common data when new tracker is added"
This reverts commit 552d2673d9.
2025-03-28 19:44:07 +07:00
Cuong-Tran
8786d8b43a
Fix: Reorder feeds (#786)
* Fix: Reorder feeds

* Addressing @gemini-code-assist comment

* Convert feeds.items to ImmutableList
2025-03-28 19:43:32 +07:00
Cuong-Tran
543109f380
Fix: Pinned sources were not restored from backup (#787)
* Fix: Pinned sources were not restored from backup

* improve code readability

* rename migrateSourceIds function
2025-03-28 19:43:22 +07:00
Cuong-Tran
92d0d5cc7e
Replace repo icon 2025-03-28 19:36:51 +07:00
kana-shii
d20ea8ae2d
Removed 6h auto updates (#764) 2025-03-28 19:36:47 +07:00
cfouche
f16ae8de3a
Update base URL and host for Pururin to pururin.me (jobobby04/TachiyomiSY#1415)
(cherry picked from commit dbd44374743a4022bf365440ac7bb40a3ff408f8)
2025-03-28 19:36:35 +07:00
Cuong-Tran
da9302ca03
Fix: Reader's chapter list for Merged entry 2025-03-28 15:52:31 +07:00
Cuong-Tran
75bd45bc4c
Update changelog & fix build_preview 2025-03-28 03:04:04 +07:00
Jayman Rana
c5debb15a3
Fix backup sharing from notifications not working when app is in background (mihonapp/mihon#1929)
(cherry picked from commit 3e5d3d099fed5feb6a6807196bea5fed72973fe9)
2025-03-28 02:00:32 +07:00
Cuong-Tran
1f2331b44a
Update Readme & Discord link 2025-03-28 01:53:43 +07:00
Cuong-Tran
48eb78ec0c
Improve in case source is null (#801)
related to commit 343cd372
2025-03-27 23:47:12 +07:00
Cuong-Tran
cc375e28e3
feat: Open source settings from Browse & Manga screen (#799)
* Add a toolbar option to open source settings from manga info screen

This commit adds a new option in the manga info screen to directly open the extension settings.
This option will only be shown if the source is not a local or a stub source.

(cherry picked from commit 2304152368ecccfaa8fddaf0cfa2e82977a789db)

* rework Source settings on BrowseSource, SourceFeed & MangaScreen

* spotless

---------

Co-authored-by: Jery <jery99961@gmail.com>
2025-03-27 23:30:09 +07:00
perokhe
b5177c5930
Fix next chapter button occasionally jumping to the last page of the current chapter (mihonapp/mihon#1920)
(cherry picked from commit 941dde341eb11703eadae543f351c9284617541c)
2025-03-27 22:43:16 +07:00
Cuong-Tran
edc0bd34ff
Fix: Messed up trackers progress update always auto sync (#794) 2025-03-27 00:44:37 +07:00
Cuong-Tran
ee5b3d0d92
feat: add badge to UpdateScreen header (#798)
* feat: add badge to UpdateScreen header

* optimize code
2025-03-27 00:43:43 +07:00
Cuong-Tran
e477f22426
Restore original list header's background color (#797)
* more subtle header

* restore original ListGroupHeader color & make option applied to only LibraryUpdateError, using tonalElevation instead.
2025-03-26 23:01:34 +07:00
Cuong-Tran
22a1534fff
Revert "update all trackers based on common data when new tracker is added"
This reverts commit 552d2673d9.
2025-03-26 02:09:20 +07:00
Cuong-Tran
540176138e
Fix: Vertical chapter navigator overlap bottom bar (#619) 2025-03-25 16:05:01 +07:00
Cuong-Tran
43c0940fa9
Only allow edit cover of favorited entries (#785)
* allow edit cover only if manga is favorite

* correctly using `is` condition
2025-03-25 15:23:04 +07:00
Cuong-Tran
f0d9eb0a61
Fix: Reorder feeds (#786)
* Fix: Reorder feeds

* Addressing @gemini-code-assist comment

* Convert feeds.items to ImmutableList
2025-03-25 15:22:18 +07:00
Cuong-Tran
259a00ebaf
Fix: Pinned sources were not restored from backup (#787)
* Fix: Pinned sources were not restored from backup

* improve code readability

* rename migrateSourceIds function
2025-03-25 15:22:03 +07:00
Cuong-Tran
374eee18d2
EH/ExH: better language detection in case actual language tag is not the first one (#782) 2025-03-24 23:46:12 +07:00
Cuong-Tran
e6a09bacdc
Add padding between icon & pages text in delegated sources description (#752) 2025-03-24 22:46:48 +07:00
Cuong-Tran
f9925b1d97
move Suggestions settings to same place (#531) 2025-03-24 22:45:35 +07:00
Cuong-Tran
421c1af102
Sync migration code logic with Mihon (#781)
* Sync migration code logic with Mihon

* fix spotless
2025-03-24 22:44:28 +07:00
Cuong-Tran
550743c445
Replace repo icon 2025-03-24 19:57:53 +07:00
kana-shii
485b5f19d7
Removed 6h auto updates (#764) 2025-03-24 03:07:36 +07:00
Cuong-Tran
06170a9d13
Fix build with telemetry 2025-03-24 01:49:50 +07:00
cfouche
6ce4b2799c
Update base URL and host for Pururin to pururin.me (jobobby04/TachiyomiSY#1415)
(cherry picked from commit dbd44374743a4022bf365440ac7bb40a3ff408f8)
2025-03-23 23:47:27 +07:00
MajorTanya
61d893d5de
Fix Bangumi search including novels (mihonapp/mihon#1885)
(cherry picked from commit 953c4e7bc056ed8b9eebe1b111677a4616c4d694)
2025-03-23 23:47:27 +07:00
AntsyLich
bc9843e637
Use current time as build time for preview builds (mihonapp/mihon#1876)
(cherry picked from commit 935f1fcf3f8e4f9da4774d932b65ae77b44cc773)
2025-03-23 23:47:27 +07:00
AntsyLich
0df53a5125
Change 'include-analytics' to 'include-telemetry' (mihonapp/mihon#1874)
(cherry picked from commit 093e8e5c5afe970d5aa2f1c237d43ac7936256b2)
2025-03-23 23:47:21 +07:00
AntsyLich
d07d353140
For release builds use last commit time as build time (mihonapp/mihon#1873)
(cherry picked from commit dae7d179662ff6d6654e7c10e57f1aeeaf579de8)
2025-03-23 23:43:06 +07:00
AntsyLich
cde9a34238
Tweak the app updater logic and add FOSS build support (mihonapp/mihon#1843)
(cherry picked from commit 28093935d867e5d1a95944e67c6d1eb46cab4a37)
2025-03-23 23:43:06 +07:00
MajorTanya
ad090eac85
Add app ID to debug info (mihonapp/mihon#1847)
This will avoid the need to know which forks has which version numbers
and avoid confusion in support.

(cherry picked from commit eddf07f9ac31bab57d06515e42df9c854bc50eed)
2025-03-23 23:43:06 +07:00
AntsyLich
81209fb0d6
Move firebase stuff to a standalone module (mihonapp/mihon#1841)
(cherry picked from commit 046f09c4bdf8fe8bfe5886afefa0e440376184e7)
2025-03-23 23:43:06 +07:00
AntsyLich
49152d75da
Fix analytics/crashlytics configuration not being set after fe22f5a (mihonapp/mihon#1838)
(cherry picked from commit 7913679f9d1515aa988931bb026297cd38e4dd67)
2025-03-23 23:43:06 +07:00
AntsyLich
3623b4efb6
Change foss variant application id suffix to '.foss' and more (mihonapp/mihon#1831)
- Remove `BuildConfig.PREVIEW`
- Rename `BuildConfig.INCLUDE_ANALYTICS` -> `BuildConfig.ANALYTICS_INCLUDED`
- Rename `BuildConfig.INCLUDE_UPDATER` -> `BuildConfig.UPDATER_ENABLED`
- Rename build property `with-analytics` -> `include-analytics`
- Rename build property `with-updater` -> `enable-updater`
- Add build property to disable code shrink
- Add build property to include dependency info in apk/app bundle

(cherry picked from commit 0893609ad2c4791dc404d72a5e69a2e0373517ae)
2025-03-23 23:43:06 +07:00
AntsyLich
9c25e3dede
Add back option to hide unread chapter badge in library (mihonapp/mihon#1871)
(cherry picked from commit ac432e2e941f4689caad246bab6aa7d303c83bfa)
2025-03-23 23:43:05 +07:00
Roshan Varughese
c5ca42426a
Stop showing divider when analytics is not included (mihonapp/mihon#1778)
(cherry picked from commit 8b28a9bceeb43330d9b42cf2b9a98a072cf9aa19)
2025-03-23 23:43:05 +07:00
AntsyLich
35310c70fe
Remove F-droid warnings
(cherry picked from commit 181dbbb638686a284fa24c4e43d7c022a4f8e4bb)
2025-03-23 23:43:05 +07:00
MajorTanya
2783cee02e
Add prefix search to search by internal DB ID (mihonapp/mihon#1856)
This prefix searches entries in the library based on the ID in the
database. It is a niche feature but could be very helpful in certain
situations, such as a corrupted cover causing a crash that just shows
"🚨 Failed - MangaCover(mangaId=2245, sourceId=1, isMangaFavorite=true, url=, lastModified=0)".
With this prefix search it is possible to find the entry in question
without much hassle.

Notably, the database includes literally anything Mihon has ever seen
from extension and such, even if they weren't added to the collection.
This means that IDs actually present in the collection are not
expected to be purely sequential.
For example, in my emulator, I had two entries in the collection but
the assigned IDs were 5 and 56.

(cherry picked from commit 05012de569130e131be92b71fbfc9308ea6c629c)
2025-03-23 23:43:05 +07:00
AntsyLich
73719f2f1b
Rework build variants and add FOSS variant (mihonapp/mihon#1775)
(cherry picked from commit fe22f5aa37d3613d4464e18153f183994fa45b7a)
2025-03-23 23:43:05 +07:00
AntsyLich
6fa34ab5e9
Seperate mark duplicate read chapters as read behaviors as options (mihonapp/mihon#1870)
(cherry picked from commit 8a3b6107755c768924a31c2b58d705296133839c)
2025-03-23 23:42:33 +07:00
AntsyLich
49aaf5b8e3
Make option to mark duplicate chapter as read apply when reading (mihonapp/mihon#1839)
(cherry picked from commit 22b5fb58ff8e89635d646f8fa29256b53c41ffbf)
2025-03-09 17:02:15 +07:00
AntsyLich
b22a8ac66b
Make more sliders discrete and ensure they don't look out of place (mihonapp/mihon#1840)
Also cleanup the underlying code

(cherry picked from commit 4f06c1cc09d15245b26b8a862738cb6a859fedcc)
2025-03-09 16:56:07 +07:00
Cuong-Tran
2c25f0c2ed
fix changelog 2025-03-09 13:22:55 +07:00
Cuong-Tran
7f790f8960
changelog 2025-03-08 19:29:44 +07:00
Cuong-Tran
fd83111c5e
(GetUpdates): matching a bit code with Mihon 2025-03-08 18:14:29 +07:00
Adrian Fleiszer
d563e5996b
Implement vertical page panning in paged reader mode when using hardware keys (#716)
* Implement vertical page panning in paged reader mode when using hardware keys

* Pan to top or bottom of the page instead of directly moving to the previous/next page.
* Add `canPanUp`, `canPanDown`, `panUp`, `panDown` to `ReaderPageImageView`.
* Modify `moveUp` and `moveDown` in `PagerViewer` to utilize the new panning functions.

* add annotation
2025-03-08 03:49:22 +07:00
Cuong-Tran
62b19ffd07
Build PR with devRelease 2025-03-08 03:16:52 +07:00
AntsyLich
fac25b14b1
Change label of setting to always use SSIV in long strip reader (mihonapp/mihon#1834)
(cherry picked from commit 85d168ed5e201134558cc843aba896306617c9ca)
2025-03-08 01:26:19 +07:00
Cuong-Tran
870d77ed1f
Fix fill info from trackers only looking for specific 'Art' or 'Story' 2025-03-08 01:26:11 +07:00
NarwhalHorns
7d1ee6c587
Display staff information on Anilist tracker search results (mihonapp/mihon#1810)
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit b702603965044cfe3ee852f8d0c970b6eb93b97a)
2025-03-08 01:26:11 +07:00
Roshan Varughese
9183c19cd2
Fix an issue where tracker reading progress is changed to a lower value (mihonapp/mihon#1795)
(cherry picked from commit 2e2f1ed82d63a93ebf87ee8494434c1bad2e268c)
2025-03-08 01:26:07 +07:00
Cuong-Tran
7d38c10776
Fix: delegate nhentai failed to load cover
Site might intended putting cover's type 'w' in JSON while it's in fact using 'cover.jpg.webp'
2025-03-07 22:24:39 +07:00
NarwhalHorns
974cc4d239
Update track search preview (mihonapp/mihon#1825)
(cherry picked from commit 0e6d6c087e5a4d889b9153b390d8335d7add1e87)
2025-03-05 18:52:28 +07:00
AwkwardPeak7
4892e858f9
Fix webview crash caused by 6bfb80fe (mihonapp/mihon#1819)
(cherry picked from commit 9957fff2fbb6dad6f9df89bb2c16db34d9e4da96)
2025-03-04 22:38:44 +07:00
Cuong-Tran
cb63c893f8
correct non-nullable of TrackMangaMetadata 2025-03-03 16:00:29 +07:00
AntsyLich
5a5b86d3c6
Add option to mark new duplicate read chapters as read (mihonapp/mihon#1785)
(cherry picked from commit cd0481592c09dc9cfb331805e90e6e5c3752a08c)
2025-03-03 14:34:16 +07:00
Jobobby04
a561d733cf
Guard against NPE in edit info dialog
(cherry picked from commit a64fe8121b4a7250473b7d07f1253783858d3acd)
2025-03-03 14:34:16 +07:00
lord-ne
aba3a30613
Use COMPLETE category when sync finishes (jobobby04/TachiyomiSY#1385)
(cherry picked from commit 8d062cecfd708978472b29fd2406ce5eea00d50d)
2025-03-03 14:34:16 +07:00
Cuong-Tran
249c4bb0c3
Improve Update view's UI & order (always show latest unread chapter first) (#743)
* adjust Updates view item height & caret animation

* reorder Updates view to always show unread chapter first

* revert to Book cover

* reorder read chapter showng latest chapter first

* adjust carret position
2025-03-03 14:34:09 +07:00
Cuong-Tran
876c952feb
Description showing which sources support batch-add (#740)
* Show description which sources support batch-add

* update remove merged entries text
2025-03-03 11:09:12 +07:00
AwkwardPeak7
6bfb80fe37
Spoof or remove X-Requested-With header from webview (mihonapp/mihon#1812)
(cherry picked from commit 793d7fbe40c87ed233da8cc99d544d01024ed4f5)
2025-03-03 10:48:11 +07:00
Cuong-Tran
389601d2e2
update changelog 2025-03-01 01:19:41 +07:00
Cuong-Tran
181dc1d56e
cancel app update job if updater is not included in build 2025-03-01 00:54:23 +07:00
Cuong-Tran
b831349b37
update haze usage 2025-03-01 00:54:01 +07:00
Cuong-Tran
c5be11aec5
Fix Comick recommendations failed due to empty cover list (#735) 2025-02-27 19:23:40 +07:00
AntsyLich
8cd3243709
Remove alphabetical category/feed sort option (mihonapp/mihon#1781)
Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit 2b0c28938bfd74577d2ff0736b2cc72f4e4705cf)
2025-02-27 17:13:27 +07:00
Cuong-Tran
f5bbf962fa
turn off updater in Debug 2025-02-27 15:28:45 +07:00
Cuong-Tran
1d2064485f
turn off debug overlay by default 2025-02-27 15:28:26 +07:00
Cuong-Tran
69adc4605e
Improve support for drag-and-drop category/feed reordering (mihonapp/mihon#1427) 2025-02-26 23:38:53 +07:00
Roshan Varughese
013c40fbb3
Add option to export minimal library information to a CSV file (mihonapp/mihon#1161)
(cherry picked from commit fab8b17d99c44a08555b1f584c56d62a47737ca0)
2025-02-26 23:38:53 +07:00
AntsyLich
76b27ea4ba
Use .toUri() extension function
(cherry picked from commit 0dda64b9d80a47a96fb52d13b5e0ece6d5fca2b1)
2025-02-26 23:38:53 +07:00
MajorTanya
4214781af7
Add private tracking support for Kitsu (mihonapp/mihon#1774)
(cherry picked from commit 1dd81ef1e1b383f379f4e8e53d27a47cf7f0278f)
2025-02-26 23:38:53 +07:00
NarwhalHorns
8fe598d33e
Support for private tracking with AniList and Bangumi (mihonapp/mihon#1736)
Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 49b2b346b65c2631a8369c8f6643e945720770de)
2025-02-26 23:38:53 +07:00
MajorTanya
54eea7ccb7
Add "Monochrome" theme (mihonapp/mihon#1752)
This theme is mainly geared towards e-Ink displays with limited/no
colour capabilities. Previous themes like Yin & Yang would make heavy
use of greyscale colours which could look off on some devices.

This theme is probably not conformant to Material Design 3 colour
scheme guidelines, but it does boast some amazing WebAIM contrast
ratios (#FFFFFF text on #000000 background gets a ratio of 21:1, vice
versa too).

Initially, this was intended as a purely black and white theme but
some contrast issues arose, such as the download badges (tertiary
background, onTertiary text colour) having the same colour as unread
badges (primary/onPrimary), or the step indicators (stops) not being
visible on sliders (since they use the colours of the opposite state
track (active region stops are the colour of the inactive region track and vice versa).

To mitigate this, each variant (dark/light) of the theme has one
additional grey mixed in for their tertiary and secondaryContainer
colours each. For the dark variant, this is a #A0A0A0 background for
#000000 text (8.03:1 contrast ratio) and for the light variant, it is
a #505050 background for #FFFFFF text (8.06:1 contrast ratio).
This results in distinct unread vs download badges and visible steps
in the sliders.

---------

Co-authored-by: Sunspark-007 <73711243+Sunspark-007@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 8b48d1016b851b425e4f66d44bca098220585c37)
2025-02-26 23:38:53 +07:00
Cuong-Tran
931b7c8b8b
correct non-nullable of TrackMangaMetadata & MUContext 2025-02-26 23:38:53 +07:00
MajorTanya
a1a0d40e91
Fix Bangumi login regression (mihonapp/mihon#1770)
Caused by mihonapp/mihon#1748.

Two different issues actually.

Firstly, the getUsername API call uses the authClient, which uses the
BangumiInterceptor to get the current OAuth data and attach the
Authorization header. However, on login, mihonapp/mihon#1748 did not try to set the
new auth details until after attempting to call getUsername.
This would cause Mihon to think the user was not authenticated with
Bangumi and cancel the process.

This is fixed by having Mihon store the OAuth credentials in the
interceptor first before attempting to call getUsername.

The second issue is a simple trailing dollar sign in the API URL for
the getUsername method. This was removed.

(cherry picked from commit badc229a2312c0c750c34631f303ac4ca970dc71)
2025-02-26 23:38:53 +07:00
MajorTanya
b9da0e57f1
Add back explicit update(track) call to Bangumi (mihonapp/mihon#1771)
Most if not all other trackers do this too. Technically this causes
some request duplication (since things like the BaseTracker's
setRemoteLastChapterRead fire anyway due to the tracker sheet being
open. But considering the reduced number of requests in other places,
I think this is still acceptable.

This change will allow mihonapp/mihon#1736 to proceed, hopefully.

(cherry picked from commit 277d8bad8e8d21cd74dc1681da09a4b980f455e0)
2025-02-26 23:38:53 +07:00
MajorTanya
4bb55a5104
Migrate to Bangumi's newer v0 API (mihonapp/mihon#1748)
This comes with many benefits:
- Starting dates are now available and shown to users
- Lays groundwork to add private tracking for Bangumi, e.g. in mihonapp/mihon#1736
- Mihon makes approximately 2-4 times fewer calls to Bangumi's API
- Simplified interceptor for the access token addition
  - v0 does not allow access tokens in the query string
- There is actively maintained documentation for it

Also shrunk the DTOs for Bangumi by removing attributes we have no
use for either now or in the foreseeable future. Volume data remains
in case Mihon wants to ever support volumes. But attributes such as
user avatars, nicknames, data relating to Bangumi's tag & meta-tag
systems, etc. have been removed or just not added to the DTOs.

Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit a96fbba3dc354e363b85923c52feceb88dc34447)
2025-02-26 23:38:45 +07:00
Cuong-Tran
707d9854ec
Change backup proto & improve code of backup/restore category related preferences (mihonapp/mihon#1726)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit e1724d1aa0e3340e1404cfd80bd264831d86a879)
2025-02-26 10:29:59 +07:00
Cuong-Tran
ccebe08d00
Reuse AppBar in manga screen (mihonapp/mihon#1367)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 2cd52d5a1ff48b0f9cf17245c1bfa66f99b8c187)
2025-02-26 10:29:59 +07:00
AntsyLich
42748f310f
Cleanup and tweak preference widgets (mihonapp/mihon#1769)
This reverts commit ed2c214ef3

Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit ebfbbf0741c04dc450a943d2cf77f48eed5c6dfa)
2025-02-26 10:29:59 +07:00
Cuong-Tran
2f33754c20
Fix App's preferences referencing deleted categories (mihonapp/mihon#1734) 2025-02-25 16:41:11 +07:00
Roshan Varughese
3dded3568a
Add button to favorite manga from history screen (mihonapp/mihon#1733)
Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit 7e71a34256e79b03a8a8ea50334b1ccece4b7154)
2025-02-25 16:41:10 +07:00
NGB-Was-Taken
405e1b8640
Apply "Downloaded only" filter to all entries regardless of favourite status (mihonapp/mihon#1603)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 29ee53f4612b6ec9b399da9d29f18cfd0b1a2768)
2025-02-25 12:58:36 +07:00
Cuong-Tran
c37eac905b
Remove unused MigrationSourcesScreen 2025-02-23 00:26:28 +07:00
Cuong-Tran
8838573a93
Fix: Migrate filter Obsolete was showing E-H/ExH source 2025-02-22 23:45:04 +07:00
Cuong-Tran
d5f41b6c25
priority manga update list 2025-02-20 15:06:54 +07:00
Cuong-Tran
c2bfeb443d
remove MetadataUpdateJob (migrated into LibraryUpdateJob.updateCovers) 2025-02-18 14:58:46 +07:00
Cuong-Tran
4068267cc2
remove unused EhAssets 2025-02-18 13:46:04 +07:00
Cuong-Tran
4c08f61f68
Fix: ktlint config for SY code (#712)
* Add more editor configs and move ktlint config to it (mihonapp/mihon#1731)

(cherry picked from commit 34d1e6fa278846dd8eb6ea82c936818d4610d3c2)

* more ktlint config

* fix compile

* restore comment-wrapping

* restore all of them

* disable in gradle.kts

* cleanup

* remove filenamktlint_standard_filename

* fix filename

* remove unused EhAssets

* ktlint_standard_multiline-expression-wrapping

* property-naming & function-naming

* ktlint_standard_argument-list-wrapping

* fix argument-list-wrapping

* Improve  in case source is null

related to commit 343cd372

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* Revert "Improve  in case source is null"

This reverts commit 08e317bb075b4b634f0c6f19f11eb78b99406e59.

* Revert "remove unused EhAssets"

This reverts commit e2cfc3e0c2b8d5b8bac41f2dfc4d9baef332f83e.

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2025-02-18 13:44:57 +07:00
Cuong-Tran
20d0b87b3a
Fix (IntegratedHentaiMigration): correctly migrate old users 2025-02-17 15:22:24 +07:00
Cuong-Tran
1247d4e466
Fix (BrowseSourceScreen): don't expand manga description if it's favorited 2025-02-17 14:37:09 +07:00
Cuong-Tran
ae425f963f
update changelog 2025-02-14 12:50:19 +07:00
Cuong-Tran
2d6cf074ff (EditMergedSettings): Allow open merge children manga 2025-02-14 12:21:26 +07:00
Cuong-Tran
ff8d48bf4c Fix (PreferenceRestorer): correctly backup/restore preferences related to category 2025-02-14 12:21:26 +07:00
Cuong-Tran
a2da8fdd35 Fix (BackupRestorer): avoid issue of late restoring categories
in cases where categories-depend settings/mangas being restored when that category hasn't been restored yet due to running in coroutine
2025-02-14 12:21:26 +07:00
Cuong-Tran
4211fadb43 Fix (MangaRestorer): avoid chapter's order mixed up when backup restore/sync 2025-02-14 12:21:26 +07:00
Cuong-Tran
235dec019d Fix (EXH): Migrate old source to new source for merge references 2025-02-14 12:21:26 +07:00
Cuong-Tran
caa0d9b92e Fix (MangaRestorer): avoid exception caused by duplicate entries
Duplicate chapters or duplicate merge-reference which would leads to the whole manga failed to restore/add to library
2025-02-14 12:21:26 +07:00
Cuong-Tran
58dc3b3e79 chore (MangaRestorer): use getChapterByUrlAndMangaId directly instead of getChapterByUrl then find 2025-02-14 12:21:26 +07:00
Cuong-Tran
f2bf5d8664 chore (MangaRestorer): move sorting Merged source to sort function 2025-02-14 12:21:26 +07:00
Cuong-Tran
ad8a9edc12 also resetup AppUpdateJob after restore preferences 2025-02-14 12:21:26 +07:00
Cuong-Tran
4b8d0331f6
Merge branch 'release' 2025-02-13 22:55:28 +07:00
Cuong-Tran
d127ce9805
rename repo 2025-02-13 22:53:19 +07:00
Cuong-Tran
2c5cc8ef19
bump version 2025-02-13 17:43:27 +07:00
Cuong-Tran
6f7543676b
update changelog 2025-02-13 01:26:01 +07:00
AntsyLich
7d0c9f6f29
Rework slider UI
Fixes mihonapp/mihon#1474

(cherry picked from commit e8c9cb2c2e4c24443368f0d653c5283f9671ffec)
2025-02-06 11:17:06 +07:00
az4521
16b889500b
fixed the dumbest crash in the world
(cherry picked from commit 6ebfbf4246191bd85775f9c14a55f741ca3db9f4)
2025-02-04 19:33:31 +07:00
MajorTanya
3ff0601289
Fix MAL tracker losing track of login expiration (#1682)
* Add missing @EncodeDefault annotation to MALOAuth

Similar to the situation with Bangumi, the missing annotation means
kotlinx.serialization would _provide_ the default value upon
instantiation but not serialise it to disk. This means the isExpired()
calculation would effectively rarely/never do its job correctly,
leading to Mihon sending expired tokens to MAL and causing problems
for everyone involved.

Overall, this change _could_ (should) lead to a drastic reduction in
MAL requests failing, leading to users having to relink their MAL
accounts.

Also switched createdAt to be in seconds instead of milliseconds as
all other trackers use seconds for timestamps (except for AniList,
which uses milliseconds but doesn't use a createdAt timestamp anyway).

* Add CHANGELOG.md entry

(cherry picked from commit 29ec7c125a3f1a1f39a90f8eba2d3e39b5af9797)
2025-02-01 13:36:48 +07:00
MajorTanya
9a34d6222d
Fix Bangumi tracker losing track of login expiration (#1681)
* Fix Bangumi tracking losing track of login state

kotlinx.serialization does NOT serialize default values (like
createdAt in BGMOAuth.kt), so every time the Bangumi tracker
deserialized the tracker OAuth, createdAt was set to the time of the
read, not the time of issuance.

Separately, BangumiInterceptor did correctly fetch new OAuth
credentials upon detected expiry of the stored credentials and saved
them, but did not use them for the current request (the new
credentials were used for all subsequent requests only). This led to
401 errors from Bangumi because the expired access_token was provided.
 A subsequent request using the newly acquired access_token would end
 up being successful.

* Add CHANGELOG.md entry

(cherry picked from commit dce6aacf02d07f3f123b19b1b74cbbe18c28852b)
2025-02-01 13:36:48 +07:00
Cuong-Tran
967bbe6c04
Merge branch 'release' 2025-02-01 13:36:27 +07:00
Cuong-Tran
eb1df3ddd5
update changelog 1.12.4 2025-02-01 03:40:01 +07:00
Cuong-Tran
9d2a030bf5
Remove extensions repo 2025-02-01 03:35:58 +07:00
Cuong-Tran
ea3e53e6ae
Add manual install button to App installing notification 2025-02-01 03:23:17 +07:00
Cuong-Tran
f6776df151
Remove custom extension readme/changelog URLs
This reverts commit 6d255f25ad.
2025-01-31 19:13:19 +07:00
Cuong-Tran
107e990300
Fix: loading Merged source should be independent of integrated-H switch 2025-01-29 12:16:52 +07:00
MajorTanya
723e19f399
Add zoned "Current time" to debug info and include year & timezone in logcat output (#1672)
* Add zoned date & time to debug info & logs

This should help distinguish log entries that happened recently and
may be related to crashes from older entries that occurred before now.

* Change logcat date and time output format

After some discussion, it was decided to adjust the logcat date and
time display to include the year and the timezone in the logcat
output. This results in a line start like this:

`2025-01-27 18:37:46.662 +0100`

which follows the following DateTimeFormatter pattern:

`yyyy-MM-dd HH:mm:ss.SSS Z`

* Add CHANGELOG.md entry

(cherry picked from commit 503d0be66772c37e08e69e5d022475245b706fd1)
2025-01-29 11:13:10 +07:00
Cuong-Tran
1af7d9ec72
Merge release 2025-01-29 11:12:55 +07:00
Cuong-Tran
0d493a3eb9
release v1.13.0 2025-01-28 18:30:29 +07:00
Cuong-Tran
085bf8c2ae
release v1.12.3 2025-01-28 18:17:11 +07:00
Cuong-Tran
01e3520416
Fix crash when open manga/chapter link caused by #612 2025-01-28 18:17:01 +07:00
Cuong-Tran
2e744ed5e9
built-in EH compatible with extension (#613)
* switch off integrated H to show E-H source & extension

* More languages for E-H/ExH, also more popular with rate 5

* Don't hide Multi source when toggle Integrated H

* Avoid crash trying to load ehentaiBrowseDisplayMode

* change source ID to matching general extension

* migration old source ID to new source ID

* Allow importing of EHentai extension backups

* limit library update & metadata source to only Multi lang

* update app version

* fix spotless

* also migrate saved search/feed & pinned EH/EXH source ID when restore from backup or update app
2025-01-26 02:20:06 +07:00
Cuong-Tran
747cd48abc
update website link (#655) 2025-01-26 02:04:20 +07:00
Cuong-Tran
4a0c1384d0
Restore chapter's bookmark & oldest dateUpload from backup (#659) 2025-01-26 01:58:32 +07:00
Cuong-Tran
4c7563294d
Notification color & icon (#620)
* add color to notification

* add app icon to extension update notification

* add app icon to download error notification

* add large app icon to all the notification

* set large image for chapter update & save image notification
2025-01-26 01:58:08 +07:00
Cuong-Tran
af77a962c1
Drag to reorder feeds (#660) 2025-01-26 01:56:11 +07:00
Cuong-Tran
5b775366b8
Fix: custom theme color in various AndroidView (#656)
* Fix: background color of download list when using custom theme

* Fix background color in Migration's source list

* Fix custom theme color in manga's Edit Info

* Fix custom theme color in manga's Migration Config

* Fix custom theme color in manga's Migration Config

* Fix custom theme color & relayout merge setting's dialog

* using CustomColorScheme for DownloadQueue

* using CustomColorScheme for metadata source
2025-01-26 01:22:26 +07:00
Cuong-Tran
c7c76d22dd
Support RecommendsScreen even if MangaDex/Comick is not installed 2025-01-24 17:15:59 +07:00
Cuong-Tran
343cd3727c
Fix: crash upon open RecommendsScreen if source is removed 2025-01-24 14:58:30 +07:00