[rt-users] Session created too late?

2010-11-23 Thread Ryszard Łach
Hi.

Some of my users are reporting 'double login problem'. The sequence is:

1. A user with full-featured main page logs into RT; he enters username and
password, submits
2. The users clicks some other link in not fully loaded/renderd page
(returned after login form) - if someone has not too fast computer or
browser it is quite easy
3. The user receives 302 to login page again.

Is it a configuration issue? I didn't found nothing special in my
RT_*Config.pm...

TIA

R.

-- 
First they ignore you. Then they laugh at you. Then they
fight you. Then you win. - Mohandas Gandhi.


Re: [rt-users] [fwd] Re: RT Mobile UI 0.99 (from: g.bo...@lboro.ac.uk)

2010-11-23 Thread G.Booth

On Mon, 22 Nov 2010 16:30:45 -0500
 Jesse Vincent je...@bestpractical.com wrote:


Garry,

In our testing, this works fine. Perhaps you have the 
old version stuck in your Mason cache?


Hi Jesse

Ive purged the cache and still have the issue.
Ive got a feeling its to do with the way we're doing PAM authentication, as 
the logs are showing a PAM auth failure, followed by an attempt to login 
locally which works.


the access log shows Im attempting to get the ticket id

[23/Nov/2010:10:30:12 +] GET /Ticket/Display?id=103131 HTTP/1.1 301 
340 - Mozilla/5.0 (Linux; U; Android 2.2; en-gb; HTC Desire 2.10.161.2 
Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile 
Safari/533.1


And the messages log shows the PAM failure

Nov 23 10:30:35 telos RT: User me failed PAM authentication 
(/opt/rt3/bin/../local/lib/RT/CurrentUser.pm:345)
Nov 23 10:30:35 telos RT: User me falling back to RT database authentication 
(/opt/rt3/bin/../local/lib/RT/CurrentUser.pm:349)
Nov 23 10:30:35 telos RT: Successful login for me from 158.125.226.123 
(/opt/rt3/bin/../lib/RT/Interface/Web.pm:430)


Then I just get the index page, so my guess is the fallback scrubs the url 
somehow.

Ill try to fix the PAM issue and see if that sorts it all.

Thanks for getting back.

Garry


--

Dr Garry Booth
IT Services
Loughborough University


Re: [rt-users] [Rt-devel] The RT wiki is now on Wikia

2010-11-23 Thread Thomas Sibley
Please keep mail to the lists when replying.

On 23 Nov 2010 04:43, Andy Jewell wrote:
 It's worth noting that the user-names and passwords have not been migrated so 
 everyone will need to create a new account on wikia (I had thought they might 
 have been, but I suppose it's a good way to clear out all the dead and 
 spammers accounts).

As far as I know, migrating accounts to Wikia isn't actually possible.
Everyone is welcome to sign up again, or contribute as an anonymous user.

 Maybe it would be a good idea to put a banner on the old wiki to say it's 
 frozen?

Hopefully the name wiki-archive.bestpractical.com and the Read Only
notice when you try to edit a page make it clear enough, but I'll look
into adding a banner when I have a free moment.

Thomas


Re: [rt-users] Summary Searches

2010-11-23 Thread Jason Ledford
I have looked through the OwnerSummary and RequestorSummary and can’t figure 
out what I need.  I am not well versed in perl either.

I would like to do exactly what this plugin provides, except filter it by say 
group.  I can create groups in RT and then I could create summary’s for each 
group.  I just can’t figure out how to add a filter to these portlets.

Any help is greatly appreciated.

Thanks.

From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Jason Ledford
Sent: Wednesday, October 20, 2010 2:00 PM
To: Torsten Brumm
Cc: RT-Users@lists.bestpractical.com
Subject: Re: [rt-users] Summary Searches

Sorry it took me so long to get back to this.  This is almost exactly what I am 
looking for.  I would like what this provides, but be able to filter it down to 
specific people.  That way certain groups can see just the people in that 
group, and not the entire system.  I am looking specifically at the 
OwnerSummary.  Can that be modified to fit my needs, or is there a GroupBy 
function that can be used in the ticketsql?

Thanks.

From: Torsten Brumm [mailto:torsten.br...@googlemail.com]
Sent: Monday, October 11, 2010 11:17 AM
To: Jason Ledford
Cc: RT-Users@lists.bestpractical.com
Subject: Re: [rt-users] Summary Searches

Have a Look in Cpan for summarybyowner from ruslan, think thats what You're 
Looking for.

Von meinem iPhone gesendet

Am 11.10.2010 um 17:08 schrieb Jason Ledford 
jledf...@biltmore.commailto:jledf...@biltmore.com:
I have searched the wiki and mailing list and can’t find my answer, so if its 
there feel free to point me in that direction.  I want to setup a search 
similar to the quicksearch, where I get (for example) the users I am concerned 
with seeing, and then across the top the same new open and stalled with summary 
numbers below.   That way each manager can easily see statistics on their 
reports without having to see the detail of each call.

I have created a search for these users and get get the search to work, but 
can’t figure out how to do the grouping to get summary numbers.  Help is 
appreciated.

Thanks.



RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!


Re: [rt-users] Revisiting CommandByMail problem

2010-11-23 Thread Kenneth Crocker
Kevin,

I've never written a perl program in my life. I've coded a few scrips here
and there.
I apologize for not having done a better job of testing my problems earlier.
They were all updates. I hadn't tried a fresh create at that time.
When I create a new ticket via CommanbByMail, all commands work well. When I
copy/paste those same commands into an update email, the dates DO get
updated, but I get an error message in a returned email.
That's the best info I can give you.
I wouldn't know where to begin when it comes to coding a patch or testsuite.

Kenn
LBNL

On Mon, Nov 22, 2010 at 4:53 PM, Kevin Falcone falc...@bestpractical.comwrote:

 On Mon, Nov 22, 2010 at 02:01:00PM -0800, Kenneth Crocker wrote:
 To List,
 
 I've continued to have problems with getting an error message from RT
 when using CommandByMail
 and I found an interesting situation:
 
 When I create a ticket using email and include many fields (dates and
 otherwise), the ticket
 is created and I get no error message back.
 
 When I try to update a ticket using CommandByMail (referencing the
 ticket in the Subject
 line), the ticket is updated, yet I get an error message back from RT
 in email stating errord
 for the date fields. Yet the data WAS updated.
 
 I went to the rt.log and noticed that the update fields get updated,
 then a transaction Type
 Correspond is processed and THEN the error messages get sent.
 
 I then went to the DataBase and looked at the TRANSACTION Table and
 found the transactions and
 sure enough, there is a transaction record Type Set for each date
 field and any other fields
 all followed by that Correspond: Type trans record. I also noticed
 that regardless of what
 non-date fields I am updating in sequence after the date fields, the
 transactions for the date
 fields are always processed last just before the transaction type
 correspond.
 
 I just did a complete install of CommandByMail to ensure I hadn't
 accidentally messed up any
 files.
 
 So, I have two questions:
 
 1) Why does the Create email work without any error messages and the
 Update work but send
 error messages?
 2) Why would CBM go ahead and update the ticket and then only when it
 processes the
 Correspond transaction decide to send out error messages for the
 date fields?

 If you're passing a correctly formatted Due date on Correspond emails
 and getting errors, then that may well be a bug.  Your previous emails
 have shown that you weren't passing a valid Due date.

 The easiest way to get this fixed is a patch that adds a failing test
 to the testsuite.

 -kevin



