Commit graph

899 commits

Author SHA1 Message Date
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
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
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
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
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
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
099805b21c Fix author display logic to handle empty author names 2025-11-08 23:45:04 +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
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
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
e288cb00d3 Refactor 2025-11-07 18:23:48 +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
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
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
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
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
efcd54c898 fixed app fonts dialog 2025-09-02 14:35:53 +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
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