Re: [rt-users] RT 4.0.2 too much CPU hungry !

2011-10-13 Thread Sergio Charpinel Jr.
There was a problem in RT 4.0 with JS minify. I think it was fixed in
4.0.2 though.
You can search for js minify in the mailing list and try it.

Hope this helps.

Hugs.

2011/10/13 Michele Pinassi michele.pina...@unisi.it:
 Dear bart,

 thanks for you suggestion but still RT is too slow. In the log i have a
 lot of warnings like:

 [Thu Oct 13 08:33:41 2011] [warning]: Use of uninitialized value
 $location in regexp compilation at
 /usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm line 105.
 (/usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm:101)

 Any hint ?

 Michele

 On 11/10/2011 12:34, Bart wrote:
 Difficult to say.

 We run RT 4.0.2 on a Debian 6 environment as well (manual
 installation, manual perl dependency installation via cpan, etc.)

 The only thing I see in your posted config is an error in the way your
 plugins are included:

 --
 Michele Pinassi
 Servizio Reti, Sistemi e Sicurezza Informatica
 Università degli Studi di Siena
 tel: 0577.(23)2169
 https://sites.google.com/a/unisi.it/o-zone/



 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  San Francisco, CA, USA — October 18  19, 2011
 *  Washington DC, USA — October 31  November 1, 2011
 *  Barcelona, Spain — November 28  29, 2011




-- 
Sergio Roberto Charpinel Jr.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] Accented Character in Subject - Email is not sent

2010-12-02 Thread Sergio Charpinel Jr.
Mathieu,

Thanks very much.

I still have a little problem. When I answer the ticket from gmail, for
example, the encoding still not right.
But in RT it is fine.

2010/12/1 Mathieu Longtin math...@closetwork.org

 I just submitted a patch for this:


 http://issues.bestpractical.com/Ticket/Display.html?id=16052;user=guest;pass=guest
 --
 Mathieu Longtin
 1-514-803-8977



 On Wed, Dec 1, 2010 at 8:42 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Hi,

 I have a RT 3.8.8 which was upgraded from 3.8.5.

 The problem is when I answer a ticket via e-mail, and use accented chars
 in the Subject. RT replaces these chars with a ? , and does not send the
 e-mail (to AdminCc).
 Also, the chars are replaced in the body of the message with ? .

 My outputEncoding is uft-8 (default). I tried to change
 to Set($EmailOutputEncoding, 'iso-8859-1'); , but it did not work too.

 Any ideas?

 Thanks in advance.

 --
 Sergio Roberto Charpinel Jr.





-- 
Sergio Roberto Charpinel Jr.


[rt-users] Accented Character in Subject - Email is not sent

2010-12-01 Thread Sergio Charpinel Jr.
Hi,

I have a RT 3.8.8 which was upgraded from 3.8.5.

The problem is when I answer a ticket via e-mail, and use accented chars in
the Subject. RT replaces these chars with a ? , and does not send the e-mail
(to AdminCc).
Also, the chars are replaced in the body of the message with ? .

My outputEncoding is uft-8 (default). I tried to change
to Set($EmailOutputEncoding, 'iso-8859-1'); , but it did not work too.

Any ideas?

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.


[rt-users] Apache2::RequestIO::rflush

2010-06-09 Thread Sergio Charpinel Jr.
Hi,

I'm getting a lot of messages like that in log:

 [crit]: Apache2::RequestIO::rflush: (103) Software caused connection abort
at /usr/local/share/perl/5.10.0/HTML/Mason/ApacheHandler.pm line 1020
(/opt/rt3/bin/webmux.pl:165)

What could cause this?? I'm using RT 3.8.5

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] TransactionBatch - AddCustomFieldValue

2010-04-20 Thread Sergio Charpinel Jr.
OK and thanks for your help.

Here is the Scrip. I verify if the transaction is a change in a Custom Field
called 'Fim do evento' and then, change the value of another Custom Field to
a test value.
The problem is that when I change the CustomField via WebInterface, it runs
my scrip, change the values to 'teste', and then change again to what was
set before.

Custom Condition:
if ( $self-TransactionObj-Type ne CustomField){
   return 0;
}
return 1;

Preparation
1;

