Commit Graph

260 Commits

Author SHA1 Message Date
François Voron
36faea6493 Merge branch 'master' of github.com:frankie567/fastapi-users 2020-07-21 15:25:23 +02:00
François Voron
754b6f71d9 Bump dependencies 2020-07-21 15:25:16 +02:00
oskar-gmerek
49665ca36d The doubled parenthesis causing error on line 14 has been removed (#268)
The parenthesis causing error on line 14 has been removed.
2020-07-21 15:24:51 +02:00
oskar-gmerek
bde0c96cd8 The doubled parenthesis causing error on line 14 has been removed (#269)
The parenthesis causing error on line 14 has been removed
2020-07-21 15:24:10 +02:00
François Voron
28f4eed5e5 Bump version: 3.0.1 → 3.0.2 v3.0.2 2020-07-20 16:35:26 +02:00
François Voron
13ff31ed08 Fix #253 and #258: improve documentation 2020-07-20 16:27:43 +02:00
François Voron
7630b20bd8 Bump dependencies 2020-07-20 16:22:02 +02:00
François Voron
6334a4b911 Fix #261: improve email query in MongoDB 2020-07-20 16:18:53 +02:00
François Voron
4273076831 Add unit test to check email validation 2020-07-20 11:25:50 +02:00
François Voron
1b6c832b28 Bump version: 3.0.0 → 3.0.1 v3.0.1 2020-07-13 14:20:50 +02:00
François Voron
8457083093 Bump dependencies 2020-07-13 14:20:41 +02:00
François Voron
0134a43fad Bump version: 2.0.1 → 3.0.0 v3.0.0 2020-07-09 18:44:50 +02:00
François Voron
b7dbdf6ea6 Fix #245 : handle email as case insensitive while retrieving user in DB (#250)
* Add unit tests to enforce email case insensitivity

* Handle email as case insentitive while retrieving user in DB

* Apply isort/black

* Add migration doc
2020-07-09 18:44:25 +02:00
François Voron
e63a67ead3 Bump packages and apply black 2020-07-09 17:28:41 +02:00
François Voron
1b24d307a8 Bump version: 2.0.0 → 2.0.1 v2.0.1 2020-06-27 17:23:13 +02:00
martincolladofab
efad0e0fef fix "Swagger issue for endpoints register & update" (#233)
* fix: Change on the inheritance model, according to the documentation for the request body parameters. #171

* fix: Changes on the documentation examples to fix the inheritance problem when passing the User class (for create or update only passing the pydantic one) #171

* fix: Changes on the documentation examples to fix the inheritance problem when passing the User class (for create or update only passing the pydantic one) #171

* Put back inheritance on update model and factorize create_update_dict methods

Co-authored-by: François Voron <fvoron@gmail.com>
2020-06-27 17:19:53 +02:00
François Voron
1f3bb524ae Bump dependencies 2020-06-27 16:56:37 +02:00
François Voron
fa049dbcc5 Bump dependencies 2020-06-22 17:47:18 +02:00
Eric Lopes
dc9f4c75ce adding warning of insecure SECRET (#232) 2020-06-15 15:41:15 +02:00
François Voron
638ffb70d0 Add a migration doc for 2.0.0 2020-06-15 14:44:47 +02:00
François Voron
111af6e2eb Bump version: 1.1.1 → 2.0.0 v2.0.0 2020-06-15 14:35:30 +02:00
Eric Lopes
75147a7071 fix documentation tokenUrl (#210)
* fix documentation tokenUrl

* Change default login tokenUrl
2020-06-15 14:33:52 +02:00
François Voron
624172ccf9 Bump fastapi dependency 2020-06-15 14:17:44 +02:00
François Voron
787c2b67b8 Bump dependencies 2020-06-15 14:09:05 +02:00
Eric Lopes
224a311792 fix "Authorization: Bearer Undefined" on Swagger (#213)
* fix "Authorization: Bearer Undefined" on Swagger

* updating pytest to recognize access_token

* fix pytest KeyError

* adding changes requested (add token_type to documentation and tests)

* fix documentation
2020-06-15 14:04:03 +02:00
François Voron
6ff5adfdf2 Fix import error when OAuth is not installed 2020-06-02 07:57:42 +02:00
François Voron
8431a4b1b2 Bump packages 2020-06-02 07:57:04 +02:00
François Voron
e850871e79 Fix #208: add migrations information for MongoDB users 2020-05-29 07:50:43 +02:00
François Voron
3fab5e5bbb Bump version: 1.1.0 → 1.1.1 v1.1.1 2020-05-26 16:36:58 +02:00
François Voron
b9cea9c1ed Bump fastapi dependency 2020-05-26 16:36:53 +02:00
François Voron
1c20b4c58a Bump version: 1.0.0 → 1.1.0 v1.1.0 2020-05-25 08:13:50 +02:00
François Voron
9508768502 Add get_optional_* dependency callables 2020-05-25 08:13:42 +02:00
François Voron
71ca7d85ed Remove default router on FastAPIUsers 2020-05-24 10:50:14 +02:00
François Voron
ee8908e066 Bump version: 0.8.1 → 1.0.0 v1.0.0 2020-05-24 10:29:56 +02:00
François Voron
b7d3023f7f Bump email-validator 2020-05-24 10:29:27 +02:00
François Voron
52260f6a65 Merge pull request #199 from frankie567/v1
* UUID as id.
* Splitted routers
2020-05-24 10:27:08 +02:00
François Voron
7721f8dcc1 Revamp authentication routes structure (#201)
* Fix #68: use makefun to generate dynamic dependencies

* Remove every Starlette imports

* Split every routers and remove event handlers

* Make users router optional

* Pass after_update handler to get_users_router

* Update documentation

* Remove test file

* Write migration doc for splitted routers
2020-05-24 10:18:01 +02:00
dependabot-preview[bot]
9e6b56fe7b Bump codecov from 2.1.0 to 2.1.3 (#200)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.1.0 to 2.1.3.
- [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/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-05-23 13:24:02 +02:00
François Voron
0a0dcadfdc Use real UUID for User id. and OAuthAccount id. (#198)
* Use UUID for user id and oauth account id

* Update documentation for UUID

* Tweak GUID definition of SQLAlchemy to match Tortoise ORM one

* Write migration doc
2020-05-21 16:40:33 +02:00
François Voron
df479a9003 Setup stale bot 2020-05-21 09:39:41 +02:00
François Voron
d814b48280 Bump version: 0.8.0 → 0.8.1 v0.8.1 2020-05-19 08:02:20 +02:00
François Voron
bf5c122e6d Bump dependencies 2020-05-19 08:02:08 +02:00
dependabot-preview[bot]
e907e67931 Bump sqlalchemy from 1.3.16 to 1.3.17 (#185)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.16 to 1.3.17.
- [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-05-19 07:47:27 +02:00
dependabot-preview[bot]
1ec943518a Bump bumpversion from 0.5.3 to 0.6.0 (#184)
Bumps [bumpversion](https://github.com/peritus/bumpversion) from 0.5.3 to 0.6.0.
- [Release notes](https://github.com/peritus/bumpversion/releases)
- [Commits](https://github.com/peritus/bumpversion/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-05-19 07:46:41 +02:00
François Voron
a3f298f88e Bump packages 2020-05-13 09:00:36 +02:00
dependabot-preview[bot]
10d44f20d9 Bump tortoise-orm from 0.16.8 to 0.16.9 (#167)
Bumps [tortoise-orm](https://github.com/tortoise/tortoise-orm) from 0.16.8 to 0.16.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.16.8...0.16.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 13:31:45 +02:00
dependabot-preview[bot]
c064f3323c Bump mkdocs-material from 5.1.1 to 5.1.3 (#166)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 5.1.1 to 5.1.3.
- [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.1.1...5.1.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 13:31:10 +02:00
François Voron
6292c15d77 Bump version: 0.7.3 → 0.8.0 v0.8.0 2020-04-25 14:36:07 +02:00
François Voron
5ea85beb32 Fix default port in flow page 2020-04-25 14:35:13 +02:00
François Voron
bf0c924501 Complete documentation with a flow page with curl examples 2020-04-25 14:32:08 +02:00