87 Commits

Author SHA1 Message Date
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
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
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
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
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
d9a9d9ba39 Fix lines highlights in MongoDB doc 2019-10-27 16:40:22 +01:00
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
3875632c80 Run the anti-timing attack hash only when user is None 2019-10-25 09:10:30 +02:00
7485f79fc5 Fix documentation internal links 2019-10-25 08:54:05 +02:00
3a84e02788 Bump version: 0.1.0 → 0.2.0 v0.2.0 2019-10-25 08:34:53 +02:00
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
3506df31e7 Add ON_AFTER_REGISTER event handler 2019-10-25 08:28:29 +02:00
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
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
008a8296f2 Define on_after_forgot_password with a decorator 2019-10-24 09:18:07 +02:00
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
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
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
636dd86987 Remove Deepsource 2019-10-20 16:19:23 +02:00
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
ed8145d676 Update Deepsource config 2019-10-20 11:58:26 +02:00
8c868cbde1 Add Deepsource config 2019-10-20 11:55:50 +02:00
c4c33820c2 Bump version: 0.0.2 → 0.1.0 v0.1.0 2019-10-20 10:37:33 +02:00
13a2e63186 Setup bumpversion 2019-10-20 10:37:22 +02:00
f337bf1491 Use README as index for documentation 2019-10-20 10:23:46 +02:00
e146e4bca4 Fix #13: add /me update route 2019-10-20 10:11:48 +02:00
1996ed69ea Fix #14: add /me route 2019-10-20 09:30:26 +02:00
8d65a11a4f Fix #17: prevent to set is_active/is_superuser on register route 2019-10-19 18:56:54 +02:00
5d4979f9a9 Fix #19: 201 status code on successful registration 2019-10-19 18:36:57 +02:00
a4171f8bea Fix #18: check for existing user on registration 2019-10-19 18:31:08 +02:00
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
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
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
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
fee3e4ef53 Update build badge in README 2019-10-17 08:59:37 +02:00
122a64291b Add release step to build workflow 2019-10-17 08:58:00 +02:00
4ddbda797c Bump version 2019-10-17 07:50:22 +02:00
1e1a3dc06a Setup Flit and lock packages versions 2019-10-17 07:48:39 +02:00
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
66ef56758a Fix documentation workflow (again) 2019-10-14 07:24:44 +02:00
4420a41325 Fix documentation workflow 2019-10-14 07:22:58 +02:00
645ae48c6c Add GH Action to deploy documentation (#8) 2019-10-13 19:06:44 +02:00
c111f00318 Use GitHub actions for CI (#7) 2019-10-13 19:01:39 +02:00
99dca57dbb Add missing pytest-mock dependency 2019-10-13 12:09:24 +02:00
49daeff869 Close #3: forgot/reset password routes 2019-10-13 12:05:10 +02:00
ef1f60d7e5 Fix logo in doc index 2019-10-13 11:24:00 +02:00
3225cab543 Add logo for Github and update doc index 2019-10-13 11:06:37 +02:00
c00fe925c2 Fix logo on README 2019-10-13 10:58:48 +02:00
1280ad0776 Add logo 2019-10-13 10:56:24 +02:00
d439731304 Link issues in README 2019-10-12 09:45:16 +02:00