Cleanup
my $ticket = $self-TicketObj;
my $CFName = 'Fim do evento';
my $CF = RT::CustomField-new( $RT::SystemUser );
$CF-LoadByNameAndQueue( Name = $CFName, Queue = $ticket-Queue );
unless( $CF-id ) {
  $CF-LoadByNameAndQueue( Name = $CFName, Queue = '0' );
}
if ($self-TransactionObj-Field ne $CF-id){
return 0;
}

$CFName = 'Indisponibilidade';
$CF = RT::CustomField-new( $RT::SystemUser );
$CF-LoadByNameAndQueue( Name = $CFName, Queue = $ticket-Queue );
unless( $CF-id ) {
  $CF-LoadByNameAndQueue( Name = $CFName, Queue = '0' );
}

unless( $CF-id ) {
  $RT::Logger-error( No field $CFName in queue . $ticket-QueueObj-Name
);
  return undef;
}
my $Value = 'test';
$ticket-AddCustomFieldValue( Field =  $CF, Value = $Value );

return 1;


2010/4/19 Kenneth Crocker kfcroc...@lbl.gov

 Segio,

 It sounds like your stage is TransactionCreate. Even if you set it to
 TransactionBatch, you *ALSO* have to *TURN IT ON* in the
 etc/RT_SiteConfig.pm file. If you don't, it will either reverse the
 setting or just ignore the setting, I'm not sure which, but the main thing
 is that it won't work. Take a look at it.

 Kenn
 LBNL

 On Mon, Apr 19, 2010 at 9:54 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Sorry, It is getting executed, but the custom field is changing twice too.
 I need my scrip executing after the custom fields updates. Is this
 possible? Or is there another way to do this?

 2010/4/19 Raed El-Hames r...@vialtus.com


 Sergio Charpinel Jr. wrote:

 Thanks for your answers.
 Actually, I wanna change a custom field based in a change of another
 one. So, trying what Raed said, I wrote a Custom Condition to verify if it
 is a custom condition change.
 But I had the same problem.. When I update via Web interface, the Custom
 Field is changed twice, in TransactionCreate, and in Transactionbatch the
 scrip is not executed.

  Do you know why the (Transactionbatch) scrip is not executed ?? is
 there any perl errors ? have you checked the logs

 Roy


  Any ideas?






 --
 Sergio Roberto Charpinel Jr.


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com





-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] TransactionBatch - AddCustomFieldValue

2010-04-20 Thread Sergio Charpinel Jr.
Thanks for your help, now it is working.

I changed a little the code, and I was forgetting to refresh the page :x
I'm using TransactionBatch.

Cheers.

2010/4/20 Sergio Charpinel Jr. sergiocharpi...@gmail.com

 OK and thanks for your help.

 Here is the Scrip. I verify if the transaction is a change in a Custom
 Field called 'Fim do evento' and then, change the value of another Custom
 Field to a test value.
 The problem is that when I change the CustomField via WebInterface, it runs
 my scrip, change the values to 'teste', and then change again to what was
 set before.

 Custom Condition:
 if ( $self-TransactionObj-Type ne CustomField){
return 0;
 }
 return 1;

 Preparation
 1;

 Cleanup
 my $ticket = $self-TicketObj;
 my $CFName = 'Fim do evento';
 my $CF = RT::CustomField-new( $RT::SystemUser );
 $CF-LoadByNameAndQueue( Name = $CFName, Queue = $ticket-Queue );
 unless( $CF-id ) {
   $CF-LoadByNameAndQueue( Name = $CFName, Queue = '0' );
 }
 if ($self-TransactionObj-Field ne $CF-id){
 return 0;
 }

 $CFName = 'Indisponibilidade';
 $CF = RT::CustomField-new( $RT::SystemUser );
 $CF-LoadByNameAndQueue( Name = $CFName, Queue = $ticket-Queue );
 unless( $CF-id ) {
   $CF-LoadByNameAndQueue( Name = $CFName, Queue = '0' );
 }

 unless( $CF-id ) {
   $RT::Logger-error( No field $CFName in queue . $ticket-QueueObj-Name
 );
   return undef;
 }
 my $Value = 'test';
 $ticket-AddCustomFieldValue( Field =  $CF, Value = $Value );

 return 1;


 2010/4/19 Kenneth Crocker kfcroc...@lbl.gov

 Segio,

 It sounds like your stage is TransactionCreate. Even if you set it to
 TransactionBatch, you *ALSO* have to *TURN IT ON* in the
 etc/RT_SiteConfig.pm file. If you don't, it will either reverse the
 setting or just ignore the setting, I'm not sure which, but the main thing
 is that it won't work. Take a look at it.

 Kenn
 LBNL

 On Mon, Apr 19, 2010 at 9:54 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Sorry, It is getting executed, but the custom field is changing twice
 too.
 I need my scrip executing after the custom fields updates. Is this
 possible? Or is there another way to do this?

 2010/4/19 Raed El-Hames r...@vialtus.com


 Sergio Charpinel Jr. wrote:

 Thanks for your answers.
 Actually, I wanna change a custom field based in a change of another
 one. So, trying what Raed said, I wrote a Custom Condition to verify if it
 is a custom condition change.
 But I had the same problem.. When I update via Web interface, the
 Custom Field is changed twice, in TransactionCreate, and in 
 Transactionbatch
 the scrip is not executed.

  Do you know why the (Transactionbatch) scrip is not executed ?? is
 there any perl errors ? have you checked the logs

 Roy


  Any ideas?






 --
 Sergio Roberto Charpinel Jr.


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com





 --
 Sergio Roberto Charpinel Jr.




