Commit Graph

80 Commits

Author SHA1 Message Date
schroda
d726793e3d Sanitize tracker summaries
The summaries can include invalid html tags which caused issues when trying to render them since these tags do not exist.

Known issue:
The invalid tags will get escaped, however, when they include a space (e.g. "<Author's Notes>" everything after the space is missing (e.g. will be "<Author's>")
2024-05-13 03:28:46 +02:00
schroda
3bc6777043 [SKIP CI][Tooling] Add script to create translation changelog 2024-05-11 16:25:32 +02:00
schroda
eb72c78acc Update dependencies 2024-05-11 00:42:06 +02:00
schroda
ba3aefc854 Lazy load app routes 2024-04-30 00:39:47 +02:00
schroda
f7e95b6660 Update dependencies 2024-04-26 17:10:53 +02:00
schroda
1626771e92 Apply rtl styling for rtl languages 2024-04-25 19:27:59 +02:00
schroda
52e077ff19 Add chapters download menu 2024-04-20 01:43:06 +02:00
schroda
db65082a09 Version lock dependencies 2024-04-20 00:57:30 +02:00
schroda
ff508b0972 Move dependencies to dev dependencies 2024-04-17 20:02:03 +02:00
schroda
6276da42cf Feature/i18n load resources from backend (#746)
* Load i18n resources from backend

* Move locales to public folder
2024-04-14 17:32:25 +02:00
schroda
76125a7617 Feature/update dependencies (#738)
* [Tooling] Create script to update dependencies

* Lock dependency versions

* Update dependencies

Wait for eslint related dependencies to be compatible with v9
2024-04-14 15:10:34 +02:00
schroda
ecd9b7478b Add range selection (#707) 2024-04-05 02:03:00 +02:00
schroda
dc1a6cbd16 Feature/update dependencies (#685)
* Update dependencies

* Add missing "graphql" peer dependency
2024-03-31 23:34:40 +02:00
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
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
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
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
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
a8f25f58bf Update dependencies (#414) 2023-09-02 17:27:49 +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
46ccf20168 Update dependencies with non-breaking changes (#390) 2023-07-04 21:51:30 +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