15 Commits

Author SHA1 Message Date
GotthardG
f588bc0cda Add endpoint for creating local contacts with access control
Introduced a new `local_contact_router` to handle creation of local contacts. The endpoint enforces role-based access control and ensures no duplication of email addresses. Updated the router exports for consistency and cleaned up a large test file to improve readability.
2025-02-26 09:58:19 +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
9b6ad107bb Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-17 16:25:53 +01:00
GotthardG
dbf7864e7e Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-17 16:16:54 +01:00
GotthardG
19c5d7f880 Refactor environment-specific configurations and data loading.
Refactored database and server configuration to handle environments (dev, test, prod) explicitly, including tailored database setup and SSL management. Separated slot and sample data loading for better control during initialization. Improved environment variable usage and error handling for production certificates.
2024-12-17 13:11:26 +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
e28c8b05d4 fixed bug with spreadsheet import 2024-12-10 15:18:48 +01:00
GotthardG
996fc66d76 switched to mariaDB 2024-12-05 21:49:00 +01:00
GotthardG
1a1a710edf added pet data for samples events 2024-12-04 11:23:21 +01:00
GotthardG
a931bfb8ec https and ssl integration on the backend, frontend and started integration of logistics app as a separate frontend 2024-11-19 09:56:05 +01:00
GotthardG
6083c72a1d added dewar type, serial number, generate unique id, qr code and generate label 2024-11-14 23:17:20 +01:00
GotthardG
23e7ebb819 added pucks and samples 2024-11-04 11:34:14 +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