Commit Graph

75 Commits

Author SHA1 Message Date
schroda
66c57a542b Implement binding manga to tracker 2024-03-29 00:45:38 +01:00
schroda
64ac49fa41 Support older browsers (#674) 2024-03-26 23:39:25 +01:00
schroda
bee4d4aab8 [ESLint] Enable caching (#661) 2024-03-19 22:46:39 +01:00
schroda
550c576725 Feature/update dependencies (#648)
* Update to node v20.11.1

* Update dependencies
2024-03-08 23:31:56 +01:00
schroda
2d1d889ef5 Run eslint on commit (#647) 2024-03-08 22:42:48 +01:00
schroda
6cff75e257 Feature/limit concurrent image requests (#639)
Prevent exhausting the available concurrent requests to the same domain by the browser with just image requests.

This prevents e.g. when browsing a slow source from having 6 concurrent image requests and having to wait for the next page request until one of those requests has finished
2024-03-05 02:11:40 +01:00
schroda
daf6b50249 Fix/deprioritize image requests (#638)
* Use "fetch" instead of "axios"

Axios does not support prioritizing requests

* Deprioritize image requests

The browser requests images (<img>) with low priority by default.
Due to switching to loading images via axios (f852ce70e7), the image requests had the same priority as other requests and thus blocked e.g. xhr requests
2024-03-05 02:07:05 +01:00
schroda
3077824ca7 Update dependencies (#587) 2024-01-29 21:17:27 +01:00
schroda
6edf3bad64 [ESLint] Allow zero warnings (#575) 2024-01-26 20:49:43 +01:00
schroda
b42c3103f1 Feature/rebrand to suwayomi (#500)
* Rename "Tachidesk-WebUI" to "Suwayomi-WebUI"

* Rename "Tachidesk-Server" to "Suwayomi-Server"

* Rename "Tachidesk" to "Suwayomi"

* Rename variables
2024-01-05 20:11:29 +01:00
schroda
9caca6e753 Update dependencies (#534) 2024-01-02 16:46:41 +01:00
schroda
446deeae06 Feature/library manga actions (#506)
* Extend "IMangaGridProps" from "DefaultGridProps"

* Move library manga filtering into hook

* Add logic to select mangas

* Add manga actions

* Remove cache only policy for category mangas

Unclear why this was added

* Prevent SelectionFAB from being hidden by the mobile footer

On e.g. the library page, the footer is visible and thus, the fab was not completely visible

* Update categories of manga only after clicking "OK"

Previously, selecting a category resulted in an immediate mutation.
To be able to reuse the "CategorySelect" component to change the categories of multiple mangas at once, this behaviour is not suited.

* Add action to change categories of multiple mangas

* Cancel selection mode after removal from library

The mangas would still be selected and other action could get performed. However, this should only be possible for mangas that are in the library

* Remove unintentionally added console log

Accidentally added with 980da657d9
2023-12-25 21:37:45 +01:00
schroda
214043fe9d Fix/script changelog creation (#496)
* [Tooling] Select git commit author correctly

Caused the credit for a commit without a pr id to show as "@[object Object]"

* [Tooling] Fix typo in file name

* [Tooling] Use total commit count from webUI repos master branch
2023-12-13 23:48:35 +01:00
schroda
47b077cbf5 Feature/update dependencies (#477)
* Remove accidentally committed script

* Update dependencies

* [ESLint] Fix issues

* Remove unnecessary "??" operator

* Update "vite" to v5.x

* Disable "no default export" rule in vite config
2023-11-25 18:13:51 +01:00
schroda
9b96560a17 Feature/settings backup (#453)
* Show loading indicator for "NumberSetting"

* [i18n] Add lowercase interpolation format

* Add required dependencies for time settings

* Dynamically import dayjs locales for languages

* Add backup settings
2023-11-12 01:41:10 +01:00
schroda
134e47763f Feature/update dependencies (#442)
* [Tooling] Fix "updateDeps" script

For some reason commands after "yarn outdated" did not get executed

* [Tooling] Show "outdated" info at end of "updateScript"

* Update dependencies

"apollo-upload-client" v18 requires migration to ts module "nodenext"
2023-11-04 23:11:40 +01:00
schroda
c8f02b3b8c [ESLint] Add "no-unused-imports" plugin (#426) 2023-10-27 21:19:45 +02:00
schroda
b79fbcf71d Setup graphql subscriptions 2023-10-27 20:23:45 +02:00
schroda
6a1c302e45 Remove SWR 2023-10-27 20:23:44 +02:00
schroda
0087d3a87b [Tool][Codegen] Add script to post format the generated graphql file
Makes it possible to modify the generated graphql file by codegen.
2023-10-27 20:19:05 +02:00
schroda
1b4497db46 Setup "graphql-codgen" 2023-10-27 20:19:04 +02:00
schroda
ae5d2525f1 Add "apollo-client" dependencies 2023-10-14 01:50:31 +02:00
schroda
4e134768ef Feature/update dependencies (#419)
* Add "syncyarnlock" dependency

* Update dependencies

* Update versions in package.json

* Add script to update dependencies
2023-09-17 23:03:29 +02:00
schroda
bde16d0411 Feature/update dependencies (#410)
* Update non breaking dependencies

* Update dependency "eslint-config-prettier" to v9.x

Update to v9.0.0
2023-08-18 00:28:09 +02:00
schroda
31dca431e4 Feature/use vite with swc (#400)
* Add vite-env.d.ts

Should have been added with bc99728dcd

* Update readmes

* Use vites SWC plugin
2023-08-11 17:30:22 +02:00
schroda
a3d36bdb17 Feature/introduce script to create changelog (#401)
* Introduce script to create a changelog

* Add information about version to server version mapping

* Add release process doc
2023-08-11 17:23:56 +02:00
schroda
a487e47260 Feature/update dependencies (#399)
* Update dependencies with non-breaking changes

* Update dependency "typescript-eslint" to v6.x

Update to v6.2.1

* Update dependencies "prettier" to v3.x

Update prettier to v3.0.1
Update eslint-plugin-prettier to 5.0.0
2023-08-05 17:40:59 +02:00
schroda
83c6851357 Update "react-i18next" to v13.x (#392)
Update to v13.0.1
2023-07-04 21:54:21 +02:00
schroda
5279339b86 Feature/update i18next to v23.x (#391)
* Update i18next to v23.x

Update to version 23.2.7

* Use new "ParseKeys" (old: "TFuncKey") type

* Remove unnecessary casts to string

Not needed anymore with the latest version
2023-07-04 21:53:25 +02:00
schroda
1d76e990ae Move "@types/node" to dev-dependencies (#388) 2023-06-26 20:40:23 +02:00
schroda
0446a01e85 Remove unused dependency "web-vitals" (#353)
Was required by CRA
2023-06-05 01:49:13 +02:00
schroda
bc99728dcd Feature/migrate to vite (#349)
* Install dependencies

* Remove dependency react-scripts

* Remove dependency "@babel/plugin-proposal-private-property-in-object"

Was necessary to prevent a react-scripts warning.

* Update scripts in package.json

* Add vite config

* Move "public/index.html" to root folder

* Remove "%PUBLIC_URL%" occurrences

* Link "src/index.tsx" in "index.html"

* Update tsconfig target to "esnext"

* Target latest LTS node version (v18.16.0)

* Add "@types/node" dependency
2023-06-05 00:58:21 +02:00
schroda
fa614a19d2 Update dependency "typescript" to v5.x (#348)
Update to 5.1.3
2023-06-04 21:42:41 +02:00
schroda
57b1c0f680 Update dependency "eslint" to v8.42.0 (#347) 2023-06-04 21:41:57 +02:00
schroda
61975b5c49 Feature/update dependency react to v18.x (#346)
* Update dependency "react" to v18.x

Update to v18.2.0

* Update dependency "react" to v18.x - Fix some dependency version issue

Something caused weird tsc issues, most likely a version mismatch since it got fixed by doing a clean install (deleting node_modules folder, yarn.lock and clearing the cache) of the dependencies

* Update dependency "react" to v18.x - Fix "i18n" tsc issues

* Update dependency "react" to v18.x - Fix tsc issue

Typography can only have a single child

* Update dependency "react" to v18.x - Prevent build warning

TODO: migrate to Vite

Gets used without being declared as a dependency.
Since CRA is unmaintained this will not get fixed.

* Update dependency "react" to v18.x - Use "createRoot"

* Update dependency "react" to v18.x - Fix dnd in strict mode
2023-06-04 21:40:04 +02:00
schroda
62bf6d66dc Update dependency "react-virtuoso" to v4.x (#345)
Update to v4.3.8
2023-06-04 21:38:41 +02:00
schroda
f2ac73891c Update dependency "file-selector" to v0.6.0 (#344) 2023-06-04 21:37:21 +02:00
schroda
c6f7cd7731 Feature/update dependency web vitals to v3.x (#343)
* Update dependency "@fontsource/roboto" to v5.x

Update to 5.0.2

* Update dependency "web-vitals" to v3.x

Update to 3.3.2
2023-06-04 21:35:39 +02:00
schroda
548b746ee4 Update dependency "@fontsource/roboto" to v5.x (#342)
Update to 5.0.2
2023-06-04 21:33:28 +02:00
schroda
7f4ec7a30c Update dependency "@mui/icons-material" to v5.11.16 (#341) 2023-06-04 21:31:49 +02:00
schroda
4e8813b526 Feature/update dependency react router dom to v6.x (#340)
* Update dependency "react-router-dom" to v6.x

Update to v6.11.2

* Update dependency "react-router-dom" to v6.x - Replace "Switch" with "Routes"

* Update dependency "react-router-dom" to v6.x - Relative paths

* Update dependency "react-router-dom" to v6.x - Nested routes

* Update dependency "react-router-dom" to v6.x - Prevent route warnings

 - Route without an element causes a warning message.
 - Routes with non-matching Route causes a warning message.

* Update dependency "react-router-dom" to v6.x - Replace "useHistory" with "useNavigate"

* Update dependency "react-router-dom" to v6.x - Fix "Link" usage

* Update dependency "react-router-dom" to v6.x - Overwrite "useParams" and "useLocations" typing

For both functions it's the users fault if they are getting used incorrectly.
It's inconvenient to always have to make sure the params exist (useParam) or to cast the return object to a specific type (useLocation)

 - "useParams": Make generic type non-optional
 - "useLocation": Add generic type

* Update dependency "react-router-dom" to v6.x - Fix use-query-params provider
2023-06-04 21:30:15 +02:00
schroda
fd5a1e240a Remove unused dependency "query-string" (#339)
Was required for "use-query-params" pre v2.x
2023-06-04 21:28:28 +02:00
schroda
6b05083d95 Feature/update dependency use query params to v2.x (#338)
* Update dependency "use-query-params" to v2.x

Update to 2.2.1

* Update dependency "use-query-params" to v2.x - Fix provider

Update to 2.2.1
2023-06-04 21:27:09 +02:00
schroda
ce02802888 Update dependency "@emotion" to v11.11.0 (#337) 2023-06-04 21:25:34 +02:00
schroda
c63b4acdf8 Update dependency "i18n" to v22.5.0 (#336) 2023-06-04 21:24:09 +02:00
schroda
31f2e0f839 Update dependency "react-beautiful-dnd" to v13.1.1 (#335) 2023-06-04 21:22:02 +02:00
schroda
8655fe1f6d Update dependency "@typescript-eslint" to v5.59.8 (#334) 2023-06-04 21:16:56 +02:00
schroda
647260f18c Update dependency "prettier" to v2.8.8 (#333) 2023-06-04 21:14:33 +02:00
schroda
1ce27ea939 Feature/update dependency mui to v5.x (#332)
* Update dependency "mui" to v5.x

Update to v5.13.3

Fixes issue of "SxProps" not being exported by "@mui/material"

* Update dependency "mui" to v5.x - Fix grid item size

Update to v5.13.3

Fixes issue of "SxProps" not being exported by "@mui/material"

* Update dependency "mui" to v5.x - Replace "ListItem" with "ListItemButton"

* Update dependency "mui" to v5.x - Fix tsc issue

* Update dependency "mui" to v5.x - Prevent reader white screen

Due to "initialChapter" being a function returning an object, it causes a re-render everytime due to it (the object) being used as a dependency.
This caused a white screen when skipping to the previous or next chapter
2023-06-04 21:13:07 +02:00
schroda
6911f60eb4 Feature/remove dependency mui system (#331)
* Remove duplicated dependency "@mui/system"

Already included in "@mui/material"

* Remove duplicated dependency "@mui/system" - Fix theme "custom" palette

Already included in "@mui/material"

* Remove duplicated dependency "@mui/system" - Fix imports

Already included in "@mui/material"
2023-06-04 21:08:39 +02:00