-
Notifications
You must be signed in to change notification settings - Fork 792
aio-interface: allow to manage the community containers via the AIO interface #6443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6f7d82a
to
2ab678d
Compare
I propose a solution |
bc16130
to
c28f517
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @docjyJ thanks a lot for helping me with this 🤗
I have a few remarks and questions below. Would you be able to help me to figure out a solution for these? :)
…nterface Signed-off-by: Simon L. <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Simon L. <[email protected]>
Signed-off-by: Simon L. <[email protected]>
Signed-off-by: Simon L. <[email protected]>
2f21ea6
to
205b18c
Compare
…e details Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Simon L. <[email protected]>
Signed-off-by: Simon L. <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
I fixed some errors on js and renamed all variables to harmonized |
Signed-off-by: Jean-Yves <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request removes the legacy environment-variable–based management of community containers and introduces a web interface for managing them. Key changes include:
- Removal of tests and startup checks for AIO_COMMUNITY_CONTAINERS.
- Addition of new twig templates and JavaScript to support community container management via the UI.
- New functions and classes in the PHP backend to list and update community container configurations.
Reviewed Changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
tests/QA/060-environmental-variables.md | Removed outdated test case for AIO_COMMUNITY_CONTAINERS environment var. |
php/templates/includes/optional-containers.twig | Updated container form and description to remove community container details. |
php/templates/includes/community-containers.twig | Introduced new template to display and manage community containers. |
php/templates/containers.twig | Included the new community container template and added corresponding JS. |
php/src/Data/ConfigurationManager.php | Updated community container config access and added listing/updating functions. |
php/src/Controller/ConfigurationController.php | Added handling for community container form submission. |
php/src/Container/CommunityContainer.php | Added new class representing a community container. |
php/public/containers-form-submit.js | Introduced new JS to handle state changes on both container forms. |
php/public/index.php | Passed community container data to the view. |
php/psalm.xml & php/psalm-baseline.xml | Updated psalm configurations. |
compose.yaml | Removed legacy comment regarding community container env var. |
community-containers/readme.md | Updated documentation to reflect UI-based management. |
Containers/mastercontainer/start.sh | Removed legacy environment checks for community containers. |
Co-authored-by: Copilot <[email protected]> Signed-off-by: Jean-Yves <[email protected]>
I saw the review button by copilot, I wanted to test it, it's not bad |
Signed-off-by: Simon L. <[email protected]>
Thanks @docjyJ! :) Can you please check my last commit if that makes sense? Also it looks like psalm is still not happy... |
Signed-off-by: Jean-Yves <[email protected]>
22e977c
to
185d3ba
Compare
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
LGTM |
Signed-off-by: Simon L. <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me.
Signed-off-by: Simon L. <[email protected]>
Signed-off-by: Simon L. <[email protected]> Co-authored-by: Jean-Yves <[email protected]> Signed-off-by: Simon L. <[email protected]>
@docjyJ I just built a new develop tag and fixed some small issues but it looks like no community containers are shown in the AIO interface: |
Found a fix in #6473 |
This is now released with v11.0.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel |
Close #5937