Update to version 3.4.6.

Features:

New config option 'OldestTransactionsFirst'.
By default, RT shows newest transactions at the bottom
of the ticket history page, if you want see them
at the top set this to 0.

Email plugin may return special constant to indicate
that it's done requested action and RT shouldn't
run default action handling code.
See also RT::Interface::Email.

Added support for timezones in RT::Date::SetToMidnight
method, this allowed us to fix problems with searches
by date.

Applied David Schweikert's patch that adds the useful
LastUpdated field to the fields returned through
the REST interface.

Added a "RH" RedHat layout option to config.layout.
Thanks to Paulo Matos.

New command line options in the rt-crontool script:
* add --transaction argument with two possible
   values: 'first' and 'last'
* add --transaction-type argument to allow a user
   to select type of transaction, for example
   'Correspond' or 'Comment'.
With these changes crontool can send notifications
and other actions which need access to transaction
object.

New callbacks in html/Ticket/Elements/ShowSummary:
LeftColumn and RightColumn.

Display a custom field value without lists HTML markup
when a ticket has only one value for the custom field.

Add additional HTML classes to the cells in
Ticket/Elements/ShowBasics and Ticket/Elements/ShowDates
mason templates.

Fixes:

Don't die any more on error during custom fields
creation in rt-setup-database, but report and
continue with next object.

Dropped 'exit' call in exceptions handling code.

Fixed untake operation during tickets transfer
between queues when an owner has no right to own
the ticket in the destination queue and the
current user is different person. Note in new
implementation we write untake tansaction from
RT_System user.

Fixed problem when RT were failing with error:
"Couldn't call method IsLocal on undefined value".

Got rid of some noisy warnings and cleaned up
some code.

Fixed attchments loosing during next steps:
     1) open ticket #1
     2) click reply
     3) upload attachment
     4) open ticket #2 in another browser window
     5) send reply to the ticket #1
RT was loosing uploaded attachment due to step 4) as RT.

Finding disabled groups should actually find them, now.

Fixed `rt ls -l` when RT server isn't at /.
Thanks to Mark Eichin.

Reed Loden caught a perltidy error that, somewhat
terrifiyingly, was still a valid mason page.

People may saw error "Could not convert attachment
from assumed utf8 to ''" in the log. We don't even
try to convert any more when target encoding is empty.

Fixed maxsize attribute of input fields for subject.
In DB we have limit 200, but these tags were set to
old value of 100.

Backported fix for TimeTaken updates. RT could call
method _UpdateTimeTaken on record objects that have
no such method.

Fixed RT failures under mod_perl2 with Oracle database.

In QuickCreate element now we use SelectNewTicketQueue
instead of SelectQueue.

Fixed problems on server start up with error message
'Not root path(s) specified'.

Now we load only required regular expressions from
Regexp::Common namespace.

In RT::Tickets::_EnumLimit now we load referenced object
only if value is defined and is not number, this avoid
several fetches from caches or in worst case from DB.
Use this advantage in Quicksearch element, change in
"RT at glance" load time should be noticable on systems
with many queues.

Added handling for all possible errors in
the RT::Action::SendEmail module.

Improved handling of errors in the RT::Template class.

In the RT::Group method 'crit' was being called on
the wrong object. Thanks to Todd Chapman

Allow an administrator to add 0(zero) as a custom field
value.

Fixed decoding of MIME headers, this chould should fix:
* problems with non-ascii names of attachments
* problems with partly encoded fields with '=' chars
   in not encoded parts, for example:
     X-MyHeader: key="plain"; key="=?encoded?="
     X-MyHeader: key="=?encoded?="; key="plain"

Fixed RT::Transaction::OldValue and ::NewValue in situations
when values of {Old,New}Reference fileds are false. You may
saw effect of this bug in a ticket's history saying that
custom field value was changed from "random" value to the
XXX instead of expected "custom field was set to XXX value".

Todd Chapman discovered a case where RT's mail gateway would
default to the RT::SystemUser if no valid 'From' header were
found. This could allow a malicious user to create tickets or
reply to tickets, but not to gain access to data.