Re: [rt-users] Revisiting CommandByMail problem

2010-11-23 Thread Joe Harris
I believe this is the same issue I was having and it stemmed from there being 
colons in the same line with the command. 
i.e. Due: 2010-11-25 17:30:00

This command works both on update and create, but the mail server returns an 
error when updating:
Extended mailgate error
Failed command 'due: 2010-11-25 17:30:00'
Error message (no message)

Is this the same issue you are having?


Sent from blackberry

-Original Message-
From: Kenneth Crocker kfcroc...@lbl.gov
Sender: rt-users-boun...@lists.bestpractical.com
Date: Tue, 23 Nov 2010 09:25:39 
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Revisiting CommandByMail problem

Kevin,

I've never written a perl program in my life. I've coded a few scrips here
and there.
I apologize for not having done a better job of testing my problems earlier.
They were all updates. I hadn't tried a fresh create at that time.
When I create a new ticket via CommanbByMail, all commands work well. When I
copy/paste those same commands into an update email, the dates DO get
updated, but I get an error message in a returned email.
That's the best info I can give you.
I wouldn't know where to begin when it comes to coding a patch or testsuite.

Kenn
LBNL

On Mon, Nov 22, 2010 at 4:53 PM, Kevin Falcone falc...@bestpractical.comwrote:

 On Mon, Nov 22, 2010 at 02:01:00PM -0800, Kenneth Crocker wrote:
 To List,
 
 I've continued to have problems with getting an error message from RT
 when using CommandByMail
 and I found an interesting situation:
 
 When I create a ticket using email and include many fields (dates and
 otherwise), the ticket
 is created and I get no error message back.
 
 When I try to update a ticket using CommandByMail (referencing the
 ticket in the Subject
 line), the ticket is updated, yet I get an error message back from RT
 in email stating errord
 for the date fields. Yet the data WAS updated.
 
 I went to the rt.log and noticed that the update fields get updated,
 then a transaction Type
 Correspond is processed and THEN the error messages get sent.
 
 I then went to the DataBase and looked at the TRANSACTION Table and
 found the transactions and
 sure enough, there is a transaction record Type Set for each date
 field and any other fields
 all followed by that Correspond: Type trans record. I also noticed
 that regardless of what
 non-date fields I am updating in sequence after the date fields, the
 transactions for the date
 fields are always processed last just before the transaction type
 correspond.
 
 I just did a complete install of CommandByMail to ensure I hadn't
 accidentally messed up any
 files.
 
 So, I have two questions:
 
 1) Why does the Create email work without any error messages and the
 Update work but send
 error messages?
 2) Why would CBM go ahead and update the ticket and then only when it
 processes the
 Correspond transaction decide to send out error messages for the
 date fields?

 If you're passing a correctly formatted Due date on Correspond emails
 and getting errors, then that may well be a bug.  Your previous emails
 have shown that you weren't passing a valid Due date.

 The easiest way to get this fixed is a patch that adds a failing test
 to the testsuite.

 -kevin




