Commit graph

1413 commits

Author SHA1 Message Date
NBA2K1
9bd8a62d31 Reduce Code Duplication
Extract the `_updateLibrary()` function from `updates_screen.dart` and `library_screen.dart` to a top-level function in `libray_updater.dart`.
2025-12-28 22:59:44 +01:00
Moustapha Kodjo Amadou
344533aeb1 fix: show chanded source preference for mihon source 2025-12-23 19:18:18 +01:00
Moustapha Kodjo Amadou
e40e1b8fe6 fix: improve handling of proxy server URL in dialog 2025-12-23 18:32:04 +01:00
Moustapha Kodjo Amadou
e342fe16fb
Merge pull request #632 from NBA2K1/path-optimizations
Path optimizations
2025-12-18 17:09:33 +01:00
Moustapha Kodjo Amadou
390e6fed46
Merge pull request #629 from NBA2K1/main
Add log switch to about-menu
2025-12-18 17:05:01 +01:00
Moustapha Kodjo Amadou
19a051b660 feat: add updatePageCropImage method for chapter page cropping 2025-12-18 17:03:06 +01:00
NBA2K1
5f7ea7fcf4 reduce code duplication
Use the `formattedFileSize()` function instead of `_formatBytes()`
2025-12-17 22:25:45 +01:00
NBA2K1
0f83899bac remove unnecessary calls
.trimLeft().trimRight() after trim() is unnecessary.
2025-12-17 21:34:45 +01:00
NBA2K1
a078b59678 Use floor() instead of round()
- Using round() will push values up too early.
Example: log(999) / log(1024) = 0.999
.round() = 1.
Result: 0.98 kB instead of 999 B

- Use correct units, as base1024 = KiB, MiB, etc. and base1000 = kB, MB, GB, ...
2025-12-17 21:24:26 +01:00
NBA2K1
0ed8ee2cd2 Move cacheDir creation to storage_provider
- Move the cacheDir creation to storage_provider from `others.dart`, `custom_extended_image_provider.dart` and `storage_usage.dart`.

- Use the correct directory, `getApplicationCacheDirectory()` instead of the `getTemporaryDirectory()` (which is being deleted by the OS regularly) for cache files.

- remove the `_cacheDownloadPath` from `storage_usage.dart` as the path is never being created in the first place, so using that path in `clearCache()` and `_getTotalDiskSpace()` is unnecessary.
2025-12-17 20:55:41 +01:00
NBA2K1
67dee18776 remove redundant import 2025-12-17 20:43:23 +01:00
Moustapha Kodjo Amadou
76645d97c1 fix: improve error handling for Cloudflare bypass failures 2025-12-14 14:01:40 +01:00
Moustapha Kodjo Amadou
8fe910900b + 2025-12-14 13:17:47 +01:00
Moustapha Kodjo Amadou
1e469614d9 Chapter jump fix in vertical continuous mode 2025-12-14 13:16:19 +01:00
NBA2K1
284fccd1ef Add log-switch to app.
- New switch in More > Settings > About
"Enable logging".

When ON, it inits the AppLogger and shows the "Share app logs" button below.
When OFF, it disposes the AppLogger and hides the "Share app logs" button.
It also prevents the AppLogger from init.

OFF by default.

- added localizations accordingly.
2025-12-13 00:42:50 +01:00
Moustapha Kodjo Amadou
fc49b33826 feat(user-agent): add default user agent setting 2025-12-10 14:14:51 +01:00
Moustapha Kodjo Amadou
23e41373dc conditionally show Android proxy server option and update notes 2025-12-10 13:42:34 +01:00
Moustapha Kodjo Amadou
6e4d3dd52e feat(server): add server check before starting 2025-12-10 13:38:15 +01:00
Moustapha Kodjo Amadou
1b708d6884 feat(server): integrate MExtensionServer 2025-12-08 15:14:12 +01:00
Moustapha Kodjo Amadou
da7c32f71e
Merge pull request #614 from hndrbrm/add_always_on_top_on_anime_player_view
Add new feature: Always On Top on the anime player view.
2025-12-05 17:15:05 +01:00
Moustapha Kodjo Amadou
e48c475fcb refactor(statistics): update statistics provider to use functional provider pattern 2025-12-05 17:03:51 +01:00
Moustapha Kodjo Amadou
4e9af30e8e feat(reader): add page indicator, app bar, bottom bar, gesture handler, and settings modal
- PageIndicator widget to display current page and total pages.
- Created ReaderAppBar for navigation and chapter information.
- ReaderBottomBar for page navigation and settings access.
- Added ReaderGestureHandler for managing tap zones and gestures.
- ReaderSettingsModal for user-configurable settings.
2025-12-05 16:54:10 +01:00
Whiskas101
04267b7a50 fix: updated statistics to use async fetch from db 2025-11-30 14:37:48 +05:30
hndrbrm
91b8c08658 Make the AlwaysOnTopStateMixin private for least scope principal. 2025-11-29 17:36:06 +07:00
hndrbrm
a6df770275 Add new feature: Always On Top on the anime player view. 2025-11-29 17:11:14 +07:00
Moustapha Kodjo Amadou
9b5bae831e fix #613 2025-11-29 06:38:45 +01:00
Moustapha Kodjo Amadou
958e91ac9a
Merge pull request #612 from NBA2K1/main
Various fixes
2025-11-29 06:29:15 +01:00
NBA2K1
30c74423ad dispose in correct order 2025-11-29 02:57:25 +01:00
NBA2K1
c7e648a6d9 remove redundant calls 2025-11-29 01:36:34 +01:00
NBA2K1
33152fc035 Fix ProviderDisposedException
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Cannot use the Ref of totalChapterCacheSizeStateProvider after it has been disposed. This typically happens if:
- A provider rebuilt, but the previous "build" was still pending and is still performing operations.
  You should therefore either use `ref.onDispose` to cancel pending work, or
  check `ref.mounted` after async gaps or anything that could invalidate the provider.
