Sebastián Ramírez
0122fa2f11
🔧 Update .env to allow local debug for the backend ( #618 )
2024-02-29 01:09:24 +00:00
Sebastián Ramírez
cfd66d2eee
♻️ Refactor and update CORS, remove trailing slash from new Pydantic v2 ( #617 )
2024-02-29 01:03:23 +00:00
Alejandra
e4a4bed5b6
✨ Add form validation to Admin, Items and Login ( #616 )
2024-02-29 00:30:59 +01:00
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
Alejandra
e44777f919
✨ Restructure folders, allow editing of users/items, and implement other refactors and improvements ( #603 )
...
* Reorganize project directory structure
* Allow edit users/items, add useAuth and useCustomToast, password confirmation
* Minor improvements for consistency
* Add 'Cancel' button to UserInformation in editMode
* Refactor UserSettings
* Enable user password changes and improve error handling
* Enable user information update
* Add logout to Sidebar in mobile devices, conditional tabs depending on role and other improvements
* Add badges
* Remove comment
* Appearance tab updates
* Change badge color
* Reset inputs when clicking on 'Cancel' button
* Disable actions menu for Superuser when logged in
* Modify Logout and update stores
2024-02-26 15:39:09 +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
2802a4df9e
➕ Replace black, isort, flake8, autoflake with ruff and upgrade mypy ( #610 )
2024-02-25 19:29:00 +01:00
Sebastián Ramírez
73b2884057
🚚 Refactor and simplify backend file structure ( #609 )
2024-02-25 18:48:02 +01:00
Sebastián Ramírez
a065f9c9e8
🔥 Clean up old files no longer relevant ( #608 )
2024-02-25 17:50:12 +01:00
Sebastián Ramírez
72f835a6b4
♻ Re-structure Docker Compose files, discard Docker Swarm specific logic ( #607 )
2024-02-25 17:28:26 +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
93e03184d6
✨ Add dark mode to new-frontend and conditional sidebar items ( #600 )
2024-02-16 19:38:00 +01:00
Alejandra
b470f59ce2
✨ Migrate to RouterProvider and other refactors ( #598 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-02-15 23:17:26 +01:00
Alejandra
b18783f642
✨ Add Not Found
page ( #595 )
2024-02-13 21:06:57 +01:00
Alejandra
a88f637ed8
✨ Add delete_user; refactor delete_item ( #594 )
2024-02-13 15:25:58 +01:00
Alejandra
b4a1da918d
✨ Add new pages, components, panels, modals, and theme; refactor and improvements in existing components ( #593 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-02-12 22:46:51 +01:00
Alejandra
2014a3bcf5
✨ Add state store to new frontend ( #592 )
2024-02-12 20:03:08 +01:00
Alejandra
cbba08d565
🐛 Add onClose
to SidebarItems
( #589 )
2024-01-29 23:42:09 +01:00
Alejandra
b950fd7389
✨ Add Layout to App ( #588 )
2024-01-29 23:10:46 +01:00
Alejandra
68ae0970f1
✨ Add Sidebar to new frontend ( #587 )
2024-01-29 22:40:11 +01:00
Alejandra
52150b3d10
✨ Add Login to new frontend ( #585 )
2024-01-23 20:48:56 +04:00
Alejandra
6ecc8a06ec
✨ Include schemas in generated frontend client ( #584 )
2024-01-22 21:16:21 +01:00
Alejandra
7966d3fb1b
✨ Regenerate frontend client with recent changes ( #575 )
2023-12-27 20:50:48 +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
8155761cf4
🐳 Set up Docker config for new-frontend ( #564 )
2023-12-04 23:09:14 +01:00
Alejandra
28808e071c
✨ Set up new frontend with Vite, TypeScript and React ( #563 )
2023-11-30 22:16:32 +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
Sebastián Ramírez
fa4ea018c3
♻️ Refactor frontend Docker build setup, use plain NodeJS, use custom Nginx config, fix build for old Vue ( #555 )
2023-11-15 23:02:09 +01:00
Gusti Triandi Winata
8b317cafd1
📌 Fix flower Docker image, pin version ( #396 )
...
Co-authored-by: Kyler <39353605+fisher60@users.noreply.github.com >
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2023-11-15 22:15:23 +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
c892fc200e
🔧 Add missing dotenv variables ( #554 )
2023-11-15 21:57:55 +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