add a "freeside2.1" stylesheet to isolate our skinning changes
[freeside.git] / rt / etc / RT_Config.pm.in
1
2 package RT;
3
4 =head1 NAME
5
6 RT::Config
7
8 =for testing
9
10 use RT::Config;
11
12 =cut
13
14 =head1 WARNING
15
16 NEVER EDIT RT_Config.pm.
17
18 Instead, copy any sections you want to change to F<RT_SiteConfig.pm> and edit them there.
19
20 =cut
21
22 =head1 Base Configuration
23
24 =over 4
25
26 =item C<$rtname>
27
28 C<$rtname> is the string that RT will look for in mail messages to
29 figure out what ticket a new piece of mail belongs to.
30
31 Your domain name is recommended, so as not to pollute the namespace.
32 once you start using a given tag, you should probably never change it.
33 (otherwise, mail for existing tickets won't get put in the right place)
34
35 =cut
36
37 Set($rtname , "example.com");
38
39
40 =item C<$EmailSubjectTagRegex>
41
42 This regexp controls what subject tags RT recognizes as its own.
43 If you're not dealing with historical C<$rtname> values, you'll likely
44 never have to enable this feature.
45
46 Be VERY CAREFUL with it. Note that it overrides C<$rtname> for subject
47 token matching and that you should use only "non-capturing" parenthesis
48 grouping. For example:
49
50 C<Set($EmailSubjectTagRegex, qr/(?:example.com|example.org)/i );>
51
52 and NOT
53
54 C<Set($EmailSubjectTagRegex, qr/(example.com|example.org)/i );>
55
56 This setting would make RT behave exactly as it does without the 
57 setting enabled.
58
59 =cut
60
61 #Set($EmailSubjectTagRegex, qr/\Q$rtname\E/i );
62
63
64
65 =item C<$Organization>
66
67 You should set this to your organization's DNS domain. For example,
68 I<fsck.com> or I<asylum.arkham.ma.us>. It's used by the linking interface to
69 guarantee that ticket URIs are unique and easy to construct.
70
71 =cut
72
73 Set($Organization , "example.com");
74
75 =item C<$MinimumPasswordLength>
76
77 C<$MinimumPasswordLength> defines the minimum length for user
78 passwords. Setting it to 0 disables this check.
79
80 =cut
81
82 Set($MinimumPasswordLength , "5");
83
84 =item C<$Timezone>
85
86 C<$Timezone> is used to convert times entered by users into GMT and back again
87 It should be set to a timezone recognized by your local unix box.
88
89 =cut
90
91 Set($Timezone , 'US/Eastern');
92
93 =back
94
95 =head1 Database Configuration
96
97 =over 4
98
99 =item C<$DatabaseType>
100
101 Database driver being used; case matters.
102
103 Valid types are "mysql", "Oracle" and "Pg"
104
105 =cut
106
107 Set($DatabaseType , '@DB_TYPE@');
108
109 =item C<$DatabaseHost>, C<$DatabaseRTHost>
110
111 The domain name of your database server.
112
113 If you're running mysql and it's on localhost,
114 leave it blank for enhanced performance
115
116 =cut
117
118 Set($DatabaseHost   , '@DB_HOST@');
119 Set($DatabaseRTHost , '@DB_RT_HOST@');
120
121 =item C<$DatabasePort>
122
123 The port that your database server is running on.  Ignored unless it's
124 a positive integer. It's usually safe to leave this blank
125
126 =cut
127
128 Set($DatabasePort , '@DB_PORT@');
129
130 =item C<$DatabaseUser>
131
132 The name of the database user (inside the database)
133
134 =cut
135
136 Set($DatabaseUser , '@DB_RT_USER@');
137
138 =item C<$DatabasePassword>
139
140 Password the C<$DatabaseUser> should use to access the database
141
142 =cut
143
144 Set($DatabasePassword , '@DB_RT_PASS@');
145
146 =item C<$DatabaseName>
147
148 The name of the RT's database on your database server. For Oracle
149 it's SID, DB objects are created in L<$DatabaseUser>'s schema.
150
151 =cut
152
153 Set($DatabaseName , '@DB_DATABASE@');
154
155 =item C<$DatabaseRequireSSL>
156
157 If you're using Postgres and have compiled in SSL support,
158 set C<$DatabaseRequireSSL> to 1 to turn on SSL communication
159
160 =cut
161
162 Set($DatabaseRequireSSL , undef);
163
164 =item C<$UseSQLForACLChecks>
165
166 In RT for ages ACL are checked after search what in some situtations
167 result in empty search pages and wrong count of tickets.
168
169 Set C<$UseSQLForACLChecks> to 1 to use SQL and get rid of these problems.
170
171 However, this option is beta. In some cases it result in performance
172 improvements, but some setups can not handle it.
173
174 =cut
175
176 Set($UseSQLForACLChecks, undef);
177
178 =back
179
180 =head1 Incoming Mail Gateway Configuration
181
182 =over 4
183
184 =item C<$OwnerEmail>
185
186 C<$OwnerEmail> is the address of a human who manages RT. RT will send
187 errors generated by the mail gateway to this address.  This address
188 should _not_ be an address that's managed by your RT instance.
189
190 =cut
191
192 Set($OwnerEmail , 'root');
193
194 =item C<$LoopsToRTOwner>
195
196 If C<$LoopsToRTOwner> is defined, RT will send mail that it believes
197 might be a loop to C<$OwnerEmail>
198
199 =cut
200
201 Set($LoopsToRTOwner , 1);
202
203 =item C<$StoreLoops>
204
205 If C<$StoreLoops> is defined, RT will record messages that it believes
206 to be part of mail loops.
207
208 As it does this, it will try to be careful not to send mail to the
209 sender of these messages
210
211 =cut
212
213 Set($StoreLoops , undef);
214
215 =item C<$MaxAttachmentSize>
216
217 C<$MaxAttachmentSize> sets the maximum size (in bytes) of attachments stored
218 in the database.
219
220 For mysql and oracle, we set this size at 10 megabytes.
221 If you're running a postgres version earlier than 7.1, you will need
222 to drop this to 8192. (8k)
223
224 =cut
225
226
227 Set($MaxAttachmentSize , 10000000);
228
229 =item C<$TruncateLongAttachments>
230
231 C<$TruncateLongAttachments>: if this is set to a non-undef value,
232 RT will truncate attachments longer than C<$MaxAttachmentSize>.
233
234 =cut
235
236 Set($TruncateLongAttachments , undef);
237
238 =item C<$DropLongAttachments>
239
240 C<$DropLongAttachments>: if this is set to a non-undef value,
241 RT will silently drop attachments longer than C<MaxAttachmentSize>.
242
243 =cut
244
245 Set($DropLongAttachments , undef);
246
247 =item C<$ParseNewMessageForTicketCcs>
248
249 If C<$ParseNewMessageForTicketCcs> is true, RT will attempt to divine
250 Ticket 'Cc' watchers from the To and Cc lines of incoming messages
251 Be forewarned that if you have _any_ addresses which forward mail to
252 RT automatically and you enable this option without modifying
253 C<$RTAddressRegexp> below, you will get yourself into a heap of trouble.
254
255 =cut
256
257 Set($ParseNewMessageForTicketCcs , undef);
258
259 =item C<$RTAddressRegexp> 
260
261 C<$RTAddressRegexp> is used to make sure RT doesn't add itself as a ticket CC if
262 the setting above is enabled.  It is important that you set this to a 
263 regular expression that matches all addresses used by your RT.  This lets RT
264 avoid sending mail to itself.  It will also hide RT addresses from the list of 
265 "One-time Cc" and Bcc lists on ticket reply.
266
267 =cut
268
269 Set($RTAddressRegexp , '^rt\@example.com$');
270
271 =item C<$CanonicalizeEmailAddressMatch>, C<$CanonicalizeEmailAddressReplace>
272
273 RT provides functionality which allows the system to rewrite
274 incoming email addresses.  In its simplest form,
275 you can substitute the value in $<CanonicalizeEmailAddressReplace>
276 for the value in $<CanonicalizeEmailAddressMatch>
277 (These values are passed to the $<CanonicalizeEmailAddress> subroutine in
278  F<RT/User.pm>)
279
280 By default, that routine performs a C<s/$Match/$Replace/gi> on any address
281 passed to it.
282
283 =cut
284
285 #Set($CanonicalizeEmailAddressMatch , '@subdomain\.example\.com$');
286 #Set($CanonicalizeEmailAddressReplace , '@example.com');
287
288 =item C<$CanonicalizeEmailAddressMatch>
289
290 Set this to true and the create new user page will use the values that you
291 enter in the form but use the function CanonicalizeUserInfo in
292 F<RT/User_Local.pm>
293
294 =cut
295
296 Set($CanonicalizeOnCreate, 0);
297
298 =item C<$SenderMustExistInExternalDatabase>
299
300 If C<$SenderMustExistInExternalDatabase> is true, RT will refuse to
301 create non-privileged accounts for unknown users if you are using
302 the C<$LookupSenderInExternalDatabase> option.
303 Instead, an error message will be mailed and RT will forward the
304 message to C<$RTOwner>.
305
306 If you are not using C<$LookupSenderInExternalDatabase>, this option
307 has no effect.
308
309 If you define an AutoRejectRequest template, RT will use this
310 template for the rejection message.
311
312 =cut
313
314 Set($SenderMustExistInExternalDatabase , undef);
315
316 =item C<$ValidateUserEmailAddresses>
317
318 If C<$ValidateUserEmailAddresses> is true, RT will refuse to create users with
319 an invalid email address (as specified in RFC 2822) or with an email address
320 made of multiple email adresses.
321
322 =cut
323
324 Set($ValidateUserEmailAddresses, undef);
325
326 =item C<@MailPlugins>
327
328 C<@MailPlugins> is a list of auth plugins for L<RT::Interface::Email>
329 to use; see L<rt-mailgate>
330
331 =cut
332
333 =item C<$UnsafeEmailCommands>
334
335 C<$UnsafeEmailCommands>, if set to true, enables 'take' and 'resolve'
336 as possible actions via the mail gateway.  As its name implies, this
337 is very unsafe, as it allows email with a forged sender to possibly
338 resolve arbitrary tickets!
339
340 =cut
341
342 =item C<$ExtractSubjectTagMatch>, C<$ExtractSubjectTagNoMatch>
343
344 The default "extract remote tracking tags" scrip settings; these
345 detect when your RT is talking to another RT, and adjusts the
346 subject accordingly.
347
348 =cut
349
350 Set($ExtractSubjectTagMatch, qr/\[.+? #\d+\]/);
351 Set($ExtractSubjectTagNoMatch, ( ${RT::EmailSubjectTagRegex}
352        ? qr/\[(?:${RT::EmailSubjectTagRegex}) #\d+\]/
353        : qr/\[\Q$RT::rtname\E #\d+\]/));
354
355 =back
356
357 =head1 Outgoing Mail Configuration
358
359 =over 4
360
361 =item C<$MailCommand>
362
363 C<$MailCommand> defines which method RT will use to try to send mail.
364 We know that 'sendmailpipe' works fairly well.  If 'sendmailpipe'
365 doesn't work well for you, try 'sendmail'.  Other options are 'smtp'
366 or 'qmail'.
367
368 Note that you should remove the '-t' from C<$SendmailArguments>
369 if you use 'sendmail' rather than 'sendmailpipe'
370
371 =cut
372
373 Set($MailCommand , 'sendmailpipe');
374
375 =item C<$SetOutgoingMailFrom>
376
377 C<$SetOutgoingMailFrom> tells RT to set the sender envelope with the correspond
378 mail address of the ticket's queue.
379
380 Warning: If you use this setting, bounced mails will appear to be incoming
381 mail to the system, thus creating new tickets.
382
383 =cut
384
385 Set($SetOutgoingMailFrom, 0);
386
387 =item C<$OverrideOutgoingMailFrom>
388
389 C<$OverrideOutgoingMailFrom> is used for overwriting the Correspond
390 address of the queue. The option is a hash reference of queue name to
391 email address.
392
393 If there is no ticket involved, then the value of the C<Default> key will be
394 used.
395
396 =cut
397
398 Set($OverrideOutgoingMailFrom, {
399 #    'Default' => 'admin@rt.example.com',
400 #    'General' => 'general@rt.example.com',
401 });
402
403 =back
404
405 =head1 Sendmail Configuration
406
407 These options only take effect if C<$MailCommand> is 'sendmail' or
408 'sendmailpipe'
409
410 =over 4
411
412 =item C<$SendmailArguments> 
413
414 C<$SendmailArguments> defines what flags to pass to C<$SendmailPath>
415 If you picked 'sendmailpipe', you MUST add a -t flag to C<$SendmailArguments>
416 These options are good for most sendmail wrappers and workalikes
417
418 These arguments are good for sendmail brand sendmail 8 and newer
419 C<Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m");>
420
421 =cut
422
423 Set($SendmailArguments , "-oi -t");
424
425
426 =item C<$SendmailBounceArguments>
427
428 C<$SendmailBounceArguments> defines what flags to pass to C<$Sendmail>
429 assuming RT needs to send an error (ie. bounce).
430
431 =cut
432
433 Set($SendmailBounceArguments , '-f "<>"');
434
435 =item C<$SendmailPath>
436
437 If you selected 'sendmailpipe' above, you MUST specify the path to
438 your sendmail binary in C<$SendmailPath>.
439
440 =cut
441
442 Set($SendmailPath , "/usr/sbin/sendmail");
443
444
445 =back
446
447 =head1 SMTP Configuration
448
449 These options only take effect if C<$MailCommand> is 'smtp'
450
451 =over 4
452
453 =item C<$SMTPServer>
454
455 C<$SMTPServer> should be set to the hostname of the SMTP server to use
456
457 =cut
458
459 Set($SMTPServer, undef);
460
461 =item C<$SMTPFrom>
462
463 C<$SMTPFrom> should be set to the 'From' address to use, if not the
464 email's 'From'
465
466 =cut
467
468 Set($SMTPFrom, undef);
469
470 =item C<$SMTPDebug> 
471
472 C<$SMTPDebug> should be set to true to debug SMTP mail sending
473
474 =cut
475
476 Set($SMTPDebug, 0);
477
478 =back
479
480 =head1 Other Mailer Configuration
481
482 =over 4
483
484 =item C<@MailParams>
485
486 C<@MailParams> defines a list of options passed to $MailCommand if it
487 is not 'sendmailpipe', 'sendmail', or 'smtp'
488
489 =cut
490
491 Set(@MailParams, ());
492
493 =item C<$CorrespondAddress>, C<$CommentAddress>
494
495 RT is designed such that any mail which already has a ticket-id associated
496 with it will get to the right place automatically.
497
498 C<$CorrespondAddress> and C<$CommentAddress> are the default addresses
499 that will be listed in From: and Reply-To: headers of correspondence
500 and comment mail tracked by RT, unless overridden by a queue-specific
501 address.
502
503 =cut
504
505 Set($CorrespondAddress , '');
506
507 Set($CommentAddress , '');
508
509 =item C<$DashboardAddress>
510
511 The email address from which RT will send dashboards. If none is set, then
512 C<$OwnerEmail> will be used.
513
514 =cut
515
516 Set($DashboardAddress, '');
517
518 =item C<$UseFriendlyFromLine>
519
520 By default, RT sets the outgoing mail's "From:" header to
521 "SenderName via RT".  Setting C<$UseFriendlyFromLine> to 0 disables it.
522
523 =cut
524
525 Set($UseFriendlyFromLine, 1);
526
527 =item C<$FriendlyFromLineFormat>
528
529 C<sprintf()> format of the friendly 'From:' header; its arguments
530 are SenderName and SenderEmailAddress.
531
532 =cut
533
534 Set($FriendlyFromLineFormat, "\"%s via RT\" <%s>");
535
536 =item C<$UseFriendlyToLine>
537
538 RT can optionally set a "Friendly" 'To:' header when sending messages to
539 Ccs or AdminCcs (rather than having a blank 'To:' header.
540
541 This feature DOES NOT WORK WITH SENDMAIL[tm] BRAND SENDMAIL
542 If you are using sendmail, rather than postfix, qmail, exim or some other MTA,
543 you _must_ disable this option.
544
545 =cut
546
547 Set($UseFriendlyToLine, 0);
548
549 =item C<$FriendlyToLineFormat>
550
551 C<sprintf()> format of the friendly 'From:' header; its arguments
552 are WatcherType and TicketId.
553
554 =cut
555
556 Set($FriendlyToLineFormat, "\"%s of ". RT->Config->Get('rtname') ." Ticket #%s\":;");
557
558 =item C<$NotifyActor>
559
560 By default, RT doesn't notify the person who performs an update, as they
561 already know what they've done. If you'd like to change this behaviour,
562 Set C<$NotifyActor> to 1
563
564 =cut
565
566 Set($NotifyActor, 0);
567
568 =item C<$RecordOutgoingEmail>
569
570 By default, RT records each message it sends out to its own internal database.
571 To change this behavior, set C<$RecordOutgoingEmail> to 0 
572
573 =cut
574
575 Set($RecordOutgoingEmail, 1);
576
577 =item C<$VERPPrefix>, C<$VERPPrefix>
578
579 VERP support (http://cr.yp.to/proto/verp.txt)
580
581 uncomment the following two directives to generate envelope senders
582 of the form C<${VERPPrefix}${originaladdress}@${VERPDomain}>
583 (i.e. rt-jesse=fsck.com@rt.example.com ).
584
585 This currently only works with sendmail and sendmailppie.
586
587 =cut
588
589 # Set($VERPPrefix, 'rt-');
590 # Set($VERPDomain, $RT::Organization);
591
592
593 =item C<$ForwardFromUser>
594
595 By default, RT forwards a message using queue's address and adds RT's tag into
596 subject of the outgoing message, so recipients' replies go into RT as correspondents.
597
598 To change this behavior, set C<$ForwardFromUser> to true value and RT will use
599 address of the current user and leave subject without RT's tag.
600
601 =cut
602
603 Set($ForwardFromUser, 0);
604
605 =item C<$ShowBccHeader>
606
607 By default RT hides from the web UI information about blind copies user sent on
608 reply or comment.
609
610 To change this set the following option to true value.
611
612 =cut
613
614 Set($ShowBccHeader, 0);
615
616 =item C<$DashboardSubject>
617
618 Lets you set the subject of dashboards. Arguments are the frequency (Daily,
619 Weekly, Monthly) of the dashboard and the dashboard's name. [_1] for the name
620 of the dashboard.
621
622 =cut
623
624 Set($DashboardSubject, '%s Dashboard: %s');
625
626 =back
627
628 =head1 GnuPG Configuration
629
630 A full description of the (somewhat extensive) GnuPG integration can be found 
631 by running the command `perldoc L<RT::Crypt::GnuPG>`  (or `perldoc
632         lib/RT/Crypt/GnuPG.pm` from your RT install directory).
633
634 =over 4
635
636 =item C<%GnuPG>
637
638 Set C<OutgoingMessagesFormat> to 'inline' to use inline encryption and
639 signatures instead of 'RFC' (GPG/MIME: RFC3156 and RFC1847) format.
640
641 If you want to allow people to encrypt attachments inside the DB then
642 set C<AllowEncryptDataInDB> to true
643
644 Set C<RejectOnMissingPrivateKey> to false if you don't want to reject
645 emails encrypted for key RT doesn't have and can not decrypt.
646
647 Set C<RejectOnBadData> to false if you don't want to reject letters
648 with incorrect GnuPG data.
649
650 =cut
651
652 Set( %GnuPG,
653     Enable => @RT_GPG@,
654     OutgoingMessagesFormat => 'RFC', # Inline
655     AllowEncryptDataInDB   => 0,
656
657     RejectOnMissingPrivateKey => 1,
658     RejectOnBadData           => 1,
659 );
660
661 =item C<%GnuPGOptions>
662
663 Options of GnuPG program.
664
665 If you override this in your RT_SiteConfig, you should be sure
666 to include a homedir setting.
667
668 NOTE that options with '-' character MUST be quoted.
669
670 =cut
671
672 Set(%GnuPGOptions,
673     homedir => '@RT_VAR_PATH@/data/gpg',
674
675 # URL of a keyserver
676 #    keyserver => 'hkp://subkeys.pgp.net',
677
678 # enables the automatic retrieving of keys when encrypting
679 #    'auto-key-locate' => 'keyserver',
680
681 # enables the automatic retrieving of keys when verifying signatures
682 #    'auto-key-retrieve' => undef,
683 );
684
685
686 =back
687
688 =head1 Logging Configuration
689
690 The default is to log anything except debugging
691 information to syslog.  Check the L<Log::Dispatch> POD for
692 information about how to get things by syslog, mail or anything
693 else, get debugging info in the log, etc.
694
695 It might generally make sense to send error and higher by email to
696 some administrator.  If you do this, be careful that this email
697 isn't sent to this RT instance.  Mail loops will generate a critical
698 log message.
699
700 =over 4
701
702 =item C<$LogToSyslog>, C<$LogToScreen>
703
704 The minimum level error that will be logged to the specific device.
705 From lowest to highest priority, the levels are:
706  debug info notice warning error critical alert emergency
707
708 =cut
709
710 Set($LogToSyslog    , 'info');
711 Set($LogToScreen    , 'info');
712
713 =item C<$LogToFile>, C<$LogDir>, C<$LogToFileNamed>
714
715 Logging to a standalone file is also possible, but note that the
716 file should needs to both exist and be writable by all direct users
717 of the RT API.  This generally include the web server, whoever
718 rt-crontool runs as.  Note that as rt-mailgate and the RT CLI go
719 through the webserver, so their users do not need to have write
720 permissions to this file. If you expect to have multiple users of
721 the direct API, Best Practical recommends using syslog instead of
722 direct file logging.
723
724 =cut
725
726 Set($LogToFile      , undef);
727 Set($LogDir, '@RT_LOG_PATH@');
728 Set($LogToFileNamed , "rt.log");    #log to rt.log
729
730 =item C<$LogStackTraces>
731
732 If set to a log level then logging will include stack traces for
733 messages with level equal to or greater than specified.
734
735 NOTICE: Stack traces include parameters supplied to functions or
736 methods. It is possible for stack trace logging to reveal sensitive
737 information such as passwords or ticket content in your logs.
738
739 =cut
740
741 Set($LogStackTraces, '');
742
743 =item C<@LogToSyslogConf>
744
745 On Solaris or UnixWare, set to ( socket => 'inet' ).  Options here
746 override any other options RT passes to L<Log::Dispatch::Syslog>.
747 Other interesting flags include facility and logopt.  (See the
748 L<Log::Dispatch::Syslog> documentation for more information.)  (Maybe
749 ident too, if you have multiple RT installations.)
750
751 =cut
752
753 Set(@LogToSyslogConf, ());
754
755 =item C<$StatementLog>,
756
757 RT has rudimentary SQL statement logging support if you have
758 DBIx-SearchBuilder 1.31_1 or higher; simply set C<$StatementLog> to be
759 the level that you wish SQL statements to be logged at.
760
761 =cut
762
763 Set($StatementLog, undef);
764
765 =back
766
767 =head1 Web Interface Configuration
768
769 =over 4
770
771 =item C<$WebDefaultStylesheet>
772
773 This determines the default stylesheet the RT web interface will use.
774 RT ships with several themes by default:
775
776   web2            The totally new, default layout for RT 3.8
777   3.5-default     RT 3.5 and 3.6 original layout
778   3.4-compat      A 3.4 compatibility stylesheet to make RT look
779                   (mostly) like 3.4
780
781 This bundled distibution of RT also includes (enabled by default):
782   freeside2.1     Integration with Freeside
783
784 This value actually specifies a directory in F<share/html/NoAuth/css/>
785 from which RT will try to load the file main.css (which should
786 @import any other files the stylesheet needs).  This allows you to
787 easily and cleanly create your own stylesheets to apply to RT.  This
788 option can be overridden by users in their preferences.
789
790 =cut
791
792 Set($WebDefaultStylesheet, 'freeside2.1');
793
794 =item C<$UsernameFormat>
795
796 This determines how user info is displayed. 'concise' will show one of 
797 either NickName, RealName, Name or EmailAddress, depending on what exists 
798 and whether the user is privileged or not. 'verbose' will show RealName and
799 EmailAddress.
800
801 =cut
802
803 Set($UsernameFormat, 'concise');
804
805 =item C<$WebDomain>
806
807 Domain name of the RT server, eg 'www.example.com'. It should not contain
808 anything else, but server name.
809
810 =cut
811
812 Set( $WebDomain, 'localhost' );
813
814 =item C<$WebPort>
815
816 If we're running as a superuser, run on port 80
817 Otherwise, pick a high port for this user.
818
819 443 is default port for https protocol.
820
821 =cut
822
823 Set($WebPort, 80);# + ($< * 7274) % 32766 + ($< && 1024));
824
825 =item C<$WebPath>
826
827 If you're putting the web ui somewhere other than at the root of
828 your server, you should set C<$WebPath> to the path you'll be 
829 serving RT at.
830
831 C<$WebPath> requires a leading / but no trailing /, or it can be blank.
832
833 In most cases, you should leave C<$WebPath> set to '' (an empty value).
834
835 =cut
836
837 Set($WebPath, "");
838
839 =item C<$WebBaseURL>, C<$WebURL>
840
841 Usually you don't want to set these options. The only obviouse reason is
842 RT accessible via https protocol on non standard port, eg
843 'https://rt.example.com:9999'. In all other cases these options are computed
844 using C<$WebDomain>, C<$WebPort> and C<$WebPath>.
845
846 C<$WebBaseURL> is the scheme, server and port (eg 'http://rt.example.com')
847 for constructing urls to the web UI. C<$WebBaseURL> doesn't need a trailing /.
848
849 C<$WebURL> is the C<$WebBaseURL>, C<$WebPath> and trailing /, for example:
850 'http://www.example.com/rt/'.
851
852 =cut
853
854 my $port = RT->Config->Get('WebPort');
855 Set($WebBaseURL,
856     ($port == 443? 'https': 'http') .'://'
857     . RT->Config->Get('WebDomain')
858     . ($port != 80 && $port != 443? ":$port" : '')
859 );
860
861 Set($WebURL, RT->Config->Get('WebBaseURL') . RT->Config->Get('WebPath') . "/");
862
863 =item C<$WebImagesURL>
864
865 C<$WebImagesURL> points to the base URL where RT can find its images.
866 Define the directory name to be used for images in rt web
867 documents.
868
869 =cut
870
871 Set($WebImagesURL, RT->Config->Get('WebPath') . "/NoAuth/images/");
872
873 =item C<$LogoURL>
874
875 C<$LogoURL> points to the URL of the RT logo displayed in the web UI
876
877 =cut
878
879 Set($LogoURL, RT->Config->Get('WebImagesURL') . "bplogo.gif");
880
881 =item C<$WebNoAuthRegex>
882
883 What portion of RT's URL space should not require authentication.
884
885 This is mostly for extension and doesn't mean RT will work without
886 login if you change it.
887
888 =cut
889
890 Set($WebNoAuthRegex, qr{^ /rt (?:/+NoAuth/ | /+REST/\d+\.\d+/NoAuth/) }x );
891
892 =item C<$SelfServiceRegex>
893
894 What portion of RT's URLspace should be accessible to Unprivileged users
895 This does not override the redirect from F</Ticket/Display.html> to
896 F</SelfService/Display.html> when Unprivileged users attempt to access
897 ticked displays
898
899 =cut
900
901 Set($SelfServiceRegex, qr!^(?:/+SelfService/)!x );
902
903 =item C<$MessageBoxWidth>, C<$MessageBoxHeight>
904
905 For message boxes, set the entry box width, height and what type of
906 wrapping to use.  These options can be overridden by users in their
907 preferences.
908
909 Default width: 72, height: 15
910
911 These settings only apply to the non-RichText message box.
912 See below for Rich Text settings.
913
914 =cut
915
916 Set($MessageBoxWidth, 72);
917 Set($MessageBoxHeight, 15);
918
919 =item C<$MessageBoxWrap>
920
921 Default wrapping: "HARD"  (choices "SOFT", "HARD")
922
923 Wrapping is disabled when using MessageBoxRichText because
924 of a bad interaction between IE and wrapping with the Rich
925 Text Editor.
926
927 =cut
928
929 Set($MessageBoxWrap, "HARD");
930
931 =item C<$MessageBoxRichText>
932
933 Should "rich text" editing be enabled? This option lets your users send html email messages from the web interface.
934
935 =cut
936
937 Set($MessageBoxRichText, 1);
938
939 =item C<$MessageBoxRichTextHeight>
940
941 Height of RichText javascript enabled editing boxes (in pixels)
942
943 =cut
944
945 Set($MessageBoxRichTextHeight, 200);
946
947 =item C<$MessageBoxIncludeSignature>
948
949 Should your user's signatures (from their Preferences page) be included in Comments and Replies
950
951 =cut
952
953 Set($MessageBoxIncludeSignature, 1);
954
955 =item C<$WikiImplicitLinks>
956
957 Support implicit links in WikiText custom fields?  A true value
958 causes InterCapped or ALLCAPS words in WikiText fields to
959 automatically become links to searches for those words.  If used on
960 RTFM articles, it links to the RTFM article with that name.
961
962 =cut
963
964 Set($WikiImplicitLinks, 0);
965
966 =item C<$TrustHTMLAttachments>
967
968 if C<TrustHTMLAttachments> is not defined, we will display them
969 as text. This prevents malicious HTML and javascript from being
970 sent in a request (although there is probably more to it than that)
971
972 =cut
973
974 Set($TrustHTMLAttachments, undef);
975
976 =item C<$RedistributeAutoGeneratedMessages>
977
978 Should RT redistribute correspondence that it identifies as
979 machine generated? A true value will do so; setting this to '0'
980 will cause no such messages to be redistributed.
981 You can also use 'privileged' (the default), which will redistribute
982 only to privileged users. This helps to protect against malformed
983 bounces and loops caused by autocreated requestors with bogus addresses.
984
985 =cut
986
987 Set($RedistributeAutoGeneratedMessages, 'privileged');
988
989 =item C<$PreferRichText>
990
991 If C<$PreferRichText> is set to a true value, RT will show HTML/Rich text
992 messages in preference to their plaintext alternatives. RT "scrubs" the 
993 html to show only a minimal subset of HTML to avoid possible contamination
994 by cross-site-scripting attacks.
995
996 =cut
997
998 Set($PreferRichText, undef);
999
1000 =item C<$WebExternalAuth>
1001
1002 If C<$WebExternalAuth> is defined, RT will defer to the environment's
1003 REMOTE_USER variable.
1004
1005 =cut
1006
1007 Set($WebExternalAuth, undef);
1008
1009 =item C<$WebExternalAuthContinuous>
1010
1011 If C<$WebExternalAuthContinuous> is defined, RT will check for the
1012 REMOTE_USER on each access.  If you would prefer this to only happen
1013 once (at initial login) set this to a false value.  The default setting
1014 will help ensure that if your external auth system deauthenticates a
1015 user, RT notices as soon as possible.
1016
1017 =cut
1018
1019 Set($WebExternalAuthContinuous, 1);
1020
1021 =item C<$WebFallbackToInternalAuth>
1022
1023 If C<$WebFallbackToInternalAuth> is defined, the user is allowed a chance
1024 of fallback to the login screen, even if REMOTE_USER failed.
1025
1026 =cut
1027
1028 Set($WebFallbackToInternalAuth , undef);
1029
1030 =item C<$WebExternalGecos>
1031
1032 C<$WebExternalGecos> means to match 'gecos' field as the user identity);
1033 useful with mod_auth_pwcheck and IIS Integrated Windows logon.
1034
1035 =cut
1036
1037 Set($WebExternalGecos , undef);
1038
1039 =item C<$WebExternalAuto>
1040
1041 C<$WebExternalAuto> will create users under the same name as REMOTE_USER
1042 upon login, if it's missing in the Users table.
1043
1044 =cut
1045
1046 Set($WebExternalAuto , undef);
1047
1048 =item C<$AutoCreate>
1049
1050 If C<$WebExternalAuto> is true, C<$AutoCreate> will be passed to User's
1051 Create method.  Use it to set defaults, such as creating 
1052 Unprivileged users with C<{ Privileged => 0 }>
1053 ( Must be a hashref of arguments )
1054
1055 =cut
1056
1057 Set($AutoCreate, undef);
1058
1059 =item C<$WebSessionClass>
1060
1061 C<$WebSessionClass> is the class you wish to use for managing Sessions.
1062 It defaults to use your SQL database, but if you are using MySQL 3.x and
1063 plans to use non-ascii Queue names, uncomment and add this line to
1064 F<RT_SiteConfig.pm> will prevent session corruption.
1065
1066 =cut
1067
1068 # Set($WebSessionClass , 'Apache::Session::File');
1069
1070 =item C<$AutoLogoff>
1071
1072 By default, RT's user sessions persist until a user closes his or her 
1073 browser. With the C<$AutoLogoff> option you can setup session lifetime in 
1074 minutes. A user will be logged out if he or she doesn't send any requests 
1075 to RT for the defined time.
1076
1077 =cut
1078
1079 Set($AutoLogoff, 0);
1080
1081 =item C<$WebSecureCookies>
1082
1083 By default, RT's session cookie isn't marked as "secure" Some web browsers 
1084 will treat secure cookies more carefully than non-secure ones, being careful
1085 not to write them to disk, only send them over an SSL secured connection 
1086 and so on. To enable this behaviour, set C<$WebSecureCookies> to a true value. 
1087 NOTE: You probably don't want to turn this on _unless_ users are only connecting
1088 via SSL encrypted HTTP connections.
1089
1090 =cut
1091
1092 Set($WebSecureCookies, 0);
1093
1094 =item C<$WebFlushDbCacheEveryRequest>
1095
1096 By default, RT clears its database cache after every page view.
1097 This ensures that you've always got the most current information 
1098 when working in a multi-process (mod_perl or FastCGI) Environment
1099 Setting C<$WebFlushDbCacheEveryRequest> to '0' will turn this off,
1100 which will speed RT up a bit, at the expense of a tiny bit of data 
1101 accuracy.
1102
1103 =cut
1104
1105 Set($WebFlushDbCacheEveryRequest, '1');
1106
1107
1108 =item C<$MaxInlineBody>
1109
1110 C<$MaxInlineBody> is the maximum attachment size that we want to see
1111 inline when viewing a transaction.  RT will inline any text if value
1112 is undefined or 0.  This option can be overridden by users in their
1113 preferences.
1114
1115 =cut
1116
1117 Set($MaxInlineBody, 12000);
1118
1119 =item C<$DefaultSummaryRows>
1120
1121 C<$DefaultSummaryRows> is default number of rows displayed in for search
1122 results on the frontpage.
1123
1124 =cut
1125
1126 Set($DefaultSummaryRows, 10);
1127
1128 =item C<$HomePageRefreshInterval>
1129
1130 C<$HomePageRefreshInterval> is default number of seconds to refresh the RT
1131 home page. Choose from [0, 120, 300, 600, 1200, 3600, 7200].
1132
1133 =cut
1134
1135 Set($HomePageRefreshInterval, 0);
1136
1137 =item C<$SearchResultsRefreshInterval>
1138
1139 C<$SearchResultsRefreshInterval> is default number of seconds to refresh
1140 search results in RT. Choose from [0, 120, 300, 600, 1200, 3600, 7200].
1141
1142 =cut
1143
1144 Set($SearchResultsRefreshInterval, 0);
1145
1146 =item C<$OldestTransactionsFirst>
1147
1148 By default, RT shows newest transactions at the bottom of the ticket
1149 history page, if you want see them at the top set this to '0'.  This
1150 option can be overridden by users in their preferences.
1151
1152 =cut
1153
1154 Set($OldestTransactionsFirst, '1');
1155
1156 =item C<$ShowTransactionImages>
1157
1158 By default, RT shows images attached to incoming (and outgoing) ticket updates
1159 inline. Set this variable to 0 if you'd like to disable that behaviour
1160
1161 =cut
1162
1163 Set($ShowTransactionImages, 1);
1164
1165 =item C<$PlainTextPre>
1166
1167 Normally plaintext attachments are displayed as HTML with line
1168 breaks preserved.  This causes space- and tab-based formatting not
1169 to be displayed correctly.  By setting $PlainTextPre they'll be
1170 displayed using <pre> instead so such formatting works, but they'll
1171 use a monospaced font, no matter what the value of C<$PlainTextMono> is.
1172
1173 =cut
1174
1175 Set($PlainTextPre, 0);
1176
1177
1178 =item C<$PlainTextMono> 
1179 To display plaintext attachments,
1180 Set C<$PlainTextMono> to 1 to use monospaced font and preserve
1181 formatting, but unlike PlainTextPre, the text will wrap to fit into the
1182 UI.
1183
1184 =cut
1185
1186 Set($PlainTextMono, 0);
1187
1188 =item C<$ShowUnreadMessageNotifications>
1189
1190 By default, RT will prompt users when there are new, unread messages on
1191 tickets they are viewing.
1192
1193 Set C<$ShowUnreadMessageNotifications> to a false value to disable this feature.
1194
1195 =cut
1196
1197 Set($ShowUnreadMessageNotifications, 1);
1198
1199
1200 =item C<$HomepageComponents>
1201
1202 C<$HomepageComponents> is an arrayref of allowed components on a user's
1203 customized homepage ("RT at a glance").
1204
1205 =cut
1206
1207 Set($HomepageComponents, [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards)]);
1208
1209 =item C<@MasonParameters>
1210
1211 C<@MasonParameters> is the list of parameters for the constructor of
1212 HTML::Mason's Apache or CGI Handler.  This is normally only useful
1213 for debugging, eg. profiling individual components with:
1214
1215     use MasonX::Profiler; # available on CPAN
1216     Set(@MasonParameters, (preamble => 'my $p = MasonX::Profiler->new($m, $r);'));
1217
1218 =cut
1219
1220 Set(@MasonParameters, ());
1221
1222 =item C<$DefaultSearchResultFormat>
1223
1224 C<$DefaultSearchResultFormat> is the default format for RT search results
1225
1226 =cut
1227
1228 Set ($DefaultSearchResultFormat, qq{
1229    '<B><A HREF="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
1230    '<B><A HREF="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
1231    Status,
1232    QueueName, 
1233    OwnerName, 
1234    Priority, 
1235    '__NEWLINE__',
1236    '', 
1237    '<small>__Requestors__</small>',
1238    '<small>__CreatedRelative__</small>',
1239    '<small>__ToldRelative__</small>',
1240    '<small>__LastUpdatedRelative__</small>',
1241    '<small>__TimeLeft__</small>'});
1242
1243 =item C<$DefaultSelfServiceSearchResultFormat>
1244
1245 C<$DefaultSelfServiceSearchResultFormat> is the default format of searches displayed in the 
1246 SelfService interface.
1247
1248 =cut
1249
1250 Set($DefaultSelfServiceSearchResultFormat, qq{
1251    '<B><A HREF="__WebPath__/SelfService/Display.html?id=__id__">__id__</a></B>/TITLE:#',
1252    '<B><A HREF="__WebPath__/SelfService/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
1253    Status,
1254    Requestors,
1255    OwnerName});
1256
1257 =item C<$SuppressInlineTextFiles>
1258
1259 If C<$SuppressInlineTextFiles> is set to a true value, then uploaded
1260 text files (text-type attachments with file names) are prevented
1261 from being displayed in-line when viewing a ticket's history.
1262
1263 =cut
1264
1265 Set($SuppressInlineTextFiles, undef);
1266
1267 =item C<$DontSearchFileAttachments>
1268
1269 If C<$DontSearchFileAttachments> is set to a true value, then uploaded
1270 files (attachments with file names) are not searched during full-content
1271 ticket searches.
1272
1273 =cut
1274
1275 Set($DontSearchFileAttachments, undef);
1276
1277 =item C<$ChartFont>
1278
1279 The L<GD> module (which RT uses for graphs) uses a builtin font that doesn't
1280 have full Unicode support. You can use a particular TrueType font by setting
1281 $ChartFont to the absolute path of that font. Your GD library must have
1282 support for TrueType fonts to use this option.
1283
1284 =cut
1285
1286 Set($ChartFont, undef);
1287
1288
1289 =item C<@Active_MakeClicky>
1290
1291 MakeClicky detects various formats of data in headers and email
1292 messages, and extends them with supporting links.  By default, RT
1293 provides two formats:
1294
1295 * 'httpurl': detects http:// and https:// URLs and adds '[Open URL]'
1296   link after the URL.
1297
1298 * 'httpurl_overwrite': also detects URLs as 'httpurl' format, but
1299   replace URL with link and *adds spaces* into text if it's longer
1300   then 30 chars. This allow browser to wrap long URLs and avoid
1301   horizontal scrolling.
1302
1303 See F<share/html/Elements/MakeClicky> for documentation on how to add your own.
1304
1305 =cut
1306
1307 Set(@Active_MakeClicky, qw());
1308
1309 =item C<$DefaultQueue>
1310
1311 Use this to select the default queue name that will be used for creating new
1312 tickets. You may use either the queue's name or its ID. This only affects the
1313 queue selection boxes on the web interface.
1314
1315 =cut
1316
1317 #Set($DefaultQueue, 'General');
1318
1319 =item C<$DefaultTimeUnitsToHours>
1320
1321 Use this to set the default units for time entry to hours instead of minutes.
1322
1323 =cut
1324
1325 Set($DefaultTimeUnitsToHours, 0);
1326
1327 =back
1328
1329 =head1 L<Net::Server> (rt-server) Configuration
1330
1331 =over 4
1332
1333 =item C<$StandaloneMinServers>, C<$StandaloneMaxServers>
1334
1335 The absolute minimum and maximum number of servers that will be created to
1336 handle requests. Having multiple servers means that serving a slow page will
1337 affect other users less.
1338
1339 =cut
1340
1341 Set($StandaloneMinServers, 1);
1342 Set($StandaloneMaxServers, 1);
1343
1344 =item C<$StandaloneMinSpareServers>, C<$StandaloneMaxSpareServers>
1345
1346 These next two options can be used to scale up and down the number of servers
1347 to adjust to load. These two options will respect the C<$StandaloneMinServers
1348 > and C<$StandaloneMaxServers options>.
1349
1350 =cut
1351
1352 Set($StandaloneMinSpareServers, 0);
1353 Set($StandaloneMaxSpareServers, 0);
1354
1355 =item C<$StandaloneMaxRequests>
1356
1357 This sets the absolute maximum number of requests a single server will serve.
1358 Setting this would be useful if, for example, memory usage slowly crawls up
1359 every hit.
1360
1361 =cut
1362
1363 #Set($StandaloneMaxRequests, 50);
1364
1365 =item C<%NetServerOptions>
1366
1367 C<%NetServerOptions> is a hash of additional options to use for
1368 L<Net::Server/DEFAULT ARGUMENTS>. For example, you could set
1369 reverse_lookups to get the hostnames for all users with:
1370
1371 C<Set(%NetServerOptions, (reverse_lookups => 1));>
1372
1373 =cut
1374
1375 Set(%NetServerOptions, ());
1376
1377 =back
1378
1379
1380 =head1 UTF-8 Configuration
1381
1382 =over 4
1383
1384 =item C<@LexiconLanguages>
1385
1386 An array that contains languages supported by RT's internationalization
1387 interface.  Defaults to all *.po lexicons; setting it to C<qw(en ja)> will make
1388 RT bilingual instead of multilingual, but will save some memory.
1389
1390 =cut
1391
1392 Set(@LexiconLanguages, qw(*));
1393
1394 =item C<@EmailInputEncodings>
1395
1396 An array that contains default encodings used to guess which charset
1397 an attachment uses if not specified.  Must be recognized by
1398 L<Encode::Guess>.
1399
1400 =cut
1401
1402 Set(@EmailInputEncodings, qw(utf-8 iso-8859-1 us-ascii));
1403
1404 =item C<$EmailOutputEncoding>
1405
1406 The charset for localized email.  Must be recognized by Encode.
1407
1408 =cut
1409
1410 Set($EmailOutputEncoding, 'utf-8');
1411
1412
1413 =back
1414
1415 =head1 Date Handling Configuration
1416
1417 =over 4
1418
1419 =item C<$DateTimeFormat>
1420
1421 You can choose date and time format.  See "Output formatters"
1422 section in perldoc F<lib/RT/Date.pm> for more options.  This option can
1423 be overridden by users in their preferences.
1424 Some examples:
1425
1426 C<Set($DateTimeFormat, 'LocalizedDateTime');>
1427 C<Set($DateTimeFormat, { Format => 'ISO', Seconds => 0 });>
1428 C<Set($DateTimeFormat, 'RFC2822');>
1429 C<Set($DateTimeFormat, { Format => 'RFC2822', Seconds => 0, DayOfWeek => 0 });>
1430
1431 =cut
1432
1433 Set($DateTimeFormat, 'DefaultFormat');
1434
1435 # Next two options are for Time::ParseDate
1436
1437 =item C<$DateDayBeforeMonth>
1438
1439 Set this to 1 if your local date convention looks like "dd/mm/yy" instead of
1440 "mm/dd/yy". Used only for parsing, not for displaying dates.
1441
1442 =cut
1443
1444 Set($DateDayBeforeMonth , 1);
1445
1446 =item C<$AmbiguousDayInPast>, C<$AmbiguousDayInFuture>
1447
1448 Should an unspecified day or year in a date refer to a future or a
1449 past value? For example, should a date of "Tuesday" default to mean
1450 the date for next Tuesday or last Tuesday? Should the date "March 1"
1451 default to the date for next March or last March?
1452
1453 Set $<AmbiguousDayInPast> for the last date, or $<$AmbiguousDayInFuture> for the
1454 next date.
1455
1456 The default is usually good.
1457
1458 =cut
1459
1460 Set($AmbiguousDayInPast, 0);
1461 Set($AmbiguousDayInFuture, 0);
1462
1463 =back
1464
1465 =head1 Approval Configuration
1466
1467 Configration for the approvl system
1468
1469 =over 4
1470
1471 =item C<$ApprovalRejectionNotes>
1472
1473 Should rejection notes be sent to the requestors?  The default is true.
1474
1475 =cut
1476
1477 Set($ApprovalRejectionNotes, 1);
1478
1479
1480 =back
1481
1482 =head1 Miscellaneous Configuration
1483
1484 =over 4
1485
1486 =item C<@ActiveStatus>, C<@InactiveStatus>
1487
1488 You can define new statuses and even reorder existing statuses here.
1489 WARNING. DO NOT DELETE ANY OF THE DEFAULT STATUSES. If you do, RT
1490 will break horribly. The statuses you add must be no longer than
1491 10 characters.
1492
1493 =cut
1494
1495 Set(@ActiveStatus, qw(new open stalled));
1496 Set(@InactiveStatus, qw(resolved rejected deleted));
1497
1498 =item C<$LinkTransactionsRun1Scrip>
1499
1500 RT-3.4 backward compatibility setting. Add/Delete Link used to record one
1501 transaction and run one scrip. Set this value to 1 if you want
1502 only one of the link transactions to have scrips run.
1503
1504 =cut
1505
1506 Set($LinkTransactionsRun1Scrip, 0);
1507
1508 =item C<$StrictLinkACL>
1509
1510 When this feature is enabled a user needs I<ModifyTicket> rights on both
1511 tickets to link them together, otherwise he can have rights on either of
1512 them.
1513
1514 =cut
1515
1516 Set($StrictLinkACL, 1);
1517
1518 =item C<$PreviewScripMessages>
1519
1520 Set C<$PreviewScripMessages> to 1 if the scrips preview on the ticket
1521 reply page should include the content of the messages to be sent.
1522
1523 =cut
1524
1525 Set($PreviewScripMessages, 0);
1526
1527 =item C<$UseTransactionBatch>
1528
1529 Set C<$UseTransactionBatch> to 1 to execute transactions in batches,
1530 such that a resolve and comment (for example) would happen
1531 simultaneously, instead of as two transactions, unaware of each
1532 others' existence.
1533
1534 =cut
1535
1536 Set($UseTransactionBatch, 1);
1537
1538 =item C<@CustomFieldValuesSources>
1539
1540 Set C<@CustomFieldValuesSources> to a list of class names which extend
1541 L<RT::CustomFieldValues::External>.  This can be used to pull lists of
1542 custom field values from external sources at runtime.
1543
1544 =cut
1545
1546 Set(@CustomFieldValuesSources, ());
1547
1548 =item C<$CanonicalizeRedirectURLs>
1549
1550 Set C<$CanonicalizeRedirectURLs> to 1 to use $C<WebURL> when redirecting rather
1551 than the one we get from C<%ENV>.
1552
1553 If you use RT behind a reverse proxy, you almost certainly want to
1554 enable this option.
1555
1556 =cut
1557
1558 Set($CanonicalizeRedirectURLs, 0);
1559 =item C<$EnableReminders>
1560
1561 Hide links/portlets related to Reminders by setting this to 0
1562
1563 =cut
1564
1565 Set($EnableReminders,1);
1566
1567
1568 =item C<@Plugins>
1569
1570 Set C<@Plugins> to a list of external RT plugins that should be enabled (those
1571 plugins have to be previously downloaded and installed).
1572 Example:
1573
1574 C<Set(@Plugins, (qw(Extension::QuickDelete RT::FM)));>
1575
1576 =cut
1577
1578 Set(@Plugins, ());
1579
1580 =back
1581
1582 =head1 Development Configuration
1583
1584 =over 4
1585
1586 =item C<$DevelMode>
1587
1588 RT comes with a "Development mode" setting. 
1589 This setting, as a convenience for developers, turns on 
1590 all sorts of development options that you most likely don't want in 
1591 production:
1592
1593 * Turns off Mason's 'static_source' directive. By default, you can't 
1594   edit RT's web ui components on the fly and have RT magically pick up
1595   your changes. (It's a big performance hit)
1596
1597  * More to come
1598
1599 =cut
1600
1601 Set($DevelMode, '@RT_DEVEL_MODE@');
1602
1603
1604 =back
1605
1606 =head1 Deprecated Options
1607
1608 =over 4
1609
1610 =item C<$AlwaysUseBase64>
1611
1612 Encode blobs as base64 in DB (?)
1613
1614 =item C<$TicketBaseURI>
1615
1616 Base URI to tickets in this system; used when loading (?)
1617
1618 =item C<$UseCodeTickets>
1619
1620 This option is exists for backwards compatibility.  Don't use it.
1621
1622 =back
1623
1624 =cut
1625
1626 1;