[rt-users] Search users

2012-06-26 Thread Simon Walter


Hi all,

I have a question about searching for users. I'd like to enable the 
support staff to type in a name and click search and then see all the 
users (most probably email requestors) that have a surname or firstname 
LIKE the query.


Then click on the that user, and see all tickets ever created by that user.

It seems like it would be a pretty common thing to do. Is there 
functionality for this? Do I need to write a plugin?


Regards,

Simon


[rt-users] Previous email - apologies

2012-06-26 Thread Stuart Browne
Sorry about that, sent to the wrong local alias..

Stuart J. Browne
Senior Unix Administrator, Network Administrator, Database Administrator
AusRegistry Pty Ltd
Level 8, 10 Queens Road
Melbourne. Victoria. Australia. 3004.
Ph:  +61 3 9866 3710
Fax: +61 3 9866 1970
Email: stuart.bro...@ausregistry.com.au
Web: www.ausregistry.com.au

The information contained in this communication is intended for the named 
recipients only. It is subject to copyright and may contain privileged and/or 
confidential information. If you are not an intended recipient you must not 
use, copy, distribute or take any action in reliance on it. If you have 
received this communication in error, please delete all copies from your system 
and notify us immediately.




[rt-users] [ausregistry.net.au #104306] (Waiting on Customer) Case #00666204 (RHN TRACEBACK generated) ref:00DA0000000HxWHMA0.500A000000A5zZcIAJ:ref

2012-06-26 Thread Stuart Browne


-Original Message-
From: Red Hat Support [mailto:supp...@redhat.com] 
Sent: Tuesday, 26 June 2012 9:45 PM
To: Stuart Browne
Subject: (Waiting on Customer) Case #00666204 (RHN TRACEBACK generated) 
ref:00DA000HxWHMA0.500A00A5zZcIAJ:ref

--- 
| Case Information| 
--- 
https://access.redhat.com/support/cases/00666204
Case Title   : RHN TRACEBACK generated 
Case Number  : 00666204 
Case Open Date   : 2012-06-25 10:31:30

Most recent comment: On 2012-06-26 21:44:51, S V, Abhilash commented:
"Hello,


Thank you for your Support Request. My name is Abhilash S. V and I am taking 
over the ownership of your Support Request and will work with you to resolve 
this issue. 


You are hitting an already reported internal private bugzilla 
https://bugzilla.redhat.com/show_bug.cgi?id=822435. The 
bugzilla is not viewable to public. The bugzilla is on QA and we should have an 
errata soon.

Meanwhile, can you try to downgrade rhn-client-tools package to version 
1.0.0-73 in your client and check if it fixes the problems as of now.

Awaiting your update.

Thank you for choosing Red Hat and I look forward to working with you. 

Regards,
Abhilash"

--- 

Thank you for your latest interaction with Red Hat Global Support Services. We 
are currently working to resolve your case.

Your case has transitioned to "Waiting On Customer" status. This means that the 
Red Hat associate working on your case needs information or action from you to 
proceed. To help us resolve your case as quickly as possible, you will need to 
update your case online at https://access.redhat.com

Once you update the case, we can continue working to resolve your issue.

If you wish to contact Red Hat, visit https://access.redhat.com to find phone 
and web contact information relevant to your region and support contract. 


Thank you,

Red Hat Global Support Services
---

Have you joined the discussion in Groups yet? Visit 
https://access.redhat.com/groups to participate in our rapidly growing user 
community.

---   
ref:00DA000HxWHMA0.500A00A5zZcIAJ:ref


[rt-users] ticket's getheader method

2012-06-26 Thread Alexander Sagratyan
Hello. I have some questions abot GetHeader method. Any help is appreciated.

 I have a scrip which retrieves Date header  from ticket :

my $Transaction = $self->TransactionObj;
my $date_header = $Transaction->Attachments->First->GetHeader('Date');

This extraction works perfactly.  Further in the same scrip I have:

my $ticket = $search->Next     # ticket object is retrieved from queue
 
The question is how to get the same Date header from ticket object? Does the  
Transaction/Attachment exist for already created ticket in queue ? Will 
Transactions field be useful in this case?

Re: [rt-users] updating ticket's created field

2012-06-26 Thread Alexander Sagratyan
Some progressI was experimenting with __Set method.  So far it is able to 
alter Created field. But cannot define what datetime format to feed this method.


Tue, 26 Jun 2012 17:34:53 -0400 от Kevin Riggle :
 
  
  
Excerpts from Alexander Sagratyan's message of Tue Jun 26 16:32:53 -0400 2012:
> Hello.
> 
> I am struggling with the following problem without a success: task is to 
> update Created and Started fields of a ticket inside a custom scrip. I have 
> found SetStarted method, but not SetCreated. Is it possible to update Created 
> field manually inside a scrip?

Created is set by the RT system when the ticket is created, and can't be
updated manually.

- Kevin



Re: [rt-users] updating ticket's created field

2012-06-26 Thread Alexander Sagratyan
Some progressI was experimenting with __Set method.  So far it is able to 
alter Created field. But cannot define what datetime format to feed this method.


Wed, 27 Jun 2012 00:32:53 +0400 от Alexander Sagratyan :
 
  
  
Hello.

I am struggling with the following problem without a success: task is to update 
Created and Started fields of a ticket inside a custom scrip. I have found 
SetStarted method, but not SetCreated. Is it possible to update Created field 
manually inside a scrip?

Thanks in advance! 


Re: [rt-users] updating ticket's created field

2012-06-26 Thread Kevin Riggle
Excerpts from Alexander Sagratyan's message of Tue Jun 26 16:32:53 -0400 2012:
> Hello.
> 
> I am struggling with the following problem without a success: task is to 
> update Created and Started fields of a ticket inside a custom scrip. I have 
> found SetStarted method, but not SetCreated. Is it possible to update Created 
> field manually inside a scrip?

Created is set by the RT system when the ticket is created, and can't be
updated manually.

- Kevin


[rt-users] updating ticket's created field

2012-06-26 Thread Alexander Sagratyan
Hello.

I am struggling with the following problem without a success: task is to update 
Created and Started fields of a ticket inside a custom scrip. I have found 
SetStarted method, but not SetCreated. Is it possible to update Created field 
manually inside a scrip?

Thanks in advance! 

[rt-users] Login banner

2012-06-26 Thread Brad
From: BradSent: 6/26/2012 12:36 PMTo: Brad; rt-us...@bestpractical.comSubject: Login bannerFrom: BradSent: 6/26/2012 10:14 AMTo: rt-us...@bestpractical.comSubject: Login bannerHello,Does anyone have a how-to on adding text above, below or in the default login box via the login page.RT version 4.0.5 default themeHave a requirement to have legal warning at all login prompts.Thanks,Brad


Re: [rt-users] mail AdminCC when moving ticket from queue to queue

2012-06-26 Thread Ruslan Zakirov
On Tue, Jun 26, 2012 at 9:33 PM, procfs  wrote:
>
> Hi Jennifer , where should I place this RT-Attach-Message: yes

http://requesttracker.wikia.com/wiki/Template#Attaching_original_attachments_to_the_mail

Link to description of the mentioned feature. Read whole page to
understand templates a bit.


>
> Thanks for the reply I was thinkng that I ant going to get any feed back
> from any one
>
> Regards
>
>
>
> jaknj wrote:
>>
>> You can create a global scrip with the following:
>> [cid:image001.png@01CD4FAF.B7D19810]
>>
>> I created a customized template that also includes the first content on
>> the ticket, this makes it a little easier to keep track of what the ticket
>> is actually about without needing to log into the system.  Here is my
>> template content:
>>
>> RT-Attach-Message: yes
>>
>>
>> {$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
>> Transaction: {$Transaction->Description}
>>        Queue: {$Ticket->QueueObj->Name}
>>      Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject
>> given)"}
>>        Owner: {$Ticket->OwnerObj->Name}
>>   Requestors: {$Ticket->RequestorAddresses}
>>       Status: {$Ticket->Status}
>> Ticket > {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} >
>>
>>
>> Transaction Content:
>> --
>> {$Transaction->Content()}
>>
>> Original Ticket Content:
>> --
>> {$Ticket->Transactions->First->Content()}
>>
>> Jennifer Koermer
>> System Administrator IV
>> 
>>
>> Production Resource Group, LLC
>> 915 Secaucus Road, Secaucus, NJ 07094
>> 201-758-4349 phone
>> 201-758-4350 fax
>> 201-232-7691 cell
>> jkoer...@prg.com
>> www.prg.com
>>
>> From: rt-users-boun...@lists.bestpractical.com
>> [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Asanka
>> Gunasekera
>> Sent: Thursday, June 21, 2012 1:08 PM
>> To: rt-users@lists.bestpractical.com
>> Subject: [rt-users] mail AdminCC when moving ticket from queue to queue
>>
>> Hi, how do I get the RT to send a mail to AdminCC when moving a ticket
>> from one queue to another
>>
>> Thanks and Regards
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/mail-AdminCC-when-moving-ticket-from-queue-to-queue-tp34049914p34074279.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>



-- 
Best regards, Ruslan.


Re: [rt-users] mail AdminCC when moving ticket from queue to queue

2012-06-26 Thread procfs

Hi Jennifer , where should I place this RT-Attach-Message: yes

Thanks for the reply I was thinkng that I ant going to get any feed back
from any one

Regards



jaknj wrote:
> 
> You can create a global scrip with the following:
> [cid:image001.png@01CD4FAF.B7D19810]
> 
> I created a customized template that also includes the first content on
> the ticket, this makes it a little easier to keep track of what the ticket
> is actually about without needing to log into the system.  Here is my
> template content:
> 
> RT-Attach-Message: yes
> 
> 
> {$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
> Transaction: {$Transaction->Description}
>Queue: {$Ticket->QueueObj->Name}
>  Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject
> given)"}
>Owner: {$Ticket->OwnerObj->Name}
>   Requestors: {$Ticket->RequestorAddresses}
>   Status: {$Ticket->Status}
> Ticket  {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} >
> 
> 
> Transaction Content:
> --
> {$Transaction->Content()}
> 
> Original Ticket Content:
> --
> {$Ticket->Transactions->First->Content()}
> 
> Jennifer Koermer
> System Administrator IV
> 
> 
> Production Resource Group, LLC
> 915 Secaucus Road, Secaucus, NJ 07094
> 201-758-4349 phone
> 201-758-4350 fax
> 201-232-7691 cell
> jkoer...@prg.com
> www.prg.com
> 
> From: rt-users-boun...@lists.bestpractical.com
> [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Asanka
> Gunasekera
> Sent: Thursday, June 21, 2012 1:08 PM
> To: rt-users@lists.bestpractical.com
> Subject: [rt-users] mail AdminCC when moving ticket from queue to queue
> 
> Hi, how do I get the RT to send a mail to AdminCC when moving a ticket
> from one queue to another
> 
> Thanks and Regards
> 
>  
> 

-- 
View this message in context: 
http://old.nabble.com/mail-AdminCC-when-moving-ticket-from-queue-to-queue-tp34049914p34074279.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] Changing Stalled to Resolve

2012-06-26 Thread k...@rice.edu
On Tue, Jun 26, 2012 at 02:11:17PM -0400, Borngunners wrote:
> Where do I go to change the ticket status to show Resolved instead of 
> stalled. I added resolved in RT_SiteConfig.pm, but it did not change after 
> doing so.
> 
> Thanks,

You may want to check the archives, but unless your ticket volume is
very small, this change is not a good idea.

Cheers,
Ken


Re: [rt-users] Issue with Fetchmail

2012-06-26 Thread Borngunners
I made the correction to your suggestion and RT seems to be fetching tickets 
from helpd...@health.umd.edu, but I get this message after looking into the log:

root@helpdesks:/var/tmp/rt-4.0.5# tail .f /var/log/fetchmail.log
tail: cannot open `.f' for reading: No such file or directory
==> /var/log/fetchmail.log <==
sh: 1: /opt/rt4/bin/mailgate: not found
fetchmail: reading message helpd...@ticket.co.it@zimbra.ticket.co.it:2 of 8 
(7944 octets) (log message incomplete)
fetchmail: MDA returned nonzero status 127
fetchmail:  not flushed
sh: 1: /opt/rt4/bin/mailgate: not found
fetchmail: reading message helpd...@ticket.co.it@zimbra.ticket.co.it:3 of 8 
(85746 octets) (log message incomplete)
fetchmail: error writing message text
fetchmail: MDA error while fetching from 
helpd...@ticket.co.it@zimbra.ticket.co.it
fetchmail: Query status=6 (IOERR)
fetchmail: terminated with signal 15


Anyway that this message can be cleared.

Thanks

 

 

 

-Original Message-
From: 20/20 Lab 
To: Borngunners 
Cc: rt-users 
Sent: Tue, Jun 26, 2012 12:15 pm
Subject: Re: [rt-users] Issue with Fetchmail


  --snip--

  fetchmail: about to deliver with: /opt/rt4/bin/mailgate  
--queue general --action correspond --url http://helpdesks.ticket.co.it/
  #*.***.***sh: 
 1: /opt/rt4/bin/mailgate: not found

--snip--


Ok, your username is fixed and your authenticating correctly. However,  
 its /opt/rt4/bin/rt-mailgate, not /opt/rt4/bin/mailgate. Just change that 
in your fetchmailrc file and you should be good togo.

-Matt
  
 


[rt-users] Changing Stalled to Resolve

2012-06-26 Thread Borngunners
Where do I go to change the ticket status to show Resolved instead of stalled. 
I added resolved in RT_SiteConfig.pm, but it did not change after doing so.

Thanks,


Re: [rt-users] Issue with Fetchmail

2012-06-26 Thread 20/20 Lab

--snip--
fetchmail: about to deliver with: /opt/rt4/bin/mailgate --queue 
general --action correspond --url http://helpdesks.ticket.co.it/
#*.***.***sh: 
1: /opt/rt4/bin/mailgate: not found

--snip--


Ok, your username is fixed and your authenticating correctly. However,   
its /opt/rt4/bin/rt-mailgate, not /opt/rt4/bin/mailgate. Just change 
that in your fetchmailrc file and you should be good to go.


-Matt


Re: [rt-users] newbiew question

2012-06-26 Thread Joe Harris
We use this extension and it works great! 

Sent from my mobile device. 

On Jun 26, 2012, at 12:04 PM, Kevin Riggle  wrote:

> Excerpts from Khapare Joshi's message of Tue Jun 26 11:58:21 -0400 2012:
>> a very new to RT, just wondering is there a doc on how to configure RT to
>> handle tickets via mail.
>> 
>> so that if i say status resolved , status reply  it would reflect on the RT
>> system.
> 
> See
> http://search.cpan.org/dist/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm
> which sounds like what you want.
> 
> - KevinR


Re: [rt-users] Issue with Fetchmail

2012-06-26 Thread Borngunners
So, I change the username to helpd...@ticket.co.it and I got these after 
running the same debug command. Looks like something is happening. The only 
issue is, I am not sure whether it is working like it is suppose to because it 
keeps appending zimbra.ticket.co.it at the end of the username... Please see 
below:

root@helpdesks:~# /etc/init.d/fetchmail debug-run

/etc/init.d/fetchmail: Initiating debug run of system-wide fetchmail service...
/etc/init.d/fetchmail: script will be run in debug mode, all output to forced to
/etc/init.d/fetchmail: stdout. This is not enough to debug failures that only
/etc/init.d/fetchmail: happen in daemon mode.
/etc/init.d/fetchmail: You might want to direct output to a file, and tail -f 
it.
/etc/init.d/fetchmail: Stopping the service...
 * Pidfile not found! Is fetchmail running?
/etc/init.d/fetchmail: exit status of service stop was: 0
/etc/init.d/fetchmail: RUNUSER is fetchmail
/etc/init.d/fetchmail: OPTIONS would be  -f /etc/fetchmailrc --pidfile 
/var/run/fetchmail/fetchmail.pid
/etc/init.d/fetchmail: Starting service in nodetach mode, hit ^C (SIGINT/intr) 
to finish run...
fetchmail: Old UID list from zimbra.ticket.co.it: 
fetchmail: Scratch list of UIDs: 
fetchmail: starting fetchmail 6.3.21 daemon
fetchmail: 6.3.21 querying zimbra.ticket.co.it (protocol POP3) at Tue 26 Jun 
2012 10:22:25 AM EDT: poll started
fetchmail: Trying to connect to 192.168.222.30/110...connected.
fetchmail: POP3< +OK zimbra.ticket.co.it Zimbra POP3 server ready
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< SASL PLAIN X-ZIMBRA
fetchmail: POP3< EXPIRE 31 USER
fetchmail: POP3< XOIP
fetchmail: POP3< IMPLEMENTATION ZimbraInc
fetchmail: POP3< .
fetchmail: POP3> STLS
fetchmail: POP3< +OK Begin TLS negotiation
fetchmail: Certificate chain, from root to peer, starting at depth 3:
fetchmail: Issuer Organization: GTE Corporation
fetchmail: Issuer CommonName: GTE CyberTrust Global Root
fetchmail: Subject CommonName: GTE CyberTrust Global Root
fetchmail: Certificate at depth 2:
fetchmail: Issuer Organization: GTE Corporation
fetchmail: Issuer CommonName: GTE CyberTrust Global Root
fetchmail: Subject CommonName: DigiCert High Assurance EV Root CA
fetchmail: Certificate at depth 1:
fetchmail: Issuer Organization: DigiCert Inc
fetchmail: Issuer CommonName: DigiCert High Assurance EV Root CA
fetchmail: Subject CommonName: DigiCert High Assurance CA-3
fetchmail: Server certificate:
fetchmail: Issuer Organization: DigiCert Inc
fetchmail: Issuer CommonName: DigiCert High Assurance CA-3
fetchmail: Subject CommonName: zimbra.ticket.co.it
fetchmail: Subject Alternative Name: zimbra.ticket.co.it
fetchmail: zimbra.ticket.co.it key fingerprint: 
70:02:AF:9B:46:02:C1:12:F0:52:69:0D:EE:99:3A:EC
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< SASL PLAIN X-ZIMBRA
fetchmail: POP3< EXPIRE 31 USER
fetchmail: POP3< XOIP
fetchmail: POP3< IMPLEMENTATION ZimbraInc
fetchmail: POP3< .
fetchmail: zimbra.ticket.co.it: upgrade to TLS succeeded.
fetchmail: POP3> USER helpd...@ticket.co.it
fetchmail: POP3< +OK hello helpd...@ticket.co.it, please enter your password
fetchmail: POP3> PASS *
fetchmail: POP3< +OK server ready
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 8 328373
fetchmail: POP3> LAST
fetchmail: POP3< -ERR unknown command
fetchmail: unknown command
fetchmail: POP3> UIDL
fetchmail: POP3< +OK 8 messages
fetchmail: POP3< 1 17720.IRidbzHeI6bzOWLayy2p7HWtDHM=
fetchmail: 1 is unseen
fetchmail: POP3< 2 17723.SHuBiaCWYg,0,9nWQnSrbPaE21M=
fetchmail: 2 is unseen
fetchmail: POP3< 3 17760.RrBL,aEkKUF38ObqE5RyxA8Fj3I=
fetchmail: 3 is unseen
fetchmail: POP3< 4 17780.xSV1x6jv0HRhe4TB7Cn29caKUEk=
fetchmail: 4 is unseen
fetchmail: POP3< 5 17800.zfe5R,i4,UY+UlWCiKW9BizFC7Q=
fetchmail: 5 is unseen
fetchmail: POP3< 6 17801.pv7zeMc0OwOMn1H9sMm2,2WHBoY=
fetchmail: 6 is unseen
fetchmail: POP3< 7 17803.WXLHYsVB4uK9qAHGychge,2EKmc=
fetchmail: 7 is unseen
fetchmail: POP3< 8 17820.l9qMWjsYiHOL+BMlCLMvhtcl6rY=
fetchmail: 8 is unseen
fetchmail: POP3< .
fetchmail: 8 messages for helpd...@ticket.co.it at zimbra.ticket.co.it (328373 
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 4492
fetchmail: POP3> TOP 1 
fetchmail: POP3< +OK message top follows
fetchmail: reading message helpd...@ticket.co.it@zimbra.ticket.co.it:1 of 8 
(4492 octets) About to rewrite Return-Path: j...@ticket.co.it...
...rewritten version is Return-Path: j...@ticket.co.it.
fetchmail: About to rewrite From: Jane jane ...
...rewritten version is From: Jane jane .
fetchmail: About to rewrite To: Help Desk , ...
...rewritten version is To: Help Desk , .
fetchmail: About to rewrite Cc: Lope Phatter , ...
...rewritten version is Cc: Lope Phatter , .
fetchmail: about to deliver with

Re: [rt-users] newbiew question

2012-06-26 Thread Kevin Riggle
Excerpts from Khapare Joshi's message of Tue Jun 26 11:58:21 -0400 2012:
> a very new to RT, just wondering is there a doc on how to configure RT to
> handle tickets via mail.
> 
> so that if i say status resolved , status reply  it would reflect on the RT
> system.

See
http://search.cpan.org/dist/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm
which sounds like what you want.

- KevinR


[rt-users] newbiew question

2012-06-26 Thread Khapare Joshi
a very new to RT, just wondering is there a doc on how to configure RT to
handle tickets via mail.

so that if i say status resolved , status reply  it would reflect on the RT
system.

KH


[rt-users] Settings for On Correspond Open Ticket scrip

2012-06-26 Thread Dennis Gilhooley
Greetings!

We have RT 4.0.4 installed.  It appears that when a user Replies to a new 
ticket (using the Correspond template), the ticket status is not being set from 
New to Open.

I have seen reference to a Global Scrip: On Correspond Open Ticket but I do not 
see that Global Scrip in our environment.  This is behavior we desire, so I am 
wondering, is there another way to get this behavior (configuration / 
Lifecycles) or are we just missing the Scrip?  If we are missing the Scrip, 
could someone be so kind as to post the settings / field values for the scrip 
so I can recreate it in our environment.

Thanks,

Denny



[rt-users] matching null against date/datetime CustomFields

2012-06-26 Thread Duncan Hutty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In RT4, we can create Custom Fields that have date or datetime types.

If a date/datetime Custom Field has not been set, it displays as :
CFNAME: (no value)

How do I search for tickets that have not had a value set into that
Custom Field?

Here's what I have tried:

CF.{myfieldname} = ''
CF.{myfieldname} = 'NULL'
CF.{myfieldname} = 'undef'
CF.{myfieldname} = 0
CF.{myfieldname} = '1970-01-01 00:00:00'

If it is _not_ possible to search for null, doesn't that break the
semantics of a date/datetime comparison?
- -- 
Duncan Hutty
http://www.allgoodbits.org


-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/py84ACgkQCFuTFybf1wp/XgCghUI3Nu9wV0iQJCMibpmXvxdO
T5sAoKNezJxQY8/dmwTFb9uTMR4+57Je
=VNVX
-END PGP SIGNATURE-


Re: [rt-users] How change favicon.png

2012-06-26 Thread Joachim Thuau
Use an alias in your apache config:

Alias /favicon.ico /some/place/where/you/have/your/favicon.ico

Jok

On Jun 26, 2012, at 3:33 AM, "Jonathan Khattir" 
mailto:jonathan.khat...@mobiquithings.net>> 
wrote:

 try your second solution, it's works but i all my images which are in 
local/html/NoAuth/images don't show. So now my css is disgusting !!!

2012/6/21 Jonathan Khattir 
mailto:jonathan.khat...@mobiquithings.net>>
Hi, I try to change the favicon.png but it's don't work. In apache log i have 
this message :'<&' without matching '&>' at 
/opt/rt4/local/html/NoAuth/images/favicon.png line 38 
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)

How can i change the favicon?

Thx



Re: [rt-users] Try to migrating from MySQL to Postgres

2012-06-26 Thread Anders Hansen-Øvre
I used the following after some key issues.

Using Pg to request password for local connections

/opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password --action 
drop
/opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password --action 
create
/opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password --action 
schema --datadir /opt/rt4/etc/schema.Pg
/opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password --action 
acl --datadir /opt/rt4/etc/acl.Pg

Change Pg back to default auth for postgres from local

Then run ./RTmysqltoPg

---
Anders

Fra: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] På vegne av Juanjo
Sendt: 26. juni 2012 09:54
Til: rt-users@lists.bestpractical.com
Emne: [rt-users] Try to migrating from MySQL to Postgres

Hi.

I try to make a migration in my dev server from MySQL to Postgres.

Now im trying to use the scrip from Dario given in this thread 
http://www.gossamer-threads.com/lists/rt/users/103305

I get this error:

[root@rt ~]# ./RTmysqltoPg
Migrating ACL...
maxid=83
Asked ACL for 2000 starting from 0, got 73
DBD::Pg::st execute failed: ERROR:  duplicate key violates unique «acl_pkey» at 
./RTmysqltoPg line 130.
Use of uninitialized value $values[6] in join or string at ./RTmysqltoPg line 
130.
Use of uninitialized value $values[8] in join or string at ./RTmysqltoPg line 
130.

 2,0,SuperUser,1,0,Group,,1,,RT::System at ./RTmysqltoPg line 130.



in the ACL table there aren´t duplicates key for ID.
The new database is empty, only generated by # make initialize-database

Any help?

I attach the script.

Thanks.
Kindest Regards.

--
Un saludo.
Juanjo Corral


Re: [rt-users] MaxAttachmentSize

2012-06-26 Thread k...@rice.edu
On Tue, Jun 26, 2012 at 01:31:15PM +0100, Pedro Albuquerque wrote:
> Hi all,
> 
> I set this on RT_SiteConfig to Set($MaxAttachmentSize, 67634176) to
> allow users upload files up to 64MB.   # (64MB)
> However, users can upload files bigger than this size (no error and
> file is in the ticket); the strangest thing is that in the RT
> interface it shows every file with size bigger than 64MB having
> 47.7MB of size.
> 
> I am using RT 4.0.6 and Oracle DB.
> 
> Cheers,
> Pedro.

Hi Pedro,

I think the file is base64 encoded in the Oracle backend which would
imply storing only about 47MB of data. The rest is discarded, hence
the 47.7MB sizes.

Regards,
Ken


[rt-users] MaxAttachmentSize

2012-06-26 Thread Pedro Albuquerque

Hi all,

I set this on RT_SiteConfig to Set($MaxAttachmentSize, 67634176) to 
allow users upload files up to 64MB.   # (64MB)
However, users can upload files bigger than this size (no error and file 
is in the ticket); the strangest thing is that in the RT interface it 
shows every file with size bigger than 64MB having 47.7MB of size.


I am using RT 4.0.6 and Oracle DB.

Cheers,
Pedro.


[rt-users] How to add link into Login Page

2012-06-26 Thread Adrian Stel
Hi All,



I would like to add some info on main Lohin Page, befoure you put user/pass.

I found two place where it could be done:
1) footer -> for me to small
2) *.po files, message on read field for example rihgt now I have
"You are not an authorized user" I would like to have "You are not an
authorized user. Please visit link"

I know where I should change this but I dont konw how put there a link:

first place TangentForLoginWithError('You are not an authorized
user'); from -> opt/rt4/lib/RT/Interface/Web.pm

second /opt/rt4/share/en.po

#: NOT FOUND IN SOURCE
msgid "You are not an authorized user please"
msgstr "You are not an authorised user please"


Perhaps you have better place to put message like "Please register here" etc.

-- 
Pozdrawiam
Adrian Stelmaszyk


Re: [rt-users] How change favicon.png

2012-06-26 Thread Jonathan Khattir
 try your second solution, it's works but i all my images which are in
local/html/NoAuth/images don't show. So now my css is disgusting !!!

2012/6/21 Jonathan Khattir 

> Hi, I try to change the favicon.png but it's don't work. In apache log i
> have this message :'<&' without matching '&>' at
> /opt/rt4/local/html/NoAuth/images/favicon.png line 38
> (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)
>
> How can i change the favicon?
>
> Thx
>


[rt-users] attachment filename corrupted

2012-06-26 Thread Arkadiusz Miśkiewicz

Filename attachments sent with headers like below are getting corrupted
name in rt (4.0.6 here).

For example instead of "rozmowy wstępne - rozliczenie za kwiecień.xlsx"
rt displays truncated name "Download rozmowy wstępne -;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 6.2k"

Any chances to get this fixed?

Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
 name="rozmowy 
=?UTF-8?B?d3N0xJlwbmUgLSByb3psaWN6ZW5pZSB6YSBrd2llY2llxYQueGxzeA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*0*=UTF-8''%72%6F%7A%6D%6F%77%79%20%77%73%74%C4%99%70%6E%65%20%2D;
 filename*1*=%20%72%6F%7A%6C%69%63%7A%65%6E%69%65%20%7A%61%20%6B%77%69%65;
 filename*2*=%63%69%65%C5%84%2E%78%6C%73%78

-- 
Arkadiusz Miśkiewicz, arekm / maven.pl


Re: [rt-users] Issue with Fetchmail

2012-06-26 Thread Alhaji Kargbo
The issue I am having is, if I use the username as helpd...@ticket.co.it, will 
end up having helpd...@ticket.co.it@ticket.co.it, which is not ok for it to 
authenticate. Now, rt and my email server are on 2 separate box and my email 
domain name is different from the server. My email SMTP incoming server is 
zimbra.ticket.co.it and my email domain is ticket.co.it... How do I setup 
fetchmail to work in this case?

Re: [rt-users] How change favicon.png

2012-06-26 Thread Alexander Reintzsch
Am Dienstag, den 26.06.2012, 01:02 +0400 schrieb Ruslan Zakirov:
> On Thu, Jun 21, 2012 at 2:27 PM, Jonathan Khattir
>  wrote:
> > Hi, I try to change the favicon.png but it's don't work. In apache log i
> > have this message :'<&' without matching '&>' at
> > /opt/rt4/local/html/NoAuth/images/favicon.png line 38
> > (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)
> >
The problem is the Mason handler. You have got two options.

First one is, that you place the icon-file somewhere else (not in
RT-folders) where Mason will not try to interpret the file as some part
of source code.

Second one is a bit more complicated. You need to create a subdirectory
where you store the image of the favicon.

mkdir -p /opt/rt4/local/html/NoAuth/images/hiddensource

Then move the favicon into this folder.

mv /opt/rt4/local/html/NoAuth/images/favicon.png 
/opt/rt4/local/html/NoAuth/images/hiddensource/

Then you create a dhandler-file, which Mason will use when there is no
file with that name in the folder.

cat 
use File::Basename;
my \$arg = \$m->dhandler_arg;
my \$file = dirname(\$m->current_comp->source_file) . '/hiddensource/' .
\$arg;
RT::Interface::Web->SendStaticFile( File => \$file );
\$m->abort;

EOT

Because the /opt/rt4/shared/html/NoAuth/images/autohandler exists you
need to locally overwrite it. Use the dhandler for this.

cp /opt/rt4/local/html/NoAuth/images/dhandler 
/opt/rt4/local/html/NoAuth/images/autohandler

This will make Mason send the static file and will not make it interpret
the favicon as some kind of source code.

Well and you might need to delete the favicon in
/opt/rt4/shared/html/NoAuth/images
Because else this one will be used.

mv /opt/rt4/shared/html/NoAuth/images/favicon.png 
/opt/rt4/shared/html/NoAuth/images/favicon.org.png

I hope that helps.

Greetings,
Alex



[rt-users] Try to migrating from MySQL to Postgres

2012-06-26 Thread Juanjo
Hi.

I try to make a migration in my dev server from MySQL to Postgres.

Now im trying to use the scrip from Dario given in this thread
http://www.gossamer-threads.com/lists/rt/users/103305

I get this error:

[root@rt ~]# ./RTmysqltoPg
Migrating ACL...
maxid=83
Asked ACL for 2000 starting from 0, got 73
DBD::Pg::st execute failed: ERROR:  duplicate key violates unique
«acl_pkey» at ./RTmysqltoPg line 130.
Use of uninitialized value $values[6] in join or string at ./RTmysqltoPg
line 130.
Use of uninitialized value $values[8] in join or string at ./RTmysqltoPg
line 130.

 2,0,SuperUser,1,0,Group,,1,,RT::System at ./RTmysqltoPg line 130.



in the ACL table there aren´t duplicates key for ID.
The new database is empty, only generated by # make initialize-database

Any help?

I attach the script.

Thanks.
Kindest Regards.

-- 
Un saludo.
Juanjo Corral


RTmysqltoPg
Description: Binary data