179 Commits

Author SHA1 Message Date
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
e743e48cc5 Bump version: 0.4.1 → 0.5.0 v0.5.0 2020-01-04 15:58:16 +01:00
104a6c6bf5 Inject every models variations and DB model in DB adapters (#84)
* Inject every model variations in router and DB model in DB adapters

* Update documentation and import Tortoise in db module

* Use path operation decorator dependencies for superuser routes
2020-01-04 15:36:34 +01:00
c903b30161 Bump tortoise-orm from 0.15.5 to 0.15.7 (#82)
* Bump tortoise-orm from 0.15.5 to 0.15.7

Bumps [tortoise-orm](https://github.com/tortoise/tortoise-orm) from 0.15.5 to 0.15.7.
- [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.5...0.15.7)

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

* Bump tortoise-orm from 0.15.5 to 0.15.7

Co-authored-by: François Voron <fvoron@gmail.com>
2019-12-29 11:42:14 +01:00
24664f3fc3 Bump pymdown-extensions from 6.2 to 6.2.1 (#80)
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 6.2 to 6.2.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/6.2.0...6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 14:50:06 +01:00
394afd3195 Bump mypy from 0.760 to 0.761 (#79)
Bumps [mypy](https://github.com/python/mypy) from 0.760 to 0.761.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.760...v0.761)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-20 07:12:31 +01:00
3fc15ceffe Bump mypy from 0.750 to 0.760 (#78)
Bumps [mypy](https://github.com/python/mypy) from 0.750 to 0.760.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.750...v0.760)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 08:10:28 +01:00
935bccf528 Bump version: 0.4.0 → 0.4.1 v0.4.1 2019-12-17 15:50:12 +01:00
7817d372c6 Fix #77: use CharField for PK in Tortoise adapter 2019-12-17 15:49:30 +01:00
bdfef36866 Bump sqlalchemy from 1.3.11 to 1.3.12 (#76)
* Bump sqlalchemy from 1.3.11 to 1.3.12

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.11 to 1.3.12.
- [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.11 to 1.3.12 [pyproject]
2019-12-17 07:18:00 +01:00
7bc7ccfa09 Bump pytest from 5.3.1 to 5.3.2 (#75)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.1 to 5.3.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.3.1...5.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:16:10 +01:00
cf52f5c61d Bump fastapi from 0.44.1 to 0.45.0 (#73)
* Bump fastapi from 0.44.1 to 0.45.0

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

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

* Bump fastapi from 0.44.1 to 0.45.0 in pyproject
2019-12-12 07:58:44 +01:00
4883c87222 Bump motor from 2.0.0 to 2.1.0 (#74)
* Bump motor from 2.0.0 to 2.1.0

Bumps [motor](https://github.com/mongodb/motor) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/mongodb/motor/releases)
- [Changelog](https://github.com/mongodb/motor/blob/master/doc/changelog.rst)
- [Commits](https://github.com/mongodb/motor/compare/2.0.0...2.1.0)

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

*  Bump motor from 2.0.0 to 2.1.0
2019-12-12 07:40:04 +01:00