Re: [rt-users] Revisiting CommandByMail problem

2010-11-23 Thread Kenneth Crocker
Joe,

That is EXACTLY what I'm getting.

Although I don't include a time portion, so the only colon that exists is
right after the command.

Kenn
LBNL

On Tue, Nov 23, 2010 at 9:44 AM, Joe Harris drey...@gmail.com wrote:

 I believe this is the same issue I was having and it stemmed from there
 being colons in the same line with the command.
 i.e. Due: 2010-11-25 17:30:00

 This command works both on update and create, but the mail server returns
 an error when updating:
 Extended mailgate error
 Failed command 'due: 2010-11-25 17:30:00'
 Error message (no message)

 Is this the same issue you are having?


 Sent from blackberry
 --
 *From: * Kenneth Crocker kfcroc...@lbl.gov
 *Sender: * rt-users-boun...@lists.bestpractical.com
 *Date: *Tue, 23 Nov 2010 09:25:39 -0800
 *To: *rt-users@lists.bestpractical.com
 *Subject: *Re: [rt-users] Revisiting CommandByMail problem

 Kevin,

 I've never written a perl program in my life. I've coded a few scrips here
 and there.
 I apologize for not having done a better job of testing my problems
 earlier. They were all updates. I hadn't tried a fresh create at that time.
 When I create a new ticket via CommanbByMail, all commands work well. When
 I copy/paste those same commands into an update email, the dates DO get
 updated, but I get an error message in a returned email.
 That's the best info I can give you.
 I wouldn't know where to begin when it comes to coding a patch or
 testsuite.

 Kenn
 LBNL

 On Mon, Nov 22, 2010 at 4:53 PM, Kevin Falcone 
 falc...@bestpractical.comwrote:

 On Mon, Nov 22, 2010 at 02:01:00PM -0800, Kenneth Crocker wrote:
 To List,
 
 I've continued to have problems with getting an error message from RT
 when using CommandByMail
 and I found an interesting situation:
 
 When I create a ticket using email and include many fields (dates and
 otherwise), the ticket
 is created and I get no error message back.
 
 When I try to update a ticket using CommandByMail (referencing the
 ticket in the Subject
 line), the ticket is updated, yet I get an error message back from RT
 in email stating errord
 for the date fields. Yet the data WAS updated.
 
 I went to the rt.log and noticed that the update fields get updated,
 then a transaction Type
 Correspond is processed and THEN the error messages get sent.
 
 I then went to the DataBase and looked at the TRANSACTION Table and
 found the transactions and
 sure enough, there is a transaction record Type Set for each date
 field and any other fields
 all followed by that Correspond: Type trans record. I also noticed
 that regardless of what
 non-date fields I am updating in sequence after the date fields, the
 transactions for the date
 fields are always processed last just before the transaction type
 correspond.
 
 I just did a complete install of CommandByMail to ensure I hadn't
 accidentally messed up any
 files.
 
 So, I have two questions:
 
 1) Why does the Create email work without any error messages and
 the Update work but send
 error messages?
 2) Why would CBM go ahead and update the ticket and then only when it
 processes the
 Correspond transaction decide to send out error messages for the
 date fields?

 If you're passing a correctly formatted Due date on Correspond emails
 and getting errors, then that may well be a bug.  Your previous emails
 have shown that you weren't passing a valid Due date.

 The easiest way to get this fixed is a patch that adds a failing test
 to the testsuite.

 -kevin





