Commit graph

101 commits

Author SHA1 Message Date
Ken Cochrane
76c554ee6e Merge pull request #37 from kencochrane/add_management_command
Add management command
2015-03-24 14:21:14 -04:00
Ken Cochrane
fb095e4ca9 cleaned up some landscape.io warnings 2015-03-20 11:09:45 -04:00
Ken Cochrane
8ef0420b23 added management command 2015-03-20 10:10:07 -04:00
Ken Cochrane
47d6a71825 fixed issues #15 #35 and #36, added way to clean up access attempt table, as well as an option to not login attempts. Also speed up django admin pages 2015-03-20 10:09:39 -04:00
Ken Cochrane
231db4a633 fixed issue with templates not getting added to pypi package 2015-03-03 09:44:07 -05:00
Ken Cochrane
fa556256e0 update readme 2015-02-26 12:43:15 -05:00
Ken Cochrane
83201c104f bump the version to 0.2.1 2015-02-26 12:42:47 -05:00
Ken Cochrane
6e04cb4760 Merge pull request #34 from tclancy/master
Add dependency on mockredis
2015-02-26 12:40:55 -05:00
Tom Clancy
1d11fe27c7 Wrong library 2015-02-26 11:25:42 -05:00
Tom Clancy
d131424aa5 Add dependency on mockredis 2015-02-26 11:22:47 -05:00
Ken Cochrane
c45354dd18 Merge pull request #33 from kencochrane/32_fix
Added fix for issue #32 changed the way we handle HTTP headers
2015-02-25 13:54:00 -05:00
Ken Cochrane
1816365ed7 fixed missing package_data 2015-02-25 11:22:19 -05:00
Ken Cochrane
ea7a8cde06 bumped the django versions on travis, and added a fix to get_ip() 2015-02-25 10:03:05 -05:00
Ken Cochrane
fd4f58a20c took marcus's advice and used the built in django validator 2015-02-24 22:02:06 -05:00
Ken Cochrane
2f6afbdb6e added ipv6 addresses to the test, and updated the ipv6 regex to something that worked better 2015-02-24 21:52:10 -05:00
Ken Cochrane
9c50d8e833 added fixes for issue #32, hopefully this closes the security hole that @mmetince found 2015-02-24 18:16:08 -05:00
Ken Cochrane
f95874d22d Merge branch 'master' of github.com:kencochrane/django-defender 2015-02-24 15:31:13 -05:00
Ken Cochrane
8e6036d56b updated setup.py to fix error 2015-02-24 15:31:01 -05:00
Ken Cochrane
a32584b5ee Merge pull request #30 from HarryRybacki/patch-1
Fixed confusing sentence
2015-02-19 16:28:37 -05:00
Harry Rybacki
fcd9576663 Fixed confusing sentence 2015-02-19 16:15:38 -05:00
Ken Cochrane
f970e41aa3 Merge pull request #29 from kencochrane/empty_username_fix
uploaded to pypi
2015-02-15 12:59:49 -05:00
Ken Cochrane
a61ebab912 uploaded to pypi 2015-02-15 12:59:14 -05:00
Ken Cochrane
dacb37afb8 Merge pull request #28 from kencochrane/empty_username_fix
add a fix so that we don't block an empty IP or username
2015-02-02 08:20:53 -05:00
Ken Cochrane
88c388ec42 add a fix so that we don't block an empty IP or username 2015-02-01 10:17:10 -05:00
Ken Cochrane
8ee8f3cd7b Merge pull request #27 from kencochrane/bug-fix-josh
fixing an issue @jlhawn found, we should only block if we are over the l...
2015-01-30 19:46:58 -05:00
Ken Cochrane
87945f97ee fixing an issue @jlhawn found, we should only block if we are over the limit 2015-01-29 20:02:35 -05:00
Ken Cochrane
58daedcd05 Merge pull request #25 from kencochrane/new-admin
initial commit, adding admin pages to manage blocked users
2015-01-29 08:39:14 -05:00
Ken Cochrane
389ae2d91f locked down the defender views 2015-01-29 08:22:29 -05:00
Ken Cochrane
d0a23a71ba updated lockout.html template 2015-01-29 08:15:38 -05:00
Ken Cochrane
130f696a7e added new context variable to lockout template 2015-01-29 08:10:19 -05:00
Ken Cochrane
b50b05f1d2 Merge branch 'master' into new-admin 2015-01-28 20:21:41 -05:00
Ken Cochrane
df09c32987 Merge pull request #24 from kencochrane/cleanuo
cleaned up a little remove the ViewDecoratorMiddleware
2015-01-28 20:21:19 -05:00
Ken Cochrane
12698d7d54 finished working on the defender admin, cleaned some stuff up, added some notes and screenshots 2015-01-28 20:19:16 -05:00
Ken Cochrane
db3eea99cc initial commit, adding admin pages to manage blocked users 2015-01-27 18:06:56 -05:00
Ken Cochrane
a6eb683ea1 more cleanup 2015-01-26 10:56:25 -05:00
Ken Cochrane
333fb2d8ec cleaned up a little remove the ViewDecoratorMiddleware 2015-01-25 22:48:02 -05:00
Ken Cochrane
10d6b50f09 Merge pull request #22 from marcusmartins/test_utils
Provide helper TestCases to be used with Defender
2015-01-12 16:42:05 -05:00
Marcus Martins
95eac511eb Provide helper TestCases to be used with Defender
Provide TransactionTestCase and TestCase that clear the
defender cache between runs.
2015-01-12 13:28:33 -08:00
Ken Cochrane
996e1cd68e Merge pull request #21 from marcusmartins/better_test_coverage
refactor is_already_locked and add better test coverage
2015-01-12 16:00:45 -05:00
Marcus Martins
103e29a437 Add compatibility for python 2.6 2015-01-12 09:53:40 -08:00
Marcus Martins
351148b239 refactor is_already_locked and add better test coverage
Simplify the is_already_locked code and make sure
that we're testing that code better.
2015-01-12 09:42:38 -08:00
Ken Cochrane
a0d94d5220 Merge pull request #19 from marcusmartins/mock_redis_outside_tests
Allow redis connections to be mocked outside tests
2015-01-08 17:10:18 -05:00
Marcus Martins
d72e32cfc1 Allow redis connections to be mocked outside tests
Use a mocked instance of redis outside tests so we can use it
on django projects.
2015-01-08 12:56:33 -08:00
Ken Cochrane
2a1ab5c7ac Merge pull request #18 from marcusmartins/migrations
Add Migrations
2015-01-06 12:44:26 -05:00
Marcus Martins
15aff44eaa Add documentation around migrations 2015-01-06 09:28:57 -08:00
Marcus Martins
345077725d Add support for migrations under South and Django 1.7 2015-01-05 18:40:29 -08:00
Ken Cochrane
b8bd4bc4c6 Merge pull request #17 from marcusmartins/package_improvements
Support django 1.6 and django 1.7
2015-01-05 18:06:31 -08:00
Marcus Martins
43d91ef694 Fix tests for Django 1.7 2015-01-05 17:47:57 -08:00
Marcus Martins
0454bf741a Adding unicode support for python3 2015-01-05 17:20:24 -08:00
Marcus Martins
e78016c075 Don't build django 1.7 with python 2.6 2015-01-05 17:08:13 -08:00