[Bps-public-commit] RT-Extension-NotifyBasedOnOwnership branch, master, updated. 94fe49087b8c3851045b6417ca65cff13abf1928
Thomas Sibley
trs at bestpractical.com
Tue Mar 5 15:35:57 EST 2013
The branch, master has been updated
via 94fe49087b8c3851045b6417ca65cff13abf1928 (commit)
via f532e9c9a8c12b549e377626b29f14c461c486b0 (commit)
from 3b8433e8e6a0ab48748acfcd5ae7e49c98c6b3f9 (commit)
Summary of changes:
README | 17 +++++++++++++++
inc/Module/Install/RTx.pm | 13 ++++++------
lib/RT/Extension/NotifyBasedOnOwnership.pm | 34 ++++++++++++++++++++++++++++++
3 files changed, 58 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit f532e9c9a8c12b549e377626b29f14c461c486b0
Author: Thomas Sibley <trs at bestpractical.com>
Date: Tue Mar 5 12:35:32 2013 -0800
Add list of all conditions/actions to doc
diff --git a/README b/README
index 9bb6e0d..4d3b93e 100644
--- a/README
+++ b/README
@@ -3,6 +3,23 @@ NAME
useful for suppressing notifications to queue watchers when a ticket
becomes owned
+SYNOPSIS
+ Adds the following conditions to RT:
+
+ On Create and Unowned
+ On Create and Owned
+ On Correspond and Unowned
+ On Correspond and Owned
+ On Comment and Unowned
+ On Comment and Owned
+
+ Adds the following actions to RT:
+
+ Notify Requestors and Ticket Ccs
+ Notify Owner and Ticket AdminCcs
+ Notify Requestors and Ticket Ccs as Comment
+ Notify Owner and Ticket AdminCcs as Comment
+
DESCRIPTION
A typical use of these conditions and actions is to add scrips like the
following:
diff --git a/lib/RT/Extension/NotifyBasedOnOwnership.pm b/lib/RT/Extension/NotifyBasedOnOwnership.pm
index ff117f0..30703f3 100644
--- a/lib/RT/Extension/NotifyBasedOnOwnership.pm
+++ b/lib/RT/Extension/NotifyBasedOnOwnership.pm
@@ -9,6 +9,40 @@ our $VERSION = '0.01';
RT-Extension-NotifyBasedOnOwnership - Adds scrip conditions and actions useful
for suppressing notifications to queue watchers when a ticket becomes owned
+=head1 SYNOPSIS
+
+Adds the following conditions to RT:
+
+=over
+
+=item On Create and Unowned
+
+=item On Create and Owned
+
+=item On Correspond and Unowned
+
+=item On Correspond and Owned
+
+=item On Comment and Unowned
+
+=item On Comment and Owned
+
+=back
+
+Adds the following actions to RT:
+
+=over
+
+=item Notify Requestors and Ticket Ccs
+
+=item Notify Owner and Ticket AdminCcs
+
+=item Notify Requestors and Ticket Ccs as Comment
+
+=item Notify Owner and Ticket AdminCcs as Comment
+
+=back
+
=head1 DESCRIPTION
A typical use of these conditions and actions is to add scrips like the
commit 94fe49087b8c3851045b6417ca65cff13abf1928
Author: Thomas Sibley <trs at bestpractical.com>
Date: Tue Mar 5 12:35:53 2013 -0800
Update M:I:RTx
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index ce01018..abf6aea 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -14,7 +14,7 @@ use FindBin;
use File::Glob ();
use File::Basename ();
-my @DIRS = qw(etc lib html bin sbin po var);
+my @DIRS = qw(etc lib html static bin sbin po var);
my @INDEX_DIRS = qw(lib bin sbin);
sub RTx {
@@ -62,10 +62,11 @@ sub RTx {
unshift @INC, "$RT::LocalPath/lib" if $RT::LocalPath;
unshift @INC, $lib_path;
- $RT::LocalVarPath ||= $RT::VarPath;
- $RT::LocalPoPath ||= $RT::LocalLexiconPath;
- $RT::LocalHtmlPath ||= $RT::MasonComponentRoot;
- $RT::LocalLibPath ||= "$RT::LocalPath/lib";
+ $RT::LocalVarPath ||= $RT::VarPath;
+ $RT::LocalPoPath ||= $RT::LocalLexiconPath;
+ $RT::LocalHtmlPath ||= $RT::MasonComponentRoot;
+ $RT::LocalStaticPath ||= $RT::StaticPath;
+ $RT::LocalLibPath ||= "$RT::LocalPath/lib";
my $with_subdirs = $ENV{WITH_SUBDIRS};
@ARGV = grep { /WITH_SUBDIRS=(.*)/ ? ( ( $with_subdirs = $1 ), 0 ) : 1 }
@@ -208,4 +209,4 @@ sub requires_rt {
__END__
-#line 328
+#line 329
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list