[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-419-g4b7c5afbab
Jim Brandt
jbrandt at bestpractical.com
Wed May 5 16:48:30 EDT 2021
The branch, 4.4-trunk has been updated
via 4b7c5afbab153bae1faed2662eef484643907fca (commit)
via 04abe154682d1c87e79d85668d37fe021e45a9d0 (commit)
via f73e5c340cc10f11fb43ab3301fca72a48ac5750 (commit)
via dc0ebd6ce24002aaae0524cf8cd8caf4b077f811 (commit)
via 99c330d9afcf60589e0bb7aa85d53856fb19e17f (commit)
via 4dad4d797da641ee84b724c81931b9eb8432b192 (commit)
via 00aaad5733fa19d2cd268e3068b554eafd338c52 (commit)
via 957c290eb21a3040beaaf83c5ece54320b944a86 (commit)
via b54749dc41bdc968cc1972ef3366c0b8f56bd506 (commit)
via 9a44c12bd74b3c1a0f3eebe0b5bfdd42eb5da4dd (commit)
via 57d04305b8b9a3c4880bb7c160eda6160148fb98 (commit)
from 6649b1d0c7e5401c17afbfb07e756bb931ca9869 (commit)
Summary of changes:
etc/upgrade/4.4.5/content | 14 ++
lib/RT/Attribute.pm | 315 ++++++++++++++++++++++++++++++--
lib/RT/Record.pm | 1 +
lib/RT/URI/{asset.pm => attribute.pm} | 94 +++++-----
share/html/Elements/ShowUser | 3 +-
share/html/Search/Elements/EditSearches | 34 +++-
share/static/js/util.js | 23 +++
7 files changed, 421 insertions(+), 63 deletions(-)
copy lib/RT/URI/{asset.pm => attribute.pm} (62%)
- Log -----------------------------------------------------------------
commit 4b7c5afbab153bae1faed2662eef484643907fca
Merge: 6649b1d0c7 04abe15468
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed May 5 16:28:01 2021 -0400
Merge branch '4.4/saved-search-links' into 4.4-trunk
diff --cc etc/upgrade/4.4.5/content
index 024e3c5147,ed72073218..45b13c1eee
--- a/etc/upgrade/4.4.5/content
+++ b/etc/upgrade/4.4.5/content
@@@ -1,34 -1,19 +1,48 @@@
-use strict;
use warnings;
+use strict;
+
+our @ScripConditions = (
+ {
+ Name => 'On Create Via Email',
+ Description => 'When a ticket is created via Email',
+ ApplicableTransTypes => 'Create',
+ Argument => 'Email',
+ ExecModule => 'ViaInterface',
+ },
+ {
+ Name => 'On Create Via Web',
+ Description => 'When a ticket is created via Web',
+ ApplicableTransTypes => 'Create',
+ Argument => 'Web,Mobile',
+ ExecModule => 'ViaInterface',
+ },
+);
our @Final = (
+ sub {
+ my $role_groups = RT::Groups->new( RT->SystemUser );
+ $role_groups->{'find_disabled_rows'} = 1;
+ $role_groups->Limit( FIELD => 'Name', VALUE => 'RT::CustomRole-', OPERATOR => 'LIKE', CASESENSITIVE => 0 );
+ $role_groups->Limit( FIELD => 'Domain', VALUE => '-Role', OPERATOR => 'LIKE', CASESENSITIVE => 0 );
+ $role_groups->LimitToDeleted;
+
+ while ( my $role_group = $role_groups->Next ) {
+ my ( $ret, $msg ) = $role_group->SetDisabled( 0 );
+ RT->Logger->error( "Couldn't enable role group #" . $role_group->id . ": $msg" ) unless $ret;
+ }
+ },
+ sub {
+ my $attrs = RT::Attributes->new( RT->SystemUser );
+ $attrs->Limit(
+ FIELD => 'Name',
+ VALUE => [ 'Dashboard', 'HomepageSettings', 'Pref-HomepageSettings' ],
+ OPERATOR => 'IN',
+ );
+ while ( my $attr = $attrs->Next ) {
+ my ( $ret, $msg ) = $attr->_SyncLinks;
+ if ( !$ret ) {
+ die "Couldn't sync links for attribute #" . $attr->id . ": $msg";
+ }
+ }
- }
++ },
);
-----------------------------------------------------------------------
More information about the rt-commit
mailing list