Localization:

Updated German translation. Thanks to Torsten Brumm.
This commit is contained in:
cube 2007-11-13 02:40:06 +00:00
parent f409c5285e
commit b50c15d7a9
3 changed files with 10 additions and 12 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.25 2007/07/04 20:54:39 jlam Exp $
# $NetBSD: Makefile,v 1.26 2007/11/13 02:40:06 cube Exp $
DISTNAME= rt-3.4.5
PKGREVISION= 4
DISTNAME= rt-3.4.6
CATEGORIES= devel
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
@ -12,7 +11,6 @@ COMMENT= Industrial-grade ticketing system
.include "options.mk"
USE_TOOLS+= perl:run
REPLACE_PERL+= rt-dump-database rt-setup-database rt-test-dependencies
# Core dependencies:
DEPENDS+= p5-Digest-[0-9]*:../../security/p5-Digest
@ -38,6 +36,7 @@ DEPENDS+= p5-Text-Quoted>=1.5:../../textproc/p5-Text-Quoted
DEPENDS+= p5-Tree-Simple>=1.04:../../devel/p5-Tree-Simple
DEPENDS+= p5-Module-Versions-Report-[0-9]*:../../devel/p5-Module-Versions-Report
DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple
DEPENDS+= p5-UNIVERSAL-require>=0.11:../../devel/p5-UNIVERSAL-require
# Mason dependencies:
DEPENDS+= p5-Params-Validate>=0.02:../../devel/p5-Params-Validate

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.6 2006/10/01 18:44:57 rillig Exp $
@comment $NetBSD: PLIST,v 1.7 2007/11/13 02:40:06 cube Exp $
bin/mason_handler.fcgi
${IF_SPEEDYCGI}bin/mason_handler.scgi
bin/mason_handler.svc
@ -191,6 +191,7 @@ lib/rt3/t/regression/02basic_web.t
lib/rt3/t/regression/03web_compiliation_errors.t
lib/rt3/t/regression/04send_email.t
lib/rt3/t/regression/05cronsupport.t
lib/rt3/t/regression/06-mime_decoding.t
lib/rt3/t/regression/06mailgateway.t
lib/rt3/t/regression/07acl.t
lib/rt3/t/regression/07rights.t
@ -211,6 +212,7 @@ lib/rt3/t/regression/20savedsearch.t
lib/rt3/t/regression/21query-builder.t
lib/rt3/t/regression/22search_tix_by_txn.t
lib/rt3/t/regression/22search_tix_by_watcher.t
lib/rt3/t/regression/23-web_attachments.t
lib/rt3/t/regression/mime_tests
lib/rt3/t/setup_regression.t
sbin/rt-dump-database

View file

@ -1,10 +1,7 @@
$NetBSD: distinfo,v 1.7 2006/06/03 10:40:34 seb Exp $
$NetBSD: distinfo,v 1.8 2007/11/13 02:40:06 cube Exp $
SHA1 (rt-3.4.5.tar.gz) = a2609ffc168829a179bea70006e57aee6d6367f9
RMD160 (rt-3.4.5.tar.gz) = aa86f6cd4039ce6f6fdfaabf0e2807e93d0786b5
Size (rt-3.4.5.tar.gz) = 1410154 bytes
SHA1 (rt-3.4.6.tar.gz) = 853555eebafbaacedfa88093f57cd4adf43b4e63
RMD160 (rt-3.4.6.tar.gz) = 58d35f69c74772fa95b08ec1f4e778cff63b037f
Size (rt-3.4.6.tar.gz) = 1423027 bytes
SHA1 (patch-aa) = 4d29c290658144dcd7aa08d87649681dd2549b43
SHA1 (patch-ac) = efa7095fe10e313a1578a1d739a8e77244c2ba6e
SHA1 (patch-ad) = 29b9d65af7c3e9357e0c3882493ce48fe26a5cc7
SHA1 (patch-ae) = 42c83677004d045b6ae7d8eadc4fbb9c8062cb64
SHA1 (patch-af) = 33f6c98c1db16bfb0c438cf2c03ee9f353b6ee33