Commit graph

812 commits

Author SHA1 Message Date
Aleksi Häkli
eebf0736e2
Version 5.0.2 2019-05-07 23:42:07 +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
pyup-bot
f61e8efad5 Update pytest-cov from 2.6.1 to 2.7.1 2019-05-07 12:52:41 +03:00
Aleksi Häkli
bafdefc7f8
Version 5.0.1 2019-05-03 21:20:55 +03:00
Aleksi Häkli
16f96de8fd
Add changelog to documentation 2019-05-03 21:20:45 +03:00
Aleksi Häkli
3bbcfc39f2
Version 5.0 2019-05-01 18:39:04 +03:00
Aleksi Häkli
7d979e2bdc
Update Python version support information in the docs 2019-05-01 18:38:59 +03:00
Aleksi Häkli
0a90a7d075
Improve documentation 2019-05-01 18:28:29 +03:00
Aleksi Häkli
fb2bd57c33
Better styling for PKG-INFO 2019-05-01 16:22:15 +03:00
Aleksi Häkli
0f1fe872ff
Update old changelog styling 2019-05-01 16:18:59 +03:00
Aleksi Häkli
411a2412f2
Add author email field to setup.py
If author field is defined then author_email
is required by the setup.py formatting and tools
2019-05-01 16:09:39 +03:00
Aleksi Häkli
3c4b85ddde
Update README 2019-05-01 16:00:08 +03:00
Aleksi Häkli
65f50424f2
Include rst docs to the package manifest 2019-05-01 15:53:26 +03:00
Aleksi Häkli
addf6c2eaf
Remove .travis.yml from package manifest 2019-05-01 15:50:38 +03:00
Aleksi Häkli
efe4e960b6
Run checks on application ready hook 2019-05-01 15:23:16 +03:00
Aleksi Häkli
c34a2daa1b
Improve check structure and types
Django core uses warnings and mostly no objects in checks
Adopting the same style for check readability purposes
2019-05-01 15:23:16 +03:00
Aleksi Häkli
0ba331b66a Version 5.0b1 2019-05-01 14:30:21 +03:00
Aleksi Häkli
d5096a6464 Add checks for django-axes configuration flags 2019-05-01 14:30:21 +03:00
Aleksi Häkli
2f319cfff7 Add backwards compatibility link for axes_reset_user 2019-05-01 14:30:21 +03:00
Aleksi Häkli
29d7d769e6 Revert name change for cooloff_time template argument 2019-05-01 14:30:21 +03:00
Aleksi Häkli
5866fecfc9 Add deprecation shim for AxesModelBackend 2019-05-01 14:30:21 +03:00
Aleksi Häkli
3e215a1740
Version 5.0a1 2019-04-27 19:07:43 +03:00
Aleksi Häkli
d4dc3ba246 Improve documentation
Fixes #410
2019-04-27 18:51:02 +03:00
Aleksi Häkli
0a2620095a Fix typo in docs 2019-04-27 18:51:02 +03:00
Aleksi Häkli
1b3bd0f99e Improve command documentation format 2019-04-27 18:51:02 +03:00
Aleksi Häkli
430946a9d1 Rename AxesBaseHandler to AxesHandler 2019-04-27 18:51:02 +03:00
Aleksi Häkli
43cf2b94aa Add upgrade note for Python language support 2019-04-27 18:51:02 +03:00
Aleksi Häkli
41307e6c55 Add API reference into docs 2019-04-27 18:51:02 +03:00
Aleksi Häkli
3dc69a4f56 Clean up documentation line feeds 2019-04-27 18:51:02 +03:00
Aleksi Häkli
9b895941c8 Add section numbering to documentation 2019-04-27 18:51:02 +03:00
Aleksi Häkli
59da3870f2
Update client IP address resolution docstring 2019-04-27 14:48:32 +03:00
pyup-bot
4baf3b93c8 Update tox from 3.8.6 to 3.9.0 2019-04-22 19:50:51 +03:00
pyup-bot
b5b7f74be7 Update pytest from 4.4.0 to 4.4.1 2019-04-22 19:50:51 +03:00
pyup-bot
8fb1f807b5 Update mypy from 0.700 to 0.701 2019-04-22 19:50:51 +03:00
pyup-bot
740b49277a Update tox from 3.8.4 to 3.8.6 2019-04-09 14:07:48 +03:00
pyup-bot
93765838e8 Update mypy from 0.670 to 0.700 2019-04-09 14:07:48 +03:00
Aleksi Häkli
78fd69fe16
Merge pull request #423 from jazzband/django22
Django 2.2 support
2019-04-02 12:53:54 +03:00
Aleksi Häkli
b135f3bf56
Add Django 2.2 and drop Django 2.0 support
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-04-02 12:41:41 +03:00
Aleksi Häkli
97e0f98d4d
Merge pull request #422 from jazzband/pyup-scheduled-update-2019-04-01
Scheduled weekly dependency update for week 13
2019-04-01 21:00:41 +03:00
pyup-bot
8b83db9a24 Update tox from 3.7.0 to 3.8.4 2019-04-01 19:31:05 +03:00
pyup-bot
0d99c6dc80 Update pytest from 4.3.1 to 4.4.0 2019-04-01 19:31:04 +03:00
Camilo Nova
99d5b67630
Merge pull request #421 from jazzband/development
Update author and licence information
2019-03-13 19:00:20 -05:00
Aleksi Häkli
a9dbc600e0
Specify minimum Django version in setup.py
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 18:21:49 +02:00
Aleksi Häkli
f7c969865f
Remove redundant dependencies
pytz is handled internally by django
six is handled internally by django-appconf

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 17:30:47 +02:00
Aleksi Häkli
07c270f15d
Use Python 3.6 version marker in setup.py
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 17:03:23 +02:00
Aleksi Häkli
12a806be28
Update author and licence information
Add Jazzband as maintainer from 2016 onwards when the
project started receiving contributions from Jazzband.

Fixes #409
2019-03-13 16:56:56 +02:00
Aleksi Häkli
e24f0453bb
Remove reduntant AccessLog.trusted flag
All attempts that are logged are marked as trusted
and no other attempts are created in the code,
so having a flag that also uses a database index
is redundant and unnecessary.

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 16:07:25 +02:00
Aleksi Häkli
7d84491f1b
Upgrade pytest from 4.3.0 to 4.3.1
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 15:59:56 +02:00
Aleksi Häkli
7f9f98cedb
Fix invalid error code format for Axes
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 15:48:40 +02:00
Aleksi Häkli
2cc6876f28
Merge pull request #418 from jazzband/development
Improve Python and package versioning and test suite
2019-03-13 15:40:43 +02:00