42 Commits (th-downstream)

Author SHA1 Message Date
Kouhai c97bffb054 th: ENV['TH_DEACTIVATE_DANGEROUS_THROTTLES'] (pls don't use)
10 months ago
Kouhai 566b41cc3b th: ENV['TH_DEACTIVATE_THROTTLES']
10 months ago
Kouhai 569931db6f th: revert throttles
10 months ago
Kouhai d1559d4dee th: renamed to TH_DEACTIVATE_AUTHED_THROTTLES + TH_DEACTIVATE_UNAUTHED_API_THROTTLES
10 months ago
Kouhai f50dc0b28f th: no more throttles for auth'd users
10 months ago
Nick Schonning 85db392464
Autofix Rubocop cops for config/ (#24145)
1 year ago
Matt Jankowski 2e1391fdd2
Fix `Naming/MemoizedInstanceVariableName` cop (#25928)
1 year ago
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules (#23690)
1 year ago
Nick Schonning cee4369cf5
Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#25002)
2 years ago
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 (#24237)
2 years ago
Eugen Rochko c6ef56fd5e
Change rate limits to 1,500/5m per user, 300/5m per app (#23347)
2 years ago
Eugen Rochko 21fd25a269
Fix rate limiting for paths with formats (#20675)
2 years ago
dependabot[bot] 46ad7fea9d
Bump rack-attack from 6.5.0 to 6.6.0 (#17405)
3 years ago
Claire 8603a07504
Fix error when trying to register (#17600)
3 years ago
zunda f9e7f2e409
Avoid return within block (#17590)
3 years ago
Jeong Arm 1de2e3f980
Throttle IPv6 signup for subnet (#17588)
3 years ago
Jeong Arm ea61d3acd6
Fix media API limit (#17272)
3 years ago
Eugen Rochko ee1119208c
Add `POST /api/v1/emails/confirmations` to REST API (#15816)
4 years ago
luigi eb51e43fb4
Optimize some regex matching (#15528)
4 years ago
Eugen Rochko 5e1364c448
Add IP-based rules (#14963)
4 years ago
Eugen Rochko 81a3db1564
Change rate limits for various paths (#14253)
4 years ago
Eugen Rochko 9241cbf861
Fix re-sending of e-mail confirmation not being rate limited (#13360)
5 years ago
Eugen Rochko 339ce1c4e9
Add specific rate limits for posting and following (#13172)
5 years ago
Eugen Rochko 09d54d1f62
Fix uncaught query param encoding errors (#12741)
5 years ago
Yamagishi Kazutoshi 4e1b742cb2 Change rate limit for media proxy (#11814)
5 years ago
Hinaloe b793722d7d Fix undefined method error (#10868)
6 years ago
mayaeh afb17b7045 Fix undefined method error. (#10867)
6 years ago
ThibG 0e9b8be18a Improve rate limiting (#10860)
6 years ago
Eugen Rochko 0e8819f0e8
Add rate limit for media proxy requests (#10490)
6 years ago
Eugen Rochko 99fa1ce93d
Add tight rate-limit for API deletions (#10042)
6 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
6 years ago
aus-social 0a4739c732 lint pass 2 (#8878)
6 years ago
Akihiko Odaki a7e71bbd08 Add a missing question mark in rack_attack.rb (#7338)
7 years ago
Akihiko Odaki b1d4471e36 Throttle media post (#7337)
7 years ago
Eugen Rochko 921b781909
Increase rate limit on protected paths (#6229)
7 years ago
Eugen Rochko feed07227b
Apply a 25x rate limit by IP even to authenticated requests (#5948)
7 years ago
Naoki Kosaka 4bce376fdc Missing require 'authorization_decorator'. (#5947)
7 years ago
Eugen Rochko a865b62efc
Rate limit by user instead of IP when API user is authenticated (#5923)
7 years ago
unarist b42c018bb8 Add Content-Type header on throttled response to fix mojibake (#4558)
7 years ago
alpaca-tc db92eec876 Localize 'throttled' (#2755)
8 years ago
Tristan Mahé 964035b118 allow localhost to bypass the ratelimit (#2554)
8 years ago
Eugen ff5baa5349 Add rate limits for logins and sign-ups by IP (5 in 5 minutes) (#2079)
8 years ago