[Rt-commit] rt branch, 4.6/core-rightinspector, repushed

Michel Rodriguez michel at bestpractical.com
Thu Sep 12 17:14:04 EDT 2019


The branch 4.6/core-rightinspector was deleted and repushed:
       was a5266b786adfbded4e2e24acac1e41121d04e172
       now 99a86dcfe35ff20fb0a20281e5db93a2f0bd0442

1: 40dec2d6e ! 1: b0dc45582 Cored RT::Extension::RightsInspector
    @@ -1,6 +1,59 @@
     Author: michel <michel at bestpractical.com>
     
         Cored RT::Extension::RightsInspector
    +
    +diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
    +--- a/etc/RT_Config.pm.in
    ++++ b/etc/RT_Config.pm.in
    +@@
    +           /static/RichText/ckeditor.js
    +           dropzone.min.js
    +           quoteselection.js
    ++          rights-inspector.js
    +           }
    +     ],
    +     'elevator-light' => [qw{popper.min.js bootstrap.min.js bootstrap-select.min.js bootstrap-combobox.js}],
    +
    +diff --git a/etc/RT_SiteConfig.pm b/etc/RT_SiteConfig.pm
    +deleted file mode 100644
    +--- a/etc/RT_SiteConfig.pm
    ++++ /dev/null
    +@@
    +-use utf8;
    +-
    +-# Any configuration directives you include  here will override
    +-# RT's default configuration file, RT_Config.pm
    +-#
    +-# To include a directive here, just copy the equivalent statement
    +-# from RT_Config.pm and change the value. We've included a single
    +-# sample value below.
    +-#
    +-# If this file includes non-ASCII characters, it must be encoded in
    +-# UTF-8.
    +-#
    +-# This file is actually a perl module, so you can include valid
    +-# perl code, as well.
    +-#
    +-# The converse is also true, if this file isn't valid perl, you're
    +-# going to run into trouble. To check your SiteConfig file, use
    +-# this command:
    +-#
    +-#   perl -c /path/to/your/etc/RT_SiteConfig.pm
    +-#
    +-# You must restart your webserver after making changes to this file.
    +-#
    +-
    +-# You may also split settings into separate files under the etc/RT_SiteConfig.d/
    +-# directory.  All files ending in ".pm" will be parsed, in alphabetical order,
    +-# after this file is loaded.
    +-
    +-Set( $rtname, 'example.com');
    +-
    +-# You must install Plugins on your own, this is only an example
    +-# of the correct syntax to use when activating them:
    +-#     Plugin( "RT::Authen::ExternalAuth" );
    +-
    +-1;
     
     diff --git a/lib/RT/Interface/Web/MenuBuilder.pm b/lib/RT/Interface/Web/MenuBuilder.pm
     --- a/lib/RT/Interface/Web/MenuBuilder.pm
    @@ -1036,53 +1089,53 @@
     --- /dev/null
     +++ b/share/html/Helpers/RightsInspector/Revoke
     @@
    -+# BEGIN BPS TAGGED BLOCK {{{
    -+#
    -+# COPYRIGHT:
    -+#
    -+# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
    -+#                                          <sales at bestpractical.com>
    -+#
    -+# (Except where explicitly superseded by other copyright notices)
    -+#
    -+#
    -+# LICENSE:
    -+#
    -+# This work is made available to you under the terms of Version 2 of
    -+# the GNU General Public License. A copy of that license should have
    -+# been provided with this software, but in any event can be snarfed
    -+# from www.gnu.org.
    -+#
    -+# This work is distributed in the hope that it will be useful, but
    -+# WITHOUT ANY WARRANTY; without even the implied warranty of
    -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    -+# General Public License for more details.
    -+#
    -+# You should have received a copy of the GNU General Public License
    -+# along with this program; if not, write to the Free Software
    -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    -+# 02110-1301 or visit their web page on the internet at
    -+# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
    -+#
    -+#
    -+# CONTRIBUTION SUBMISSION POLICY:
    -+#
    -+# (The following paragraph is not intended to limit the rights granted
    -+# to you to modify and distribute this software under the terms of
    -+# the GNU General Public License and is only of importance to you if
    -+# you choose to contribute your changes and enhancements to the
    -+# community by submitting them to Best Practical Solutions, LLC.)
    -+#
    -+# By intentionally submitting any modifications, corrections or
    -+# derivatives to this work, or any other work intended for use with
    -+# Request Tracker, to Best Practical Solutions, LLC, you confirm that
    -+# you are the copyright holder for those contributions and you grant
    -+# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
    -+# royalty-free, perpetual, license to use, copy, create derivative
    -+# works based on those contributions, and sublicense and distribute
    -+# those contributions and any derivatives thereof.
    -+#
    -+# END BPS TAGGED BLOCK }}}
    ++%# BEGIN BPS TAGGED BLOCK {{{
    ++%#
    ++%# COPYRIGHT:
    ++%#
    ++%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
    ++%#                                          <sales at bestpractical.com>
    ++%#
    ++%# (Except where explicitly superseded by other copyright notices)
    ++%#
    ++%#
    ++%# LICENSE:
    ++%#
    ++%# This work is made available to you under the terms of Version 2 of
    ++%# the GNU General Public License. A copy of that license should have
    ++%# been provided with this software, but in any event can be snarfed
    ++%# from www.gnu.org.
    ++%#
    ++%# This work is distributed in the hope that it will be useful, but
    ++%# WITHOUT ANY WARRANTY; without even the implied warranty of
    ++%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    ++%# General Public License for more details.
    ++%#
    ++%# You should have received a copy of the GNU General Public License
    ++%# along with this program; if not, write to the Free Software
    ++%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    ++%# 02110-1301 or visit their web page on the internet at
    ++%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
    ++%#
    ++%#
    ++%# CONTRIBUTION SUBMISSION POLICY:
    ++%#
    ++%# (The following paragraph is not intended to limit the rights granted
    ++%# to you to modify and distribute this software under the terms of
    ++%# the GNU General Public License and is only of importance to you if
    ++%# you choose to contribute your changes and enhancements to the
    ++%# community by submitting them to Best Practical Solutions, LLC.)
    ++%#
    ++%# By intentionally submitting any modifications, corrections or
    ++%# derivatives to this work, or any other work intended for use with
    ++%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
    ++%# you are the copyright holder for those contributions and you grant
    ++%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
    ++%# royalty-free, perpetual, license to use, copy, create derivative
    ++%# works based on those contributions, and sublicense and distribute
    ++%# those contributions and any derivatives thereof.
    ++%#
    ++%# END BPS TAGGED BLOCK }}}
     +<%ARGS>
     +$id => undef
     +</%ARGS>
    @@ -1107,53 +1160,53 @@
     --- /dev/null
     +++ b/share/html/Helpers/RightsInspector/Search
     @@
    -+# BEGIN BPS TAGGED BLOCK {{{
    -+#
    -+# COPYRIGHT:
    -+#
    -+# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
    -+#                                          <sales at bestpractical.com>
    -+#
    -+# (Except where explicitly superseded by other copyright notices)
    -+#
    -+#
    -+# LICENSE:
    -+#
    -+# This work is made available to you under the terms of Version 2 of
    -+# the GNU General Public License. A copy of that license should have
    -+# been provided with this software, but in any event can be snarfed
    -+# from www.gnu.org.
    -+#
    -+# This work is distributed in the hope that it will be useful, but
    -+# WITHOUT ANY WARRANTY; without even the implied warranty of
    -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    -+# General Public License for more details.
    -+#
    -+# You should have received a copy of the GNU General Public License
    -+# along with this program; if not, write to the Free Software
    -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    -+# 02110-1301 or visit their web page on the internet at
    -+# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
    -+#
    -+#
    -+# CONTRIBUTION SUBMISSION POLICY:
    -+#
    -+# (The following paragraph is not intended to limit the rights granted
    -+# to you to modify and distribute this software under the terms of
    -+# the GNU General Public License and is only of importance to you if
    -+# you choose to contribute your changes and enhancements to the
    -+# community by submitting them to Best Practical Solutions, LLC.)
    -+#
    -+# By intentionally submitting any modifications, corrections or
    -+# derivatives to this work, or any other work intended for use with
    -+# Request Tracker, to Best Practical Solutions, LLC, you confirm that
    -+# you are the copyright holder for those contributions and you grant
    -+# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
    -+# royalty-free, perpetual, license to use, copy, create derivative
    -+# works based on those contributions, and sublicense and distribute
    -+# those contributions and any derivatives thereof.
    -+#
    -+# END BPS TAGGED BLOCK }}}
    ++%# BEGIN BPS TAGGED BLOCK {{{
    ++%#
    ++%# COPYRIGHT:
    ++%#
    ++%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
    ++%#                                          <sales at bestpractical.com>
    ++%#
    ++%# (Except where explicitly superseded by other copyright notices)
    ++%#
    ++%#
    ++%# LICENSE:
    ++%#
    ++%# This work is made available to you under the terms of Version 2 of
    ++%# the GNU General Public License. A copy of that license should have
    ++%# been provided with this software, but in any event can be snarfed
    ++%# from www.gnu.org.
    ++%#
    ++%# This work is distributed in the hope that it will be useful, but
    ++%# WITHOUT ANY WARRANTY; without even the implied warranty of
    ++%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    ++%# General Public License for more details.
    ++%#
    ++%# You should have received a copy of the GNU General Public License
    ++%# along with this program; if not, write to the Free Software
    ++%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    ++%# 02110-1301 or visit their web page on the internet at
    ++%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
    ++%#
    ++%#
    ++%# CONTRIBUTION SUBMISSION POLICY:
    ++%#
    ++%# (The following paragraph is not intended to limit the rights granted
    ++%# to you to modify and distribute this software under the terms of
    ++%# the GNU General Public License and is only of importance to you if
    ++%# you choose to contribute your changes and enhancements to the
    ++%# community by submitting them to Best Practical Solutions, LLC.)
    ++%#
    ++%# By intentionally submitting any modifications, corrections or
    ++%# derivatives to this work, or any other work intended for use with
    ++%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
    ++%# you are the copyright holder for those contributions and you grant
    ++%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
    ++%# royalty-free, perpetual, license to use, copy, create derivative
    ++%# works based on those contributions, and sublicense and distribute
    ++%# those contributions and any derivatives thereof.
    ++%#
    ++%# END BPS TAGGED BLOCK }}}
     +<%INIT>
     +use RT::RightsInspector;
     +
    @@ -1249,10 +1302,6 @@
     +    padding: 2px 3px;
     +}
     +
    -
    -diff --git a/share/static/images/loading.gif b/share/static/images/loading.gif
    -new file mode 100644
    -Binary files /dev/null and b/share/static/images/loading.gif differ
     
     diff --git a/share/static/js/rights-inspector.js b/share/static/js/rights-inspector.js
     new file mode 100644
