Esteban Maya
ef1f64b8f5
🔒 ️ Refactor migrate from python-jose to PyJWT ( #1203 )
1 year ago
Alejandra
b81cec8ea5
♻️ Add delete_user_me endpoint and corresponding test cases ( #1179 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Esteban Maya
a230f4fb2c
🏷️ Add mypy to the GitHub Action for tests and fixed types in the whole project ( #655 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Sebastián Ramírez
d4e35a0dfd
♻️ Refactor email logic to allow re-using util functions for testing and development ( #663 )
1 year ago
Esteban Maya
8558cf00a2
♻ Move project source files to top level from src, update Sentry dependency ( #630 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Esteban Maya
06766f3cb3
♻ Refactor Python folder tree ( #629 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Sebastián Ramírez
0cc802eec8
🎨 Format files with pre-commit and Ruff ( #611 )
1 year ago
Sebastián Ramírez
73b2884057
🚚 Refactor and simplify backend file structure ( #609 )
1 year ago
Sebastián Ramírez
c1538fd1fb
✨ Update code for login API ( #571 )
* ✨ Update models for login API
* ✨ Add authenticate simplified CRUD
* ♻️ Refactor get_current_user dependency, integrate is_active
* ✨ Refactor and upgrade login API code
2 years ago
Alejandra
6f29eb2438
♻️ Refactor Users API and dependencies ( #561 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2 years ago
Sebastián Ramírez
a66a9256dd
✨ Adopt SQLModel, create models, start using it ( #559 )
* 🔥 Remove old SQLAlchemy models
* ✨ Add new SQLModel models
* 🔧 Update Alembic configs to work with SQLModel
* ✨ Re-generate initial Alembic migration
* 🔧 Update PostgreSQL driver connection string URL
* ✨ Create new SQLModel engine
* 🔥 Remove old unneeded SQLAlchemy-specific files
* ♻️ Update init_db
* ♻️ Use new SQLModel session
* ♻️ Update conftest with new DB Session
* ♻️ Update pre-start scripts to use SQLModel session
* ♻️ Import new SQLModel models
* ✨ Create new simplified create_user crud util
* ♻️ Update import in CRUDBase class (soon to be removed)
* 🙈 Update .gitignore with Python files
2 years ago
Sebastián Ramírez
455de4d9a9
♻️ Refactor project generation, discard cookiecutter, use plain git/clone/fork ( #553 )
2 years ago
Sebastián Ramírez
eed33d276d
♻️ Refactor backend, settings, DB sessions, types, configs, plugins ( #158 )
* ♻️ Refactor backend, update DB session handling
* ✨ Add mypy config and plugins
* ➕ Use Python-jose instead of PyJWT
as it has some extra functionalities and features
* ✨ Add/update scripts for test, lint, format
* 🔧 Update lint and format configs
* 🎨 Update import format, comments, and types
* 🎨 Add types to config
* ✨ Add types for all the code, and small fixes
* 🎨 Use global imports to simplify exploring with Jupyter
* ♻️ Import schemas and models, instead of each class
* 🚚 Rename db_session to db for simplicity
* 📌 Update dependencies installation for testing
5 years ago