Re: [rt-users] RT 3.9.6 Search Features Missing.

2010-11-23 Thread Roman Steven
Hi Jesse,

I followed Chris's advice and it works.

R.S.

On Mon, Nov 22, 2010 at 4:55 PM, Jesse Vincent je...@bestpractical.com wrote:



 On Mon, Nov 22, 2010 at 10:52:26PM +0100, Christian Loos wrote:
 I also noticed some menu items to disappear after trying the 3.9.6.

 The problem was, that I had the old apache config (modperl 2) from 3.8.
 After changing the config described at docs/web_deployment.pod, the menu
 items appeared back.

 Were you using leftover mason_handlers in bin/ or had you adjusted to use the 
 new variants in sbin?

 I suppose it's time to make RT4 install into /opt/rt4 ;)

 -Chris

 Am 22.11.2010 17:24, schrieb Jesse Vincent:
 
 
 
  On Mon, Nov 22, 2010 at 11:20:06AM -0500, Roman Steven wrote:
  Hi,
 
  I installed RT 3.9.6 on a Ubuntu 10 server, and so far I like it.
 
  What I am not seeing is the ability to click on the search link
  features like edit search , advanced, show results and bulk update.
 
  I do see html under /opt/rt3/share/html/Search, just not in the menus.
 
  Do I  need to configure those features?
 
 
  Here's what I see under the web2 and aileron themes.
  http://fsck.com/~jesse/tmp/2010-11-22/16eca341-4b44-40c0-ab67-2fc6572070e3/web2.png
  http://fsck.com/~jesse/tmp/2010-11-22/d3929014-9e2e-4c04-abbd-4a3b08e6b127/aileron.png
 
  What do you see?
 
 
  Best,
  Jesse
 


 --



Re: [rt-users] RT Chinese Characters?

2010-11-23 Thread Vick Khera

On Nov 23, 2010, at 3:37 PM, Vivian Lee wrote:

 I work with Brian at Trident Microsystems.  The followings are the examples 
 of our issues.  Hopefully, with the screen shots you would be able to see the 
 issues more clearly and could point us to the right direction to solve this 
 issue.   Thanks.
 

the list of characters you sent in this email all showed on my mac mail reader 
(I did not feed them into RT).  i'd recommend finding out what font outlook is 
using, and arrange for RT to use that font as well, as it has the glyphs you 
want to show.



Re: [rt-users] RT Chinese Characters?

2010-11-23 Thread Jesse Vincent

It sure looks like a bug - probably related to the encoding it's being sent in.

http://issues.bestpractical.com/Ticket/Display.html?id=16079user=guestpass=guest

I've dropped it into the bug tracker.

Best,
Jesse


