[Rt-commit] r19524 - in rt/3.999/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu May 7 03:20:29 EDT 2009


Author: sunnavy
Date: Thu May  7 03:20:29 2009
New Revision: 19524

Modified:
   rt/3.999/trunk/   (props changed)
   rt/3.999/trunk/etc/RT_Config.pm

Log:
 r20781 at sunnavys-mb (orig r19228):  sunnavy | 2009-04-16 20:39:12 +0800
 go on improving RT_Config.pm


Modified: rt/3.999/trunk/etc/RT_Config.pm
==============================================================================
--- rt/3.999/trunk/etc/RT_Config.pm	(original)
+++ rt/3.999/trunk/etc/RT_Config.pm	Thu May  7 03:20:29 2009
@@ -57,7 +57,7 @@
 
 =cut
 
-#set(email_subject_tag_regex => '\Q{rtname}}\E' );
+set( email_subject_tag_regex => '{{rtname}}' );
 
 
 
@@ -171,7 +171,7 @@
 
 =cut
 
-set(use_sql_for_acl_checks => '');
+set(use_sql_for_acl_checks => undef);
 
 =back
 
@@ -208,7 +208,7 @@
 
 =cut
 
-set(store_loops => '');
+set(store_loops => undef);
 
 =item C<max_attachment_size>
 
@@ -231,7 +231,7 @@
 
 =cut
 
-set(truncate_long_attachments => '');
+set(truncate_long_attachments => undef);
 
 =item C<drop_long_attachments>
 
@@ -240,9 +240,9 @@
 
 =cut
 
-set(drop_long_attachments => '');
+set(drop_long_attachments => undef);
 
-=item C<parsenew_message_for_ticket_ccs>
+=item C<parse_new_message_for_ticket_ccs>
 
 If C<parse_new_message_for_ticket_ccs> is true, RT will attempt to divine
 Ticket 'Cc' watchers from the To and Cc lines of incoming messages
@@ -252,7 +252,7 @@
 
 =cut
 
-set(parse_new_message_for_ticket_ccs => '');
+set(parse_new_message_for_ticket_ccs => undef);
 
 =item C<rt_address_regexp> 
 
@@ -263,7 +263,7 @@
 
 set(rt_address_regexp => '^rt\@example.com$');
 
-=item C<canonicalize_email_address_match>, C<canonicalize_email_address_replace>
+=item C<canonicalize_email_match>, C<canonicalize_email_replace>
 
 RT provides functionality which allows the system to rewrite
 incoming email addresses.  In its simplest form,
@@ -277,10 +277,10 @@
 
 =cut
 
-#set(canonicalize_email_address_match => '@subdomain\.example\.com$');
-#set(canonicalize_email_address_replace => '@example.com');
+set(canonicalize_email_match => '');
+set(canonicalize_email_replace => '');
 
-=item C<canonicalize_email_address_match>
+=item C<canonicalize_email_match>
 
 Set this to true and the create new user page will use the values that you
 enter in the form but use the function CanonicalizeUserInfo in
@@ -306,7 +306,7 @@
 
 =cut
 
-set(sender_must_exist_in_external_database => '');
+set(sender_must_exist_in_external_database => undef);
 
 =item C<mail_plugins>
 
@@ -315,6 +315,9 @@
 
 =cut
 
+set(mail_plugins => []);
+
+
 =item C<unsafe_email_commands>
 
 C<unsafe_email_commands>, if set to true, enables 'take' and 'resolve'
@@ -332,8 +335,8 @@
 
 =cut
 
-set( extract_subject_tag_match => '\[.+? #\\d+\\]' );
-set( extract_subject_tag_no_match => "\[\\Q{{rtname}}\\E #\\d+\\]/" );
+set( extract_subject_tag_match => '\\[.+? #\\d+\\]' );
+#set( extract_subject_tag_no_match => "\[\Q{{rtname}}\\E #\\d+\\]/" );
 
 =back
 
@@ -411,7 +414,7 @@
 
 =cut
 
-set(smtp_server => '');
+set(smtp_server => undef);
 
 =item C<smtp_from>
 
@@ -420,7 +423,7 @@
 
 =cut
 
