Re: [rt-users] Set date format dd/mm/yy

2014-04-08 Thread Emmanuel Lacour
On Mon, Apr 07, 2014 at 12:14:25PM -0700, losintikfos wrote:
 Hi,
  
 I was wondering if anyone know how to set a RT Config for date format
 dd/mm/yy. So far this is my configuration;
  


if you really want this, use:

Set($DateTimeFormat, {
Format = 'LocalizedDateTime', 
Date = 1, 
Time = 0, 
DateFormat = 'date_format_short' 
},
);


-- 
Easter-eggs  Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37-   Fax: +33 (0) 1 43 35 00 76
mailto:elac...@easter-eggs.com  -   http://www.easter-eggs.com
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Showing Images in body of requests

2014-04-08 Thread Emmanuel Lacour
On Mon, Apr 07, 2014 at 08:29:38AM -0700, globo wrote:
 Hi, 
 Running Rt Request 4.0.17 
 I use sharepoint forms ( InfoPath ) that when submitted they get logged into
 Rt Request 4.0.17. 
 I am unable to see the images (Info forms) in the body of the tickets. 
 
 I have enabled richtext in the RT_SiteConfig.pm but it only shows some of
 the form and all the boxes are missing.
 


I'm not sure I trully understand your request, but it seems you want to
display html ticket bodies. Only RT 4.2.x handle this properly, so you
first have to upgrade. Then you may need to play with this extension:

https://github.com/bestpractical/rt-extension-permissivehtmlmail

-- 
Easter-eggs  Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37-   Fax: +33 (0) 1 43 35 00 76
mailto:elac...@easter-eggs.com  -   http://www.easter-eggs.com
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] RT3 Log File

2014-04-08 Thread Emmanuel Lacour
On Thu, Apr 03, 2014 at 06:44:50AM -0700, tcamish wrote:
 Hi,
 
 I've been searching the forum for the past hour and been unable to find an
 answer to the following simple question:
 
 How do I open the rt.log file?
 
 We have recently changed companies and have a new mail exchange server and
 therefore changed the details in the config, but despite the tickets being
 tagged with Outgoing email recorded, none of the emails are being
 received. I'm hoping the log file will show whats happening.
 


It depends of your RT configuration (see path_to_rt/etc/RT_SiteConfig.pm
and look for *Log* options).

RT logs are often either in /var/log/messages, /var/log/syslog,
path_to_rt/var/log/rt.log.

As it's a mail problem, you should also identify which local mta handle
your RT emails and look for informations in /var/log/mail.log or
/var/log/maillog.

-- 
Easter-eggs  Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37-   Fax: +33 (0) 1 43 35 00 76
mailto:elac...@easter-eggs.com  -   http://www.easter-eggs.com
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Set date format dd/mm/yy

2014-04-08 Thread losintikfos
Thanks Emml - it works.

Quick one!
I have tried to activate the time without the seconds like this:

Set($DateTimeFormat, {
Format = 'LocalizedDateTime',
Date = 1,
Time = 1,
DateFormat = 'date_format_short',
Seconds = 0
},
); 

The seconds doesn't seem to turn off. Is it possible to achieve this?



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Set-date-format-dd-mm-yy-tp57138p57153.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Set date format dd/mm/yy

2014-04-08 Thread Emmanuel Lacour
On Tue, Apr 08, 2014 at 01:25:03AM -0700, losintikfos wrote:
 Thanks Emml - it works.
 
 Quick one!
 I have tried to activate the time without the seconds like this:
 
 Set($DateTimeFormat, {
 Format = 'LocalizedDateTime',
 Date = 1,
 Time = 1,
 DateFormat = 'date_format_short',
 Seconds = 0
 },
 ); 
 
 The seconds doesn't seem to turn off. Is it possible to achieve this?
 


See perldoc DateTime::Locale:


TimeFormat = 'time_format_short'

should be ok for you.

-- 
Easter-eggs  Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37-   Fax: +33 (0) 1 43 35 00 76
mailto:elac...@easter-eggs.com  -   http://www.easter-eggs.com
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] RT::Extension::Assets not working

2014-04-08 Thread helmutderhaas
Ah that makes sense, when I ran make initdb the wrong account was in the 
RT_Siteconfig so I ran it manually .. should have checked as I only ran schema.

However now when I run insert I get the following:

root@requesttracker:/tmp/Assets/rt-extension-assets-master# /usr/bin/perl -Ilib 
-I/opt/rt4/local/lib -I/opt/rt4/lib /opt/rt4/sbin/rt-setup-database --action 
insert --datadir etc --dba rt --prompt-for-dba-password  --package 
RT::Extension::Assets --ext-version 1.0
In order to create or update your RT database, this script needs to connect to 
your  Oracle instance on  (port '') as rt
Please specify that user's database password below. If the user has no database
password, just press return.

Password:
Working with:
Type:   Oracle
Host:
Port:
Name:   ELRTPDG
User:   rt
DBA:rt
Now inserting data.
[12305] [Tue Apr  8 09:29:37 2014] [warning]: Unable to open etc/content: No 
such file or directory at /opt/rt4/sbin/rt-setup-database line 374. 
(/opt/rt4/sbin/rt-setup-database:374)
[12305] [Tue Apr  8 09:29:37 2014] [warning]: readline() on closed filehandle 
$handle at /opt/rt4/sbin/rt-setup-database line 375. 
(/opt/rt4/sbin/rt-setup-database:375)
Couldn't finish 'insert' step.

