Commit graph

353 commits

Author SHA1 Message Date
Schnitzel5
e2a862d30b limited the amount of downloading operations
+ fixed failed downloads caused by spaces in file path
2025-05-02 02:10:57 +02:00
Schnitzel5
cc5bb1cd2a separated download function 2025-04-30 00:39:10 +02:00
NBA2K1
2698db6085 Reduce I/O operations
getMangaChapterDirectory() now accepts an optional mangaMainDirectory
to avoid calling getMangaMainDirectory() and thus getDirectory() twice in places where both methods are called successively.
2025-04-29 18:47:43 +02:00
NBA2K1
46526c6b6b Update download_provider.dart
Move the getDirectory() call out of the for loop to enhance performance.
2025-04-29 18:18:40 +02:00
Schnitzel5
77b912d40e added download all option 2025-04-28 15:03:45 +02:00
Enbiya Olgun
4f1e2cb492 Remove code duplication + BugFix
Fixed a bug, where newly added animes to AniList would register as "Rewatching" instead of "Plan to watch".
2025-04-24 05:48:52 +02:00
Schnitzel5
7e9202ceeb added extension notes/hints 2025-04-23 23:33:18 +02:00
Enbiya Olgun
404e18c4a5 introduce mangaReaderProvider and refactor MangaReaderView
- Add `ChapterWithPages` model and `MangaReaderController` (FamilyAsyncNotifier)
  to load chapter + pages in a single provider (`mangaReaderProvider`)
- Replace synchronous Isar fetch in `MangaReaderView` with `ref.watch(mangaReaderProvider)`
- Unify loading, error, and data states using a shared `scaffoldWith` helper
- Remove duplicated `Scaffold`/`AppBar` boilerplate and inline SystemChrome restore logic
- Simplify error handling
2025-04-23 00:11:20 +02:00
Schnitzel5
479a89042e Merge branch 'temp/optimize' into optimize 2025-04-22 22:42:46 +02:00
Enbiya Olgun
2446756552 moved super() call of initState to top of method 2025-04-22 04:57:52 +02:00
Enbiya Olgun
3ecbef80b2 Fix Exception
At line 963, when scrolling too fast in manga reader and page didn't load before.
```
═══════ Exception caught by foundation library ════════════════════════════════
The following StateError was thrown while dispatching notifications for ValueNotifier<Iterable<ItemPosition>>:
Bad state: No element
```
2025-04-22 03:49:31 +02:00
Enbiya Olgun
59b2389631 Fix Exception
```
════════ Exception caught by widgets library ═══════════════════════════════════
The following UnsupportedError was thrown building CircularProgressIndicator(100.0%, dependencies: [InheritedCupertinoTheme, _InheritedTheme, _LocalizationsScope-[GlobalKey#3b6da]], state: _CircularProgressIndicatorState#8c03b(ticker inactive)):
Unsupported operation: Infinity or NaN toInt

The relevant error-causing widget was:
    CircularProgressIndicator CircularProgressIndicator (package:mangayomi/modules/manga/reader/widgets/circular_progress_indicator_animate_rotate.dart:56:27)
```
2025-04-22 03:23:12 +02:00
Enbiya Olgun
6d99d9a690 Implemented text scroll to chapter/episode list
title text scroll (like a marquee effect) when the chapter/episode name is too long.
2025-04-21 22:47:23 +02:00
Enbiya Olgun
ef4abc47f2 Fix #444 + Remove code duplication
- Tracker Kitsu now displays "ì" correctly
- Removed a lot of code duplication in Kitsu.
2025-04-21 19:10:09 +02:00
Enbiya Olgun
dfade2f78e Kitsu no shows "Start date" and "Finish Date" when date is not set
Instead of "01 Jan 1970" show "Start date" and "Finish Date" on kitsu. Just like MyAnimeList
2025-04-21 19:05:01 +02:00
Schnitzel5
90dadbd2c6 fixed last updated 2025-04-10 16:03:08 +02:00
Enbiya Olgun
f765581b37 Fixed the Archive creation
This fixes issue #435
2025-04-07 19:23:28 +02:00
Enbiya Olgun
5e5f4d34cf Pass the correct list to convertToCBZ
e.url are the original remote URLs
Now the correct list of local image file paths is being passed to convertToCBZ.
2025-04-07 19:17:39 +02:00
Schnitzel5
17c18bd79a added follow system theme 2025-03-24 21:33:01 +01:00
Moustapha Kodjo Amadou
08f686999b
Merge pull request #413 from Schnitzel5/feature/more-backup-support
added support for Kotatsu and Mihon backups
2025-03-19 13:11:25 +01:00
Schnitzel5
75feb2e6d0 added best-effort migration of read/watch progress 2025-03-16 02:31:13 +01:00
Enbiya Olgun
ccb5fb08e6 Only on wifi (+ ethernet)
Allows a download to be done while being on ethernet when "Only on wifi" option is enabled. #415