-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] TransactionBatch - AddCustomFieldValue

2010-04-19 Thread Sergio Charpinel Jr.
Thanks for your answers.

Actually, I wanna change a custom field based in a change of another one.
So, trying what Raed said, I wrote a Custom Condition to verify if it is a
custom condition change.
But I had the same problem.. When I update via Web interface, the Custom
Field is changed twice, in TransactionCreate, and in Transactionbatch the
scrip is not executed.

Any ideas?

2010/4/16 Kenneth Crocker kfcroc...@lbl.gov

 Sergio,

 Your scrips have different conditions, so they are completely separate
 transaction. Look at any scrips that are triggered by the status changing to
 resolved and see what is happening to the Custom Fields AND check the
 stage to see if it is TransactionBatch. Hope this helps.

 Kenn
 LBNL

 On Fri, Apr 16, 2010 at 10:12 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Yes, that was happening in TransactionCreate.

 So, I found people with similar problems that solved this using
 TransactionBatch, because the scrip is executed later. But, when I change
 status to resolved, the CustomField does not get changed (in
 TransactionCreate it was twice).
 I dont know why this is happening.

 2010/4/16 Raed El-Hames r...@vialtus.com

  Are you creating the ticket from the web interface and that custom field
 exist in the form;
 Most likely the script is changing it to the value you want, then its
 changing again to the value given in the form while processing the form ??
 Is that what is happening??
 If its , I would suggest you change your scrip condition to Userdefined
 and look for Custom Field create or change
 something similar to
 http://wiki.bestpractical.com/view/OnCustomFieldValueChange

 Regards;
 Roy


 Sergio Charpinel Jr. wrote:

 Hi,

 I'm trying to change a CustomField value in OnCreate event.
 I cant use TransactionCreate stage, because when I resolve the ticket
 via Web Interface, it changes again my custom field value to what it was.

 So, I'm trying to use TransactionBatch stage, but the field is not
 changed. And the script is get executed.

 What am I doing wrong??
 Thanks for any help.

 --
 Sergio Roberto Charpinel Jr.




 --
 Sergio Roberto Charpinel Jr.


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com





-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] TransactionBatch - AddCustomFieldValue

2010-04-19 Thread Sergio Charpinel Jr.
Sorry, It is getting executed, but the custom field is changing twice too.
I need my scrip executing after the custom fields updates. Is this possible?
Or is there another way to do this?

2010/4/19 Raed El-Hames r...@vialtus.com


 Sergio Charpinel Jr. wrote:

 Thanks for your answers.
 Actually, I wanna change a custom field based in a change of another one.
 So, trying what Raed said, I wrote a Custom Condition to verify if it is a
 custom condition change.
 But I had the same problem.. When I update via Web interface, the Custom
 Field is changed twice, in TransactionCreate, and in Transactionbatch the
 scrip is not executed.

  Do you know why the (Transactionbatch) scrip is not executed ?? is there
 any perl errors ? have you checked the logs

 Roy


  Any ideas?






-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] TransactionBatch - AddCustomFieldValue

2010-04-16 Thread Sergio Charpinel Jr.
Hi,

I'm trying to change a CustomField value in OnCreate event.
I cant use TransactionCreate stage, because when I resolve the ticket via
Web Interface, it changes again my custom field value to what it was.

So, I'm trying to use TransactionBatch stage, but the field is not changed.
And the script is get executed.

