Commit graph

1784 commits

Author SHA1 Message Date
NBA2K1
5a841a6a34 Revert "fix(http): add webview html fallback for cloudflare-blocked gets"
This reverts commit 6c5d207612.
2026-04-04 02:29:34 +02:00
NBA2K1
0a634ab32f Revert "fix(http): align extension requests with WebView cookies and harden Cloudflare detection"
This reverts commit 2c4a4c688b.
2026-04-04 02:29:27 +02:00
Moustapha Kodjo Amadou
2e102f9db9 Update dependencies, refactor HTTP client handling and fix dart extension header handling 2026-04-03 12:13:11 +01:00
Moustapha Kodjo Amadou
003e2eda9c
Merge pull request #677 from MorningOctober/main
fix(reader): restore chapter read-state updates in continuous mode
2026-03-30 10:29:39 +01:00
Moustapha Kodjo Amadou
0c24591b69
Merge pull request #678 from Schnitzel5/fix/wyzie-subtitles
added required api key via a cloudflare proxy
2026-03-29 20:26:44 +01:00
Schnitzel5
90d4129295 added required api key via a cloudflare proxy 2026-03-28 20:54:39 +01:00
Schnitzel5
6377eb6d87 adjusted lnreader stub functions
- not every lnreader script has the optional chaining leading to Null Exceptions
2026-03-28 20:54:10 +01:00
MorningOctober
2c4a4c688b fix(http): align extension requests with WebView cookies and harden Cloudflare detection
Problem
- Genz Updates could still return 403/Cloudflare in extension requests even when the same site worked in WebView.
- The extension HTTP path primarily used cached cookies from settings instead of reliably using the current WebView cookie jar.
- Cloudflare challenge detection was too narrow (mostly English markers) and could misclassify localized challenge pages as resolved.

Solution
- Prefer live WebView cookies for outgoing extension HTTP requests, with settings cookies as fallback.
- Sync cookie + user-agent from embedded WebView on onLoadStop in addition to history updates.
- Expand challenge detection with additional multilingual and platform markers.

Implementation Details
- Updated `MCookieManager.interceptRequest` to read cookies from `CookieManager.getCookies()` and use them as the request `Cookie` header when available.
- Added `_syncCookieAndUaFromWebView()` in `MangaWebView` and invoked it from both `onLoadStop` and `onUpdateVisitedHistory` to persist fresh clearance cookies immediately.
- Introduced a centralized `_cloudflareChallengePattern` in `m_client.dart` and reused it in `_containsCloudflareChallengeHtml` and `_isCloudflareChallengePage` for consistent challenge detection.
2026-03-28 18:17:13 +01:00
MorningOctober
6c5d207612 fix(http): add webview html fallback for cloudflare-blocked gets 2026-03-28 16:59:07 +01:00
MorningOctober
0049129853 fix(http): stabilize cloudflare resolver retry semantics 2026-03-28 16:45:51 +01:00
MorningOctober
9f6bf93876 fix(reader): stabilize chapter progress and page cache writes
- prevent stale settings overwrites by reloading settings inside Isar write txn before updating chapterPageUrlsList

- guard getPageLength() against missing chapter entries and empty urls to avoid No element crashes

- simplify read-threshold calculation in setPageIndex() via totalPages/pagesRemaining for continuous and paged modes

- map visible continuous double-page indices to actual page indices in _readProgressListener before persisting progress

