Commit Graph

2202 Commits

Author SHA1 Message Date
schroda
12e8939267 Prevent duplicated downloads in download queue
The mutation to add chapters to the download queue returns the current download queue.

Thus, the local queue already includes the new downloads and adding them blindly in the download subscription will cause them to be in the local queue twice.
2024-12-09 02:38:37 +01:00
schroda
b9ab13c7d2 Re-add older preview versions 2024-11-30 14:59:32 +01:00
schroda
50cb9570c1 Close "source configuration" dialogs on backdrop click and "esc" press 2024-11-28 12:38:47 +01:00
schroda
c6f7ebd7c2 Close "language select" dialog on backdrop click and "esc" press 2024-11-28 12:36:39 +01:00
schroda
069aa26a0f Close "category select" dialog on backdrop click and "esc" press 2024-11-28 12:36:20 +01:00
schroda
1e109e7d32 Remove deprecated "gqlDebugLogsEnabled" setting 2024-11-28 12:22:17 +01:00
schroda
0c02de5b92 Correctly get total library size
The total size was the sum of all categories, which could include duplicates, since manga can be in multiple categories.

This still will show an incorrect number, because server side there is the same issue with the "mangas" query including duplicates in the total count, however, once this is fixed, the correct count will be displayed
2024-11-28 12:20:36 +01:00
schroda
55dc1aa6a5 Show download progress only when started 2024-11-28 12:17:56 +01:00
schroda
a819d45489 Update to server download subscription changes 2024-11-28 12:17:55 +01:00
schroda
61ae717e9a Add new languages to resources 2024-11-27 22:02:26 +01:00
Hosted Weblate
e69d6ba435 Translations update from Hosted Weblate
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Felana <d.evangelion@gmail.com>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Leonardo de Macedo Sartorello <leo.sartorello98@gmail.com>
Co-authored-by: MK <raroger1975@gmail.com>
Co-authored-by: Malthe Hensberg <maltheh2003@gmail.com>
Co-authored-by: Meliodas Sama <walid.gibreal@gmail.com>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: aaron mo <991n1nd12@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Костин Ярослав (RikKos) <leb.yaroslav@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ar/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/da/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ko/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/nl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/tr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/uk/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2024-11-27 21:57:49 +01:00
schroda
1d50edf1a1 Prioritize current reader page request 2024-11-13 15:47:04 +01:00
schroda
87ee1330d4 Prevent blinking on reader page switch on firefox
on firefox images are decoded async which causes a "flicker/blinking" when they're getting visible for the first time
this is an issue especially in the reader because pages that should not be shown are rendered but
not displayed, which then causes this issue once they get displayed
2024-11-13 15:47:03 +01:00
schroda
f9938edb75 Extract aborting image requests into function 2024-11-13 14:41:26 +01:00
schroda
30d2608216 Fix log file cleanup description 2024-11-12 19:47:58 +01:00
schroda
4b86428dc7 Limit max and min values of number setting textfield
Limits were passed through to the slider but were not applied to the text field
2024-11-09 20:42:29 +01:00
schroda
f88dda32a0 Properly handle double spread offset
There were cases were a page after a double spread page was rendered twice.