What am I doing wrong??

Thanks for any help.

-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] TransactionBatch - AddCustomFieldValue

2010-04-16 Thread Sergio Charpinel Jr.
Yes, that was happening in TransactionCreate.

So, I found people with similar problems that solved this using
TransactionBatch, because the scrip is executed later. But, when I change
status to resolved, the CustomField does not get changed (in
TransactionCreate it was twice).
I dont know why this is happening.

2010/4/16 Raed El-Hames r...@vialtus.com

 Are you creating the ticket from the web interface and that custom field
 exist in the form;
 Most likely the script is changing it to the value you want, then its
 changing again to the value given in the form while processing the form ??
 Is that what is happening??
 If its , I would suggest you change your scrip condition to Userdefined and
 look for Custom Field create or change
 something similar to
 http://wiki.bestpractical.com/view/OnCustomFieldValueChange

 Regards;
 Roy


 Sergio Charpinel Jr. wrote:

 Hi,

 I'm trying to change a CustomField value in OnCreate event.
 I cant use TransactionCreate stage, because when I resolve the ticket via
 Web Interface, it changes again my custom field value to what it was.

 So, I'm trying to use TransactionBatch stage, but the field is not
 changed. And the script is get executed.

 What am I doing wrong??
 Thanks for any help.

 --
 Sergio Roberto Charpinel Jr.




-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Howto add bcc?

2010-03-24 Thread Sergio Charpinel Jr.
Ok Kenneth,

Adding Cc or Bcc one time, as email recipients, would work for me.
But I would like to know if is possible to add it when creating a ticket (In
web interface, I can't see this option while creating ticket, just when
responding one).
And if is possible to add it via e-mail.

Thanks

2010/3/23 Kenneth Crocker kfcroc...@lbl.gov

 Sergio,

 Notice that what you call Add Bcc or Cc RT calls adding a ONE TIME Bcc
 or Cc. That means they are not PERMANENTLY added to the ticket, therefore,
 they are merely appended to the email as recipients, not ticket watchers.

 My scrip merely picks up the value of the CF (in my case they are User
 names) append the rest of our email address to it (@xxx.gov) and then uses
 it as an other for the Notify Other on Correspond scrip, which uses a
 modified template to insert that address. I do not have any code that emails
 several addresses out of a CF. I was merely suggesting the idea. Sorry.

 Kenn
 LBNL


 On Tue, Mar 23, 2010 at 8:12 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Thanks Kenneth,

 But, when you respond a ticket via web interface, you can add Bcc and Cc,
 right?
 But not when creating one.
 What about creating a Custom field? I'll need a scrip to email the
 adresses in the custom field, and send a separate email for each address, or
 send one for all of them but as bcc.
 Do you have some code that do something similar to this?

 Thanks a lot.

 2010/3/23 Kenneth Crocker kfcroc...@lbl.gov

 Sergio,

 There is no ticket or Queue Watcher designation for Bcc, therefore
 there is no field and if there is no field, there is no code to update such
 a field. I guess it wasn't part of the initial design. I've never seen a
 demand for it in the past few years. Sorry. Depending on use, you could
 create a CF for it. I have a couple CF's (QA Approver, Migrator) that I use
 for emailing notices for certain workflow responsibilities, etc.

 Kenn
 LBNL

 On Tue, Mar 23, 2010 at 7:23 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Hi,

 When I create a ticket, I cannot add a bbc. Is it possible or why not?
 And is it possible to add bcc when corresponding via email?


 --
 Sergio Roberto Charpinel Jr.


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com





 --
 Sergio Roberto Charpinel Jr.





-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Howto add bcc?

2010-03-24 Thread Sergio Charpinel Jr.
That's fine Kenneth. Thanks for your help

I dont want to add a *permanent* Bcc.
I just want to add a bcc for that message (not for the ticket) when creating
the ticket, and via e-mail.

