Re: [rt-users] Help installing RT4 on Ubuntu

2012-01-30 Thread Kevin Falcone
On Mon, Jan 30, 2012 at 05:11:54PM -0500, Borngunners wrote:
>Hello Falcone,
>I have tried the config as stated. This is the message I receive after 
> starting apche:
>root@helpdesks:/etc/apache2# /etc/init.d/apache2 start
> * Starting web server
>apache2
>[Mon Jan 30 22:08:01 2012] [warning]: DBD::mysql::st execute failed: Table 
> 'rt4.Users' doesn't
>exist at /usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 
> 587.
>(/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)

You don't appear to have created the RT database.

When you said

>  >  On Thu, Jan 26, 2012 at 12:02:28PM -0500, Borngunners wrote:
>  >  >I have installed RT 4 on ubuntu and have tested the web after

What did you do to install RT?  It'd be great if you looked through
the README and compared the steps to the notes about what you did.

-kevin


pgp8qO6cqp7VE.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] ICV and calendar

2012-01-30 Thread Brent Wiese
>From the "Home" screen, click on the queue you want to do this for in the 
>"Quick Search" tab. After the results are up, drop the "Feeds" link down and 
>choose iCal.

Can do this for any search result.



-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Daniel Garcia 
Mejia
Sent: Monday, January 30, 2012 8:40 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] ICV and calendar

Hi,

I created a queue that whenI create a ticket I want to create a calendar datein 
my Thunderbird mail agent (the extension to put a date is. ICS).
With RT, is possible to do this? To create a ticket to export aICS file to 
thunderbird?
I have read several papers on the module 'Calendar' CPAN but I do not know how 
it works.


Best Regards



Dani

--
...
 __
/ /   Daniel García Mejía
  C E / S / C A   Portals i Repositoris
  /_/ Centre de Serveis Científics i Acadèmics de Catalunya

  Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
  T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat 
...


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] Help installing RT4 on Ubuntu

2012-01-30 Thread Josh Narins
Please review this part of the error message you sent:

> RT couldn't connect to the database where tickets are stored.If this is a new 
> installation of RT, you should visit the URL belowto configure RT and 
> initialize your database.If this is an existing RT installation, this may 
> indicate a databaseconnectivity problem.The error RT got back when trying to 
> connect to your database was:Couldn't find RT_System user in the DB

Try seeing if you can connect to the RT database with a simple perl DBI and 
DBD::Mysql script, then try connecting as the RT user, also check if you can 
find RT tables, like users, once connected.


Josh Narins
Director of Application Development
SeniorBridge

845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Mobile: (917) 488-6248
Fax: (212) 994-4260
jnar...@seniorbridge.com

SeniorBridge
Managing Complex Chronic Care
http://www.seniorbridge.com



SeniorBridge Statement of Confidentiality: The contents of this email message 
are intended for the exclusive use of the addressee(s) and may contain 
confidential or privileged information. Any dissemination, distribution or 
copying of this email by an unintended or mistaken recipient is strictly 
prohibited. In said event, kindly reply to the sender and destroy all entries 
of this message and any attachments from your system. Thank you.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] Help installing RT4 on Ubuntu

2012-01-30 Thread Borngunners
Hello Falcone,
I have tried the config as stated. This is the message I receive after starting 
apche:
root@helpdesks:/etc/apache2# /etc/init.d/apache2 start
 * Starting web server apache2  
 [Mon Jan 30 
22:08:01 2012] [warning]: DBD::mysql::st execute failed: Table 'rt4.Users' 
doesn't exist at /usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 
587. (/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Mon Jan 30 22:08:01 2012] [warning]: RT::Handle=HASH(0xb96785c8) couldn't 
execute the query 'SELECT  * FROM Users WHERE Name = ?' at 
/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb96785c8)', 
'SELECT  * FROM Users WHERE Name = ?', 'RT_System') called at 
/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206

DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0xb9c696c8)', 
'SELECT  * FROM Users WHERE Name = ?', 'RT_System') called at 
/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125

DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0xb9c696c8)', 
'Name', 'RT_System') called at 
/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm line 120

DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0xb9c696c8)',
 'Name', 'RT_System') called at /opt/rt4/sbin/../lib/RT/Record.pm line 363
RT::Record::LoadByCols('RT::CurrentUser=HASH(0xb9c696c8)', 'Name', 
'RT_System') called at 
/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1070

