[Rt-commit] rt branch, 4.6/core-group-management-extensions, repushed

Blaine Motsinger blaine at bestpractical.com
Mon Jun 10 20:14:56 EDT 2019


The branch 4.6/core-group-management-extensions was deleted and repushed:
       was 0e08d7ee7c4f692deca133c5a323f393fd9074fd
       now 56eeae25774d5fb864f157b91e4021015e1f470e

1: daf81d1be ! 1: b2bfbb828 Core RT-Extension-GroupLinks
    @@ -101,19 +101,6 @@
     +%# those contributions and any derivatives thereof.
     +%#
     +%# END BPS TAGGED BLOCK }}}
    -+<%args>
    -+$Object         => undef
    -+$CustomFields   => undef
    -+$ARGSRef        => $DECODED_ARGS
    -+</%args>
    -+<%init>
    -+my $id = ($Object and $Object->id)
    -+    ? $Object->id
    -+    : "new";
    -+
    -+my $exclude = qq| data-autocomplete="Groups" data-autocomplete-multiple="1" |;
    -+$exclude .= qq| data-autocomplete-exclude="$id"| if $Object->id;
    -+</%init>
     +% if (ref($Object) eq 'RT::Group') {
     +<i><&|/l&>Enter names or IDs of other groups to link. Start typing a group name to see matching groups. Separate multiple entries with a comma.</&>
     +% $m->callback( CallbackName => 'ExtraLinkInstructions' );
    @@ -140,6 +127,19 @@
     +        &>
     +% $m->callback( CallbackName => 'NewLink' );
     +</table>
    ++<%INIT>
    ++my $id = ($Object and $Object->id)
    ++    ? $Object->id
    ++    : "new";
    ++
    ++my $exclude = qq| data-autocomplete="Groups" data-autocomplete-multiple="1" |;
    ++$exclude .= qq| data-autocomplete-exclude="$id"| if $Object->id;
    ++</%INIT>
    ++<%ARGS>
    ++$Object => undef
    ++$CustomFields => undef
    ++$ARGSRef => $DECODED_ARGS
    ++</%ARGS>
     
     diff --git a/share/html/Admin/Elements/EditLinks b/share/html/Admin/Elements/EditLinks
     new file mode 100644
2: f36b4386f ! 2: 871e5ad7f Core RT-Extension-GroupSummary
    @@ -438,7 +438,7 @@
     +%# those contributions and any derivatives thereof.
     +%#
     +%# END BPS TAGGED BLOCK }}}
    -+<%init>
    ++<%INIT>
     +my $assets = RT::Assets->new($session{CurrentUser});
     +$m->callback( CallbackName => 'ModifyAssetSearch', %ARGS, Assets => $assets, Roles => \@Roles );
     +for my $role (@Roles) {
    @@ -454,7 +454,7 @@
     +    Description,
     +];
     +$m->callback( CallbackName => 'ModifyFormat', %ARGS, Format => \$Format );
    -+</%init>
    ++</%INIT>
     +<&| /Widgets/TitleBox, title => $Title, class => "group asset-list" &>
     +    <& /Elements/CollectionList,
     +        Collection      => $assets,
    @@ -465,12 +465,12 @@
     +        HasResults      => $HasResults,
     +        &>
     +</&>
    -+<%args>
    ++<%ARGS>
     +$Group
     +$Title
     + at Roles
     +$HasResults => undef
    -+</%args>
    ++</%ARGS>
     
     diff --git a/share/html/Group/Elements/GroupInfo b/share/html/Group/Elements/GroupInfo
     new file mode 100644
    @@ -537,7 +537,7 @@
     +return unless $format;
     +</%INIT>
     +<%ARGS>
    -+$Group         => undef
    ++$Group        => undef
     +$FormatConfig => undef
     +$ClassPrefix  => undef
     +</%ARGS>
3: 6247edea9 = 3: dd72d546d Core RT-Extension-GroupSelfService
4: 1c06b1eaa = 4: a7a099d56 Add note to UPGRADING-4.6 for callback changes
5: 0e08d7ee7 = 5: 56eeae257 Remove hardcoded custom field values in tests



More information about the rt-commit mailing list