[Rt-commit] rt branch, 4.6/config-in-database, repushed

Shawn Moore shawn at bestpractical.com
Fri Sep 22 14:12:57 EDT 2017


The branch 4.6/config-in-database was deleted and repushed:
       was 8f8cfd0002d7ca0d05ab6eb3065c20cfa561fb96
       now 94b465b1082b8fc4bfc2c958018e29991db919aa

 1:  b16c120 =  1:  b16c120 ajaxify add/delete actions for admin custom field values
 2:  5780495 =  2:  5780495 Fix mismerge of _DurationAsString
 3:  755042f =  3:  755042f refactor RT menu building logic into own library module
 4:  16bdea4 =  4:  16bdea4 refactor asset menu logic into separate functions
 5:  ad11c4d =  5:  ad11c4d clean up repeated calls to HTML::Mason::Commands with variables
 6:  c50da43 =  6:  c50da43 define a new calling convention for menu building functions
 7:  5cce23e =  7:  5cce23e add asset display menu actions to ShowAssets template
 8:  a6e7e05 =  8:  a6e7e05 Store dependencies in cpanfile
 9:  52af5d6 =  9:  52af5d6 Move perl version into cpanfile
10:  d4dbf02 = 10:  d4dbf02 Rename print_found to row
11:  7a83e47 = 11:  7a83e47 Improve horizontal and vertical spacing of output
12:  4afbfd5 = 12:  4afbfd5 Show current version of module, when relevant
13:  080c4ac = 13:  080c4ac Use "current value" for perl check as well
14:  b063b22 = 14:  b063b22 Use "current value" for user / group display
15:  7eb35c7 = 15:  7eb35c7 Rename check_users, since it checks groups as well
16:  a1eeb10 = 16:  a1eeb10 Fail-fast if the users or groups do not check out
17:  f2c4c6e = 17:  f2c4c6e Show output with colors when run from a terminal
18:  4d50869 = 18:  4d50869 Move database and deployment defaults into rt-test-dependencies
19:  caddbd6 = 19:  caddbd6 Encode::Guess is included in Encode 1.60 and above; RT requires 2.64
20:  6e68c08 = 20:  6e68c08 Make Encode::Detect::Detector a required dependency
21:  b7cdb92 = 21:  b7cdb92 Make Encode::HanExtra a required dependency
22:  fdf53ec = 22:  fdf53ec Make HTML::FormatExternal dependency required, not runtime optional
23:  01f90b6 = 23:  01f90b6 Make HTML::Gumbo required, and split scrubbing into its own class
24:  bc18344 = 24:  bc18344 Bump File::Dropbox dependency and remove given/when warning hack
25:  927b64d = 25:  927b64d Avoid asset menu accidentally disappearing due to competing DOM
26:  6f8860c = 26:  6f8860c Relabel 'Password' box on /Prefs/AboutMe to 'Access control'
27:  92e02b8 = 27:  92e02b8 Update 'Access control' box id on /Prefs/AboutMe
28:  39fe096 = 28:  39fe096 Allow specifying size for Integer and String widgets
29:  8dac5bc = 29:  8dac5bc Allow String widget to have a value of "0"
30:  30996a8 = 30:  30996a8 Add RadioStyle option to Boolean widget
31:  c566c73 = 31:  c566c73 Make booleans with RadioStyle use true/false logic
32:  6b2146c = 32:  6b2146c DatabaseSetting schema updates
33:  f0352c3 = 33:  f0352c3 Add ORM classes for DatabaseSettings
34:  0a63355 ! 34:  8f42e1c Port database config loading and refreshing from extension
    @@ -38,7 +38,7 @@
          return;
      }
      
    -+my $database_config_cache_time;
    ++my $database_config_cache_time = 0;
     +my %original_setting_from_files;
     +my $in_config_change_txn = 0;
     +
    @@ -83,7 +83,6 @@
     +    my $self = shift;
     +
     +    $database_config_cache_time = time;
    -+    RT->Logger->info("Loading config from database");
     +
     +    my $settings = RT::DatabaseSettings->new(RT->SystemUser);
     +    $settings->UnLimit;
35:  317f864 = 35:  4dfa52c Add Code and MultilineString widgets
36:  0ef09f9 ! 36:  538dd5e Port EditConfig page from extension
    @@ -23,6 +23,53 @@
     --- /dev/null
     +++ b/share/html/Admin/Tools/EditConfig.html
     @@
    ++%# BEGIN BPS TAGGED BLOCK {{{
    ++%#
    ++%# COPYRIGHT:
    ++%#
    ++%# This software is Copyright (c) 1996-2016 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>
     +my $title = loc('System Configuration');
     +unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser')) {
37:  391a20e = 37:  a93c15b Annotate Immutable options
38:  6b868dd = 38:  f25747d Add widget metadata for config options
39:  4855e8c = 39:  c4a4560 Hide deprecated options
40:  7ad56b1 = 40:  1c08a82 Mark ConfigInDatabase as cored
41:  48edf64 = 41:  8ce972c List Database as source of configuration on Sys Config page
42:  8f8cfd0 = 42:  94b465b Render config with EditLink as readonly



More information about the rt-commit mailing list