On Tue, Nov 23, 2010 at 12:37:19PM -0800, Vivian Lee wrote:
 Hi,
 
 
 
 I work with Brian at Trident Microsystems.  The followings are the examples 
 of our issues.  Hopefully, with the screen shots you would be able to see the 
 issues more clearly and could point us to the right direction to solve this 
 issue.   Thanks.
 
 
 
 These are the Chinese characters sent from Outlook email to RT:
 
 
 
 法新社倫敦11日電) 交易商說,在供應吃緊、需求預期會增加的帶動下,世界原油價格今天逼近每桶90美元。這是世界油價兩年多來首度逼近這個價位。
 
 倫敦北海布侖特原油12月交割價一度攀上每桶89.70美元,為兩年來最高價位,並是2008年10月以來首度逼近90美元關卡。
 
 這項期貨後來回跌至89.47美元,但仍較昨天收盤價上漲51美分。
 
 
 
 This is how they are displayed in RT:
 
 
 
 [cid:image001.png@01CB8B0A.6B836C60]
 
 
 
 As you can see some Chinese characters are shown in boxes and special 
 characters.  We have done some testing and it seems that Simplified Chinese 
 characters are ok.  Only the Traditional Chinese characters are having issues.
 
 
 
 Thanks in advance for your help.
 
 
 
 Vivian
 
 
 
 
 
 -Original Message-
 From: Brian Thompson
 Sent: Friday, November 19, 2010 9:53 AM
 To: Jesse Vincent
 Cc: Vick Khera; RT Users
 Subject: RE: [rt-users] RT  Chinese Characters?
 
 
 
 Is there a list of Chinese Traditional fonts that work with RT available so 
 that we can make sure we're using one that works?
 
 
 
 Thanks!,
 
 
 
 Brian
 
 
 
 
 
 -Original Message-
 
 From: Jesse Vincent [mailto:je...@bestpractical.com]
 
 Sent: Friday, November 19, 2010 9:47 AM
 
 To: Brian Thompson
 
 Cc: Vick Khera; RT Users
 
 Subject: Re: [rt-users] RT  Chinese Characters?
 
 
 
 
 
 
 
 
 
 On Fri, Nov 19, 2010 at 09:45:15AM -0800, Brian Thompson wrote:
 
  Thank you for the confirmation.  Follow-up question if you know:  How might 
  an organization ensure that users of Chinese Traditional characters always 
  use a font that works with RT?
 
 
 
 That's a platform-dependent question. It might be that you need to install 
 the relevant language support for your platform. I recall this being an issue 
 on some installs of Windows XP.
 
 



-- 


Re: [rt-users] RT Chinese Characters?

2010-11-23 Thread sunnavy
Hi vivian

the charset of the email from outlook is set to gb2312, which only contains
simplified chinese characters, if you want to use traditional chinese too,
you need to set the outgoing charset to utf8 or at least gbk in outlook.

best wishes
sunnavy

On 10-11-23 12:37, Vivian Lee wrote:
 Hi,
 
 
 
 I work with Brian at Trident Microsystems.  The followings are the examples 
 of our issues.  Hopefully, with the screen shots you would be able to see the 
 issues more clearly and could point us to the right direction to solve this 
 issue.   Thanks.
 
 
 
 These are the Chinese characters sent from Outlook email to RT:
 
 
 
 法新社倫敦11日電) 交易商說,在供應吃緊、需求預期會增加的帶動下,世界原油價格今天逼近每桶90美元。這是世界油價兩年多來首度逼近這個價位。
 
 倫敦北海布侖特原油12月交割價一度攀上每桶89.70美元,為兩年來最高價位,並是2008年10月以來首度逼近90美元關卡。
 
 這項期貨後來回跌至89.47美元,但仍較昨天收盤價上漲51美分。
 
 
 
 This is how they are displayed in RT:
 
 
 
 [cid:image001.png@01CB8B0A.6B836C60]
 
 
 
 As you can see some Chinese characters are shown in boxes and special 
 characters.  We have done some testing and it seems that Simplified Chinese 
 characters are ok.  Only the Traditional Chinese characters are having issues.
 
 
 
 Thanks in advance for your help.
 
 
 
 Vivian
 
 
 
 
 
 -Original Message-
 From: Brian Thompson
 Sent: Friday, November 19, 2010 9:53 AM
 To: Jesse Vincent
 Cc: Vick Khera; RT Users
 Subject: RE: [rt-users] RT  Chinese Characters?
 
 
 
 Is there a list of Chinese Traditional fonts that work with RT available so 
 that we can make sure we're using one that works?
 
 
 
 Thanks!,
 
 
 
 Brian
 
 
 
 
 
 -Original Message-
 
 From: Jesse Vincent [mailto:je...@bestpractical.com]
 
 Sent: Friday, November 19, 2010 9:47 AM
 
 To: Brian Thompson
 
 Cc: Vick Khera; RT Users
 
 Subject: Re: [rt-users] RT  Chinese Characters?
 
 
 
 
 
 
 
 
 
 On Fri, Nov 19, 2010 at 09:45:15AM -0800, Brian Thompson wrote:
 
  Thank you for the confirmation.  Follow-up question if you know:  How might 
  an organization ensure that users of Chinese Traditional characters always 
  use a font that works with RT?
 
 
 
 That's a platform-dependent question. It might be that you need to install 
 the relevant language support for your platform. I recall this being an issue 
 on some installs of Windows XP.