Commit graph

529 commits

Author SHA1 Message Date
Aleksi Häkli
d08aaa5602
Merge pull request #315 from markddavidoff/add-middleware
use an authentication backend to check if user is locked out.
2018-04-11 20:02:29 +03:00
Mark Davidoff
07a9adb8f9
Fix link 2018-04-09 16:34:55 -04:00
Camilo Nova
c0f636eac9
Merge pull request #320 from junquera/patch-1
Update usage.rst
2018-04-09 11:15:16 -05:00
Javier Junquera Sánchez
ef75697ff8
Update usage.rst
Without `axes_dispatch` decorator, it doesn't lock users.
2018-04-09 09:48:56 +02:00
Mark Davidoff
63e571fb38 updated docs 2018-04-07 11:50:16 -07:00
Mark Davidoff
c8acf69eab change ValueError to specific Exception 2018-04-07 11:41:42 -07:00
Mark Davidoff
d8cbb42620 add a check to make sure request is not None 2018-04-06 16:01:34 -07:00
Mark Davidoff
8580c404e3 add an authentication backend to check if user is locked out. 2018-04-06 16:01:23 -07:00
Camilo Nova
3a2fb80884
Merge pull request #314 from markddavidoff/upgrade_get_ip_func
switch get_ip calls to use newer non-deprecated get_client_ip method
2018-03-13 17:40:34 -05:00
Mark Davidoff
c89a48f2aa switch get_ip calls to use newer non-deprecated get_client_ip method 2018-03-13 09:39:19 -07:00
Camilo Nova
69e58d0d3a
Merge pull request #310 from jazzband/development
Release 4.1.0
2018-02-19 08:38:05 -05:00
Aleksi Häkli
27d787fdd6
Bump version to 4.1.0 2018-02-18 13:59:07 +02:00
Aleksi Häkli
5c8d611d96 Update development docs to use tox as test runner 2018-02-18 13:58:06 +02:00
Aleksi Häkli
da18e80569 Clean up quotes styling 2018-02-18 13:58:06 +02:00
Aleksi Häkli
71a7a98529 Clean up apps setup errors and remove obsolete comments 2018-02-18 13:52:26 +02:00
Aleksi Häkli
0083b5027f Factor cache test to test for custom cache backend 2018-02-18 13:51:43 +02:00
Aleksi Häkli
e69a021b78 Remove redundant manage.py file 2018-02-18 13:51:10 +02:00
Camilo Nova
b83bdad71d
Merge pull request #309 from jazzband/merlin
Add AXES_CACHE setting
2018-02-17 14:36:57 -05:00
JWvDronkelaar
a8b53667ed Ready check now considers AXES_CACHE setting 2018-02-17 16:06:27 +02:00
JWvDronkelaar
0345245e32 Update docs to include AXES_CACHE setting 2018-02-17 16:06:27 +02:00
JWvDronkelaar
a88750c144 Added AXES_CACHE setting for specifying axes cache
DummyCache can be used to disable caching
2018-02-17 16:06:27 +02:00
Aleksi Häkli
124e519ac9
Merge pull request #308 from pawl-bb/master
add axes_reset_user command to the docs
2018-02-16 08:51:03 +02:00
Paul Brown
596a70322c add axes_reset_user command to the docs 2018-02-15 16:33:39 -06:00
Camilo Nova
dea590b5ad
Merge pull request #303 from jazzband/cache
Add default cache backend checks to avoid incorrect axes behaviour
2018-02-10 09:08:57 -05:00
Aleksi Häkli
0afe300e41 Add default cache backend checks to avoid incorrect axes behaviour 2018-02-09 18:30:26 +02:00
Aleksi Häkli
a3177dc6ca
Merge pull request #301 from charleswhchan/charleswhchan-patch-1
Update conf.py to match latest release version
2018-02-03 13:34:12 +02:00
Charles Chan
6e9a91aa0c
Update conf.py to match latest release version
Update the version displayed in the title of http://django-axes.readthedocs.io/en/latest/installation.html
2018-02-01 21:53:07 -08:00
Aleksi Häkli
bc8672cb69
Bump version
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-01-19 17:40:29 +02:00
Camilo Nova
e2beace47e
Merge pull request #294 from grucha/docs_allauth
docs updated with instructions on allauth integration
2018-01-19 09:12:30 -05:00
Camilo Nova
ef7c5d5e73
Merge pull request #296 from jazzband/windows
Fix inet_pton can't be imported on windows
2018-01-19 09:11:54 -05:00
Camilo Nova
95b1e79116
Merge pull request #293 from jazzband/doc
Refactor caching and related documentation
2018-01-19 09:10:59 -05:00
Aleksi Häkli
4c67d4187f
Update documentation
Clean up syntax for allauth examples
2018-01-15 13:06:53 +02:00
hsiao yi
2844d65092
Fix inet_pton can't be imported on windows 2018-01-15 12:54:58 +02:00
Sylwester Gruszka
268f7d8a3b docs instructions on allauth integration 2018-01-14 22:10:53 +01:00
Aleksi Häkli
faf62867e5
Add documentation on known LocMemCache problems
Signed-off-by: Aleksi Häkli <aleksi.hakli@vincit.fi>
2018-01-14 22:54:58 +02:00
Aleksi Häkli
44cb07814e
Refactor AccessAttempt reset utility
Remove cache key deletion because cache resets
are already done in the delete_cache_after_delete
signal handler after AccessAttempt object deletion

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-01-14 12:47:48 +02:00
Camilo Nova
918f040dd7 Bump version 2017-12-19 08:19:41 -05:00
Camilo Nova
87ca98250f Use setting instead of model field 2017-12-19 08:15:25 -05:00
Camilo Nova
02d882ba6b Bump version 2017-12-18 18:22:08 -05:00
Camilo Nova
598c4b8180 Remove non needed settings 2017-12-18 18:18:09 -05:00
Camilo Nova
21603414e7
Merge pull request #282 from kakulukia/master
Added support for custom username field
2017-12-18 16:31:26 -05:00
kakulukia
14c1fa6bfa
got the wrong line there :( 2017-12-18 14:28:23 +01:00
kakulukia
1542033f54
no try catch as requested 2017-12-18 14:16:16 +01:00
Camilo Nova
9ecbf4cf63
Merge pull request #280 from jazzband/django-ipware
Added django-ipware. Fixes #275
2017-12-18 07:59:46 -05:00
Camilo Nova
c1c7caf348
Merge branch 'master' into django-ipware 2017-12-18 07:59:12 -05:00
Camilo Nova
b19a91b0d2
Merge pull request #281 from pckapps/patch-1
Customizing Axes doc updated
2017-12-18 07:53:57 -05:00
kakulukia
c1981f3427
Added support for custom username field
This adds the ability to also use other fields like email as the username field.
2017-12-15 22:51:21 +01:00
pckapps
fa47139c0e
Customizing Axes doc updated
AXES_PASSWORD_FORM_FIELD setting description added.
Defaults added for AXES_DISABLE_ACCESS_LOG and AXES_DISABLE_SUCCESS_ACCESS_LOG
2017-12-15 11:42:30 +02:00
Camilo Nova
da0c4b429a Added django-ipware 2017-12-13 14:35:19 -05:00
Camilo Nova
6945880ea2
Merge pull request #278 from eschercode/hotfix/issue-272
Fix #272 which was erroneously closed.
2017-12-11 09:51:26 -05:00