Commit graph

151 commits

Author SHA1 Message Date
Ronny Vedrilla
5e204be6c0 #897: Settings variables as table instead of list in the docs 2022-06-03 15:30:37 +03:00
Tato Moaki
ada98869d8 Fix typo in documentation 2022-04-20 11:43:52 +02:00
Hasan Ramezani
dc98a7b2e3 Allow float values for AXES_COOLOFF_TIME(#868). 2022-04-13 17:51:10 +03:00
Antoine Dujardin
9c2ceb7eb7 Add option to keep current behavior for cooloff reset 2022-04-08 22:17:05 +03:00
Gregory DAVID
1849552f45 Implement AccessFailureLog recordings 2022-04-08 22:16:19 +03:00
hashlash
8ed798c155 Use 4 space indentation in config docs 2022-02-28 11:22:24 +03:30
Hasan Ramezani
b60fecc373 Remove remaining items from Django 2.2 2022-01-19 10:58:54 +02:00
Tobias Bengfort
b81c298561 warn about limited django rest framework integration
ref #814
2022-01-18 21:52:46 +02:00
Hasan Ramezani
2c2fdbe0d9 Drop Django < 3.2 support. 2021-12-14 21:29:34 +02:00
Gilad Even-Tov
ae64946a46 Fix small typo 2021-12-07 13:03:14 +01:00
phil-bell
e36665eecf Adding documentation on new http response code setting 2021-08-19 16:02:32 +03:00
Michael O'Connor
170dacc112 Integrate AXS_SENSITIVE_PARAMETERS functionality with AXES_PASSWORD_FORM_FIELD 2021-05-03 17:10:45 +03:00
Michael O'Connor
f54c4f095b Add option to cleanse sensitive GET and POST params in database handler 2021-05-03 17:10:45 +03:00
Aleksi Häkli
5790b09188
Fix docs build settings loading 2021-04-06 22:19:00 +03:00
Aleksi Häkli
50a6baae2a
Add example on custom lockout responses
Fixes #715
2021-03-02 18:52:56 +02:00
Stenkar
ac41aa9135 Fix docs AXES_HANDLER default handler 2021-02-19 10:59:01 +02:00
Aleksi Häkli
b6b26e492f Optimize imports as part of cleanup round 2021-01-07 18:23:33 +02:00
Aleksi Häkli
a5045f62fe Move tests outside project source folder 2021-01-07 18:23:33 +02:00
Aleksi Häkli
de167e43a2
Adjust docs 2021-01-06 15:41:24 +02:00
Aleksi Häkli
9cf239f495
Update 4_configuration.rst 2021-01-05 15:22:04 +02:00
Aleksi Häkli
419478b954
Update DRF documentation
Update old version information and clean up summary table
2021-01-05 10:44:06 +02:00
Daniel Quinn
3baf384060 Add a missing word 2021-01-03 21:57:56 +02:00
Aleksi Häkli
59bcbd8816 Move DRF integration into signals
Add documentation on how to enable the integration
and remove the logic from global middleware.

Fixes #673
2020-12-18 19:42:43 +02:00
Jannis Leidel
9c88dfde54
Remove Travis cruft. 2020-11-26 11:31:02 +01:00
Andrew Arderne
2efdcdd575 Update 3_usage.rst
typo
2020-10-16 00:33:04 +03:00
Daniel Brown
ef39b3da2d Add username to docs of lockout template 2020-10-05 12:42:49 +03:00
Daniel Brown
55c5ce5eae Add cooloff_timedelta to docs of lockout template 2020-10-05 12:42:49 +03:00
Aleksi Häkli
b569cdb991 Deprecate settings.AXES_LOGGER configuration flag
Fixes #634

The Django import system seems to produce errors
in certain configurations and especially when
MIGRATION_MODULES configuration is set globally.

This is most probably caused by misbehaving or cyclic
Python module imports in the Django application
instrumentatation chain that come up when the
MIGRATION_MODULES configuration is altered.

This patch migrates to the standard Python logging system
use and has less overhead and complexity for users as well.

Having a configurable logging prefix does not produce
a lot of benefits and is less flexible than having
all individual module logging configurations accessible
through the module __name__ parameter in Axes.

For example axes.handlers.* or axes.backends.*
are separately configurable in the new scheme
whereas they would have been both bundled under
the AXES_LOGGER log configuration.
2020-09-26 21:44:56 +03:00
David Smith
bf1f4eb360 Changed url() to path()
url() is deprecated in Django 3.1
2020-09-10 21:21:32 +03:00
Aleksi Häkli
f97bf3c592
Improve notes on atomic requests 2020-09-06 00:02:41 +03:00
Timmy O'Mahony
ef1e1b4422 Added note about atomic request related to issue #628 2020-09-05 23:46:14 +03:00
Petr Dlouhý
128d01158c add LOCK_OUT_BY_USER_OR_IP option
store all AccessAttempt records
2020-08-21 17:17:57 +03:00
Petr Dlouhý
c3c2786d57 add reset_request helper function to internalize reset logic into django-axis 2020-08-21 17:17:57 +03:00
Petr Dlouhý
35d6df2502 Update captcha example, add imports and get_ip... 2020-07-03 18:08:04 +03:00
Igor Shevchenko
d6c551cc44 Update docs for AXES_ONLY_ADMIN_SITE 2020-05-22 13:44:07 +03:00
Mark Mishyn
06e00d08f1 Reversion update: handle case when view doesn't have name 2020-01-09 09:31:54 +02:00
Aleksi Häkli
c1d508288d
django-reversion compatibility documentation
Fixes #440
2020-01-08 21:32:17 +02:00
Aleksi Häkli
d3da797020 Add configurable lockout callable
Fixes #511
2020-01-08 21:28:14 +02:00
Paul Brown
de3bf47ee6 Fix typos in 4_configuration.rst 2020-01-06 21:32:16 +02:00
Aleksi Häkli
30556a4d73
Adjust documentation indendation 2019-12-30 00:08:27 +02:00
Aleksi Häkli
34d3b5a1f5
Pluggable user account whitelisting (#549)
Fixes #536
2019-12-29 23:43:55 +02:00
Aleksi Häkli
9d18bfc892 Clarify reverse proxy client IP header use 2019-11-29 00:09:34 +02:00
Eric Carmichael
131b31a0b3 Add special Heroku instructions 2019-11-29 00:09:34 +02:00
Aleksi Häkli
8e972f5d6e
Remove redundant profile check in docs example 2019-11-13 21:49:35 +02:00
Aleksi Häkli
5f56335dcb
Update OAuth2 validator example in docs
Inspired by jazzband/django-oauth-toolkit/issues/712
and solution by @hcNick for more functional authentication
2019-11-13 21:38:12 +02:00
Aleksi Häkli
cd0ac3cb4f
PEP8 formatting 2019-10-15 23:04:29 +03:00
Sakari Kapanen
0a97603cce Add AXES_ENABLE_ADMIN flag to configure showing Axes in admin (#499) 2019-10-09 19:02:45 +03:00
Aleksi Häkli
f40212d818
Update docs headers (#487)
* Update docs headers

* Use django-axes in the GitHub repository README header
2019-08-30 17:40:21 +03:00
Aleksi Häkli
c30b2366cf
Migrate to setuptools_scm 2019-08-28 13:28:57 +03:00
Aleksi Häkli
99a5405b1a Support callables for AXES_COOLOFF_TIME
Fixes #475
2019-08-05 22:02:49 +03:00