X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2FRT_Config.pm.in;h=4d55c9d402b85ac17d8fd89deadd212427548ce5;hb=HEAD;hp=fd976de1f30907dff30bbbb9d2cfb3c348a0dcf8;hpb=026dc7ad72ba972f230b6709e31fa64397d75ad4;p=freeside.git diff --git a/rt/etc/RT_Config.pm.in b/rt/etc/RT_Config.pm.in index fd976de1f..4d55c9d40 100644 --- a/rt/etc/RT_Config.pm.in +++ b/rt/etc/RT_Config.pm.in @@ -623,6 +623,23 @@ Precedence header, it will be preserved. Set($DefaultMailPrecedence, "bulk"); +=item C<$OverrideMailPrecedence> + +C<$OverrideMailPrecedence> is used for overwriting the C<$DefaultMailPrecedence> +value for a queue. + +The option is a hash reference of queue id/name to precedence. If you set the +precedence to C, a Precedence header will not be added to the mail. + +This option only works if C<$DefaultMailPrecedence> is enabled. + +=cut + +Set($OverrideMailPrecedence, { +# 'Queue 1' => "list", +# 'Queue 2' => undef, +}); + =item C<$DefaultErrorMailPrecedence> C<$DefaultErrorMailPrecedence> is used to control the default @@ -1135,7 +1152,7 @@ This can also be configured via the web UI. =cut -Set($LogoURL, RT->Config->Get('WebImagesURL') . "bpslogo.png"); +Set($LogoURL, RT->Config->Get('WebImagesURL') . "request-tracker-logo.png"); =item C<$LogoLinkURL> @@ -1152,7 +1169,7 @@ will be passed through C for localization. =cut -Set($LogoAltText, "Best Practical Solutions, LLC corporate logo"); +Set($LogoAltText, "Request Tracker logo"); =item C<$WebNoAuthRegex> @@ -1162,7 +1179,7 @@ are extending RT. =cut -Set($WebNoAuthRegex, qr{^ /rt (?:/+NoAuth/ | /+REST/\d+\.\d+/NoAuth/) }x ); +Set($WebNoAuthRegex, qr{^ (?:/+NoAuth/ | /+REST/\d+\.\d+/NoAuth/) }x ); =item C<$SelfServiceRegex> @@ -1252,10 +1269,23 @@ search results on the front page. Set($DefaultSummaryRows, 10); +=item C<@RefreshIntervals> + +This setting defines the possible homepage and search result refresh +options. Each value is a number of seconds. You should not include a value +of C<0>, as that is always provided as an option. + +See also L and L. + +=cut + +Set(@RefreshIntervals, qw(120 300 600 1200 3600 7200)); + =item C<$HomePageRefreshInterval> C<$HomePageRefreshInterval> is default number of seconds to refresh -the RT home page. Choose from [0, 120, 300, 600, 1200, 3600, 7200]. +the RT home page. Choose from any value in L, +or the default of C<0> for no automatic refresh. =cut @@ -1313,9 +1343,9 @@ Set($TicketsItemMapSize, 1000); =item C<$SearchResultsRefreshInterval> -C<$SearchResultsRefreshInterval> is default number of seconds to -refresh search results in RT. Choose from [0, 120, 300, 600, 1200, -3600, 7200]. +C<$SearchResultsRefreshInterval> is default number of seconds to refresh +search results in RT. Choose from any value in L, or +the default of C<0> for no automatic refresh. =cut @@ -1396,6 +1426,21 @@ Set(%FullTextSearch, Indexed => 0, ); +=item C<$MaxFulltextAttachmentSize> + +On some systems, very large attachments can cause memory and other +performance issues for the indexer making it unable to complete +indexing. Adding resources like memory and CPU will solve this +issue, but in cases where that isn't possible, this option +sets a maximum size in bytes on attachments to index. Attachments +larger than this limit are skipped and will not be available to +full text searches. + +=cut + +# Default 0 means no limit +Set($MaxFulltextAttachmentSize, 0); + =item C<$DontSearchFileAttachments> If C<$DontSearchFileAttachments> is set to 1, then uploaded files @@ -1673,6 +1718,15 @@ you will have no access to Articles. Set($HideArticleSearchOnReplyCreate, 0); +=item C<$LinkArticlesOnInclude> + +Set this to 0 to suppress the default behavior of automatically linking +to Articles when they are included in a message. + +=cut + +Set($LinkArticlesOnInclude, 1); + =back @@ -1843,7 +1897,7 @@ their preferences. =cut -Set($MaxInlineBody, 12000); +Set($MaxInlineBody, 120000); =item C<$ShowTransactionImages> @@ -2093,6 +2147,23 @@ Simple wildcards, similar to SSL certificates, are allowed. For example: Set(@ReferrerWhitelist, qw()); +=item C<%ReferrerComponents> + +C<%ReferrerComponents> is the hash to customize referrer checking behavior when +C<$RestrictReferrer> is enabled, where you can whitelist or blacklist the +components along with their query args. e.g. + + Set( %ReferrerComponents, + ( '/Foo.html' => 1, '/Bar.html' => 0, '/Baz.html' => [ 'id', 'results' ] ) + ); + +With this, '/Foo.html' will be whitelisted, and '/Bar.html' will be blacklisted. +'/Baz.html' with id/results query arguments will be whitelisted but blacklisted +if there are other query arguments. + +=cut + +Set( %ReferrerComponents ); =item C<$BcryptCost> @@ -2102,7 +2173,7 @@ higher numbers denoting greater effort. =cut -Set($BcryptCost, 10); +Set($BcryptCost, 12); =back