2: cd5a7d820 ! 2: 6da494ac0 Improve formating with new themes
    @@ -147,7 +147,7 @@
     --- a/share/html/Helpers/RightsInspector/Search
     +++ b/share/html/Helpers/RightsInspector/Search
     @@
    - # END BPS TAGGED BLOCK }}}
    + %# END BPS TAGGED BLOCK }}}
      <%INIT>
      use RT::RightsInspector;
     -
    @@ -210,11 +210,10 @@
     +<div class="spinner">
     +  <div class="d-flex justify-content-center">
     +    <div class="spinner-border" role="status">
    -+      <span class="sr-only"><% loc( "Loading...") %></span> 
    ++      <span class="sr-only"><% loc( "Loading...") %></span>
     +    </div>
     +  </div>
     +</div>
    -+
     
     diff --git a/share/static/css/elevator-light/admin.css b/share/static/css/elevator-light/admin.css
     --- a/share/static/css/elevator-light/admin.css
    @@ -276,6 +275,10 @@
      #rt-help-text kbd {
          color: #111;
          border: 1px dashed #AAA;
    +     background-color: #F6F6F6;
    +     padding: 2px 3px;
    + }
    +-
     
     diff --git a/share/static/js/rights-inspector.js b/share/static/js/rights-inspector.js
     --- a/share/static/js/rights-inspector.js
3: a5266b786 ! 3: 99a86dcfe Improve look for the dark theme
    @@ -17,4 +17,3 @@
     +.darkmode #rights-inspector .results .result .match {
     +    background-color: #114 !important;
     +}
    -+



More information about the rt-commit mailing list