Commit Graph

59 Commits

Author SHA1 Message Date
schroda
23a86a77f0 Move core files into new folder 2024-10-05 22:55:08 +02:00
schroda
fab5f0b860 Update downloadable check in chapter list
Check for single chapter card was never updated and the downloadable condition was incorrectly changed with 6c01c222c3
2024-09-21 22:20:40 +02:00
schroda
34ebe82df1 Properly detect downloadable chapter 2024-09-21 22:20:40 +02:00
schroda
a1131bf85b Save library options per category 2024-09-21 22:20:38 +02:00
schroda
dab7d40271 Internationalize manga status in details page 2024-09-15 14:22:56 +02:00
schroda
1708d5daff Add "status" library filter 2024-09-15 14:22:55 +02:00
schroda
6c01c222c3 Add retry button for failed downloads 2024-09-14 22:00:46 +02:00
schroda
34095d4f12 Show missing image icon for missing manga thumbnail urls 2024-09-01 00:45:23 +02:00
schroda
49af42e1bc Improve string cleanup function
Replace special character with a space and reduce multiple spaces to one
2024-08-14 15:14:49 +02:00
schroda
782148a10e Handle target manga without chapters on migration
The server throws an error in case the source returns an empty chapter list.
However, this is not an error and should not break/stop the migration
2024-08-14 14:49:53 +02:00
schroda
af44421838 Improve library search
Simplify searching by making matching logic less strict.

- do not require full match
- additionally compare by removing all non letter and number chars
2024-08-14 14:15:19 +02:00
schroda
8ff67a38f0 Combine manga and category migration 2024-08-05 16:07:18 +02:00
schroda
a29c113b5f Migrate manga only after "copy" succeeded
In case the manga should not only be copied but actually migrated, the "migration" actions should only be executed in case the copy actions have succeeded.
2024-08-05 16:07:16 +02:00
schroda
17c5780203 Await track migration mutation request 2024-08-05 16:07:16 +02:00
schroda
2f60b94a64 Get rid of some casts 2024-07-11 18:01:41 +02:00
schroda
bc01a945db Fix download queue related TypeErrors
With the changes from df006bb348, the requested download queue data changed not matching the previously used type.
The unnecessary cast then hid the tsc issues during compilation
2024-07-11 18:01:39 +02:00
schroda
3d21266f92 Reduce requested manga data in queries 2024-07-09 00:30:15 +02:00
schroda
83be995fb8 Reduce requested tracker data in queries 2024-07-09 00:21:49 +02:00
schroda
2fa1de578c Reduce requested chapter data in queries 2024-07-09 00:21:46 +02:00
schroda
9b8ace003d Reduce requested category data in queries 2024-07-03 23:24:50 +02:00
schroda
c337ec09ea Optionally remove migrated manga from categories
In case the setting is enabled, the manga should be removed from all categories on migration
2024-06-26 14:18:38 +02:00
schroda
6224ad4596 Prevent empty chapter updates on migration
In case there were no chapters to migrate the read or bookmark status, a request with an empty list was sent to the server.
This caused an exception on the server which resulted in a request failure which at the end caused the migration to fail
2024-06-26 13:59:14 +02:00
schroda
fdf78145f0 [VersionMapping] Update to latest server gql schema changes
Server now supports partial mutation responses.
2024-06-03 03:09:58 +02:00
schroda
ea6eac5066 Consider tracker logged out if token is expired
Server returns logged in state for a tracker even while the token has expired
2024-05-22 23:24:05 +02:00
schroda
a65ca228fe Keep initial opened chapter as duplicate reference
In case "skip duplicated chapters" is enabled and the next chapter is from a different scanlator, the initial opened chapter should still be used to remove duplicated chapters.

