From 65771d66fc704c4daac9c36f2b06597377e20733 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 5 Dec 2023 03:34:40 +0800 Subject: [PATCH] Update Readme for WebUI PR #20077. --- .pre-commit-config.yaml | 2 +- src/webui/www/README.md | 35 ++++++++++++++++++++++++----------- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e10d3e94c..711d09596 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -67,7 +67,7 @@ repos: hooks: - id: codespell name: Check spelling (codespell) - args: ["--ignore-words-list", "additionals,curren,fo,ket,superseeding,te,ths"] + args: ["--ignore-words-list", "additionals,curren,fo,ist,ket,superseeding,te,ths"] exclude: | (?x)^( .*\.desktop | diff --git a/src/webui/www/README.md b/src/webui/www/README.md index 9422da5b9..bafce40b0 100644 --- a/src/webui/www/README.md +++ b/src/webui/www/README.md @@ -3,16 +3,29 @@ qBittorrent Web UI ### Browser compatibility -| Browser | Lower bound | -| ----------------- | -------------------------------------------------- | -| Chrome | [The release from 1 year ago][Chrome-history-link] | -| Firefox | [Oldest active ESR release][Firefox-ESR-link] | -| Microsoft Edge | [The release from 1 year ago][MSEdge-history-link] | -| Safari | [The release from 1 year ago][Safari-history-link] | - The upper bound will always be the latest stable release. -[Chrome-history-link]: https://en.wikipedia.org/wiki/Google_Chrome_version_history -[Firefox-ESR-link]: https://en.wikipedia.org/wiki/Firefox_version_history#Current_and_future_releases -[MSEdge-history-link]: https://en.wikipedia.org/wiki/Microsoft_Edge#Release_history -[Safari-history-link]: https://en.wikipedia.org/wiki/Safari_version_history +| Browser | Lower bound | +| ----------------- | ------------------------------------------------------ | +| Chrome | [The release from 1 year ago][Chrome-lower-bound-link] | +| Firefox | [Latest active ESR release][Firefox-ESR-link] | +| Microsoft Edge | [The release from 1 year ago][MSEdge-lower-bound-link] | +| Safari | [The release from 1 year ago][Safari-lower-bound-link] | + +[Supported browsers table](https://browsersl.ist/?results#q=Chrome+%3E+0+and+last+1+year%0AEdge+%3E+0+and+last+1+year%0AFirefox+ESR%0ASafari+%3E+0+and+last+1+year) + +[Chrome-lower-bound-link]: https://browsersl.ist/?results#q=Chrome+%3E+0+and+last+1+year +[Firefox-ESR-link]: https://browsersl.ist/?results#q=Firefox+ESR +[MSEdge-lower-bound-link]: https://browsersl.ist/?results#q=Edge+%3E+0+and+last+1+year +[Safari-lower-bound-link]: https://browsersl.ist/?results#q=Safari+%3E+0+and+last+1+year + +### Notices + +* The [MooTools library][mootools-home] has seen [little maintenance][mootools-code-frequency] and therefore + its usage is [discouraged][mootools-deprecate]. \ + New code should prefer vanilla JavaScript and resort to MooTools only if necessary. \ + See also: [CVE-2021-20088](https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-20088) + +[mootools-home]: https://mootools.net/ +[mootools-code-frequency]: https://github.com/mootools/mootools-core/graphs/code-frequency +[mootools-deprecate]: https://github.com/mootools/mootools-core/issues/2798