DBIx::SearchBuilder::Record::LoadByCol('RT::CurrentUser=HASH(0xb9c696c8)', 
'Name', 'RT_System') called at /opt/rt4/sbin/../lib/RT/User.pm line 462
RT::User::Load('RT::CurrentUser=HASH(0xb9c696c8)', 'RT_System') called 
at /opt/rt4/sbin/../lib/RT/Handle.pm line 240
RT::Handle::CheckIntegrity('RT::Handle') called at 
/opt/rt4/sbin/rt-server line 97
require /opt/rt4/sbin/rt-server called at (eval 6) line 3
eval 'package Plack::Sandbox::_2fopt_2frt4_2fsbin_2frt_2dserver;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}

;' called at /usr/local/share/perl/5.10.1/Plack/Util.pm line 118
Plack::Util::_load_sandbox('/opt/rt4/sbin/rt-server') called at 
/usr/local/share/perl/5.10.1/Plack/Util.pm line 155
Plack::Util::load_psgi('/opt/rt4/sbin/rt-server') called at 
/usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm line 32
Plack::Handler::Apache2::load_app('Plack::Handler::Apache2', 
'/opt/rt4/sbin/rt-server') called at 
/usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm line 24
Plack::Handler::Apache2::preload('Plack::Handler::Apache2', 
'/opt/rt4/sbin/rt-server') called at /etc/apache2/sites-enabled/000-default 
line 20
eval 'package 
Apache2::ReadConfig::etc::apache2::sites_enabled::000_default::line_19;
#line 19 /etc/apache2/sites-enabled/000-default
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");

;' called at /opt/rt4/sbin/../lib/RT/CurrentUser.pm line 0 
(/usr/share/perl/5.10/Carp.pm:47)
[Mon Jan 30 22:08:01 2012] [warning]: Use of uninitialized value in 
concatenation (.) or string at /opt/rt4/sbin/../lib/RT/Handle.pm line 242. 
(/opt/rt4/sbin/../lib/RT/Handle.pm:241)

RT couldn't connect to the database where tickets are stored.
If this is a new installation of RT, you should visit the URL below
to configure RT and initialize your database.

If this is an existing RT installation, this may indicate a database
connectivity problem.

The error RT got back when trying to connect to your database was:

Couldn't find RT_System user in the DB ''

[Mon Jan 30 22:08:02 2012] [warning]:   (in cleanup) Error while loading 
/opt/rt4/sbin/rt-server: Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC 
contains: /opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /etc/perl 
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl . /etc/apache2) at /opt/rt4/sbin/../lib/RT.pm line 
659. (/opt/rt4/sbin/../lib/RT.pm:343)
[Mon Jan 30 17:08:02 2012] [warn] NameVirtualHost *:80 has no VirtualHosts

  [ OK ]
root@helpdesks:/etc/apache2#


Thanks

 

-Original Message-
From: Kevin Falcone 
To: rt-users 
Sent: Mon, Jan 30, 2012 3:25 pm
Subject: Re: [rt-users] Help installing RT4 on Ubuntu


On Mon, Jan 30, 2012 at 02:29:09PM -0500, Borngunners wrote:
>This is my /etc/apache2/httpd.conf and 
> /etc/apache2/sites-available/default 
configuration
>files

Please try the config that we ship with RT as documented in
docs/web_deployment.pod (which is

Re: [rt-users] Rt 4.0.4 - can rt-extension-formtools modify layout of ticket fields?

2012-01-30 Thread Jim Lesinski
Are the custom fields used to push data into the tickets somehow? If so that 
may be sufficient for our need.

Thanks,
Jim Lesinski


On Jan 30, 2012, at 7:28 PM, Kevin Falcone  wrote:

> On Sun, Jan 29, 2012 at 07:52:27PM +0100, Jim Lesinski wrote:
>> Can rt-extension-formtools allow modifying the field layout in RT4.0.4? If 
>> there is documentation for this add on or an example of its use somewhere 
>> that would be helpful. 
> 
> rt-extension-formtools is for building custom forms, not for modifying
> the default layout of Ticket/Create.html or Ticket/Update.html
> 
> -kevin
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston � March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Re: [rt-users] 3.4.4 --> 4.0.4 and subject tag

2012-01-30 Thread Jeff Blaine

You'll want to review your Templates and compare them to the version
in etc/initialdata.  In your case, I bet you have $rtname rather than
$Ticket->SubjectTag but you can find the exact syntax in initialdata
by searching for Autoreply.


Yes, that was it.  Thank you.  My oversight while upgrading.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] Help installing RT4 on Ubuntu

