[rt-users] RTx::BecomeUser extension working in RT4?

2011-11-10 Thread Allen
Anyone have the RTx::BecomeUser extension working under 4.0.0 or higher?

http://search.cpan.org/~abcdefgh/RTx-BecomeUser-1.0/lib/RTx/BecomeUser.pm

I see right away the page and navigation menu code in the extension is
not going to work with the new RT menu system. When I comment it out,
I can get the Becomeuser.html page to load, but choosing a user and
submitting just results in it saying Congratulations, you are now so
and so but the next RT page you visit, you are logged out.

I was going to take a blind stab at trying to fix it, but wanted to
know if anyone else did already.

Allen

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


[rt-users] How to setup RT::Extension::SLA

2011-11-10 Thread linuxsupport
Hi,

I have just installed RT, along with plugin RT::Extension::SLA

Following is the configuration I have placed in RT_SiteConfig.pm

Set(%ServiceAgreements, (
Default = '4h',
QueueDefault = {
'General' = '24',
},
Levels = {
'24' = {
StartImmediately = 1,
Response = { RealMinutes = 60*1  },
Resolve = { RealMinutes = 60*4 },
},
},
));

But I can not see any SLA while creating new ticket, it shows me blank box

Can someone correct me please?

OS: Debain Squeeze
RT -- request-tracker4 4.0.2-1~bpo60+1

Thanks

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] How to setup RT::Extension::SLA

2011-11-10 Thread Bart
You have to manually add the same values of your config to your SLA Custom
Field. From there it should work as intended.

-- Bart


2011/11/10 linuxsupport lin.supp...@gmail.com

 Hi,

 I have just installed RT, along with plugin RT::Extension::SLA

 Following is the configuration I have placed in RT_SiteConfig.pm

 Set(%ServiceAgreements, (
 Default = '4h',
 QueueDefault = {
 'General' = '24',
 },
 Levels = {
 '24' = {
 StartImmediately = 1,
 Response = { RealMinutes = 60*1  },
 Resolve = { RealMinutes = 60*4 },
 },
 },
 ));

 But I can not see any SLA while creating new ticket, it shows me blank box

 Can someone correct me please?

 OS: Debain Squeeze
 RT -- request-tracker4 4.0.2-1~bpo60+1

 Thanks


 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain — November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] How to setup RT::Extension::SLA

2011-11-10 Thread Bart
Sorry, forgot to mention that in your case that's value 24 since you've
only defined one entry.

-- Bart


2011/11/10 Bart b...@pleh.info

 You have to manually add the same values of your config to your SLA Custom
 Field. From there it should work as intended.

 -- Bart


 2011/11/10 linuxsupport lin.supp...@gmail.com

 Hi,

 I have just installed RT, along with plugin RT::Extension::SLA

 Following is the configuration I have placed in RT_SiteConfig.pm

 Set(%ServiceAgreements, (
 Default = '4h',
 QueueDefault = {
 'General' = '24',
 },
 Levels = {
 '24' = {
 StartImmediately = 1,
 Response = { RealMinutes = 60*1  },
 Resolve = { RealMinutes = 60*4 },
 },
 },
 ));

 But I can not see any SLA while creating new ticket, it shows me blank box

 Can someone correct me please?

 OS: Debain Squeeze
 RT -- request-tracker4 4.0.2-1~bpo60+1

 Thanks


 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain — November 28  29, 2011




RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RT 4.0.3 upgrade problem

2011-11-10 Thread Bart
You could also try to redirect everything from port 80 to 443, this would
ensure that apache only touches RT once:

VirtualHost *:80
ErrorLog /opt/rt4/var/log/apache2.error
TransferLog /opt/rt4/var/log/apache2.access

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
/VirtualHost


-- Bart


2011/11/10 Carlos Ramos carra...@gmail.com

 On Wed, Nov 9, 2011 at 6:54 PM, Jeff Sampson ffe...@gmail.com wrote:
  Here are the RT related config sections..
 
  VirtualHost *:80
  Alias /rt /opt/rt4/share/html
  AddDefaultCharset UTF-8
  Location /rt
Order allow,deny
allow from all
SetHandler modperl
   PerlResponseHandler Plack::Handler::Apache2
   PerlSetVar psgi_app /opt/rt4/sbin/rt-server
  /Location
  Perl
   use Plack::Handler::Apache2;
   Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
  /Perl
  /VirtualHost
  VirtualHost *:443
  Alias /rt /opt/rt4/share/html
  AddDefaultCharset UTF-8
  Location /rt
