From 047303b18faad93eb1717492610689da58c2c900 Mon Sep 17 00:00:00 2001 From: topunix <833824+topunix@users.noreply.github.com> Date: Wed, 14 Oct 2026 15:45:42 -0500 Subject: [PATCH] Bug 1545443: Remove the Splinter extension Splinter is unmaintained and should not ship with Bugzilla 6. Remove extensions/Splinter and every reader of its splinter_base param: the /review route, the Splinter Review link on patch attachments in BugModal, the MyDashboard flag link, the Review extension's page hook and request badge link, and the param export in the global header. Patch links in the review badge now fall back to the attachment details page, as other attachments already do. update_params does not drop params that are no longer defined, so upgraded installs keep a stale splinter_base value in data/params. Nothing reads it any more, so it is harmless and is left in place. --- Bugzilla/App.pm | 1 - .../bug_modal/activity_stream.html.tmpl | 3 - .../en/default/pages/mydashboard.html.tmpl | 6 - extensions/MyDashboard/web/js/flags.js | 15 +- .../hook/global/header-start.html.tmpl | 3 +- extensions/Review/web/js/badge.js | 9 +- extensions/Splinter/Config.pm | 9 - extensions/Splinter/Extension.pm | 179 -- extensions/Splinter/lib/Config.pm | 43 - extensions/Splinter/lib/Util.pm | 209 -- .../default/admin/params/splinter.html.tmpl | 38 - .../hook/attachment/edit-action.html.tmpl | 25 - .../hook/attachment/list-action.html.tmpl | 25 - .../hook/global/user-error-errors.html.tmpl | 5 - .../hook/request/email-after_summary.txt.tmpl | 9 - .../hook/request/queue-after_column.html.tmpl | 4 - .../en/default/pages/splinter.html.tmpl | 282 -- .../en/default/pages/splinter/help.html.tmpl | 153 - extensions/Splinter/web/splinter.css | 435 --- extensions/Splinter/web/splinter.js | 2718 ----------------- template/en/default/global/header.html.tmpl | 1 - 21 files changed, 5 insertions(+), 4167 deletions(-) delete mode 100644 extensions/Splinter/Config.pm delete mode 100644 extensions/Splinter/Extension.pm delete mode 100644 extensions/Splinter/lib/Config.pm delete mode 100644 extensions/Splinter/lib/Util.pm delete mode 100644 extensions/Splinter/template/en/default/admin/params/splinter.html.tmpl delete mode 100644 extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl delete mode 100644 extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl delete mode 100644 extensions/Splinter/template/en/default/hook/global/user-error-errors.html.tmpl delete mode 100644 extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl delete mode 100644 extensions/Splinter/template/en/default/hook/request/queue-after_column.html.tmpl delete mode 100644 extensions/Splinter/template/en/default/pages/splinter.html.tmpl delete mode 100644 extensions/Splinter/template/en/default/pages/splinter/help.html.tmpl delete mode 100644 extensions/Splinter/web/splinter.css delete mode 100644 extensions/Splinter/web/splinter.js diff --git a/Bugzilla/App.pm b/Bugzilla/App.pm index 578b510ad4..ea94de3cc4 100644 --- a/Bugzilla/App.pm +++ b/Bugzilla/App.pm @@ -202,7 +202,6 @@ sub setup_routes { '/__version__' => {file => 'version.json', content_type => 'application/json'}); $r->static_file('/version.json', {content_type => 'application/json'}); - $r->page('/review', 'splinter.html'); $r->page('/user_profile', 'user_profile.html'); $r->page('/userprofile', 'user_profile.html'); $r->page('/request_defer', 'request_defer.html'); diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl index 6352cf7d1c..590d8104d1 100644 --- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl @@ -276,9 +276,6 @@ [% att.description FILTER html %] [% " (obsolete)" IF att.isobsolete; " (deleted)" IF !att.datasize %] — - [% IF att.ispatch && Param('splinter_base') %] - — Splinter Review - [% END %] [% END %] diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl index 15886681a0..4ae8904a14 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -74,12 +74,6 @@ - -