2010/3/24 Kenneth Crocker kfcroc...@lbl.gov

 Sergio,

 Based on current design and code, I can't see any way for delivered RT to
 add a *permanent* Bcc to a ticket. As I mentioned before, the only thought
 I have toward that functionality would be to create a CF and a scrip to
 maintain it and a template for the emails. Sorry I can't help further.

 Kenn
 LBNL


 On Wed, Mar 24, 2010 at 4:29 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Ok Kenneth,

 Adding Cc or Bcc one time, as email recipients, would work for me.
 But I would like to know if is possible to add it when creating a ticket
 (In web interface, I can't see this option while creating ticket, just when
 responding one).
 And if is possible to add it via e-mail.

 Thanks


 2010/3/23 Kenneth Crocker kfcroc...@lbl.gov

 Sergio,

 Notice that what you call Add Bcc or Cc RT calls adding a ONE TIME
 Bcc or Cc. That means they are not PERMANENTLY added to the ticket,
 therefore, they are merely appended to the email as recipients, not ticket
 watchers.

 My scrip merely picks up the value of the CF (in my case they are User
 names) append the rest of our email address to it (@xxx.gov) and then
 uses it as an other for the Notify Other on Correspond scrip, which uses
 a modified template to insert that address. I do not have any code that
 emails several addresses out of a CF. I was merely suggesting the idea.
 Sorry.

 Kenn
 LBNL


 On Tue, Mar 23, 2010 at 8:12 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Thanks Kenneth,

 But, when you respond a ticket via web interface, you can add Bcc and
 Cc, right?
 But not when creating one.
 What about creating a Custom field? I'll need a scrip to email the
 adresses in the custom field, and send a separate email for each address, 
 or
 send one for all of them but as bcc.
 Do you have some code that do something similar to this?

 Thanks a lot.

 2010/3/23 Kenneth Crocker kfcroc...@lbl.gov

 Sergio,

 There is no ticket or Queue Watcher designation for Bcc, therefore
 there is no field and if there is no field, there is no code to update 
 such
 a field. I guess it wasn't part of the initial design. I've never seen a
 demand for it in the past few years. Sorry. Depending on use, you could
 create a CF for it. I have a couple CF's (QA Approver, Migrator) that I 
 use
 for emailing notices for certain workflow responsibilities, etc.

 Kenn
 LBNL

 On Tue, Mar 23, 2010 at 7:23 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Hi,

 When I create a ticket, I cannot add a bbc. Is it possible or why not?
 And is it possible to add bcc when corresponding via email?


 --
 Sergio Roberto Charpinel Jr.


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com





 --
 Sergio Roberto Charpinel Jr.





 --
 Sergio Roberto Charpinel Jr.





-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Howto add bcc?

2010-03-23 Thread Sergio Charpinel Jr.
Hi,

When I create a ticket, I cannot add a bbc. Is it possible or why not?
And is it possible to add bcc when corresponding via email?


-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Howto add bcc?

2010-03-23 Thread Sergio Charpinel Jr.
Thanks Kenneth,

But, when you respond a ticket via web interface, you can add Bcc and Cc,
right?
But not when creating one.
What about creating a Custom field? I'll need a scrip to email the adresses
in the custom field, and send a separate email for each address, or send one
for all of them but as bcc.
Do you have some code that do something similar to this?

Thanks a lot.

2010/3/23 Kenneth Crocker kfcroc...@lbl.gov

 Sergio,

 There is no ticket or Queue Watcher designation for Bcc, therefore there
 is no field and if there is no field, there is no code to update such a
 field. I guess it wasn't part of the initial design. I've never seen a
 demand for it in the past few years. Sorry. Depending on use, you could
 create a CF for it. I have a couple CF's (QA Approver, Migrator) that I use
 for emailing notices for certain workflow responsibilities, etc.

 Kenn
 LBNL

 On Tue, Mar 23, 2010 at 7:23 AM, Sergio Charpinel Jr. 
 sergiocharpi...@gmail.com wrote:

 Hi,

 When I create a ticket, I cannot add a bbc. Is it possible or why not?
 And is it possible to add bcc when corresponding via email?


 --
 Sergio Roberto Charpinel Jr.


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com





-- 
Sergio Roberto Charpinel Jr.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-10 Thread Sergio Charpinel Jr.
Now I can use spaces between custom field name.

I changed  line 200 from
last if $line !~ /^(?:(\S+)\s*?:\s*?(.*)\s*?|)$/;

to:
last if $line !~ /^(?:(.+)\s*?:\s*?(.*)\s*?|)$/;

and there is no C before custom fields name ( at least in version 0.07 ) of
commandbymail.

Bye