2012-01-30 Thread Kevin Falcone
On Mon, Jan 30, 2012 at 02:29:09PM -0500, Borngunners wrote:
>This is my /etc/apache2/httpd.conf and 
> /etc/apache2/sites-available/default configuration
>files

Please try the config that we ship with RT as documented in
docs/web_deployment.pod (which is referred to from the README).

-kevin

>:
>
>ServerName UHC:80
>ServerAdmin helpd...@ticket.com
> 
>ErrorLog /var/log/apache2/error.log
>TransferLog /var/log/apache2/xfer.log
>CustomLog /var/log/apache2/access.log combined
>ServerSignature On
> 
>#config for your main content
>DocumentRoot "/opt/rt4/share/html"
>Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
> 
>
>Options Indexes FollowSymLinks
> 
>AllowOverride None
>Allow from all
>satisfy any
> 
>AddDefaultCharset UTF-8
>SetHandler modperl
>PerlResponseHandler Plack::Handler::Apache2
>PerlSetVar psgi_app /opt/rt4/sbin/rt-server
>
>
> 
>-Original Message-
>From: Bart 
>To: rt-users 
>Sent: Mon, Jan 30, 2012 5:34 am
>Subject: Re: [rt-users] Help installing RT4 on Ubuntu
> 
>Same as with Debian, you need to manually add the RT apache configuration 
> to apache. If Ubuntu
>does the same as Debian then you can find an example under 
> /etc/request-tracker4.
>I suspect that you don't have a config under /etc/apache2/sites-available 
> for RT, and/or not a
>link to the RT apache config under /etc/apache2/sites-enabled/
>Make sure you have the RT config in there and a link under sites-enabled, 
> after that restart
>apache2 and it should work (if the config is correct).
>For example configs you can check the wiki or these lists.
>-- Bart
> 
>Op 26 januari 2012 22:40 schreef Kevin Falcone  
> het volgende:
> 
>  On Thu, Jan 26, 2012 at 12:02:28PM -0500, Borngunners wrote:
>  >I have installed RT 4 on ubuntu and have tested the web after 
> restarting apache,
>  nothing shows
>  >up except the normal apache "It Works!"
>  >What am I doing wrong in this case?
> 
>  You're going to need to share your apache config for anyone to be able
>  to offer advice.
>  -kevin
>  
>  RT Training Sessions (http://bestpractical.com/services/training.html)
>  * Boston -- March 5 & 6, 2012
> 
>  
>  RT Training Sessions (http://bestpractical.com/services/training.html)
>  * Boston ** March 5 & 6, 2012

> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston ? March 5 & 6, 2012



pgpgiIRVSxfGz.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] 3.4.4 --> 4.0.4 and subject tag

2012-01-30 Thread Kevin Falcone
On Mon, Jan 30, 2012 at 03:07:36PM -0500, Jeff Blaine wrote:
> Right now, with $rtname set to "ATCC" and a test
> queue configured to have its own subject tag ("DEMO"),
> our autoreply is showing signs of split-personality
> disorder:
> 
> ==
> Subject: [DEMO #35372] my X is broken
> ...
> There is no need to reply to this message right now.  Your
> ticket has been assigned an ID of [ATCC #35372].
> 
> Please include the string:
> 
>  [ATCC #35372]
> 
> in the subject line of all future correspondence about this
> issue. To do so, you may reply to this message.
> ...
> ==
> 
> Is this because, perhaps, our old 3.4.4 template was brought
> into RT 4.0.4 when we upgraded, and it uses $rtname and not
> something new to reflect the subject tag?  If so, what is
> that?

You'll want to review your Templates and compare them to the version
in etc/initialdata.  In your case, I bet you have $rtname rather than
$Ticket->SubjectTag but you can find the exact syntax in initialdata
by searching for Autoreply.

This is actually covered in docs/UPGRADING-3.8 in the
UPGRADING FROM 3.7.81 and earlier - Changes:
section with further documentation in docs/UPGRADING-4.0

-kevin


pgpJHWf9j5PWM.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] RT 3.8.8 -> RT 4.0.4 schema.mysql error

2012-01-30 Thread Ronald J. Yacketta

Kevin,

Interesting, I'll go back through my notes etc. IIRC the DB was a 
restored fron our rt3 prod DB and then the upgrade procedures applied.


-Ron
On 1/30/2012 3:18 PM, Kevin Falcone wrote:

On Mon, Jan 30, 2012 at 03:06:05PM -0500, Ronald J. Yacketta wrote:

We ran into the following schema.mysql error during our upgrade from
3.8.8 to 4.0.04, after some investigation it appears that it stems
from using RTFM in 3.8.8.

RTFM used the table FM_Classes, not Classes.
If you already had a Classes table, then you did some part of your
upgrade wrong.

I suspect that you ran make initialize-database from 4.0 and then
restored your 3.8.8 database into the rt4 database, which is wrong and
leaves new RT4 tables around.

-kevin


Processing 3.9.8
Now populating database schema.
[Mon Jan 30 20:00:30 2012] [crit]: DBD::mysql::st execute failed:
Table 'Classes' already exists at
/root/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 517.
(/root/src/rt-4.0.4/sbin/../lib/RT.pm:341)
DBD::mysql::st execute failed: Table 'Classes' already exists at
/root/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 517.

Our solution was to re-ran 'make upgrade-database' using 3.9.9 as
the version upgrading from.



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston --- March 5&  6, 2012



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] RT 3.8.8 -> RT 4.0.4 schema.mysql error

2012-01-30 Thread Kevin Falcone
On Mon, Jan 30, 2012 at 03:06:05PM -0500, Ronald J. Yacketta wrote:
> We ran into the following schema.mysql error during our upgrade from
> 3.8.8 to 4.0.04, after some investigation it appears that it stems
> from using RTFM in 3.8.8.

RTFM used the table FM_Classes, not Classes.
If you already had a Classes table, then you did some part of your
upgrade wrong.

I suspect that you ran make initialize-database from 4.0 and then
restored your 3.8.8 database into the rt4 database, which is wrong and
leaves new RT4 tables around.

-kevin

> Processing 3.9.8
> Now populating database schema.
> [Mon Jan 30 20:00:30 2012] [crit]: DBD::mysql::st execute failed:
> Table 'Classes' already exists at
> /root/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 517.
> (/root/src/rt-4.0.4/sbin/../lib/RT.pm:341)
> DBD::mysql::st execute failed: Table 'Classes' already exists at
> /root/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 517.
> 
> Our solution was to re-ran 'make upgrade-database' using 3.9.9 as
> the version upgrading from.


pgpTBAmTmR2Tx.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

[rt-users] 3.4.4 --> 4.0.4 and subject tag

2012-01-30 Thread Jeff Blaine

Right now, with $rtname set to "ATCC" and a test
queue configured to have its own subject tag ("DEMO"),
our autoreply is showing signs of split-personality
disorder:

==
Subject: [DEMO #35372] my X is broken
...
There is no need to reply to this message right now.  Your
ticket has been assigned an ID of [ATCC #35372].

Please include the string:

 [ATCC #35372]

in the subject line of all future correspondence about this
issue. To do so, you may reply to this message.
...
==

Is this because, perhaps, our old 3.4.4 template was brought
into RT 4.0.4 when we upgraded, and it uses $rtname and not
something new to reflect the subject tag?  If so, what is
that?

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


[rt-users] RT 3.8.8 -> RT 4.0.4 schema.mysql error

2012-01-30 Thread Ronald J. Yacketta
We ran into the following schema.mysql error during our upgrade from 
3.8.8 to 4.0.04, after some investigation it appears that it stems from 
using RTFM in 3.8.8.


Processing 3.9.8
Now populating database schema.
[Mon Jan 30 20:00:30 2012] [crit]: DBD::mysql::st execute failed: Table 
'Classes' already exists at /root/src/rt-4.0.4/sbin/../lib/RT/Handle.pm 
line 517. (/root/src/rt-4.0.4/sbin/../lib/RT.pm:341)
DBD::mysql::st execute failed: Table 'Classes' already exists at 
/root/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 517.


Our solution was to re-ran 'make upgrade-database' using 3.9.9 as the 
version upgrading from.


-Ron

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] Articles - no content text box

2012-01-30 Thread Kevin Falcone
On Mon, Jan 30, 2012 at 10:47:29AM -0800, Yan Seiner wrote:
> I'm trying to play with articles but when I go to create or modify an
> article, I see the form, but there's no corresponding text box for the
> "Content" box.
> 
> I've tried modifying a created article; no joy.
> 
> The user I've set up has superuser permissions; in addition I've created a
> test articles group that has all permissions for editing articles set.
> 
> I'm running 4.0.2; there are no errors in the log files.  At this point,
> I'm stumped.

Have you followed the documentation included with RT?
docs/customizing/articles_introduction.pod.  

-kevin


pgpP3gvzerskK.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] Help installing RT4 on Ubuntu

2012-01-30 Thread Borngunners
This is my /etc/apache2/httpd.conf and /etc/apache2/sites-available/default 
configuration files
:

ServerName UHC:80
ServerAdmin helpd...@ticket.com

ErrorLog /var/log/apache2/error.log
TransferLog /var/log/apache2/xfer.log
CustomLog /var/log/apache2/access.log combined
ServerSignature On

#config for your main content
DocumentRoot "/opt/rt4/share/html"
Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/


Options Indexes FollowSymLinks

AllowOverride None
Allow from all
satisfy any

AddDefaultCharset UTF-8
SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server




 

 

 

-Original Message-
From: Bart 
To: rt-users 
Sent: Mon, Jan 30, 2012 5:34 am
Subject: Re: [rt-users] Help installing RT4 on Ubuntu


Same as with Debian, you need to manually add the RT apache configuration to 
apache. If Ubuntu does the same as Debian then you can find an example under 
/etc/request-tracker4.


I suspect that you don't have a config under /etc/apache2/sites-available for 
RT, and/or not a link to the RT apache config under /etc/apache2/sites-enabled/


Make sure you have the RT config in there and a link under sites-enabled, after 
that restart apache2 and it should work (if the config is correct).


For example configs you can check the wiki or these lists.

-- Bart



Op 26 januari 2012 22:40 schreef Kevin Falcone  het 
volgende:


On Thu, Jan 26, 2012 at 12:02:28PM -0500, Borngunners wrote:
>I have installed RT 4 on ubuntu and have tested the web after restarting 
> apache, nothing shows
>up except the normal apache "It Works!"
>What am I doing wrong in this case?


You're going to need to share your apache config for anyone to be able
to offer advice.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012



 

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston � March 5 & 6, 2012

 

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

[rt-users] Articles - no content text box

2012-01-30 Thread Yan Seiner
I'm trying to play with articles but when I go to create or modify an
article, I see the form, but there's no corresponding text box for the
"Content" box.

I've tried modifying a created article; no joy.

The user I've set up has superuser permissions; in addition I've created a
test articles group that has all permissions for editing articles set.

I'm running 4.0.2; there are no errors in the log files.  At this point,
I'm stumped.



-- 
On two occasions I have been asked,—"Pray, Mr. Babbage, if you put into
the machine wrong figures, will the right answers come out?" ... I am not
able rightly to apprehend the kind of confusion of ideas that could
provoke such a question.
—Charles Babbage, Inventor of the computer, 1864


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Re: [rt-users] Rt 4.0.4 - can rt-extension-formtools modify layout of ticket fields?

2012-01-30 Thread Kevin Falcone
On Sun, Jan 29, 2012 at 07:52:27PM +0100, Jim Lesinski wrote:
> Can rt-extension-formtools allow modifying the field layout in RT4.0.4? If 
> there is documentation for this add on or an example of its use somewhere 
> that would be helpful. 

rt-extension-formtools is for building custom forms, not for modifying
the default layout of Ticket/Create.html or Ticket/Update.html

-kevin


pgppFTAB1Yd7N.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] Template - Attachment

2012-01-30 Thread Kevin Falcone
On Mon, Jan 30, 2012 at 05:55:55PM +0100, Daniel Garcia Mejia wrote:
> I want when I resolve a ticket, exectute a script action that
> containt a template that send email as attachment file (concretely
> .ics).  It is possible?

Review the recent thread with a subject of "scrip and template to
email calendar invite"

-kevin


pgp1WkPOTX9Zp.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

[rt-users] Template - Attachment

2012-01-30 Thread Daniel Garcia Mejia

Hi,

I want when I resolve a ticket, exectute a script action that containt a 
template that send email as attachment file (concretely .ics).  It is 
possible?


Thanks!

--
...
__
   / /   Daniel García Mejía
 C E / S / C A   Portals i Repositoris
 /_/ Centre de Serveis Científics i Acadèmics de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
 T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
...


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] Filter by requestor email domain

2012-01-30 Thread Jeff Willer

bestpractical


Please let me know how to unsubscribe to your emails.

Thanks

On 1/30/2012 2:41 AM, Bart wrote:

Hi,

We had a similar requirement for a bunch of e-mail addresses.

This can be achieved by editing the autoreply scrip to look something 
like this:


  * Condition: User Defined
  * Action: Auto Reply To Requestors
  * Template: Your AutoReply template
  * Stage: TransactionCreate
  * Custom Condition:


my @exceptionList = ('na...@example.com ',
 'na...@example.com ',
 'na...@example.com ');

my $transactionType = $self->TransactionObj->Type;
my $ticketRequestor = lc($self->TicketObj->RequestorAddresses);
my $trans = $self->TransactionObj;

if ($transactionType eq 'Create') {
  return if grep { $ticketRequestor eq lc($_) } @exceptionList;
  my $msgattr = $trans->Message->First;
  return 0 unless $msgattr;
  return 1 if $msgattr->GetHeader('Received');
}
return 0;

In addition the above only sends an autoreply when someone sends an 
e-mail, in our case we don't like the autoreply mails when we manually 
create a ticket (e.g. via quick create).


Hope this helps.

-- Bart


Op 25 januari 2012 21:02 schreef Ram Moskovitz > het volgende:


Hey there,
I'm looking to not auto-reply on create to inbound emails from a
certain domain ( anyth...@example.com
 and even anyth...@sd.example.com
). I suppose the right way to go
about this is via user defined condition in the global scrip for
autoreply on create. I have steps 1 and 3.. what's step 2?

1 return 0 unless $self->TransactionObj->Type eq "Create";
2 return 0 if #self->TicketObj->
3 return 1

thanks
ram



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston --- March 5 & 6, 2012





RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston --- March 5&  6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

[rt-users] ICV and calendar

2012-01-30 Thread Daniel Garcia Mejia

Hi,

I created a queue that whenI create a ticket I want to create a calendar 
datein my Thunderbird mail agent (the extension to put a date is. ICS).
With RT, is possible to do this? To create a ticket to export aICS file 
to thunderbird?
I have read several papers on the module 'Calendar' CPAN but I do not 
know how it works.



Best Regards



Dani

--
...
__
   / /   Daniel García Mejía
 C E / S / C A   Portals i Repositoris
 /_/ Centre de Serveis Científics i Acadèmics de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
 T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
...


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] RT::Authen::ExternalAuth cannot find LDAP users if they haven't logged in at least once.