- snapshot item positions and clamp indices during fast scrolling to avoid volatile first/last access races
2026-03-28 13:49:39 +01:00
MorningOctober
7fca156df4 fix(reader): restore chapter read-state updates in continuous mode 2026-03-25 10:45:11 +01:00
GitHub Action
f38ad745f5 source update: v0.7.3 2026-03-23 14:52:16 +00:00
Moustapha Kodjo Amadou
0cb4674be8 v0.7.3 2026-03-23 15:30:43 +01:00
Moustapha Kodjo Amadou
236a0cfc6d feat: add localization strings for statistics and reading time tracking #672
- Added new localization strings for total, mean per title, completion rate, watching time, reading time, average chapters per title, read percentage, and entries in multiple languages.
- Enhanced the History model to include readingTimeSeconds.
- Updated AnimeStreamController and ReaderController to track reading time and save it to history.
- Implemented reading time tracking in Anime and Novel reader views.
- Introduced statistics calculations for total reading time across histories.
- Updated statistics screen to display total reading time and average reading time per title.
2026-03-23 11:19:04 +01:00
Moustapha Kodjo Amadou
d02d688d1f Fix slider alignment and page jumps in double page mode 2026-03-18 11:50:13 +01:00
Moustapha Kodjo Amadou
d693445cb1 Fix double page index calculation: uniform pairs (1-2, 3-4, 5-6) 2026-03-18 10:13:56 +01:00
Moustapha Kodjo Amadou
f1dfbbaefc Fix #480/#165 #479 #443 #541 #554 #452: reader and download fixes
- #480/#165: Fix double page mode chapter navigation index conversion
- #479: Fix page jump when switching single/double page mode
- #443: Clear zoom cache on page change for swipe-back
- #541: Add shift-click range selection for chapters (desktop)
- #554: Auto-clean orphaned download records, cascade delete
- #452: Add horizontal continuous RTL reader mode
2026-03-18 09:47:41 +01:00
Moustapha Kodjo Amadou
566da0ae06 feat: implement multiple bug fixes and feature requests\n\n- #339: Remember window size/position on desktop (WindowGeometry utility)\n- #256: Add S key shortcut to skip intro in desktop anime player\n- #372: Auto-delete downloaded chapters after reading (new setting + toggle)\n- #402: Fix manhwa reader scroll jumps by caching image dimensions for placeholders\n- #608: Fix 'Fit width' scale type cropping pages in paged reader mode\n- #572: Add mouse back button navigation support on desktop" 2026-03-17 14:31:21 +01:00
Moustapha Kodjo Amadou
6f722f59c6 fix #667 2026-03-17 11:22:28 +01:00
Moustapha Kodjo Amadou
1f4e81e9b3 fix #669 2026-03-17 11:19:55 +01:00
Moustapha Kodjo Amadou
0abd706ec8 fix #670 2026-03-17 11:01:12 +01:00
Moustapha Kodjo Amadou
7bda29d8e2 feat: add logging functionality to MProviderBridged 2026-03-13 14:58:46 +01:00
GitHub Action
861390a4a5 source update: v0.7.2 2026-03-05 16:10:48 +00:00
Moustapha Kodjo Amadou
1b1dee6161 v0.7.2 2026-03-05 16:50:44 +01:00
Moustapha Kodjo Amadou
ad3fd085ea refactor: remove flutter_inappwebview_linux plugin and update flutter_inappwebview dependency to use git source 2026-03-05 16:37:15 +01:00
Moustapha Kodjo Amadou
5855cff7ae Translate app localization strings 2026-03-05 12:52:23 +01:00
Moustapha Kodjo Amadou
95a55d5f81 feat: Implement upcoming manga calendar feature
- Added UpcomingUIModel for managing upcoming manga list items with headers and items.
- Introduced CalendarDay widget to display individual days with event indicators.
- Created CalendarHeader widget for navigating between months.
- Developed CalendarIndicator for visualizing events on specific days.
- Implemented UpcomingCalendar to manage the calendar view and event loading.
- Added UpcomingItem widget for displaying individual upcoming manga with cover images.
- Introduced FetchInterval utility to calculate fetch intervals based on chapter upload dates.
- Refactored updateMangaDetail to utilize FetchInterval for smart update days.
- Enhanced MedianExtension to ensure correct median calculation.
- Removed unused imports and commented-out code for cleaner implementation.
2026-03-05 12:05:29 +01:00
Moustapha Kodjo Amadou
7944c6f055 - 2026-03-04 22:32:16 +01:00
Moustapha Kodjo Amadou
a5c44ccb60 - 2026-03-04 22:31:21 +01:00
Moustapha Kodjo Amadou
87028ea8f5 feat(reader): implement bidirectional chapter preloading and enhance memory management 2026-03-04 22:30:55 +01:00
Moustapha Kodjo Amadou
2f0fc85316 feat(reader): add navigation layout options and settings for screen behavior
- Implemented multiple navigation layouts for the reader, including L-shaped, Kindle, Edge, Right & Left, and Disabled modes.
- Added settings for keeping the screen on, showing page gaps, and adjusting webtoon side padding.
- Enhanced the reader settings modal to include new options and improved UI for navigation layout selection.
- Color filters: invert/gray/BCS
2026-03-04 16:04:07 +01:00
Moustapha Kodjo Amadou
f729380223 feat: Implement app lock feature with biometric authentication
- Added AppLockScreen for biometric authentication to unlock the app.
- Introduced security settings screen to enable/disable app lock.
- Integrated local_auth package for biometric authentication support.
- Created security state providers to manage app lock state.
- Updated chapter list tile widget to support dismiss actions for bookmarking and marking chapters as read.
- Enhanced CBZ conversion process to include ComicInfo.xml metadata.
- Added conditional UI elements based on platform capabilities.
- Added Completed & Tracked filter in library
2026-03-04 11:56:49 +01:00
Moustapha Kodjo Amadou
a5fd40fdfb Add global error handling in main function 2026-03-02 11:55:19 +01:00
Moustapha Kodjo Amadou
1256e608c7 Refactor 2026-03-02 11:49:19 +01:00
Moustapha Kodjo Amadou
1c9a915c30 Fix JSON parsing for ChapterPageurls class 2026-03-02 11:03:46 +01:00
Moustapha Kodjo Amadou
9ac0f191d7
Merge pull request #664 from NBA2K1/main
Improve Kitsu login dialog with autofill, input validation
2026-03-02 10:48:24 +01:00
NBA2K1
743fff3bf2 Fix focus 2026-02-27 15:41:01 +01:00
Moustapha Kodjo Amadou
5ab4214841 - 2026-02-27 15:02:22 +01:00
NBA2K1
6b3c3f7575 disable login if text fields empty
+ do login when hitting enter
2026-02-27 14:42:37 +01:00
Moustapha Kodjo Amadou
5af59bcbaf fix #663 2026-02-27 14:37:36 +01:00
NBA2K1
7bc3338c2a Make login dialog code simpler
- Remove unnecessary email and password state variables
- Rely on TextEditingController values instead of onChanged
- Reset error state on submit
- Dispose controllers after dialog closes
2026-02-27 14:12:18 +01:00
NBA2K1
f85e661c8e Add autofill to kitsu login dialog
- Wrap login fields in AutofillGroup and add proper autofillHints for email, username, and password
- Add keyboard types, textInputAction, and onFieldSubmitted to improve form navigation
- Disable suggestions/autocorrect for password field
- Add TextInput.finishAutofillContext() on successful login
- Improve focus handling and overall form behavior
- Minor UI/structure adjustments for clarity and consistency
2026-02-27 12:18:25 +01:00
Moustapha Kodjo Amadou
df99d72022 Merge branch 'main' of https://github.com/kodjodevf/mangayomi 2026-02-27 11:00:07 +01:00
Moustapha Kodjo Amadou
7970d37ea6
Merge pull request #662 from userkilled/patch-1
Change 'Игрок' to 'Плеер' in Russian localization
2026-02-27 10:51:28 +01:00
userkilled
707694f6c7
Change 'Игрок' to 'Плеер' in Russian localization 2026-02-26 03:31:38 +03:00
userkilled
4ac463d0dc
Change 'Игрок' to 'Плеер' in Russian localization 2026-02-26 03:20:18 +03:00
Moustapha Kodjo Amadou
099180bc34 feat: enhance RhttpCompatibleClient with cancel token support and improve error handling; add new target for Windows ARM64 2026-02-25 12:56:16 +01:00
Moustapha Kodjo Amadou
9d829a16e7 refactor: update DoH resolution method to use hostname first; improve circuit breaker logic 2026-02-25 11:52:18 +01:00
Moustapha Kodjo Amadou
cc69c9f275 + 2026-02-23 15:29:44 +01:00