From 94bceaa84d285d911e5fc456ab5d1ffc01248139 Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Wed, 15 Nov 2023 19:27:13 +0300 Subject: [PATCH] Pull request 2065: 6369-ratelimit-settings-ui Closes #6369. Co-authored-by: IldarKamalov Squashed commit of the following: commit efc824667a88765d5a16984fd17ecda2559f2b1e Author: Stanislav Chzhen Date: Wed Nov 15 19:10:47 2023 +0300 all: imp docs commit 9ec59b59000f005006ea231071329a586d9889ac Author: Stanislav Chzhen Date: Wed Nov 15 17:21:03 2023 +0300 dnsforward: imp err msg commit d9710dfc1dcf74d5ee8386b053d7180316f21bce Author: Stanislav Chzhen Date: Wed Nov 15 15:33:59 2023 +0300 all: upd chlog commit 29e868b93b15cfce5faed4d0c07b16decbce52f9 Merge: 1c3aec9f1 ebb06a583 Author: Stanislav Chzhen Date: Wed Nov 15 15:26:32 2023 +0300 Merge branch 'master' into 6369-ratelimit-settings-ui commit 1c3aec9f1478f71afa4d0aa9ba1c454e9d98b8db Author: Stanislav Chzhen Date: Tue Nov 14 21:21:22 2023 +0300 dnsforward: imp docs commit 486bf86e5a2b51b6014a231386337a2d1e945c23 Author: Ildar Kamalov Date: Mon Nov 13 09:57:21 2023 +0300 fix linter commit aec088f233737fdfa0e7086148ceb79df0d2e39a Author: Ildar Kamalov Date: Sun Nov 12 16:13:46 2023 +0300 client: validate rate limit subnets commit d4ca4d3a604295cdfaae54e6e461981233eabf3e Author: Stanislav Chzhen Date: Fri Nov 10 20:08:44 2023 +0300 dnsforward: imp code commit 5c11a1ef5c6fcc786d8496b14b9b16d1de1708cd Author: Stanislav Chzhen Date: Fri Nov 10 15:07:56 2023 +0300 all: ratelimit settings --- CHANGELOG.md | 5 + client/src/__locales/en.json | 10 + client/src/actions/dnsConfig.js | 4 + .../components/Settings/Dns/Config/Form.js | 67 +++++++ .../components/Settings/Dns/Config/index.js | 6 + client/src/helpers/constants.js | 4 + client/src/helpers/validators.js | 24 +++ client/src/reducers/dnsConfig.js | 2 + internal/dnsforward/http.go | 181 +++++++++++++++--- internal/dnsforward/http_test.go | 40 ++-- .../TestDNSForwardHTTP_handleGetConfig.json | 9 + .../TestDNSForwardHTTP_handleSetConfig.json | 155 +++++++++++++++ openapi/CHANGELOG.md | 19 ++ openapi/openapi.yaml | 17 ++ 14 files changed, 500 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02ba3bfa..439afa36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,12 +23,17 @@ See also the [v0.107.42 GitHub milestone][ms-v0.107.42]. NOTE: Add new changes BELOW THIS COMMENT. --> +### Added + +- Ability to specify rate limiting settings in the Web UI ([#6369]). + ### Fixed - Pre-filling the New static lease window with data ([#6402]). - Protection pause timer synchronization ([#5759]). [#5759]: https://github.com/AdguardTeam/AdGuardHome/issues/5759 +[#6369]: https://github.com/AdguardTeam/AdGuardHome/issues/6369 [#6402]: https://github.com/AdguardTeam/AdGuardHome/issues/6402