Re: [rt-users] Allow requestor close ticket

2013-03-29 Thread Albert Shih
 Le 28/03/2013 ? 12:02:19-0400, Kevin Falcone a écrit
 On Thu, Mar 28, 2013 at 02:38:53PM +0100, Albert Shih wrote:
  I would like to let requestor to close their owns tickets.
  
  So I grant to requestor  : 
  
  Modifiyticket
  DeletedTicket
  
  but on the web SelfService interface I don't see how the requestor can
  close their ticket.
  
  So I grant all rights to requestor (excludes administrator right) event so
  I can find how the requestor can close their own tickets.
 
 Where are you looking?
 The Basics link and Reply link in Self Service should contain status
 change dropdowns if the users have enough rights.

Ah thanks you very much. 

I'm looking in the wrong place.

Regards. 

JAS


-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
ven 29 mar 2013 09:37:22 CET


Re: [rt-users] Start page is displaied when DB is unavalable

2013-03-29 Thread Asanka Gunasekera
:) thanks Reslan, Regards

Asanka



 From: Ruslan Zakirov r...@bestpractical.com
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk 
Cc: RT User List rt-users@lists.bestpractical.com 
Sent: Friday, 29 March 2013, 1:33
Subject: Re: [rt-users] Start page is displaied when DB is unavalable
 
On Thu, Mar 28, 2013 at 10:23 PM, Asanka Gunasekera
asanka_gunasek...@yahoo.co.uk wrote:
 Thank you Ruslan, hope I will not break what is working :) and is this fixed
 on later releases since I am planning on doing an upgrade to the latust

It's not at the moment and I don't know if it's on anybody's radar.

 Best Regards

 
 From: Ruslan Zakirov r...@bestpractical.com
 To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
 Cc: RT User List rt-users@lists.bestpractical.com
 Sent: Thursday, 28 March 2013, 20:26
 Subject: Re: [rt-users] Start page is displaied when DB is unavalable

 On Thu, Mar 28, 2013 at 2:59 PM, Asanka Gunasekera
 asanka_gunasek...@yahoo.co.uk wrote:
 Hi I am running RT 4.00 and when trying to connect to RT it gives starter
 page when the  database is not available. How can I stop this behaviour or
 start a page saying that the RT is down when the DB is not available
 Thanks and Regards

 Filed as a bug/feature request [1]. It's not hard to implement. If you
 want to then you should start around line 274 in
 lib/RT/Interface/Web/Handler.pm. Grep for ConnectToDatabase.

 [1] http://issues.bestpractical.com/Ticket/Display.html?id=23332


 --
 Best regards, Ruslan.





-- 
Best regards, Ruslan.

[rt-users] CanonicalizeEmailAddressMatch

2013-03-29 Thread Camron W. Fox
Alle,

Is it possible to use multiple entries for
CanonicalizeEmailAddressMatch? For example:

Set( $CanonicalizeEmailAddressMatch,
'@example\.ac\.jp$|@example\.org$|@example\.com$');

Best Regards,
Camron


-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com



Re: [rt-users] CanonicalizeEmailAddressMatch

2013-03-29 Thread k...@rice.edu
On Fri, Mar 29, 2013 at 07:10:53AM -1000, Camron W. Fox wrote:
 Alle,
 
   Is it possible to use multiple entries for
 CanonicalizeEmailAddressMatch? For example:
 
 Set( $CanonicalizeEmailAddressMatch,
 '@example\.ac\.jp$|@example\.org$|@example\.com$');
 
 Best Regards,
 Camron
 
Hi Camron,

Yes, here is the usage in the RT code:

if ( my $match   = RT-Config-Get('CanonicalizeEmailAddressMatch') and
 my $replace = RT-Config-Get('CanonicalizeEmailAddressReplace') )
{
$email =~ s/$match/$replace/gi;
}
return ($email);

Regards,
Ken


[rt-users] Sendmail Issues

2013-03-29 Thread Kevin Holleran
Obviously this is an RT list not a sendmail list, but could someone point
me to some good resources?  I am having trouble getting sendmail to well,
send mail.   somewhere along the way it stopped logging to /var/log/mail
(out of no where!  There's no way it could have been something I did!!! :)
 ).  I have configured my relays  ensured I have access, but no mail sends.

Thanks for any help.

Kevin


[rt-users] Cannot sent files of 1MB or larger via REST reqs

2013-03-29 Thread Hugo Escobar
Hi,

I've been using the REST api for some time to communicate RT with a custom
made web app.

I'm having problems sending files when their size approach 1MB.

The following lines show up in apache's error logs when i attempt to upload
big files:

[Fri Mar 29 16:07:08 2013] [warn] [client 192.168.1.106] mod_fcgid: error
reading data, FastCGI server closed connection
[Fri Mar 29 16:07:08 2013] [error] [client 192.168.1.106] Premature end of
script headers: rt-server.fcgi

For smaller sizes it works perfectly, even with multiple files.

I understand this issue might have been caused in the web app (not RT) but
i just wanted
to know if someone could shed some light here. Are there any size (or
otherwise) limits
that i could change in RT's (or apache) side?

Any help will be highly appreciated

-- 
Hugo Escobar


[image: AFS_logo.png]

Follow us on Facebook and Linked-In

[image: 
facebook-24x24.png]http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864
 [image: linkedin-24x24.png] http://www.linkedin.com/companies/1006276
linkedin-24x24.pngAFS_logo.pngfacebook-24x24.png

Re: [rt-users] Cannot sent files of 1MB or larger via REST reqs

2013-03-29 Thread Thomas Sibley
On 03/29/2013 01:18 PM, Hugo Escobar wrote:
 Hi,
 
 I've been using the REST api for some time to communicate RT with a custom
 made web app.
 
 I'm having problems sending files when their size approach 1MB.
 
 The following lines show up in apache's error logs when i attempt to
 upload big files:
 
 [Fri Mar 29 16:07:08 2013] [warn] [client 192.168.1.106] mod_fcgid:
 error reading data, FastCGI server closed connection
 [Fri Mar 29 16:07:08 2013] [error] [client 192.168.1.106] Premature end
 of script headers: rt-server.fcgi
 
 For smaller sizes it works perfectly, even with multiple files.

Read the warning about mod_fcgid here:
http://bestpractical.com/rt/docs/latest/web_deployment.html#mod_fcgid

1MB isn't the large or small default, but perhaps something else set
FcgidMaxRequestLen recently and you need to increase it.


Re: [rt-users] Cannot sent files of 1MB or larger via REST reqs

2013-03-29 Thread Hugo Escobar
Thank you Thomas. It seems to be going in the right direction. Just to let
you know, the message disappeared
since I Added FcgidMaxRequestLen to apache conf. The problem seems to be in
the db side,

[Fri Mar 29 20:30:23 2013] [warning]: DBD::mysql::rtuser execute failed:
MySQL server has gone away at
/usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 587.
(/usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm:587)
[Fri Mar 29 20:30:23 2013] [warning]: RT::Handle=HASH(0x6e23eb8) couldn't
execute the query 'INSERT INTO Attachments (Subject, ContentType, Filename,
Headers, MessageId, Creator, Parent, Created, ContentEncoding, Content,
TransactionId) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at
/usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 600.

DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x6e23eb8)',
'INSERT INTO Attachments (Subject, ContentType, Filename, Head...', '',
'application/octet-stream', 'some-1mb-file.pdf', 'Content-Type:
application/octet-stream; name=some-...', '', 127, 1645, ...) called at
/usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 350



On Fri, Mar 29, 2013 at 4:24 PM, Thomas Sibley t...@bestpractical.comwrote:

 On 03/29/2013 01:18 PM, Hugo Escobar wrote:
  Hi,
 
  I've been using the REST api for some time to communicate RT with a
 custom
  made web app.
 
  I'm having problems sending files when their size approach 1MB.
 
  The following lines show up in apache's error logs when i attempt to
  upload big files:
 
  [Fri Mar 29 16:07:08 2013] [warn] [client 192.168.1.106] mod_fcgid:
  error reading data, FastCGI server closed connection
  [Fri Mar 29 16:07:08 2013] [error] [client 192.168.1.106] Premature end
  of script headers: rt-server.fcgi
 
  For smaller sizes it works perfectly, even with multiple files.

 Read the warning about mod_fcgid here:
 http://bestpractical.com/rt/docs/latest/web_deployment.html#mod_fcgid

 1MB isn't the large or small default, but perhaps something else set
 FcgidMaxRequestLen recently and you need to increase it.




-- 
Hugo Escobar


[image: AFS_logo.png]

Follow us on Facebook and Linked-In

[image: 
facebook-24x24.png]http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864
 [image: linkedin-24x24.png] http://www.linkedin.com/companies/1006276
AFS_logo.pngfacebook-24x24.pnglinkedin-24x24.png

Re: [rt-users] Cannot sent files of 1MB or larger via REST reqs

2013-03-29 Thread Thomas Sibley
On 03/29/2013 01:36 PM, Hugo Escobar wrote:
 Thank you Thomas. It seems to be going in the right direction. Just to
 let you know, the message disappeared
 since I Added FcgidMaxRequestLen to apache conf. The problem seems to be
 in the db side,

Check your MySQL max_allowed_packet value.