Skip to content
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

Plugin Manager UI #1717

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Plugin Manager UI #1717

wants to merge 30 commits into from

Conversation

billz
Copy link
Member

@billz billz commented Dec 20, 2024

Enumerates submodules from RaspAP's plugins repo, fetches manifests and displays basic details for available plugins on the System > Plugins tab.

Todo:

  • Parse manifest.json and perform plugin install actions
  • Create modal dialogs
  • Create PluginInstaller class to download + unpack user plugins

@billz billz linked an issue Dec 21, 2024 that may be closed by this pull request
app/js/custom.js Fixed Show fixed Hide fixed
app/js/custom.js Dismissed Show dismissed Hide dismissed
@billz
Copy link
Member Author

billz commented Dec 27, 2024

Plugin-Installer

@billz
Copy link
Member Author

billz commented Jan 5, 2025

The class method getUserPlugins() iterates submodules in the plugins repo and fetches each plugin's manifest. This is executed with callbackTimeout() using a 2000ms value that permits the plugin installer to fail gracefully if the device has a slow or no internet connection. It could be improved later with an asynchronous operation and/or caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

Plugin Manager UI
1 participant