Skip to content

[WIP] Add support for installing plugins & themes by uploading ZIP files #1174

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

Draft
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

LukeTowers
Copy link
Member

@LukeTowers LukeTowers commented Jul 30, 2024

This PR adds the ability to install plugins & themes from ZIP archives, either uploaded through the backend or via the plugin:install and theme:install commands.

Currently working:

  • plugin:install plugin(s).zip - supports single plugin, single plugin nested, multiple plugins no authors, multiple authors, and an entire plugins directory

TODO:

  • Support theme:install theme(s).zip - support single theme, multiple themes
  • "Upload Plugin" installer GUI - support all sources currently supported in CLI, user uploads a zip folder and then the plugins are installed and migrated using the same process that handles installing multiple plugins from the marketplace right now
  • "Upload Theme" installer GUI - support same sources as CLI, user uploads a zip folder and then the themes are installed
  • Testing
Screenshot 2024-07-30 at 12 27 22 AM Screenshot 2024-07-30 at 12 27 29 AM Screenshot 2024-07-30 at 7 16 36 PM

Eventually this will also play into the work in #967 and our overall marketplace support in general.

Work in progress.

@LukeTowers LukeTowers self-assigned this Jul 30, 2024
@LukeTowers LukeTowers added this to the 1.2.7 milestone Jul 30, 2024
@LukeTowers LukeTowers added enhancement PRs that implement a new feature or substantial change Status: In Progress labels Jul 30, 2024
@mjauvin
Copy link
Member

mjauvin commented Nov 14, 2024

@LukeTowers Maybe we should move this to 1.2.8 and cut that long overdue release?

@mjauvin mjauvin modified the milestones: 1.2.7, 1.2.8 Dec 4, 2024
@LukeTowers LukeTowers modified the milestones: 1.2.8, v1.2.9 Feb 13, 2025
@austinkregel
Copy link

👋🏻 Hello there, I'd like to help contribute to this effort. Would the team accept pull requests to this branch to help get things up and running?

At the moment due to the requirements of the winter/wn-blog-plugin:dev-main branch currently has ~1.2.8 which prevents a composer install unless you decrease the version of winter/wn-blog-plugin:~2.1.0 appears to at least let me install the required plugins.

@LukeTowers
Copy link
Member Author

LukeTowers commented Jul 19, 2025

@austinkregel definitely! You can get around that issue by requiring winter/wn-backend-module: dev-wip/support-uploading-packages as 1.2.8 in your composer.json file.

@austinkregel
Copy link

@LukeTowers between this PR and this PR, which one would be preferred to work on? 👀

@LukeTowers
Copy link
Member Author

@austinkregel definitely #1259. I think some of the changes from this one might need to be integrated back into the other one, but the main work is being done on #1259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement PRs that implement a new feature or substantial change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants