Aleksi Häkli
93bb73552e
Upgrade CI tooling to use automatic code formatting
2019-09-28 19:28:17 +03:00
pyup.io bot
d94c53f999
Update mypy from 0.720 to 0.730 ( #493 )
2019-09-27 00:58:41 +03:00
pyup.io bot
05292ebe54
Update pytest from 5.1.2 to 5.1.3 ( #492 )
2019-09-22 13:23:24 +03:00
pyup.io bot
2755123417
Update tox from 3.13.2 to 3.14.0 ( #490 )
2019-09-04 19:24:00 +03:00
pyup.io bot
084b140845
Update pytest from 5.1.1 to 5.1.2 ( #488 )
2019-08-31 22:48:17 +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
3bbeb305c7
Version 5.0.13
2019-08-30 10:14:05 +03:00
Aleksi Häkli
77d878ffe3
Add package identifiers for Python 3.8 and PyPy
2019-08-30 10:13:56 +03:00
Aleksi Häkli
331afdfab5
Remove pyup badge from README
2019-08-30 08:45:03 +03:00
Aleksi Häkli
95c56bcb44
Only run prospector and mypy on Python 3.6 and 3.7
2019-08-30 08:40:34 +03:00
Aleksi Häkli
c5373a2ac1
Add pip-wheel-metadata to .gitignores
2019-08-30 07:28:37 +03:00
Aleksi Häkli
eb43ab4151
Remove tests for get_version
2019-08-30 07:00:55 +03:00
Aleksi Häkli
c30b2366cf
Migrate to setuptools_scm
2019-08-28 13:28:57 +03:00
Aleksi Häkli
43b0a45ca9
Add .eggs to .gitignore
2019-08-28 13:28:31 +03:00
Aleksi Häkli
0dd44d51ff
Use Python 3 for PyPI uploads
2019-08-27 16:22:53 +03:00
Aleksi Häkli
e25095ad62
Add plugin identifier to packaging
2019-08-27 16:22:53 +03:00
pyup.io bot
88177447fc
Update pytest from 5.0.1 to 5.1.1 ( #486 )
2019-08-26 12:44:12 +03:00
pyup-bot
21456c1d80
Update pytest from 5.0.0 to 5.0.1
2019-08-06 12:26:49 +03:00
pyup-bot
f725090c42
Update mypy from 0.711 to 0.720
2019-08-06 12:25:58 +03:00
Aleksi Häkli
00a7b880a3
Version 5.0.12
2019-08-05 22:04:42 +03:00
Aleksi Häkli
99a5405b1a
Support callables for AXES_COOLOFF_TIME
...
Fixes #475
2019-08-05 22:02:49 +03:00
pyup-bot
2fcf439683
Update coverage from 4.5.3 to 4.5.4
2019-07-30 08:56:54 +03:00
Aleksi Häkli
94c98178ea
Version 5.0.11
2019-07-25 17:19:59 +03:00
Aleksi Häkli
9903a9d592
Version 5.0.10
2019-07-25 16:11:21 +03:00
Aleksi Häkli
44b1911a1c
Refactor type checks in get_client_cache_key
...
Fixes #471
2019-07-25 16:09:30 +03:00
pyup-bot
0fbb88cb70
Update tox from 3.13.1 to 3.13.2
2019-07-23 21:12:06 +03:00
Aleksi Häkli
9e4698e3bd
Remove deprecated pyup configuration
...
Schedules can be configured on the website
2019-07-12 17:39:31 +02:00
Aleksi Häkli
9f75d0d426
Version 5.0.9
2019-07-11 15:50:16 +02:00
Aleksi Häkli
d8c6632384
Make reset for attempts and logs pluggable
...
Fixes #454
2019-07-11 15:31:14 +02:00
Aleksi Häkli
23c2ef6433
Add Python 3.8 to test matrix
2019-07-11 15:31:10 +02:00
Aleksi Häkli
bb33a0c5da
Version 5.0.8
2019-07-09 15:07:27 +02:00
Aleksi Häkli
2e2dbfad60
Update requirements
2019-07-09 15:07:27 +02: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
0f3b3527be
Remove unused imports.
2019-07-09 14:50:09 +02:00
Aleksi Häkli
0a708ae3ea
Rename logs reset command
2019-07-09 12:55:28 +02:00
Aleksi Häkli
4113fc57d9
Handler import and module loading errors in checks
2019-07-09 12:54:55 +02:00
tlebrize
1253d6aeaa
added delete_access_logs management commands as well as tests for it #455
2019-07-09 12:12:54 +02:00
Adam Johnson
fa83253056
Don't trigger axes.W003 for subclasses of AxesBackend
...
The [usage documentation](https://django-axes.readthedocs.io/en/latest/3_usage.html ) advises to create subclass of `AxesBackend` to ignore the lack of `request` if necessary. I've done this in a project using `django-oauth-toolkit`, which doesn't pass `request` (though it should as per [this PR](https://github.com/jazzband/django-oauth-toolkit/pull/643 )).
This meant that the axes.W003 check was being triggered, so I've fixed it to check for subclasses of `AxesBackend` as well as the class itself.
2019-07-09 12:10:26 +02:00
Hasan Ramezani
6f2048f7ca
Added AXES_ONLY_ADMIN_SITE flag.
2019-07-09 08:12:33 +02:00
Aleksi Häkli
9fa0e7f215
Version 5.0.7
2019-06-14 17:22:44 +03:00
Aleksi Häkli
9c7c5c175a
Add documentation for updated AXES_FAILURE_LIMIT
2019-06-14 17:21:24 +03:00
Aleksi Häkli
4efbace713
Merge #452 into django-axes master
...
Fixes #451
Fixes #450 merge conflicts
2019-06-14 17:08:07 +03:00
Bo Bayles
9a043a23d8
Add str import also
2019-06-14 16:48:17 +03:00
Bo Bayles
dbc0c13029
Allow callable failure limit
2019-06-14 16:48:17 +03:00
Morgan Zolob
71708eff5a
Stop showing lockout message when lockout is disabled
2019-06-13 16:29:26 -07:00
pyup-bot
0ba52cdcc1
Update pytest from 4.6.1 to 4.6.2
2019-06-10 22:33:52 +03:00
Aleksi Häkli
7aae8e1ece
Add Django 2.2 to tox configuration
2019-06-05 21:40:42 +03:00
pyup-bot
0cd9c10dd5
Update pytest-django from 3.4.8 to 3.5.0
2019-06-05 21:27:38 +03:00
pyup-bot
02f0b65af3
Update pytest from 4.6.0 to 4.6.1
2019-06-05 21:27:38 +03:00
Aleksi Häkli
5107e8df37
Improve check for deprecated flags
...
Checking with getattr(object, name, [default]) provides
false positivies for flags that have their value set to None.
Checking with try: getattr(object, name) always produces
correct check values if a flag is defined in project settings.
Default values for flags are defined in the Axes default settings
so this should not alter any existing behaviour.
2019-06-02 13:41:29 +03:00