diff options
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS.pm | 2 | ||||
-rw-r--r-- | FS/FS/Conf.pm | 8 | ||||
-rw-r--r-- | FS/FS/TicketSystem/RT_External.pm | 6 | ||||
-rw-r--r-- | FS/FS/TicketSystem/RT_Internal.pm | 8 | ||||
-rw-r--r-- | FS/FS/TicketSystem/RT_Libs.pm | 8 |
5 files changed, 31 insertions, 1 deletions
@@ -3,7 +3,7 @@ package FS; use strict; use vars qw($VERSION); -$VERSION = '0.01'; +$VERSION = '%%%VERSION%%%'; #find missing entries in this file with: # for a in `ls *pm | cut -d. -f1`; do grep 'L<FS::'$a'>' ../FS.pm >/dev/null || echo "missing $a" ; done diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index f15b485ed..ccad607ca 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1320,6 +1320,14 @@ httemplate/docs/config.html 'select_enum' => [ 'generic', 'artera_turbo', ], }, + { + 'key' => 'ticket_system', + 'section' => '', + 'description' => 'Ticketing system integraiton. <b>RT_Internal</b> uses the built-in RT ticketing system (use <code>make create-rt</code> to create the necessary tables). <b>RT_Libs</b> uses the built-in RT libraries to access an RT installation in a separate database (local or remote). <b>RT_External</b> uses RT\'s XML interface and RTx::Atom to access an RT installation in a separate database (local or remote).', + 'type' => 'select', + 'select_enum' => [ '', qw(RT_Internal RT_Libs RT_External) ], + }, + ); 1; diff --git a/FS/FS/TicketSystem/RT_External.pm b/FS/FS/TicketSystem/RT_External.pm new file mode 100644 index 000000000..b74740ca7 --- /dev/null +++ b/FS/FS/TicketSystem/RT_External.pm @@ -0,0 +1,6 @@ +package FS::TicketSystem::RT_External; + +use strict; + +1; + diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm new file mode 100644 index 000000000..a4ecd6a66 --- /dev/null +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -0,0 +1,8 @@ +package FS::TicketSystem::RT_Internal; + +use strict; + +@ISA = qw( FS::TicketSystem::RT_Libs ); + +1; + diff --git a/FS/FS/TicketSystem/RT_Libs.pm b/FS/FS/TicketSystem/RT_Libs.pm new file mode 100644 index 000000000..b71763237 --- /dev/null +++ b/FS/FS/TicketSystem/RT_Libs.pm @@ -0,0 +1,8 @@ +package FS::TicketSystem::RT_Libs.pm + +use strict; + +@ISA = qw( FS::TicketSystem::RT_External ); + +1; + |