2009/11/9 Sergio Charpinel Jr. sergiocharpi...@gmail.com

 Seems like I cant use space in custom field name. And there is C before the
 name.
 Does anyone can use this plugin with space in custom fields?

 Thanks

 2009/11/9 Sergio Charpinel Jr. sergiocharpi...@gmail.com

 Hi,

 I have installed CommandByMail plugin, and added these lines do
 RT_SiteConfig.pm:

 Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
 Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

 But I getting this error:
 [error]: Couldn't load RT::Interface::Email::Filter::TakeAction: Can't
 locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
 /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
 /opt/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0
 /usr/local/share/perl/5.10.0 /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/rt3/bin/../lib/RT/Interface/Email.pm line 1104.

 If I copy
 /opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
 and I can use Stats: resolved command for example. But I cant get
 CustomFields to work.

 For example, I have a CF called Problem time.
 So here is my message:
 ---
 CF.{CProblem Time}: 12 40

 My messagee...
 --

 But nothing happens to my Custom Field.
 Any ideas? Do I really have to copy the file, or there is something else
 that I have to do?

 Thanks in advance.

 --
 Sergio Roberto Charpinel Jr.




 --
 Sergio Roberto Charpinel Jr.




-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-10 Thread Sergio Charpinel Jr.
Yes
This are my lines:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

Set(@Plugins,(qw(RT::FM RT::Extension::MandatorySubject)));
Set(@Plugins,(qw(RT::FM RT::Extension::MandatoryRequestor)));
Set(@Plugins,(qw(RT::FM RTx::Calendar)));
Set(@Plugins,(qw(RT::FM RT::Extension::SearchResults::XLS)));
Set(@Plugins,(qw(RT::FM RTx::EmailCompletion)));
Set(@Plugins,(qw(RT::FM RT::Extension::ResetPassword)));
Set(@Plugins,(qw(RT::FM RT::Extension::ActivityReports)));
Set(@Plugins, qw(RT::FM));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
Set(@Plugins, qw(RT::Extension::MergeUsers));


2009/11/10 Kevin Falcone falc...@bestpractical.com

 On Tue, Nov 10, 2009 at 11:02:36AM -0200, Sergio Charpinel Jr. wrote:
 Now I can use spaces between custom field name.
 
 I changed line 200 from
 last if $line !~ /^(?:(\S+)\s*?:\s*?(.*)\s*?|)$/;
 
 to:
 last if $line !~ /^(?:(.+)\s*?:\s*?(.*)\s*?|)$/;
 
 and there is no C before custom fields name ( at least in version 0.07
 ) of commandbymail.

 I believe this is already fixed in the 0.08_01 development release.

 I have installed CommandByMail plugin, and added these lines do
 RT_SiteConfig.pm:
 
 Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
 Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

 Do you have another @Plugins line, possibly something involding
 RT::Extension::MErgeUsers?  Your @INC below makes no mention of RT-FM
 or RT-Extension-CommandByMail

 But I getting this error:
 [error]: Couldn't load RT::Interface::Email::Filter::TakeAction:
 Can't locate
 RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
 /opt/rt3/bin/../local/lib
 /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
 /opt/rt3/bin/../lib /etc/perl
 /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0
 /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/rt3/bin/../lib/RT/Interface/Email.pm line 1104.

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com




-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] CommandbyMail rt 3.8.5

2009-11-09 Thread Sergio Charpinel Jr.
Hi,

I have installed CommandByMail plugin, and added these lines do
RT_SiteConfig.pm:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

But I getting this error:
[error]: Couldn't load RT::Interface::Email::Filter::TakeAction: Can't
locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
/opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
/opt/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /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/rt3/bin/../lib/RT/Interface/Email.pm line 1104.

If I copy
/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
and I can use Stats: resolved command for example. But I cant get
CustomFields to work.

For example, I have a CF called Problem time.
So here is my message:
---
CF.{CProblem Time}: 12 40

My messagee...
--

But nothing happens to my Custom Field.
Any ideas? Do I really have to copy the file, or there is something else
that I have to do?

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-09 Thread Sergio Charpinel Jr.
Seems like I cant use space in custom field name. And there is C before the
name.
Does anyone can use this plugin with space in custom fields?

Thanks

