Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Renney, Paul
Jim, I did it the following way in RT 4.0.5: Copied share/html/Ticket/Create.html into the local/html/Ticket directory, changed the Init callback line in Create.html to make: $m-callback( CallbackName = Init, ARGSRef = \%ARGS, QueueObj = QueueObj ); Copied original Create.html into local

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Ruslan Zakirov
On Tue, Jun 12, 2012 at 5:38 AM, Asif Iqbal vad...@gmail.com wrote: I am using external authentication against our corporate AD server successfully, using the  RT::Authen::ExternalAuth. But I like the authorization done against internal db for user account. Just because a user has a valid AD

[rt-users] R: ModifySelf RT-4.0.5

2012-06-12 Thread Gibilisco Davide
I wrote the following request a few days ago. Does anyone have any suggestions? Da: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Per conto di Gibilisco Davide Inviato: lunedì 28 maggio 2012 17:31 A: rt-users@lists.bestpractical.com Oggetto:

Re: [rt-users] R: ModifySelf RT-4.0.5

2012-06-12 Thread Thomas Sibley
On 06/12/2012 07:56 AM, Gibilisco Davide wrote: I wrote the following request a few days ago. Does anyone have any suggestions? *Da:*rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] *Per conto di *Gibilisco Davide *Inviato:* lunedì 28 maggio 2012

Re: [rt-users] Search results showing a bunch of HTML

2012-06-12 Thread Jeff Blaine
On 6/11/2012 5:44 PM, Thomas Sibley wrote: On 06/11/2012 05:11 PM, Jeff Blaine wrote: I've not seen this reported. Any ideas? Performing a search is displaying (showing, not rendering) a bunch of HTML *after the search results* in RT 3.8.12 and RT 3.8.13 (those are the two I know of at least).

Re: [rt-users] [SLA] Custom (and very imperfect) solution for parking stalled tickets

2012-06-12 Thread Ruslan Zakirov
On Mon, Jun 11, 2012 at 10:45 AM, Robert Wysocki robert.wyso...@contium.pl wrote: Dnia 2012-06-09, sob o godzinie 22:50 +0400, Ruslan Zakirov pisze: On Sat, Jun 9, 2012 at 10:17 PM, Scotto Alberto al.sco...@reply.it wrote:         Much better, following KISS rule: we could simply use hidden

Re: [rt-users] Search results showing a bunch of HTML

2012-06-12 Thread Thomas Sibley
On 06/12/2012 10:21 AM, Jeff Blaine wrote: On 6/11/2012 5:44 PM, Thomas Sibley wrote: On 06/11/2012 05:11 PM, Jeff Blaine wrote: I've not seen this reported. Any ideas? Performing a search is displaying (showing, not rendering) a bunch of HTML *after the search results* in RT 3.8.12 and RT

[rt-users] Callbacks not working

2012-06-12 Thread Mark Collins
Hi all, I'm trying to get a callback working that hides the system updates in a tickets history, but nothing is happening. I've placed the callback in /opt/rt/local/html/Callbacks/Westgate/Tickets/Elements (it's call ShowHistory), and the callback code just isn't running. The callback itself

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Asif Iqbal
On Tue, Jun 12, 2012 at 5:51 AM, Ruslan Zakirov r...@bestpractical.comwrote: On Tue, Jun 12, 2012 at 5:38 AM, Asif Iqbal vad...@gmail.com wrote: I am using external authentication against our corporate AD server successfully, using the RT::Authen::ExternalAuth. But I like the

[rt-users] R: R: ModifySelf RT-4.0.5

2012-06-12 Thread Gibilisco Davide
I wrote the following request a few days ago. Does anyone have any suggestions? *Da:*rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] *Per conto di *Gibilisco Davide *Inviato:* lunedì 28 maggio 2012 17:31 *A:* rt-users@lists.bestpractical.com

Re: [rt-users] Callbacks not working

