https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43581

--- Comment #4 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 206526
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206526&action=edit
Bug 43581: Add a Vue Installed plugins management page, replacing the legacy
plugin pages

Adds a single-page plugin manager (Administration > Plugins >
Installed plugins) built on the previous commit's extended REST API:
lists installed plugins, with enable/disable/uninstall/configure/run
actions, flags any plugin running outside its declared minimum/
maximum Koha version, and a "Check for updates" action comparing
installed versions against the plugin store (depends on bug 35837).
The "View plugins by class" dropdown from the old plugins-home.pl is
restored here (report/tool/configure/admin, matching the capability
filter the REST API supports), and an unsigned-install rejection from
its own "Upload plugin"/"Update" actions surfaces as a confirmation
dialog rather than a silent failure.

plugins-home.pl (with its report/tool/configure/admin method
dispatch), plugins-enable.pl, plugins-upload.pl, and
plugins-uninstall.pl are fully replaced by this page and the REST API
-- deleting them, rather than leaving them dead, avoids two working
install/management paths with two different sets of checks applied.
Every link that used to point at them (admin-home.tt, AdminMenu.vue,
the tools/reports plugin listings, the staff-tool wrapper breadcrumb)
now points at this page instead; Koha::Plugins::Base's go_home() and
a stale POD reference in Koha::Plugins::Handler are updated the same
way.

Test plan:
1. Enable the Plugins system preference (and log in as a user with
   plugin permissions) if not already on.
2. Administration > Plugins > Installed plugins. Confirm any already-
   installed plugins list correctly, with working Configure/Run/
   Enable/Disable/Uninstall actions.
3. Confirm the URLs /cgi-bin/koha/plugins/plugins-home.pl,
   plugins-enable.pl, plugins-upload.pl, and plugins-uninstall.pl now
   404 rather than loading a page.
4. Click "Check for updates"; if any installed plugin has a newer
   version in the store, it should show "Update available (x.y.z)".
   If nothing is out of date, confirm you get a clear "all plugins up
   to date" message rather than nothing happening.
5. Confirm the Administration home page, and the Tools/Reports plugin
   listings (if you have report/tool plugins installed), all link to
   this same page rather than a 404.

Depends on bug 35837 (the plugin-store discovery page, REST install
endpoints, and Koha::Plugins::Install/Store this reuses).

Co-Authored-By: Claude Sonnet 5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to