- You tried to use Ref inside `onDispose` or other life-cycles.
  This is not supported, as the provider is already being disposed.

#0      Ref._throwIfInvalidUsage (package:riverpod/src/core/ref.dart:220:7)
ref.dart:220
#1      AnyNotifier.state= (package:riverpod/src/core/provider/notifier_provider.dart:91:9)
notifier_provider.dart:91
#2      TotalChapterCacheSizeState.build.<anonymous closure> (package:mangayomi/modules/more/data_and_storage/providers/storage_usage.dart:17:42)
storage_usage.dart:17
#3      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:948:45)
future_impl.dart:948
#4      Future._propagateToListeners (dart:async/future_impl.dart:977:13)
future_impl.dart:977
#5      Future._completeWithValue (dart:async/future_impl.dart:720:5)
future_impl.dart:720
<asynchronous suspension>
2025-11-29 01:31:22 +01:00
NBA2K1
5fdbf530cb stopCfResolutionWebviewServer()
Stop the cf server on app exit
2025-11-29 00:18:13 +01:00
NBA2K1
5c34dcab9a Start Cloudflare resolution after app starts
- Defer the Cloudflare resolution webserver until after runApp().

- await said function
2025-11-28 23:59:37 +01:00
hndrbrm
cc84c33c25 Fix: Reverse icon for toggling the Extension. 2025-11-29 05:41:54 +07:00
NBA2K1
e0ecc94869 remove redundant calls
trimLeft() and trimRight() after trim() do nothing
2025-11-28 23:33:32 +01:00
Moustapha Kodjo Amadou
57fcb9e1c9 chore: update dependencies 2025-11-28 14:31:39 +01:00
Moustapha Kodjo Amadou
485696ea3f fix: enhance error message 2025-11-25 16:55:31 +01:00
Moustapha Kodjo Amadou
b6eb5f2f3f refactor: remove old layout migration code 2025-11-25 16:51:49 +01:00
Moustapha Kodjo Amadou
c2a1e5ee17 fix: improve error handling for backup restoration 2025-11-25 16:51:29 +01:00
Moustapha Kodjo Amadou
26362fe556 refactor: replace await for loop with listen for message handling 2025-11-25 15:35:29 +01:00
Moustapha Kodjo Amadou
405c3d8e35 fix 2025-11-25 15:34:38 +01:00
Moustapha Kodjo Amadou
ee46f8a8bc
Merge pull request #605 from Whiskas101/fix/memory-leak
Fix memory leaks in manga reader_view.dart
2025-11-25 15:32:00 +01:00
Moustapha Kodjo Amadou
f06df9b3b1 feat: implement CF resolution server 2025-11-25 14:53:22 +01:00
Moustapha Kodjo Amadou
1d81906c4f refactor: update message handling in GetIsolateService to use listen instead of for loop 2025-11-25 14:06:47 +01:00
Moustapha Kodjo Amadou
6a099415db refactor: simplify filter parsing logic & pass client cookie to mihon server 2025-11-24 16:59:21 +01:00
Whiskas101
9e9ffb4e79 fix: forgot to make cropBorder provider autoDispose 2025-11-21 14:25:16 +05:30
Whiskas101
18e8abce94 fix: dangling objects, removed old state provider for getPagesNumber 2025-11-20 22:24:27 +05:30
Whiskas101
20f8f1ad7c refactor: moved state provider into a non-closure based provider 2025-11-20 22:14:34 +05:30
Moustapha Kodjo Amadou
f2fbaf5ec5 refactor 2025-11-20 15:17:31 +01:00
Moustapha Kodjo Amadou
afc4c620f8 fix: prevent error when scrolling without clients 2025-11-12 17:04:38 +01:00
Moustapha Kodjo Amadou
29fe96151d fix: enable logger usage in isolate service 2025-11-12 17:02:06 +01:00
Moustapha Kodjo Amadou
daa205044f fix: improve layout and styling in manga detail view and chapter list tile 2025-11-12 15:23:17 +01:00
Moustapha Kodjo Amadou
a8f78d41fb fix: update directory handling for macOS 2025-11-12 11:45:27 +01:00
Moustapha Kodjo Amadou
db729ba6da + 2025-11-11 15:33:23 +01:00
Moustapha Kodjo Amadou
a9c8320f20 refactor: simplify CustomFloatingActionBtn and remove unnecessary width calculations 2025-11-11 15:27:12 +01:00
Moustapha Kodjo Amadou
beedb6e3b9 refactor 2025-11-11 15:14:32 +01:00
Moustapha Kodjo Amadou
1f21a75762 refactor: replace getExtensionService with getIsolateService for page and video list retrieval 2025-11-11 14:51:10 +01:00
Moustapha Kodjo Amadou
4940c18cbf improve cover image handling message 2025-11-11 14:25:45 +01:00
Moustapha Kodjo Amadou
b0baddc333 feat: add link tap functionality to ExpandableText widget 2025-11-11 14:04:50 +01:00
Moustapha Kodjo Amadou
fd615bd44b refactor: streamline archive import process and enhance cover image handling 2025-11-11 13:13:35 +01:00
Moustapha Kodjo Amadou
75d5013179 fix: ensure keepAlive is called in AutoBackupLocationState build method 2025-11-11 10:38:58 +01:00
Moustapha Kodjo Amadou
0903b9d7e3 refactor: improve code structure and enhance UI elements in the code editor and manga detail view 2025-11-11 10:38:27 +01:00
Moustapha Kodjo Amadou
494e31e396 adjust 2025-11-10 14:38:29 +01:00
Moustapha Kodjo Amadou
79ca3b2e39 + 2025-11-09 01:22:44 +01:00
Moustapha Kodjo Amadou
b8fffca2b3 Refactor an fix 2025-11-09 01:15:27 +01:00
Moustapha Kodjo Amadou
251d7266f5 Remove unnecessary padding from HTML content in reader view 2025-11-09 00:37:35 +01:00
Moustapha Kodjo Amadou
c19974d6d1 fix 2025-11-09 00:11:23 +01:00
Moustapha Kodjo Amadou
749b35083e Initialize rpcShowReadingWatchingProgress to false 2025-11-08 23:57:32 +01:00
Moustapha Kodjo Amadou
099805b21c Fix author display logic to handle empty author names 2025-11-08 23:45:04 +01:00
Moustapha Kodjo Amadou
b42e0ad4bd + 2025-11-08 23:43:01 +01:00
Moustapha Kodjo Amadou
93298c7376 fix novel download and improve HTML content processing 2025-11-08 23:37:22 +01:00
Moustapha Kodjo Amadou
dee1a8635c Refactor 2025-11-08 22:13:24 +01:00
Moustapha Kodjo Amadou
d35192629b Add keepAlive calls in Synching and SyncServer build methods 2025-11-08 22:04:57 +01:00
Moustapha Kodjo Amadou
c649525145 Fix directory deletion logic to check existence before deletion 2025-11-08 21:54:15 +01:00
Moustapha Kodjo Amadou
24849cc000
Merge pull request #517 from NBA2K1/Correct-directory
Standardize Folder Structure on Windows, Linux, iOS & macOS
2025-11-08 21:47:07 +01:00
Moustapha Kodjo Amadou
65e7d16062 Add Japanese localization and code refactor 2025-11-08 21:40:19 +01:00
Moustapha Kodjo Amadou
85ed2c50af Add more translations 2025-11-08 21:25:15 +01:00
Moustapha Kodjo Amadou
faef6562fd Add localization 2025-11-08 20:49:39 +01:00
Moustapha Kodjo Amadou
b1b71ea4d3 Improve auto-scroll condition in manga and novel readers 2025-11-08 20:36:28 +01:00
Moustapha Kodjo Amadou
6eda6de614 Refactor auto-scroll handling and improve tap-to-scroll settings in novel reader 2025-11-08 20:32:25 +01:00
Moustapha Kodjo Amadou
c28ab14e74 Refactor auto-scroll functionality in novel reader
- Removed the NovelAutoScrollState provider and its associated logic.
- Introduced autoScrollValues and setAutoScroll methods in NovelReaderController to manage auto-scroll settings.
- Updated NovelReaderView to handle auto-scroll state and page offset dynamically.
- Added UI elements in GeneralSettingsTab to control auto-scroll settings with a slider for page offset.
- Enhanced the auto-scroll feature to allow for play/pause functionality within the novel reader view.
2025-11-08 19:47:23 +01:00
NBA2K1
1b64f2650e Merge remote-tracking branch 'upstream/main' into Correct-directory 2025-11-08 14:59:23 +01:00
Moustapha Kodjo Amadou
af20e084b0 Refactor dependencies and remove unused packages; update Flutter HTML package; add novel reader settings UI 2025-11-08 01:38:29 +01:00
Moustapha Kodjo Amadou
430e062a06 Fix attribute handling in JsHtmlParser to assign empty string for attributes without values 2025-11-07 19:17:57 +01:00
Moustapha Kodjo Amadou
e288cb00d3 Refactor 2025-11-07 18:23:48 +01:00
Moustapha Kodjo Amadou
ea50cc91ca Add IsolateService for improved asynchronous operations and refactor service calls to utilize it 2025-11-07 16:48:42 +01:00
Moustapha Kodjo Amadou
1569c1bcd1 Implement LRU caching for image data and optimize network requests with exponential backoff retry logic 2025-11-07 14:34:09 +01:00
Moustapha Kodjo Amadou
6e776612bf fix getVideoList to return torrent results directly instead of assigning to a variable 2025-11-07 12:23:35 +01:00
Moustapha Kodjo Amadou
fef6ffd65b Enhance author display in MangaDetailsView with an icon 2025-11-07 11:54:33 +01:00
Moustapha Kodjo Amadou
75472aed62 Fix icon direction logic in ListTileChapterSort widget 2025-11-07 11:34:50 +01:00
Moustapha Kodjo Amadou
951781f415 Refactor ReadMoreWidget to use a new ExpandableText implementation 2025-11-07 11:19:39 +01:00
Moustapha Kodjo Amadou
e8384f51fc Refactor 2025-11-06 16:51:01 +01:00
Moustapha Kodjo Amadou
6e94632417 Add image cropping functionality with isolate support and optimize crop border processing 2025-11-06 16:47:32 +01:00
Moustapha Kodjo Amadou
f483dfab2b Refactor manga reader components: replace VirtualReaderView with WebtoonView and remove unused virtual scrolling files 2025-11-06 11:48:12 +01:00
Moustapha Kodjo Amadou
8eea4eaa4d + 2025-11-05 12:52:09 +01:00
Moustapha Kodjo Amadou
1f2b143585 Refactor 2025-11-05 12:21:36 +01:00
Moustapha Kodjo Amadou
0d0f488ef3 Update WidgetRef types to dynamic to fix updateTrackChapterRead 2025-10-31 11:38:39 +01:00
Moustapha Kodjo Amadou
93a17cc797 Enhance DOM extension methods with additional pseudo-selector handlers and improve nth-child logic 2025-10-30 14:24:43 +01:00
NBA2K1
a307e9d049 Merge remote-tracking branch 'upstream/main' into Correct-directory 2025-10-29 18:30:50 +01:00
Moustapha Kodjo Amadou
1361315e3e + 2025-10-29 16:41:32 +01:00
Moustapha Kodjo Amadou
3dc22a9c70 + 2025-10-29 15:01:36 +01:00
Moustapha Kodjo Amadou
b475721841 downgrade package_info_plus version to 8.0.0 and adjust retry logic in ProviderScope 2025-10-29 14:29:27 +01:00
Moustapha Kodjo Amadou
8213a36895 Update 2025-10-29 13:25:52 +01:00
Moustapha Kodjo Amadou
377e5d617a
Merge pull request #596 from kodjodevf/riverpod_v3
Refactor and update dependencies for Isar and Riverpod
2025-10-29 13:10:07 +01:00
Moustapha Kodjo Amadou
430e81e021 Refactor and update dependencies for Isar and Riverpod 2025-10-29 13:08:42 +01:00
Moustapha Kodjo Amadou
7bef205dd2 Handle potential null value for sharePositionOrigin in backup sharing functionality 2025-10-29 09:52:31 +01:00
Schnitzel5
bba3c02666 fixed migration sourceId issue
- added link to sync server for non-discord users
2025-10-25 01:26:53 +02:00
Moustapha Kodjo Amadou
d18d83a7c5 Fix null safety issues 2025-10-22 11:08:35 +01:00
Moustapha Kodjo Amadou
2ff20c35cc + 2025-10-22 10:51:25 +01:00
Moustapha Kodjo Amadou
7c47d19a70 Refactor imageUrl assignment in updateMangaDetail to handle null and HTTP checks 2025-10-13 13:33:10 +01:00
Moustapha Kodjo Amadou
1f27c129a5 Fix null handling in SourceNovel.fromJson for name and path fields 2025-10-13 13:25:29 +01:00
Moustapha Kodjo Amadou
73a61c9003 reverse chapters 2025-10-13 11:30:55 +01:00
Schnitzel5
5e05c4e9aa some refactoring 2025-10-11 21:59:46 +02:00
Schnitzel5
b8a7bbbbb4 + 2025-10-11 17:56:52 +02:00
Schnitzel5
5ef46ec13d adding support for LNReader plugins 2025-10-10 15:49:33 +02:00
NBA2K1
462e9b5fe7 Merge remote-tracking branch 'upstream/main' into Correct-directory 2025-10-09 19:13:22 +02:00
Moustapha Kodjo Amadou
1fa7f3123b update 2025-10-02 15:52:00 +01:00
Moustapha Kodjo Amadou
64cb896ea5
Merge pull request #574 from Schnitzel5/rework/local-source
reworked local source
2025-09-10 09:13:57 +01:00
Schnitzel5
2955dd0bd1 + 2025-09-07 22:28:20 +02:00
Schnitzel5
5a6552e6f6 local folders now also scans for subtitles
- added help button to show an example of a local folder
2025-09-05 21:33:22 +02:00
Schnitzel5
05d0ddf0d6 reworked local source
- allow multiple local folders
- added support for scanning .epub novels
- added metadata,json support
- scanned entries now appear in browse screen instead of the default library category (can be added to library)
2025-09-04 23:02:27 +02:00
Schnitzel5
60928374a3 + 2025-09-03 23:44:06 +02:00
Schnitzel5
f71a2fcc4c fix 2025-09-02 18:30:08 +02:00
Schnitzel5
efcd54c898 fixed app fonts dialog 2025-09-02 14:35:53 +02:00
Schnitzel5
477beeb360 + 2025-09-02 00:05:28 +02:00
NBA2K1
e6b6fd6a92 Merge remote-tracking branch 'upstream/main' into Correct-directory 2025-08-30 00:33:31 +02:00
Schnitzel5
78f8dd372f fixed local sources not showing in the extensions screen 2025-08-28 20:19:27 +02:00
Schnitzel5
958ae0b448 added option to turn on/off mpv hardware acceleration 2025-08-28 16:41:43 +02:00
Moustapha Kodjo Amadou
e7b55b4eca fix 2025-08-28 12:43:16 +01:00
Moustapha Kodjo Amadou
7e74fba9bc fix 2025-08-28 12:25:46 +01:00
Moustapha Kodjo Amadou
600a699708 feat: Add use sourceId property if not null to get source model 2025-08-28 12:12:23 +01:00
Moustapha Kodjo Amadou
619e1b640d
Merge pull request #570 from Schnitzel5/button/apkbridge
added button link to the apk
2025-08-28 10:34:59 +01:00
Schnitzel5
c442de35fb added button link to the apk 2025-08-27 18:43:24 +02:00
Schnitzel5
4d89cfe32b fixed Trakt refresh token
- now refreshes expired tokens at startup
- prevents accidental logouts for users who has the tracking screen as default navigation
2025-08-27 18:21:22 +02:00
Moustapha Kodjo Amadou
40a0e080f9
Merge pull request #567 from Schnitzel5/logger
add option to download online subtitles
2025-08-27 09:09:54 +01:00
Moustapha Kodjo Amadou
334fe2f86a
Merge branch 'main' into tracker/simkl 2025-08-27 09:05:45 +01:00
Schnitzel5
790519fcae fixed ShareX for iPad
https://github.com/fluttercommunity/plus_plugins/tree/main/packages/share_plus/share_plus#ipad
2025-08-27 01:40:31 +02:00
Schnitzel5
da7161e199 - 2025-08-27 00:02:42 +02:00
Schnitzel5
e2ddcf1ffe add option to download online subtitles
- button appears for downloaded and local entries
- added app logging class
2025-08-27 00:01:18 +02:00
Schnitzel5
f6c2a24af2 added app logger 2025-08-26 22:07:49 +02:00
Moustapha Kodjo Amadou
9831ae8cf4
Merge pull request #566 from Schnitzel5/adjust/extension-list
changed from labels to icons
2025-08-26 20:08:53 +01:00
Moustapha Kodjo Amadou
22a8db791b
Merge pull request #562 from Schnitzel5/feature/watch-order
added watch order
2025-08-26 20:06:17 +01:00
Moustapha Kodjo Amadou
a061129b86
Merge pull request #560 from Schnitzel5/feature/subtitle-search
added subtitles search
2025-08-26 20:04:10 +01:00
Moustapha Kodjo Amadou
4770e96fdf
Merge pull request #564 from Schnitzel5/enhance/calendar
enhanced calendar
2025-08-26 20:01:16 +01:00
Schnitzel5
a572f7ddaf changed from labels to icons 2025-08-26 15:21:59 +02:00
Schnitzel5
a7b9231eda fixed local subtitles 2025-08-26 02:40:39 +02:00
Schnitzel5
3aaac9e102 enhanced calendar
- predicts from latest chapter instead of current time (if available)
2025-08-26 01:23:46 +02:00
Schnitzel5
163e385b63 final fix 2025-08-25 20:46:28 +02:00
Schnitzel5
a6d79f1238 try fix Trakt.tv oauth 2025-08-25 20:19:24 +02:00
Schnitzel5
9b11e07cec + 2025-08-25 19:47:10 +02:00
Schnitzel5
809db56b35 adjusted tracker icons 2025-08-25 19:08:50 +02:00
Schnitzel5
c973fc2a27 fixed callback uri 2025-08-25 18:42:00 +02:00
Schnitzel5
31338eb023 final change: Trakt.tv icon 2025-08-25 14:58:18 +02:00
Moustapha Kodjo Amadou
3a577a4c9e Add fixed versions packages of isar_generator and hive_generator to avoid the Analyzer plugin error 2025-08-25 13:21:37 +01:00
Schnitzel5
da79dd97e1 fix images 2025-08-25 12:11:29 +02:00
Schnitzel5
f6a9c41c1d added Trakt.tv 2025-08-25 03:47:10 +02:00
Schnitzel5
5b806f6dd6 added sequels 2025-08-25 01:52:03 +02:00
Schnitzel5
b57015b682 added watch order 2025-08-24 20:02:49 +02:00
Schnitzel5
61575f4795 added Simkl tracker
- reverted dependency versions
- force workflow to use older flutter version
2025-08-24 17:01:52 +02:00
Moustapha Kodjo Amadou
de3829d26c fix 2025-08-24 11:39:33 +01:00
Moustapha Kodjo Amadou
b11ae203ea Refactor RadioListTile usage to RadioGroup in multiple screens 2025-08-24 11:33:11 +01:00
Schnitzel5
42c3f87811 small bug fix 2025-08-23 21:58:32 +02:00
Schnitzel5
9278b6f8af added subtitles search 2025-08-23 21:55:01 +02:00
Schnitzel5
604e1b18d3 Merge branch 'temp/mihon' into feature/mihon 2025-08-23 03:53:17 +02:00
Schnitzel5
74c5eab379 enhanced repo manager
- added custom DNS setting
2025-08-23 03:33:48 +02:00
Schnitzel5
7eba7bdcf2 added filters
- fixed torrents not playing
2025-08-22 17:13:28 +02:00
Schnitzel5
03108ae701 added preferences 2025-08-22 00:13:24 +02:00
Moustapha Kodjo Amadou
0452576de6
Merge branch 'main' into enhance/mpv 2025-08-21 16:35:08 +01:00
Schnitzel5
a1ada0e03e search fix 2025-08-21 02:05:34 +02:00
Schnitzel5
9395888c6a added support for Mihon extensions via ApkBridge 2025-08-20 21:06:26 +02:00
Schnitzel5
5f9efe957a adding support for Mihon extensions 2025-08-20 03:59:38 +02:00
Moustapha Kodjo Amadou
a15afd4334
Merge pull request #536 from NBA2K1/main
Refactor select bar widget and unify manga read state logic
2025-08-19 12:38:16 +01:00
Schnitzel5
c8b8e1d917 added missing arb entry 2025-08-18 18:35:26 +02:00
NBA2K1
00e49e31a0 Merge remote-tracking branch 'upstream/main' 2025-08-18 18:00:46 +02:00
Moustapha Kodjo Amadou
48106450d9
Merge pull request #550 from Schnitzel5/navigation/source-settings
added quick access to source settings
2025-08-18 13:28:55 +01:00
Moustapha Kodjo Amadou
4da61519bb
Merge branch 'main' into feature/downloaded-only 2025-08-18 13:27:29 +01:00
Moustapha Kodjo Amadou
4c0d426408
Merge pull request #549 from Schnitzel5/navigation/history
move history to more screen if hidden
2025-08-18 13:19:04 +01:00
Moustapha Kodjo Amadou
3eb4b8e755
Merge pull request #552 from Schnitzel5/feature/recommendations
added Anibrain recommendations
2025-08-18 13:15:27 +01:00
Moustapha Kodjo Amadou
82cdd7d28f
Merge pull request #553 from Schnitzel5/reader/zoom-swipe
allow to swipe pages even if zoomed in
2025-08-18 13:14:02 +01:00
NBA2K1
85751538ac Fix MAL "No Cover" Exception
```
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling []("large")
```
2025-08-17 20:55:15 +02:00
NBA2K1
f88978219f Fix Kitsu "No Cover" Exception
```
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling []("original")
```
2025-08-17 20:21:28 +02:00
Schnitzel5
226c6b145e allow to swipe pages even if zoomed in 2025-08-15 22:07:44 +02:00
Schnitzel5
c7d1d75045 added Anibrain recommendations 2025-08-15 21:42:47 +02:00
Schnitzel5
56fc7f905a added downloaded only mode 2025-08-15 21:33:54 +02:00
Schnitzel5
201568df9e added quick access to source settings 2025-08-15 21:25:22 +02:00
Schnitzel5
e9bf100905 move history to more screen if hidden 2025-08-15 21:20:36 +02:00
Schnitzel5
57be3eec9a re-added full upload and download 2025-08-10 02:14:18 +02:00
NBA2K1
fa86025ed0 migrate function for iOS 2025-08-08 17:46:50 +02:00
Schnitzel5
72dd2d7661 removed iOS PiP 2025-08-07 23:56:27 +02:00
Schnitzel5
20c943e5fc testing iOS Picture-in-Picture
implementation from [PR #206](https://github.com/media-kit/media-kit/pull/206)
2025-08-07 21:37:46 +02:00
Schnitzel5
bb1ba2f3bb fixed navigation disappearing after restore 2025-08-07 00:51:39 +02:00
Schnitzel5
d0974a1da6 try fix 2025-08-07 00:34:08 +02:00
Schnitzel5
e565d14ef3 improved calendar 2025-08-06 17:48:32 +02:00
Schnitzel5
715f077c13 added calendar 2025-08-06 16:44:12 +02:00
Schnitzel5
6e9b882b83 added custom buttons to backup 2025-08-06 04:01:00 +02:00
Schnitzel5
08b3991f5f Merge branch 'temp/mpv' into enhance/mpv 2025-08-06 03:12:50 +02:00
Schnitzel5
1db55b8018 fixed android screen
- adjusted show_text
- fixed exception for android update screen
2025-08-06 03:05:41 +02:00
Schnitzel5
608fc525fb Discord RPC now shows correct position / duration 2025-08-06 00:03:05 +02:00
Moustapha Kodjo Amadou
01dc5dba45 Bump d4rt version 2025-08-05 15:50:57 +01:00
Schnitzel5
2eca6576a2 added deep link for custom buttons 2025-08-05 01:48:19 +02:00
Schnitzel5
a101d10826 fixed history delete bug 2025-08-04 01:28:22 +02:00
Schnitzel5
8f2fe123bf adjusted lua code 2025-08-04 00:13:23 +02:00
Schnitzel5
c58646244e fix mpv unzip 2025-08-03 23:42:17 +02:00
Schnitzel5
0fea3ab84e switched to lua scripts 2025-08-01 02:57:05 +02:00
Schnitzel5
f25233182a removed unused imports 2025-07-31 19:58:41 +02:00
Schnitzel5
d368e908fe fix storage permission 2025-07-31 03:44:19 +02:00
Schnitzel5
83f4a4bf89 + 2025-07-31 02:01:56 +02:00
Schnitzel5
c73e1f3800 Merge branch 'feature/mpv-anime4k' into enhance/mpv 2025-07-31 02:01:23 +02:00
Schnitzel5
afee5926dc added more player customizations
- added navigation button if an entry is already being tracked
- added option to calibrate soft subtitles
2025-07-31 01:58:18 +02:00
Schnitzel5
d7c59fe16b added mpv stats 2025-07-30 03:23:15 +02:00
NBA2K1
69df87ff0e Merge two identical providers
Merge `isLongPressedMangaStateProvider` and `isLongPressedStateProvider`

Both providers do the same thing and it is impossible to change the value of the provider in different places in the app at the same time.

So just use one `isLongPressedStateProvider`. Reduces code duplication and there is no confusion about which one to use.
2025-07-29 14:02:48 +02:00
Moustapha Kodjo Amadou
9d784a0911
Merge pull request #538 from itsmechinmoy/patch-1
Added Hindi & Assamese Translations
2025-07-29 09:09:12 +01:00
Itsmechinmoy
1b6a118ad8
Create app_hi.arb 2025-07-29 11:57:49 +05:30
Itsmechinmoy
d58400d236
Create app_as.arb 2025-07-29 11:55:09 +05:30
Schnitzel5
4682ab3577 added custom buttons 2025-07-28 23:42:55 +02:00
NBA2K1
cd06ae3e78 Fix Exception when disconnecting
When restoring a backup, the app tries to disconnect DiscordRPC but that gives an exception, when there is no live IPC socket to close.

`AnyhowException (AnyhowException(Failed to close to Discord IPC: Custom { kind: ConnectionRefused, error: "Couldn't retrieve the Discord IPC socket" }`
2025-07-28 17:19:39 +02:00
NBA2K1
c2bae6d17b Extract reusable Select Bar and Button widgets
Previously, the same select bar and button styles were defined in both
`library_screen.dart` and `manga_detail_view.dart`, resulting in repeated code.

This commit extracts the select bar and its buttons into reusable widgets
to reduce duplication and improve readability and maintainability.
2025-07-28 16:29:30 +02:00
NBA2K1
ae1d158264 Combine two identical classes
Combine MangasSetIsReadState and MangasSetUnReadState to reduce code duplication.
2025-07-28 16:08:13 +02:00
Schnitzel5
1f0938fab9 adding custom buttons 2025-07-28 02:24:32 +02:00
NBA2K1
633b84dd6d Rearrange some code
- variable `color`, to avoid passing `Theme.of(context).textTheme.bodyLarge!.color!` on every Icon in `bottomNavigationBar`
- No need to create variable `isLongPressed` and `chapterNameList` in `build()` and pass them to `_buildWidget()` if they are only going to be used there. Just create the variables inside `_buildWidget()`
- Why create second `isLongPressed` variable in `_buildWidget()` with the same value? Just use the first one.
2025-07-28 00:55:45 +02:00
NBA2K1
fc3cf226f7 bulk write instead of one-by-one (bookmark)
reduces IO-operations.
2025-07-27 21:06:45 +02:00
NBA2K1
88a5474f96 bulk write instead of one-by-one
reduces IO-operations.
2025-07-27 20:06:16 +02:00
NBA2K1
1e2153fa4f Fix unread count after marking chapters read
Fix unread count not updating when marking selected chapters as read
2025-07-27 19:42:05 +02:00
Schnitzel5
5e1e526785 added video chapter timestamps 2025-07-27 02:44:04 +02:00
Schnitzel5
163bc9cec9 added more shaders 2025-07-26 02:03:44 +02:00
NBA2K1
4bad1a24e3 Refactor 2025-07-25 22:18:44 +02:00
NBA2K1
c74a4c428e Use saved clientId or fallback to refresh token 2025-07-25 21:34:02 +02:00
NBA2K1
76cef84a96 MAL save used clientId on login 2025-07-25 21:33:13 +02:00
NBA2K1
e6302d7d67 Allow OAuth model to save used clientId 2025-07-25 21:32:19 +02:00
Schnitzel5
6be2775fee added filler, thumbnail and description info to chapter list 2025-07-25 20:08:51 +02:00
Schnitzel5
3dae39a86c + 2025-07-24 23:16:35 +02:00
Schnitzel5
38728ce0cb Merge branch 'temp/mpv-anime4k' into feature/mpv-anime4k 2025-07-24 22:31:58 +02:00
Schnitzel5
1450641f16 added mpv config for Anime4K 2025-07-24 22:25:14 +02:00
NBA2K1
cbeb70b79e edit comment 2025-07-24 16:58:21 +02:00
NBA2K1
0b83be6d7a Revert Android changes 2025-07-24 16:50:55 +02:00
NBA2K1
7245552ade Merge branch 'main' into Correct-directory 2025-07-24 13:01:42 +02:00
Moustapha Kodjo Amadou
41dbb556ba
Merge pull request #531 from NBA2K1/main
Fix regression: restore fullscreen exit logic on desktop
2025-07-24 09:54:46 +01:00
NBA2K1
83934d7f35 Fix iOS and Android
The initialization of discordRPC on iOS and Android was leading to a grey screen (UnimplementedError), preventing the app to paint the Flutter UI.
The flutter_discord_rpc is only available on macOS, Linux and Windows.
2025-07-24 01:45:58 +02:00
NBA2K1
b388c5fedd re-add removed check in dispose
This was unintentionally removed in d21dbbbc.
This caused fullscreen mode to persist when the user exited the anime player view before the video had started loading.
The fullscreen now correctly exits in the dispose method for desktop platforms again.
2025-07-23 22:45:37 +02:00
Schnitzel5
5b56578029 separated some classes from reader_view 2025-07-23 03:16:24 +02:00
Schnitzel5
5932cf44f2 added sync for settings
- added option to toggle sync for history, update and settings
2025-07-21 23:37:51 +02:00
NBA2K1
72ac460588 Add TODO comment to unused variable 2025-07-21 14:55:33 +02:00
NBA2K1
976010f6f0 Merge remote-tracking branch 'upstream/main' into Correct-directory 2025-07-21 14:55:17 +02:00
Moustapha Kodjo Amadou
25f7402f35 fix add torrent magnet url 2025-07-21 11:02:12 +01:00
Moustapha Kodjo Amadou
e290e0ad4a
Merge branch 'main' into feature/discord-rpc 2025-07-21 09:33:45 +01:00
Moustapha Kodjo Amadou
7bb3da36fc
Merge pull request #527 from Schnitzel5/feature/local-epub
added support for local epubs and displaying its images
2025-07-21 09:16:56 +01:00
Moustapha Kodjo Amadou
936a91403b
Merge pull request #520 from NBA2K1/better-UX
Improved UX for Migration, Anime Playback & Navigation
2025-07-21 09:14:41 +01:00
Schnitzel5
c6a142bcba + 2025-07-20 21:33:39 +02:00
Schnitzel5
5b2f1b4f36 added support for local epubs and displaying its images 2025-07-20 21:23:26 +02:00
NBA2K1
4c46839979 Add TODO comment 2025-07-20 19:41:48 +02:00
NBA2K1
7153dab009
Merge branch 'main' into updates/history-screen-perf 2025-07-20 19:08:26 +02:00