opnform-host-nginx/api/app/Http/Controllers
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
..
Admin Add Template Creation Functionality in Admin Panel (#729) 2025-03-25 12:14:09 +01:00
Auth Enhance JWT Token Management and Authentication Flow (#720) 2025-03-10 17:32:17 +08:00
Content Version in self hosted (#770) 2025-05-27 17:44:42 +02:00
Forms Slug customisation (#755) 2025-05-19 21:06:54 +02:00
Integrations/Zapier Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
Settings Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
Webhook Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
CaddyController.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
Controller.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
HealthCheckController.php Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
SubscriptionController.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
WorkspaceController.php Add workspace update functionality (#699) 2025-02-12 13:43:55 +01:00
WorkspaceUserController.php Implement EnsureUserHasWorkspace Trait and Integrate into Controllers… (#741) 2025-04-28 18:03:38 +02:00