Order allow,deny
allow from all
SetHandler modperl
   PerlResponseHandler Plack::Handler::Apache2
   PerlSetVar psgi_app /opt/rt4/sbin/rt-server
  /Location
  Perl
   use Plack::Handler::Apache2;
   Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
  /Perl
  /VirtualHost
  
  RT Training Sessions (http://bestpractical.com/services/training.html)
  *  Barcelona, Spain — November 28  29, 2011
 

 I don't know if it's going to fix it, but the 'Alias /rt
 /opt/rt4/share/html' is not needed in this setup and it's probably
 conflicting with the 'Location /rt' section, so i would say get rid of
 it.

 http://httpd.apache.org/docs/2.2/mod/core.html#location

 --
 Carlos Ramos
 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain  November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RT 4.0.3 upgrade problem

2011-11-10 Thread Iosif Fettich

Hi Bart,

On Thu, 10 Nov 2011, Bart wrote:


You could also try to redirect everything from port 80 to 443, this would
ensure that apache only touches RT once:

VirtualHost *:80
   ErrorLog /opt/rt4/var/log/apache2.error
   TransferLog /opt/rt4/var/log/apache2.access

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
/VirtualHost


Just out of curiosity: does the conditioning with

RewriteCond %{HTTPS} off

bring in some extra value in the above ? Why/when would it be necessary ?

Thanks,

Iosif Fettich

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


[rt-users] rt4 response mail sends the template

2011-11-10 Thread Francesc Guasch

Hi, I just upgraded to rt4.0.3. When I create a ticket or do a response
the mail sent contains the template instead the content. Just like :


  {$Transaction-Content()}

I only see this in the logs:

[Thu Nov 10 11:07:53 2011] [info]: 
rt-4.0.3-3715-1320923273-345.3433-7-0@mydomain #3433/59079 - Scrip 7 On 
Correspond Notify Other Recipients 
(/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:301


This is a new server. I dumped the rt3 database and followed README
and UPGRADING.mysql.

Maybe I missed something when I upgraded ? I don't know where to
start looking at.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] RT 4.0.3 upgrade problem

2011-11-10 Thread Bart
Well, to be honest, I'm not an expert on this rule lol I've copied it after
some searching.

The result however is that it keeps the entire URL in tact (everything past
the / included) and just replaces http with https.

Though, if I'd have to guess then the condition makes sure that it only
does the rewrite if it isn't https (or something like that).

-- Bart


2011/11/10 Iosif Fettich ifett...@netsoft.ro

 Hi Bart,


 On Thu, 10 Nov 2011, Bart wrote:

  You could also try to redirect everything from port 80 to 443, this would
 ensure that apache only touches RT once:

 VirtualHost *:80
   ErrorLog /opt/rt4/var/log/apache2.error
   TransferLog /opt/rt4/var/log/apache2.**access

 RewriteEngine On
 RewriteCond %{HTTPS} off
 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_**URI}
 /VirtualHost


 Just out of curiosity: does the conditioning with

 RewriteCond %{HTTPS} off

 bring in some extra value in the above ? Why/when would it be necessary ?

 Thanks,

 Iosif Fettich


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] How to setup RT::Extension::SLA

2011-11-10 Thread linuxsupport
Thanks Bart, but there are 4 fields in that custom field.

Sort , Name, Description, Category

Where should that 24 go? in Sort or Name?

On Thu, Nov 10, 2011 at 4:06 PM, Bart b...@pleh.info wrote:

 Sorry, forgot to mention that in your case that's value 24 since you've
 only defined one entry.

 -- Bart



 2011/11/10 Bart b...@pleh.info

 You have to manually add the same values of your config to your SLA
 Custom Field. From there it should work as intended.

 -- Bart


 2011/11/10 linuxsupport lin.supp...@gmail.com

  Hi,

 I have just installed RT, along with plugin RT::Extension::SLA

 Following is the configuration I have placed in RT_SiteConfig.pm

 Set(%ServiceAgreements, (
 Default = '4h',
 QueueDefault = {
 'General' = '24',
 },
 Levels = {
 '24' = {
 StartImmediately = 1,
 Response = { RealMinutes = 60*1  },
 Resolve = { RealMinutes = 60*4 },
 },
 },
 ));

 But I can not see any SLA while creating new ticket, it shows me blank
 box

 Can someone correct me please?

 OS: Debain Squeeze
 RT -- request-tracker4 4.0.2-1~bpo60+1

 Thanks


 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain — November 28  29, 2011





RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

[rt-users] RT 4.0.2 and ExternalAuth

2011-11-10 Thread Adrian Stel
Hi,




I install ExternalAuth:
cpan install RT::Authen::ExternalAuth

And installation finished with OK.


Now i'm trying to configure RT_SiteConfig.pm


Set(@Plugins, qw(RT::Authen::ExternalAuth) );


Set($ExternalAuthPriority,  [   'My_MySQL']);


Set($ExternalInfoPriority,  [   'My_MySQL' ]);

Set($ExternalServiceUsesSSLorTLS,0);
Set($AutoCreateNonExternalUsers,0);



Set($ExternalSettings,  {   # AN EXAMPLE DB SERVICE
'My_MySQL'   =  {  ## GENERIC SECTION
# The type of
service (db/ldap/cookie)
'type'
 =  'db',
# The server
hosting the service
'server'
 =  'localhost',
##
SERVICE-SPECIFIC SECTION
# The database name
'database'
 =  'phpbb3',
# The database table
'table'
 =  'phpbbusers',
# The user to
connect to the database as
'user'
 =  'phpbb3',
# The password
to use to connect with
'pass'
 =  '**',
# The port to
use to connect with (e.g. 3306)
'port'
 =  '3306',
# The name of
the Perl DBI driver to use (e.g. mysql)
'dbi_driver'
 =  'mysql',
# The field in
the table that holds usernames
'u_field'
 =  'username',
# The field in
the table that holds passwords
'p_field'
 =  'user_password',
# The Perl
package  subroutine used to encrypt passwords
# e.g. if the
passwords are stored using the MySQL v3.23 PASSWORD
# function,
then you will need Crypt::MySQL::password, but for the
# MySQL4+
password function you will need Crypt::MySQL::password41
#
Alternatively, you could use Digest::MD5::md5_hex or any other
# encryption
subroutine you can load in your perl installation
'p_enc_pkg'
 =  'Crypt::MySQL::password41',
#'p_enc_sub'
  =  'password41',
# If your
p_enc_sub takes a salt as a second parameter,
# uncomment
this line to add your salt
#'p_salt'
  =  'SALT',
#
# The field
and values in the table that determines if a user should
# be disabled.
For example, if the field is 'user_status' and the values
# are
['0','1','2','disabled'] then the user will be disabled if their
# user_status
is set to '0','1','2' or the string 'disabled'.
# Otherwise,
they will be considered enabled.
'd_field'
 =  'disabled',
'd_values'
 =  ['0'],
## RT
ATTRIBUTE MATCHING SECTION
# The list of
RT attributes that uniquely identify a user

'attr_match_list'   =  [   'Gecos',

 'Name'

 ],
# The mapping
of RT attributes on to field names

Re: [rt-users] How to setup RT::Extension::SLA

2011-11-10 Thread Bart
Only the Name field is needed.

-- Bart


2011/11/10 linuxsupport lin.supp...@gmail.com

 Thanks Bart, but there are 4 fields in that custom field.

 Sort , Name, Description, Category

 Where should that 24 go? in Sort or Name?


 On Thu, Nov 10, 2011 at 4:06 PM, Bart b...@pleh.info wrote:

 Sorry, forgot to mention that in your case that's value 24 since you've
 only defined one entry.

 -- Bart



 2011/11/10 Bart b...@pleh.info

 You have to manually add the same values of your config to your SLA
 Custom Field. From there it should work as intended.

 -- Bart


 2011/11/10 linuxsupport lin.supp...@gmail.com

  Hi,

 I have just installed RT, along with plugin RT::Extension::SLA

 Following is the configuration I have placed in RT_SiteConfig.pm

 Set(%ServiceAgreements, (
 Default = '4h',
 QueueDefault = {
 'General' = '24',
 },
 Levels = {
 '24' = {
 StartImmediately = 1,
 Response = { RealMinutes = 60*1  },
 Resolve = { RealMinutes = 60*4 },
 },
 },
 ));

 But I can not see any SLA while creating new ticket, it shows me blank
 box

 Can someone correct me please?

 OS: Debain Squeeze
 RT -- request-tracker4 4.0.2-1~bpo60+1

 Thanks


 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain — November 28  29, 2011






RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

[rt-users] Sorting custom fields

2011-11-10 Thread Giuseppe Sollazzo

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,
maybe this is stupid but is there a quick way of re-sorting custom fields?

Thanks,
Giuseppe

- -- 


Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsoll...@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOu+RrAAoJEAqigArPBfJXNOQH/jdKeK/eqbuVnwD2aVmjpsAQ
Fim6Z1yoojPuGmz/yPEVoxhDuZy7qwbCme7+pV2T6/miwUShJUJr/QflvK9pxxyQ
W03MlQuuhlrFrka9atmDXcGzUM4hd7bZL3d3npUPtAfb8+ky2kP5+eBzMQqQeAXU
gPnmN2jcpcMTPOcuFJVfp6I1r9wxzE+bEOo3frma5RpyEifkHDPopqldf6KRwMzM
0r/3SjN01bB9L2VgcxcT26HZYqi43Q4v4fq28EpzzFJFIAN3lipVPs1b8Q0cS4d8
9otLY5dTOQjiI28VWY+y1jKJeOa227EWdqyWWypAKJEU7nrk0Mk6yg0S4jLAb2A=
=bEKW
-END PGP SIGNATURE-


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] Custom search based on full months

2011-11-10 Thread Carlos Ramos
I need this functionality too, and I'm planing to modify TimeParse in
order to make it understand something like beginning of last month
or end of last week, since as Ruslan suggested I think this would be
the cleanest approach. But reading this thread, looks like I'm not the
only one with this problem, so I'm forced to ask. Does anyone has a
patch for TimeParse that will allow this functionality ?

-- 
Carlos Ramos

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] LDAP external auth

2011-11-10 Thread Tim Dunphy
Hello Again Joachim (and anyone else on the list who may see this)!


  I have an update on my RT::Authen::ExternalAuth situation. I have decided to 
abandon my idea of having an LDAP query which would search for the members of 
the RT group. Instead what I've decided to do is search for members of the 
'People' ou individually. The distinguished name for which would be 
uid=username,ou=People,cn=example,dc=com. If the guys in the big chairs 
decide that I need to restrict the search to members of the RT group I will 
worry about that at another time. Right now my goal is to simply get RT to 
authenticate via LDAP.

 So here is the ldap query that I am attempting to use in my RT config:

 [ThatGuy@BAM-025715-TD:~] #ldapsearch -x  -p 389 -h ldap01.example.com -D 
uid=ThatGuy,ou=People,dc=example,dc=com -w 'secret -b dc=example,dc=com 
((uid=ThatGuy)) cn mail

# extended LDIF
#
# LDAPv3
# base dc=example,dc=com with scope subtree
# filter: ((uid=ThatGuy))
# requesting: cn mail
#

# ThatGuy, People, example.com
dn: uid=ThatGuy,ou=People,dc=example,dc=com
cn: Tim ThatGuy
mail: tim.that...@example.com

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

That works well and this is what appears in the ldap logs:

[10/Nov/2011:10:33:33 -0500] conn=1738336 op=0 msgId=1 - BIND 
dn=uid=ThatGuy,ou=People,dc=example,dc=com method=128 version=3
[10/Nov/2011:10:33:33 -0500] conn=1738336 op=0 msgId=1 - RESULT err=0 tag=97 
nentries=0 etime=0 dn=uid=ThatGuy,ou=people,dc=example,dc=com
[10/Nov/2011:10:33:33 -0500] conn=1738336 op=1 msgId=2 - SRCH 
base=dc=example,dc=com scope=2 filter=((uid=ThatGuy)) attrs=cn mail
[10/Nov/2011:10:33:33 -0500] conn=1738336 op=1 msgId=2 - RESULT err=0 tag=101 
nentries=1 etime=0
[10/Nov/2011:10:33:33 -0500] conn=1738336 op=2 msgId=3 - UNBIND

Here we see the bind, the result and the unbind and everything appears to go 
smoothly.


And this is how I've attempted to translate this into the config:

Set($ExternalSettings,  {   
# AN EXAMPLE LDAP SERVICE
'My_LDAP'   =  {   ## GENERIC SECTION
# The type of service 
(db/ldap/cookie) 
'type'  
=  'ldap',
# The server hosting 
the service
'server'
=  'ldap01.example.com',
## SERVICE-SPECIFIC 
SECTION
# If you can bind to 
your LDAP server anonymously you should 
# remove the user and 
pass config lines, otherwise specify them here:
# 
# The username RT 
should use to connect to the LDAP server 
'user'  
=  'uid=ThatGuy,ou=People,cn=example,cn=com',
# The password RT 
should use to connect to the LDAP server
'pass'  
  =  'secret',
#
# The LDAP search base
'base'  
=  'ou=People,dc=example,dc=com',
#
# ALL FILTERS MUST BE 
VALID LDAP FILTERS ENCASED IN PARENTHESES!
# YOU **MUST** SPECIFY 
A filter AND A d_filter!!
#
# The filter to use to 
match RT-Users
'filter'
=  '((uid=*)) cn mail',
# A catch-all example 
filter: '(objectClass=*)'
#
# The filter that will 
only match disabled users
'd_filter'  
=  '(objectClass=FooBarBaz)',
# A catch-none example 
d_filter: '(objectClass=FooBarBaz)'
#
# Should we try to use 
TLS to encrypt connections?
'tls'   
=  0,

Re: [rt-users] RTx::BecomeUser extension working in RT4?

2011-11-10 Thread Kevin Falcone
On Thu, Nov 10, 2011 at 12:01:23AM -0800, Allen wrote:
 Anyone have the RTx::BecomeUser extension working under 4.0.0 or higher?
 
 http://search.cpan.org/~abcdefgh/RTx-BecomeUser-1.0/lib/RTx/BecomeUser.pm
 
 I see right away the page and navigation menu code in the extension is
 not going to work with the new RT menu system. When I comment it out,
 I can get the Becomeuser.html page to load, but choosing a user and
 submitting just results in it saying Congratulations, you are now so
 and so but the next RT page you visit, you are logged out.
 
 I was going to take a blind stab at trying to fix it, but wanted to
 know if anyone else did already.

It might be worth contacting the author via rt.cpan.org to see if
they've done any work on 4.0 compatibility.

One thing to note is that I'm not sure the module could ever work if
you're using an ExternalAuth solution (as opposed to RT's internal
auth or RT-Authen-ExternalAuth)

-kevin


pgpZCUwelq8C9.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RTx::BecomeUser extension working in RT4?

2011-11-10 Thread Richard Clark
On Thu, Nov 10, 2011 at 12:01:23AM -0800, Allen wrote:
 Anyone have the RTx::BecomeUser extension working under 4.0.0 or higher?
 
 http://search.cpan.org/~abcdefgh/RTx-BecomeUser-1.0/lib/RTx/BecomeUser.pm
 
 I see right away the page and navigation menu code in the extension is
 not going to work with the new RT menu system. When I comment it out,
 I can get the Becomeuser.html page to load, but choosing a user and
 submitting just results in it saying Congratulations, you are now so
 and so but the next RT page you visit, you are logged out.
 
 I was going to take a blind stab at trying to fix it, but wanted to
 know if anyone else did already.
 
 Allen
 

Would be interested to know if you make any progress with this one -
BecomeUser was a useful debugging tool in 3.xx

Cheers,
-- 
Richard Clark
rich...@fohnet.co.uk


signature.asc
Description: Digital signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] rt4 response mail sends the template

2011-11-10 Thread Kevin Falcone
On Thu, Nov 10, 2011 at 12:16:39PM +0100, Francesc Guasch wrote:
 Hi, I just upgraded to rt4.0.3. When I create a ticket or do a response
 the mail sent contains the template instead the content. Just like :
 
 
   {$Transaction-Content()}

Has someone gone and marked that template as Simple not Perl?
The standard upgrade process flags them all as Perl.

-kevin

 I only see this in the logs:
 
 [Thu Nov 10 11:07:53 2011] [info]:
 rt-4.0.3-3715-1320923273-345.3433-7-0@mydomain #3433/59079 - Scrip
 7 On Correspond Notify Other Recipients
 (/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:301
 
 This is a new server. I dumped the rt3 database and followed README
 and UPGRADING.mysql.
 
 Maybe I missed something when I upgraded ? I don't know where to
 start looking at.
 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain  November 28  29, 2011


pgpZMReudkrnM.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RT 4.0.3 upgrade problem

2011-11-10 Thread Kevin Falcone
On Wed, Nov 09, 2011 at 02:54:08PM -1000, Jeff Sampson wrote:
Here are the RT related config sections..

Since you do this twice:

Perl
use Plack::Handler::Apache2;
Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
/Perl
Perl
use Plack::Handler::Apache2;
Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
/Perl

Once for each virtual host, I could see apache and mod_perl being
grumpy about it.

-kevin


pgpxINH3JSqer.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RT 4.0.2 and ExternalAuth

2011-11-10 Thread Kevin Falcone
On Thu, Nov 10, 2011 at 02:07:41PM +0100, Adrian Stel wrote:
 # The Perl
 package  subroutine used to encrypt passwords
 # e.g. if the
 passwords are stored using the MySQL v3.23 PASSWORD
 # function,
 then you will need Crypt::MySQL::password, but for the
 # MySQL4+
 password function you will need Crypt::MySQL::password41
 #
 Alternatively, you could use Digest::MD5::md5_hex or any other
 # encryption
 subroutine you can load in your perl installation
 'p_enc_pkg'
  =  'Crypt::MySQL::password41',
 #'p_enc_sub'
   =  'password41',
 # If your
 
 Couldn't Load Password Encryption Package. Error: Can't locate
 Crypt/MySQL/password.pm
 My_MySQL AUTH FAILED The encryption package you gave me (
 Crypt::MySQL::password ) does not support the encryption method you
 specified (  )
 

You've configured it to use Crypt::MySQL::password41,
which is not a perl module.

I suspect you wanted it to load Crypt::MySQL and then use the
password41 method on it.

-kevin


pgp03YuzEct3h.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

[rt-users] RT 4.0.3 - Email templates are not parsed

2011-11-10 Thread Jim . H . Berry
Hi

I believe this is the same issue reported by  Francesc Guasch 
fran...@telecos.upc.edu.  We upgraded from 3.8.10 to 4.0.3.  Email is 
sent as expected via our scrip, but our template is not parsed, so that we 
see {$Ticket-Subject}.  Earlier I had upgraded from 3.8.10 to 4.0.2 but 
did have this issue. 

The logs show: [warning]: Use of uninitialized value in string eq at 
rt4/sbin/../lib/RT/Template.pm line 410.  which is 

 if ($self-Type eq 'Perl') {
return $self-_ParseContentPerl(
   ...

Could it be that $self-Type is not getting set?  When looking at the 
template thru the admin interface, the Type: Perl radio button is checked. 


Thanks for any suggestions,
Jim Berry
 
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

[rt-users] kiosk mode?

2011-11-10 Thread Yan Seiner
We're planning to set up a display in one of the crew areas that displays
their current projects.

To goal is to have it completely automated; the computer gets turned on
and it auto-logs in to a default user, runs a browser, and brings up a
default RT dashboard.

Is anyone aware of a plugin that would allow RT to log in automatically as
a particular user?




-- 
Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] kiosk mode?

2011-11-10 Thread Bart
We've managed this with a spare iMac:

   - I think we used Safari, made sure it remembers sessions and stores
   account info (or another browser, either way the browser rebuilds the
   session during startup, seems to work for us).
   - When we start the Mac it automatically logs in and during login it
   automatically starts the browser.

From there all you have to do is make sure that the kiosk user has proper
privileges and that the dashboard is configured.

I should think that something similar should be pretty much doable for any
OS, but you'll have to depend on the browser capabilities.

-- Bart


2011/11/10 Yan Seiner y...@seiner.com

 We're planning to set up a display in one of the crew areas that displays
 their current projects.

 To goal is to have it completely automated; the computer gets turned on
 and it auto-logs in to a default user, runs a browser, and brings up a
 default RT dashboard.

 Is anyone aware of a plugin that would allow RT to log in automatically as
 a particular user?




 --
 Pain is temporary. It may last a minute, or an hour, or a day, or a year,
 but eventually it will subside and something else will take its place. If
 I quit, however, it lasts forever.

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain  November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RT 4.0.3 - Email templates are not parsed

2011-11-10 Thread Kevin Falcone
On Thu, Nov 10, 2011 at 01:46:40PM -0500, jim.h.be...@frb.gov wrote:
Hi
 
I believe this is the same issue reported by  Francesc Guasch 
 fran...@telecos.upc.edu.  We
upgraded from 3.8.10 to 4.0.3.  Email is sent as expected via our scrip, 
 but our template is
not parsed, so that we see {$Ticket-Subject}.  Earlier I had upgraded 
 from 3.8.10 to 4.0.2
but did have this issue.
 
The logs show: [warning]: Use of uninitialized value in string eq at
 rt4/sbin/../lib/RT/Template.pm line 410.  which is
 
 if ($self-Type eq 'Perl') {
return $self-_ParseContentPerl(
   ...
 
Could it be that $self-Type is not getting set?  When looking at the 
 template thru the admin
interface, the Type: Perl radio button is checked.

If you look in the DB, is the Type field on Templates set?

-kevin


pgp2omaCG8oED.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] kiosk mode?

2011-11-10 Thread Kevin Falcone
On Thu, Nov 10, 2011 at 10:47:27AM -0800, Yan Seiner wrote:
 We're planning to set up a display in one of the crew areas that displays
 their current projects.
 
 To goal is to have it completely automated; the computer gets turned on
 and it auto-logs in to a default user, runs a browser, and brings up a
 default RT dashboard.
 
 Is anyone aware of a plugin that would allow RT to log in automatically as
 a particular user?

The code that we're using for rt.cpan.org and rt.perl.org logs in as a
Public user into a separate part of the UI.  You may be able to adapt
that.  

-kevin


pgprqeX5loxmq.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] kiosk mode?

2011-11-10 Thread Yan Seiner

On Thu, November 10, 2011 11:05 am, Kevin Falcone wrote:

 The code that we're using for rt.cpan.org and rt.perl.org logs in as a
 Public user into a separate part of the UI.  You may be able to adapt
 that.

Where can I find that code?

Thanks!


-- 
Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] kiosk mode?

2011-11-10 Thread Aaron Zuercher
Most modern browsers have the option of saving login and password
information for websites.  They would still have to click OK but the
credentials would be saved for them.

I know IE has a kiosk mode that can hide all toolbars/buttons.  Not sure if
other browser can do this.


Aaron



On Thu, Nov 10, 2011 at 12:47 PM, Yan Seiner y...@seiner.com wrote:

 We're planning to set up a display in one of the crew areas that displays
 their current projects.

 To goal is to have it completely automated; the computer gets turned on
 and it auto-logs in to a default user, runs a browser, and brings up a
 default RT dashboard.

 Is anyone aware of a plugin that would allow RT to log in automatically as
 a particular user?




 --
 Pain is temporary. It may last a minute, or an hour, or a day, or a year,
 but eventually it will subside and something else will take its place. If
 I quit, however, it lasts forever.

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain  November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RT 4.0.3 - Email templates are not parsed

2011-11-10 Thread Kevin Falcone
On Thu, Nov 10, 2011 at 02:04:42PM -0500, Kevin Falcone wrote:
 On Thu, Nov 10, 2011 at 01:46:40PM -0500, jim.h.be...@frb.gov wrote:
 Hi
  
 I believe this is the same issue reported by  Francesc Guasch 
  fran...@telecos.upc.edu.  We
 upgraded from 3.8.10 to 4.0.3.  Email is sent as expected via our scrip, 
  but our template is
 not parsed, so that we see {$Ticket-Subject}.  Earlier I had upgraded 
  from 3.8.10 to 4.0.2
 but did have this issue.
  
 The logs show: [warning]: Use of uninitialized value in string eq at
  rt4/sbin/../lib/RT/Template.pm line 410.  which is
  
  if ($self-Type eq 'Perl') {
 return $self-_ParseContentPerl(
...
  
 Could it be that $self-Type is not getting set?  When looking at the 
  template thru the admin
 interface, the Type: Perl radio button is checked.
 
 If you look in the DB, is the Type field on Templates set?

We've replicated this.  For you and Francesco, you can flip the
Type field in the DB.  I expect 4.0.4 to ship soon.

-kevin


pgpPQu9SGcmqN.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] RT 4.0.3 upgrade problem

2011-11-10 Thread Jeff Sampson
Thanks for the replies thus far.  I've tried them all, but I'm still
getting the same error.

I just reinstalled my entire perl installation on the box and that fixed
the problem.  I'm still not sure exactly what caused the problem.

On Thu, Nov 10, 2011 at 7:54 AM, Kevin Falcone falc...@bestpractical.comwrote:

 On Wed, Nov 09, 2011 at 02:54:08PM -1000, Jeff Sampson wrote:
 Here are the RT related config sections..

 Since you do this twice:

 Perl
 use Plack::Handler::Apache2;
 Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
 /Perl
 Perl
 use Plack::Handler::Apache2;
 Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
 /Perl

 Once for each virtual host, I could see apache and mod_perl being
 grumpy about it.

 -kevin

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain — November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

[rt-users] [rt-announce] RT 4.0.4 released, fixes RT 3 - 4.0.3 upgrade regression

2011-11-10 Thread Alex Vandiver
RT 4.0.3 contained a serious bug wherein upgrades from any version of
RT 3 to RT 4.0.3 broke template interpolation; please do not use it.  If
you had previously upgraded from RT 3 to RT 4.0.0, 4.0.1, or 4.0.2,
before upgrading to RT 4.0.3, you are not affected by this bug.

If you are currently running RT 4.0.3 and are affected by this issue,
upgrading to RT 4.0.4 will resolve it.

http://download.bestpractical.com/pub/rt/release/rt-4.0.4.tar.gz
http://download.bestpractical.com/pub/rt/release/rt-4.0.4.tar.gz.sig

SHA1 sums

4a998b518a181fb36d380cbd762610478027c655  rt-4.0.4.tar.gz
d80fcd7e722a7f36892b1ca53673b34972363c2c  rt-4.0.4.tar.gz.sig

 - Alex

___
rt-announce mailing list
rt-annou...@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


[rt-users] Custom fields

2011-11-10 Thread Zoedog

We are in the process of adding the use of custom fields to our application.
The issue we are having is that anyone without admin privileges is not
seeing the custom fields when they are creating tickets, we have gone thru a
number of iterations tweaking permissions to get these fields to appear but
are having no success. What are we missing?
-- 
View this message in context: 
http://old.nabble.com/Custom-fields-tp32822127p32822127.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] RT 4.0.3 - Email templates are not parsed

2011-11-10 Thread Kevin Falcone
On Thu, Nov 10, 2011 at 02:28:30PM -0500, Kevin Falcone wrote:
 On Thu, Nov 10, 2011 at 02:04:42PM -0500, Kevin Falcone wrote:
  On Thu, Nov 10, 2011 at 01:46:40PM -0500, jim.h.be...@frb.gov wrote:
  Hi
   
  I believe this is the same issue reported by  Francesc Guasch 
   fran...@telecos.upc.edu.  We
  upgraded from 3.8.10 to 4.0.3.  Email is sent as expected via our 
   scrip, but our template is
  not parsed, so that we see {$Ticket-Subject}.  Earlier I had upgraded 
   from 3.8.10 to 4.0.2
  but did have this issue.
   
  The logs show: [warning]: Use of uninitialized value in string eq at
   rt4/sbin/../lib/RT/Template.pm line 410.  which is
   
   if ($self-Type eq 'Perl') {
  return $self-_ParseContentPerl(
 ...
   
  Could it be that $self-Type is not getting set?  When looking at the 
   template thru the admin
  interface, the Type: Perl radio button is checked.
  
  If you look in the DB, is the Type field on Templates set?
 
 We've replicated this.  For you and Francesco, you can flip the
 Type field in the DB.  I expect 4.0.4 to ship soon.

As 4.0.4 is available, please upgrade it to fix this issue.
Thanks for the report and the extra information.

-kevin


pgpTcVJoVVzQP.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] Custom fields

2011-11-10 Thread Kenneth Crocker
Zoedog,

Without seeing how you set up your permissions it would be hard to tell
just what is wrong.

When I create a Custom Field, I do NOT grant rights to the CF via
Queue/Group rights. I only grant the right via Group rights while in the
Custom Field pages. If someone needs to see a CF, make sure he is in the
right group and that should do it, as long as they also have rights to see
the Queue and SeeTicket.

Hope this helps.

Kenn

On Thu, Nov 10, 2011 at 1:37 PM, Zoedog dstro...@flexstar.com wrote:


 We are in the process of adding the use of custom fields to our
 application.
 The issue we are having is that anyone without admin privileges is not
 seeing the custom fields when they are creating tickets, we have gone thru
 a
 number of iterations tweaking permissions to get these fields to appear but
 are having no success. What are we missing?
 --
 View this message in context:
 http://old.nabble.com/Custom-fields-tp32822127p32822127.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Barcelona, Spain  November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28  29, 2011

Re: [rt-users] Custom fields

2011-11-10 Thread Zoedog

Is there a recommended defaut set up that I can use as a model to help us get
to a working point, we like the the system, its learning how to navigate
that becomes an issue.

Thanks



Zoedog wrote:
 
 We are in the process of adding the use of custom fields to our
 application. The issue we are having is that anyone without admin
 privileges is not seeing the custom fields when they are creating tickets,
 we have gone thru a number of iterations tweaking permissions to get these
 fields to appear but are having no success. What are we missing?
 

-- 
View this message in context: 
http://old.nabble.com/Custom-fields-tp32822127p32823818.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] RTx::BecomeUser extension working in RT4?

2011-11-10 Thread Allen Lee
 Would be interested to know if you make any progress with this one -
 BecomeUser was a useful debugging tool in 3.xx

I got it working today and submitted it back to the CPAN maintainer. I
will give the code to anyone who asks but maybe you want to wait first
to see if he packages it up for us properly.

What I did was install the latest 1.10_2 version of the extension that
worked fine for RT3.8, and then just hacked the files under the local
plugin directory in a running instance of RT4 until it was working
again.

Allen

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28  29, 2011