From 52a2dbebe522c0866e18f09a169d39a0cbd4d7b8 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 27 Nov 2004 19:09:47 +0000 Subject: ticket system integration framework and skin RT --- FS/FS.pm | 2 +- FS/FS/Conf.pm | 8 ++++++++ FS/FS/TicketSystem/RT_External.pm | 6 ++++++ FS/FS/TicketSystem/RT_Internal.pm | 8 ++++++++ FS/FS/TicketSystem/RT_Libs.pm | 8 ++++++++ 5 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 FS/FS/TicketSystem/RT_External.pm create mode 100644 FS/FS/TicketSystem/RT_Internal.pm create mode 100644 FS/FS/TicketSystem/RT_Libs.pm (limited to 'FS') diff --git a/FS/FS.pm b/FS/FS.pm index 797323f54..3bbd66fb6 100644 --- a/FS/FS.pm +++ b/FS/FS.pm @@ -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.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. RT_Internal uses the built-in RT ticketing system (use make create-rt to create the necessary tables). RT_Libs uses the built-in RT libraries to access an RT installation in a separate database (local or remote). RT_External 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; + -- cgit v1.2.1