Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
  1. Feb 27, 2025
    • GotthardG's avatar
      Add development-only user simulation using local file · 7a9cc24e
      GotthardG authored
      This change introduces a fallback mechanism for development environments, allowing authentication to simulate a user from a local file named "user" when not found in the mock database. The file must include a username on the first line and a space-delimited list of pgroups on the second line. This enhancement helps streamline development workflows while maintaining error handling for missing or malformed files.
      7a9cc24e
  2. Feb 26, 2025
    • GotthardG's avatar
      Add Image models and clean up test code structure · b04c7b8c
      GotthardG authored
      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.
      b04c7b8c
    • GotthardG's avatar
      Add Image models and clean up test code structure · 1606e80f
      GotthardG authored
      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.
      1606e80f
    • GotthardG's avatar
      Add endpoint for creating local contacts with access control · f588bc0c
      GotthardG authored
      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.
      f588bc0c
  3. Feb 05, 2025
  4. Feb 04, 2025
    • GotthardG's avatar
      Refactor puck event handling and add `tell` filtering · 9e5ae2b4
      GotthardG authored
      Updated puck event queries to improve robustness and ensure distinct results. Introduced filtering by `tell` in specific API endpoints and added validation for `tell` values. Incremented project version to 0.1.0a21 to reflect API changes.
      9e5ae2b4
    • GotthardG's avatar
      Add `SetTellPositionRequest` schema and minor cleanup. · 780ba195
      GotthardG authored
      Added a new `SetTellPositionRequest` schema in `schemas.py` to support bulk updates of TELL positions. Commented out redundant metadata operations in `main.py` and cleaned up unused content in the test notebook for better readability.
      780ba195
  5. Feb 03, 2025
    • GotthardG's avatar
      Refactor dewar query to use latest event subquery. · 70962ba6
      GotthardG authored
      Replaces the previous query logic with a subquery to find the latest logistics event for each dewar. Ensures that only dewars with the most recent "beamline" event are retrieved, improving query accuracy and clarity.
      70962ba6
  6. Jan 31, 2025
  7. Jan 30, 2025
    • GotthardG's avatar
      Refactor Dewar service methods and improve field handling · 3757950b
      GotthardG authored
      Updated Dewar API methods to use protected endpoints for enhanced security and consistency. Added `pgroups` handling in various frontend components and modified the LogisticsView contact field for clarity. Simplified backend router imports for better readability.
      3757950b
    • GotthardG's avatar
      Refactor Dewar service methods and improve field handling · ee97bdfb
      GotthardG authored
      Updated Dewar API methods to use protected endpoints for enhanced security and consistency. Added `pgroups` handling in various frontend components and modified the LogisticsView contact field for clarity. Simplified backend router imports for better readability.
      ee97bdfb
    • GotthardG's avatar
      Refactor Dewar service methods and improve field handling · 5edaa01e
      GotthardG authored
      Updated Dewar API methods to use protected endpoints for enhanced security and consistency. Added `pgroups` handling in various frontend components and modified the LogisticsView contact field for clarity. Simplified backend router imports for better readability.
      5edaa01e
    • GotthardG's avatar
      Refactor Dewar service methods and improve field handling · c2215860
      GotthardG authored
      Updated Dewar API methods to use protected endpoints for enhanced security and consistency. Added `pgroups` handling in various frontend components and modified the LogisticsView contact field for clarity. Simplified backend router imports for better readability.
      c2215860
  8. Jan 23, 2025
    • GotthardG's avatar
      Add pgroup handling in dewars and enhance ShipmentDetails UI · 44582cf3
      GotthardG authored
      Introduced a new `pgroups` attribute for dewars in the backend with schema and model updates. Modified the frontend to display `pgroups` as chips, integrate new visual icons for pucks and crystals, and enhance the UI/UX in `ShipmentDetails` and `DewarStepper` components. Added reusable SVG components for better modularity and design consistency.
      44582cf3
  9. Jan 22, 2025
    • GotthardG's avatar
      Integrate `pgroups` for shipment data security · 173e192f
      GotthardG authored
      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.
      173e192f
    • GotthardG's avatar
      Refactor contact handling across backend and frontend · 382b1eab
      GotthardG authored
      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.
      382b1eab
    • GotthardG's avatar
      **Commit Message:** · 6cde57f7
      GotthardG authored
      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.
      6cde57f7
  10. Jan 20, 2025
    • GotthardG's avatar
      Add mount_count and unmount_count tracking for samples · 4630bcfa
      GotthardG authored
      Introduced `mount_count` and `unmount_count` fields to track mounting events for samples. Updated models, schemas, and front-end components to support dynamic calculation and display of these counts. Enhanced backend queries and API responses to include the new data.
      4630bcfa
    • GotthardG's avatar
      Add mount_count and unmount_count tracking for samples · 3b315f29
      GotthardG authored
      Introduced `mount_count` and `unmount_count` fields to track mounting events for samples. Updated models, schemas, and front-end components to support dynamic calculation and display of these counts. Enhanced backend queries and API responses to include the new data.
      3b315f29
  11. Jan 17, 2025
    • GotthardG's avatar
      Update logistics data display and dewar event handling · 3d804c16
      GotthardG authored
      Renamed "Retrieved Timestamp" to "Last Event" for clarity in the UI. Improved backend logic to handle dewar events, including associating refill events with specific slots and retrieving the last slot ID for new events.
      3d804c16
    • GotthardG's avatar
      Update package-lock.json with latest dependency versions · 6825421f
      GotthardG authored
      Upgraded multiple dependencies across Babel, Emotion, ESLint, and DevExpress packages in `package-lock.json` to their latest versions. These updates ensure compatibility, fix minor issues, and improve overall performance and security.
      6825421f
    • GotthardG's avatar
      Make shipment fields optional and refactor test scripts. · 9739b8cf
      GotthardG authored
      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.
      9739b8cf
  12. Jan 15, 2025
    • GotthardG's avatar
      Enhance deletion processes with event-check validations. · 48106860
      GotthardG authored
      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.
      48106860
    • GotthardG's avatar
      ``` · e63af3e6
      GotthardG authored
      Add duplicate detection for spreadsheet data processing
      
      Implemented logic to detect and handle duplicate 'positioninpuck' entries within the same puck during spreadsheet processing. Updated backend to validate duplicates and provide detailed error messages. Enhanced frontend to visually highlight duplicate errors and allow better user feedback during cell editing.
      ```
      e63af3e6
  13. Jan 14, 2025
    • GotthardG's avatar
      Set default values for empty "priority" column in spreadsheets. · 7861082a
      GotthardG authored
      Added logic to assign a default value of 1 to empty "priority" fields in the spreadsheet service. Adjusted the router to correctly track columns explicitly marked as defaulted.
      7861082a
    • GotthardG's avatar
      Refactor spreadsheet handling to track corrections and defaults · c0951292
      GotthardG authored
      Improved the backend's value cleaning to differentiate between corrections and defaults, logging metadata for clearer traceability. Updated frontend to display corrected/defaulted fields with visual cues and tooltips for better user feedback. Enhanced data models and response structures to support this richer metadata.
      c0951292
  14. Jan 13, 2025
    • GotthardG's avatar
      Refactor spreadsheet processing to improve validation logic · f6c19cc4
      GotthardG authored
      Enhanced value cleaning and validation for spreadsheet data with dynamic handling of columns and corrections. Improved feedback for users with detailed error messages and visual indicators for corrected or defaulted values. Simplified backend and frontend logic for better maintainability and usability.
      f6c19cc4
  15. Jan 10, 2025
Loading