Commit graph

54 commits

Author SHA1 Message Date
Mounir Messelmeni
955f39da73 Update docs 2025-12-19 21:19:03 +02:00
Ram
69c97d5c7b docs: Add missing AXES_IPWARE_PROXY_ORDER setting documentation 2025-12-19 21:14:16 +02:00
Andrew Neher
a0fd10da4c updated config docs for new AXES_USERNAME_FORM_FIELD default value. 2025-02-19 18:09:40 +02:00
Jacobus-afk
ce3bfd51be Update 4_configuration.rst - aligned table pipe column 2025-02-19 18:08:17 +02:00
Oscar van Leusen
67b94d0dfb Fix AXES_CLIENT_IP_CALLABLE error
Previously, the readme suggested the AXES_CLIENT_IP_CALLABLE function should have two arguments, but actually it only takes one argument.
2024-10-29 10:09:57 +02:00
Bruno Alla
77ae2a2d14 docs: fix broken settings table 2024-10-03 13:10:01 +03:00
Bruno Alla
510c8d18f5 feat: pass the request to get dynamic cool off period 2024-10-02 20:15:31 +03:00
Bruno Alla
2fb4c81243 feat: pass username to AXES_COOLOFF_TIME callback
If the AXES_COOLOFF_TIME is a callable or path to a callable taking
an argument, pass the username to it.

This should enable users to customize the cool off to be user dependant,
and possibly implement a growing cool-off time:

- First lockout cools off after 5 mins
- Second one after 10 mins
- etc...
2024-10-02 20:15:31 +03:00
Davide
014483c65d
Add session hash to access log 2024-04-30 16:22:50 +02:00
Ronny Vedrilla
e9db2d9631 #1093: "AXES_SENSITIVE_PARAMETERS" now have sensible defaults to follow "privacy-by-design" 2023-07-30 18:59:48 +03:00
Aleksi Häkli
102cdc3ecf
Fix typo 2023-05-13 14:52:37 +03:00
Maksim Zayakin
f6e272cb61 docs: add AXES_LOCKOUT_PARAMETERS` entires 2023-05-13 14:04:14 +03:00
Aleksi Häkli
31249a5947 Update django-ipware configuration flags to new AXES_IPWARE_ prefixes
Use explicit new AXES_IPWARE_ referencing configuration flag names
in place of the old plain implicit AXES_ name prefixes
2023-04-28 14:16:44 +03:00
Maksim Zayakin
a4806ba6b4 docs: update AXES_HTTP_RESPONSE_CODE entry in configuration 2023-04-25 19:42:37 +03:00
Maksim Zayakin
91bc75f4a0 add info to docs about AXES_CLIENT_IP_CALLABLE 2023-03-29 16:35:06 +03:00
Ronny Vedrilla
57ca4460b0 #897: Bugfix with wrong display of default value in docs 2022-06-04 00:31:20 +03:00
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
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
Stenkar
ac41aa9135 Fix docs AXES_HANDLER default handler 2021-02-19 10:59:01 +02:00
Aleksi Häkli
9cf239f495
Update 4_configuration.rst 2021-01-05 15:22:04 +02: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
Petr Dlouhý
128d01158c add LOCK_OUT_BY_USER_OR_IP option
store all AccessAttempt records
2020-08-21 17:17:57 +03:00
Igor Shevchenko
d6c551cc44 Update docs for AXES_ONLY_ADMIN_SITE 2020-05-22 13:44:07 +03: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
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
99a5405b1a Support callables for AXES_COOLOFF_TIME
Fixes #475
2019-08-05 22:02:49 +03:00
Aleksi Häkli
eedf528767
Update docs
Add new management commands and reorder sections logically.
2019-07-09 15:07:27 +02:00
Hasan Ramezani
6f2048f7ca Added AXES_ONLY_ADMIN_SITE flag. 2019-07-09 08:12:33 +02:00
Aleksi Häkli
9c7c5c175a
Add documentation for updated AXES_FAILURE_LIMIT 2019-06-14 17:21:24 +03:00
Aleksi Häkli
67098c4669
Fix configuration list 2019-05-26 17:34:12 +03:00
Aleksi Häkli
47ae68b0c0 Deprecate AXES_DISABLE_SUCCESS_ACCESS_LOG flag
Fixes #446
2019-05-25 20:45:21 +03:00
Aleksi Häkli
f028c7d2be Clean up docs on configuration flags
Use separate line for default value for readability
2019-05-25 20:45:21 +03:00
Aleksi Häkli
465fe4529d Include documentation notes 2019-05-19 18:32:40 +03:00
Aleksi Häkli
816676f68d Add settings flag for disabling Axes
AXES_ENABLED = False can be used to toggle
the plugin off in tests which use the built-in
Django test client login, force_login and logout
methods which do not supply a request views.

Fixes #433
2019-05-07 23:37:48 +03:00
Aleksi Häkli
0a90a7d075
Improve documentation 2019-05-01 18:28:29 +03:00