Draft
Conversation
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.
This pull request introduces a robust application management system, adding support for a new "Application" resource and its types (notably a "Reverse Proxy" type), as well as SSL management for applications. The changes include new action classes for creating, updating, deploying, and deleting applications, a flexible application type abstraction, and significant updates to SSL logic to support both sites and applications.
Application Interface:

Edit Interface:

Below are the most important changes grouped by theme:
Application Management Core:
CreateApplication,UpdateApplication,DeleteApplication,DeployApplication,ResetTemplate, andUpdateTemplate, enabling creation, update, deployment, deletion, and template management for applications. [1] [2] [3] [4] [5] [6]ApplicationTypeinterface andAbstractApplicationTypebase class, allowing for pluggable application types. [1] [2]Reverse Proxy Application Type:
ReverseProxyapplication type, including form fields, validation, vhost rendering, and uninstall logic. This allows users to create reverse proxy applications with customizable backend settings.DeployReverseProxy, handling vhost file generation, writing, and webserver reloads.SSL Management Enhancements:
CreateSSL,ActivateSSL,DeactivateSSL,DeleteSSL) to support bothSiteandApplicationas parent resources, ensuring SSL certificates can be managed for applications as well as sites. [1] [2] [3] [4] [5]Validation Improvements:
CreateSiteandCreateApplicationto enforce uniqueness of domains across both sites and applications on the same server, preventing conflicts. [1] [2]These changes establish a foundation for managing applications and their SSL certificates in a flexible, extensible way, and introduce the first application type (reverse proxy) with full lifecycle and deployment support.