diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-24 22:49:31 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-24 22:49:31 +0300 |
commit | 3cefc5d7df09dbc21cd9c892bc6c62b5b583ca6a (patch) | |
tree | 2e996ca71e4e16c74f1be94d1f7143ac3e49dad6 /locale | |
parent | b70dbabb6373e7624e3bcb7a6d78049621db891c (diff) |
Add RateLimiter to RawController
* Limits raw requests to 300 per minute and per raw path.
* Add a new attribute to ApplicationSettings so user can change this
value on their instance.
* Uses Gitlab::ActionRateLimiter to limit the raw requests.
* Add a new method into ActionRateLimiter to log the event into auth.log
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/48717
Diffstat (limited to 'locale')
-rw-r--r-- | locale/gitlab.pot | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 1f622db8bd7..cbab027d4a3 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -5298,6 +5298,9 @@ msgstr[1] "" msgid "Hide values" msgstr "" +msgid "Highest number of requests per minute for each raw path, default to 300. To disable throttling set to 0." +msgstr "" + msgid "Highest role:" msgstr "" @@ -8717,6 +8720,9 @@ msgstr "" msgid "Rake Tasks Help" msgstr "" +msgid "Raw blob request rate limit per minute" +msgstr "" + msgid "Read more" msgstr "" @@ -12442,6 +12448,9 @@ msgstr "" msgid "You can test your .gitlab-ci.yml in %{linkStart}CI Lint%{linkEnd}." msgstr "" +msgid "You cannot access the raw file. Please wait a minute." +msgstr "" + msgid "You cannot impersonate a blocked user" msgstr "" |