Esteban Maya
08395759fe
⬆ Upgrade code to support pydantic V2 ( #615 )
2024-02-28 23:24:24 +01:00
Alejandra
2346b81c51
✨ Support delete own account and other tweaks ( #614 )
...
Co-authored-by: Esteban Maya Cadavid <emaya@trueblue.com >
2024-02-27 21:47:42 +01:00
Sebastián Ramírez
544f89f253
📝 Update internal README and referred files ( #613 )
2024-02-25 21:51:56 +01:00
Sebastián Ramírez
42726193d0
✨ Add Copier, migrate from Cookiecutter, in a way that supports using the project as is, forking or cloning it ( #612 )
...
* 🔧 Add first Copier config
* 🔧 Add custom copier answers file
* 🔨 Add Copier script to update .env after generating/copying
* 🙈 Update .gitignores from Copier updates
* 🔧 Update .env, restructure in order of relevance
* 🔧 Remove Copier config for SMTP port, if necessary, it can be overwritten in .env
* ♻️ Refactor Copier files, make them less visible
* 🔧 Update Copier config
* 🔥 Remove Cookiecutter files
2024-02-25 21:20:20 +01:00
Sebastián Ramírez
0cc802eec8
🎨 Format files with pre-commit and Ruff ( #611 )
2024-02-25 19:39:33 +01:00
Sebastián Ramírez
73b2884057
🚚 Refactor and simplify backend file structure ( #609 )
2024-02-25 18:48:02 +01:00
Esteban Maya
f41f4432fe
♻ Refactor items and services endpoints to return count and data, and add CI tests ( #599 )
...
Co-authored-by: Esteban Maya Cadavid <emaya@trueblue.com >
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-02-25 16:04:47 +01:00
Alejandra
176b6fb1c9
♻️ Refactor update endpoints and regenerate client for new-frontend ( #602 )
2024-02-22 00:55:19 +04:00
Sebastián Ramírez
fe95750e3a
✨ Add support for updating items and upgrade SQLModel to 0.0.16 (which supports model object updates) ( #601 )
2024-02-17 21:29:15 +01:00
Alejandra
a88f637ed8
✨ Add delete_user; refactor delete_item ( #594 )
2024-02-13 15:25:58 +01:00
Alejandra
6faa5f66d5
♻️ Re-enable user update path operations for frontend client generation ( #574 )
2023-12-27 20:39:42 +01:00
Alejandra
d5982236ac
♻️ Refactor API in utils.py
( #573 )
2023-12-27 19:49:36 +01:00
Alejandra
047e6884be
♻️ Remove type ignores and add response_model
( #572 )
2023-12-27 19:37:05 +01:00
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
2023-12-27 19:06:47 +01:00
Alejandra
49d610e443
✨ Add client in frontend and client generation ( #569 )
2023-12-26 16:51:46 +01:00
Alejandra
3f109aee1f
🐛 Fix positional argument bug in init_db.py
( #562 )
2023-11-29 23:22:15 +01:00
Alejandra
6f29eb2438
♻️ Refactor Users API and dependencies ( #561 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2023-11-29 18:13:15 +01:00
Sebastián Ramírez
870d45fa36
✨ Upgrade items router with new SQLModel models, simplified logic, and new FastAPI Annotated dependencies ( #560 )
2023-11-25 00:11:02 +01:00
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
2023-11-25 00:08:22 +01:00
Sebastián Ramírez
e4877b7a9f
⬆️ Upgrade Python version and dependencies ( #558 )
2023-11-24 23:48:21 +01:00
Oskar Bechtold
7705fe89df
🐛 Fix Celery worker command ( #443 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2023-11-15 22:04:34 +01:00
Sebastián Ramírez
455de4d9a9
♻️ Refactor project generation, discard cookiecutter, use plain git/clone/fork ( #553 )
2023-11-15 21:20:29 +01:00