Re: [rt-users] Automating ticket updates via RT::Client::REST

2013-04-26 Thread Ruslan Zakirov
On Fri, Apr 26, 2013 at 5:50 AM, Eli Boaz eb...@icontrol.com wrote: I've done some searching and perhaps my Google-fu is lacking, but I was wondering if there were any examples of updating tickets via RT::Client::REST::Ticket, aside from the information available on CPAN. What I'm

Re: [rt-users] Convert incoming html e-mail into plain text

2013-04-26 Thread Marko Cupać
Hi, I figured out I can solve it on pop3 server side (MS Exchange). I configured queue mailboxes to serve only plain text over pop3, so fetchmail now sends it to mailgate in plain text. -- Marko Cupać On Thu, 25 Apr 2013 16:40:53 +0400 Ruslan Zakirov r...@bestpractical.com wrote: Hi,

[rt-users] Add value to array in RT_SiteConfig.pm

2013-04-26 Thread Pavel Gulchouck
Hi. Is it possible to add a value to array in config? I want to add one custom script to @JSFiles, but cannot find anything like Push() or Add() in config parser, only Set(). Is the only way copy all predefined array from RT_Config.pm to RT_SiteConfig.pm? The same question for add (or modify)

[rt-users] Original request in owner change template

2013-04-26 Thread Marko Cupać
Is it possible (maybe by help of TransactionBatchStage) to include text of original request in owner change template, similar to including last comment on ticket resolve? -- Marko Cupać

Re: [rt-users] Original request in owner change template

2013-04-26 Thread Ruslan Zakirov
On Fri, Apr 26, 2013 at 2:57 PM, Marko Cupać marko.cu...@mimar.rs wrote: Is it possible (maybe by help of TransactionBatchStage) to include text of original request in owner change template, similar to including last comment on ticket resolve? You don't need batch stage for that. You just

Re: [rt-users] Add value to array in RT_SiteConfig.pm

2013-04-26 Thread Ruslan Zakirov
Hi, No, it is not possible. SiteConfig is loaded before core config. On Fri, Apr 26, 2013 at 1:12 PM, Pavel Gulchouck g...@gul.kiev.ua wrote: Hi. Is it possible to add a value to array in config? I want to add one custom script to @JSFiles, but cannot find anything like Push() or Add()

Re: [rt-users] Automating ticket updates via RT::Client::REST

2013-04-26 Thread Eli Boaz
Hi Ruslan, Thanks, I had actually gotten this part working and my apologies as my email was unclear on this point, but where I had encountered problems was adding a comment without sending an email to the admin_cc list unless I actually delete the admin_cc list before posting the comment. This

Re: [rt-users] Original request in owner change template

2013-04-26 Thread Marko Cupać
This is what I get in the log when I put that into my template: [Fri Apr 26 12:46:26 2013] [error]: Template parsing error: Can't call method Transactions on an undefined value at template line 5. -- Marko Cupać On Fri, 26 Apr 2013 16:17:03 +0400 Ruslan Zakirov r...@bestpractical.com wrote:

Re: [rt-users] Original request in owner change template

2013-04-26 Thread Marko Cupać
Pardon my stupid, I am no programmer. I modified it and now it works: { my $original_request; my $Transactions = $Ticket-Transactions; $Transactions-Limit( FIELD = 'Type', VALUE = 'Create' ); my $RequestObj = $Transactions-First; $original_request = $RequestObj-Content; $original_request; }

[rt-users] Help - Deep Recursion on subroutine...

2013-04-26 Thread Jason Doller
Hi All I'm getting this error: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm in my logs, and I'm out of RAM. I'm also getting a lot of bounces: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)

Re: [rt-users] How to use custom field with Include page

2013-04-26 Thread Guadagnino Cristiano
Kevin, thank you for your reply. The fact is that the DokuWiki page ARE on the same domain as the RT pages. Actually, they are two virtual domains on the same apache server: rtbkd.fake.it dokuwiki.fake.it (obviously fake.it is NOT the real domain) Bye Cris - Messaggio

Re: [rt-users] How to use custom field with Include page

