Skip to content

configuration generator tool#51

Merged
vampi62 merged 12 commits intomainfrom
compose
Jan 15, 2026
Merged

configuration generator tool#51
vampi62 merged 12 commits intomainfrom
compose

Conversation

@vampi62
Copy link
Owner

@vampi62 vampi62 commented Jan 3, 2026

This pull request introduces a configuration generator tool for Electrostore, making it easier for users to generate all necessary configuration files and setup scripts through a web interface. It adds several new JavaScript modules to handle form input, file generation, UI logic, and utility functions, and updates documentation to reference the new generator. The generator supports advanced options like OAuth providers, integrated/external services (MariaDB, MQTT, S3, Vault), and includes features for copying, downloading, and packaging configuration files.

Bug fix:

  • Fixed a type in appsettings.Development.json for the SMTP "Enable" field, changing it from a string to a boolean value for correctness.

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
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
Introduces generation and download of garage.toml, mosquitto.conf, and mosquitto.passwd
add security options for containers
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.
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.
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.
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.
@vampi62 vampi62 merged commit cedeb7a into main Jan 15, 2026
1 check passed
@vampi62 vampi62 deleted the compose branch January 15, 2026 16:24
vampi62 added a commit that referenced this pull request Feb 8, 2026
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant