[rt-users] Automatic creation of hyperlinks in rich text editor

2016-12-21 Thread raymond.teunissen
Hi,

I'm using the rich text editor in RT (4.2.12), and everytime i type in a link, 
it automatically makes it clickable. Is there any way to disable that behavior?

Thanks!

Regards,
Raymond



Re: [rt-users] Outgoing HTML mail part 2

2016-09-09 Thread raymond.teunissen
Chris,

Thanks! That did the trick. 

Regards,
Raymond

-Oorspronkelijk bericht-
Van: Christian Loos [mailto:cl...@netcologne.de] 
Verzonden: vrijdag 9 september 2016 13:40
Aan: Teunissen, Raymond; rt-users@lists.bestpractical.com
Onderwerp: Re: Outgoing HTML mail part 2

Sorry, I missed that you must also escape the braces, see 
https://metacpan.org/pod/Text::Template#Template-Parsing.

You have to change

body, table, td {font-family: Verdana, Geneva, sans-serif !important;}

to

body, table, td \{font-family: Verdana, Geneva, sans-serif !important;\}

Chris

Am 09.09.2016 um 13:24 schrieb raymond.teunis...@kpn.com:
> Hi Chris,
> 
> Thanks, i've tried it, but it doesn't seem to fix the issue for me. 
> 
> Couldn't compile template codeblock 'font-family: Verdana, Geneva, 
> sans-serif !important;': syntax error at template line 9
> 
> Raymond
> 
> -Oorspronkelijk bericht-
> Van: Christian Loos [mailto:cl...@netcologne.de]
> Verzonden: vrijdag 9 september 2016 13:18
> Aan: Teunissen, Raymond; rt-users@lists.bestpractical.com
> Onderwerp: Re: Outgoing HTML mail part 2
> 
> Hi,
> 
> you must add a blank line after the "Content-Type" line to separate headers 
> from body.
> 
> See also
> https://docs.bestpractical.com/rt/4.4.1/customizing/templates.html#Tem
> plates
> 
> Chris
> -
> RT 4.4 and RTIR training sessions, and a new workshop day! 
> https://bestpractical.com/training
> * Boston - October 24-26
> * Los Angeles - Q1 2017
> 

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017


Re: [rt-users] Outgoing HTML mail part 2

2016-09-09 Thread raymond.teunissen
Hi Chris,

Thanks, i've tried it, but it doesn't seem to fix the issue for me. 

Couldn't compile template codeblock 'font-family: Verdana, Geneva, sans-serif 
!important;': syntax error at template line 9

Raymond

-Oorspronkelijk bericht-
Van: Christian Loos [mailto:cl...@netcologne.de] 
Verzonden: vrijdag 9 september 2016 13:18
Aan: Teunissen, Raymond; rt-users@lists.bestpractical.com
Onderwerp: Re: Outgoing HTML mail part 2

Hi,

you must add a blank line after the "Content-Type" line to separate headers 
from body.

See also
https://docs.bestpractical.com/rt/4.4.1/customizing/templates.html#Templates

Chris
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017


[rt-users] Outgoing HTML mail part 2

2016-09-09 Thread raymond.teunissen
Hi all,