+ typo
2025-03-15 02:44:36 +01:00
Schnitzel5
7386175200 Merge branch 'temp/genre-quick-search' into feature/genre-quick-search 2025-03-09 21:21:50 +01:00
Schnitzel5
8b3910cf65 + 2025-03-09 21:20:42 +01:00
Moustapha Kodjo Amadou
5905480392 improve category 2025-03-09 14:59:24 +01:00
Moustapha Kodjo Amadou
2eb4545082 refactor: replace ListView with SuperListView across multiple widgets 2025-03-09 12:02:38 +01:00
Moustapha Kodjo Amadou
05cc1e5282 refactor: optimize source list handling in global search and migration screens 2025-03-09 11:40:21 +01:00
Schnitzel5
1d96ea29d5 added navigation 2025-03-06 16:00:38 +01:00
Schnitzel5
355f19dfe4 added auto-detect language for subtitles 2025-03-06 00:31:20 +01:00
Schnitzel5
52c5ac5b48 + 2025-03-05 15:51:26 +01:00
Schnitzel5
7be5075c53 + 2025-03-05 00:43:12 +01:00
Schnitzel5
b1636ad710 added chapter preview to migration 2025-03-02 21:21:17 +01:00
Schnitzel5
17128cccbd added options to migrate sources and clean the database 2025-03-02 01:22:41 +01:00
Moustapha Kodjo Amadou
3e401c8af2 dart format 2025-02-23 15:31:49 +01:00
Schnitzel5
dec2968921 optimized sync for library update 2025-02-15 17:30:38 +01:00
Schnitzel5
aa946c9d51 enhanced sync feature 2025-02-12 19:13:16 +01:00
Moustapha Kodjo Amadou
8384bcad51 co-written with @Schnitzel5 : update source fetching methods to utilize repositories 2025-02-12 11:04:46 +01:00
Moustapha Kodjo Amadou
3eeb4777a6 feat: improve chapter download 2025-01-30 15:09:47 +01:00
Moustapha Kodjo Amadou
d9e9e87926 fix #365 2025-01-22 18:25:28 +01:00
Moustapha Kodjo Amadou
a89e1b9ba7 refactor: simplify color filter handling in image view 2025-01-22 10:47:34 +01:00
Moustapha Kodjo Amadou
4265ba11fe refactor: remove unnecessary iOS view checks and adjust animation duration in reader view 2025-01-22 10:30:37 +01:00
Moustapha Kodjo Amadou
e901ef6281 refactor: update chapter handling to use IDs instead of objects in reader views 2025-01-22 10:02:44 +01:00
Moustapha Kodjo Amadou
e139dc3247 fix #362 2025-01-21 15:53:10 +01:00
Moustapha Kodjo Amadou
8c841baaa3 fix 2025-01-11 06:45:34 +01:00
kodjomoustapha
22cbf2dc44 fix Textfield not visible on mobile when typing 2025-01-09 17:16:00 +01:00
kodjomoustapha
6deffa4b97 refactor CodeEditor & update package 2025-01-08 12:51:16 +01:00
Schnitzel5
5ae7a8d581 added option to download novels 2025-01-07 23:37:29 +01:00
kodjomoustapha
32b10b8a30 - 2025-01-07 12:46:09 +01:00
kodjomoustapha
61734faed5 fix 2025-01-06 17:39:21 +01:00
kodjomoustapha
a9e91a1237 fix 2024-12-25 15:12:08 +01:00
kodjomoustapha
ff2bf3317d fix 2024-12-24 12:33:42 +01:00
kodjomoustapha
87ba9d1291 fix 2024-12-24 11:51:53 +01:00
Schnitzel5
84c82ba1ee show novel progress in percentage and fixed gesture detector 2024-12-22 02:39:31 +01:00
Schnitzel5
66e48612ae Merge branch 'feature/novel' into feature/light-novel 2024-12-21 21:22:30 +01:00
Schnitzel5
3bc85cf5aa saving novel chapter progress + removed sync for now 2024-12-21 21:18:21 +01:00
kodjomoustapha
cb103afbb0 + 2024-12-20 17:02:36 +01:00
Schnitzel5
34179a17a5 Merge branch 'feature/novel' into feature/light-novel 2024-12-20 15:59:06 +01:00
kodjomoustapha
a41ccaff22 fix & reformat 2024-12-20 10:15:15 +01:00
Moustapha Kodjo Amadou
9d712654a9
Merge branch 'main' into refactor/refactor-extensions-service 2024-12-20 09:15:26 +01:00
kodjomoustapha
f99bc996b1 fix 2024-12-19 17:52:47 +01:00
NBA2K1
03741343be bugfix?
Share button had no baseUrl on extensions without a apiUrl (Example AniWorld, AnimeToast).
tbh didn't even understand why there was a apiUrl check.
2024-12-16 21:54:59 +01:00
NBA2K1
c17e80a080 Adjusted filters and settings to Anime
+ added translations.
2024-12-16 20:17:26 +01:00
Yegor Shovkun
f0cf52813a refactor: refactor extension services 2024-12-14 13:55:40 +02:00
Yegor Shovkun
adbd1529f7 fix: cs fix (reformat with 120 line length) 2024-12-14 12:38:56 +02:00
kodjomoustapha
53300dafef Upgrade gradle config, Upgrade packages & some fix 2024-12-13 18:21:49 +01:00
kodjomoustapha
4748f3c699 fix 2024-12-13 10:31:57 +01:00
NBA2K1
e2e884db94 Issue #331
- Missed a concatenated path in manga_detail_view and in reader_view
- Made the Manga / Anime title selectable, so one can copy the title if needed
- Hidden the Backup share-button, because Linux has no share-feature and the button simply does nothing.
2024-12-11 21:26:18 +01:00
NBA2K1
2ae03021ad File path fixes (Issue #331)
- Instead of manually concatenating filepathes, it's using the path.join() function now.
- switched some if conditions, that had nothing in the if block, but in the else block, removing the redundant else block.
2024-12-10 00:35:09 +01:00
NBA2K1
3fe8f4266d Issue #313 fix
- Button now shows "Watch" if Anime.
- Translations in all available languages added
- Button now dynamically adjusts itself, no need for "isFr" and hardcoding the button size.
2024-12-07 03:32:27 +01:00
Schnitzel5
fb127f56b5 add novel support 2024-11-24 19:49:57 +01:00
Schnitzel5
ca16d34332 Merge branch 'feature/light-novel' into feature/novel 2024-11-22 00:28:24 +01:00
kodjomoustapha
ee1529be24 update 2024-11-20 17:59:12 +01:00
kodjomoustapha
fb9fdaad35 fix #274 2024-11-13 13:03:57 +01:00
kodjomoustapha
32afc3c71e add webview for linux 2024-11-13 10:53:36 +01:00
kodjomoustapha
a38bfc8b83 fix filter 2024-11-12 17:24:12 +01:00
Schnitzel5
3d29a12fc4 fix init settings 2024-11-09 00:27:11 +01:00
playerterra1
34a451d374 add novel support 2024-11-08 13:18:58 +00:00
kodjomoustapha
43bfcf706a + 2024-11-07 17:12:33 +01:00
kodjomoustapha
5ef0247d9c + 2024-11-01 15:20:30 +01:00
playerterra1
04ddbb6ac7 change data structure for novel type 2024-10-31 13:53:55 +00:00
kodjomoustapha
c10f7d120a control where to show cloudflare error message 2024-10-29 13:28:16 +01:00
Moustapha Kodjo Amadou
997f5aba54
Merge pull request #282 from Schnitzel5/fix/bottom-system-overlay
Fix/bottom system overlay
2024-10-13 19:12:32 +01:00
Schnitzel5
cfc2125dab adjust SafeArea for reader view 2024-10-13 19:24:56 +02:00
Schnitzel5
3993f7fd1f only display top system bar in reader mode 2024-10-09 21:08:40 +02:00
yxxyun
622db17a0e refresh loading 2024-10-08 09:50:47 +08:00
kodjomoustapha
9f39be7bb8 fix: can’t swipe to the next chapter if the current chapter only has 1 page (reader setting: ltr, rtl, vertical) 2024-09-30 11:06:54 +01:00
Schnitzel5
d52ba6fa51 chapter are now grayed out if read 2024-09-26 22:19:14 +02:00
kodjomoustapha
b7f4a3addb improve 2024-09-26 14:48:14 +01:00
Schnitzel5
531e69cf44 added some more error handling for edge cases 2024-09-25 18:52:26 +02:00
kodjomoustapha
85d58da1f5 rm 2024-09-22 00:51:50 +01:00
kodjomoustapha
6e1f6c1375 add support to convert downloaded m3u8 files to mp4 2024-09-20 15:07:12 +01:00
kodjomoustapha
ee9e2a76cb rename feed to update and make some arrangements 2024-09-17 10:37:40 +01:00
Schnitzel5
6488983464 fix sync after read or watch option 2024-09-12 23:52:04 +02:00
Schnitzel5
96e5f08a30 fix sync after read or watch option 2024-09-12 22:37:53 +02:00
kodjomoustapha
938e42aa15 fix feed 2024-09-12 12:58:24 +01:00
Schnitzel5
b8635a36a8 Merge branch 'main' into feature/sync-server 2024-09-12 00:29:39 +02:00
Schnitzel5
85aa687606 added feed feature 2024-09-11 17:35:12 +02:00
kodjomoustapha
aa2b408144 +
- adding modify codes from the rhttp package
2024-09-11 12:04:01 +01:00
Schnitzel5
45a0d5c9db fix history manga id and added feed list schema 2024-09-11 00:42:24 +02:00
Schnitzel5
b412877886 improved sync feature 2024-09-08 03:13:58 +02:00