Commit Graph

451 Commits

Author SHA1 Message Date
schroda
a06e170d78 Handle cache update when creating new metadata
In case the metadata didn't exist yet, it was never added to the meta array because the objects meta field was never updated
2024-09-22 02:50:14 +02:00
schroda
20eaa90c10 Add optimistic response to metadata mutations 2024-09-21 22:20:41 +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
a9e0853e34 Set manga thumbnail as background image 2024-09-14 22:00:44 +02:00
schroda
e7177b0b49 Add more themes 2024-09-09 22:20:48 +02:00
schroda
b65636ddcf Update some theme colors
- rosegold
- crimson
- minty miracles
2024-09-09 22:20:47 +02:00
schroda
b57e5118cc Define gql merge function for "trackRecords" field of "MangaType"
When opening the reader and going back to the library, the whole category of the previous opened manga gets refetched due to the readers manga query removing the mangas tracker data from the cache which is required in the library
2024-09-08 01:52:36 +02:00
schroda
4a742bb0ff Reduce toasts when switching themes 2024-09-07 01:49:10 +02:00
schroda
e0b58652f4 Support theme fonts 2024-09-07 01:07:02 +02:00
schroda
4662a9175f Always use calculated scrollbar size 2024-09-06 23:50:38 +02:00
schroda
d9777c179a Extract function to get scrollbar size 2024-09-06 23:43:38 +02:00
schroda
12d12ccc48 Use custom themes 2024-09-05 21:57:15 +02:00
schroda
97b4befbb1 Add themes 2024-09-05 04:49:51 +02:00
schroda
1444d51ed2 Add pure black mode option 2024-09-05 04:49:48 +02:00
schroda
ba2ce37468 Add option to select system theme 2024-09-05 04:49:48 +02:00
schroda
274c4c6489 Add server log file rotation settings 2024-09-03 16:30:31 +02:00
schroda
34095d4f12 Show missing image icon for missing manga thumbnail urls 2024-09-01 00:45:23 +02:00
schroda
bf8aecfc42 Properly update chapter list window scroll
Once the window scroller was set, resizing the window to increase the width did not remove the window scroller again
2024-08-31 23:43:06 +02:00
schroda
08866ace3d Terminate gql subscription on server address change
Otherwise, the subscription is still active for the old server instead of connecting to the new server
2024-08-26 00:25:58 +02:00
schroda
5bbde0edc6 Include artist, author and source name in library search 2024-08-14 22:58:22 +02:00
schroda
66e2bd47ea Include description in library search 2024-08-14 15:21:19 +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
986d071bc8 Properly update existing global meta after mutation
"existingMetas" was incorrectly iterated over which caused an error in case the mutated meta did not exist prior to the mutation
2024-08-05 16:07:19 +02:00
schroda
8ff67a38f0 Combine manga and category migration 2024-08-05 16:07:18 +02:00
schroda
4a01b1873c Change order of update manga migration
This prevents issues of manga having a specific library state while they are incorrectly in or not in categories.

E.g. a manga was removed from the library but the category update mutation failed, which now causes it to still be in the set categories while not being in the library anymore
2024-08-05 16:07:17 +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
b17fcd30af Replace deprecated gql sort inputs
Was missed in e1e2cbc679 and caused unexpected behaviour due to the response data being incorrectly sorted
2024-07-29 14:10:37 +02:00
schroda
e99ed3eec5 Add "has duplicate chapters" library filter
closes #777
2024-07-28 23:15:11 +02:00
schroda
792bbe4563 Add new FlareSolverr "response fallback" setting 2024-07-28 22:50:27 +02:00
schroda
3065e80b36 Properly sort chapters of same manga in updates
In case chapters of the same manga had been fetched at the same time, they were sorted by their source order ascending instead of descending, which caused the newest chapter of that manga to be farther down instead of being the first
2024-07-28 22:29:01 +02:00
schroda
e1e2cbc679 Use new gql sort options 2024-07-28 22:21:11 +02:00
schroda
cdcf69a3a2 Fetch manga chapter infos on chapter list refresh
In case an uninitialized manga was opened from the library, the manga and its chapter list got refreshed.
However, the chapter infos (e.g. unread, downloaded count, etc.) were not requested with the chapter list mutation, which resulted in this information to be missing
2024-07-26 13:45:17 +02:00
schroda
31837392b5 Remove default props usage 2024-07-11 18:13:51 +02:00
schroda
35ee359754 Remove "clientMutationId" 2024-07-11 18:09:47 +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
205c833b19 Add missing chapter fields to update subscription 2024-07-09 01:19:05 +02:00
schroda
b70c404fb1 Move "Fragments" file into "fragments" folder 2024-07-09 00:41:14 +02:00
schroda
c1e92b3256 Extract info gql fragments 2024-07-09 00:39:41 +02:00
schroda
50aae95700 Extract server settings gql fragments 2024-07-09 00:38:08 +02:00
schroda
3d21266f92 Reduce requested manga data in queries 2024-07-09 00:30:15 +02:00
schroda
4b30e9bc48 Reduce requested extension data in queries 2024-07-09 00:21:51 +02:00