I'm currently working on e-mailtemplates to make our outgoing mail to be sent 
in HTML. I want to be able to set a certain font, fontsize and use a logo in 
the signature. So far everything works just the way I want it, except for one 
thing. When a message is received in Microsoft Outlook, it breaks down my 
styles. It reverts the font back to Times New Roman, and it also doesn't seem 
to care about fontsizes (although I'm not very sure about that yet). This is 
the template I'm currently using:

From: KPN Abuse Team 
RT-Attach-Message: yes
Content-Type: text/html


   {$Transaction->Content(Type => 
'text/html')}


  Met vriendelijke groet,
  Raymond


I've been searching the interwebs a lot on this issue, and I'm glad to see I'm 
not the only one experiencing this issue. Some say you have to add the style 
information in the -tags  on every line of text (which is not really the 
solution I'm looking for), or you need to put the code posted below in the code 
of the e-mail:



The problem there is that if I put this code in my template, just above the 
Transaction content, RT is saying this: "Couldn't compile template codeblock 
'font-family: Verdana, Geneva, sans-serif !important;': syntax error at 
template line 7"

Is there an easy way to fix this?

Thanks!

Raymond
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Re: [rt-users] Outgoing HTML mail

2016-08-11 Thread raymond.teunissen
That did the trick. Thank you very much!

-Oorspronkelijk bericht-
Van: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] Namens Jim 
Brandt
Verzonden: woensdag 10 augustus 2016 19:23
Aan: rt-users@lists.bestpractical.com
Onderwerp: Re: [rt-users] Outgoing HTML mail

Are you sending from RT with your message reply preference set to non-WYSIWYG 
(plain text)? If the content is text/plain, I think it's getting wrapped in pre 
tags. If you compose in the rich text editor, it should get set as text/html 
and come through and be interpreted as HTML.

On 8/10/16 9:34 AM, raymond.teunis...@kpn.com wrote:
> Hi,
>
>
>
> I'm currently trying to get my outgoing mail from RT 4.2.12 into html 
> format. This is my template:
>
>
>
> *From: My dept name *
>
> *RT-Attach-Message: yes*
>
> *Content-Type: text/html*
>
> * *
>
> *   *
>
> *
> {$Transaction->Content(Type => 'text/html')}*
>
> **
>
> *  Met vriendelijke groet,*
>
> *  **Raymond*
>
> *  My Dept*
>
> *  *
>
> *  *
>
> **
>
>
>
> Now the signature works, and is shown correctly, but the text I'm 
> sending out through RT gets wrapped around these tags:
>
>
>
> My ticket 
> content
>
>
>
> This means that my signature is in the correct markup, but the main 
> text of the outgoing mail isn't. Is there any way I can fix this?
>
>
>
> Kind regards,
>
> Raymond Teunissen
>
> KPN
>
>
>
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Los Angeles - September, 2016
>
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


[rt-users] Outgoing HTML mail

2016-08-10 Thread raymond.teunissen
Hi,

I'm currently trying to get my outgoing mail from RT 4.2.12 into html format. 
This is my template:

From: My dept name 
RT-Attach-Message: yes
Content-Type: text/html


   
{$Transaction->Content(Type => 'text/html')}

  Met vriendelijke groet,
  Raymond
  My Dept

  


Now the signature works, and is shown correctly, but the text I'm sending out 
through RT gets wrapped around these tags:

My ticket 
content

This means that my signature is in the correct markup, but the main text of the 
outgoing mail isn't. Is there any way I can fix this?

Kind regards,
Raymond Teunissen
KPN
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


Re: [rt-users] Content search: NOT LIKE

2016-05-12 Thread raymond.teunissen
Hi Ken,

Thanks, but i'm afraid this is not the case. I'm searching in tickets that do 
not have replies (or comments) at all. The only correspondence is the creation 
of the tickets (and it's contents). 

Regards,
Raymond

-Oorspronkelijk bericht-
Van: k...@rice.edu [mailto:k...@rice.edu] 
Verzonden: woensdag 11 mei 2016 14:54
Aan: Teunissen, Raymond
CC: rt-users@lists.bestpractical.com
Onderwerp: Re: [rt-users] Content search: NOT LIKE

On Wed, May 11, 2016 at 10:43:17AM +, raymond.teunis...@kpn.com wrote:
> Hi all,
> 
> There seems to be an issue with the contentsearch in RT, or at least, 
> I'm experiencing it :)
> 
> When doing a search like : Queue = 'Queuename' AND Status = 'new' AND Content 
> LIKE 'searchphrase'
> 
> It works.
> 
> When doing a search like: Queue = 'Queuename' AND Status = 'new' AND Content 
> NOT LIKE 'searchphrase'
> 
> It doesn't. It still gives those tickets which have the criteria I specified 
> in the search (and thus don't want to see in the results). Is this a bug 
> perhaps?
> 
> RT4.2.12
> RHEL 6
> 
> Regards,
> Raymond
> 
> KPN NL


Hi Raymond,

This search is not doing what you expect. It is finding all tickets that have 
at least one reply without the searchphrase.

Regards,
Ken
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] Content search: NOT LIKE

2016-05-11 Thread raymond.teunissen
Hi all,

There seems to be an issue with the contentsearch in RT, or at least, I'm 
experiencing it :)

When doing a search like : Queue = 'Queuename' AND Status = 'new' AND Content 
LIKE 'searchphrase'

It works.

When doing a search like: Queue = 'Queuename' AND Status = 'new' AND Content 
NOT LIKE 'searchphrase'

It doesn't. It still gives those tickets which have the criteria I specified in 
the search (and thus don't want to see in the results). Is this a bug perhaps?

RT4.2.12
RHEL 6

Regards,
Raymond

KPN NL
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] Custom scrip condition

2016-03-22 Thread raymond.teunissen
Hi,

I'm trying to find a way to add a custom scrip-condition, for when a ticket is 
merged.
The thing I basically want is that when ticket 1 is merged into ticket 2 (which 
is closed), it automagically sets the status of ticket 2 to open. I'm running 
RT 4.2, and I'm not good in Perl. Can anyone help me with the code for the 
custom condition?

Thanks!
Raymond

-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] High loads on Apache (probably) due to Perl errors in the logfile

