Commit graph

62 commits

Author SHA1 Message Date
Aleksi Häkli
da7aa9d41b Update README links 2019-11-07 15:37:39 -05:00
Ken Cochrane
2a5527ac4c bump version to 0.6.2
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2019-06-04 18:02:03 -04:00
Ken Cochrane
1026cf5c6c bumped to 0.6.1
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2019-05-19 14:15:54 -04:00
GTpyro
e3e547dbb8 added new site to list of sites using Defender 2019-03-23 17:31:20 -04:00
Ken Cochrane
c31e812abd Pushed out release 0.6.0 2019-02-09 10:15:53 -05:00
Andrei Baryshnikov
3031deb761 Add possibility to use custom utils.get_username_from_request function (#122)
* Add `DEFENDER_GET_USERNAME_FROM_REQUEST_PATH` setting

This setting allow to override default `get_username_from_request`
function.

* Add `get_username` argument to `watch_login`

To be able to propagate this argument to other utils functions calls

* Minor code-style fixes

* Add example of use of `DEFENDER_GET_USERNAME_FROM_REQUEST_PATH` setting

* Update docs
2018-05-29 10:32:08 -04:00
Ken Cochrane
825afb3209 Released version 0.5.4
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2018-04-10 19:39:20 -04:00
William Boman
250c4d5388 add 2 new setting variables for more granular failure limit control (#113) 2018-04-10 09:22:51 -04:00
William Boman
b546224372 send signals when blocking username or ip (#114) 2018-04-10 09:21:37 -04:00
Ken Cochrane
50e2962fd5 Released 0.5.3
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2018-03-11 16:26:58 -04:00
Ken Cochrane
fcfcd53076
Move mockredis to test requirements. replaces #115 (#119)
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2018-02-20 09:34:14 -05:00
Ken Cochrane
104eda3d03 Added 0.5.2 release details to README.md
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2018-02-19 10:07:14 -05:00
Ken Cochrane
46ff44bd87 Released version 0.5.2
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2018-02-19 09:50:59 -05:00
Daniel Hahler
dff964c226 README: align reverse-proxy settings (#118)
[ci skip]
2018-02-19 09:16:39 -05:00
Ken Cochrane
5451dba099 Bump to 0.5.1 (#95)
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
2017-08-02 14:50:59 -04:00
Ken Cochrane
fc9d51e46a Release 0.5.0 (#88)
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
2017-06-29 09:27:04 -04:00
Francisco Rivera
d2b712eade Taking redis client from django.core.cache (#82)
* new setting that point to an already configured redis client

* taking redis client from django cache setting

* adding informative exception

* dropping django 1.6 support

* dropping django 1.7 support

* adding tests

* removing old coverage stuff + pep8 fixes

* ups, wrong package

* supporting multiple backends

* adding documentation

* dropping python 2.6 support
2017-06-24 19:17:15 -04:00
Israel Saeta Pérez
a59cbca0f6 Add support for Django 1.11 (#79) 2017-06-12 19:10:03 -04:00
Israel Saeta Pérez
11ee7bc233 Doc: BasicAuthenticationDefender should precede other auth classes (#80) 2017-06-12 11:53:12 -04:00
Ken Cochrane
c4f3a61036 Bump for 0.4.3 release (#74)
* Bump for 0.4.3 release

Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>

* updated travis dependencies and fixed issue with 1.10,1.11 tests

Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>

* Added travis settings

Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>

* Revert django 1.11 support

Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2017-04-14 18:30:58 -04:00
Jakub Kuszneruk
079c897203 Example djangorestframework auth method
- sample authentication method described in README
piggyback:
- typo in lockout.html
2017-03-21 11:03:42 -04:00
Ken Cochrane
719ccc6dca updated Django supported versions in README
updated README to show support for Django 1.8.x, and 1.9.x
2016-07-21 18:16:09 -04:00
Karimov Dmitriy
32f60c3f8b Add test_disable_username_lockout 2016-06-20 13:36:02 +05:00
Karimov Dmitriy
d85752970b Add DEFENDER_DISABLE_USERNAME_LOCKOUT 2016-06-20 09:20:47 +05:00
Ken Cochrane
972c670879 bump version to 0.4.2 and django version to 1.9.2 and 1.8.9 2016-02-01 14:53:38 -05:00
Ken Cochrane
6a20dbf671 bump version to 0.4.1 2016-01-25 15:02:15 -05:00
Ken Cochrane
64c5684c12 Added so that you can disable IP lockouts if you want 2015-10-21 16:33:08 -04:00
Ken Cochrane
b7ba33c549 bumped the version to 0.3.2 and made it so it installs easier with django 1.8 2015-06-16 08:41:40 -04:00
mrbaboon
4757528936 Update README.md 2015-05-04 13:40:10 -07:00
Alex White
11cf1da579 Update readme to add DEFENDER_LOCK_OUT_BY_IP_AND_USERNAME documatation
Clean up inconsistent styles
2015-04-30 15:28:24 -07:00
Ken Cochrane
a381060c13 fixed the management command name 2015-03-24 15:29:36 -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
9c50d8e833 added fixes for issue #32, hopefully this closes the security hole that @mmetince found 2015-02-24 18:16:08 -05:00
Harry Rybacki
fcd9576663 Fixed confusing sentence 2015-02-19 16:15:38 -05:00
Ken Cochrane
a61ebab912 uploaded to pypi 2015-02-15 12:59:14 -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
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
333fb2d8ec cleaned up a little remove the ViewDecoratorMiddleware 2015-01-25 22:48:02 -05:00
Marcus Martins
15aff44eaa Add documentation around migrations 2015-01-06 09:28:57 -08:00
Marcus Martins
123e3dc7be Limit django supported versions
Limit the supported version to Django 1.6.x and 1.7.x
2015-01-05 16:57:50 -08:00
Ken Cochrane
193c23573f merge 2015-01-05 15:48:25 -08:00
Ken Cochrane
a2775f4e99 added a section on performance to the readme, tweaked the travis settings 2015-01-04 11:50:58 -05:00
Ken Cochrane
8f8682c48f fixed issue with python3 2015-01-03 16:50:51 -05:00
Ken Cochrane
92c378bf68 Add Celery option for writing to database 2015-01-03 16:33:51 -05:00
Ken Cochrane
a7bc8c0d55 added landscape.io and some fixes it found 2015-01-03 11:09:30 -05:00
Ken Cochrane
7e32eacd97 moved a config out of middleware into config and also updated README 2015-01-03 10:34:19 -05:00
Ken Cochrane
e0393bb2eb added unit test for custom lockout template 2015-01-02 15:43:38 -05:00