[Rt-commit] r13786 - in rt/3.8/trunk: . lib/RT/Graph share/html/Elements t/web
spang at bestpractical.com
spang at bestpractical.com
Thu Jul 3 15:37:16 EDT 2008
Author: spang
Date: Thu Jul 3 15:37:15 2008
New Revision: 13786
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT/Graph/Tickets.pm
rt/3.8/trunk/lib/RT/Test.pm
rt/3.8/trunk/share/html/Elements/ShowUserVerbose
rt/3.8/trunk/t/web/command_line.t
Log:
Modified: rt/3.8/trunk/lib/RT/Graph/Tickets.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Graph/Tickets.pm (original)
+++ rt/3.8/trunk/lib/RT/Graph/Tickets.pm Thu Jul 3 15:37:15 2008
@@ -67,12 +67,12 @@
}
our %ticket_status_style = (
- new => { fontcolor => '#FF0000' },
- open => { fontcolor => '#000000' },
- stalled => { fontcolor => '#DAA520' },
- resolved => { fontcolor => '#00FF00' },
- rejected => { fontcolor => '#808080' },
- deleted => { fontcolor => '#A9A9A9' },
+ new => { fontcolor => '#FF0000', fontsize => 10 },
+ open => { fontcolor => '#000000', fontsize => 10 },
+ stalled => { fontcolor => '#DAA520', fontsize => 10 },
+ resolved => { fontcolor => '#00FF00', fontsize => 10 },
+ rejected => { fontcolor => '#808080', fontsize => 10 },
+ deleted => { fontcolor => '#A9A9A9', fontsize => 10 },
);
our %link_style = (
Modified: rt/3.8/trunk/lib/RT/Test.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Test.pm (original)
+++ rt/3.8/trunk/lib/RT/Test.pm Thu Jul 3 15:37:15 2008
@@ -641,8 +641,14 @@
$key .= ".$type.key";
require RT::Crypt::GnuPG;
+ (my $volume, my $directories, my $file) = File::Spec->splitpath($0);
+ my $keys_dir = File::Spec->catdir( File::Spec->curdir(), $directories,
+ File::Spec->updir(), qw(data gnupg keys) );
+ # this is a bit hackish; calling it from somewhere that's not a subdir
+ # of t/ will fail
return RT::Crypt::GnuPG::ImportKey(
- RT::Test->file_content([get_relocateable_dir(qw(data gnupg keys)), $key])
+ RT::Test->file_content([get_relocateable_dir(File::Spec->updir(), 'data',
+ 'gnupg', 'keys')), $key])
);
}
Modified: rt/3.8/trunk/share/html/Elements/ShowUserVerbose
==============================================================================
--- rt/3.8/trunk/share/html/Elements/ShowUserVerbose (original)
+++ rt/3.8/trunk/share/html/Elements/ShowUserVerbose Thu Jul 3 15:37:15 2008
@@ -55,7 +55,7 @@
$phrase = $User->RealName
if $User->RealName && lc $User->RealName ne lc $address;
$comment = $User->Name if lc $User->Name ne lc $address;
- $Address = Email::Address->new( $phrase, $address, $comment );
+ $Address = Email::Address->new( $phrase, $address, "($comment)" );
}
Modified: rt/3.8/trunk/t/web/command_line.t
==============================================================================
--- rt/3.8/trunk/t/web/command_line.t (original)
+++ rt/3.8/trunk/t/web/command_line.t Thu Jul 3 15:37:15 2008
@@ -111,8 +111,6 @@
my $test_email = RT::Test::get_relocateable_file('lorem-ipsum',
(File::Spec->updir(), 'data', 'emails'));
- warn("test email path: $test_email");
-
# add attachments to a ticket
# text attachment
check_attachment($test_email);
More information about the Rt-commit
mailing list