Re: [rt-users] RSS Feed Permissions/Authentication problem (Repost)

2007-11-19 Thread Andreas Schamanek

Hi there,

On Mon, 19 Nov 2007, Torben Nehmer wrote:

 does anybody have any idea here, would it be possible to move the 
 RSS streams to HTTP Basic Authentication?

In advance, I apologize for not having tested this myself with RT. The 
following is just wild guessing but it's probably the way I'd try to 
go if I had to (and I actually do so in other frameworks): 

You could try to retrieve the RSS data off-line by means of some 
command-line tool. Then let your WWW server do the authentication. 
I am using a method called screen scraping by means of Perl's 
WWW::Mechanize. WWW::Mechanize is old but still does a good job.
http://www.google.com/search?q=WWW%3A%3AMechanize+Screen+scraping

HTH,

-- 
-- Andreas

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Re: Message/RFC822 CCs in templates? [FAM-RT #828]

2007-11-09 Thread Andreas Schamanek

Hi all,

I haven't received any answer yet, so, please allow me to ask once 
again: 
Is there really no way to access message headers from within a 
template? I just can't believe I guess :/

Cheerio,
-- Andreas

On Tue, 6 Nov 2007, Andreas Schamanek wrote:

 I am still looking for a way to reference a message's CC: header 
 within templates. How can this be done?
 (...)
 The problem is of course that the CC header does not show up in 
 outgoing messages. But I could live with this if I could reference the 
 CCs in templates.
 
 Any help is much welcome.

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Re: Message/RFC822 CCs in templates? [FAM-RT #828]

2007-11-09 Thread Andreas Schamanek

Hi Kenn,
hi fellow RT users,

Thanks a lot for getting back. I do know how to change the Subject and 
how to CC someone. I've also searched the Wiki back and forth, and all 
of this list's archive[*].

Anyway, what I am looking for is some way to include the information 
from header lines as they arrive in RT. Specifically, in templates I 
want to include a line that says:

  This message was sent to {CC: header from message}

(speaking of CCs from the original message, not RT's Ccs). Or in case 
of the sender's address something like

  Dear {From: header from message}


Cheerio,

-- 
-- Andreas


[*] Admittedly, I have only mostly searched for a way to get the CC: 
header line. Nevertheless, I think I did my part of the homework :/

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Message/RFC822 CCs in templates? [FAM-RT #828]

2007-11-06 Thread Andreas Schamanek

Dear fellow RT users,

Speaking of CCs, Reply-To-All, and the unavoidable troubles they cause ;)
I am still looking for a way to reference a message's CC: header 
within templates. How can this be done?

For the time being I created a wrapping mail alias which adds the text 
[This message was additionally CC'ed to: $MATCH] (by means of 
procmail) in front of a message's body in case a CC header was found. 
But, of course, this is a really dirty solution which might even break 
some messages :(

The problem is of course that the CC header does not show up in 
outgoing messages. But I could live with this if I could reference the 
CCs in templates.

Any help is much welcome.

-- 
-- Andreas

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Sizing a Custom Field display box

2007-10-17 Thread Andreas Schamanek

Hi there,

On Wed, 17 Oct 2007, Joop van de Wege wrote:
 Stephen Turner wrote:
 At Wednesday 10/17/2007 01:00 PM, Kenneth Crocker wrote:
 I have a Custom Field that is Fill in one text area. ... Does 
 anyone have a simple method to make the display box/entry area 
 larger? Thanks.
 Kenn, you can enlarge the width at least, in the site config:
   Set($MessageBoxWidth , 72);
 Also, html//Elements/EditCustomFieldText has Rows and Cols args 
 which can be used to modify the box size beyond the config setting.
 And if you're using Firefox there is an extension which will let you 
 resize text fields in general. Its name is: Resizable Form Fields.
BTW, the URL is https://addons.mozilla.org/en-US/firefox/addon/3694 

And you could also use a bookmarklet[*] like

  javascript:(function(){var i,x; 
  for(i=0;x=document.getElementsByTagName(%22textarea%22)[i];++i) 
  x.rows += 5; })()

This example increases the height of all textarea fields.

HTH,
-- 
-- Andreas

[*] http://en.wikipedia.org/wiki/Bookmarklet

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Auto-create Ticket CC from Email CC

2007-10-16 Thread Andreas Schamanek

Hi there,

On Tue, 16 Oct 2007, Edward Kovarski wrote:

 If I am not mistaken, that is the default behaviour -- all CC's are
 automatically added and maintained within the ticket context.

AFAIK, it's not a default. It's done if

  Set($ParseNewMessageForTicketCcs , true);

is set in RT_SiteConfig.pm

HTH,

-- 
-- Andreas

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Appearance of RT Return Addresss

2007-09-14 Thread Andreas Schamanek

On Fri, 13 Sep 2007, Tamer wrote:

 Here is the issues I am having right now . After creating a ticket , 
 I get the following e-mail:

 Enoch Root via RT [EMAIL PROTECTED]
 (...)
 Ticket URL: http:// ServerName.domain.com:80/Ticket/Display.html?id=3 

On Fri, 14 Sep 2007, soma wrote:

 You should be able to set this by changing the 
 $CorrespondenceAddress in the RT_SiteConfig.pm to appropriate email 
 id Eg:- [EMAIL PROTECTED]

You might also want to change some other settings in RT_SiteConfig.pm 
-- see RT_Config.pm for what can be changed, copy relevant bits to 
RT_SiteConfig.pm and set them accordingly. E.g. $Organization and 
$WebBaseURL

The address used to send an On Create AutoReply is furthermore set 
by the Web GUI where you configure your queues.

HTH,

-- 
-- Andreas

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Adding CC's from original Email

2007-09-14 Thread Andreas Schamanek

Hi Adam,

On Fri, 14 Sep 2007, Adam Savage wrote:

 Is there a way to add the CC's of an original email sent to RT to 
 the CC of the ticket created?

You might want to have a look at 
http://wiki.bestpractical.com/view/ParseFollowupMessageForTicketCcs
and option $ParseNewMessageForTicketCcs in RT_SiteConfig.pm

HTH,

-- 
-- Andreas

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Re: Outgoing email To: header

2007-09-11 Thread Andreas Schamanek

Hi Richard,

On Tue, 11 Sep 2007, Richard Brady wrote:

 Is there any way to easily change this so that AdminCC recipients 
 actually get a To: header. 

From my point of view this would best be done by changing the source 
code (speaking of 3.4.5) but I am by no means authoritative.

Personally, I helped myself by adding this information at the end of 
messages by adding the following to the involved templates:

  -- 
  URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket-id}
  { if( my $towner = $Ticket-OwnerObj-EmailAddress ) { Own: . 
  $towner .\n } }RQs: { $Ticket-RequestorAddresses }
  { if( my $tcc = $Ticket-CcAddresses ) { CCs: . $tcc } }

Now, if I only knew how to also add OtherRecipients :) See my message 
of 2007-08-30 (archived at 
http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg09110.html )


HTH,

-- 
-- Andreas

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Re: Appearance of outgoing e-mails in RT

2007-09-11 Thread Andreas Schamanek

Hi there,

On Tue, 11 Sep 2007, Tamer Tayea wrote:

 I have RT now configured with MYSQL but outgoing e-mails show as 
 [EMAIL PROTECTED] .. I want it to be [EMAIL PROTECTED]

Uhm, do mean anything besides the configuration settings like

  Set($CorrespondAddress , '[EMAIL PROTECTED]');
  Set($CommentAddress , '[EMAIL PROTECTED]');

or the addresses you can set for each queue e.g. in the web GUI?


Cheerio,
-- 
-- Andreas

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Delete tickets

2007-09-10 Thread Andreas Schamanek

Hi David,

On Mon, 10 Sep 2007, Davide wrote:

 Is there a way to delete those tickets so that no 'tracks' are left 
 behind? Do I need to do this via MySQL or RT does have some sort of 
 add on that will take care of this for me?

The answer is in the FAQ :)
http://wiki.bestpractical.com/view/FAQ

I have been using RTx-Shredder-0.06 successfully with RT 3.4.5, for 
instance. The new version is available at 
http://search.cpan.org/dist/RTx-Shredder/

You probably don't want to edit the MySQL directly. 

HTH,

-- 
-- Andreas

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Access followup CCs in templates? [FAM-RT #828]

2007-08-30 Thread Andreas Schamanek

Hi fellow RT users,

I am desperately looking for a way to access a message's CC addresses 
(as opposed to RT's CCs) from within a template? I am pretty sure that 
this is possible but even though I was browsing through the wiki 
and the source code I could not find how to do this.

In other words, we've { $Ticket-CcAddresses } to access a ticket's 
CCs but can I also access the CCs of a message's RFC822 header?

I know there is ParseFollowupMessageForTicketCcs
( http://wiki.bestpractical.com/view/ParseFollowupMessageForTicketCcs )
which tries to solve the problem by adding followup CCs as ticket's 
CCs. But this is too much for us. We'd just need the CCs in templates.

Many thanks in advance,

-- 
-- Andreas

   running RT 3.4.5

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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