PKG-INFO 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330
  1. Metadata-Version: 1.2
  2. Name: django-axes
  3. Version: 5.13.0
  4. Summary: Keep track of failed login attempts in Django-powered sites.
  5. Home-page: https://github.com/jazzband/django-axes
  6. Author: Josh VanderLinden, Philip Neustrom, Michael Blume, Alex Clark, Camilo Nova, Aleksi Hakli
  7. Author-email: security@jazzband.co
  8. Maintainer: Jazzband
  9. Maintainer-email: security@jazzband.co
  10. License: MIT
  11. Project-URL: Documentation, https://django-axes.readthedocs.io/
  12. Project-URL: Source, https://github.com/jazzband/django-axes
  13. Project-URL: Tracker, https://github.com/jazzband/django-axes/issues
  14. Description:
  15. django-axes
  16. ===========
  17. .. image:: https://jazzband.co/static/img/badge.svg
  18. :target: https://jazzband.co/
  19. :alt: Jazzband
  20. .. image:: https://img.shields.io/github/stars/jazzband/django-axes.svg?label=Stars&style=socialcA
  21. :target: https://github.com/jazzband/django-axes
  22. :alt: GitHub
  23. .. image:: https://img.shields.io/pypi/v/django-axes.svg
  24. :target: https://pypi.org/project/django-axes/
  25. :alt: PyPI release
  26. .. image:: https://img.shields.io/readthedocs/django-axes.svg
  27. :target: https://django-axes.readthedocs.io/
  28. :alt: Documentation
  29. .. image:: https://github.com/jazzband/django-axes/workflows/Test/badge.svg
  30. :target: https://github.com/jazzband/django-axes/actions
  31. :alt: GitHub Actions
  32. .. image:: https://codecov.io/gh/jazzband/django-axes/branch/master/graph/badge.svg
  33. :target: https://codecov.io/gh/jazzband/django-axes
  34. :alt: Coverage
  35. Axes is a Django plugin for keeping track of suspicious
  36. login attempts for your Django based website
  37. and implementing simple brute-force attack blocking.
  38. The name is sort of a geeky pun, since it can be interpreted as:
  39. * ``access``, as in monitoring access attempts, or
  40. * ``axes``, as in tools you can use to hack (generally on wood).
  41. Functionality
  42. -------------
  43. Axes records login attempts to your Django powered site and prevents attackers
  44. from attempting further logins to your site when they exceed the configured attempt limit.
  45. Axes can track the attempts and persist them in the database indefinitely,
  46. or alternatively use a fast and DDoS resistant cache implementation.
  47. Axes can be configured to monitor login attempts by
  48. IP address, username, user agent, or their combinations.
  49. Axes supports cool off periods, IP address whitelisting and blacklisting,
  50. user account whitelisting, and other features for Django access management.
  51. Documentation
  52. -------------
  53. For more information on installation and configuration see the documentation at:
  54. https://django-axes.readthedocs.io/
  55. Issues
  56. ------
  57. If you have questions or have trouble using the app please file a bug report at:
  58. https://github.com/jazzband/django-axes/issues
  59. Contributions
  60. -------------
  61. All contributions are welcome!
  62. It is best to separate proposed changes and PRs into small, distinct patches
  63. by type so that they can be merged faster into upstream and released quicker.
  64. One way to organize contributions would be to separate PRs for e.g.
  65. * bugfixes,
  66. * new features,
  67. * code and design improvements,
  68. * documentation improvements, or
  69. * tooling and CI improvements.
  70. Merging contributions requires passing the checks configured
  71. with the CI. This includes running tests and linters successfully
  72. on the currently officially supported Python and Django versions.
  73. The test automation is run automatically with GitHub Actions, but you can
  74. run it locally with the ``tox`` command before pushing commits.
  75. Please note that this is a `Jazzband <https://jazzband.co>`_ project.
  76. By contributing you agree to abide by the
  77. `Contributor Code of Conduct <https://jazzband.co/about/conduct>`_
  78. and follow the `guidelines <https://jazzband.co/about/guidelines>`_.
  79. Changes
  80. =======
  81. 5.13.0 (2021-02-15)
  82. -------------------
  83. - Add support for resetting attempts with cache backend.
  84. [nattyg93]
  85. 5.12.0 (2021-01-07)
  86. -------------------
  87. - Clean up test structure and migrate tests outside
  88. the main package for a smaller wheel distributions.
  89. [aleksihakli]
  90. - Move configuration to pyproject.toml for cleaner layout.
  91. [aleksihakli]
  92. - Clean up test settings override configuration.
  93. [hramezani]
  94. 5.11.1 (2021-01-06)
  95. -------------------
  96. - Fix cache entry creations for None username.
  97. [cabarnes]
  98. 5.11.0 (2021-01-05)
  99. -------------------
  100. - Add lockout view CORS support with ``AXES_ALLOWED_CORS_ORIGINS`` configuration flag.
  101. [vladox]
  102. - Add missing ``@wraps`` decorator to ``axes.decorators.axes_dispatch``.
  103. [aleksihakli]
  104. 5.10.1 (2021-01-04)
  105. -------------------
  106. - Add ``DEFAULT_AUTO_FIELD`` to test settings.
  107. [hramezani]
  108. - Fix documentation language.
  109. [danielquinn]
  110. - Fix Python package version specifiers and remove redundant imports.
  111. [aleksihakli]
  112. 5.10.0 (2020-12-18)
  113. -------------------
  114. - Deprecate stock DRF support from 5.8.0,
  115. require users to set it up per project.
  116. Check the documentation for more information.
  117. [aleksihakli]
  118. 5.9.1 (2020-12-02)
  119. ------------------
  120. - Move tests to GitHub Actions
  121. [jezdez]
  122. - Fix running Axes code in middleware when ``AXES_ENABLED`` is ``False``.
  123. [ashokdelphia]
  124. 5.9.0 (2020-11-05)
  125. ------------------
  126. - Add Python 3.9 support.
  127. [hramezani]
  128. - Prevent ``AccessAttempt`` creation with database handler when
  129. username is not set and ``AXES_ONLY_USER_FAILURES`` setting is not set.
  130. [hramezani]
  131. 5.8.0 (2020-10-16)
  132. ------------------
  133. - Improve Django REST Framework (DRF) integration.
  134. [Anatoly]
  135. 5.7.1 (2020-09-27)
  136. ------------------
  137. - Adjust settings import and handling chain
  138. for cleaner module import and invocation order.
  139. [aleksihakli]
  140. - Adjust the use of ``AXES_ENABLED`` flag so that
  141. imports are always done the same way and initial log
  142. is written regardless of the setting and it only affects
  143. code that is decorated or wrapped with ``toggleable``.
  144. [alekshakli]
  145. 5.7.0 (2020-09-26)
  146. ------------------
  147. - Deprecate ``AXES_LOGGER`` Axes setting and move to ``__name__``
  148. based logging and fully qualified Python module name log identifiers.
  149. [aleksihakli]
  150. 5.6.2 (2020-09-20)
  151. ------------------
  152. - Fix regression in ``axes_reset_user`` management command.
  153. [aleksihakli]
  154. 5.6.1 (2020-09-17)
  155. ------------------
  156. - Improve test dependency management and upgrade black code formatter.
  157. [smithdc1]
  158. 5.6.0 (2020-09-12)
  159. ------------------
  160. - Add proper development ``subTest`` support via ``pytest-subtests`` package.
  161. [smithdc1]
  162. - Deprecate ``django-appconf`` and use plain settings for Axes.
  163. [aleksihakli]
  164. 5.5.2 (2020-09-11)
  165. ------------------
  166. - Update deprecating use of the ``request.is_ajax`` method.
  167. [smithdc1]
  168. 5.5.1 (2020-09-10)
  169. ------------------
  170. - Update deprecated uses of Django modules and members.
  171. [smithdc1]
  172. 5.5.0 (2020-08-21)
  173. ------------------
  174. - Add support for locking requests based on
  175. username OR IP address with inclusive or
  176. using the ``LOCK_OUT_BY_USER_OR_IP`` flag.
  177. [PetrDlouhy]
  178. - Deprecate Signal ``providing_args`` for Django 3.1 support.
  179. [coredumperror]
  180. 5.4.3 (2020-08-06)
  181. ------------------
  182. - Add Django 3.1 support.
  183. [hramezani]
  184. 5.4.2 (2020-07-28)
  185. ------------------
  186. - Add ABC or abstract base class implementation for handlers.
  187. [jorlugaqui]
  188. 5.4.1 (2020-07-03)
  189. ------------------
  190. - Fix code styling for linters.
  191. [aleksihakli]
  192. 5.4.0 (2020-07-03)
  193. ------------------
  194. - Propagate username to lockout view in URL parameters.
  195. [PetrDlouhy]
  196. - Update CAPTCHA examples.
  197. [PetrDlouhy]
  198. - Upgrade django-ipware to version 3.
  199. [hramezani,mnislam01]
  200. 5.3.5 (2020-07-02)
  201. ------------------
  202. - Restrict ipware version for version compatibility.
  203. [aleksihakli]
  204. 5.3.4 (2020-06-09)
  205. ------------------
  206. - Deprecate Django 1.11 LTS support.
  207. [aleksihakli]
  208. 5.3.3 (2020-05-22)
  209. ------------------
  210. - Fix ``AXES_ONLY_ADMIN_SITE`` functionality when
  211. no default admin site is defined in the URL configuration.
  212. [igor-shevchenko]
  213. 5.3.2 (2020-05-15)
  214. ------------------
  215. - Fix AppConf settings prefix for Fargate.
  216. [marksweb]
  217. 5.3.1 (2020-03-23)
  218. ------------------
  219. - Fix null byte ValueError bug in ORM.
  220. [ddimmich]
  221. 5.3.0 (2020-03-10)
  222. ------------------
  223. - Improve Django REST Framework compatibility.
  224. [I0x4dI]
  225. 5.2.2 (2020-01-08)
  226. ------------------
  227. - Add missing proxy implementation for
  228. ``axes.handlers.proxy.AxesProxyHandler.get_failures``.
  229. [aleksihakli]
  230. 5.2.1 (2020-01-08)
  231. ------------------
  232. - Add django-reversion compatibility notes.
  233. [mark-mishyn]
  234. - Add pluggable lockout responses and the
  235. ``AXES_LOCKOUT_CALLABLE`` configuration flag.
  236. [aleksihakli]
  237. 5.2.0 (2020-01-01)
  238. ------------------
  239. - Add a test handler.
  240. [aidanlister]
  241. 5.1.0 (2019-12-29)
  242. ------------------
  243. - Add pluggable user account whitelisting and the
  244. ``AXES_WHITELIST_CALLABLE`` configuration flag.
  245. [aleksihakli]
  246. 5.0.20 (2019-12-01)
  247. -------------------
  248. - Fix django-allauth compatibility issue.
  249. [hramezani]
  250. - Improve tests for login attempt monitoring.
  251. [hramezani]
  252. - Add reverse proxy documentation.
  253. [ckcollab]
  254. - Update OAuth documentation examples.
  255. [aleksihakli]
  256. 5.0.19 (2019-11-06)
  257. -------------------
  258. - Optimize access attempt fetching in database handler.
  259. [hramezani]
  260. - Optimize request data fetching in proxy handler.
  261. [hramezani]
  262. 5.0.18 (2019-10-17)
  263. -------------------
  264. - Add ``cooloff_timedelta`` context variable to lockout responses.
  265. [jstockwin]
  266. 5.0.17 (2019-10-15)
  267. -------------------
  268. - Safer string formatting for user input.
  269. [aleksihakli]
  270. 5.0.16 (2019-10-15)
  271. -------------------
  272. - Fix string formatting bug in logging.
  273. [zerolab]
  274. 5.0.15 (2019-10-09)
  275. -------------------
  276. - Add ``AXES_ENABLE_ADMIN`` flag.
  277. [flannelhead]
  278. 5.0.14 (2019-09-28)
  279. -------------------
  280. - Docs, CI pipeline, and code formatting improvements
  281. [aleksihakli]
  282. 5.0.13 (2019-08-30)
  283. -------------------
  284. - Python 3.8 and PyPy support.
  285. [aleksihakli]
  286. - Migrate to ``setuptools_scm`` and automatic versioning.
  287. [aleksihakli]
  288. 5.0.12 (2019-08-05)
  289. -------------------
  290. - Support callables for ``AXES_COOLOFF_TIME`` setting.
  291. [DariaPlotnikova]
  292. 5.0.11 (2019-07-25)
  293. -------------------
  294. - Fix typo in rST formatting that prevented 5.0.10 release to PyPI.
  295. [aleksihakli]
  296. 5.0.10 (2019-07-25)
  297. -------------------
  298. - Refactor type checks for ``axes.helpers.get_client_cache_key``
  299. for framework compatibility, fixes #471.
  300. [aleksihakli]
  301. 5.0.9 (2019-07-11)
  302. ------------------
  303. - Add better handling for attempt and log resets by moving them
  304. into handlers which allows customization and more configurability.
  305. Unimplemented handlers raise ``NotImplementedError`` by default.
  306. [aleksihakli]
  307. - Add Python 3.8 dev version and PyPy to the Travis test matrix.
  308. [aleksihakli]
  309. 5.0.8 (2019-07-09)
  310. ------------------
  311. - Add ``AXES_ONLY_ADMIN_SITE`` flag for only running Axes on admin site.
  312. [hramezani]
  313. - Add ``axes_reset_logs`` command for removing old AccessLog records.
  314. [tlebrize]
  315. - Allow ``AxesBackend`` subclasses to pass the ``axes.W003`` system check.
  316. [adamchainz]
  317. 5.0.7 (2019-06-14)
  318. ------------------
  319. - Fix lockout message showing when lockout is disabled
  320. with the ``AXES_LOCK_OUT_AT_FAILURE`` setting.
  321. [mogzol]
  322. - Add support for callable ``AXES_FAILURE_LIMIT`` setting.
  323. [bbayles]
  324. 5.0.6 (2019-05-25)
  325. ------------------
  326. - Deprecate ``AXES_DISABLE_SUCCESS_ACCESS_LOG`` flag in favour of
  327. ``AXES_DISABLE_ACCESS_LOG`` which has mostly the same functionality.
  328. Update documentation to better reflect the behaviour of the flag.
  329. [aleksihakli]
  330. 5.0.5 (2019-05-19)
  331. ------------------
  332. - Change the lockout response calculation to request flagging
  333. instead of exception throwing in the signal handler and middleware.
  334. Move request attribute calculation from middleware to handler layer.
  335. Deprecate ``axes.request.AxesHttpRequest`` object type definition.
  336. [aleksihakli]
  337. - Deprecate the old version 4.x ``axes.backends.AxesModelBackend`` class.
  338. [aleksihakli]
  339. - Improve documentation on attempt tracking, resets, Axes customization,
  340. project and component compatibility and integrations, and other things.
  341. [aleksihakli]
  342. 5.0.4 (2019-05-09)
  343. ------------------
  344. - Fix regression with OAuth2 authentication backends not having remote
  345. IP addresses set and throwing an exception in cache key calculation.
  346. [aleksihakli]
  347. 5.0.3 (2019-05-08)
  348. ------------------
  349. - Fix ``django.contrib.auth`` module ``login`` and ``logout`` functionality
  350. so that they work with the handlers without the an ``AxesHttpRequest``
  351. to improve cross compatibility with other Django applications.
  352. [aleksihakli]
  353. - Change IP address resolution to allow empty or missing addresses.
  354. [aleksihakli]
  355. - Add error logging for missing request attributes in the handler layer
  356. so that users get better indicators of misconfigured applications.
  357. [aleksihakli]
  358. 5.0.2 (2019-05-07)
  359. ------------------
  360. - Add ``AXES_ENABLED`` setting for disabling Axes with e.g. tests
  361. that use Django test client ``login``, ``logout``, and ``force_login``
  362. methods, which do not supply the ``request`` argument to views,
  363. preventing Axes from functioning correctly in certain test setups.
  364. [aleksihakli]
  365. 5.0.1 (2019-05-03)
  366. ------------------
  367. - Add changelog to documentation.
  368. [aleksihakli]
  369. 5.0 (2019-05-01)
  370. ----------------
  371. - Deprecate Python 2.7, 3.4 and 3.5 support.
  372. [aleksihakli]
  373. - Remove automatic decoration and monkey-patching of Django views and forms.
  374. Decorators are available for login function and method decoration as before.
  375. [aleksihakli]
  376. - Use backend, middleware, and signal handlers for tracking
  377. login attempts and implementing user lockouts.
  378. [aleksihakli, jorlugaqui, joshua-s]
  379. - Add ``AxesDatabaseHandler``, ``AxesCacheHandler``, and ``AxesDummyHandler``
  380. handler backends for processing user login and logout events and failures.
  381. Handlers are configurable with the ``AXES_HANDLER`` setting.
  382. [aleksihakli, jorlugaqui, joshua-s]
  383. - Improve management commands and separate commands for resetting
  384. all access attempts, attempts by IP, and attempts by username.
  385. New command names are ``axes_reset``, ``axes_reset_ip`` and ``axes_reset_username``.
  386. [aleksihakli]
  387. - Add support for string import for ``AXES_USERNAME_CALLABLE``
  388. that supports dotted paths in addition to the old
  389. callable type such as a function or a class method.
  390. [aleksihakli]
  391. - Deprecate one argument call signature for ``AXES_USERNAME_CALLABLE``.
  392. From now on, the callable needs to accept two arguments,
  393. the HttpRequest and credentials that are supplied to the
  394. Django ``authenticate`` method in authentication backends.
  395. [aleksihakli]
  396. - Move ``axes.attempts.is_already_locked`` function to ``axes.handlers.AxesProxyHandler.is_locked``.
  397. Various other previously undocumented methods have been deprecated and moved inside the project.
  398. The new documented public APIs can be considered as stable and can be safely utilized by other projects.
  399. [aleksihakli]
  400. - Improve documentation layouting and contents. Add public API reference section.
  401. [aleksihakli]
  402. 4.5.4 (2019-01-15)
  403. ------------------
  404. - Improve README and documentation
  405. [aleksihakli]
  406. 4.5.3 (2019-01-14)
  407. ------------------
  408. - Remove the unused ``AccessAttempt.trusted`` flag from models
  409. [aleksihakli]
  410. - Improve README and Travis CI setups
  411. [aleksihakli]
  412. 4.5.2 (2019-01-12)
  413. ------------------
  414. - Added Turkish translations
  415. [obayhan]
  416. 4.5.1 (2019-01-11)
  417. ------------------
  418. - Removed duplicated check that was causing issues when using APIs.
  419. [camilonova]
  420. - Added Russian translations
  421. [lubicz-sielski]
  422. 4.5.0 (2018-12-25)
  423. ------------------
  424. - Improve support for custom authentication credentials using the
  425. ``AXES_USERNAME_FORM_FIELD`` and ``AXES_USERNAME_CALLABLE`` settings.
  426. [mastacheata]
  427. - Updated behaviour for fetching username from request or credentials:
  428. If no ``AXES_USERNAME_CALLABLE`` is configured, the optional
  429. ``credentials`` that are supplied to the axes utility methods
  430. are now the default source for client username and the HTTP
  431. request POST is the fallback for fetching the user information.
  432. ``AXES_USERNAME_CALLABLE`` implements an alternative signature with two
  433. arguments ``request, credentials`` in addition to the old ``request``
  434. call argument signature in a backwards compatible fashion.
  435. [aleksihakli]
  436. - Add official support for the Django 2.1 version and Python 3.7.
  437. [aleksihakli]
  438. - Improve the requirements, documentation, tests, and CI setup.
  439. [aleksihakli]
  440. 4.4.3 (2018-12-08)
  441. ------------------
  442. - Fix MANIFEST.in missing German translations
  443. [aleksihakli]
  444. - Add `AXES_RESET_ON_SUCCESS` configuration flag
  445. [arjenzijlstra]
  446. 4.4.2 (2018-10-30)
  447. ------------------
  448. - fix missing migration and add check to prevent it happening again.
  449. [markddavidoff]
  450. 4.4.1 (2018-10-24)
  451. ------------------
  452. - Add a German translation
  453. [adonig]
  454. - Documentation wording changes
  455. [markddavidoff]
  456. - Use `get_client_username` in `log_user_login_failed` instead of credentials
  457. [markddavidoff]
  458. - pin prospector to 0.12.11, and pin astroid to 1.6.5
  459. [hsiaoyi0504]
  460. 4.4.0 (2018-05-26)
  461. ------------------
  462. - Added AXES_USERNAME_CALLABLE
  463. [jaadus]
  464. 4.3.1 (2018-04-21)
  465. ------------------
  466. - Change custom authentication backend failures from error to warning log level
  467. [aleksihakli]
  468. - Set up strict code linting for CI pipeline that fails builds if linting does not pass
  469. [aleksihakli]
  470. - Clean up old code base and tests based on linter errors
  471. [aleksihakli]
  472. 4.3.0 (2018-04-21)
  473. ------------------
  474. - Refactor and clean up code layout
  475. [aleksihakli]
  476. - Add prospector linting and code checks to toolchain
  477. [aleksihakli]
  478. - Clean up log message formatting and refactor type checks
  479. [EvaSDK]
  480. - Fix faulty user locking with user agent when AXES_ONLY_USER_FAILURES is set
  481. [EvaSDK]
  482. 4.2.1 (2018-04-18)
  483. ------------------
  484. - Fix unicode string interpolation on Python 2.7
  485. [aleksihakli]
  486. 4.2.0 (2018-04-13)
  487. ------------------
  488. - Add configuration flags for client IP resolving
  489. [aleksihakli]
  490. - Add AxesModelBackend authentication backend
  491. [markdaviddoff]
  492. 4.1.0 (2018-02-18)
  493. ------------------
  494. - Add AXES_CACHE setting for configuring `axes` specific caching.
  495. [JWvDronkelaar]
  496. - Add checks and tests for faulty LocMemCache usage in application setup.
  497. [aleksihakli]
  498. 4.0.2 (2018-01-19)
  499. ------------------
  500. - Improve Windows compatibility on Python < 3.4 by utilizing win_inet_pton
  501. [hsiaoyi0504]
  502. - Add documentation on django-allauth integration
  503. [grucha]
  504. - Add documentation on known AccessAttempt caching configuration problems
  505. when using axes with the `django.core.cache.backends.locmem.LocMemCache`
  506. [aleksihakli]
  507. - Refactor and improve existing AccessAttempt cache reset utility
  508. [aleksihakli]
  509. 4.0.1 (2017-12-19)
  510. ------------------
  511. - Fixes issue when not using `AXES_USERNAME_FORM_FIELD`
  512. [camilonova]
  513. 4.0.0 (2017-12-18)
  514. ------------------
  515. - *BREAKING CHANGES*. `AXES_BEHIND_REVERSE_PROXY` `AXES_REVERSE_PROXY_HEADER`
  516. `AXES_NUM_PROXIES` were removed in order to use `django-ipware` to get
  517. the user ip address
  518. [camilonova]
  519. - Added support for custom username field
  520. [kakulukia]
  521. - Customizing Axes doc updated
  522. [pckapps]
  523. - Remove filtering by username
  524. [camilonova]
  525. - Fixed logging failed attempts to authenticate using a custom authentication
  526. backend.
  527. [D3X]
  528. 3.0.3 (2017-11-23)
  529. ------------------
  530. - Test against Python 2.7.
  531. [mbaechtold]
  532. - Test against Python 3.4.
  533. [pope1ni]
  534. 3.0.2 (2017-11-21)
  535. ------------------
  536. - Added form_invalid decorator. Fixes #265
  537. [camilonova]
  538. 3.0.1 (2017-11-17)
  539. ------------------
  540. - Fix DeprecationWarning for logger warning
  541. [richardowen]
  542. - Fixes global lockout possibility
  543. [joeribekker]
  544. - Changed the way output is handled in the management commands
  545. [ataylor32]
  546. 3.0.0 (2017-11-17)
  547. ------------------
  548. - BREAKING CHANGES. Support for Django >= 1.11 and signals, see issue #215.
  549. Drop support for Python < 3.6
  550. [camilonova]
  551. 2.3.3 (2017-07-20)
  552. ------------------
  553. - Many tweaks and handles successful AJAX logins.
  554. [Jack Sullivan]
  555. - Add tests for proxy number parametrization
  556. [aleksihakli]
  557. - Add AXES_NUM_PROXIES setting
  558. [aleksihakli]
  559. - Log failed access attempts regardless of settings
  560. [jimr]
  561. - Updated configuration docs to include AXES_IP_WHITELIST
  562. [Minkey27]
  563. - Add test for get_cache_key function
  564. [jorlugaqui]
  565. - Delete cache key in reset command line
  566. [jorlugaqui]
  567. - Add signals for setting/deleting cache keys
  568. [jorlugaqui]
  569. 2.3.2 (2016-11-24)
  570. ------------------
  571. - Only look for lockable users on a POST
  572. [schinckel]
  573. - Fix and add tests for IPv4 and IPv6 parsing
  574. [aleksihakli]
  575. 2.3.1 (2016-11-12)
  576. ------------------
  577. - Added settings for disabling success accesslogs
  578. [Minkey27]
  579. - Fixed illegal IP address string passed to inet_pton
  580. [samkuehn]
  581. 2.3.0 (2016-11-04)
  582. ------------------
  583. - Fixed ``axes_reset`` management command to skip "ip" prefix to command
  584. arguments.
  585. [EvaMarques]
  586. - Added ``axes_reset_user`` management command to reset lockouts and failed
  587. login records for given users.
  588. [vladimirnani]
  589. - Fixed Travis-PyPI release configuration.
  590. [jezdez]
  591. - Make IP position argument optional.
  592. [aredalen]
  593. - Added possibility to disable access log
  594. [svenhertle]
  595. - Fix for IIS used as reverse proxy adding port number
  596. [Dmitri-Sintsov]
  597. - Made the signal race condition safe.
  598. [Minkey27]
  599. - Added AXES_ONLY_USER_FAILURES to support only looking at the user ID.
  600. [lip77us]
  601. 2.2.0 (2016-07-20)
  602. ------------------
  603. - Improve the logic when using a reverse proxy to avoid possible attacks.
  604. [camilonova]
  605. 2.1.0 (2016-07-14)
  606. ------------------
  607. - Add `default_app_config` so you can just use `axes` in `INSTALLED_APPS`
  608. [vdboor]
  609. 2.0.0 (2016-06-24)
  610. ------------------
  611. - Removed middleware to use app_config
  612. [camilonova]
  613. - Lots of cleaning
  614. [camilonova]
  615. - Improved test suite and versions
  616. [camilonova]
  617. 1.7.0 (2016-06-10)
  618. ------------------
  619. - Use render shortcut for rendering LOCKOUT_TEMPLATE
  620. [Radoslaw Luter]
  621. - Added app_label for RemovedInDjango19Warning
  622. [yograterol]
  623. - Add iso8601 translator.
  624. [mullakhmetov]
  625. - Edit json response. Context now contains ISO 8601 formatted cooloff time
  626. [mullakhmetov]
  627. - Add json response and iso8601 tests.
  628. [mullakhmetov]
  629. - Fixes issue 162: UnicodeDecodeError on pip install
  630. [joeribekker]
  631. - Added AXES_NEVER_LOCKOUT_WHITELIST option to prevent certain IPs from being locked out.
  632. [joeribekker]
  633. 1.6.1 (2016-05-13)
  634. ------------------
  635. - Fixes whitelist check when BEHIND_REVERSE_PROXY
  636. [Patrick Hagemeister]
  637. - Made migrations py3 compatible
  638. [mvdwaeter]
  639. - Fixing #126, possibly breaking compatibility with Django<=1.7
  640. [int-ua]
  641. - Add note for upgrading users about new migration files
  642. [kelseyq]
  643. - Fixes #148
  644. [camilonova]
  645. - Decorate auth_views.login only once
  646. [teeberg]
  647. - Set IP public/private classifier to be compliant with RFC 1918.
  648. [SilasX]
  649. - Issue #155. Lockout response status code changed to 403.
  650. [Arthur Mullahmetov]
  651. - BUGFIX: Missing migration
  652. [smeinel]
  653. 1.6.0 (2016-01-07)
  654. ------------------
  655. - Stopped using render_to_response so that other template engines work
  656. [tarkatronic]
  657. - Improved performance & DoS prevention on query2str
  658. [tarkatronic]
  659. - Immediately return from is_already_locked if the user is not lockable
  660. [jdunck]
  661. - Iterate over ip addresses only once
  662. [annp89]
  663. - added initial migration files to support django 1.7 &up. Upgrading users should run migrate --fake-initial after update
  664. [ibaguio]
  665. - Add db indexes to CommonAccess model
  666. [Schweigi]
  667. 1.5.0 (2015-09-11)
  668. ------------------
  669. - Fix #_get_user_attempts to include username when filtering AccessAttempts if AXES_LOCK_OUT_BY_COMBINATION_USER_AND_IP is True
  670. [afioca]
  671. 1.4.0 (2015-08-09)
  672. ------------------
  673. - Send the user_locked_out signal. Fixes #94.
  674. [toabi]
  675. 1.3.9 (2015-02-11)
  676. ------------------
  677. - Python 3 fix (#104)
  678. 1.3.8 (2014-10-07)
  679. ------------------
  680. - Rename GitHub organization from django-security to django-pci to emphasize focus on providing assistance with building PCI compliant websites with Django.
  681. [aclark4life]
  682. 1.3.7 (2014-10-05)
  683. ------------------
  684. - Explain common issues where Axes fails silently
  685. [cericoda]
  686. - Allow for user-defined username field for lookup in POST data
  687. [SteveByerly]
  688. - Log out only if user was logged in
  689. [zoten]
  690. - Support for floats in cooloff time (i.e: 0.1 == 6 minutes)
  691. [marianov]
  692. - Limit amount of POST data logged (#73). Limiting the length of value is not enough, as there could be arbitrary number of them, or very long key names.
  693. [peterkuma]
  694. - Improve get_ip to try for real ip address
  695. [7wonders]
  696. - Change IPAddressField to GenericIPAddressField. When using a PostgreSQL database and the client does not pass an IP address you get an inet error. This is a known problem with PostgreSQL and the IPAddressField. https://code.djangoproject.com/ticket/5622. It can be fixed by using a GenericIPAddressField instead.
  697. [polvoblanco]
  698. - Get first X-Forwarded-For IP
  699. [tutumcloud]
  700. - White listing IP addresses behind reverse proxy. Allowing some IP addresses to have direct access to the app even if they are behind a reverse proxy. Those IP addresses must still be on a white list.
  701. [ericbulloch]
  702. - Reduce logging of reverse proxy IP lookup and use configured logger. Fixes #76. Instead of logging the notice that django.axes looks for a HTTP header set by a reverse proxy on each attempt, just log it one-time on first module import. Also use the configured logger (by default axes.watch_login) for the message to be more consistent in logging.
  703. [eht16]
  704. - Limit the length of the values logged into the database. Refs #73
  705. [camilonova]
  706. - Refactored tests to be more stable and faster
  707. [camilonova]
  708. - Clean client references
  709. [camilonova]
  710. - Fixed admin login url
  711. [camilonova]
  712. - Added django 1.7 for testing
  713. [camilonova]
  714. - Travis file cleanup
  715. [camilonova]
  716. - Remove hardcoded url path
  717. [camilonova]
  718. - Fixing tests for django 1.7
  719. [Andrew-Crosio]
  720. - Fix for django 1.7 exception not existing
  721. [Andrew-Crosio]
  722. - Removed python 2.6 from testing
  723. [camilonova]
  724. - Use django built-in six version
  725. [camilonova]
  726. - Added six as requirement
  727. [camilonova]
  728. - Added python 2.6 for travis testing
  729. [camilonova]
  730. - Replaced u string literal prefixes with six.u() calls
  731. [amrhassan]
  732. - Fixes object type issue, response is not an string
  733. [camilonova]
  734. - Python 3 compatibility fix for db_reset
  735. [nicois]
  736. - Added example project and helper scripts
  737. [barseghyanartur]
  738. - Admin command to list login attemps
  739. [marianov]
  740. - Replaced six imports with django.utils.six ones
  741. [amrhassan]
  742. - Replaced u string literal prefixes with six.u() calls to make it compatible with Python 3.2
  743. [amrhassan]
  744. - Replaced `assertIn`s and `assertNotIn`s with `assertContains` and `assertNotContains`
  745. [fcurella]
  746. - Added py3k to travis
  747. [fcurella]
  748. - Update test cases to be python3 compatible
  749. [nicois]
  750. - Python 3 compatibility fix for db_reset
  751. [nicois]
  752. - Removed trash from example urls
  753. [barseghyanartur]
  754. - Added django installer
  755. [barseghyanartur]
  756. - Added example project and helper scripts
  757. [barseghyanartur]
  758. 1.3.6 (2013-11-23)
  759. ------------------
  760. - Added AttributeError in case get_profile doesn't exist
  761. [camilonova]
  762. - Improved axes_reset command
  763. [camilonova]
  764. 1.3.5 (2013-11-01)
  765. ------------------
  766. - Fix an issue with __version__ loading the wrong version
  767. [graingert]
  768. 1.3.4 (2013-11-01)
  769. ------------------
  770. - Update README.rst for PyPI
  771. [marty, camilonova, graingert]
  772. - Add cooloff period
  773. [visualspace]
  774. 1.3.3 (2013-07-05)
  775. ------------------
  776. - Added 'username' field to the Admin table
  777. [bkvirendra]
  778. - Removed fallback logging creation since logging cames by default on django 1.4 or later,
  779. if you don't have it is because you explicitly wanted. Fixes #45
  780. [camilonova]
  781. 1.3.2 (2013-03-28)
  782. ------------------
  783. - Fix an issue when a user logout
  784. [camilonova]
  785. - Match pypi version
  786. [camilonova]
  787. - Better User model import method
  788. [camilonova]
  789. - Use only one place to get the version number
  790. [camilonova]
  791. - Fixed an issue when a user on django 1.4 logout
  792. [camilonova]
  793. - Handle exception if there is not user profile model set
  794. [camilonova]
  795. - Made some cleanup and remove a pokemon exception handling
  796. [camilonova]
  797. - Improved tests so it really looks for the rabbit in the hole
  798. [camilonova]
  799. - Match pypi version
  800. [camilonova]
  801. 1.3.1 (2013-03-19)
  802. ------------------
  803. - Add support for Django 1.5
  804. [camilonova]
  805. 1.3.0 (2013-02-27)
  806. ------------------
  807. - Bug fix: get_version() format string
  808. [csghormley]
  809. 1.2.9 (2013-02-20)
  810. ------------------
  811. - Add to and improve test cases
  812. [camilonova]
  813. 1.2.8 (2013-01-23)
  814. ------------------
  815. - Increased http accept header length
  816. [jslatts]
  817. 1.2.7 (2013-01-17)
  818. ------------------
  819. - Reverse proxy support
  820. [rmagee]
  821. - Clean up README
  822. [martey]
  823. 1.2.6 (2012-12-04)
  824. ------------------
  825. - Remove unused import
  826. [aclark4life]
  827. 1.2.5 (2012-11-28)
  828. ------------------
  829. - Fix setup.py
  830. [aclark4life]
  831. - Added ability to flag user accounts as unlockable.
  832. [kencochrane]
  833. - Added ipaddress as a param to the user_locked_out signal.
  834. [kencochrane]
  835. - Added a signal receiver for user_logged_out.
  836. [kencochrane]
  837. - Added a signal for when a user gets locked out.
  838. [kencochrane]
  839. - Added AccessLog model to log all access attempts.
  840. [kencochrane]
  841. Keywords: authentication django pci security
  842. Platform: UNKNOWN
  843. Classifier: Development Status :: 5 - Production/Stable
  844. Classifier: Environment :: Web Environment
  845. Classifier: Environment :: Plugins
  846. Classifier: Framework :: Django
  847. Classifier: Framework :: Django :: 2.2
  848. Classifier: Framework :: Django :: 3.0
  849. Classifier: Framework :: Django :: 3.1
  850. Classifier: Intended Audience :: Developers
  851. Classifier: Intended Audience :: System Administrators
  852. Classifier: License :: OSI Approved :: MIT License
  853. Classifier: Operating System :: OS Independent
  854. Classifier: Programming Language :: Python
  855. Classifier: Programming Language :: Python :: 3
  856. Classifier: Programming Language :: Python :: 3.6
  857. Classifier: Programming Language :: Python :: 3.7
  858. Classifier: Programming Language :: Python :: 3.8
  859. Classifier: Programming Language :: Python :: 3.9
  860. Classifier: Programming Language :: Python :: Implementation :: CPython
  861. Classifier: Programming Language :: Python :: Implementation :: PyPy
  862. Classifier: Topic :: Internet :: Log Analysis
  863. Classifier: Topic :: Security
  864. Classifier: Topic :: System :: Logging
  865. Requires-Python: ~=3.6