Commit Graph

17 Commits

Author SHA1 Message Date
François Voron
f2892aa378 #5 Improve test coverage (#6)
* Improve test coverage of BaseUserDatabase

* Improve unit test isolation

* Improve coverage of router and authentication
2019-10-15 07:54:53 +02:00
François Voron
f3b7fa662a Ensure columns in SQL schema are not nullable 2019-10-11 13:08:03 +02:00
François Voron
ef796abb55 Reorganize base modules 2019-10-10 19:21:36 +02:00
François Voron
ef6dd2c39c Implement user-facing API 2019-10-10 18:55:11 +02:00
François Voron
0112e700ac Improve typing and make User pydantic models dynamic 2019-10-10 13:37:52 +02:00
François Voron
9f41a8b9a7 Use a Base table class for SQLAlchemy adapter 2019-10-09 18:03:10 +02:00
François Voron
d781a41872 Install Black formatter 2019-10-09 16:52:06 +02:00
François Voron
f6ff897232 Setup Mkdocs 2019-10-09 08:07:49 +02:00
François Voron
96685c7696 Rename SQLAlchemy User table to BaseUser 2019-10-09 07:22:58 +02:00
François Voron
06dd8ad22e Implement JWT authentication 2019-10-08 17:18:38 +02:00
François Voron
20aa806375 Rename DB classes 2019-10-07 17:34:12 +02:00
François Voron
51b67b0739 Add get by id method on DB adapter 2019-10-07 07:53:56 +02:00
François Voron
c4ff6ca3fe Implement password hash migration 2019-10-07 07:50:19 +02:00
François Voron
20bb285f03 Use built-in OAuth2PasswordRequestForm for login 2019-10-06 14:02:42 +02:00
François Voron
a81b438ec9 Implement authentication mechanism 2019-10-06 11:53:42 +02:00
François Voron
bcc88a8b14 Implement working SQLAlchemy DB adapter 2019-10-06 11:00:24 +02:00
François Voron
552f313d76 Add database abstraction 2019-10-06 08:53:13 +02:00