1: |  double spread page  |
2: |   page A  |  page B  |
3: |   page B  |  page C  |
2024-11-08 18:12:39 +01:00
schroda
e90d705610 Add option to update all updatable extensions 2024-11-04 01:30:09 +01:00
schroda
63caf74e36 Extract "Extensions" types, constants, utils into separate files 2024-11-04 01:25:19 +01:00
schroda
71292a114a Rename "ExtensionState" enum to "ExtensionGroupState" 2024-11-04 01:17:56 +01:00
schroda
e1a477feb0 Improve library duplicates detection performance
Parallelize by chunking the manga list and using sub workers
2024-11-04 00:11:02 +01:00
schroda
6d9045e93a Internationalize "default" device 2024-11-04 00:11:01 +01:00
schroda
e71c4b7ef1 Cleanup deprecated metadata after migration
- delete deprecated metadata
- save applied migration id per metadata holder
2024-11-04 00:11:01 +01:00
schroda
b22cec12b4 Memoize metadata hook data 2024-10-25 20:24:56 +02:00
schroda
050fbc794c Properly reset "app bar height" 2024-10-24 17:34:28 +02:00
schroda
e416a141b0 Handle typography with more than 2 lines 2024-10-19 16:43:18 +02:00
schroda
64ac4a54fd Ignore reader when going back in app history
Navigation back through the apps back button should not open the reader again.
This is mostly a preparation for being able to open the manga page from the reader, regardless of if it was the previous page or not, in the future, in that case, the reader will be in the history stack and would be incorrectly opened through the back button
2024-10-19 16:43:15 +02:00
schroda
39dea49203 Get proper nav bar width
The drawer can potentially have a border, which would have been ignored, thus, detecting an incorrect width
2024-10-19 15:41:41 +02:00
schroda
68aea3403f Fetch latest track data from tracker only once
Everytime the data was updated, the array changed and triggered the useEffect again, resulting in another request to get the latest data from the tracker
2024-10-18 21:54:42 +02:00
schroda
03c1fe2172 Remove "downloading" text for active chapter downloads
Instead, just show the progress, even if it is 0%
2024-10-17 01:51:08 +02:00
schroda
0e8ddd4717 Prevent library duplicates logic from blocking UI 2024-10-16 19:44:05 +02:00
schroda
6d9740e994 Extract duplicate by title and alternative title logic into function 2024-10-16 19:44:04 +02:00
schroda
387adb78ca Use default value for undefined meta values 2024-10-16 19:44:04 +02:00
schroda
c477911e25 Properly set virtuoso item keys 2024-10-16 19:44:03 +02:00
schroda
306e49d47e Adjust grouped list item padding 2024-10-13 23:12:48 +02:00
schroda
954195c24e Add button to copy manga title 2024-10-08 03:04:01 +02:00
schroda
97a62b037e Revert changes to husky file 2024-10-07 13:53:45 +02:00
schroda
f704e5bc33 Move "Mangas.ts" types and constants to new files 2024-10-07 13:45:07 +02:00
schroda
03695b34be Rename "MangaCard.types" file 2024-10-07 13:45:07 +02:00
schroda
d9b633900c Set static size for manga details page covers 2024-10-07 13:45:06 +02:00
schroda
cd7ec05ce3 Fix retry of failed source searches
Regression introduced with 5aec8282cb (brain fart).
The abortRequest function changes everytime, thus the useEffect was triggered on every render...
2024-10-07 13:07:57 +02:00
schroda
5aec8282cb Properly abort source searches on query change 2024-10-06 16:39:13 +02:00
schroda
e707e7b7da Handle track search error
Apollo fails to handle changes in the options context (e.g. abort controller) which causes the request to infinitely re-trigger on errors.

By not adding an abort controller, this gets prevented, however, it prevents the search to be aborted on e.g. changing the search string
2024-10-06 16:20:50 +02:00
schroda
6e9fdee0bb Handle source browse error 2024-10-06 16:15:01 +02:00
schroda
2916bfbe88 Prevent infinite renders during manga migration search
Regression introduced with 70f8e36b6e
2024-10-06 13:45:25 +02:00
schroda
84b9f8361d Fix RequestManager location
Was changed unintentionally
2024-10-06 13:45:22 +02:00
schroda
e7e1fbbc4e Move more core logic to new folder 2024-10-06 00:16:41 +02:00
schroda
babda1ea57 Move metadata files into new folder 2024-10-06 00:16:34 +02:00
schroda
a16fef0aab Move setting files into new folder 2024-10-06 00:16:31 +02:00
schroda
57158d6abd Move backup files into new folder 2024-10-06 00:08:19 +02:00