[Rt-commit] rt branch, 4.0/document-all-config-options, created. rt-4.0.0rc6-148-g7bbf1e1

Alex Vandiver alexmv at bestpractical.com
Mon Mar 21 19:24:40 EDT 2011


The branch, 4.0/document-all-config-options has been created
        at  7bbf1e18046495cc65545b4a8eb323ca118ab90c (commit)

- Log -----------------------------------------------------------------
commit 15973add6d6773a4b31dc0b913d929be259dc957
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 21 16:19:53 2011 -0400

    Remove very old commented-out code that references a wrong config option anyway

diff --git a/share/html/Ticket/Attachment/dhandler b/share/html/Ticket/Attachment/dhandler
index 79eb844..dbc901c 100755
--- a/share/html/Ticket/Attachment/dhandler
+++ b/share/html/Ticket/Attachment/dhandler
@@ -81,10 +81,6 @@
      $iana = $iana? $iana->mime_name : $enc;
 	 $content_type .= ";charset=$iana";
 
-     # unless (RT->Config->Get('TrustMIMEAttachments')) {
-     #     $content_type = 'application/octet-stream';
-     # }
-
      $r->content_type( $content_type );
      $m->clear_buffer();
      $m->out($AttachmentObj->OriginalContent);

commit 4502b16e1c009199edbf0829ad07911e3a756424
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 21 16:31:47 2011 -0400

    Fix variable name typo in a comment

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index baedcc0..8e0b80b 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -709,7 +709,7 @@ sub Redirect {
     # If the user is coming in via a non-canonical
     # hostname, don't redirect them to the canonical host,
     # it will just upset them (and invalidate their credentials)
-    # don't do this if $RT::CanoniaclRedirectURLs is true
+    # don't do this if $RT::CanonicalizeRedirectURLs is true
     if (   !RT->Config->Get('CanonicalizeRedirectURLs')
         && $uri->host eq $server_uri->host
         && $uri->port eq $server_uri->port )

commit b3667c8af4fdc4b8adc0700fb9b0db34c67b9e46
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 21 18:21:15 2011 -0400

    Document DontSearchBinaryAttachments

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index cc8dff9..217fce9 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1199,6 +1199,15 @@ ticket searches.
 
 Set($DontSearchFileAttachments, undef);
 
+=item C<$DontSearchBinaryAttachments>
+
+If C<$DontSearchBinaryAttachments> is set to 1, then unrecognized binary
+data types will not be searched during full-content ticket searches.
+
+=cut
+
+Set($DontSearchBinaryAttachments, undef);
+
 =item C<$OnlySearchActiveTicketsInSimpleSearch>
 
 When query in simple search doesn't have status info, use this to only

commit 791b3aad4f13a3ae959223320e9f8b4a8237857e
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 21 18:21:23 2011 -0400

    Document SimplifiedRecipients

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 217fce9..c1586dd 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1373,6 +1373,16 @@ reply page should include the content of the messages to be sent.
 
 Set($PreviewScripMessages, 0);
 
+=item C<$SimplifiedRecipients>
+
+If C<$SimplifiedRecipients> is set, a simple list of who will receive
+B<any> kind of mail will be shown on the ticket reply page, instead of a
+detailed breakdown by scrip.
+
+=cut
+
+Set($SimplifiedRecipients, 0);
+
 =back
 
 

commit b1310722101583ef8edaedf16557dcffc247822b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 21 18:21:41 2011 -0400

    Document DisallowExecuteCode

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index c1586dd..f086486 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1697,6 +1697,17 @@ Should rejection notes from approvals be sent to the requestors?
 
 Set($ApprovalRejectionNotes, 1);
 
+=item C<$DisallowExecuteCode>
+
+If set to a true value, the C<ExecuteCode> right will be removed from
+all users, B<including> the superuser.  This is intended for when RT is
+installed into a shared environment where even the superuser should not
+be allowed to run arbitrary Perl code on the server via scrips.
+
+=cut
+
+Set($DisallowExecuteCode, 0);
+
 =back
 
 

commit 7bbf1e18046495cc65545b4a8eb323ca118ab90c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 21 19:23:09 2011 -0400

    Standardize and reword shredder configuration
    
    It perhaps should move into RT_Config.pm at some point, but simply
    updating it is fine for now.

diff --git a/lib/RT/Shredder.pm b/lib/RT/Shredder.pm
index d73db13..8648bdc 100644
--- a/lib/RT/Shredder.pm
+++ b/lib/RT/Shredder.pm
@@ -138,28 +138,31 @@ shredding session when the file had been created.
 
 =head1 CONFIGURATION
 
-=head2 $RT::DependenciesLimit
+=head2 $DependenciesLimit
 
 Shredder stops with an error if the object has more than
-C<$RT::DependenciesLimit> dependencies. For example: a ticket has 1000
+C<$DependenciesLimit> dependencies. For example: a ticket has 1000
 transactions or a transaction has 1000 attachments. This is protection
 from bugs in shredder from wiping out your whole database, but
 sometimes when you have big mail loops you may hit it.
 
-Defaults to 1000.
+Defaults to 1000.  To change this (for example, to 10000) add the
+following to your F<RT_SiteConfig.pm>:
 
-You can change the default value, in F<RT_SiteConfig.pm> add C<Set(
-$DependenciesLimit, new_limit );>
+    Set( $DependenciesLimit, 10_000 );>
 
 
 =head2 $ShredderStoragePath
 
-Directory containing Shredder backup dumps.
+Directory containing Shredder backup dumps; defaults to
+F</opt/rt4/var/data/RT-Shredder> (assuming an /opt/rt4 installation).
 
-Defaults to F</path-to-RT-var-dir/data/RT-Shredder>.
+To change this (for example, to /some/backup/path) add the following to
+your F<RT_SiteConfig.pm>:
 
-You can change the default value, in F<RT_SiteConfig.pm> add C<Set(
-$ShredderStoragePath, new_path );>  Be sure to use an absolute path.
+    Set( $ShredderStoragePath, "/some/backup/path" );>
+
+Be sure to specify an absolute path.
 
 
 =head1 INFORMATION FOR DEVELOPERS

-----------------------------------------------------------------------


More information about the Rt-commit mailing list