Commit graph

385 commits

Author SHA1 Message Date
Jannis Leidel
08690d9db1 Fix Travis creds and release conditions 2016-11-04 11:54:17 +01:00
Sobolev Nikita
8cd326f099 Updated readme.rst with svg badge 2016-10-27 20:13:02 +03:00
Camilo Nova
f8d1031fdb Merge pull request #196 from vladimirnani/patch-1
Reset lockouts for user
2016-10-24 14:03:22 -05:00
Vladimir Nani
9c8ab657ba Reset lockouts for user 2016-10-24 12:24:32 +03:00
Camilo Nova
b6139ff80d Merge pull request #195 from EvaMarques/patch-1
Fix bug when using the optional IP parameter
2016-09-28 11:14:02 -05:00
Eva Marques
54902242c1 Fix bug when using the optional IP parameter
When the IP parameter is used the first element of kwargs needs to be skipped because its value is the string 'ip'.
2016-09-27 17:55:51 +01:00
Camilo Nova
752783fe52 Bump version 2016-09-26 17:11:25 -05:00
Camilo Nova
393c3455bf Merge pull request #194 from mozillazg/coverage
Fix coverage submission. fixed #189
2016-09-24 12:12:36 -05:00
mozillazg
e952a5311e Fix coverage submission. fixed #189 2016-09-24 20:32:10 +08:00
Camilo Nova
790f451092 Merge pull request #193 from slurms/master
Fix #192 -- AXES_DISABLE_ACCESS_LOG doesn't work.
2016-09-23 11:56:34 -05:00
Camilo Nova
3bb7275fe7 Merge pull request #191 from lip77us/master
Added AXES_ONLY_USER_FAILURES to support only looking at the user ID …
2016-09-23 11:55:24 -05:00
Nick Sandford
99807d0a1b Fix #192 -- AXES_DISABLE_ACCESS_LOG doesn't work. 2016-09-23 14:58:29 +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
4d0980bb4d Merge pull request #190 from wearespindle/master
Made the signal race condition safe.
2016-09-10 18:21:13 -05:00
Yi Ming Yung
d457ca7e14 Made the signal race condition safe. 2016-09-06 13:37:25 +02:00
Camilo Nova
a5624646fb Merge pull request #188 from Dmitri-Sintsov/master
Removed ipaddress module dependency.
2016-08-22 10:55:45 -05:00
Dmitriy Sintsov
3cf1d03774 Use socket.inet_pton() to detect workaround for axes_accesslog.ip_address 'inet' field type insert error when running behind IIS as reverse proxy which adds port number to client address in X_FORWARDED_FOR HTTP header. 2016-08-22 11:53:05 +03:00
Camilo Nova
6e3e40e384 Improve docs. Refs #170 2016-08-20 16:22:45 -05:00
Dmitriy Sintsov
181d4934a3 Changed .travis.yml 2016-08-20 18:56:29 +03:00
Dmitriy Sintsov
d772717314 Use backport of ipaddress module for Python 2.x: https://github.com/phihag/ipaddress 2016-08-20 14:02:28 +03:00
Dmitriy Sintsov
50b9d97281 Detect IPv6 addresses in decorators.get_ip() when running behind reverse proxy. 2016-08-20 11:44:20 +03:00
Camilo Nova
a3a3798e53 Fixes status code 2016-08-18 11:13:30 -05:00
Camilo Nova
f979f34bd9 Merge pull request #185 from ClairePhila/patch-1
AccessAttempts and AccessLogs should neither be addable nor editable
2016-08-18 10:57:07 -05:00
Camilo Nova
b9d5fae32a Fix for IIS used as reverse proxy. Closes #184 2016-08-18 10:55:27 -05:00
ClairePhila
c2210f6b3b AccessAttempts and AccessLogs should neither be addable nor editable 2016-08-18 12:11:28 +02:00
Dmitriy Sintsov
4d8caa3e03 Fix for IIS used as reverse proxy adding port number to 'HTTP_X_FORWARDED_FOR' header causing axes_accesslog.ip_address table insertion error. 2016-08-17 16:22:57 +03:00
Camilo Nova
d98796a15e Merge pull request #182 from svenhertle/master
Added possibility to disable access log
2016-08-11 14:32:26 -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
6b1c5787dc fixed tests 2016-08-10 17:18:57 +02:00
Sven Hertle
2b86159a40 Added possibility to disable access log 2016-08-10 16:35:02 +02:00
Camilo Nova
d8d225c27b Merge pull request #181 from aredalen/master
Make ip positional argument optional
2016-08-08 19:30:48 -05:00
Aaron Redalen
d5a5e46b2f Reset all attempts when ip not specified
When no ip address positional arguments are specified, reset all attempts, as with reset() and per documentation.
2016-08-05 09:40:12 -07:00
Aaron Redalen
1addfaecb6 Make ip positional argument optional 2016-08-05 09:00:11 -07:00
Camilo Nova
ba3fe1c789 Update development.rst 2016-08-01 07:43:06 -05:00
Camilo Nova
667f313258 Merge pull request #180 from jorlugaqui/split-sections-in-documentation
Improve documentation (move sections to a separate rst file)
2016-08-01 07:42:20 -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
6dd80a6d89 Ignore tox files 2016-07-31 21:43:13 +02:00
Camilo Nova
8f0b9351f4 Fixes #173 2016-07-30 10:50:55 -05:00
Camilo Nova
c470f6eefa Update .travis.yml 2016-07-30 10:47:20 -05:00
Camilo Nova
ada703a313 Delete .coveralls.yml 2016-07-30 10:46:05 -05:00
Camilo Nova
35e437042c Create .coveralls.yml 2016-07-30 10:42:40 -05:00
Camilo Nova
74bbae410a Merge pull request #179 from jorlugaqui/add-link-readthedocs
Add link readthedocs
2016-07-30 10:20:16 -05:00
Jorge Galvis
298c7289f9 Merge branch 'master' into add-link-readthedocs 2016-07-30 17:18:11 +02:00
Jorge Galvis
7dfe23d43d Added documentation link 2016-07-30 17:05:13 +02:00
Camilo Nova
5b534fefa5 Merge pull request #176 from jorlugaqui/readthedocs
Added readthedocs fixes #172
2016-07-30 09:51:51 -05:00
Jorge Galvis
21e433dd68 Added readthedocs 2016-07-30 16:48:50 +02:00
Camilo Nova
0870f23fb6 Added automatic deployment to pypi 2016-07-30 09:28:52 -05:00
Camilo Nova
852d3cedeb Merge pull request #175 from jorlugaqui/jazzband
Add CONTRIBUTING.md according to jazzband guidelines
2016-07-30 09:17:47 -05:00
Jorge Galvis
37baf706d7 Add CONTRIBUTING.md according to jazzband guidelines 2016-07-30 16:14:30 +02:00
Camilo Nova
b20bad14f5 Removed unneeded test 2016-07-20 12:10:42 -05:00