2012-01-30 Thread Jim Lesinski
I have the ldap import plugin running and it does import new users and update 
existing information based on the options you set in config. You must set up a 
cron job for this.

Thanks,
Jim Lesinski


On Jan 30, 2012, at 11:24 AM, Bart  wrote:

> Hi,
> 
> Not sure if that's possible with ExternalAuth, it automatically creates a 
> user during login but doesn't sync the LDAP. (at least, like you I can't find 
> an option for it)
> 
> You'll probably need to run something separate from ExternalAuth to import 
> those users, this plugin might help with that:
> http://search.cpan.org/~falcone/RT-Extension-LDAPImport-0.31/lib/RT/Extension/LDAPImport.pm
> 
> 
> -- Bart
> 
> 
> Op 30 januari 2012 02:16 schreef Camron W. Fox  het 
> volgende:
> Alle,
> 
>So we've installed RT::Authen::ExternalAuth, but when we try to search
> for users to create groups and such, if the user hasn't logged in to RT
> at least once, they cannot be found. Here is the LDAP excerpt from
> RT_SiteConfig.PM:
> 
> Set(@Plugins, (qw(RT::Authen::ExternalAuth)));
> Set($ExternalAuthPriority,  [   'My_LDAP'
>]
> );
> Set($ExternalInfoPriority,  [   'My_LDAP'
>]
> );
> Set($ExternalAuthPriority,['My_LDAP']);
> Set($ExternalSettings,  {
> Set($ExternalSettings,  {
>'My_LDAP'   =>  {
>'type'  =>  'ldap',
>'server'=>  'admin.subaru.nao.ac.jp',
>'user'  =>  'cn=Manager,dc=subaru,dc=nao,dc=ac,dc=jp',
>'pass'  =>  'X',
>'base'  =>  'ou=people,dc=subaru,dc=nao,dc=ac,dc=jp',
>'filter'=>  '(objectClass=person)',
>'d_filter'  =>  '(employeeType=locked)',
>'tls'   =>  0,
>'ssl_version'   =>  3,
>'net_ldap_args' =>  [version =>  3   ],
># 'group'   =>  'GROUP_NAME',
># 'group_attr'  =>  'GROUP_ATTR',
>'attr_match_list'   =>  [   'Name',
>'EmailAddress'
>],
>'attr_map'  =>  {   'Name'  =>  'uid',
>'EmailAddress'  =>  'mail',
># 'Organization' =>
> 'physicalDeliveryOfficeName',
>'RealName'  =>  'cn',
>'ExternalAuthId'=> 'uid',
>'Gecos' => 'gecos'
># 'WorkPhone' => 'telephoneNumber',
># 'Address1' => 'streetAddress',
># 'City' => 'l',
># 'State' => 'st',
># 'Zip' => 'postalCode',
> 
># 'Country' => 'co'
>}
>}
> );
> 
>We've obviously missed something here, but we've spent the last couple
> days searching the docs/wiki/web and playing with RT_SiteConfig.pm but
> with no luck.
> 
> Best Regards,
> Camron
> 
> --
> Camron W. Fox
> Hilo Office
> High Performance Computing Group
> Fujitsu Management Services of America, Inc.
> E-mail: cw...@us.fujitsu.com
> 
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012
> 
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston � March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] Filter by requestor email domain

2012-01-30 Thread Bart
Hi,

We had a similar requirement for a bunch of e-mail addresses.

This can be achieved by editing the autoreply scrip to look something like
this:

   - Condition: User Defined
   - Action: Auto Reply To Requestors
   - Template: Your AutoReply template
   - Stage: TransactionCreate
   - Custom Condition:


my @exceptionList = ('na...@example.com',
 'na...@example.com',
 'na...@example.com');

my $transactionType = $self->TransactionObj->Type;
my $ticketRequestor = lc($self->TicketObj->RequestorAddresses);
my $trans = $self->TransactionObj;

if ($transactionType eq 'Create') {
  return if grep { $ticketRequestor eq lc($_) } @exceptionList;
  my $msgattr = $trans->Message->First;
  return 0 unless $msgattr;
  return 1 if $msgattr->GetHeader('Received');
}
return 0;

In addition the above only sends an autoreply when someone sends an e-mail,
in our case we don't like the autoreply mails when we manually create a
ticket (e.g. via quick create).

Hope this helps.

-- Bart


Op 25 januari 2012 21:02 schreef Ram Moskovitz  het
volgende:

> Hey there,
> I'm looking to not auto-reply on create to inbound emails from a certain
> domain ( anyth...@example.com and even anyth...@sd.example.com). I
> suppose the right way to go about this is via user defined condition in the
> global scrip for autoreply on create. I have steps 1 and 3.. what's step 2?
>
> 1 return 0 unless $self->TransactionObj->Type eq "Create";
> 2 return 0 if #self->TicketObj->
> 3 return 1
>
> thanks
> ram
>
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston — March 5 & 6, 2012
>

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] Help installing RT4 on Ubuntu

2012-01-30 Thread Bart
Same as with Debian, you need to manually add the RT apache configuration
to apache. If Ubuntu does the same as Debian then you can find an example
under /etc/request-tracker4.

I suspect that you don't have a config under /etc/apache2/sites-available
for RT, and/or not a link to the RT apache config under
/etc/apache2/sites-enabled/

Make sure you have the RT config in there and a link under sites-enabled,
after that restart apache2 and it should work (if the config is correct).

For example configs you can check the wiki or these lists.

-- Bart


Op 26 januari 2012 22:40 schreef Kevin Falcone
het volgende:

> On Thu, Jan 26, 2012 at 12:02:28PM -0500, Borngunners wrote:
> >I have installed RT 4 on ubuntu and have tested the web after
> restarting apache, nothing shows
> >up except the normal apache "It Works!"
> >What am I doing wrong in this case?
>
> You're going to need to share your apache config for anyone to be able
> to offer advice.
>
> -kevin
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston — March 5 & 6, 2012
>

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] Rt 4.0.4 - can rt-extension-formtools modify layout of ticket fields?