2012-06-12 Thread Ruslan Zakirov
On Tue, Jun 12, 2012 at 6:29 PM, Mark Collins m...@westgateit.com wrote: Hi all, I'm trying to get a callback working that hides the system updates in a tickets history, but nothing is happening. I've placed the callback in /opt/rt/local/html/Callbacks/Westgate/Tickets/Elements (it's call

[rt-users] Custom template/scrip with conditional responses

2012-06-12 Thread Joe Harris
Is there a way in templates to build one with a conditional response based on transaction type? (4.0.5) Example: I have a template for owner change which works well. On owner change notify of change adds the new owner in the subject like so: Subject: Owner change: {$Ticket-OwnerObj-Name}:

Re: [rt-users] Callbacks not working

2012-06-12 Thread Mark Collins
Ruslan, Thanks for the quick response - the file is in the correct path (that was a cut paste error) with the correct name: loki:/opt/rt/local/html/Callbacks/Westgate/Tickets/Elements/ShowHistory # ls SkipTransaction When I look at the ticket history, all the content is still there, even if I

Re: [rt-users] SeeGroupDashboard - trying to let group A see group B's dashboards

2012-06-12 Thread Ruslan Zakirov
Hi, Your steps are correct from ACLs point of view and in theory should work. However, I totally believe that it may fail to work. I didn't look into this part of the code for a while and I may be wrong here. Dashboards inherit privacy and ACL concepts from saved searches that were in the system

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Jim Lesinski
I had thought about doing that but it seemed like there would be some way to access the queue from the ARGSRef. It's good to know that is an option. How are you handling custom field layout in your CreateNew.html then? Ideally I would like to modify the layout of some custom fields or maybe put

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Thomas Sibley
On 06/12/2012 11:27 AM, Jim Lesinski wrote: I had thought about doing that but it seemed like there would be some way to access the queue from the ARGSRef. It's good to know that is an option. Of course you can access the queue via the values in $ARGSRef. Look at how the Ticket/Create.html

[rt-users] Articles rights

2012-06-12 Thread Daniel Garcia Mejia
Hi I have one question about Articles that I have not found searching by Google. I want to build a RT system that has different articles (with differents category) but with different visibility permissions according to differents user groups. It is possible? I only see one permission

[rt-users] Can't add more than one attachment

2012-06-12 Thread Hossein Rafighi
Hi, I am not certain if this is mis/configuration on my part, but it seems users can only add one attachment when they are replying to a ticket using the web interface! Although Add More Files button is there, but when you click on it it submits a ticket rather than allowing you to add more

Re: [rt-users] Callbacks not working

2012-06-12 Thread Ruslan Zakirov
Have you cleaned the mason cache? On Tue, Jun 12, 2012 at 6:45 PM, Mark Collins m...@westgateit.com wrote: Ruslan, Thanks for the quick response - the file is in the correct path (that was a cut paste error) with the correct name:

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Ruslan Zakirov
On Tue, Jun 12, 2012 at 6:35 PM, Asif Iqbal vad...@gmail.com wrote: On Tue, Jun 12, 2012 at 5:51 AM, Ruslan Zakirov r...@bestpractical.com wrote: On Tue, Jun 12, 2012 at 5:38 AM, Asif Iqbal vad...@gmail.com wrote: I am using external authentication against our corporate AD server

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Jim Lesinski
I see the line: my $Queue = $ARGS{Queue}; but honestly I can't seem to figure out how to get it to work in the Init file. Could you show a simple example of it's use? On Tue, Jun 12, 2012 at 11:36 AM, Thomas Sibley t...@bestpractical.comwrote: On 06/12/2012 11:27 AM, Jim Lesinski wrote: I

[rt-users] RT 3.8.0 DB migrate to 4.0.5 - Errors Please help!

2012-06-12 Thread FrankOh
OK i've searched all over the Internet and I can't seem to fix the problem. Currently in production we have RHEL (kernel 2.6.18-238.9.1.el5) with RT3.8.0 installed on mySQL 5.0.77. We want to move RT off of this physical box and put it on VM. At the same time upgrade to the latest RT 4.0.5. What

[rt-users] R: Autocomplete feature for unprivileged users (AllowUserAutocompleteForUnprivileged?)

2012-06-12 Thread Scotto Alberto
I DID IT Set($SelfServiceRegex, qr!^(?:/+(SelfService|Helpers/Autocomplete)/)!x ); I'm not a perl regex expert at all, but it works! Or so it seems! I'm afraid it's too easy to be correct, so, please, tell me if it's fine. Thank you so much!!! Da:

[rt-users] Slightly off-topic

2012-06-12 Thread Paul Tomblin
I have a need to access information in another database simultaneously to the , so I cloned RT::Handle.pm into my own RTx::FooBar::Handle that access the other database. Now I'm testing this on my Linux box and everything is running fine, but I copied it over to my MacBook Pro in order to demo it

[rt-users] Extension to allow queue change on creating child ticket

2012-06-12 Thread Mike Johnson
Greetings all, I searched for an answer to this, but couldn't come up with anything relevant. Is there an extension out there, or has someone customized their rt to allow you to pick the queue a child ticket gets created in? So we don't have to do a multi-step process to have children tickets on

[rt-users] R: Extension to allow queue change on creating child ticket

2012-06-12 Thread Scotto Alberto
If I understand well, then you didn't search very well: this extension is listed in bestpractical's website! http://bestpractical.com/rt/extensions.html http://search.cpan.org/dist/RT-Extension-SpawnLinkedTicketInQueue/lib/RT/Extension/SpawnLinkedTicketInQueue.pm BTW, there is something I don't

[rt-users] Search Ticket Transaction History in Query Builder?

2012-06-12 Thread Brian Schrock
All, The issues are: 1) How do I search transaction history using the query builder? 2) How do I convert an SQL statement like the one lower down into something I can use in a custom report? People here in my company have asked me if they can get a report on the number of tickets

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Jim Lesinski
And here is what I ended up figuring out... Maybe that will even help you Paul so you don't have to have a local Create.html %init my $ARGSRef = $ARGS{'ARGSRef'}; my $QueueObj = new RT::Queue($session{'CurrentUser'}); $QueueObj-Load($ARGSRef-{'Queue'}); if($QueueObj-Name eq 'WhateverQueue') {

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Thomas Sibley
On 06/12/2012 05:33 PM, Asif Iqbal wrote: On Tue, Jun 12, 2012 at 1:57 PM, Ruslan Zakirov wrote: On Tue, Jun 12, 2012 at 6:35 PM, Asif Iqbal wrote: There is no way to control the Authorization part locally? Not out of the box. Patch external auth module and add option to

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Asif Iqbal
On Tue, Jun 12, 2012 at 5:51 PM, Thomas Sibley t...@bestpractical.comwrote: On 06/12/2012 05:33 PM, Asif Iqbal wrote: On Tue, Jun 12, 2012 at 1:57 PM, Ruslan Zakirov wrote: On Tue, Jun 12, 2012 at 6:35 PM, Asif Iqbal wrote: There is no way to control the Authorization part

