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

            Bug ID: 43581
           Summary: Replace the legacy plugin management pages with a Vue
                    Installed plugins page
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 35837
  Target Milestone: ---

Bug 35837 added a new "Plugin store" page (Administration > Plugins > Plugin
store) for discovering and installing plugins from the community plugin
store. That work was deliberately scoped as an *addition* alongside the
existing plugin management pages (plugins-home.pl, plugins-enable.pl,
plugins-upload.pl, plugins-uninstall.pl) rather than a replacement, so it
could be reviewed as a self-contained, low-risk patch with nothing removed.

This bug is the follow-up that completes the migration: it replaces those
legacy Perl/TT pages with a new "Installed plugins" Vue page, built on an
extended version of the REST API bug 35837 introduced.

Objectives:

* Extend GET /api/v1/plugins (already added by bug 35837, currently just an
  unfiltered "list everything" used by the Plugin store page's own "already
  installed" check) with capability filtering and full KohaTable/DataTables
  serverSide pagination, sorting and free-text search support.
* Add PUT /api/v1/plugins/{plugin_class} (enable/disable) and DELETE
  /api/v1/plugins/{plugin_class} (uninstall), both delegating to the
  existing Koha::Plugins::Handler.
* Add a routed "Installed plugins" Vue page (Administration > Plugins >
  Installed plugins) listing installed plugins with Configure/Run tool/Run
  report/Run admin/Enable/Disable/Uninstall actions, the classic "View
  plugins by class" filter, and a "Check for updates" action comparing
  installed versions against the plugin store's discovery API (reusing bug
  35837's plugin-store-api-client.js).
* Remove plugins-home.pl, plugins-enable.pl, plugins-upload.pl and
  plugins-uninstall.pl, and repoint every link to them (admin-home.tt, the
  admin left-menu, the Tools/Reports plugin listings, the staff-tool
  wrapper breadcrumb, Koha::Plugins::Base's go_home()) at the new page.

Depends on bug 35837: reuses its REST install/upload endpoints and
Koha::Plugins::Install/Store, its plugin-store-api-client.js discovery
client, and its Dialog.vue confirmation-dialog-over-component-dialog fix.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35837
[Bug 35837] Add a fully fledged plugin store to Koha
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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