-set(smtp_from => '');
+set(smtp_from => undef);
 
 =item C<smtp_debug> 
 
@@ -674,7 +677,7 @@
 
 =cut
 
-set(log_to_file => '');
+set(log_to_file => undef);
 set(log_dir => '');
 set(log_to_file_named => "rt.log");    #log to rt.log
 
@@ -708,7 +711,7 @@
 
 =cut
 
-set(statement_log => '');
+set(statement_log => undef);
 
 =back
 
@@ -814,7 +817,8 @@
 
 =cut
 
-set(web_no_auth_regex => '^(?:/+NoAuth/|/+REST/\d+\.\d+/NoAuth/)' );
+set(web_no_auth_regex => 
+      '(?x-ism:^ (?:\/+NoAuth\/ | \/+REST\/\d+\.\d+\/NoAuth\/) )' );
 
 =item C<self_service_regex>
 
@@ -825,7 +829,7 @@
 
 =cut
 
-set(self_service_regex => '!^(?:/+SelfService/)!' );
+set(self_service_regex => '^(?:\/+SelfService\/)' );
 
 =item C<message_box_width>, C<message_box_height>
 
@@ -894,7 +898,7 @@
 
 =cut
 
-set(trust_html_attachments => '');
+set(trust_html_attachments => undef);
 
 =item C<redistribute_auto_generated_messages>
 
@@ -918,7 +922,7 @@
 
 =cut
 
-set(prefer_rich_text => '');
+set(prefer_rich_text => undef);
 
 =item C<web_external_auth>
 
@@ -927,7 +931,7 @@
 
 =cut
 
-set(web_external_auth => '');
+set(web_external_auth => undef);
 
 =item C<web_fallback_to_internal_auth>
 
@@ -936,7 +940,7 @@
 
 =cut
 
-set(web_fallback_to_internal_auth => '');
+set(web_fallback_to_internal_auth => undef);
 
 =item C<web_external_gecos>
 
@@ -945,7 +949,7 @@
 
 =cut
 
-set(web_external_gecos => '');
+set(web_external_gecos => undef);
 
 =item C<web_external_auto>
 
@@ -954,7 +958,7 @@
 
 =cut
 
-set(web_external_auto => '');
+set(web_external_auto => undef);
 
 =item C<auto_create>
 
@@ -965,7 +969,7 @@
 
 =cut
 
-set(auto_create => {});
+set(auto_create => undef);
 
 =item C<web_session_class>
 
@@ -1087,7 +1091,7 @@
 
 =cut
 
-set(homepage_components => [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards)]);
+set(homepage_components => [qw(QuickCreate QuickSearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards)]);
 
 
 =item C<mason_parameters>
@@ -1133,7 +1137,7 @@
 
 =cut
 
-set(suppress_inline_text_files => '');
+set(suppress_inline_text_files => undef);
 
 =item C<dont_search_file_attachments>
 
@@ -1143,7 +1147,7 @@
 
 =cut
 
-set(dont_search_file_attachments => '');
+set(dont_search_file_attachments => undef);
 
 =item C<chart_font>
 
@@ -1154,7 +1158,7 @@
 
 =cut
 
-set(chart_font => '');
+set(chart_font => undef);
 
 
 =item C<active_make_clicky>
@@ -1235,7 +1239,7 @@
 
 =cut
 
-set(net_server_options => {});
+set(net_server_options => []);
 
 =back
 
@@ -1390,9 +1394,9 @@
 
 set(custom_field_values_sources => []);
 
-=item C<canonicalize_redirect_ur_ls>
+=item C<canonicalize_redirect_urls>
 
-Set C<canonicalize_redirect_ur_ls> to 1 to use $c<WebURL> when redirecting rather
+Set C<canonicalize_redirect_urls> to 1 to use $c<WebURL> when redirecting rather
 than the one we get from C<env>.
 
 If you use RT behind a reverse proxy, you almost certainly want to
@@ -1400,7 +1404,7 @@
 
 =cut
 
-set(canonicalize_redirect_ur_ls => 0);
+set(canonicalize_redirect_urls => 0);
 =item C<enable_reminders>
 
 Hide links/portlets related to Reminders by setting this to 0


More information about the Rt-commit mailing list