From 6d777ed1fafabab8c308c9ffa24f1dd48f33a9a5 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 15 May 2006 11:05:04 +0000 Subject: more ACL and re-skinning work, now with RT! --- rt/FREESIDE_MODIFIED | 3 ++ rt/html/Elements/FreesideNewCust | 3 ++ rt/html/Elements/FreesideSearch | 10 ++++ rt/html/Elements/Header | 10 ++-- rt/html/Elements/PageLayout | 25 ++++++--- rt/html/Elements/SimpleSearch | 10 +++- rt/html/Elements/Tabs | 8 ++- rt/html/Elements/TitleBoxStart | 2 +- rt/html/NoAuth/webrt.css | 114 ++++++++++++++++++++++++++++----------- rt/html/Search/Bulk.html | 2 +- 10 files changed, 138 insertions(+), 49 deletions(-) create mode 100644 rt/html/Elements/FreesideNewCust create mode 100644 rt/html/Elements/FreesideSearch (limited to 'rt') diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index a013b832c..82f0ff2e6 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -21,3 +21,6 @@ html/Ticket/Elements/ShowCustomers html/Ticket/ModifyCustomers.html html/NoAuth/images/small-logo.png html/NoAuth/webrt.css + +html/Elements/TitleBoxStart +html/Search/Bulk.html diff --git a/rt/html/Elements/FreesideNewCust b/rt/html/Elements/FreesideNewCust new file mode 100644 index 000000000..851c66425 --- /dev/null +++ b/rt/html/Elements/FreesideNewCust @@ -0,0 +1,3 @@ +
+ diff --git a/rt/html/Elements/FreesideSearch b/rt/html/Elements/FreesideSearch new file mode 100644 index 000000000..f0efb60d4 --- /dev/null +++ b/rt/html/Elements/FreesideSearch @@ -0,0 +1,10 @@ + + + +  +
diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header index a2563fee3..bad8b58eb 100644 --- a/rt/html/Elements/Header +++ b/rt/html/Elements/Header @@ -67,7 +67,7 @@ function hideshow(num) { <& /Elements/Callback, _CallbackName => 'Head', %ARGS &> - - +
- +
freeside<% &RT::URI::freeside::FreesideGetConfig('company_name') %> Ticketing<% &RT::URI::freeside::FreesideGetConfig('company_name') || 'ExampleCo' %> % if ($session{'CurrentUser'} && $session{'CurrentUser'}->Id && $LoggedIn) { <&|/l&>Skip Menu | +<&|/l, "".$session{'CurrentUser'}->Name."" &>Logged in as [_1] +
%if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) { <&|/l&>Preferences % } @@ -89,8 +91,6 @@ ONLOAD=" % unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) { | <&|/l&>Logout % } -
-<&|/l, "".$session{'CurrentUser'}->Name."" &>Logged in as [_1] % } else { <&|/l&>Not logged in. % } diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 94bdbe194..5289f78f3 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -43,32 +43,43 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} - -
<%$AppName%> + + + + + + % foreach my $action (sort keys %{$topactions}) { - % } +
<%$AppName%> + <%$topactions->{"$action"}->{'html'} |n %>
+ + + + + %# Vertical menu - +
+ <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &> - -
+ <%$title%>
+ % if ($actions) { % my @actions; @@ -80,7 +91,7 @@ % } % } %#<% join(" | ", @actions) | n %> -<% '['. join("] [", @actions). ']' | n %> +<% '['. join("] [", @actions). '] ' | n %> % if ($subactions) { % my @actions; % foreach my $action (sort keys %{$subactions}) { diff --git a/rt/html/Elements/SimpleSearch b/rt/html/Elements/SimpleSearch index e76f801df..55d65fc89 100644 --- a/rt/html/Elements/SimpleSearch +++ b/rt/html/Elements/SimpleSearch @@ -43,7 +43,13 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -
- + + +  
diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index f5839a9e5..22720072c 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -57,9 +57,13 @@ <%INIT> my $action; my $basetopactions = { - A => { html => $m->scomp('/Elements/CreateTicket') +# A => { html => $m->scomp('/Elements/CreateTicket') +# }, + A => { html => $m->scomp('/Elements/FreesideNewCust') }, - B => { html => $m->scomp('/Elements/SimpleSearch') + B => { html => $m->scomp('/Elements/FreesideSearch') + }, + C => { html => $m->scomp('/Elements/SimpleSearch') } }; my $basetabs = { diff --git a/rt/html/Elements/TitleBoxStart b/rt/html/Elements/TitleBoxStart index 804e5cfaa..d98fe2744 100644 --- a/rt/html/Elements/TitleBoxStart +++ b/rt/html/Elements/TitleBoxStart @@ -78,7 +78,7 @@ $title_class => '' $titleright_href => undef $titleright => undef -$contentbg => "#dddddd" +$contentbg => "#d4d4d4" $color => "#336699" <%init> diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index bc688ac1d..4748694e5 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -43,7 +43,13 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; + +/* * { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 1.2em; +} */ + +SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; %# color: #FFFFFF; color: #000000; @@ -51,7 +57,7 @@ SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; white-space: nowrap} .nav2 { font-size: 10px; white-space: nowrap} -.nav { font-family: Verdana, Arial, Helvetica, sans-serif; +.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; %# font-weight: normal; font-weight: bold; @@ -59,17 +65,17 @@ SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; text-decoration: none; white-space: nowrap} -.currentnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.currentnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; font-weight: bold; color: #FFFF66; text-decoration: none; white-space: nowrap} -.topnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.topnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: normal; -%# color: #FFFFFF; - color: #000000; + color: #FFFFFF; +%# color: #000000; text-decoration: none; white-space: nowrap} @@ -81,37 +87,43 @@ SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; a.topnav-0 { font-family: Verdana, sans-serif; font-size: 16px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-1 { font-family: Verdana, sans-serif; font-size: 14px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-2 { font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-3 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-4 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-5 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} li.topnav-0-minor { @@ -175,7 +187,7 @@ li.topnav-5-major { padding-bottom: .5em; } -.currenttopnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.currenttopnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: bold; %# color: #FFFF66; @@ -191,37 +203,37 @@ li.topnav-5-major { a.currenttopnav-0 { font-family: Verdana, sans-serif; font-size: 16px; font-weight: bold; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-1 { font-family: Verdana, sans-serif; font-size: 14px; font-weight: bold; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-2 { font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-3 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-4 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-5 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} li.currenttopnav-0-minor { @@ -285,18 +297,18 @@ li.currenttopnav-5-major { padding-bottom: .5em; } -.topactions { font-family: Verdana, Arial, Helvetica, sans-serif; +.topactions { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none; white-space: nowrap} -.subnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.subnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #FFFFFF; text-decoration: none; white-space: nowrap} -.currentsubnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.currentsubnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #FFFF66; @@ -355,6 +367,20 @@ li.currenttopnav-5-major { vertical-align: top; text-align: right; } +.black { + background-color: #000000; + color: #ffffff; + background-position: left top; + vertical-align: top; + text-align: left; + } +.blackright { + background-color: #000000; + color: #ffffff; + background-position: left top; + vertical-align: top; + text-align: right; + } .mediumgray { background-color: #cccccc; background-position: left top; @@ -367,6 +393,30 @@ li.currenttopnav-5-major { vertical-align: top; text-align: right; } +.darkmediumgray { + background-color: #aaaaaa; + background-position: left top; + vertical-align: top; + text-align: left; + } +.darkmediumgrayright { + background-color: #aaaaaa; + background-position: left top; + vertical-align: top; + text-align: right; + } +.bggray { + background-color: #e8e8e8; + background-position: left top; + vertical-align: top; + text-align: left; + } +.bggrayright { + background-color: #e8e8e8; + background-position: left top; + vertical-align: top; + text-align: right; + } .white { background-color: #ffffff; background-position: left top; @@ -396,26 +446,26 @@ div.downloadattachment { } -td { font-family: Verdana, Arial, Helvetica, sans-serif; +td { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; background-position: left top; } .black { background-color: #000000; background-position: left top; } -span.rtname { font-family: Verdana, Arial, Helvetica, sans-serif; +span.rtname { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 18px; font-weight: normal; color: #ffffff} -span.title { font-family: Verdana, Arial, Helvetica, sans-serif; +span.title { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 20px; font-weight: bold; color: #ffffff} -.header { font-family: Verdana, Arial, Helvetica, sans-serif; +.header { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #0066CC} -.subheader { font-family: Verdana, Arial, Helvetica, sans-serif; +.subheader { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #0066CC } @@ -426,7 +476,7 @@ span.title { font-family: Verdana, Arial, Helvetica, sans-serif; .labeltop { font-weight: normal; text-align: right; vertical-align: top } -.productnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.productnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color: #000000; text-align: center; @@ -450,6 +500,7 @@ TD.mainbody { padding-right: 1em; margin-left: 1em; margin-right: 1em; + background-color: #e8e8e8; } td.boxcontainer + td.boxcontainer { @@ -492,7 +543,7 @@ TD.titlebox { SPAN.message { font-size: 100%; - font-family: Verdana, Arial, Helvetica, sans-serif; + font-family: Arial, Verdana, Helvetica, sans-serif; } @@ -549,8 +600,9 @@ A:link IMG, A:visited IMG { border-style: none } a:focus {text-decoration: underline } A IMG { color: white } /* The only way to hide the border in NS 4.x */ -a:link { text-decoration: none} -a:visited { text-decoration: none} +/* a:link { text-decoration: none} */ +/* a:visited { text-decoration: none} */ + a:hover { text-decoration: underline} /* a:focus { background-color: #ccccee } */ diff --git a/rt/html/Search/Bulk.html b/rt/html/Search/Bulk.html index f9eef26b6..b7c64e3f8 100644 --- a/rt/html/Search/Bulk.html +++ b/rt/html/Search/Bulk.html @@ -68,7 +68,7 @@ $Tickets->RedoSearch(); while (my $Ticket = $Tickets->Next) { $i++; if ($i % 2) { - $bgcolor = "#dddddd"; + $bgcolor = "#d4d4d4"; } else { $bgcolor = "#ffffff"; -- cgit v1.2.1 From 74d840d48a629908e202de13bce668ccd945843b Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 22 May 2006 20:38:21 +0000 Subject: missing > tag on INPUT --- rt/html/Elements/FreesideNewCust | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/html/Elements/FreesideNewCust b/rt/html/Elements/FreesideNewCust index 851c66425..af8f9f1a7 100644 --- a/rt/html/Elements/FreesideNewCust +++ b/rt/html/Elements/FreesideNewCust @@ -1,3 +1,3 @@
- 
-- cgit v1.2.1 From 3a820c27d5290f9d2761636b2b4fe865caeb0804 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 2 Jun 2006 13:20:24 +0000 Subject: add a service search --- rt/FREESIDE_MODIFIED | 5 +++++ rt/html/Elements/FreesideSvcSearch | 10 ++++++++++ rt/html/Elements/PageLayout | 10 +++++----- rt/html/Elements/Tabs | 4 +++- 4 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 rt/html/Elements/FreesideSvcSearch (limited to 'rt') diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index 82f0ff2e6..1b0c47c06 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -24,3 +24,8 @@ html/NoAuth/images/small-logo.png html/Elements/TitleBoxStart html/Search/Bulk.html + +html/Elements/FreesideNewCust +html/Elements/FreesideSearch +html/Elements/FreesideSvcSearch + diff --git a/rt/html/Elements/FreesideSvcSearch b/rt/html/Elements/FreesideSvcSearch new file mode 100644 index 000000000..47c430f1a --- /dev/null +++ b/rt/html/Elements/FreesideSvcSearch @@ -0,0 +1,10 @@ +
+ + +  +
diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 5289f78f3..dd0fd7504 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -45,14 +45,14 @@ %# END BPS TAGGED BLOCK }}} - + - +%# -% foreach my $action (sort keys %{$topactions}) { - % } diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index 22720072c..dcb652e12 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -63,7 +63,9 @@ my $basetopactions = { }, B => { html => $m->scomp('/Elements/FreesideSearch') }, - C => { html => $m->scomp('/Elements/SimpleSearch') + C => { html => $m->scomp('/Elements/FreesideSvcSearch') + }, + D => { html => $m->scomp('/Elements/SimpleSearch') } }; my $basetabs = { -- cgit v1.2.1 From c28ebb03fafe6a85753fc3f21e3abcc0477eccfc Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 10:46:39 +0000 Subject: attempt to fix weird black RT navigation links --- rt/html/NoAuth/webrt.css | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index 4748694e5..cf4cfc00a 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -75,7 +75,6 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: normal; color: #FFFFFF; -%# color: #000000; text-decoration: none; white-space: nowrap} @@ -87,42 +86,36 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; a.topnav-0 { font-family: Verdana, sans-serif; font-size: 16px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-1 { font-family: Verdana, sans-serif; font-size: 14px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-2 { font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-3 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-4 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-5 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} @@ -190,8 +183,7 @@ li.topnav-5-major { .currenttopnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: bold; -%# color: #FFFF66; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} -- cgit v1.2.1 From 6dfc9e121e60141830169f4237a5b1e381d6ba5b Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 10:54:02 +0000 Subject: another attempt to fix weird black RT navigation links --- rt/html/NoAuth/webrt.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index cf4cfc00a..712360cd5 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -59,10 +59,8 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; white-space: nowrap} .nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; -%# font-weight: normal; font-weight: bold; -%# color: #FFFFFF; - color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} .currentnav { font-family: Arial, Verdana, Helvetica, sans-serif; -- cgit v1.2.1 From 997c4e4178b74747b14177671069d55532d0ff10 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 10:57:03 +0000 Subject: yet another attempt to fix weird black RT navigation links --- rt/html/NoAuth/webrt.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index 712360cd5..f49d14531 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -51,8 +51,7 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; -%# color: #FFFFFF; - color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} .nav2 { font-size: 10px; @@ -468,7 +467,7 @@ span.title { font-family: Arial, Verdana, Helvetica, sans-serif; vertical-align: top } .productnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; - color: #000000; + color: #FFFFFF; text-align: center; vertical-align: middle; text-decoration: none} @@ -576,7 +575,7 @@ DIV.endmatter { margin-left: -7% } } -A { font-weight: bold; color: #000000; +A { font-weight: bold; } .currenttab { color: #ffffff;} -- cgit v1.2.1 From 08c01dea3d6936dafe890f5c8a6076f636f5116c Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 11:08:55 +0000 Subject: yay this should finally fix the weird black navigation links; hide the Mason stuff from browsers when it doesn't get processed for some reason --- rt/html/NoAuth/webrt.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index f49d14531..f22ce4ced 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -1,3 +1,4 @@ +/* %# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: @@ -43,6 +44,7 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} +*/ /* * { font-family: Arial, Verdana, Helvetica, sans-serif; @@ -75,10 +77,12 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration: none; white-space: nowrap} +/* %# .topnav is the original RT class for the sidebar navigation tabs. %# Font-sizing by level depth was originally hard-coded into Elements/Menu. %# This modification sets a different class name for each level, allowing %# style sheet control over the formats. +*/ a.topnav-0 { font-family: Verdana, sans-serif; font-size: 16px; @@ -184,10 +188,12 @@ li.topnav-5-major { text-decoration: none; white-space: nowrap} +/* %# .currenttopnav is the original RT class for the sidebar navigation tabs. %# Font-sizing by level depth was originally hard-coded into Elements/Menu. %# This modification sets a different class name for each level, allowing %# style sheet control over the formats +*/ a.currenttopnav-0 { font-family: Verdana, sans-serif; font-size: 16px; @@ -315,12 +321,12 @@ li.currenttopnav-5-major { } .blue { background-color: #4682B4; -%# background-color: #eeeeee; +/* %# background-color: #eeeeee; */ background-position: left top; vertical-align: top; text-align: left; } -%# Actually the "topactions" section +/* %# Actually the "topactions" section */ .blueright { background-color: #4682B4; background-position: left top; vertical-align: top; @@ -604,7 +610,7 @@ SPAN.date { font-size: 0.8em } span.title { font-size: 1.6em; vertical-align: middle; -%# color: #ffffff; +/* %# color: #ffffff; */ color: #000000; } span.productname { font-size: 2em; @@ -703,6 +709,7 @@ textarea.messagebox { width: 100%; } +/* %# Provide a callback for adding/modifying the style sheet. %# http://www.w3.org/TR/REC-CSS1 - section 3.2, says: %# "latter specified rule wins" @@ -714,3 +721,4 @@ inherit => undef $r->content_type('text/css'); #$r->headers_out->{'Expires'} = '+30m'; +*/ -- cgit v1.2.1 From 1f2020811b5ac14613e854fb6861cbd37d580015 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 11:16:36 +0000 Subject: whew, this can go back --- rt/html/NoAuth/webrt.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index f22ce4ced..04c959a05 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -581,7 +581,7 @@ DIV.endmatter { margin-left: -7% } } -A { font-weight: bold; +A { font-weight: bold; color: #000000 } .currenttab { color: #ffffff;} -- cgit v1.2.1 From a8665e44dbd99bd864e48231928405a31cedce5f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 9 Jul 2006 14:35:30 +0000 Subject: fix the image path in the kludged looknfeel integration --- rt/html/Elements/Header | 2 +- rt/html/Elements/PageLayout | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'rt') diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header index bad8b58eb..c1bc92afd 100644 --- a/rt/html/Elements/Header +++ b/rt/html/Elements/Header @@ -67,7 +67,7 @@ function hideshow(num) { <& /Elements/Callback, _CallbackName => 'Head', %ARGS &> - - + %#
<%$AppName%> - <%$AppName%> +%# +% my $notfirst = 0; foreach my $action (sort keys %{$topactions}) { + > <%$topactions->{"$action"}->{'html'} |n %>
<%$AppName%> @@ -62,15 +62,15 @@ - - + + %# Vertical menu - +
<& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &> -- cgit v1.2.1 From b19897e1db4c110d7d7e8b52800cda5ab58ce9e0 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 14 Aug 2006 12:13:40 +0000 Subject: sprinkle some magic ajax fairy dust on referring customer SELEKTAH. rewind! make smart search smarter, re-layout the top search bars and add an invoice one --- rt/html/Elements/FreesideInvoiceSearch | 20 +++++++++++++++++ rt/html/Elements/FreesideNewCust | 2 +- rt/html/Elements/FreesideSearch | 7 +++--- rt/html/Elements/FreesideSvcSearch | 7 +++--- rt/html/Elements/PageLayout | 2 +- rt/html/Elements/SimpleSearch | 7 +++--- rt/html/Elements/Tabs | 6 ++++-- rt/html/NoAuth/webrt.css | 39 ++++++++++++++++++++++++++++++++-- 8 files changed, 75 insertions(+), 15 deletions(-) create mode 100644 rt/html/Elements/FreesideInvoiceSearch (limited to 'rt') diff --git a/rt/html/Elements/FreesideInvoiceSearch b/rt/html/Elements/FreesideInvoiceSearch new file mode 100644 index 000000000..3842b2ff9 --- /dev/null +++ b/rt/html/Elements/FreesideInvoiceSearch @@ -0,0 +1,20 @@ +% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { + +
+ + + +% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { + Advanced +% } +
+ + + + +% } diff --git a/rt/html/Elements/FreesideNewCust b/rt/html/Elements/FreesideNewCust index af8f9f1a7..c752437da 100644 --- a/rt/html/Elements/FreesideNewCust +++ b/rt/html/Elements/FreesideNewCust @@ -1,3 +1,3 @@
-  +  diff --git a/rt/html/Elements/FreesideSearch b/rt/html/Elements/FreesideSearch index f0efb60d4..99b8da072 100644 --- a/rt/html/Elements/FreesideSearch +++ b/rt/html/Elements/FreesideSearch @@ -1,10 +1,11 @@
- -  +
+Advanced + diff --git a/rt/html/Elements/FreesideSvcSearch b/rt/html/Elements/FreesideSvcSearch index 47c430f1a..e9ad56426 100644 --- a/rt/html/Elements/FreesideSvcSearch +++ b/rt/html/Elements/FreesideSvcSearch @@ -1,10 +1,11 @@
- -  +
+ Advanced + diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 52353fa46..f13ee0dda 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -52,7 +52,7 @@ %# % my $notfirst = 0; foreach my $action (sort keys %{$topactions}) { -
% } diff --git a/rt/html/Elements/SimpleSearch b/rt/html/Elements/SimpleSearch index 55d65fc89..e9fc5c6ed 100644 --- a/rt/html/Elements/SimpleSearch +++ b/rt/html/Elements/SimpleSearch @@ -46,10 +46,11 @@ - -  +
+Advanced + diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index dcb652e12..721f920d5 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -63,9 +63,11 @@ my $basetopactions = { }, B => { html => $m->scomp('/Elements/FreesideSearch') }, - C => { html => $m->scomp('/Elements/FreesideSvcSearch') + C => { html => $m->scomp('/Elements/FreesideInvoiceSearch') }, - D => { html => $m->scomp('/Elements/SimpleSearch') + D => { html => $m->scomp('/Elements/FreesideSvcSearch') + }, + E => { html => $m->scomp('/Elements/SimpleSearch') } }; my $basetabs = { diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index 04c959a05..5c241f93f 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -373,9 +373,44 @@ li.currenttopnav-5-major { background-color: #000000; color: #ffffff; background-position: left top; - vertical-align: top; + vertical-align: center; text-align: right; + font-size:16px; + padding-right:4px } + +input.fsblackbutton { + background-color:#333333; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-weight:bold; + padding-left:12px; + padding-right:12px; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff333333',EndColorStr='#ff666666') +} + +input.fsblackbuttonselected { + background-color:#7e0079; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-weight:bold; + padding-left:12px; + padding-right:12px; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff330033',EndColorStr='#ff7e0079') +} + .mediumgray { background-color: #cccccc; background-position: left top; @@ -442,7 +477,7 @@ div.downloadattachment { td { font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 11px; + font-size: 12px; background-position: left top; } .black { background-color: #000000; -- cgit v1.2.1 From 620cfcdb419e8bcdcbaecb2b011e5abd0ecc34e0 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 21 Aug 2006 12:38:15 +0000 Subject: better RT hint for smarter smart search --- rt/html/Ticket/Elements/EditCustomers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/html/Ticket/Elements/EditCustomers b/rt/html/Ticket/Elements/EditCustomers index 47d1aa222..c5a6f708c 100644 --- a/rt/html/Ticket/Elements/EditCustomers +++ b/rt/html/Ticket/Elements/EditCustomers @@ -43,7 +43,7 @@ <&|/l&>Find customer
-
cust #, last name, or company +
cust #, name, company or phone
%#
%#<&|/l&>Find service
-- cgit v1.2.1 From a513c0bef534d05f03c1242831b6f3be19b97dae Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 17 Oct 2006 08:51:01 +0000 Subject: import rt 3.4.5 --- rt/Changelog | 786 ++++++++++++++- rt/README | 7 + rt/configure | 83 +- rt/configure.ac | 14 +- rt/etc/RT_Config.pm.in | 16 +- rt/html/Approvals/Elements/PendingMyApproval | 1 + rt/html/Elements/Callback | 4 +- rt/html/Elements/CollectionAsTable/Row | 1 + rt/html/Elements/EditCustomField | 4 + rt/html/Elements/EditCustomFieldSelect | 3 +- rt/html/Elements/Header | 8 +- rt/html/Elements/QueryString | 6 +- rt/html/Elements/RT__Ticket/ColumnMap | 3 +- rt/html/Elements/ScrubHTML | 2 +- rt/html/Elements/ShowCustomFields | 3 + rt/html/NoAuth/printrt.css | 77 ++ rt/html/NoAuth/webrt.css | 28 +- rt/html/Search/Build.html | 488 +++++---- rt/html/Search/Elements/BuildFormatString | 6 +- rt/html/Search/Results.rdf | 2 +- rt/html/Search/Results.tsv | 2 +- rt/html/Ticket/Elements/EditCustomFields | 3 +- rt/html/Ticket/Elements/ShowTransactionAttachments | 9 +- rt/html/User/Elements/Tabs | 3 + rt/lib/RT/ACE_Overlay.pm | 2 +- rt/lib/RT/Action/SendEmail.pm | 10 +- rt/lib/RT/Attachments_Overlay.pm | 2 + rt/lib/RT/CustomFieldValues.pm | 23 +- rt/lib/RT/CustomField_Overlay.pm | 16 +- rt/lib/RT/EmailParser.pm | 4 +- rt/lib/RT/Groups_Overlay.pm | 216 ++-- rt/lib/RT/I18N.pm | 2 +- rt/lib/RT/I18N/cs.po | 4 +- rt/lib/RT/I18N/da.po | 5 + rt/lib/RT/I18N/de.po | 12 +- rt/lib/RT/I18N/en.po | 11 + rt/lib/RT/I18N/es.po | 620 ++++++------ rt/lib/RT/I18N/fi.po | 6 +- rt/lib/RT/I18N/fr.po | 254 ++--- rt/lib/RT/I18N/he.po | 6 +- rt/lib/RT/I18N/hu.po | 8 +- rt/lib/RT/I18N/id.po | 4 +- rt/lib/RT/I18N/it.po | 5 +- rt/lib/RT/I18N/ja.po | 269 +++-- rt/lib/RT/I18N/nl.po | 4 + rt/lib/RT/I18N/no.po | 7 +- rt/lib/RT/I18N/pl.po | 4 +- rt/lib/RT/I18N/pt_br.po | 6 +- rt/lib/RT/I18N/ru.po | 1056 ++++++++++---------- rt/lib/RT/I18N/zh_cn.po | 6 +- rt/lib/RT/I18N/zh_tw.po | 6 +- rt/lib/RT/Interface/Email.pm | 28 +- rt/lib/RT/Link_Overlay.pm | 8 +- rt/lib/RT/ObjectCustomFieldValues_Overlay.pm | 2 +- rt/lib/RT/Principal_Overlay.pm | 243 ++--- rt/lib/RT/Queue_Overlay.pm | 2 +- rt/lib/RT/Record.pm | 14 +- rt/lib/RT/Ticket_Overlay.pm | 89 +- rt/lib/RT/Tickets_Overlay.pm | 531 +++++----- rt/lib/RT/Tickets_Overlay_SQL.pm | 18 +- rt/lib/RT/Transaction_Overlay.pm | 2 +- rt/lib/RT/Transactions_Overlay.pm | 2 +- rt/lib/RT/Users_Overlay.pm | 352 +++++-- rt/lib/t/regression/06mailgateway.t | 60 +- rt/lib/t/regression/07acl.t | 10 +- rt/lib/t/regression/07rights.t | 32 +- rt/lib/t/regression/09record_cf_api.t | 18 +- rt/lib/t/regression/14linking.t | 143 +++ rt/lib/t/regression/22search_tix_by_txn.t | 2 +- rt/lib/t/regression/22search_tix_by_watcher.t | 215 ++++ rt/sbin/rt-setup-database.in | 7 + rt/sbin/rt-test-dependencies.in | 2 +- 72 files changed, 3744 insertions(+), 2163 deletions(-) create mode 100644 rt/html/NoAuth/printrt.css create mode 100644 rt/lib/t/regression/14linking.t create mode 100644 rt/lib/t/regression/22search_tix_by_watcher.t (limited to 'rt') diff --git a/rt/Changelog b/rt/Changelog index 2da390e97..a01bc89c1 100644 --- a/rt/Changelog +++ b/rt/Changelog @@ -1,9 +1,789 @@ ------------------------------------------------------------------------ -r3729 | jesse | 2005-08-28 15:45:06 -0400 (Sun, 28 Aug 2005) | 1 line +r4386 | jesse | 2006-01-12 10:52:27 -0500 (Thu, 12 Jan 2006) | 1 line Changed paths: - A /rt/tags/3.4.4 (from /rt/branches/3.4-RELEASE:3728) + A /rt/tags/3.4.5 (from /rt/branches/3.4-RELEASE:4385) + +Tagged as 3.4.5 by svn RelEng 1.0 +------------------------------------------------------------------------ +r4385 | jesse | 2006-01-12 10:48:22 -0500 (Thu, 12 Jan 2006) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/releng.cnf + + r22371@truegrounds: jesse | 2006-01-12 16:25:39 +0100 + * This be 3.4.5 + +------------------------------------------------------------------------ +r4384 | jesse | 2006-01-12 10:48:13 -0500 (Thu, 12 Jan 2006) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/sbin/rt-setup-database.in + + r22370@truegrounds: jesse | 2006-01-12 16:25:19 +0100 + * Silence a warning introduced by a patch to fix oracle installs + +------------------------------------------------------------------------ +r4383 | jesse | 2006-01-12 10:48:03 -0500 (Thu, 12 Jan 2006) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/t/regression/22search_tix_by_txn.t + + r22369@truegrounds: jesse | 2006-01-12 16:23:48 +0100 + * Forced timezone for a date test to GMT, since it's searching on subjective dates + +------------------------------------------------------------------------ +r4372 | jesse | 2006-01-11 12:22:05 -0500 (Wed, 11 Jan 2006) | 7 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po + + r22357@truegrounds: jesse | 2006-01-11 18:20:01 +0100 + RT-Ticket: 7222 + RT-Status: resolved + RT-Update: correspond + + * German translation update from Dirk Pape + +------------------------------------------------------------------------ +r4307 | jesse | 2005-12-13 16:54:03 -0500 (Tue, 13 Dec 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/releng.cnf + + r20436@truegrounds: jesse | 2005-12-13 16:51:41 -0500 + * 3.4.5rc3 + +------------------------------------------------------------------------ +r4306 | jesse | 2005-12-13 16:53:52 -0500 (Tue, 13 Dec 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N.pm + + r20435@truegrounds: jesse | 2005-12-13 16:51:06 -0500 + * warning silencing for a log message + +------------------------------------------------------------------------ +r4303 | alexmv | 2005-12-13 13:58:20 -0500 (Tue, 13 Dec 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm + + r7707@zoq-fot-pik: chmrr | 2005-12-13 13:54:45 -0500 + * I don't think this join to Attachments is needed or useful -- it means you don't see changes with no attachments + +------------------------------------------------------------------------ +r4220 | jesse | 2005-12-02 17:59:40 -0500 (Fri, 02 Dec 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/releng.cnf + + r19695@truegrounds: jesse | 2005-12-02 17:58:50 -0500 + * RC2 + +------------------------------------------------------------------------ +r4216 | jesse | 2005-12-02 17:02:21 -0500 (Fri, 02 Dec 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Search/Build.html + + r19688@truegrounds: jesse | 2005-12-02 17:01:28 -0500 + RT-Ticket: 6962 + RT-Status: resolved + RT-Update: correspond + + * Patch from Rolf Grossmann to fix some bogosity in the query builder + + +------------------------------------------------------------------------ +r4212 | jesse | 2005-12-01 23:14:40 -0500 (Thu, 01 Dec 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/Header + A /rt/branches/3.4-RELEASE/html/NoAuth/printrt.css + + r19674@truegrounds: jesse | 2005-12-01 23:13:50 -0500 + * Added a print stylesheet from Koos van den Hout + +------------------------------------------------------------------------ +r4175 | jesse | 2005-11-30 16:03:40 -0500 (Wed, 30 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/releng.cnf + + r19588@truegrounds: jesse | 2005-11-30 16:00:10 -0500 + * Bump to 3.4.5rc1 + +------------------------------------------------------------------------ +r4154 | jesse | 2005-11-29 18:55:07 -0500 (Tue, 29 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFields + M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditCustomFields + + r19545@truegrounds: jesse | 2005-11-29 18:51:07 -0500 + * A pair of new callbacks to make it easier to hide away a custom field on ticket display/edit + +------------------------------------------------------------------------ +r4120 | robert | 2005-11-19 22:52:28 -0500 (Sat, 19 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm + + r4186@bear: rspier | 2005-11-19 19:51:38 -0800 + typo fix: s/load/Load/ + +------------------------------------------------------------------------ +r4096 | alexmv | 2005-11-14 18:34:44 -0500 (Mon, 14 Nov 2005) | 7 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValues.pm + + r7182@zoq-fot-pik: chmrr | 2005-11-14 18:34:13 -0500 + RT-Ticket: 6994 + RT-Status: resolved + RT-Update: correspond + * Sort custom vield values by SortOrder, then *Name*, then id; patch + from Troy Davis + +------------------------------------------------------------------------ +r4092 | alexmv | 2005-11-14 17:35:40 -0500 (Mon, 14 Nov 2005) | 6 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm + M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm + + r7175@zoq-fot-pik: chmrr | 2005-11-14 17:35:03 -0500 + RT-Ticket: 7010 + RT-Status: resolved + RT-Update: correspond + * Treat our email addresses as case-insensitive + +------------------------------------------------------------------------ +r4090 | ruz | 2005-11-14 17:02:36 -0500 (Mon, 14 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE/html/Elements/QueryString + +* /Elements/QueryString now supports ARRAY refs, this allow us to handle + multiple arguments with the same name, this behaviour is consistent with + how HTML::Mason handle arguments +------------------------------------------------------------------------ +r4089 | ruz | 2005-11-14 16:57:36 -0500 (Mon, 14 Nov 2005) | 1 line +Changed paths: + M /rt/branches/3.4-RELEASE/etc/schema.mysql + +* revert back mysql.schema, commited by accident +------------------------------------------------------------------------ +r4087 | ruz | 2005-11-14 16:50:12 -0500 (Mon, 14 Nov 2005) | 2 lines +Changed paths: + M /rt/branches/3.4-RELEASE/etc/schema.mysql + M /rt/branches/3.4-RELEASE/html/Elements/Callback + +* fix: really hide hidden paths from callbacks +* fix: fetch data from the %cache by one key when store data with other +------------------------------------------------------------------------ +r4086 | alexmv | 2005-11-14 16:49:33 -0500 (Mon, 14 Nov 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in + M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm + + r7165@zoq-fot-pik: chmrr | 2005-11-14 16:49:07 -0500 + RT-Ticket: 7131 + RT-Status: resolved + RT-Update: correspond + * The $RT::rtname regex should be case insensitive for matching + subjects; thanks to Phil Smith III for the + catch + +------------------------------------------------------------------------ +r4085 | alexmv | 2005-11-14 16:30:12 -0500 (Mon, 14 Nov 2005) | 7 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/NoAuth/webrt.css + + r7163@zoq-fot-pik: chmrr | 2005-11-14 16:29:36 -0500 + RT-Ticket: 6507 + RT-Status: resolved + RT-Update: correspond + * Standardize fonts to "Verdana, Arial, Helvetica, sans-serif"; + variant of patch from Maxime Henrion + +------------------------------------------------------------------------ +r4084 | alexmv | 2005-11-14 15:51:27 -0500 (Mon, 14 Nov 2005) | 7 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Record.pm + + r7161@zoq-fot-pik: chmrr | 2005-11-14 15:50:56 -0500 + RT-Ticket: 6458 + RT-Status: resolved + RT-Update: correspond + * Removed extra return argument from _AddLink, thanks to Todd Chapman + + +------------------------------------------------------------------------ +r4083 | alexmv | 2005-11-14 15:43:24 -0500 (Mon, 14 Nov 2005) | 6 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm + + r7159@zoq-fot-pik: chmrr | 2005-11-14 15:42:48 -0500 + RT-Ticket: 6457 + RT-Status: resolved + RT-Update: correspond + * Typo in Ticket_Overlay.pm, found by Todd Chapman + +------------------------------------------------------------------------ +r4081 | alexmv | 2005-11-14 14:59:42 -0500 (Mon, 14 Nov 2005) | 7 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Row + + r7155@zoq-fot-pik: chmrr | 2005-11-14 14:59:06 -0500 + RT-Ticket: 7020 + RT-Status: resolved + RT-Update: correspond + * Actually make use of 'style' if it is provided; thanks to Kelly + F. Hickel + +------------------------------------------------------------------------ +r4080 | alexmv | 2005-11-14 14:55:17 -0500 (Mon, 14 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po + + r7152@zoq-fot-pik: chmrr | 2005-11-14 14:54:43 -0500 + * Restore rightful .po headers on new french translation + +------------------------------------------------------------------------ +r4079 | alexmv | 2005-11-14 14:52:57 -0500 (Mon, 14 Nov 2005) | 6 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/t/regression/09record_cf_api.t + + r7148@zoq-fot-pik: chmrr | 2005-11-14 14:51:58 -0500 + RT-Ticket: 6559 + RT-Status: resolved + RT-Update: correspond + * Tests from Todd Chapman for loading CF from a wrong queue + +------------------------------------------------------------------------ +r4078 | jesse | 2005-11-14 14:50:54 -0500 (Mon, 14 Nov 2005) | 7 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po + + r18904@truegrounds: jesse | 2005-11-14 14:49:25 -0500 + RT-Ticket: 7105 + RT-Status: resolved + RT-Update: correspond + + Updated French translation from Jerome Fenal + +------------------------------------------------------------------------ +r4077 | alexmv | 2005-11-14 14:20:49 -0500 (Mon, 14 Nov 2005) | 6 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po + + r7146@zoq-fot-pik: chmrr | 2005-11-14 14:20:03 -0500 + RT-Ticket: 7090 + RT-Status: resolved + RT-Update: correspond + * New Japanese .po, from Daisuke Maki + +------------------------------------------------------------------------ +r4076 | jesse | 2005-11-14 14:18:48 -0500 (Mon, 14 Nov 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/t/regression/06mailgateway.t + + r18900@truegrounds: jesse | 2005-11-14 13:57:34 -0500 + RT-Ticket: 7122 + RT-Status: resolved + RT-Update: correspond + + * Patch from Todd Chapman to honor changed a $rtname variable when running + the test suite + +------------------------------------------------------------------------ +r4075 | jesse | 2005-11-14 14:18:36 -0500 (Mon, 14 Nov 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/t/regression/07acl.t + + r18899@truegrounds: jesse | 2005-11-14 13:40:24 -0500 + RT-Ticket: 7121 + RT-Status: resolved + RT-Update: correspond + + * Patch from Todd Chapman to make the web based acl tests honor RT::WebPath + + +------------------------------------------------------------------------ +r4074 | alexmv | 2005-11-14 13:52:00 -0500 (Mon, 14 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in + M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm + + r7140@zoq-fot-pik: chmrr | 2005-11-14 13:51:14 -0500 + * Better bounce handling, from Abhijit Menon-Sen + +------------------------------------------------------------------------ +r4073 | jesse | 2005-11-14 13:37:01 -0500 (Mon, 14 Nov 2005) | 16 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/sbin/rt-setup-database.in + + r18895@truegrounds: jesse | 2005-11-14 13:35:29 -0500 + RT-Ticket: 7136 + RT-Status: resolved + RT-Update: correspond + + Stuart Knight reports: + + As part of the "initdb" processing, the scripts went through and created a new database user, in my case called RT3. + + When it came time to create the tables, the script was still logged on as the dba user "system", so all of tables/sequences were created under "system"'s schema. + + I followed through the rt-setup-database script, and spotted that there was a database disconnect, followed by an immediate reconnect, as the same user. (in the case of Oracle this still being the "dba" account) + + Putting an extra validation check in here for Oracle, and then connecting as the intended database user fixed up the issue. + + +------------------------------------------------------------------------ +r4072 | alexmv | 2005-11-14 13:33:43 -0500 (Mon, 14 Nov 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Principal_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/t/regression/07rights.t + + r7135@zoq-fot-pik: chmrr | 2005-11-14 13:32:23 -0500 + RT-Ticket: 7101 + RT-Status: resolved + RT-Update: correspond + + * Don't modify EquivObjects arrayref, thanks to Todd Chapman + + +------------------------------------------------------------------------ +r4071 | jesse | 2005-11-14 13:21:29 -0500 (Mon, 14 Nov 2005) | 10 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in + M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm + A /rt/branches/3.4-RELEASE/lib/t/regression/14linking.t + + r18893@truegrounds: jesse | 2005-11-14 13:19:52 -0500 + RT-Ticket: 7128 + RT-Status: resolved + RT-Update: correspond + + A big patch from Todd Chapman (with lots of juicy tests) to optionally + create two transactions when you create a link. (Also, this means that we'll + run scrips twice). This is off by default in RT 3.4 + + +------------------------------------------------------------------------ +r4069 | jesse | 2005-11-14 12:55:46 -0500 (Mon, 14 Nov 2005) | 7 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/ScrubHTML + + r18888@truegrounds: jesse | 2005-11-14 12:54:25 -0500 + RT-Ticket: 7048 + RT-Status: resolved + RT-Update: correspond + + * Akos Torok pointed out that our HTML scrubber removed "PRE" tags from HTML + +------------------------------------------------------------------------ +r4065 | jesse | 2005-11-14 12:44:41 -0500 (Mon, 14 Nov 2005) | 9 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/README + + r18880@truegrounds: jesse | 2005-11-14 12:42:48 -0500 + RT-Ticket: 7081 + RT-Status: resolved + RT-Update: correspond + + * Added a note to the readme warning users to clean out the + mason cache on upgrades - Ruslan + + +------------------------------------------------------------------------ +r4064 | alexmv | 2005-11-14 12:43:06 -0500 (Mon, 14 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po + + r7122@zoq-fot-pik: chmrr | 2005-11-14 12:42:37 -0500 + * Updated russian translation from Andrew Kornilov + +------------------------------------------------------------------------ +r4063 | jesse | 2005-11-14 12:38:59 -0500 (Mon, 14 Nov 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/RT__Ticket/ColumnMap + + r18877@truegrounds: jesse | 2005-11-14 12:37:37 -0500 + RT-Ticket: 7087 + RT-Status: resolved + RT-Update: correspond + + Displayed linked tickets in search results were inverted + + +------------------------------------------------------------------------ +r4061 | robert | 2005-11-13 00:14:57 -0500 (Sun, 13 Nov 2005) | 9 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/Header + M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransactionAttachments + + r4124@bear: rspier | 2005-11-12 21:08:45 -0800 + Undefined Warning Elimination: + - index.html passes in $session{'home_refresh_interval'} which can be null. + + r4125@bear: rspier | 2005-11-12 21:14:28 -0800 + Undefined Warning Elimination: + GetHeader will return undefined when the header doesn't exist. (This is _good_, as that is different than empty.) + But.. =~ warns. + +------------------------------------------------------------------------ +r4060 | jesse | 2005-11-11 15:27:56 -0500 (Fri, 11 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in + + r18722@truegrounds: jesse | 2005-11-11 15:26:34 -0500 + * SB 1.35 dependency + +------------------------------------------------------------------------ +r4059 | jesse | 2005-11-11 00:12:49 -0500 (Fri, 11 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Groups_Overlay.pm + + r18716@truegrounds: jesse | 2005-11-11 00:10:08 -0500 + * fix from ruslan for fallout from his WhoHaveRight refactoring + +------------------------------------------------------------------------ +r4035 | jesse | 2005-11-06 17:15:18 -0500 (Sun, 06 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/releng.cnf + + r18412@truegrounds: jesse | 2005-11-06 17:13:58 -0500 + * Bumped to 3.4.5pre1 + +------------------------------------------------------------------------ +r4034 | jesse | 2005-11-06 17:15:06 -0500 (Sun, 06 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Groups_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Principal_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Users_Overlay.pm + + r18411@truegrounds: jesse | 2005-11-06 17:13:33 -0500 + * Patch to significantly improve performance on "WhoHaveRight" from Ruslan. + +------------------------------------------------------------------------ +r4033 | jesse | 2005-11-06 17:13:38 -0500 (Sun, 06 Nov 2005) | 4 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Attachments_Overlay.pm + + r18409@truegrounds: jesse | 2005-11-06 17:11:57 -0500 + * Fix to attachment ordering when you ask for a txn's attachments. + (Postgres doesn't default to ordering by id, so we were getting the wrong txn content) + +------------------------------------------------------------------------ +r4011 | pdh | 2005-11-01 00:43:02 -0500 (Tue, 01 Nov 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransactionAttachments + +Add a missing space, before the Style Police come after me. + + +------------------------------------------------------------------------ +r4010 | pdh | 2005-10-31 19:21:57 -0500 (Mon, 31 Oct 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransactionAttachments + +Make $RT::MaxInlineBody work properly. + + +------------------------------------------------------------------------ +r3989 | alexmv | 2005-10-24 17:26:18 -0400 (Mon, 24 Oct 2005) | 4 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/EditCustomField + M /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldSelect + + r6881@zoq-fot-pik: chmrr | 2005-10-24 17:25:14 -0400 + * Ensure custom fields keep correct fallback values; for instance, if + "add another attachment" is clicked + +------------------------------------------------------------------------ +r3967 | jesse | 2005-10-14 17:10:24 -0400 (Fri, 14 Oct 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm + + r17368@hualien: jesse | 2005-10-14 17:08:10 -0400 + * When Robert made the change to how CustomFieldValues works, he broke the API. Fixed + +------------------------------------------------------------------------ +r3966 | jesse | 2005-10-14 17:10:11 -0400 (Fri, 14 Oct 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm + + r17360@hualien: jesse | 2005-10-14 15:21:46 -0400 + * Perltidy + +------------------------------------------------------------------------ +r3958 | ruz | 2005-10-13 08:40:24 -0400 (Thu, 13 Oct 2005) | 1 line +Changed paths: + M /rt/branches/3.4-RELEASE/html/User/Elements/Tabs + +* new callback in html/User/Elements/Tabs +------------------------------------------------------------------------ +r3957 | ruz | 2005-10-13 08:37:47 -0400 (Thu, 13 Oct 2005) | 1 line +Changed paths: + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay_SQL.pm + +* code comments +------------------------------------------------------------------------ +r3948 | ruz | 2005-10-10 20:01:50 -0400 (Mon, 10 Oct 2005) | 1 line +Changed paths: + M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm + +* get rid of "not a number" warning +------------------------------------------------------------------------ +r3945 | ruz | 2005-10-10 15:47:29 -0400 (Mon, 10 Oct 2005) | 4 lines +Changed paths: + M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm + +backport of the 3.5-TESTING@3543 +Changes: +* fix attachments ordering + +------------------------------------------------------------------------ +r3944 | ruz | 2005-10-10 15:27:36 -0400 (Mon, 10 Oct 2005) | 15 lines +Changed paths: + M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay_SQL.pm + A /rt/branches/3.4-RELEASE/lib/t/regression/22search_tix_by_watcher.t + +backport of the 3.5-TESTING@3943 +Changes +* fix for search by owner's fields, now owner is WATCHERFIELD instead of ENUM +* added backward compatible variant for Owner, next searches should work +** Owner = '' +** Owner != '' +** Owner = '' +** Owner != '' +** for other operators or if subfield(subkey) is specified search works + as for other watchers +* Fix for searches like "Cc.Name <> 'SomeBody'", was skipping tickets + with empty Cc list. +* get rid of some unint warnings +* test suite for all corner cases + +------------------------------------------------------------------------ +r3938 | robert | 2005-10-07 00:20:15 -0400 (Fri, 07 Oct 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm + + r3995@bear: rspier | 2005-10-06 21:19:24 -0700 + [fsck.com #7067] - If we can't find a customfield that the user is allowed to see on a ticket, don't return any values, (when specifying a custom field) + +------------------------------------------------------------------------ +r3901 | alexmv | 2005-10-03 14:15:35 -0400 (Mon, 03 Oct 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/en.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/id.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/pl.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po + M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po + + r6568@zoq-fot-pik: chmrr | 2005-10-03 14:14:49 -0400 + * Header fixes in PO files to include correct RT version + +------------------------------------------------------------------------ +r3900 | alexmv | 2005-10-03 13:32:45 -0400 (Mon, 03 Oct 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po + + r6566@zoq-fot-pik: chmrr | 2005-10-03 13:28:24 -0400 + * Updated spanish translation, thanks to Carlos Velasco + +------------------------------------------------------------------------ +r3896 | alexmv | 2005-09-30 15:56:31 -0400 (Fri, 30 Sep 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Approvals/Elements/PendingMyApproval + + r6558@zoq-fot-pik: chmrr | 2005-09-30 15:56:06 -0400 + RT-Ticket: 7029 + RT-Status: resolved + RT-Update: correspond + + * Applied missing limit for AdminCcs, from Todd Chapman + + +------------------------------------------------------------------------ +r3895 | alexmv | 2005-09-30 15:19:57 -0400 (Fri, 30 Sep 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Elements/RT__Ticket/ColumnMap + + r6555@zoq-fot-pik: chmrr | 2005-09-30 15:18:22 -0400 + * Link to the *other* end of the link, not the one that is us + +------------------------------------------------------------------------ +r3894 | alexmv | 2005-09-30 15:19:46 -0400 (Fri, 30 Sep 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Search/Elements/BuildFormatString + + r6554@zoq-fot-pik: chmrr | 2005-09-30 15:16:47 -0400 + * Remove unused and deprecated code path (bugs 6605, 7008) + +------------------------------------------------------------------------ +r3893 | jesse | 2005-09-28 13:27:29 -0400 (Wed, 28 Sep 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE/html/Search/Results.tsv + +Switch from ->CustomFields to ->TicketCustomFields to stop using a deprecated API. + Thanks to T.J. Maciak + +------------------------------------------------------------------------ +r3892 | robert | 2005-09-28 12:16:03 -0400 (Wed, 28 Sep 2005) | 8 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm + + r3945@bear: rspier | 2005-09-28 09:15:08 -0700 + Performance Improvement when Sending Email using sendmailpipe - + + MIME::Entity would bog down in certain cases because of it's use of IO::Scalar during stringification. MIME::Entity will be switching to IO::ScalarArray, which will help... but RT was causing it to store into a temporary string anyway, which was silly. + + This change has MIME::Entity write directly to the pipe, which is a lot more efficient. Seems to cut out ~33% of user time. (Because we don't need to have a temporary IO::Scalar thingy around.) Also will reduce peak memory usage. + + +------------------------------------------------------------------------ +r3881 | jesse | 2005-09-23 15:39:36 -0400 (Fri, 23 Sep 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm + + r15970@hualien: jesse | 2005-09-23 15:37:43 -0400 + * Our algorithm for finding a fallback for transaction content wasn't trying hard enough. reported by John Gedeon. + +------------------------------------------------------------------------ +r3877 | alexmv | 2005-09-22 15:09:22 -0400 (Thu, 22 Sep 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm + M /rt/branches/3.4-RELEASE/lib/RT/Link_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Record.pm + M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm + M /rt/branches/3.4-RELEASE/lib/RT/Transactions_Overlay.pm + + r6458@zoq-fot-pik: chmrr | 2005-09-22 15:08:37 -0400 + * Add where the faulty caller was in deprecated warnings + +------------------------------------------------------------------------ +r3855 | jesse | 2005-09-16 12:26:10 -0400 (Fri, 16 Sep 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Search/Results.rdf + + r15770@hualien: jesse | 2005-09-16 12:23:15 -0400 + * The RSS feeds should come with a default subject, as feeds really want to have article titles in some clients + +------------------------------------------------------------------------ +r3854 | jesse | 2005-09-16 12:25:42 -0400 (Fri, 16 Sep 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/ACE_Overlay.pm + + r15749@hualien: jesse | 2005-09-15 11:14:56 -0400 + * It was possible to get into an infinite loop when removing a member from a group + +------------------------------------------------------------------------ +r3849 | jesse | 2005-09-13 12:07:54 -0400 (Tue, 13 Sep 2005) | 5 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Record.pm + + r15723@hualien: jesse | 2005-09-13 12:05:40 -0400 + * When pulling data out of the database, we need to be more careful + about whether it's utf8 or not. Thanks to Ruslan Zakirov + + +------------------------------------------------------------------------ +r3847 | glasser | 2005-09-12 18:11:43 -0400 (Mon, 12 Sep 2005) | 4 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/html/Search/Build.html + + r41532@maclaurin-seven-twelve: glasser | 2005-09-12 18:04:55 -0400 + Defining subs in Mason components is dangerous, since they clash with subs defined + in every other component. + +------------------------------------------------------------------------ +r3754 | robert | 2005-09-01 17:47:36 -0400 (Thu, 01 Sep 2005) | 10 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm + + r3800@bear: rspier | 2005-09-01 14:46:59 -0700 + RT-Ticket: 6986 + RT-Status: resolved + RT-Update: correspond + + If we didn't generate any SQL, don't pass it to FromSQL which will reset the dirty flag and then SB won't actually run anything. + + Also, tests. + + +------------------------------------------------------------------------ +r3739 | robert | 2005-08-31 16:46:16 -0400 (Wed, 31 Aug 2005) | 3 lines +Changed paths: + M /rt/branches/3.4-RELEASE + M /rt/branches/3.4-RELEASE/configure.ac + + r3748@woof: rspier | 2005-08-31 13:41:53 -0700 + Check for invalid character (-) in mysql database names and prevent RT from allowing it to be configured. -Tagged as 3.4.4 by svn RelEng 1.0 ------------------------------------------------------------------------ r3728 | jesse | 2005-08-28 15:44:18 -0400 (Sun, 28 Aug 2005) | 3 lines Changed paths: diff --git a/rt/README b/rt/README index caead27c5..76e9ea81f 100755 --- a/rt/README +++ b/rt/README @@ -147,6 +147,13 @@ want to read a more comprehensive installation guide at: /opt/rt3/sbin/rt-setup-database --action insert \ --datadir etc/upgrade/ + Clear mason cache dir: + + rm -fr /opt/rt3/var/mason_data/obj + + Stop and start web-server. + + 8 If you're upgrading from RT 2.0: Please upgrade from RT 2.0 to RT 3.2 and then follow the instructions diff --git a/rt/configure b/rt/configure index 395fc0b19..b1c5bba71 100755 --- a/rt/configure +++ b/rt/configure @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.ac Revision: 3070 . +# From configure.ac Revision: 3739 . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for RT 3.4.4. +# Generated by GNU Autoconf 2.59 for RT 3.4.5. # # Report bugs to . # @@ -270,13 +270,13 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='RT' PACKAGE_TARNAME='rt' -PACKAGE_VERSION='3.4.4' -PACKAGE_STRING='RT 3.4.4' +PACKAGE_VERSION='3.4.5' +PACKAGE_STRING='RT 3.4.5' PACKAGE_BUGREPORT='rt-bugs@fsck.com' ac_unique_file="lib/RT.pm.in" ac_default_prefix=/opt/rt3 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS rt_version_major rt_version_minor rt_version_patch INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PERL SPEEDY_BIN exp_prefix exp_exec_prefix exp_bindir exp_sbindir exp_sysconfdir exp_mandir exp_libdir exp_datadir htmldir exp_htmldir manualdir exp_manualdir exp_localstatedir logfiledir exp_logfiledir masonstatedir exp_masonstatedir sessionstatedir exp_sessionstatedir customdir exp_customdir custometcdir exp_custometcdir customhtmldir exp_customhtmldir customlexdir exp_customlexdir customlibdir exp_customlibdir rt_layout_name BIN_OWNER LIBS_OWNER LIBS_GROUP DB_TYPE DATABASE_ENV_PREF DB_HOST DB_PORT DB_RT_HOST DB_DBA DB_DATABASE DB_RT_USER DB_RT_PASS WEB_USER WEB_GROUP RTGROUP APACHECTL RT_DEVEL_MODE RT_VERSION_MAJOR RT_VERSION_MINOR RT_VERSION_PATCH RT_PATH RT_DOC_PATH RT_LOCAL_PATH RT_LIB_PATH RT_ETC_PATH CONFIG_FILE_PATH RT_BIN_PATH RT_SBIN_PATH RT_VAR_PATH RT_MAN_PATH MASON_DATA_PATH MASON_SESSION_PATH MASON_HTML_PATH LOCAL_ETC_PATH MASON_LOCAL_HTML_PATH LOCAL_LEXICON_PATH LOCAL_LIB_PATH DESTDIR RT_LOG_PATH LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS rt_version_major rt_version_minor rt_version_patch INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK PERL SPEEDY_BIN exp_prefix exp_exec_prefix exp_bindir exp_sbindir exp_sysconfdir exp_mandir exp_libdir exp_datadir htmldir exp_htmldir manualdir exp_manualdir exp_localstatedir logfiledir exp_logfiledir masonstatedir exp_masonstatedir sessionstatedir exp_sessionstatedir customdir exp_customdir custometcdir exp_custometcdir customhtmldir exp_customhtmldir customlexdir exp_customlexdir customlibdir exp_customlibdir rt_layout_name BIN_OWNER LIBS_OWNER LIBS_GROUP DB_TYPE DATABASE_ENV_PREF DB_HOST DB_PORT DB_RT_HOST DB_DBA DB_DATABASE DB_RT_USER DB_RT_PASS WEB_USER WEB_GROUP RTGROUP APACHECTL RT_DEVEL_MODE RT_VERSION_MAJOR RT_VERSION_MINOR RT_VERSION_PATCH RT_PATH RT_DOC_PATH RT_LOCAL_PATH RT_LIB_PATH RT_ETC_PATH CONFIG_FILE_PATH RT_BIN_PATH RT_SBIN_PATH RT_VAR_PATH RT_MAN_PATH MASON_DATA_PATH MASON_SESSION_PATH MASON_HTML_PATH LOCAL_ETC_PATH MASON_LOCAL_HTML_PATH LOCAL_LEXICON_PATH LOCAL_LIB_PATH DESTDIR RT_LOG_PATH LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -729,7 +729,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures RT 3.4.4 to adapt to many kinds of systems. +\`configure' configures RT 3.4.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -786,7 +786,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of RT 3.4.4:";; + short | recursive ) echo "Configuration of RT 3.4.5:";; esac cat <<\_ACEOF @@ -927,7 +927,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -RT configure 3.4.4 +RT configure 3.4.5 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -941,7 +941,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by RT $as_me 3.4.4, which was +It was created by RT $as_me 3.4.5, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1283,7 +1283,7 @@ rt_version_major=3 rt_version_minor=4 -rt_version_patch=4 +rt_version_patch=5 test "x$rt_version_major" = 'x' && rt_version_major=0 test "x$rt_version_minor" = 'x' && rt_version_minor=0 @@ -1393,6 +1393,46 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$AWK" && break +done + # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 @@ -1998,6 +2038,24 @@ if test "${with_my_user_group+set}" = set; then WEB_GROUP=$my_group fi; +# Test for valid database names +if test "$DB_TYPE" == "mysql" ; then + echo "$as_me:$LINENO: checking if database name is valid" >&5 +echo $ECHO_N "checking if database name is valid... $ECHO_C" >&6 + if echo $DB_DATABASE | $AWK '/-/ { exit 1 }' ; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + { { echo "$as_me:$LINENO: error: no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" >&5 +echo "$as_me: error: no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" >&2;} + { (exit 1); exit 1; }; } + +fi + + + +fi + @@ -2465,7 +2523,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by RT $as_me 3.4.4, which was +This file was extended by RT $as_me 3.4.5, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2520,7 +2578,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -RT config.status 3.4.4 +RT config.status 3.4.5 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -2726,6 +2784,7 @@ s,@rt_version_patch@,$rt_version_patch,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@AWK@,$AWK,;t t s,@PERL@,$PERL,;t t s,@SPEEDY_BIN@,$SPEEDY_BIN,;t t s,@exp_prefix@,$exp_prefix,;t t diff --git a/rt/configure.ac b/rt/configure.ac index 1d0b95f51..0d38ba482 100644 --- a/rt/configure.ac +++ b/rt/configure.ac @@ -3,11 +3,11 @@ dnl dnl Process this file with autoconf to produce a configure script dnl dnl Embed in generated ./configure script the following CVS info: -AC_REVISION($Revision: 1.1.1.5 $)dnl +AC_REVISION($Revision: 1.1.1.6 $)dnl dnl Setup autoconf AC_PREREQ(2.53) -AC_INIT(RT, [3.4.4], [rt-bugs@fsck.com]) +AC_INIT(RT, [3.4.5], [rt-bugs@fsck.com]) AC_CONFIG_SRCDIR([lib/RT.pm.in]) dnl Extract RT version number components @@ -23,6 +23,7 @@ test "x$rt_version_patch" = 'x' && rt_version_patch=0 dnl Check for programs AC_PROG_INSTALL +AC_PROG_AWK AC_ARG_VAR([PERL],[Perl interpreter command]) AC_PATH_PROG([PERL], [perl], [not found]) if test "$PERL" = 'not found'; then @@ -213,6 +214,15 @@ AC_ARG_WITH(my-user-group, WEB_USER=$my_user WEB_GROUP=$my_group) +# Test for valid database names +AS_IF([ test "$DB_TYPE" == "mysql" ], + [ AC_MSG_CHECKING([if database name is valid]) + AS_IF([ echo $DB_DATABASE | $AWK '/-/ { exit 1 }' ], + [ AC_MSG_RESULT([yes]) ], + [ AC_MSG_ERROR([no. database name ($DB_DATABASE) contains '-' which is not valid for mysql]) ] + ) + ] + ) dnl Set the value of apachectl diff --git a/rt/etc/RT_Config.pm.in b/rt/etc/RT_Config.pm.in index 773e3e2dc..10d46eb50 100644 --- a/rt/etc/RT_Config.pm.in +++ b/rt/etc/RT_Config.pm.in @@ -35,16 +35,16 @@ Set($rtname , "example.com"); # token matching and that you should use only "non-capturing" parenthesis # grouping. For example: # -# Set($EmailSubjectTagRegex, qr/(?:example.com|example.org)/ ); +# Set($EmailSubjectTagRegex, qr/(?:example.com|example.org)/i ); # # and NOT # -# Set($EmailSubjectTagRegex, qr/(example.com|example.org)/ ); +# Set($EmailSubjectTagRegex, qr/(example.com|example.org)/i ); # # This setting would make RT behave exactly as it does without the # setting enabled. # -# Set($EmailSubjectTagRegex, qr/\Q$rtname\E/ ); +# Set($EmailSubjectTagRegex, qr/\Q$rtname\E/i ); @@ -210,6 +210,11 @@ Set($MailCommand , 'sendmailpipe'); # These options are good for most sendmail wrappers and workalikes Set($SendmailArguments , "-oi -t"); +# $SendmailBounceArguments defines what flags to pass to $Sendmail +# assuming RT needs to send an error (ie. bounce). + +Set($SendmailBounceArguments , '-f "<>"'); + # These arguments are good for sendmail brand sendmail 8 and newer #Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m"); @@ -468,6 +473,11 @@ Set($AmbiguousDayInPast , 1); @ActiveStatus = qw(new open stalled) unless @ActiveStatus; @InactiveStatus = qw(resolved rejected deleted) unless @InactiveStatus; +# Backward compatability setting. Add/Delete Link used to record one +# transaction and run one scrip. Set this value to 0 if you want +# both link transactions to have a scrip run. +Set($LinkTransactionsRun1Scrip , 1); + # }}} diff --git a/rt/html/Approvals/Elements/PendingMyApproval b/rt/html/Approvals/Elements/PendingMyApproval index f13ddf0f3..8d19399ab 100644 --- a/rt/html/Approvals/Elements/PendingMyApproval +++ b/rt/html/Approvals/Elements/PendingMyApproval @@ -77,6 +77,7 @@ $tickets->LimitOwner( VALUE => $session{'CurrentUser'}->Id ); # also consider AdminCcs as potential approvers. my $group_tickets = RT::Tickets->new( $session{'CurrentUser'} ); +$group_tickets->LimitWatcher( VALUE => $session{'CurrentUser'}->UserObj->EmailAddress, TYPE => 'AdminCc' ); my $created_before = RT::Date->new( $session{'CurrentUser'} ); my $created_after = RT::Date->new( $session{'CurrentUser'} ); diff --git a/rt/html/Elements/Callback b/rt/html/Elements/Callback index 937e923a1..c7aeb9f5d 100644 --- a/rt/html/Elements/Callback +++ b/rt/html/Elements/Callback @@ -68,14 +68,14 @@ if (!$callbacks) { push @$callbacks, # Skip backup files, files without a leading package name, # and files we've already seen - grep { !/^\.|~$/ + grep { !/\/\.|~$/ and $_ ne "/Callbacks/$Page/$_CallbackName" and not $seen{$_}++ } $m->interp->resolver->glob_path($path, $root); } $m->notes($CacheKey => $callbacks); - $cache{$Page,$_CallbackName} = $callbacks if !$RT::DevelMode; + $cache{$CacheKey} = $callbacks if !$RT::DevelMode; } my @rv; diff --git a/rt/html/Elements/CollectionAsTable/Row b/rt/html/Elements/CollectionAsTable/Row index 3316bc027..0de362ea8 100644 --- a/rt/html/Elements/CollectionAsTable/Row +++ b/rt/html/Elements/CollectionAsTable/Row @@ -71,6 +71,7 @@ foreach my $column (@Format) { $item++; $m->out('
> + <%$topactions->{"$action"}->{'html'} |n %>
out( 'align="' . $column->{align} . '"' ) if ( $column->{align} ); + $m->out( 'style="' . $column->{style} . '"' ) if ( $column->{style} ); $m->out('>'); foreach my $subcol ( @{ $column->{output} } ) { if ( $subcol =~ /^__(.*?)__$/o ) { diff --git a/rt/html/Elements/EditCustomField b/rt/html/Elements/EditCustomField index d2398c9da..e443c764e 100644 --- a/rt/html/Elements/EditCustomField +++ b/rt/html/Elements/EditCustomField @@ -49,6 +49,10 @@ if ($Object) { $Values = $Object->CustomFieldValues($CustomField->id); $Values->Columns( qw( id CustomField ObjectType ObjectId Disabled Content ContentType ContentEncoding ) ); $NamePrefix ||= join('-', 'Object', ref($Object), $Object->Id, 'CustomField', ''); +} elsif (not $Default) { + my %TOP = $m->request_args; + $Default = $TOP{ $NamePrefix .$CustomField->Id . '-Values' } + || $TOP{ $NamePrefix .$CustomField->Id . '-Value' }; } my $Type = $CustomField->Type; diff --git a/rt/html/Elements/EditCustomFieldSelect b/rt/html/Elements/EditCustomFieldSelect index db33a6839..2a2a64a1d 100644 --- a/rt/html/Elements/EditCustomFieldSelect +++ b/rt/html/Elements/EditCustomFieldSelect @@ -53,7 +53,8 @@ % if ($Values) { <% $Values->HasEntry($value->Name) && ($selected = 1) && 'SELECTED' %> % } elsif ($Default) { - <% ($Default eq $value->Name) && ($selected = 1) && 'SELECTED' %> + <% (ref $Default ? (grep {$_ eq $value->Name} @{$Default}) : ($Default eq $value->Name)) + && ($selected = 1) && 'SELECTED' %> % } ><% $value->Name%> % } diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header index 8c3775bba..f5a616ece 100644 --- a/rt/html/Elements/Header +++ b/rt/html/Elements/Header @@ -47,12 +47,14 @@ <%$Title%> -% if ($Refresh > 0) { +% if ($Refresh && $Refresh > 0) { % } - - + + + +
-Advanced +Advanced diff --git a/rt/html/Elements/FreesideSvcSearch b/rt/html/Elements/FreesideSvcSearch index e9ad56426..4a5942421 100644 --- a/rt/html/Elements/FreesideSvcSearch +++ b/rt/html/Elements/FreesideSvcSearch @@ -1,4 +1,4 @@ -
+
- Advanced + Advanced
-- cgit v1.2.1 From 7fd9cc184b77a6aafb3bb431d84ae835359646a3 Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 16 Jan 2007 17:39:59 +0000 Subject: RT vs Pg8 (ticket 1364) --- rt/FREESIDE_MODIFIED | 1 + rt/etc/schema.Pg | 110 ++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 88 insertions(+), 23 deletions(-) (limited to 'rt') diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index 1b0c47c06..6ba04731e 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -2,6 +2,7 @@ config.layout config.layout.in etc/RT_SiteConfig.pm + etc/schema.Pg lib/RT/Interface/Web_Vendor.pm lib/RT/URI/freeside.pm lib/RT/URI/freeside/Internal.pm diff --git a/rt/etc/schema.Pg b/rt/etc/schema.Pg index ba0d6fc6c..6beb19d9c 100755 --- a/rt/etc/schema.Pg +++ b/rt/etc/schema.Pg @@ -3,9 +3,12 @@ -- ------------------------------------------------------------------ -BEGIN; - - +-- +-- Deal with changed defaults of Pg 8.x +-- +SELECT CASE WHEN version() like '%PostgreSQL 8%" THEN + set_config('default_with_oids','on','f') +END; -- @@ -60,7 +63,7 @@ CREATE TABLE Queues ( Created TIMESTAMP NULL , LastUpdatedBy integer NOT NULL DEFAULT 0 , LastUpdated TIMESTAMP NULL , - Disabled int2 NOT NULL DEFAULT 0 , + Disabled integer NOT NULL DEFAULT 0 , PRIMARY KEY (id) ); @@ -93,6 +96,7 @@ CREATE TABLE Links ( ); CREATE UNIQUE INDEX Links1 ON Links (Base, Target, Type) ; +CREATE INDEX Links4 ON Links(Type,LocalBase); -- }}} @@ -110,7 +114,7 @@ CREATE TABLE Principals ( id INTEGER DEFAULT nextval('principals_id_seq') not null, PrincipalType VARCHAR(16) not null, ObjectId integer, - Disabled int2 NOT NULL DEFAULT 0 , + Disabled integer NOT NULL DEFAULT 0 , PRIMARY KEY (id) ); @@ -136,7 +140,7 @@ CREATE TABLE Groups ( Description varchar(255) NULL , Domain varchar(64), Type varchar(64), - Instance varchar(64), + Instance integer, PRIMARY KEY (id) ); @@ -185,22 +189,24 @@ CREATE SEQUENCE transactions_id_seq; CREATE TABLE Transactions ( id INTEGER DEFAULT nextval('transactions_id_seq'), - EffectiveTicket integer NOT NULL DEFAULT 0 , - Ticket integer NOT NULL DEFAULT 0 , + ObjectType varchar(255) NOT NULL , + ObjectId integer NOT NULL DEFAULT 0 , TimeTaken integer NOT NULL DEFAULT 0 , Type varchar(20) NULL , Field varchar(40) NULL , OldValue varchar(255) NULL , NewValue varchar(255) NULL , - Data varchar(100) NULL , + ReferenceType varchar(255) NULL, + OldReference integer NULL , + NewReference integer NULL , + Data varchar(255) NULL , Creator integer NOT NULL DEFAULT 0 , Created TIMESTAMP NULL , PRIMARY KEY (id) ); -CREATE INDEX Transactions1 ON Transactions (Ticket); -CREATE INDEX Transactions2 ON Transactions (EffectiveTicket); +CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId); -- }}} @@ -301,7 +307,7 @@ CREATE TABLE CachedGroupMembers ( MemberId int, Via int, ImmediateParentId int, - Disabled int2 NOT NULL DEFAULT 0 , + Disabled integer NOT NULL DEFAULT 0 , PRIMARY KEY (id) ); @@ -408,7 +414,7 @@ CREATE TABLE Tickets ( LastUpdated TIMESTAMP NULL , Creator integer NOT NULL DEFAULT 0 , Created TIMESTAMP NULL , - Disabled int2 NOT NULL DEFAULT 0 , + Disabled integer NOT NULL DEFAULT 0 , PRIMARY KEY (id) ); @@ -476,7 +482,7 @@ CREATE TABLE Templates ( -- }}} --- {{{ TicketCustomFieldValues +-- {{{ ObjectCustomFieldValues @@ -484,22 +490,32 @@ CREATE TABLE Templates ( -- Sequences for table TICKETCUSTOMFIELDVALUES -- -CREATE SEQUENCE ticketcustomfieldvalues_id_s; +CREATE SEQUENCE objectcustomfieldvalues_id_s; -CREATE TABLE TicketCustomFieldValues ( - id INTEGER DEFAULT nextval('ticketcustomfieldvalues_id_s'), - Ticket int NOT NULL , +CREATE TABLE ObjectCustomFieldValues ( + id INTEGER DEFAULT nextval('objectcustomfieldvalues_id_s'), CustomField int NOT NULL , + ObjectType varchar(255) NULL , + ObjectId int NOT NULL , + SortOrder integer NOT NULL DEFAULT 0 , + Content varchar(255) NULL , + LargeContent text NULL, + ContentType varchar(80) NULL, + ContentEncoding varchar(80) NULL , Creator integer NOT NULL DEFAULT 0 , Created TIMESTAMP NULL , LastUpdatedBy integer NOT NULL DEFAULT 0 , LastUpdated TIMESTAMP NULL , + Disabled integer NOT NULL DEFAULT 0 , PRIMARY KEY (id) ); +CREATE INDEX ObjectCustomFieldValues1 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId,Content); +CREATE INDEX ObjectCustomFieldValues2 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId); + -- }}} -- {{{ CustomFields @@ -516,7 +532,10 @@ CREATE TABLE CustomFields ( id INTEGER DEFAULT nextval('customfields_id_seq'), Name varchar(200) NULL , Type varchar(200) NULL , - Queue integer NOT NULL DEFAULT 0 , + MaxValues integer NOT NULL DEFAULT 0 , + Repeated integer NOT NULL DEFAULT 0 , + Pattern varchar(255) NULL , + LookupType varchar(255) NOT NULL , Description varchar(255) NULL , SortOrder integer NOT NULL DEFAULT 0 , @@ -524,7 +543,27 @@ CREATE TABLE CustomFields ( Created TIMESTAMP NULL , LastUpdatedBy integer NOT NULL DEFAULT 0 , LastUpdated TIMESTAMP NULL , - Disabled int2 NOT NULL DEFAULT 0 , + Disabled integer NOT NULL DEFAULT 0 , + PRIMARY KEY (id) + +); + +-- }}} + +-- {{{ ObjectCustomFields + +CREATE SEQUENCE objectcustomfields_id_s; + +CREATE TABLE ObjectCustomFields ( + id INTEGER DEFAULT nextval('objectcustomfields_id_s'), + CustomField integer NOT NULL, + ObjectId integer NOT NULL, + SortOrder integer NOT NULL DEFAULT 0 , + + Creator integer NOT NULL DEFAULT 0 , + Created TIMESTAMP NULL , + LastUpdatedBy integer NOT NULL DEFAULT 0 , + LastUpdated TIMESTAMP NULL , PRIMARY KEY (id) ); @@ -556,6 +595,34 @@ CREATE TABLE CustomFieldValues ( ); +CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField); + +-- }}} + + +-- {{{ Attributes + +CREATE SEQUENCE attributes_id_seq; + +CREATE TABLE Attributes ( + id INTEGER DEFAULT nextval('attributes_id_seq'), + Name varchar(255) NOT NULL , + Description varchar(255) NULL , + Content text, + ContentType varchar(16), + ObjectType varchar(64), + ObjectId integer, + Creator integer NOT NULL DEFAULT 0 , + Created TIMESTAMP NULL , + LastUpdatedBy integer NOT NULL DEFAULT 0 , + LastUpdated TIMESTAMP NULL , + PRIMARY KEY (id) + +); + +CREATE INDEX Attributes1 on Attributes(Name); +CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId); + -- }}} -- {{{ Sessions @@ -573,6 +640,3 @@ CREATE TABLE sessions ( -- }}} - - -COMMIT; -- cgit v1.2.1 From f849597b839a3ce1f497b35fa17f39ff66d39e30 Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 16 Jan 2007 21:36:16 +0000 Subject: revert unnecessary changes for ticket 1364 --- rt/FREESIDE_MODIFIED | 1 - rt/etc/schema.Pg | 6 ------ 2 files changed, 7 deletions(-) (limited to 'rt') diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index 6ba04731e..1b0c47c06 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -2,7 +2,6 @@ config.layout config.layout.in etc/RT_SiteConfig.pm - etc/schema.Pg lib/RT/Interface/Web_Vendor.pm lib/RT/URI/freeside.pm lib/RT/URI/freeside/Internal.pm diff --git a/rt/etc/schema.Pg b/rt/etc/schema.Pg index 6beb19d9c..2d45a946a 100755 --- a/rt/etc/schema.Pg +++ b/rt/etc/schema.Pg @@ -3,12 +3,6 @@ -- ------------------------------------------------------------------ --- --- Deal with changed defaults of Pg 8.x --- -SELECT CASE WHEN version() like '%PostgreSQL 8%" THEN - set_config('default_with_oids','on','f') -END; -- -- cgit v1.2.1 From a5d07d949a9ef3e57694a49a60e5a393c350a42f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 21 Jan 2007 13:42:42 +0000 Subject: add dependancy on DBIx::SB 1.36 for Pg 8.1+ --- rt/FREESIDE_MODIFIED | 1 + rt/lib/RT/SearchBuilder.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index 1b0c47c06..7e6d8df47 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -3,6 +3,7 @@ config.layout config.layout.in etc/RT_SiteConfig.pm lib/RT/Interface/Web_Vendor.pm +lib/RT/SearchBuilder.pm #need DBIx::SearchBuilder >= 1.36 for Pg 8.1+ lib/RT/URI/freeside.pm lib/RT/URI/freeside/Internal.pm lib/RT/URI/freeside/XMLRPC.pm diff --git a/rt/lib/RT/SearchBuilder.pm b/rt/lib/RT/SearchBuilder.pm index 3de9fc265..b6d980d4a 100644 --- a/rt/lib/RT/SearchBuilder.pm +++ b/rt/lib/RT/SearchBuilder.pm @@ -68,7 +68,7 @@ ok (require RT::SearchBuilder); package RT::SearchBuilder; use RT::Base; -use DBIx::SearchBuilder; +use DBIx::SearchBuilder 1.36; use strict; use vars qw(@ISA); -- cgit v1.2.1