2009/11/9 Sergio Charpinel Jr. sergiocharpi...@gmail.com

 Hi,

 I have installed CommandByMail plugin, and added these lines do
 RT_SiteConfig.pm:

 Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
 Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

 But I getting this error:
 [error]: Couldn't load RT::Interface::Email::Filter::TakeAction: Can't
 locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
 /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
 /opt/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0
 /usr/local/share/perl/5.10.0 /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/rt3/bin/../lib/RT/Interface/Email.pm line 1104.

 If I copy
 /opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
 and I can use Stats: resolved command for example. But I cant get
 CustomFields to work.

 For example, I have a CF called Problem time.
 So here is my message:
 ---
 CF.{CProblem Time}: 12 40

 My messagee...
 --

 But nothing happens to my Custom Field.
 Any ideas? Do I really have to copy the file, or there is something else
 that I have to do?

 Thanks in advance.

 --
 Sergio Roberto Charpinel Jr.




-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Scrips and Graphics

2009-11-04 Thread Sergio Charpinel Jr.
Thanks for your reply guys,

Jerrad, which book do you mean?

About the graphics, when I go to the reports page, and  make a report, it
says: Graphics are not available.
How can I enable them?


2009/11/3 Ken Crocker kfcroc...@lbl.gov

  Sergio,

 Just Disable the Global scrip and create the autoreply on create in that
 particular queue.

 Kenn
 LBNL


 On 11/3/2009 10:12 AM, Sergio Charpinel Jr. wrote:

 Hi,

 I have two questions:

 The first one, I would like to not send e-mail to the requestor, but just
 in a specific queue. Can I do this ? I couldnt  remove the scrip from the
 specific queue.

 Second, How can I enable graphics in my RT ?


 Thanks in advance.

 --
 Sergio Roberto Charpinel Jr.

 --

 ___http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com




-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Scrips and Graphics

2009-11-03 Thread Sergio Charpinel Jr.
Hi,

I have two questions:

The first one, I would like to not send e-mail to the requestor, but just in
a specific queue. Can I do this ? I couldnt  remove the scrip from the
specific queue.

Second, How can I enable graphics in my RT ?


Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Change Subject

2009-10-22 Thread Sergio Charpinel Jr.
Hi,

How can I change the subject before creating the ticket?

Thanks.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] 2 email for 1 user

2009-10-12 Thread Sergio Charpinel Jr.
Thanks Jerrad,
I read the wiki and some archives, but I did not find anything about this.

I'll try it.

2009/10/9 Jerrad Pierce jpie...@cambridgeenergyalliance.org

  Is it possible to set more than one e-mail for an user?
 Yes, read the archives! Search the wiki!

 The MergeUsers extension will let you do this.

 Similar results may be attainable with a LART.
 --
 Cambridge Energy Alliance: Save money. Save the planet.




-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] 2 email for 1 user

2009-10-09 Thread Sergio Charpinel Jr.
Hi,
Is it possible to set more than one e-mail for an user?

Thanks.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] 302 Error

2009-10-09 Thread Sergio Charpinel Jr.
I was using mod_rewrite to redirect http to https.

Just install libssleay and access it via https.

Problem solved, thanks

2009/10/5 Sergio Charpinel Jr. sergiocharpi...@gmail.com

 Hi,

 I've installed RT 3.8.5, and when I try to create a user via command line,
 I get this error:
 rt: Server error: Found (302)

 It does not log anything.

 Thanks in advance.

 --
 Sergio Roberto Charpinel Jr.




-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] 302 Error

2009-10-05 Thread Sergio Charpinel Jr.
Hi,

I've installed RT 3.8.5, and when I try to create a user via command line, I
get this error:
rt: Server error: Found (302)

It does not log anything.

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Permission ShowTicket

2009-09-22 Thread Sergio Charpinel Jr.
Hi,
Is it possible to set permission to restrict group to see only their own
tickets?

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Permission ShowTicket

2009-09-22 Thread Sergio Charpinel Jr.
I want to let the user see just his own tickets. All the ticket that he had
created.


 2009/9/22 Ken Crocker kfcroc...@lbl.gov

  Sergio,

 Why not just grant ShowTicket to the role Requestors or Owners
 depending on what you meant by their own tickets?

 Kenn
 LBNL


 On 9/22/2009 7:14 AM, Sergio Charpinel Jr. wrote:

 Hi,
 Is it possible to set permission to restrict group to see only their own
 tickets?

 Thanks in advance.

 --
 Sergio Roberto Charpinel Jr.

 --

 ___http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com




 --
 Sergio Roberto Charpinel Jr.




-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] RT Auto Create users

2009-09-18 Thread Sergio Charpinel Jr.
Hi,
Is it possible to disable the auto creation of users by email or login?
I want to just let registered users to open ticket by mail.
Is it possible?

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com