Commit Graph

1696 Commits

Author SHA1 Message Date
schroda
940949f832 Fix double page styling for rtl languages 2024-05-03 14:46:28 +02:00
schroda
bbafe893de Extract version update info dialog into component 2024-05-03 14:46:05 +02:00
schroda
61b43b80af Merge version update close buttons into one 2024-05-03 01:48:12 +02:00
schroda
e54a98001a Use browser language as dayjs locale 2024-05-02 22:14:34 +02:00
schroda
fc9a849c1b Use "custom parse format" dayjs plugin
Without this plugin the formatted date was shown as "Invalid date"
2024-05-02 22:14:08 +02:00
schroda
dc9d9dfa3f Prevent TypeError in Reader chapter update
In case the manga wasn't loaded immediately, trying to access the trackRecords totalCount caused a TypeError because the initial manga object did not specify it
2024-04-30 20:18:00 +02:00
schroda
5a97f11703 Add missing requests to loading and error handling of Reader 2024-04-30 20:16:02 +02:00
schroda
ba3aefc854 Lazy load app routes 2024-04-30 00:39:47 +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
0f16429c14 Fix EmptyView styling 2024-04-29 16:22:46 +02:00
schroda
93e95c0a8f Show "no mangas found" message by default
The non-null assertion operator was incorrectly used since "message" could be potentially undefined
2024-04-29 15:39:43 +02:00
schroda
bcccbda00c Add retry option to SearchAll error message 2024-04-29 15:37:01 +02:00
schroda
c19df43e4a Fix styling of SearchAll error messages 2024-04-29 15:37:01 +02:00
schroda
054585f488 Rename "EmptyView" 2024-04-29 15:29:33 +02:00
schroda
7866fdb9f1 Never use cache for manga chapters with state query
Changed with 0c4ce2c9c5, but it does not work because the chapters state could have changed in the meantime, changing the chapters included in the query response, which is not represented by the cached query
2024-04-29 14:54:18 +02:00
schroda
3f507e0a30 Keep order of chapters when removing duplicates 2024-04-29 12:37:11 +02:00
schroda
045c60c828 Prevent opening disabled NestedMenuItem 2024-04-29 01:06:22 +02:00
schroda
ee0bf3c1e0 Make "value" prop of setting components required 2024-04-28 02:58:38 +02:00
schroda
f1ec97b0e6 Extract fetch logic into parent setting components 2024-04-28 02:58:38 +02:00
schroda
58f5e9ff79 Add retry logic to existing error handling 2024-04-28 02:58:35 +02:00
schroda
7531edbd59 Add retry logic to Library error handling 2024-04-28 02:58:28 +02:00
schroda
773d2b1026 Add missing error handling 2024-04-28 02:58:24 +02:00
schroda
a447719309 Remove unnecessary "??" operator usage in EmptyView prop 2024-04-27 22:15:16 +02:00
schroda
626c4ba6e6 Show missing loading placeholders 2024-04-27 22:04:44 +02:00
schroda
35b756e09c Mark duplicated chapters as read
Should have been done with fd2946d1ae, but it only deleted downloads of duplicated chapters
2024-04-27 15:14:56 +02:00
schroda
3b276f9f58 Keep downloaded thumbnails when clearing server cache 2024-04-27 00:03:37 +02:00
schroda
b90f84ee11 Prevent triggering load more requests while loading 2024-04-26 22:19:29 +02:00
schroda
09bf1163fa Remove logging of image request failures 2024-04-26 17:29:58 +02:00
schroda
f7e95b6660 Update dependencies 2024-04-26 17:10:53 +02:00
schroda
950d240c8a Set "location origin" as default "server base url" 2024-04-26 13:04:21 +02:00
schroda
741489ad49 Adjust missed styling for rtl direction 2024-04-26 13:00:45 +02:00
schroda
1626771e92 Apply rtl styling for rtl languages 2024-04-25 19:27:59 +02:00
schroda
6788e284e9 Prevent selecting an unsupported language
In case no language had been selected yet and the detected browser language is not supported, the selection was set to undefined instead of showing the default language
2024-04-25 00:27:00 +02:00
schroda
bbb655c448 [Tool] Add script to generate i18n resource array 2024-04-25 00:06:07 +02:00
schroda
082f923e10 Improve i18n resource typing 2024-04-24 23:56:06 +02:00
schroda
a7cafb59a4 Fix missing translations for language selection setting 2024-04-24 23:53:43 +02:00
schroda
7ceb1af23e Prevent webUI update available dialog when auto update is enabled
The automatic webUI update checks were not triggered in case the auto update setting was disabled but it was still possible for the update info dialog to be shown
2024-04-23 18:19:20 +02:00
schroda
fd2946d1ae Mark duplicated chapters as read
In case the "skip duplicated chapters" setting was enabled the duplicated chapters of the just read chapter did not get marked as read
2024-04-23 18:08:34 +02:00
schroda
0c4ce2c9c5 Use cache to query chapters with state
There is a potential that the cached chapters state is outdated, but this is a marginal issue and is preferred over sending a request to the server everytime for data that is most likely already known.
The triggered downloads will also reflect what is currently shown in the UI, so it will most likely never be known if some chapter state was outdated.
2024-04-23 13:54:04 +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
640cc1bf49 Fix chapters download "all" option 2024-04-23 12:49:39 +02:00
schroda
6e4596c649 Include manga chapter fields in update subscription
In case a manga was fully read and a new chapter was found during a library update, the resume button was not correctly updated and pointed to the first chapter.
This regression was introduced with fe2cb682b6
2024-04-22 22:22:18 +02:00
schroda
c76fc9c865 [ESLint] Remove "cache" flag from "lint-staged" linting 2024-04-22 22:19:40 +02:00
schroda
ebd84d5b20 Disable webUI update check when auto update is enabled 2024-04-21 16:17:04 +02:00
schroda
d5241009b6 Optionally ignore available server update
Makes it possible to never show the info dialog again for the available version update
2024-04-21 15:06:47 +02:00
schroda
9954341434 Remind about server update later on dialog close
Stop opening server update info dialog for one hour after the dialog was closed
2024-04-21 15:06:23 +02:00
schroda
f61ed31bd5 Globally inform about available webUI updates
In case the automatic webUI updates setting was disabled the user was never informed about available webUI updates
2024-04-21 15:03:25 +02:00
schroda
ad4f59f324 Extract automated update check into hook 2024-04-21 15:03:25 +02:00
schroda
c4d77d2325 Globally inform about successful webUI updates
In case automatic webUI updates are disabled, the user gets informed about available updates
2024-04-21 15:03:24 +02:00
schroda
7725673dd7 Move ServerUpdateChecker to "util" folder 2024-04-21 12:52:31 +02:00