2012-01-30 Thread Bart
Hi,

Not sure, can't find much information on the extension.

Can you provide some links, or insights on your efforts up to this point?

-- Bart


Op 29 januari 2012 19:52 schreef Jim Lesinski  het
volgende:

> Can rt-extension-formtools allow modifying the field layout in RT4.0.4? If
> there is documentation for this add on or an example of its use somewhere
> that would be helpful.
>
> Thanks,
> Jim Lesinski
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012
>

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] RT::Authen::ExternalAuth cannot find LDAP users if they haven't logged in at least once.

2012-01-30 Thread Bart
Hi,

Not sure if that's possible with ExternalAuth, it automatically creates a
user during login but doesn't sync the LDAP. (at least, like you I can't
find an option for it)

You'll probably need to run something separate from ExternalAuth to import
those users, this plugin might help with that:

   -
   
http://search.cpan.org/~falcone/RT-Extension-LDAPImport-0.31/lib/RT/Extension/LDAPImport.pm



-- Bart


Op 30 januari 2012 02:16 schreef Camron W. Fox  het
volgende:

> Alle,
>
>So we've installed RT::Authen::ExternalAuth, but when we try to
> search
> for users to create groups and such, if the user hasn't logged in to RT
> at least once, they cannot be found. Here is the LDAP excerpt from
> RT_SiteConfig.PM:
>
> Set(@Plugins, (qw(RT::Authen::ExternalAuth)));
> Set($ExternalAuthPriority,  [   'My_LDAP'
>]
> );
> Set($ExternalInfoPriority,  [   'My_LDAP'
>]
> );
> Set($ExternalAuthPriority,['My_LDAP']);
> Set($ExternalSettings,  {
> Set($ExternalSettings,  {
>'My_LDAP'   =>  {
>'type'  =>  'ldap',
>'server'=>  'admin.subaru.nao.ac.jp',
>'user'  =>  'cn=Manager,dc=subaru,dc=nao,dc=ac,dc=jp',
>'pass'  =>  'X',
>'base'  =>  'ou=people,dc=subaru,dc=nao,dc=ac,dc=jp',
>'filter'=>  '(objectClass=person)',
>'d_filter'  =>  '(employeeType=locked)',
>'tls'   =>  0,
>'ssl_version'   =>  3,
>'net_ldap_args' =>  [version =>  3   ],
># 'group'   =>  'GROUP_NAME',
># 'group_attr'  =>  'GROUP_ATTR',
>'attr_match_list'   =>  [   'Name',
>'EmailAddress'
>],
>'attr_map'  =>  {   'Name'  =>  'uid',
>'EmailAddress'  =>  'mail',
># 'Organization' =>
> 'physicalDeliveryOfficeName',
>'RealName'  =>  'cn',
>'ExternalAuthId'=> 'uid',
>'Gecos' => 'gecos'
># 'WorkPhone' => 'telephoneNumber',
># 'Address1' => 'streetAddress',
># 'City' => 'l',
># 'State' => 'st',
># 'Zip' => 'postalCode',
>
># 'Country' => 'co'
>}
>}
> );
>
>We've obviously missed something here, but we've spent the last
> couple
> days searching the docs/wiki/web and playing with RT_SiteConfig.pm but
> with no luck.
>
> Best Regards,
> Camron
>
> --
> Camron W. Fox
> Hilo Office
> High Performance Computing Group
> Fujitsu Management Services of America, Inc.
> E-mail: cw...@us.fujitsu.com
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012
>

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

[rt-users] Install RT 4 with Debian 6 (Squeeze) using apt

2012-01-30 Thread Bart
Hi,

I've updated the wiki with a page containing installation steps for
installing RT 4 using Debian Squeeze.

The page can be found here:

   - http://requesttracker.wikia.com/wiki/DebianSqueezeInstallGuide

It's fairly new, and my first addition to the wiki so I'd like to receive
some feedback on the guide so that I may improve it :-)

Thanks in advance.

-- Bart

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012