[Rt-commit] rt branch, 5.0/move-rt-extension-formattedtransactions-to-core, repushed
Dianne Skoll
dianne at bestpractical.com
Wed Aug 12 09:20:22 EDT 2020
The branch 5.0/move-rt-extension-formattedtransactions-to-core was deleted and repushed:
was 6fb45c7d0da6513a818103b33daf4824bd309ffd
now 4f3893e7b617367bbb65cdac799644dc9ddb990b
1: 2834683eec ! 1: fd7dbf8f7e Move RT::Extension::FormattedTransaction into core.
@@ -1,6 +1,43 @@
Author: Dianne Skoll <dianne at bestpractical.com>
Move RT::Extension::FormattedTransaction into core.
+
+diff --git a/etc/cpanfile b/etc/cpanfile
+--- a/etc/cpanfile
++++ b/etc/cpanfile
+@@
+ requires 'Text::Quoted', '>= 2.07';
+ requires 'Text::Template', '>= 1.44';
+ requires 'Text::WikiFormat', '>= 0.76';
++requires 'Text::WordDiff';
+ requires 'Text::Wrapper';
+ requires 'Time::HiRes';
+ requires 'Time::ParseDate';
+
+diff --git a/lib/RT.pm b/lib/RT.pm
+--- a/lib/RT.pm
++++ b/lib/RT.pm
+@@
+ 'RT::Extension::REST2' => '5.0',
+ 'RT::Authen::Token' => '5.0',
+ 'RT::Extension::QuoteSelection' => 5.0,
++ 'RT::Extension::FormattedTransactions' => 5.0,
+ );
+
+ sub InitPlugins {
+
+diff --git a/lib/RT/Interface/Web/Scrubber.pm b/lib/RT/Interface/Web/Scrubber.pm
+--- a/lib/RT/Interface/Web/Scrubber.pm
++++ b/lib/RT/Interface/Web/Scrubber.pm
+@@
+
+ our @ALLOWED_TAGS = qw(
+ A B U P BR I HR BR SMALL EM FONT SPAN STRONG SUB SUP S DEL STRIKE H1 H2 H3 H4 H5
+- H6 DIV UL OL LI DL DT DD PRE BLOCKQUOTE BDO TABLE THEAD TBODY TFOOT TR TD TH
++ H6 INS DIV UL OL LI DL DT DD PRE BLOCKQUOTE BDO TABLE THEAD TBODY TFOOT TR TD TH
+ );
+
+ our %ALLOWED_ATTRIBUTES = (
diff --git a/lib/RT/Transaction.pm b/lib/RT/Transaction.pm
--- a/lib/RT/Transaction.pm
@@ -176,7 +213,8 @@
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
-+%# END BPS TAGGED BLOCK }}}<%INIT>
++%# END BPS TAGGED BLOCK }}}
++<%INIT>
+
+my ( $old, $new );
+
@@ -263,6 +301,20 @@
+%# END BPS TAGGED BLOCK }}}
+% $m->comp( '/Helpers/TextDiff', %ARGS );
+diff --git a/share/static/css/elevator-light/history.css b/share/static/css/elevator-light/history.css
+--- a/share/static/css/elevator-light/history.css
++++ b/share/static/css/elevator-light/history.css
+@@
+ .transaction .message-header-value.verify.done.trust-FULL { color: #060; }
+ .transaction .message-header-value.verify.done.trust-FULLY { color: #060; }
+ .transaction .message-header-value.verify.done.trust-ULTIMATE { color: #060; }
++.transaction.other .details { margin-top: 0.5em; }
++.transaction.other .details tr:not(:first-child) td.value { border-top: 1px solid #ccc; }
++.transaction.other .details td.label { min-width: 0; }
++.diff del { color: #a00; }
++.diff { color: #888; }
++.diff ins { color: #080; }
+
diff --git a/share/static/js/util.js b/share/static/js/util.js
--- a/share/static/js/util.js
+++ b/share/static/js/util.js
2: 6fb45c7d0d < -: ------- Add Text::WordDiff as a dependency.
-: ------- > 2: 4f3893e7b6 Add test for the formatted transaction output.
More information about the rt-commit
mailing list