Commit graph

39 commits

Author SHA1 Message Date
cube
433b2815fa Pull up a change from 3.6.5 to support MIME-tools > 5.420.
PR#37372 by Jon Bailey.

No version bump:  riding the update 5 minutes ago.
2007-11-13 02:52:06 +00:00
cube
b50c15d7a9 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.
2007-11-13 02:40:06 +00:00
cube
23aea700c0 Reap undead patches. 2007-08-09 20:57:18 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
wiz
0697770977 Replace perl interpreter in some files. From Sergey Svishchev. 2007-05-19 14:05:45 +00:00
cube
207e4583d6 Don't install rt-crontool twice. Apparently Linux's install is not happy
about that.

Pointed out by Hugh Brown in pkg/35518.
2007-01-30 07:10:46 +00:00
rillig
bdba6495e7 Made the dependency to SpeedyCGI optional, disabled by default. Bumped
PKGREVISION.
2006-10-01 18:44:57 +00:00
rillig
d645248346 Depends on SpeedyCGI to resolve the path to the interpreter correctly.
Fixed the permissions of the installed files. Bumped PKGREVISION.
2006-10-01 14:24:30 +00:00
cube
0224caf2b6 Remove dependency on Apachte::Test. It's not really necessary and cause
dependency headaches because of mod_perl2.

ok'd by wiz@ during freeze.
2006-09-29 23:38:46 +00:00
cube
bd04f30a31 Add USE_TOOLS+=perl:run, which is kind of required from now on for packages
using Perl.  It makes rt3 configure again.

Bug reported by schmonz@, fixed by jlam@.
2006-07-07 21:32:35 +00:00
seb
10353c0828 Install sbin/rt-dump-database script.
Apply fix from
http://svn.bestpractical.com/cgi-bin/index.cgi/bps/revision?rev=5218
<< * get rid of "masks earlier declaration" warnings >>

Bump PKGREVISION to 1.

Approved by MAINTAINER.
2006-06-03 10:40:34 +00:00
cube
815638bde5 Fix RT_I18N_DIR, which unbreaks devel/RTFM. No bump required because only
RTFM uses that value.
2006-05-06 07:14:45 +00:00
cube
2ec97b6708 Update rt3 to version 3.4.5. This is _not_ an easy update, although the
changes are apparently minor to a end user (but not for the site
administrator).

It'd very hard and very long to provide a full list of changes.  The main
changes in RT 3.4 are a complete rework of how Custom Fields are handled,
which means there is a lot more flexibility in that area now (including
Custom Fields for users, per-queue, per-transaction).  RT 3.4 is also
supposed to be faster, which certainly is no bad news.

Another bonus of RT 3.4 are the availability of extensions, and I will
commit RTx::Shredder and RTx::RightsMatrix very soon.

Updating RT is not an easy task, be sure to backup your database, and don't
forget to grant the new rights to relevant people.

In pkgsrc, rt3 is also seeing a few changes.  The main one is the situation
of the "local" path, which is now set to /var/rt3, which seems less lame to
me than the previous value.  It could be debated, though.
2006-05-01 09:38:08 +00:00
cube
3ce0b3e617 Depend on either ap2-perl or p5-Apache-Test (defaulting to the latter of
course) for Apache::Test, as both provide it.
2006-04-19 17:21:35 +00:00
joerg
2596e3a639 Correct use of OWN_DIRS vs. REQD_DIRS. 2006-04-12 20:05:19 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
cube
4382775b0f Don't explicitely depend on mysql-client. The relevant PERL package will
do whatever is necessary.  That should fix recent bulk-build breakages
from MySQL version default change.
2006-01-13 18:45:06 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
cube
c915693cdb Mason API has changed after version 1.28. Add a patch to catch up with the
change (it breaks for callbacks).

Inspired from the commit to solve the same issue on the 3.4 branch of RT.

Bump PKGREVISION and Mason version requirement.
2005-09-21 21:23:46 +00:00
cube
779c6797ed Options names have changed, stupid me. Bump PKGREVISION because the
dependency list was modified during this time...
2005-09-09 10:54:15 +00:00
cube
d67f205365 o Rename Makefile.options into options.mk for consistency with all other
packages.
 o  Drop the frontend- and backend- options names and replace them with
    simpler ones, now that we have the PKG_OPTIONS_GROUP mechanism it's
    much more easier.
 o  Brick me for not having done that earlier.
2005-09-08 13:43:05 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
wiz
e549bb9cbf Convert to use PKG_OPTIONS_REQUIRED_GROUPS.
Should fix PR 30472.
2005-06-09 08:08:26 +00:00
cube
d6dfa4daeb o PKG_SUGGESTED_OPTIONS should be set unconditionally.
o Really enforce the conflicts between backend-* and frontend-* options,
  as the recent changes in the options framework might confuse people in
  that respect.  You know have to explicitly remove the suggested options
  in your PKG_OPTIONS.rt variable.
2005-05-26 15:00:29 +00:00
seb
aa3f6a2713 Use PKG_SUGGESTED_OPTIONS instead of PKG_DEFAULT_OPTIONS.
Approved by cube@
2005-05-24 23:35:49 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
cube
a9b934df23 Actually do the update I intended, not some other local change. Pointed
out by Amitai Schlair.
2005-03-24 20:42:03 +00:00
cube
488597122e Update to 3.2.3. I'm not yet sure I will do the 3.4.x update in-place or
as a separate package.

The change log for that versions is as always with RT very long and
verbose.  However, it is only a bug-fix release, and quite a few of them
are fixed.  Among other things, a Polish translation has been added.

See the detailed information in the Changelog file at the root of the
archive.
2005-03-24 17:04:12 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
cube
bd71a2c926 Correct the completely bogus PostgreSQL dependency line. What was I
thinking?

Pointed out by seb@.
2004-11-08 13:33:30 +00:00
cube
82ab7b1525 Clarify (hopefully) the command to run in order to setup the database. 2004-11-03 23:34:05 +00:00
cube
65416e21b7 Update to version 3.2.2. Changelog is in the archive, but is barely
readable and 2000+ lines long, although there hasn't been many actual
changes.
2004-11-02 17:20:36 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
agc
013c558a79 Fix the path to p5-Apache-Test 2004-08-04 17:31:42 +00:00
cube
eecedbbfaf Initial import of rt3, version 3.2.1, into the NetBSD Packages
Collection.

This package is based on the work of Dieter Roelants in pkgsrc-wip, with
a lot of changes to make it proper WRT pkgsrc.

RT is an industrial-grade ticketing system. It lets a group of
people intelligently and efficiently manage requests submitted by
a community of users. RT is used by systems administrators, customer
support staffs, NOCs, developers and even marketing departments at
over a thousand sites around the world.
2004-08-03 15:33:48 +00:00