Commit graph

517 commits

Author SHA1 Message Date
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
Andrew Meares
c1d360e919 Make usage cases (using django.contrib.auth's signals) explicit,
and also detail how version 3 works, so that previous version 2
users who expect the `watch_login` decorator aren't confused.
Issue #272 was opened due to incorrect documentation. Unfortunately,
the relevant documentation file was deleted rather than updated,
and the issue was closed. This commit is intended to fix the missing
documentation.
2017-12-10 12:47:41 +01:00
Camilo Nova
7504ef6761
Remove filtering by username
It became a problem when having more than 100 users.
2017-12-06 08:35:44 -05:00
Camilo Nova
86a23cc10b
Merge pull request #274 from D3X/fix-lockout-logging
Fixed logging failed attempts using a custom authenication backend.
2017-12-05 08:52:03 -05:00
Michał Bielawski
aea82ca073
Changed the log level to error. 2017-12-05 11:10:37 +00:00
Michał Bielawski
4b7a591f75 Fixed logging failed attempts to authenticate using a custom authentication backend. 2017-11-30 02:15:10 +00:00
Camilo Nova
e40d28ff41 Bump version 2017-11-23 17:23:47 -05:00
Camilo Nova
01cc28360c Removed outdated documentation. Fixes #272 2017-11-23 17:21:21 -05:00
Camilo Nova
ba54a857b2
Merge pull request #271 from pope1ni/cleanup
Various minor packaging-related changes.
2017-11-23 17:18:20 -05:00
Camilo Nova
c9005addd8
Merge pull request #269 from pope1ni/python34
Test against Python 3.4.
2017-11-23 17:17:40 -05:00
Nick Pope
f0a7ee28e1 Fix url in setup.py to point to correct repository. 2017-11-23 14:17:04 +00:00
Nick Pope
6e164ddb0f Added trove classifiers for supported versions of Django. 2017-11-23 14:16:47 +00:00
Nick Pope
24f5fb1997 Fix testing against Python 2.7
This was missed in in #268 which was merged, but tests were not actually
executed on Travis CI for Python 2.7!
2017-11-23 13:11:14 +00:00