17 Commits

Author SHA1 Message Date
GotthardG
173e192fc4 Integrate pgroups for shipment data security
Added `pgroups` to secure and associate data with specific permission groups. Updated backend routers, database models, and API endpoints to handle authorization based on `pgroups`. Adjusted frontend components and hooks to support `pgroups` in data fetching and management workflows.
2025-01-22 22:53:37 +01:00
GotthardG
382b1eaba8 Refactor contact handling across backend and frontend
Replaced usage of "ContactPerson" with "Contact" for consistency across the codebase. Updated related component props, state variables, API calls, and database queries to align with the new model. Also enhanced backend functionality with stricter validations and added support for handling active pgroups in contact management.
2025-01-22 16:31:08 +01:00
GotthardG
9739b8cfe9 Make shipment fields optional and refactor test scripts.
Updated the `number_of_pucks` and `number_of_samples` fields in the `schemas.py` to be optional for greater flexibility. Simplified the test Jupyter Notebook by restructuring imports and consolidating function calls for better readability and maintainability.
2025-01-17 09:36:16 +01:00
GotthardG
481068603b Enhance deletion processes with event-check validations.
Added validation to prevent deletion of shipments, dewars, pucks, or samples if they have associated events. Updated frontend components to handle and display error messages based on API responses for improved user feedback.
2025-01-15 15:30:54 +01:00
GotthardG
0178de96fd fixing bugs with ci pipeline 2024-12-16 22:50:04 +01:00
GotthardG
a0be71bdfe Fix formatting with black 2024-12-16 10:41:56 +01:00
GotthardG
8f7c90bab0 now creating dewars, pucks and samples from spreadsheet and replacing dewars if a dewar with the same name exists 2024-11-12 17:03:38 +01:00
GotthardG
86883133a7 now creating dewars from spreadsheet 2024-11-12 14:00:32 +01:00
GotthardG
5e6eb40033 now creating dewars from spreadsheet 2024-11-11 21:37:59 +01:00
GotthardG
52fe68b2bc changed models and schemasa 2024-11-11 15:00:20 +01:00
GotthardG
701c42c0dd updated models and schemas for shipments and dewars 2024-11-11 11:43:49 +01:00
GotthardG
d5c7e7e6f3 changed shipment_id to integers 2024-11-09 08:11:03 +01:00
GotthardG
9fa499a582 added pucks and samples 2024-11-04 16:20:53 +01:00
GotthardG
23e7ebb819 added pucks and samples 2024-11-04 11:34:14 +01:00
GotthardG
84f270b647 Integration of sqlite3 database now fully functional with all implemented functions 2024-11-02 12:12:30 +01:00
GotthardG
a01114a178 Better integration of sqlite3 database 2024-11-02 00:54:37 +01:00
GotthardG
48cd233231 Added the sqlite3 database 2024-11-01 14:13:38 +01:00