Commit Graph

47 Commits

Author SHA1 Message Date
coolneng 6c7a561fef
Improve readability of password management 2021-01-04 21:09:00 +01:00
coolneng e2f17743b7
Add foreign keys to database 2020-10-26 17:05:04 +01:00
coolneng 6c4d6919d7
Implement password reset 2020-10-08 21:23:19 +02:00
coolneng 0b53bbaa70
Implement forgot password 2020-10-08 20:47:10 +02:00
coolneng 3be567c8ac
Rewrite SHA1 verification using passlib primitives 2020-10-05 17:04:40 +02:00
coolneng 3bb09dbaea
Implement login with secure password rehashing 2020-10-05 15:35:13 +02:00
coolneng f37b7392e2
Remove redundant DB query on account activation 2020-10-04 18:58:33 +02:00
coolneng ac16b4dfee
Update OTP value and valid time before resend 2020-10-03 14:50:19 +02:00
coolneng 6bf2cba862
Set up Cross-Origin Resource Sharing (CORS) 2020-09-30 23:53:26 +02:00
coolneng eb56623bd4
Store password as a hash 2020-09-30 11:27:48 +02:00
coolneng 97700c0855
Implement resend OTP 2020-09-28 19:09:14 +02:00
coolneng d87aade803
Implement OTP verification 2020-09-28 18:19:59 +02:00
coolneng 43bcc703d0
Migrate OTP attribute to integer 2020-09-25 09:57:51 +02:00
coolneng d8e90f74fc
Craft proper response for user registration 2020-09-22 13:59:29 +02:00
coolneng 8d98bbd9f6
Simplify Twilio integration 2020-09-17 17:36:15 +02:00
coolneng 5a5486b751
Improve users table sanitization 2020-09-17 17:35:34 +02:00
coolneng 7573e9ab41
Set unique constraints for email and mobile 2020-09-17 17:32:53 +02:00
coolneng 31e0a70845
Define user registration as a synchronous function 2020-09-12 19:34:11 +02:00
coolneng f470f8bff7
Implement user registration 2020-09-11 00:07:45 +02:00
coolneng 43433d9dce
Create base schemas for common of attributes 2020-09-11 00:01:24 +02:00
coolneng 89d691f51d
Move database dependency from crud to routes 2020-09-11 00:00:48 +02:00
coolneng 2d701ba473
Sanitize database fields 2020-09-10 23:59:06 +02:00
coolneng 9f83f7498f
Remove constructors from models 2020-09-04 19:17:55 +02:00
coolneng 868903b989
Define foreign keys in models 2020-09-03 19:34:51 +02:00
coolneng d44f5c732e
Fix pydantic schemas integer validation 2020-09-03 18:33:15 +02:00
coolneng de1d79ff9f
Define routes using APIRouter 2020-09-03 18:31:52 +02:00
coolneng abd0f45c91
Create a DB session per query test 2020-08-02 19:46:56 +02:00
coolneng 893d618a31
Replace async SQL queries with standard ones 2020-08-01 19:05:18 +02:00
coolneng cfb1321e1e
Simplify error handling in routes 2020-07-24 19:28:05 +02:00
coolneng 6787237c7e
Rename modified column to updated 2020-07-22 23:58:56 +02:00
coolneng b1f1ffd0e2
Set updated/modified field as nullable 2020-07-22 23:45:29 +02:00
coolneng a47f25a7dc
Migrate modified field on games table 2020-07-04 20:15:55 +02:00
coolneng 740a81be7c
Fix OTP verification 2020-07-03 13:42:15 +02:00
coolneng 9638037ece
Modify the query tests to match the test DB 2020-07-03 13:30:01 +02:00
coolneng 1dd62e1ae0
Migrate DB to sqlite 2020-07-03 02:03:02 +02:00
coolneng deda3b51b5
Spawn a MySQL instance with a test database 2020-06-21 15:58:43 +02:00
coolneng 78b4dd3827
Set up optional query parameters 2020-06-21 15:55:46 +02:00
coolneng 12d4405654
Migrate to FastAPI with a focus on async code 2020-06-05 01:13:16 +02:00
coolneng 75843f4927
Add user login and replace pipenv with Nix 2020-05-28 00:53:23 +02:00
coolneng 66092ba6e3
Add user registration test 2020-05-03 00:45:45 +02:00
coolneng ae6cd00e27
Ensure models are correct with query tests 2020-05-01 20:17:46 +02:00
coolneng 9763972575
Fix database models 2020-04-29 00:40:38 +02:00
coolneng 068cea8019
Add OTP verification 2020-04-20 02:12:20 +02:00
coolneng 69792075cb
Add user registration, with JSON validation 2020-04-15 00:29:59 +02:00
coolneng ed16323d97
Create initial SQLAlchemy models for DB 2020-04-02 19:33:04 +02:00
coolneng a3b2ecfbbf
Create basic API for CRUD 2020-03-23 21:17:16 +01:00
coolneng 7bdd4e50cc
Twilio API draft 2020-03-18 20:56:06 +01:00