Commit graph

46 commits

Author SHA1 Message Date
Aleksi Häkli
7c3e21166e
Backwards compatibility fixes for credentials
Revert some of the PR changes to tests to make sure that all of the
old format function invocations work with the old and new tests.

Implement small enchancements to documentation and credentials resolving
for usability and flexibility with custom authentication backends.

Update documentation to indicate that backwards compatibility
is supported as well as the new format credentials invocations.

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-23 02:58:53 +02:00
Aleksi Häkli
34f9322367
Merge pull request #377 from mastacheata/bugfix/358-credentials-in-favor-of-request
Bugfix #358 credentials in favor of request
2018-12-22 19:30:17 +01:00
Benedikt Bauer
efc02327f3 Enhance configuration docs with detailed credentials description 2018-12-20 16:47:29 +01:00
Benedikt Bauer
af1ff981dd Strip trailing spaces in usage.rst 2018-12-19 18:04:54 +01:00
Benedikt Bauer
a17c7f4706 Strip Whitespace changes from PR 2018-12-19 18:01:56 +01:00
Benedikt Bauer
b6abd9c08e Documentation update to reflect changes to AXES_USERNAME_CALLABLE
AXES_USERNAME_CALLABLE now gets two parameters and
AXES_PASSWORD_FORM_FIELD applies to the credentials dictionary first and only uses the POST fields as a fallback anymore
2018-12-19 15:27:20 +01:00
Aleksi Häkli
06870b08a0
Improve documentation for AXES_IP_WHITELIST config 2018-12-09 16:01:56 +02:00
Arjen
ac4ab22183
Added setting to reset failed attempts on successful login. 2018-10-26 14:45:06 +02:00
Mark Davidoff
72b4f4abe4
Wording change as DRF made some changes 2018-09-28 13:14:20 -07:00
jd
7f5bacab1b add documentation for AXES_USERNAME_CALLABLE 2018-05-24 00:38:04 -07:00
Aleksi Häkli
ff2c1d9834
Bump version to 4.2.1
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-04-18 16:06:07 +03:00
Aleksi Häkli
8bfdf647cc
Bump version to 4.2.0
Fixes #326

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-04-13 14:50:36 +03:00
Aleksi Häkli
512452e580
Add proxy precendence and count configuration
Fixes #286
2018-04-13 13:48:08 +03:00
Aleksi Häkli
d1f1f400b4
Improve project documentation
Add ipware documentation
2018-04-11 20:15:35 +03:00
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
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
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
JWvDronkelaar
0345245e32 Update docs to include AXES_CACHE setting 2018-02-17 16:06:27 +02:00
Paul Brown
596a70322c add axes_reset_user command to the docs 2018-02-15 16:33:39 -06: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
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
Aleksi Häkli
4c67d4187f
Update documentation
Clean up syntax for allauth examples
2018-01-15 13:06:53 +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
Camilo Nova
c1c7caf348
Merge branch 'master' into django-ipware 2017-12-18 07:59:12 -05: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
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
01cc28360c Removed outdated documentation. Fixes #272 2017-11-23 17:21:21 -05:00
Camilo Nova
66b5f17811 Rename parameter. Fixes #267 2017-11-23 07:52:58 -05:00
Camilo Nova
ba37442252 Added support for Django signals, big code refactor and improvements 2017-11-17 17:15:34 -05:00
Aleksi Häkli
64924be83c Fixed #221 -- Add AXES_NUM_PROXIES setting
This enables secure calculation of client IP value
by allowing the end users to set the number of
proxies they have in their current setups
2017-04-06 19:50:54 +03:00
Yi Ming Yung
e5999aff35 Updated configuration docs to include AXES_IP_WHITELIST 2016-12-16 11:44:49 +01:00
Ben Konrath
acbccda6f5 Update configuration.rst 2016-11-10 13:05:00 +01:00
Yi Ming Yung
b49e685603 Added settings for disabling success accesslogs and added complete disabling of accesslogs 2016-11-04 14:09:48 +01:00
lip77us
cad837aac9 Added AXES_ONLY_USER_FAILURES to support only looking at the user ID and not the IP address. I needed to add this for offices that use the same IP. One user was locking the whole office out of my application. Tests updated as well. 2016-09-22 12:35:51 -07:00
Camilo Nova
6e3e40e384 Improve docs. Refs #170 2016-08-20 16:22:45 -05:00
Sven Hertle
65ed32f866 Unsuccessful logins are logged even if access log is disabled 2016-08-11 12:45:53 +02:00
Sven Hertle
2b86159a40 Added possibility to disable access log 2016-08-10 16:35:02 +02:00
Camilo Nova
ba3fe1c789 Update development.rst 2016-08-01 07:43:06 -05:00
Jorge Galvis
025325adb7 Improve documentation:
+ Move chapters to a separate file.
+ Add readthedocs theme.
+ Remove doc from README.rst
2016-08-01 00:17:34 +02:00
Jorge Galvis
21e433dd68 Added readthedocs 2016-07-30 16:48:50 +02:00