Conversation
* Refactor file validation and add SSO group mapping Replaces FileExtensionAttribute with FileTypeAttribute for MIME type-based file validation and centralizes allowed MIME types in MimeTypes. Adds SSO group mapping configuration and logic to assign user roles based on SSO group membership. Updates config DTOs and config service to expose allowed MIME types. Improves error messages for file validation. Updates documentation and config examples to reflect new SSO group mapping. * Add file type restrictions and improve S3 config handling Frontend now restricts file uploads by allowed extensions based on config. Backend S3 (MinIO) client is only registered if enabled, and FileService now handles missing MinIO client gracefully. Database migrations for user roles and project statuses now include conversion logic between string and integer representations. * Add file extension validation and update config structure Introduces file extension checks alongside MIME type validation in FileTypeAttribute and updates error messages for clarity. Refactors config DTOs and services to provide allowed extensions and MIME types for images and documents, updates frontend to use new config keys, and adjusts related tests and OpenAPI schema accordingly.
* update config * Fix JSON formatting in appsettings files * Add Docker config generator web UI and fix S3 config order init a new web-based configuration generator under github-page/ for generating Docker Compose, appsettings.json, and .env files. Also fixed the order of the 'Enable' property in S3 * Reorder SMTP Host and Enable fields in config files * Add version selection and setup script to Docker generator Docker image version selector loaded from GitHub tags generates a setup.sh script for S3 Garage and MQTT configuration updates the UI and instructions to support ZIP download of all generated files Minor UI and style adjustments * Split the script.js * Refactor Traefik and port handling * Add Garage and Mosquitto config file generation Introduces generation and download of garage.toml, mosquitto.conf, and mosquitto.passwd add security options for containers * Add Vault integration and improve config file structure Introduces HashiCorp Vault integration for secret management, updating UI, config collection, and file generation to support Vault-stored secrets. Refactors config file paths for Garage and Mosquitto to use subfolders, updates Docker Compose and setup script logic accordingly, and adds camelCase utility for OAuth provider keys. Enhances ZIP export to match new config structure. * Add and document configuration generator page Moved the configuration generator from github-page/ to docs/generator/ and updated README.md and installation docs to reference the new generator page. This improves discoverability and guides users to generate configuration files and setup scripts via the provided web page. * Improve SonarQube scan error handling in CI workflows Added 'continue-on-error: true' and explicit status checks for SonarQube scan steps in all relevant GitHub Actions workflows. Now, if the SonarQube server is unreachable or the scan fails, a warning is logged instead of failing the entire workflow. This improves CI reliability and provides clearer feedback on SonarQube connectivity issues. * Improve SMTP error handling and config parsing Wrap all SMTP email sending calls in try-catch blocks to log errors without interrupting user flows. Update SMTP:Enable configuration checks to use bool.TryParse for more robust parsing. Adjust generator scripts to use deterministic S3 key import and update SMTP config structure.
* add vault client add optionnal vault client in ia and api containers * Add Vault mount point support and improve secret resolution * fix ia test
* fix ci api * Cache WiFi.status() in setupWiFi() Introduce a local wl_status_t status variable and use it for connection checks instead of repeatedly calling WiFi.status(). Apply the change to both ledstore and scanbox setupWiFi() implementations to reduce repeated function calls and centralize status comparisons during connection attempts. * Upgrade dependency Bump keras from 3.12.0 to 3.13.1 in electrostoreIA/requirements.txt regenerate package-lock.json files for electrostoreFRONT and tests/electrostoreFRONT to reflect updated dependencies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.