Commit Graph

95 Commits

Author SHA1 Message Date
François Voron
6f8bf57d0a Add development instructions in README 2019-11-02 14:18:08 +01:00
François Voron
1811d4aa2d Add pytest markers and skip procedure for MongoDB tests 2019-11-02 14:09:43 +01:00
François Voron
6ba8bb835e Bump version: 0.3.0 → 0.3.1 v0.3.1 2019-10-31 21:44:08 +01:00
François Voron
60c815e425 Fix #35: catch import error when not having optional DB depedencies 2019-10-31 21:43:29 +01:00
François Voron
658161518a Add error codes on routes (#34)
Fix #33
2019-10-31 10:10:53 +01:00
François Voron
b512197094 Use singular Event enum name 2019-10-31 09:59:41 +01:00
François Voron
8200e44b38 Bump version: 0.2.0 → 0.3.0 v0.3.0 2019-10-29 13:36:13 +01:00
François Voron
f6ab644691 Apply Black formatting 2019-10-29 13:35:38 +01:00
François Voron
9b7ec58800 #21: Add superuser routes (#30)
* Add CRU superuser routes

* Add delete method on DB adapters

* Add superuser delete route

* Add superuser routes documentation

* Pass black formatter
2019-10-29 13:32:44 +01:00
François Voron
919550ba74 Merge pull request #31 from frankie567/dependabot/pip/black-19.10b0
Bump black from 19.3b0 to 19.10b0
2019-10-29 13:32:20 +01:00
François Voron
d68619236d Merge pull request #32 from frankie567/dependabot/pip/flake8-3.7.9
Bump flake8 from 3.7.8 to 3.7.9
2019-10-29 13:30:30 +01:00
dependabot-preview[bot]
e9f941a6a8 Bump flake8 from 3.7.8 to 3.7.9
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.7.8 to 3.7.9.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.7.8...3.7.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-29 05:00:58 +00:00
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