Re: [rt-users] TicketSQL Date parse weird..

2012-06-12 Thread Stuart Browne
-Original Message- From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] Sent: Wednesday, 13 June 2012 12:31 AM Subject: Re: [rt-users] TicketSQL Date parse weird.. Hello Stuart, I've made a typo in the patch. It should be ZONE instead of GMT. You can change code by

Re: [rt-users] Search Ticket Transaction History in Query Builder?

2012-06-12 Thread Joe Harris
This is not available in the query builder. I asked the same question a while back and basically the query builder works on the tickets taw only and cannot do cross queries. I ended up writing a shell script for my needs which basically was any update performed by any member of a particular

Re: [rt-users] Search Ticket Transaction History in Query Builder?

2012-06-12 Thread Thomas Sibley
SELECT Tickets.id, Tickets.Created, Tickets.Subject, Tickets.Status, Queues.Name FROM Transactions, Tickets, Queues WHERE Tickets.Queue=Queues.id AND Queues.Name=Test Queue 1 AND Tickets.Status='open' AND Transactions.ObjectId=Tickets.id AND Transactions.OldValue REGEXP stalled|resolved

Re: [rt-users] Custom template/scrip with conditional responses

2012-06-12 Thread Kevin Falcone
On Tue, Jun 12, 2012 at 10:43:18AM -0400, Joe Harris wrote: Is there a way in templates to build one with a conditional response based on transaction type? (4.0.5) RT's Templates are just Text::Template, you can read more about the syntax at http://search.cpan.org/dist/Text-Template/ You can

Re: [rt-users] Articles rights

2012-06-12 Thread Kevin Falcone
On Tue, Jun 12, 2012 at 05:59:56PM +0200, Daniel Garcia Mejia wrote: I have one question about Articles that I have not found searching by Google. I want to build a RT system that has different articles (with differents category) but with different visibility permissions according to

Re: [rt-users] Can't add more than one attachment

2012-06-12 Thread Kevin Falcone
On Tue, Jun 12, 2012 at 10:29:13AM -0700, Hossein Rafighi wrote: I am not certain if this is mis/configuration on my part, but it seems users can only add one attachment when they are replying to a ticket using the web interface! Although Add More Files button is there, but when you click on