2013-04-26 Thread Thomas Sibley
On 04/26/2013 10:43 AM, Guadagnino Cristiano wrote: Kevin, thank you for your reply. The fact is that the DokuWiki page ARE on the same domain as the RT pages. Actually, they are two virtual domains on the same apache server: rtbkd.fake.it dokuwiki.fake.it While those share a common

Re: [rt-users] Help - Deep Recursion on subroutine...

2013-04-26 Thread Thomas Sibley
On 04/26/2013 10:01 AM, Jason Doller wrote: I'm getting this error: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm in my logs, and I'm out of RAM. I'm also getting a lot of bounces: Could not record email: Message Bounced

Re: [rt-users] Add value to array in RT_SiteConfig.pm

2013-04-26 Thread Thomas Sibley
On 04/26/2013 07:49 AM, Kevin Falcone wrote: On Fri, Apr 26, 2013 at 12:12:48PM +0300, Pavel Gulchouck wrote: I want to add one custom script to @JSFiles, but cannot find anything like Push() or Add() in config parser, only Set(). Is the only way copy all predefined array from RT_Config.pm to

Re: [rt-users] Help - Deep Recursion on subroutine...

2013-04-26 Thread Jason Doller
Sorry for the oversight, RT_SiteConfig:: == Start == Set($rtname , IT Support); Set($Organization , obscured.com); Set($MinimumPasswordLength , 5); Set($Timezone , 'Africa/Johannesburg'); Set($HomepageComponents, [qw(

[rt-users] REMOTE_USER, external auth, and email mismatching

2013-04-26 Thread Philip Brown
hi there, We are looking at using kerb auth and mod_auth_kerb as our external auth mechanism for RT. Trouble is.. our kerb domain is not the same as people's email address domain. We have mumble-thousand users. Hand-populating things is not an option. So, I was hoping there was potentially a

Re: [rt-users] REMOTE_USER, external auth, and email mismatching

2013-04-26 Thread Jok Thuau
Philip, We are in the same boat. Your kerb config can drop the realm part by using the option in your kerb auth section of the apache config with KrbLocalUserMapping set to ON. In combination with that, we have ldap-import (to pull all the users from AD), as well as the proper mapping

Re: [rt-users] Help - Deep Recursion on subroutine...

2013-04-26 Thread Thomas Sibley
There are a number of possibilities given the config snippet below. Jason wrote: Set($SendmailArguments , -oi -t -f support\@obscured.com); Does supp...@obscured.com go into RT? -f sets the envelope-sender address which is where bounces go. If it goes into RT, that's potentially a mail

Re: [rt-users] REMOTE_USER, external auth, and email mismatching

2013-04-26 Thread Thomas Sibley
On 04/26/2013 02:35 PM, Philip Brown wrote: hi there, We are looking at using kerb auth and mod_auth_kerb as our external auth mechanism for RT. Trouble is.. our kerb domain is not the same as people's email address domain. We have mumble-thousand users. Hand-populating things is not an

Re: [rt-users] REMOTE_USER, external auth, and email mismatching

2013-04-26 Thread Philip Brown
(arg, outlook.com...) From: rt-users-boun...@lists.bestpractical.com [rt-users-boun...@lists.bestpractical.com] on behalf of Thomas Sibley [t...@bestpractical.com] Sent: Friday, April 26, 2013 04:38 PM To: rt-users@lists.bestpractical.com Subject: Re:

Re: [rt-users] REMOTE_USER, external auth, and email mismatching

2013-04-26 Thread Thomas Sibley
On 04/26/2013 05:09 PM, Philip Brown wrote: a) automatically drop the @xyz from REMOTE_USER entirely b) autoconvert the @xyz to @real.domain You can accomplish (b) with these options:

Re: [rt-users] Help - Deep Recursion on subroutine...

2013-04-26 Thread Jason Doller
I've fixed and checked all the potential problems listed, and the support email address may have been the problem. However, I've turned off postfix, and I'm still getting the errors below. I realise I can probably clear a cache to stop this, but with postfix turned off, nothing is injecting new