Otherwise, the original scanlator would get lost and the scanlator of the next chapter would get used, which was only a fallback chapter, because the initial chapters scanlator did not have a next chapter.
2024-05-13 04:04:41 +02:00
schroda
f2be29ea3a Show search tips for MyAnimeList 2024-05-07 14:42:02 +02:00
schroda
f66051d398 Check for duplicated library manga on add to library 2024-05-04 14:43:41 +02:00
schroda
5ab921aba7 Fix TypeError in Mangas::downloadChapters
In case a manga was completely downloaded, the grouped chapters did not contain a list for the specific manga id, resulting in an TypeError due to trying to use the array as if it was not undefined
2024-04-30 00:39:47 +02:00
schroda
3f507e0a30 Keep order of chapters when removing duplicates 2024-04-29 12:37:11 +02:00
schroda
f1ec97b0e6 Extract fetch logic into parent setting components 2024-04-28 02:58:38 +02:00
schroda
23e639a4e9 Ignore duplicated chapters for download limits
In case the next 5 chapters should get downloaded and they are all the same chapter from different scanlators, then the download actually only included 1 chapter.
To fix this duplicated chapters are counted as 1 chapter
2024-04-23 13:46:59 +02:00
schroda
2066851793 Optionally migrate track bindings 2024-04-21 00:02:43 +02:00
schroda
0d8bb789a0 Rename metadata migration setting flags 2024-04-20 23:26:34 +02:00
schroda
1a16dba7bd Add option to update tracking on manual mark as read 2024-04-20 23:15:02 +02:00
schroda
d35ef4fa7f Remove incorrect "change_categories" options type from Chapters::performAction 2024-04-20 22:56:45 +02:00
schroda
6f12ae7e4a Correctly download ahead for batch download action 2024-04-20 21:52:18 +02:00
schroda
b1f97fdf69 Chapters download menu download ahead only if required
Instead of checking if download ahead is required because not enough unread downloaded chapters existed, it just downloaded the next n unread undownloaded chapters
2024-04-20 02:40:10 +02:00
schroda
52e077ff19 Add chapters download menu 2024-04-20 01:43:06 +02:00
schroda
6b066fe8ca Extract Mangas action option types 2024-04-20 01:42:05 +02:00
schroda
8ebd028d25 Update to node v21.7.3
Use "Object::groupBy"
2024-04-20 01:31:19 +02:00
schroda
29860482a6 Feature/browse source manga long press remove add manga from library (#710)
* Extract CategorySelect usage into hook

* Extract logic to change manga in library state into hook

* Change manga in library state on long press when browsing source
2024-04-07 15:33:08 +02:00
schroda
7990ffda71 Add track action to manga action menu in library 2024-03-29 00:45:38 +01:00
schroda
5dbf1ce30c Implement showing/updating/removing tracker bindings 2024-03-29 00:45:38 +01:00
schroda
66c57a542b Implement binding manga to tracker 2024-03-29 00:45:38 +01:00
schroda
6fc70121c6 Fix/manually deleting chapter ignores bookmark (#675)
* Rename "Chapters::isAutoDeletable" to "isDeletable"

* Rename "Chapters::getAutoDeletable" to "getDeletable"

* Prevent manually deleting bookmarked chapters unless allowed
2024-03-26 23:39:04 +01:00
schroda
0c22a9012e Feature/cleanup metadata related logic (#657)
* Remove unnecessary parameter from "requestUpdateServerMetadata"

* Streamline updating metadata server settings

* Move metadata related logic
2024-03-16 16:21:15 +01:00
schroda
318c4a5040 Add option to delete downloaded chapters on migration (#655) 2024-03-16 13:45:54 +01:00
schroda
fb0622e209 Add chapter action to open chapter on source (#634) 2024-03-02 16:11:39 +01:00
schroda
8bdf035ca7 Feature/add option to remove manga from categories when removing from library (#633)
* Optionally remove manga categories when removing them from library

* Use "Mangas::removeFromLibrary"

* Handle uncatched promises
2024-03-02 15:28:58 +01:00
schroda
c5a5c4b8af Fix/add manga to library without dialog not adding default categories (#632)
* Add default categories when adding manga to library without dialog

* Add manga to library and update categories in one mutation
2024-03-02 15:26:15 +01:00