Stephen Brown II
79631c7619
✨ Use Pydantic BaseSettings for config settings ( #87 )
* Use Pydantic BaseSettings for config settings
* Update fastapi dep to >=0.47.0 and email_validator to email-validator
* Fix deprecation warning for Pydantic >=1.0
* Properly support old-format comma separated strings for BACKEND_CORS_ORIGINS
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
5 years ago
Teomor Szczurek
970a182ec8
✨ Add email validation ( #40 )
* modify tests
* ➕ Add email-validator to Dockerfiles
* ♻️ Update random email generation
* ♻️ Re-apply email validation after rebase
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
5 years ago
Cristobal Aguirre
dc712ac4ec
🐛 Fix typo in `read_item` GET view ( #74 )
6 years ago
Daniel Butler
fc403c9bc1
✏️ Correct grammar ( #70 )
6 years ago
Manu
ab46165387
✨ Add base class to simplify CRUD ( #23 )
6 years ago
Manu
248ea56c6e
✅ Add normal-user fixture for testing ( #20 )
6 years ago
Sebastián Ramírez
b4fa418e65
🔒 Receive token as body in reset password ( #34 )
6 years ago
dmontagu
546dc8bdcb
🔒 Update login.py to receive password as body ( #33 )
Change `new_password` from a query parameter to a body parameter for security.
(Why this is problematic is discussed in the top answer to https://stackoverflow.com/questions/2629222/are-querystring-parameters-secure-in-https-http-ssl )
6 years ago
Manu
1d30172e7a
🗃️ Fix SQLAlchemy class lookup ( #29 )
6 years ago
Manu
170231783a
🗃️ Fix SQLAlchemy operation error after database restarts ( #32 )
6 years ago
Manu
1aeb3208bf
✨ Use extra pytest arguments forwarded from shell ( #17 )
* removed postgres_password from alembic.ini, read it from env var instead
* ♻️ use f-strings for PostgreSQL URL
* passes given args
6 years ago
Sebastián Ramírez
92b757fc96
♻️ Create Item from all fields in Pydantic model
6 years ago
Manu
bece399368
♻️ removed postgres_password from alembic.ini ( #9 )
♻️ removed postgres_password from alembic.ini (#9 )
6 years ago
Sebastián Ramírez
ecd634e497
✨ Add Items (crud, models, endpoints), utils, refactor ( #14 )
* Update CRUD utils to use types better.
* Simplify Pydantic model names, from `UserInCreate` to `UserCreate`, etc.
* Upgrade packages.
* Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case.
* Update endpoints/*path operations* to simplify code and use new utilities, prefix and tags in `include_router`.
* Update testing utils.
* Update linting rules, relax vulture to reduce false positives.
* Update migrations to include new Items.
* Update project README.md with tips about how to start with backend.
6 years ago
Manu
cd86803daa
✨ Upgrade to Python 3.7, including new compatible Celery ( #10 )
6 years ago
Matthew Clarkson
f947ba8749
🐛 fix read_user_by_id docstring ( #4 )
Fix incorrectly documented as "Get a specific user by username (email)". Changed to "Get a specific user by id".
6 years ago
Sebastián Ramírez
cd112bd683
Refactor/upgrade backend and frontend parts ( #2 )
* ♻️ Refactor and simplify backend code
* ♻️ Refactor frontend state, integrate typesafe-vuex accessors into state files
* ♻️ Use new state accessors and standardize layout
* 🔒 Upgrade and fix npm security audit
* 🔧 Update local re-generation scripts
* 🔊 Log startup exceptions to detect errors early
* ✏️ Fix password reset token content
* 🔥 Remove unneeded Dockerfile directives
* 🔥 Remove unnecessary print
* 🔥 Remove unnecessary code, upgrade dependencies in backend
* ✏️ Fix typos in docstrings and comments
* 🏗️ Improve user Depends utilities to simplify and remove code
* 🔥 Remove deprecated SQLAlchemy parameter
6 years ago
Sebastián Ramírez
f3ccfb4da2
🐛 Fix DB Alembic migrations generated password
7 years ago
Sebastián Ramírez
6fdba19639
✨ Update all for Postgres and new techniques
7 years ago
Sebastián Ramírez
a21978e374
🔧 Update config for PostgreSQL
7 years ago
Sebastián Ramírez
7f8bfc8faa
🎉 First commit, from couchbase generator, basic changes
not tested / updated yet
7 years ago