Database Changes + For MySQL and MariaDB, the default character set has been updated to utf8mb4 to accommodate more unicode characters including emojis. See README.MySQL and README.MariaDB for details. + The Id field in some tables is changed from INT to BIGINT to accommodate large RT systems that may hit the maximum number of ids. Because this change touches large RT tables like Transactions and Attachments, this upgrade step may take a while to run. + You also will need free disk space equal to the size of these tables while running because MySQL, MariaDB, and Postgres will create a temporary copy of the table while running. If you don't have sufficient space, it can cause this step to fail. Notable Changes + System configuration options can now be changed by SuperUsers via the web UI. File-based configuration options are still loaded. Changes made via the web UI take precedence over file-based options if both are set. + If you prefer to keep all configuration in files and disable editing in the web UI, set this option to 0: Set($ShowEditSystemConfig, 0); + The variables which alter the set of HTML elements allowed in HTML scrubbing have moved; they have been renamed, and are now found under RT::Interface::Web::Scrubber. + The articles interface on tickets has been simplified, now showing only a dropdown for selecting articles. This dropdown converts to an autocomplete box when the dropdown contains more than $DropdownMenuLimit items. + With this simplified interface, the "hotlist" feature is no longer needed as all articles in classes applied to a given queue are available in the dropdown/autocomplete field. To prevent articles in a class from appearing for a queue, you can unapply the class from that queue. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/request-tracker?expand=0&rev=67
320 lines
9.2 KiB
Diff
320 lines
9.2 KiB
Diff
Index: rt-5.0.1/sbin/rt-attributes-viewer.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-attributes-viewer.in
|
|
+++ rt-5.0.1/sbin/rt-attributes-viewer.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-clean-sessions.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-clean-sessions.in
|
|
+++ rt-5.0.1/sbin/rt-clean-sessions.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-dump-metadata.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-dump-metadata.in
|
|
+++ rt-5.0.1/sbin/rt-dump-metadata.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# As we specify that XML is UTF-8 and we output it to STDOUT, we must be sure
|
|
# it is UTF-8 so further XMLin will not break
|
|
binmode( STDOUT, ":utf8" );
|
|
Index: rt-5.0.1/sbin/rt-email-dashboards.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-email-dashboards.in
|
|
+++ rt-5.0.1/sbin/rt-email-dashboards.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-email-digest.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-email-digest.in
|
|
+++ rt-5.0.1/sbin/rt-email-digest.in
|
|
@@ -48,6 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use warnings;
|
|
use strict;
|
|
+use lib '__vendorperl__';
|
|
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-email-group-admin.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-email-group-admin.in
|
|
+++ rt-5.0.1/sbin/rt-email-group-admin.in
|
|
@@ -85,7 +85,7 @@ Your development team will be notified o
|
|
|
|
use warnings;
|
|
use strict;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-fulltext-indexer.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-fulltext-indexer.in
|
|
+++ rt-5.0.1/sbin/rt-fulltext-indexer.in
|
|
@@ -49,7 +49,7 @@
|
|
use strict;
|
|
use warnings;
|
|
use 5.010;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-importer.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-importer.in
|
|
+++ rt-5.0.1/sbin/rt-importer.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN {
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-preferences-viewer.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-preferences-viewer.in
|
|
+++ rt-5.0.1/sbin/rt-preferences-viewer.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-serializer.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-serializer.in
|
|
+++ rt-5.0.1/sbin/rt-serializer.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN {
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-server.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-server.in
|
|
+++ rt-5.0.1/sbin/rt-server.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use warnings;
|
|
use strict;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
BEGIN {
|
|
die <<EOT if ${^TAINT};
|
|
RT does not run under Perl's "taint mode". Remove -T from the command
|
|
Index: rt-5.0.1/sbin/rt-session-viewer.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-session-viewer.in
|
|
+++ rt-5.0.1/sbin/rt-session-viewer.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-setup-database.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-setup-database.in
|
|
+++ rt-5.0.1/sbin/rt-setup-database.in
|
|
@@ -48,6 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
+use lib '__vendorperl__';
|
|
use 5.010;
|
|
|
|
use vars qw($Nobody $SystemUser $item);
|
|
Index: rt-5.0.1/sbin/rt-shredder.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-shredder.in
|
|
+++ rt-5.0.1/sbin/rt-shredder.in
|
|
@@ -109,7 +109,7 @@ L<RT::Shredder>
|
|
|
|
use strict;
|
|
use warnings FATAL => 'all';
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-validate-aliases.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-validate-aliases.in
|
|
+++ rt-5.0.1/sbin/rt-validate-aliases.in
|
|
@@ -48,6 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
+use lib '__vendorperl__';
|
|
use Text::ParseWords qw//;
|
|
use Getopt::Long;
|
|
|
|
Index: rt-5.0.1/sbin/rt-validator.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-validator.in
|
|
+++ rt-5.0.1/sbin/rt-validator.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-externalize-attachments.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-externalize-attachments.in
|
|
+++ rt-5.0.1/sbin/rt-externalize-attachments.in
|
|
@@ -48,6 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
+use lib '__vendorperl__';
|
|
use POSIX qw(strftime);
|
|
|
|
# fix lib paths, some may be relative
|
|
Index: rt-5.0.1/sbin/rt-ldapimport.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-ldapimport.in
|
|
+++ rt-5.0.1/sbin/rt-ldapimport.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-munge-attachments.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-munge-attachments.in
|
|
+++ rt-5.0.1/sbin/rt-munge-attachments.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-passwd.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-passwd.in
|
|
+++ rt-5.0.1/sbin/rt-passwd.in
|
|
@@ -48,6 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
+use lib '__vendorperl__';
|
|
use utf8;
|
|
|
|
# fix lib paths, some may be relative
|
|
Index: rt-5.0.1/sbin/rt-search-attributes.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-search-attributes.in
|
|
+++ rt-5.0.1/sbin/rt-search-attributes.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN { # BEGIN RT CMD BOILERPLATE
|
|
require File::Spec;
|
|
Index: rt-5.0.1/sbin/rt-dump-initialdata.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/sbin/rt-dump-initialdata.in
|
|
+++ rt-5.0.1/sbin/rt-dump-initialdata.in
|
|
@@ -48,7 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
# fix lib paths, some may be relative
|
|
BEGIN {
|
|
require File::Spec;
|
|
Index: rt-5.0.1/bin/rt-crontool.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/bin/rt-crontool.in
|
|
+++ rt-5.0.1/bin/rt-crontool.in
|
|
@@ -48,6 +48,7 @@
|
|
# END BPS TAGGED BLOCK }}}
|
|
use strict;
|
|
use warnings;
|
|
+use lib '__vendorperl__';
|
|
use Carp;
|
|
|
|
# fix lib paths, some may be relative
|
|
Index: rt-5.0.1/bin/rt-mailgate.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/bin/rt-mailgate.in
|
|
+++ rt-5.0.1/bin/rt-mailgate.in
|
|
@@ -54,7 +54,7 @@ rt-mailgate - Mail interface to RT.
|
|
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
use Getopt::Long;
|
|
|
|
my $opts = { };
|
|
Index: rt-5.0.1/bin/rt.in
|
|
===================================================================
|
|
--- rt-5.0.1.orig/bin/rt.in
|
|
+++ rt-5.0.1/bin/rt.in
|
|
@@ -51,7 +51,7 @@
|
|
|
|
use strict;
|
|
use warnings;
|
|
-
|
|
+use lib '__vendorperl__';
|
|
if ( $ARGV[0] && $ARGV[0] =~ /^(?:--help|-h)$/ ) {
|
|
require Pod::Usage;
|
|
print Pod::Usage::pod2usage( { verbose => 2 } );
|