30 Commits

Author SHA1 Message Date
GotthardG
548a86678b Update SampleTracker to support dynamic activePgroup
Enhanced the `SampleTracker` component to accept and utilize an `activePgroup` prop, allowing dynamic filtering of data based on the current project group. Adjusted related polling and data fetching logic to respond to changes in `activePgroup`. Removed excessive code from the test notebook for cleanup.
2025-02-27 11:20:04 +01:00
GotthardG
b04c7b8c95 Add Image models and clean up test code structure
Introduced `ImageCreate` and `Image` models to handle image-related data in the backend. Improved the organization and readability of the testing notebook by consolidating and formatting code into distinct sections with markdown cells.
2025-02-26 15:11:20 +01:00
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
4a1852882a Enhance handling of associated pgroups in Contacts and Address views.
Ensure `associatedPgroups` defaults to an empty array to avoid undefined behavior. Add non-editable pgroups input fields for new items and improve conditional rendering of pgroup chips in both views. Minor structural updates for consistency and clarity.
2025-01-22 16:44:03 +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
6cde57f783 **Commit Message:**
Enhance app with active pgroup handling and token updates

Added active pgroup state management across the app for user-specific settings. Improved token handling with decoding, saving user data, and setting OpenAPI authorization. Updated components, API calls, and forms to support dynamic pgroup selection and user-specific features.
2025-01-22 13:55:26 +01:00
GotthardG
9cb6ffbfb4 Added check spelling for country names 2024-12-20 14:14:53 +01:00
GotthardG
6ff9cbe327 Refactor puck handling and update tell position setting
Simplify and standardize puck name normalization and validation. Refactor `set_tell_positions` to handle batch operations, improve error handling, and provide detailed responses for each puck. Removed unnecessary `with-tell-position` endpoint for better clarity and maintainability.
2024-12-19 15:37:39 +01:00
GotthardG
0dff7c3c67 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-18 07:28:25 +01:00
GotthardG
7f7f80b4f8 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 17:06:16 +01:00
GotthardG
2581d7cedc 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:47:04 +01:00
GotthardG
9e88fb3270 fixed bug with env login 2024-12-11 12:03:33 +01:00
GotthardG
e28c8b05d4 fixed bug with spreadsheet import 2024-12-10 15:18:48 +01:00
GotthardG
7b00db3c0d added sample tracker on the frontend 2024-12-04 14:45:47 +01:00
GotthardG
b4f4e5a3d5 updated ContactsManagerView and AddressManagerView 2024-12-03 23:14:29 +01:00
GotthardG
0d1374ded7 added login page and started integrated of security 2024-12-03 23:01:38 +01:00
GotthardG
a91d74b718 https and ssl integration on the backend, frontend and started integration of logistics app as a separate frontend 2024-11-18 14:22:54 +01:00
GotthardG
86883133a7 now creating dewars from spreadsheet 2024-11-12 14:00:32 +01:00
GotthardG
976cdc1a0a updated stepper 2024-11-04 23:46:30 +01:00
GotthardG
73076e573e added contacts and addresses manager 2024-11-04 21:45:34 +01:00
GotthardG
4e76db4c9f added contacts and addresses manager 2024-11-04 21:31:01 +01:00
GotthardG
a01114a178 Better integration of sqlite3 database 2024-11-02 00:54:37 +01:00
GotthardG
579e769bb0 changing contact person and address of a specific dewar is now possible 2024-11-01 12:27:16 +01:00
GotthardG
dc31eec66e better support of add and delete dewar to a shipment 2024-10-31 17:17:17 +01:00
GotthardG
d6d7e7c919 Adjusted stepper for shipment tracking 2024-10-31 10:25:46 +01:00
GotthardG
c34c117a15 Connected frontend new contact, new address and shipments to backend 2024-10-29 23:49:33 +01:00
GotthardG
7f46006435 Connected frontend new contact, new address and shipments to backend 2024-10-29 14:11:53 +01:00
GotthardG
aaf519f13f Connected frontend new contact, new address and shipments to backend 2024-10-28 08:40:11 +01:00
GotthardG
e5073eacb8 Connected frontend new contact and new address to backend 2024-10-27 18:14:50 +01:00
GotthardG
2a4f2d1d85 Connected frontend shipments to backend 2024-10-25 10:43:17 +02:00