opnform-host-nginx/client/middleware
Julien Nahum f3a02df80e
Version in self hosted (#770)
* Enhance Application Version Management in Docker and Feature Flags

- Added a new build argument `APP_VERSION` in the Docker configuration files to facilitate version tracking during builds.
- Introduced a private method `getAppVersion` in `FeatureFlagsController` to retrieve the application version from the Docker environment, enhancing the feature flags response with version information.
- Updated the `app.php` configuration file to include a new entry for `docker_version`, allowing for better version management and fallback when the Docker build version is unavailable.

These changes aim to improve the application's versioning capabilities, ensuring that the version is consistently available across different components and environments.

* Refactor OpenFormFooter and Update Feature Flags Handling

- Modified `OpenFormFooter.vue` to include a version display when available, enhancing user awareness of the application version.
- Refactored the script section to use the `<script setup>` syntax, improving readability and reactivity by utilizing `ref` and `computed` for reactive properties.
- Removed the deprecated `feature-flags.js` plugin and updated `featureFlags.js` to ensure proper SSR compatibility and error handling during feature flag fetching.

These changes aim to improve the user interface by providing version information and enhance the overall code structure for better maintainability and performance.
2025-05-27 17:44:42 +02:00
..
01.check-auth.global.js Enhance JWT Token Management and Authentication Flow (#720) 2025-03-10 17:32:17 +08:00
admin.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
api-redirect.global.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
auth.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
custom-domain.global.js Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
guest.js Docker compose setup (#513) 2024-08-05 12:06:20 +02:00
moderator.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
root-redirect.js Self hosted domain redirect (#756) 2025-05-20 14:51:44 +02:00
self-hosted-credentials.js Version in self hosted (#770) 2025-05-27 17:44:42 +02:00
self-hosted.js Form editor v2 (#579) 2024-09-23 20:02:38 +02:00
subscribed.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00