Commit Graph

113 Commits

Author SHA1 Message Date
François Voron
280a2e253a Add Python 3.8 to build matrix (#58)
* Add Python 3.8 to build matrix

* Force pipenv to use matrix Python  version

* Put release step in separate job

* Fix build.yml workflow
2019-11-25 12:54:32 +01:00
dependabot-preview[bot]
7c87039fc7 Bump fastapi from 0.42.0 to 0.43.0 (#56)
* Bump fastapi from 0.42.0 to 0.43.0

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Changelog](https://github.com/tiangolo/fastapi/blob/master/docs/history-design-future.md)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.42.0...0.43.0)

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

* Bump fastapi==0.43.0 in pyproject.toml
2019-11-25 07:46:17 +01:00
dependabot-preview[bot]
2052a8bef3 Bump flit from 1.3 to 2.0.2 (#55)
* Bump flit from 1.3 to 2.0.2

Bumps [flit](https://github.com/takluyver/flit) from 1.3 to 2.0.2.
- [Release notes](https://github.com/takluyver/flit/releases)
- [Changelog](https://github.com/takluyver/flit/blob/master/doc/history.rst)
- [Commits](https://github.com/takluyver/flit/commits)

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

* Update Flit build settings following 2.x changes
2019-11-25 07:38:50 +01:00
dependabot-preview[bot]
f482f2c7ff Bump passlib from 1.7.1 to 1.7.2 (#57)
Bumps [passlib](https://bitbucket.org/ecollins/passlib) from 1.7.1 to 1.7.2.
- [Commits](https://bitbucket.org/ecollins/passlib/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 07:18:27 +01:00
dependabot-preview[bot]
a1dd77531c Bump pytest-mock from 1.12.0 to 1.12.1 (#53)
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 1.12.0 to 1.12.1.
- [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.12.0...v1.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 09:09:14 +01:00
dependabot-preview[bot]
766157d4f5 Bump pytest-mock from 1.11.2 to 1.12.0 (#52)
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 1.11.2 to 1.12.0.
- [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.2...v1.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 11:39:36 +01:00
dependabot-preview[bot]
d5ec35a22f Bump pytest from 5.2.4 to 5.3.0 (#51)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.4 to 5.3.0.
- [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.4...5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 11:39:19 +01:00
dependabot-preview[bot]
f3f473b853 Bump mkdocs-material from 4.4.3 to 4.5.0 (#50)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/4.4.3...4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 14:56:43 +01:00
dependabot-preview[bot]
9ba291b4ee Bump pymdown-extensions from 6.1 to 6.2 (#48)
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 6.1 to 6.2.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/6.1.0...6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 06:36:00 +01:00
dependabot-preview[bot]
07c5dab89e Bump pytest from 5.2.3 to 5.2.4 (#49)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.3 to 5.2.4.
- [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.3...5.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 06:35:41 +01:00
dependabot-preview[bot]
ae09558a91 Bump pytest from 5.2.2 to 5.2.3 (#46)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.2 to 5.2.3.
- [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.2...5.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-17 10:03:48 +01:00
François Voron
9aa8398884 Do a proper Pydantic model instantation in SQLAlchemy adapter 2019-11-17 09:59:44 +01:00
dependabot-preview[bot]
09c8e61585 Bump sqlalchemy from 1.3.10 to 1.3.11 (#45)
* Bump sqlalchemy from 1.3.10 to 1.3.11

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.10 to 1.3.11.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

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

* Bump sqlalchemy from 1.3.10 to 1.3.11 in pyproject
2019-11-12 13:09:15 +01:00
François Voron
a94ee2b999 Add pull_request build trigger to GH workflow
Noticed that the first PR of a contributor didn't trigger the pipeline. This should fix it.
2019-11-06 13:20:16 +01:00
prostomarkeloff
37b34e6d28 Add one more example for route dependency (#40)
* Add one more example for routing dependencie

* fix for more purity

* Delete f-string
2019-11-06 13:14:45 +01:00
François Voron
adfe64e0fd Bump databases to 0.2.6 in project setup 2019-11-06 07:17:00 +01:00
dependabot-preview[bot]
1006d593bb Bump databases from 0.2.5 to 0.2.6 (#39)
Bumps [databases](https://github.com/encode/databases) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/encode/databases/releases)
- [Commits](https://github.com/encode/databases/compare/0.2.5...0.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 07:15:48 +01:00
François Voron
47ad4ce1cc Fix #36: fix token url in auto doc (#38)
* Fix #36: fix token url in auto doc

* Define OAuth scheme in authentication base with default /users/login tokenUrl
* Allow to override it through contructor argument of auth class

* Fix test coverage of BaseAuthentication
2019-11-03 09:20:16 +01:00
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