641 Commits

Author SHA1 Message Date
a0cc72c757 Bump codecov from 2.0.21 to 2.0.22 (#136)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.0.21 to 2.0.22.
- [Release notes](https://github.com/codecov/codecov-python/releases)
- [Changelog](https://github.com/codecov/codecov-python/blob/v2.0.22/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-python/compare/v2.0.21...v2.0.22)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-19 08:38:23 +01:00
e64317521b Bump codecov from 2.0.16 to 2.0.21 (#135)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.0.16 to 2.0.21.
- [Release notes](https://github.com/codecov/codecov-python/releases)
- [Changelog](https://github.com/codecov/codecov-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-python/compare/v2.0.16...v2.0.21)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 11:38:38 +01:00
de8c9fdf01 Bump sqlalchemy from 1.3.14 to 1.3.15 (#129)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.14 to 1.3.15.
- [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>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 07:32:18 +01:00
9c23c7cc49 Bump tortoise-orm from 0.15.18 to 0.16.0 (#133)
* Bump tortoise-orm from 0.15.18 to 0.16.0

Bumps [tortoise-orm](https://github.com/tortoise/tortoise-orm) from 0.15.18 to 0.16.0.
- [Release notes](https://github.com/tortoise/tortoise-orm/releases)
- [Changelog](https://github.com/tortoise/tortoise-orm/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/tortoise/tortoise-orm/compare/0.15.18...0.16.0)

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

* Bump tortoise-orm in pyproject

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: François Voron <fvoron@gmail.com>
2020-03-16 07:31:25 +01:00
8987df456a Bump mkdocs-material from 5.0.0rc1 to 5.0.0rc2 (#132)
* Bump mkdocs-material from 5.0.0rc1 to 5.0.0rc2

Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 5.0.0rc1 to 5.0.0rc2.
- [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/5.0.0rc1...5.0.0rc2)

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

* Remove mkdocs bug workaround

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: François Voron <fvoron@gmail.com>
2020-03-16 07:27:31 +01:00
e05ef43727 Bump pytest from 5.3.5 to 5.4.1 (#134)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.5 to 5.4.1.
- [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.3.5...5.4.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 07:20:24 +01:00
efb0df95a6 Fix doc configuration 2020-03-11 09:15:34 +01:00
9281962c2e Bump sqlalchemy from 1.3.13 to 1.3.14 (#125)
* Bump sqlalchemy from 1.3.13 to 1.3.14

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.13 to 1.3.14.
- [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>

* Make sqlalchemy dep version less restrictive

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: François Voron <fvoron@gmail.com>
2020-03-11 08:28:38 +01:00
8accc35e6c Bump pygments from 2.5.2 to 2.6.1 (#123)
Bumps [pygments](https://github.com/pygments/pygments) from 2.5.2 to 2.6.1.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.5.2...2.6.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 08:13:38 +01:00
f11ba6a906 Bump mypy from 0.761 to 0.770 (#127)
Bumps [mypy](https://github.com/python/mypy) from 0.761 to 0.770.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.761...v0.770)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 08:13:23 +01:00
1cde311582 Bump version: 0.7.0 → 0.7.1 v0.7.1 2020-03-05 07:43:00 +01:00
50b6d257a4 Bump dependencies 2020-03-05 07:42:54 +01:00
3e41826c85 Bump version: 0.6.6 → 0.7.0 v0.7.0 2020-03-01 08:29:22 +01:00
efcd80d6a0 Bump fastapi and tortoise-orm 2020-03-01 08:29:13 +01:00
11cdf60038 Bump packages 2020-02-25 08:46:52 +01:00
0b68bd5f5d Bump dependencies 2020-02-13 15:26:16 +01:00
ce2d96fd82 Bump version: 0.6.5 → 0.6.6 v0.6.6 2020-02-07 08:47:59 +01:00
ffc45e5368 Bump dependencies 2020-02-07 08:47:55 +01:00
6607d968ff Fix #100: wrong event handlers usage in full examples 2020-02-07 08:00:15 +01:00
523ecddd06 Bump version: 0.6.4 → 0.6.5 v0.6.5 2020-02-05 09:43:52 +01:00
cc6b3a0d8f Bump fastapi from 0.47.1 to 0.48.0 (#99)
* Bump fastapi from 0.47.1 to 0.48.0

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.47.1 to 0.48.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.47.1...0.48.0)

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

* Bump fastapi

Co-authored-by: François Voron <fvoron@gmail.com>
2020-02-05 09:39:57 +01:00
ca8cd5debd Update pyproject.toml to use passlib 1.7.2 (#98)
I was getting DepricationWarnings from using passlib 1.7.1.  It seems like Pipfile has already been updated for 1.7.2 but pyproject.toml got left behind.
2020-02-05 09:22:32 +01:00
e58f18582e Fix tortoise import error (#97)
I was getting an import error using tortoise 0.1.1: `ImportError: cannot import name 'Model' from 'tortoise'`.  These few changes seemed to have resolved the issue.
2020-02-05 09:20:28 +01:00
74d1eaea64 Bump version: 0.6.3 → 0.6.4 v0.6.4 2020-02-03 10:55:42 +01:00
b7bb7c2e31 Apply formatting 2020-02-03 10:49:54 +01:00
9353bb79cb Implement on_after_update event handle 2020-02-03 10:48:53 +01:00
05b1df9a16 Implement logout route 2020-02-03 10:12:33 +01:00
0fdd0fd070 Bump sqlalchemy from 1.3.12 to 1.3.13 (#94)
* Bump sqlalchemy from 1.3.12 to 1.3.13

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.12 to 1.3.13.
- [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==1.3.13

Co-authored-by: François Voron <fvoron@gmail.com>
2020-02-03 09:53:18 +01:00
020013118d Pin pytest-mock dependency to its git master branch 2020-02-03 08:28:46 +01:00
d1006667d0 Bump version: 0.6.2 → 0.6.3 v0.6.3 2020-01-20 12:22:05 +01:00
325882436c Fix on_after_register handler not being passed Request with OAuth 2020-01-20 12:22:02 +01:00
2585b4fd1c Bump version: 0.6.1 → 0.6.2 v0.6.2 2020-01-20 11:01:36 +01:00
61892b0f62 Merge branch 'master' of github.com:frankie567/fastapi-users 2020-01-20 11:01:22 +01:00
4a7f9e750f Bump fastapi from 0.46.0 to 0.47.1 (#92)
* Bump fastapi from 0.46.0 to 0.47.1

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.46.0 to 0.47.1.
- [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.46.0...0.47.1)

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

* Add Request in event_handlers arguments

* Bump fastapi

Co-authored-by: François Voron <fvoron@gmail.com>
2020-01-20 11:01:04 +01:00
20c13c0976 Merge branch 'master' of github.com:frankie567/fastapi-users 2020-01-20 10:51:02 +01:00
2a537fbb2d Bump tortoise-orm from 0.15.7 to 0.15.9 (#91)
* Bump tortoise-orm from 0.15.7 to 0.15.9

Bumps [tortoise-orm](https://github.com/tortoise/tortoise-orm) from 0.15.7 to 0.15.9.
- [Release notes](https://github.com/tortoise/tortoise-orm/releases)
- [Changelog](https://github.com/tortoise/tortoise-orm/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/tortoise/tortoise-orm/compare/0.15.7...0.15.9)

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

* Bump tortoise-orm

Co-authored-by: François Voron <fvoron@gmail.com>
2020-01-20 10:49:40 +01:00
9d45ca08ff Bump pytest from 5.3.2 to 5.3.3 (#90)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.2 to 5.3.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.3.2...5.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 10:48:31 +01:00
e83ca3efed Merge branch 'master' of github.com:frankie567/fastapi-users 2020-01-20 10:48:04 +01:00
57a37150a0 Add Request in event_handlers arguments 2020-01-20 10:46:45 +01:00
70f0419490 Correct docs for User model (#89) 2020-01-19 20:52:09 +01:00
7279b44e19 Bump version: 0.6.0 → 0.6.1 v0.6.1 2020-01-17 16:18:57 +01:00
fff167043a Fix authorize not using arbitrary redirect url 2020-01-17 16:18:49 +01:00
cc727ac324 Bump version: 0.5.1 → 0.6.0 v0.6.0 2020-01-17 11:47:10 +01:00
159c8b967e Update README 2020-01-17 11:45:25 +01:00
88b133d41c Implement OAuth2 flow (#88)
* Move users router in sub-module

* Factorize UserRouter into EventHandlersRouter

* Implement OAuth registration/login router

* Apply isort/black

* Remove temporary pytest marker

* Fix httpx-oauth version in lock file

* Ensure ON_AFTER_REGISTER event is triggered on OAuth registration

* Add API on FastAPIUsers to generate an OAuth router

* Improve test coverage of FastAPIUsers

* Small fixes

* Write the OAuth documentation

* Fix SQL unit-tests by avoiding collisions in SQLite db files
2020-01-17 11:43:17 +01:00
54aefea59a Bump flit from 2.1.0 to 2.2.0 (#87)
Bumps [flit](https://github.com/takluyver/flit) from 2.1.0 to 2.2.0.
- [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/compare/2.1.0...2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 13:07:56 +01:00
8fe1997dbc Bump version: 0.5.0 → 0.5.1 v0.5.1 2020-01-11 10:55:15 +01:00
dbbb9144b0 Expose more options for Cookie authentication 2020-01-11 10:55:02 +01:00
c537b58d52 Bump fastapi from 0.45.0 to 0.46.0 (#86)
* Bump fastapi from 0.45.0 to 0.46.0

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.45.0 to 0.46.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.45.0...0.46.0)

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

* Bump fastapi in pyproject

Co-authored-by: François Voron <fvoron@gmail.com>
2020-01-09 09:41:56 +01:00
ee0ade8909 Bump pytest-mock from 1.13.0 to 2.0.0 (#85)
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 1.13.0 to 2.0.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.13.0...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 08:15:24 +01:00