791 Commits

Author SHA1 Message Date
9d064a5325 Bump version: 8.1.1 → 8.1.2 v8.1.2 2021-11-07 11:33:39 +01:00
b80061bbc4 Fix #788: add cookbook to create user programmatically 2021-11-07 11:32:22 +01:00
6ed1a5ccdb Change examples so every dependencies are async 2021-11-07 11:21:24 +01:00
c1a0dd5476 Fix broken links in documentation 2021-11-07 10:47:40 +01:00
91be9747f0 Add Python 3.10 to build matrix 2021-11-07 10:32:06 +01:00
8ce7855e50 Bump dependencies 2021-11-07 10:31:34 +01:00
bef4cf0442 docs: add jakemanger as a contributor for bug, code (#790)
* 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-11-07 10:05:06 +01:00
9eb49482c7 Users now become unverified when email is changed (#783)
* Users now become unverified when email is changed

Occurs when updating user.email to a new value

* changed wording
2021-11-07 10:04:06 +01:00
981e02b738 Update Buy Me A Coffee button 2021-11-02 08:29:30 +01:00
c5fd4578a6 docs: add justb4 as a contributor for financial (#782)
* 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-11-02 08:26:26 +01:00
f4818ee18a docs: add PovilasKud as a contributor for code (#780)
* 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-11-02 08:13:48 +01:00
1e40104ed5 Remove duplicate (#777)
Remove duplicate `user_db_model`
2021-11-02 08:13:24 +01:00
ce2345f2b0 docs: add BrandonGoding as a contributor for code (#779)
* 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-11-02 08:13:07 +01:00
0c45cbc179 Add a name on every route #762 (#774)
* Names for urls added

* Tests for Login/Logout Names

* Register Name Test

* tests/test_router_reset.py

* Tests to verify url names in users router

* Test Verify Router Names

* oauth routes updated with prefix

* Test for authorize.  Didn't right test for callback as covered under other tests
2021-11-02 08:12:43 +01:00
e0e8dfbc3b docs: add yezz123 as a contributor for code (#772)
* 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-10-16 09:36:52 +02:00
2068215b4b docs: add jdukewich as a contributor for doc (#770)
* 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-10-16 09:30:09 +02:00
872b85de03 Code Expression (#1) (#767)
* Replace unused `for` index with underscore

* Use `items()` to directly unpack dictionary values

* Merge duplicate blocks in conditional

* Use `any()` instead of for loop

* Format __init__.py
2021-10-16 09:29:34 +02:00
843b197875 Reflect correct UserManager handlers in docs (#768) 2021-10-16 09:25:53 +02:00
057cf48fe1 Bump version: 8.1.0 → 8.1.1 v8.1.1 2021-10-11 08:16:48 +02:00
702ad6be59 Bump dependencies 2021-10-11 08:14:16 +02:00
fbb934f21b docs: add scottdavort as a contributor for financial (#759)
* 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-10-08 08:33:38 +02:00
349e801ff8 docs: add maximka1221 as a contributor for doc, bug (#744)
* 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-09-23 14:30:50 +02:00
31bbb3902b Merge pull request #741 from maximka1221/custom-jwt-token-audience-and-docs
Fix UserManager docs and custom token audience in password reset
2021-09-23 14:30:06 +02:00
d0c295e411 Fixed user manager function docs. 2021-09-23 13:00:20 +03:00
b33371542f Fixed bug with custom reset token audience.
When adding a custom reset token audience, we still use the default one in the creation of the JWT token instead of the custom one.
2021-09-23 12:54:13 +03:00
0826ec5299 Bump version: 8.0.0 → 8.1.0 v8.1.0 2021-09-21 08:35:06 +02:00
06a1832ac1 Add direct links to open Repl.it full examples 2021-09-21 08:33:29 +02:00
eb47dc8e75 Pass user_manager instance in get_login_response/get_logout_response 2021-09-21 08:28:25 +02:00
e819bb0b65 Add get_enabled_backends advanced feature 2021-09-21 08:20:07 +02:00
a82dfc262d Bump version: 8.0.0b3 → 8.0.0 v8.0.0 2021-09-20 08:51:50 +02:00
ab06778adf Fix #733: don't raise error when updating user with same email 2021-09-20 08:49:19 +02:00
ab89cdea2f Merge pull request #729 from fastapi-users/db-as-dependency
Massive reorganization: move most of the logic into a UserManager dependency
2021-09-20 08:42:25 +02:00
5a4e57c206 Bump version: 8.0.0b2 → 8.0.0b3 v8.0.0b3 2021-09-20 07:49:05 +02:00
fd5a0d2725 Write v8 migration doc 2021-09-18 10:36:39 +02:00
c198da58bc Complete OAuth2 documentation 2021-09-18 10:18:44 +02:00
fc59cf11ef Rework the documentation 2021-09-17 15:14:36 +02:00
e31a0a99b5 Bump version: 8.0.0b1 → 8.0.0b2 v8.0.0b2 2021-09-17 11:25:35 +02:00
69f18cff47 Put user_db_model as attribute of UserManager 2021-09-17 11:24:49 +02:00
913cd5cb2a Bump version: 7.0.0 → 8.0.0b1 v8.0.0b1 2021-09-17 10:30:27 +02:00
a8638118f6 Export BaseUserManager from main module 2021-09-15 16:13:06 +02:00
eda3676fd0 Small tweaks 2021-09-15 16:11:53 +02:00
018771cf73 Add manager docstrings 2021-09-15 16:00:58 +02:00
de86456af2 Add some manager tests 2021-09-15 15:20:28 +02:00
fe79d974ac docs: add sondrelg as a contributor for doc (#728)
* 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-09-15 14:51:46 +02:00
e86a2cfa0c Fix typo in ormar documentation (#727) 2021-09-15 14:51:03 +02:00
4aac218d8a Add manager pytest marker 2021-09-15 14:49:49 +02:00
6fca8d1306 Add a test for JWT helpers 2021-09-15 14:45:28 +02:00
79f1d1198a Remove typing-extensions dependency 2021-09-15 14:38:39 +02:00
2a50c59926 Remove asynctest dependency 2021-09-15 14:37:37 +02:00
5cba969679 Refactor verify logic into manager 2021-09-15 14:36:04 +02:00