Commit Graph

83 Commits

Author SHA1 Message Date
dependabot-preview[bot]
17ca101c4a Bump black from 19.3b0 to 19.10b0
Bumps [black](https://github.com/psf/black) from 19.3b0 to 19.10b0.
- [Release notes](https://github.com/psf/black/releases)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-29 04:58:46 +00:00
François Voron
d9a9d9ba39 Fix lines highlights in MongoDB doc 2019-10-27 16:40:22 +01:00
François Voron
ab0b187f20 Implement MongoDB database adapter (#29)
* Implement MongoDB adapter using motor

* Add mongo container to build pipeline

* Tidy up dependencies

* Update documentation for MongoDB

* Export MongoDB adapter from db package

* Pass black format

* Update README
2019-10-27 16:34:30 +01:00
François Voron
3875632c80 Run the anti-timing attack hash only when user is None 2019-10-25 09:10:30 +02:00
François Voron
7485f79fc5 Fix documentation internal links 2019-10-25 08:54:05 +02:00
François Voron
3a84e02788 Bump version: 0.1.0 → 0.2.0 v0.2.0 2019-10-25 08:34:53 +02:00
François Voron
8987b1bb2a Merge pull request #26 from frankie567/issue-20-hooks
Fix #20: revamp and define new event handlers.
2019-10-25 08:33:23 +02:00
François Voron
3506df31e7 Add ON_AFTER_REGISTER event handler 2019-10-25 08:28:29 +02:00
François Voron
af12834225 Merge pull request #27 from frankie567/dependabot/pip/pytest-5.2.2
Bump pytest from 5.2.1 to 5.2.2
2019-10-25 07:16:22 +02:00
dependabot-preview[bot]
7509a00441 Bump pytest from 5.2.1 to 5.2.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.1...5.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-25 04:59:11 +00:00
François Voron
008a8296f2 Define on_after_forgot_password with a decorator 2019-10-24 09:18:07 +02:00
François Voron
6ef96481f2 Merge pull request #25 from frankie567/dependabot/pip/pytest-mock-1.11.2
Bump pytest-mock from 1.11.1 to 1.11.2
2019-10-24 06:51:52 +02:00
dependabot-preview[bot]
a86e1b47d9 Bump pytest-mock from 1.11.1 to 1.11.2
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v1.11.1...v1.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 04:49:20 +00:00
dependabot-preview[bot]
3719a52549 Bump email-validator from 1.0.4 to 1.0.5 (#23)
* Bump email-validator from 1.0.4 to 1.0.5

Bumps [email-validator](https://github.com/JoshData/python-email-validator) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/JoshData/python-email-validator/releases)
- [Commits](https://github.com/JoshData/python-email-validator/compare/v1.0.4...v1.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump email-validator to 1.0.5 in pyproject.toml
2019-10-21 07:41:20 +02:00
François Voron
636dd86987 Remove Deepsource 2019-10-20 16:19:23 +02:00
François Voron
089d088268 Fix Deepsource issues (#22)
* Fix Deepsource issues

* Add docs/ to Deepsource exclusion list

* Fix black formatting
2019-10-20 16:16:52 +02:00
François Voron
ed8145d676 Update Deepsource config 2019-10-20 11:58:26 +02:00
François Voron
8c868cbde1 Add Deepsource config 2019-10-20 11:55:50 +02:00
François Voron
c4c33820c2 Bump version: 0.0.2 → 0.1.0 v0.1.0 2019-10-20 10:37:33 +02:00
François Voron
13a2e63186 Setup bumpversion 2019-10-20 10:37:22 +02:00
François Voron
f337bf1491 Use README as index for documentation 2019-10-20 10:23:46 +02:00
François Voron
e146e4bca4 Fix #13: add /me update route 2019-10-20 10:11:48 +02:00
François Voron
1996ed69ea Fix #14: add /me route 2019-10-20 09:30:26 +02:00
François Voron
8d65a11a4f Fix #17: prevent to set is_active/is_superuser on register route 2019-10-19 18:56:54 +02:00
François Voron
5d4979f9a9 Fix #19: 201 status code on successful registration 2019-10-19 18:36:57 +02:00
François Voron
a4171f8bea Fix #18: check for existing user on registration 2019-10-19 18:31:08 +02:00
François Voron
a5618399a1 Fix #9: Write documentation (#16)
* Start to write documentation

* Add docs favicon

* Add routes documentation

* Add doc about dependency callables

* Add information about how to make authenticated calls
2019-10-19 18:16:08 +02:00
François Voron
4153456a30 Merge pull request #12 from frankie567/dependabot/pip/mypy-0.740
Bump mypy from 0.730 to 0.740
2019-10-17 12:22:47 +02:00
dependabot-preview[bot]
40f582f397 Bump mypy from 0.730 to 0.740
Bumps [mypy](https://github.com/python/mypy) from 0.730 to 0.740.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.730...v0.740)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-17 10:20:38 +00:00
François Voron
8ee5fcbb80 Merge pull request #11 from frankie567/issue-10-packaging
Fix #10: Setup Flit and lock packages versions
2019-10-17 12:18:20 +02:00
François Voron
fee3e4ef53 Update build badge in README 2019-10-17 08:59:37 +02:00
François Voron
122a64291b Add release step to build workflow 2019-10-17 08:58:00 +02:00
François Voron
4ddbda797c Bump version 2019-10-17 07:50:22 +02:00
François Voron
1e1a3dc06a Setup Flit and lock packages versions 2019-10-17 07:48:39 +02:00
François Voron
f2892aa378 #5 Improve test coverage (#6)
* Improve test coverage of BaseUserDatabase

* Improve unit test isolation

* Improve coverage of router and authentication
2019-10-15 07:54:53 +02:00
François Voron
66ef56758a Fix documentation workflow (again) 2019-10-14 07:24:44 +02:00
François Voron
4420a41325 Fix documentation workflow 2019-10-14 07:22:58 +02:00
François Voron
645ae48c6c Add GH Action to deploy documentation (#8) 2019-10-13 19:06:44 +02:00
François Voron
c111f00318 Use GitHub actions for CI (#7) 2019-10-13 19:01:39 +02:00
François Voron
99dca57dbb Add missing pytest-mock dependency 2019-10-13 12:09:24 +02:00
François Voron
49daeff869 Close #3: forgot/reset password routes 2019-10-13 12:05:10 +02:00
François Voron
ef1f60d7e5 Fix logo in doc index 2019-10-13 11:24:00 +02:00
François Voron
3225cab543 Add logo for Github and update doc index 2019-10-13 11:06:37 +02:00
François Voron
c00fe925c2 Fix logo on README 2019-10-13 10:58:48 +02:00
François Voron
1280ad0776 Add logo 2019-10-13 10:56:24 +02:00
François Voron
d439731304 Link issues in README 2019-10-12 09:45:16 +02:00
François Voron
c7592ba442 Add features to README 2019-10-12 09:44:01 +02:00
François Voron
5b85caa425 Add LICENSE [ci skip] 2019-10-11 16:10:58 +02:00
François Voron
8c488c8242 Add Codecov badge [ci skip] 2019-10-11 15:33:46 +02:00
François Voron
298b4d54e1 Setup Codecov 2019-10-11 15:29:24 +02:00