442 Commits

Author SHA1 Message Date
7d15c1b83a docs: add grigi as a contributor (#497)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:38:32 +01:00
2fa9120286 docs: add MariusMez as a contributor (#496)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:37:42 +01:00
5a596ca504 docs: add prostomarkeloff as a contributor (#495)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:35:45 +01:00
0f8ad9d987 docs: add niazangels as a contributor (#494)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:34:47 +01:00
3b9c771ad5 docs: add rnd42 as a contributor (#493)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:34:13 +01:00
ad0fd3bbf4 docs: add nullhack as a contributor (#492)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:32:28 +01:00
3318ccfca5 docs: add mcolladoio as a contributor (#491)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:31:51 +01:00
2acddd4e05 docs: add oskar-gmerek as a contributor (#490)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:30:50 +01:00
d5ba3acdd0 docs: add SelfhostedPro as a contributor (#489)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:29:40 +01:00
9552c82db8 docs: add lill74 as a contributor (#488)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:28:37 +01:00
fe627906ef docs: add mark-todd as a contributor (#486)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: François Voron <fvoron@gmail.com>
2021-02-06 18:27:07 +01:00
56d551681f docs: add roywes as a contributor (#487)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: François Voron <fvoron@gmail.com>
2021-02-06 18:25:26 +01:00
05353725af docs: add eddsalkield as a contributor (#485)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:21:16 +01:00
95e1214c16 docs: add satwikkansal as a contributor (#483)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:18:29 +01:00
5d32ff0bcc docs: add roywes as a contributor (#482)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:16:02 +01:00
53f8b41948 docs: add MatthewScholefield as a contributor (#481)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:15:12 +01:00
cef3c35a2f docs: add slado122 as a contributor (#480)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:14:20 +01:00
7cc750ea4a docs: add paolodina as a contributor (#478)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 18:11:57 +01:00
63068bb291 Tweak allcontributors config 2021-02-06 17:56:57 +01:00
4cfcab3657 docs: add frankie567 as a contributor (#477)
* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-06 17:54:36 +01:00
4776117f10 Write the docs for new current_user dependency 2021-02-06 13:55:41 +01:00
3146a1ffe6 Fix #475: add uuid convertor to routes so they are not catching custom routes 2021-02-06 11:16:15 +01:00
7c5573fbbc Bump dependencies 2021-02-06 11:07:52 +01:00
709f399883 Fix typo in auth.md (#462) 2021-01-27 14:49:11 +01:00
253e2f5379 Add Deprecated dependency to pyproject 🤦‍♂️ 2021-01-14 09:34:00 +01:00
968bc16585 Add depreciation warning to predefined authenticator deps 2021-01-13 18:53:38 +01:00
58b8d28c76 Improve Authenticator class to generate dependency variations more easily 2021-01-13 18:07:25 +01:00
9f69b4762a Bump version: 4.0.0 → 5.0.0 v5.0.0 2021-01-12 11:25:10 +01:00
9c113e30a2 Prepare docs for v5 release 2021-01-12 11:24:52 +01:00
1df6e7d162 Fix get_verify_router docstring 2021-01-12 11:21:23 +01:00
d4227ae20f Fix #335: implement after_reset_password handler 2021-01-12 11:18:34 +01:00
2829824a95 Fix #438: issue while retrieving OAuth accounts with PSQL 2021-01-12 10:53:40 +01:00
373157c284 Finalize user activation feature (#439)
* Add routes for user activation (#403)

* Add routes for user activation

Generate a token after creating the user in register route, passing to `activation_callback`, if `activation_callback` supplied
Create new `/activate` route that will verify the token and activate the user
Add new error codes to `fastapi_users/router/common.py`
Update documentation
Add tests

Co-authored-by: Mark Todd <markpeter.todd@hotmail.co.uk>

* Rework routes for user activation

* Separate verification logic and token generation into `/fastapi_users/router/verify.py`, with per-route callbacks for custom behaviour

* Return register router to original state

* Added `is_verified` property to user models

* Added `requires_verification` argument to `get_users_router`and `get_auth_router`

* Additional dependencies added for verification in `fastapi_users/authentication/__init__.py`

* Update tests for new behaviour

* Update `README.md` to describe a workaround for possible problems during testing, by exceeding ulimit file descriptor limit

Co-authored-by: Mark Todd <markpeter.todd@hotmail.co.uk>

* Restored docs to original state.

* All other modifications reqested added

Kebab-case on request-verify-token
SECRET now used as test string
Other minor changes

Co-authored-by: Mark Todd <markpeter.todd@hotmail.co.uk>

* Embed token in body in verify route

* Reorganize checks in verify route and add unit test

* Ignore coverage on Protocol classes

* Tweak verify_user function to take full user in parameter

* Improve unit tests structure regarding parametrized test client

* Make after_verification_request optional to be more consistent with other routers

* Tweak status codes on verify routes

* Write documentation for verification feature

* Add not released warning on verify docs

Co-authored-by: Edd Salkield <edd@salkield.uk>
Co-authored-by: Mark Todd <markpeter.todd@hotmail.co.uk>
2021-01-12 10:44:42 +01:00
7f6e3c9253 Bump version: 3.1.2 → 4.0.0 v4.0.0 2020-12-28 09:12:47 +01:00
338750f211 Bump dependencies 2020-12-28 09:08:16 +01:00
966b1bd4c4 Add 4.x.x migration doc 2020-12-28 08:59:33 +01:00
7cf7154e27 Fix #431: make OAuth expires_at optional in model and DB schemas 2020-12-28 08:59:27 +01:00
8940f6b9f8 Add Buy me a coffee badge 2020-12-24 12:04:34 +01:00
81db8f95e7 Create FUNDING.yml 2020-12-24 10:48:12 +01:00
61bdab0fb4 Revert ko-fi 2020-12-24 10:43:54 +01:00
b3889db259 Add ko-fi link in README 2020-12-24 10:21:01 +01:00
2d2580b589 Create FUNDING.yml 2020-12-24 10:12:27 +01:00
9a0aee6203 Fix pyjwt version on pyproject.toml 2020-12-24 09:51:46 +01:00
92c523c379 Upgrade to pyjwt==2.0.0 2020-12-24 09:47:34 +01:00
7e2ca9551e Bump version: 3.1.1 → 3.1.2 v3.1.2 2020-12-23 17:35:30 +01:00
8d008fc6a6 Bump dependencies 2020-12-23 17:31:41 +01:00
cdb1409b7f Tweak issues templates 2020-12-23 17:24:09 +01:00
69a1ca19f7 Update issue templates 2020-12-23 17:22:34 +01:00
0ae0a8e279 Create config.yml 2020-12-23 17:19:06 +01:00
47f2991ee8 Fix #399: fix logout example in doc 2020-12-07 08:00:25 +01:00