ERROR: Couldn't load data from 'etc/content' for import:

ERROR:Can't locate etc/content in @INC (@INC contains: 
/opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib 
/opt/rt4/sbin/../lib lib /opt/rt4/local/lib /opt/rt4/lib /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at /opt/rt4/sbin/../lib/RT/Handle.pm line 815.

Looks like its expecting a file in the etc directory called 'content' that 
isn't there.  :/

Keith Clancy
EBS Global Commodities  Wholesale
Telephone: +49 211 73275 5417  (This line is not recorded)
Mobile:+49 171 552 6709
Email:  keith.cla...@eon.commailto:keith.cla...@eon.com

E.ON Business Services GmbH
Völklinger Straße 4
40219 Düsseldorf
www.eon.comhttp://www.eon.com


www.eon.comhttp://www.eon.com/
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Jørgen
Kildahl, Vorstand/Board of Management: Klaus Schäfer (Vorsitzender/Chairman),
Christopher Delbrück, Gareth Griffiths, Dr. Egbert Laege, Sitz/Registered
Office: Düsseldorf, Amtsgericht/District Court: Düsseldorf HRB 61123


From: Kevin Falcone-2 [via RequestTracker] 
[mailto:ml-node+s8502n57134...@n7.nabble.com]
Sent: 07 April 2014 20:12
To: Clancy, Keith
Subject: Re: RT::Extension::Assets not working

On Mon, Apr 07, 2014 at 05:14:40PM +, Clancy, Keith wrote:
 In the section you describe it lists:
 RT::Extension::Assets (Not currently loaded)

 Action Date Elapsed RT::Extension::Assets Version
 Schema updates from /tmp/Assets/rt-extension-assets-master/etc Mon Apr 07 
 17:08:32 2014 0 seconds 1.0

 Didn't seem to give any errors regarding permissions.

There should be 3 entries, Schema, ACL and Insert.
The fact that you only have one means make initdb didn't finish
properly.  Do you have a log from when you ran it?
Did you run make initdb or did you attempt to do the database
initialization by hand?

-kevin

--
RT Training - Dallas May 20-21
http://bestpractical.com/training

[http://requesttracker.8502.n7.nabble.com/images/icon_attachment.gif]attachment0
 (243 bytes) Download 
Attachmenthttp://requesttracker.8502.n7.nabble.com/attachment/57134/0/attachment0


If you reply to this email, your message will be added to the discussion below:
http://requesttracker.8502.n7.nabble.com/RT-Extension-Assets-not-working-tp57127p57134.html
To unsubscribe from RT::Extension::Assets not working, click 
herehttp://requesttracker.8502.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=57127code=a2VpdGguY2xhbmN5QGVvbi5jb218NTcxMjd8LTIwNTkwNjkzMA==.
NAMLhttp://requesttracker.8502.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/RT-Extension-Assets-not-working-tp57127p57155.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training

Re: [rt-users] Set date format dd/mm/yy

2014-04-08 Thread losintikfos
You're a star Emml.

Lastly, I just realised the date output is 4/8/14 3:23. Can I swap the
*mm/dd*  around to be *dd/mm* ? 

Also can I change the time to 24hr instead of stating AM  PM i.e is
possible to pass *prefers_24_hour_time* as argument ?

Many Thanks



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Set-date-format-dd-mm-yy-tp57138p57157.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Set date format dd/mm/yy

2014-04-08 Thread losintikfos
You're a star Emml.

One more bother. I just realised the date output is *4/8/14 3:23*. Can I
swap the *mm/dd*  around to be *dd/mm* ?



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Set-date-format-dd-mm-yy-tp57138p57156.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


[rt-users] Use default global scrips for all queues but one?

2014-04-08 Thread Jeff Blaine
Hi all,

We 8 queues, all of which make use of the default global scrips.

We have a need to set up 1 more queue where we don't want some of
the global scrips to run (we want to override some or do away with
some entirely).

Before I just start flailing at this, I figured I'd ask. I suspect
someone has to have wanted this in RT's many years.

Is there anything smart in RT to allow this?

Do queue-owned scrips take precedence in some way? What's the
mechanism?

Or am I going to have to (yikes)... make a copy of the current set
of global scrips for each of the existing 8 queues, and then 1 more
customized copy for the 1 queue?
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Use default global scrips for all queues but one?

2014-04-08 Thread k...@rice.edu
On Tue, Apr 08, 2014 at 11:48:03AM -0400, Jeff Blaine wrote:
 Hi all,
 
 We 8 queues, all of which make use of the default global scrips.
 
 We have a need to set up 1 more queue where we don't want some of
 the global scrips to run (we want to override some or do away with
 some entirely).
 
 Before I just start flailing at this, I figured I'd ask. I suspect
 someone has to have wanted this in RT's many years.
 
 Is there anything smart in RT to allow this?
 
 Do queue-owned scrips take precedence in some way? What's the
 mechanism?
 
 Or am I going to have to (yikes)... make a copy of the current set
 of global scrips for each of the existing 8 queues, and then 1 more
 customized copy for the 1 queue?

4.2 should allow this. You can also modify the Default Scrips and add
a User Defined Condition that returns 0 if the Queue is on that you
want to exempt.

Cheers,
Ken
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Use default global scrips for all queues but one?

2014-04-08 Thread Jeff Blaine
 4.2 should allow this.

We're at 4.2.3.

What's in 4.2 that would allow it?

Thanks for the reply!
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training