Commit graph

485 commits

Author SHA1 Message Date
Brian Kephart
4cc8d7d854
Support ActiveSupport::RedisCacheStore 2018-06-19 13:39:43 -03:00
Gonzalo Rodriguez
d831f2490e
Acceptance test RedisCacheStore as a store backend doesn't leak keys 2018-06-19 12:12:45 -03:00
Gonzalo Rodriguez
8f3bf216db
Acceptance test MemCacheStore as a store backend doesn't leak keys 2018-06-19 11:37:08 -03:00
Gonzalo Rodriguez
1942ab39ca
Merge pull request #343 from grzuy/acceptance_test_stores
Acceptance test use of ActiveSupport::Cache::MemCacheStore
2018-05-21 09:58:35 -03:00
Gonzalo Rodriguez
e312f006b6
Merge pull request #344 from grzuy/clear_configuration
Avoid user confusion by renaming .clear! to .clear_configuration
2018-05-21 09:58:03 -03:00
Gonzalo Rodriguez
a99722bf4b
Avoid user confusion by renaming .clear! to .clear_configuration 2018-05-18 18:23:59 -03:00
Gonzalo Rodriguez
379cd39dc9
Acceptance test use of ActiveSupport::Cache::MemCacheStore 2018-05-18 14:10:07 -03:00
Gonzalo Rodriguez
cf672d60c1
Merge pull request #341 from grzuy/acceptance_test_redis_cache_store
Acceptance test use of ActiveSupport::Cache::RedisCacheStore
2018-05-18 11:17:33 -03:00
Gonzalo Rodriguez
8ca804e668
Acceptance test use of ActiveSupport::Cache::RedisCacheStore 2018-05-17 13:44:52 -03:00
Gonzalo Rodriguez
0476778a8a
Merge pull request #339 from brian-kephart/defined
Replace `const_defined?` with `defined?`
2018-05-15 10:51:25 -03:00
Brian Kephart
b5b4164967 replace const_defined? with defined? 2018-05-13 17:45:12 -05:00
Gonzalo Rodriguez
863cfe4057
Merge pull request #338 from grzuy/rubocop
Enable more codestyle checks
2018-04-17 21:28:37 -04:00
Gonzalo Rodriguez
52ec80692d
Enable Lint rubocop cops 2018-04-17 16:27:56 -04:00
Gonzalo Rodriguez
d01c3e61d4
Enforce every rack-attack contributor runs same rubocop version 2018-04-17 16:00:00 -04:00
Gonzalo Rodriguez
9faf6cd32b
Enable Security rubocop cops 2018-04-17 14:16:17 -04:00
Gonzalo Rodriguez
ef24d262c8
Enable Performance rubocop cops 2018-04-17 14:13:35 -04:00
Gonzalo Rodriguez
29424fb993
Enable Gemspec rubocop cops
Run rubocop against oldest supported ruby
2018-04-17 14:08:00 -04:00
Gonzalo Rodriguez
4491e32180
Enable Bundler rubocop cops 2018-04-17 01:03:13 -04:00
Gonzalo Rodriguez
bbc300a08f
Merge pull request #337 from grzuy/rails_5-2
Officially support rails 5.2
2018-04-10 15:34:17 -03:00
Gonzalo Rodriguez
8a6bb6bc5e
Drop support for rails 5.0, it's an unmaintained series now 2018-04-10 11:43:46 -04:00
Gonzalo Rodriguez
2e9eb6716f
Don't allow failures against rails 5.2, it's out now 2018-04-10 11:02:17 -04:00
Gonzalo Rodriguez
fec4f322d2
Merge pull request #336 from grzuy/test_against_rack_1_6
[Fixes #329] Be explicit about testing against supported rack versions
2018-04-10 12:01:33 -03:00
Gonzalo Rodriguez
a8200ea95a
Explicitly test against supported rack versions 2018-04-10 10:35:14 -04:00
Gonzalo Rodriguez
e7792aadd7
Remove obsolete piece of autogenerated appraisal gemfile 2018-04-10 10:33:26 -04:00
Spencer Norman
f56967f923 fixed spelling issue, returna to return (#334)
* fixed spelling issue, returna to returns

* fixed the spelling properly this time, returns to return
2018-04-06 10:19:53 -03:00
Gonzalo Rodriguez
63e330f794
Merge pull request #333 from lmansur/style-guide-in-contributing-guide
[Fixes #302] Add a section on Style Guide in the CONTRIBUTING file
2018-04-04 18:13:48 -03:00
Lucas Mansur
a6158b4358 Add a section on Style Guide in the CONTRIBUTING guide 2018-03-30 16:30:43 -03:00
Lucas Mansur
11e9557ccb [Fixes #302] Initial style guide adoption (#330)
* Initial Rubocop configuration

* Fix Rubocop layout offenses for lib

* Fix some spec offenses

* Fix leftover layout offenses
2018-03-30 16:08:00 -03:00
Gonzalo Rodriguez
f995958f18
Merge pull request #331 from grzuy/contributing_doc
[Fixes #321] Provide some advice for users willing to contribute to the project
2018-03-30 15:47:56 -03:00
Gonzalo Rodriguez
2d6ad830ac
docs: provide some advice for users willing to contribute to the project 2018-03-30 15:29:16 -03:00
Gonzalo Rodriguez
4a36d54f00
Merge pull request #326 from grzuy/changelog_fix
Update CHANGELOG
2018-03-29 16:17:27 -03:00
Gonzalo Rodriguez
b74aa89f1d
Merge pull request #328 from koenrh/https-all-the-things
[Fixes #327] Update all non-secure HTTP URLs to HTTPS
2018-03-29 15:56:56 -03:00
Gonzalo Rodriguez
8cbd64c0e9
Update CHANGELOG after 5.2.0 release 2018-03-29 15:32:50 -03:00
Gonzalo Rodriguez
9239c161ba
Merge pull request #325 from grzuy/update_travis_ci_rubies
Update TravisCI rubies
2018-03-29 15:30:11 -03:00
Koen Rouwhorst
0457bf22f9 Updated all non-secure HTTP URLs to HTTPS. 2018-03-29 18:41:40 +02:00
Gonzalo Rodriguez
389287f060
Bump version to 5.2.0 2018-03-29 12:24:37 -03:00
Gonzalo Rodriguez
cf3528e04f
Clarify in the CHANGELOG exact ruby version affected 2018-03-29 11:44:30 -03:00
Gonzalo Rodriguez
4c1aa8b312
[Fixes #318] Attempt to improve README a bit (#323)
* docs: Improve Getting Started section

* docs: Following Getting Started show Usage to the README reader

* docs: Move the configuration tip to the Usage section

* docs: Move the cache store configuration comment to Usage

* docs: Clarify Responses title

* docs: allow2ban also uses the cache store

* docs: Improve Usage docs for blocking, safelisting and throttling

* docs: Don't give the impression that the gem is not being maintained when it actually is

* docs: Be a bit more clear about cache store in README

* docs: Attempt to be a bit more concise in the README intro

* docs: Clarify sentence
2018-03-29 11:42:27 -03:00
Gonzalo Rodriguez
b8c85ab2d0
Update TravisCI rubies 2018-03-29 11:38:27 -03:00
Gonzalo Rodriguez
644ca8ff55
Merge pull request #320 from grzuy/common_shorthands
Provide shorthands for block/safelisting IPs and subnets
2018-03-27 17:15:06 -03:00
Gonzalo Rodriguez
62aca946b5
Require ipaddr so it works on ruby < 2.5 2018-03-26 18:53:32 -03:00
Gonzalo Rodriguez
e907cc6b83
Provide shorthand to safelist an entire IP subnet 2018-03-26 18:00:02 -03:00
Gonzalo Rodriguez
27aab72d49
Provide shorthand to safelist an IP 2018-03-26 17:51:40 -03:00
Gonzalo Rodriguez
aec03047c5
Provide shorthand to blocklist an entire IP subnet 2018-03-26 17:35:41 -03:00
Gonzalo Rodriguez
dccce4ee3d
Provide shorthand to blocklist an IP 2018-03-26 17:33:58 -03:00
Gonzalo Rodriguez
a2fdd42edc
Merge pull request #319 from grzuy/acceptance_test_notifications
Acceptance test ability to subscribe to notifications
2018-03-26 17:30:45 -03:00
Gonzalo Rodriguez
4862ca5a00
Acceptance test ability to subscribe to safelisting events 2018-03-26 16:20:51 -03:00
Gonzalo Rodriguez
576a97c2a5
Acceptance test ability to subscribe to throttling events 2018-03-26 16:16:44 -03:00
Gonzalo Rodriguez
21fe32b895
Acceptance test ability to subscribe to blocking events 2018-03-26 16:00:32 -03:00
Gonzalo Rodriguez
7435d4da34
Merge pull request #315 from grzuy/help_debug_cache_issues
Give clearer error message for misconfigured cache store for allow/fail2ban
2018-03-23 16:35:16 -03:00