2015-12-17 Thread raymond.teunissen
Hi,

I am running RT 4.2.12 on a RHEL system. RT was installed a couple of weeks 
ago, and since a couple of days i noticed the loads on Apache were very high. 
When i check the errorlogs of apache, it shows me a lot of Perl errors. I 
pasted some snippets below. I searched in the wiki and on the internet, but 
there isn't anything helpful i have been able to find. The fact that i can't 
read Perl isn't really helping as well ;) Can somebody give me a clue where to 
look for in this case? It tells me some values haven't been initialized, but I 
can't seem to find out what those values are for, and why they aren't being 
initialized.

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $tag 
in concatenation (.) or string at /usr/local/share/perl5/HTML/Formatter.pm line 
150. (/usr/local/share/perl5/HTML/Formatter.pm:150)
[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $tag 
in concatenation (.) or string at /usr/local/share/perl5/HTML/Formatter.pm line 
150. (/usr/local/share/perl5/HTML/Formatter.pm:150)
[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $tag 
in concatenation (.) or string at /usr/local/share/perl5/HTML/Formatter.pm line 
150. (/usr/local/share/perl5/HTML/Formatter.pm:150)
[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $tag 
in concatenation (.) or string at /usr/local/share/perl5/HTML/Formatter.pm line 
150. (/usr/local/share/perl5/HTML/Formatter.pm:150)

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_ in 
concatenation (.) or string at 
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214. 
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)
[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_ in 
concatenation (.) or string at 
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214. 
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)
[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_ in 
concatenation (.) or string at 
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214. 
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)
[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_ in 
concatenation (.) or string at 
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214. 
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $ptag 
in string eq at /usr/local/share/perl5/HTML/Element.pm line 711. 
(/usr/local/share/perl5/HTML/Element.pm:711)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $ptag 
in string eq at /usr/local/share/perl5/HTML/Element.pm line 711. 
(/usr/local/share/perl5/HTML/Element.pm:711)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $ptag 
in hash element at /usr/local/share/perl5/HTML/Element.pm line 711. 
(/usr/local/share/perl5/HTML/Element.pm:711)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $ptag 
in string eq at /usr/local/share/perl5/HTML/Element.pm line 711. 
(/usr/local/share/perl5/HTML/Element.pm:711)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $ptag 
in string eq at /usr/local/share/perl5/HTML/Element.pm line 711. 
(/usr/local/share/perl5/HTML/Element.pm:711)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $ptag 
in hash element at /usr/local/share/perl5/HTML/Element.pm line 711. 
(/usr/local/share/perl5/HTML/Element.pm:711)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value in 
string eq at /usr/local/share/perl5/HTML/Element.pm line 2218. 
(/usr/local/share/perl5/HTML/Element.pm:2218)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value in 
string eq at /usr/local/share/perl5/HTML/Element.pm line 2218. 
(/usr/local/share/perl5/HTML/Element.pm:2218)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value in 
string eq at /usr/local/share/perl5/HTML/Element.pm line 2218. 
(/usr/local/share/perl5/HTML/Element.pm:2218)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value in 
string eq at /usr/local/share/perl5/HTML/Element.pm line 2218. 
(/usr/local/share/perl5/HTML/Element.pm:2218)


[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $tag 
in string eq at /usr/local/share/perl5/HTML/Element.pm line 2632. 
(/usr/local/share/perl5/HTML/Element.pm:2632)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $tag 
in string eq at /usr/local/share/perl5/HTML/Element.pm line 2656. 
(/usr/local/share/perl5/HTML/Element.pm:2632)
[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value $tag 
in string eq at /usr/local/share/perl5/HTML/Element.pm line 2656. 
(/usr/local/share/perl5/HTML/Element.pm:2632)
[12010] [Thu