Re: [rt-users] Monthly Tasks

2009-07-14 Thread Agnislav Onufrijchuk
rmp dmd wrote: I create a new ticket run scan vulnerability on server X. After running, I will close this ticket. On next month, this ticket automatically will be re-opend (or a new one generated). I'm thinking of using RT Reminders. I've checked it but the scrips that I saw, use

Re: [rt-users] Monthly Tasks

2009-07-14 Thread Torsten Brumm
Why so complicated? If you like to use a new ticket every time, why not create directly from cron? mail to the queue with the content and done. If you like to recycle your ticket, just create a ticket, close when done and then use rt-crontool as example to reopen it. Hoep this helps 2009/7/13

Re: [rt-users] (no subject)

2009-07-14 Thread Ruslan Zakirov
You need condition as well. Also adding space as value is not a good option, use DeleteCustomFieldValue method. On Tue, Jul 14, 2009 at 5:59 AM, Carlos A. Alvarezcarlos.alva...@commxinc.com wrote: I will like to create a scrip where the status of a ticket is automatically changed from open to

Re: [rt-users] Merge tickets with the Same Subject

2009-07-14 Thread Ruslan Zakirov
You need simple condition: return 0 unless $self-TransactionObj-Type eq 'Create'; return 0 unless $self-TicketObj-Subject eq 'syslog firewall'; return 1; And action: my ($status, $msg) = $self-TicketObj-MergeInto( 2565 ); $RT::Logger-error(Couldn't merge ticket #. $self-TicketObj-id . into

Re: [rt-users] Pubcookie auth

2009-07-14 Thread Mike Peachey
Mon 13 Jul 2009 21:59:58 GMT Peter Boguszewski wrote: Hello all, I am trying to implement pubcookie authentication with mysql authorization. I could use some help. I am wondering if there is more information out there than the wiki and the example file in

[rt-users] Query Builder is case sensitive when using the content field

2009-07-14 Thread Lamers, Dan
I've noticed that using the query builder with the Content field is case sensitive. I've tried other queries based on fields such as Subject and Requestor etc and they are all case INsensitive. Looking at the mysql upgrade script, I think that Content has been changed to longblob in RT 3.8.3 and

Re: [rt-users] Query Builder is case sensitive when using the content field

2009-07-14 Thread Ruslan Zakirov
Hello, It's side effect of conversion to blob instead of text. Content can not be of text type cuz it can contain binary data. May be we can come up with some patch that workaround this for full text searches, but I'm afraid that will make searches even slower. On Tue, Jul 14, 2009 at 4:02 PM,

Re: [rt-users] Custom Field ordering problem

2009-07-14 Thread Kevin Falcone
On Fri, Jul 10, 2009 at 12:37:03PM -0700, Jennifer Scales wrote: Hey all, I'm having a problem with the ordering of custom fields on the Create a new ticket page, and I'm hoping someone can point me in the right direction. The order in which the custom fields display

Re: [rt-users] Undefined subroutine RT::EmailParser::ParseAddressFromHeader...

2009-07-14 Thread Kevin Falcone
On Fri, Jul 10, 2009 at 02:46:15PM -0700, Kevin Gagel wrote: I am using LDAPSMB1.2_RT3. When I add email address for the AdminCC of someone that has not logged into RT yet I get the following error: Undefined subroutine RT::EmailParser::ParseAddressFromHeader called at

Re: [rt-users] RT3 new install and customisations.

2009-07-14 Thread Kevin Falcone
On Mon, Jul 13, 2009 at 08:28:24AM +0200, Erwan HAMON wrote: I guess I will publish the scrip on best-practical's wiki, but how should I proceed to have patches and rewrite published or merged with existing extensions? If you have patches to published extensions, the right thing to do is to

Re: [rt-users] Duplicate messages from RT-Users@lists.bestpractical.com

2009-07-14 Thread Kevin Falcone
On Mon, Jul 13, 2009 at 03:31:33PM -0700, Kevin Gagel wrote: Thanks Paul. For the list owner... Here are the headers from a single message I sent. From the headers it is clear that your MTA had submitted this message twice to your mailman installation. You may need to check

Re: [rt-users] Custom Scrip Help

2009-07-14 Thread Carlos A. Alvarez
Thanks Ruslan, You mean instead of using the default condition On Correspond? Can you point me to a source for TicketObj options and TransactionObj options, so I can create a custom condition. I look everywhere I even bought the RT Essentials book and tried perdocs, and I cant find a list of

Re: [rt-users] Custom Scrip Help

2009-07-14 Thread Ruslan Zakirov
Tried the following? http://wiki.bestpractical.com/view/CustomConditionSnippets On Tue, Jul 14, 2009 at 6:18 PM, Carlos A. Alvarezcarlos.alva...@commxinc.com wrote: Thanks Ruslan, You mean instead of using the default condition On Correspond?  Can you point me to a source for TicketObj

Re: [rt-users] Undefined subroutineRT::EmailParser::ParseAddressFromHeader...

2009-07-14 Thread Kevin Gagel
Thanks, that is what I ended up doing anyway. Kevin W. Gagel Network Administrator Local 5448 My blog: http://mail.cnc.bc.ca/blogs/gagel My shared files: http://mail.cnc.bc.ca/users/gagel --- Original message --- Subject: Re: [rt-users] Undefined

[rt-users] rt does not render properly in firefox

2009-07-14 Thread Nimbius
i cant seem to get RT using mod_perl to render properly in firefox. the search button is missing and the asset tracker create new asset of type button is truncated. using centos 5.3 and apache 2.x nimb...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org

[rt-users] Disable default notifications to Adminccs before create

2009-07-14 Thread Cristian Cueva
Using RT v3.6.5 When I update/reply/comment a ticket via Update.html, I am able to check/uncheck default Adminccs (assuming the user has the right). I want to be able to do the same for Create.html. Any help will be appreciated. Cristian. ___

[rt-users] Custom Field check on ticket creation error in custom condition - help please

2009-07-14 Thread Kevin Gagel
I'm trying to run the following code in my custom condition #Don't bother running unless the transaction is a create. return 0 unless $self-TransactionObj-Type eq Create; #Don't bother running unless the custom field Urgency is URGENT. my $CustomFields = $ticket-QueueObj-TicketCustomFields();

[rt-users] FW: Custom Scrip Help

2009-07-14 Thread Carlos A. Alvarez
-Original Message- From: Carlos A. Alvarez Sent: Tuesday, July 14, 2009 12:02 PM To: 'Ruslan Zakirov' Subject: RE: Custom Scrip Help I see that thanks!... But I still can't find a place where a list of Obj are located. For example: TicketObj Owner Status

Re: [rt-users] (no subject)

2009-07-14 Thread Ken Crocker
Carlos, Sounds like you are creating a situation where the ticket status is constantly switched between open and stalled every time the Requestor and ticket owner communicate to each other. Seems a bit busy but hey, if that's what you want. Try something like this: *Scrip 1 - Owner reply:*

[rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Tim Gustafson
Hi, I just did a fresh install of RT 3.8.4 on a clean FreeBSD 7.2 box with Apache 2.0.63 and mod_perl2-2.0.4_2,3. I imported the database from an older installation, and then did the database migration scripts, which all completed without a problem. I had to convert the tables to InnoDB

[rt-users] More Owner options for Quick Ticket creation?

2009-07-14 Thread Roderick A. Anderson
Several of my users really like the quick ticket creation but need to assign it to someone besides themselves or Nobody. A search using Google (4 pages deep) didn't turn anything useful up. Is there a relatively easy way to make that drop-down show more/all users? Everything I found, that

Re: [rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Ruslan Zakirov
broken attributes table? On Tue, Jul 14, 2009 at 8:37 PM, Tim Gustafsont...@soe.ucsc.edu wrote: Hi, I just did a fresh install of RT 3.8.4 on a clean FreeBSD 7.2 box with Apache 2.0.63 and mod_perl2-2.0.4_2,3.  I imported the database from an older installation, and then did the database

Re: [rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Tim Gustafson
broken attributes table? The table itself is fine, and it has lots of data in it - 363 rows in all. How can I tell if there's something wrong with the table data? Tim Gustafson Baskin School of Engineering UC Santa Cruz t...@soe.ucsc.edu 831-459-5354

Re: [rt-users] More Owner options for Quick Ticket creation?

2009-07-14 Thread Jerrad Pierce
Yes, either edit Elements/QuickCreate, or make a customized version in local to override. Optionally, give your variant another name to give users the option of which to use. -- Cambridge Energy Alliance: Save money. Save the planet. ___

[rt-users] MakeClicky call back example doesn't seem to work (RT3.8.4)

2009-07-14 Thread Justin Hayes
Hi, Has anyone tried the example MakeClicky Callback in the docs (extending_clickable_links.pod)? I've added the following as a callback as it says : %ARGS $types = [] $actions = {} /%ARGS %INIT my $web_path = RT-Config-Get('WebPath'); # action that takes ticket ID as

Re: [rt-users] MakeClicky call back example doesn't seem to work(RT3.8.4)

2009-07-14 Thread Justin Hayes
Also tried the following: $actions-{'bold_text'} = sub { my %args = @_; my $id = $args{'all_matches'}[1]; return qq{b$idb}; }; push @$types, { # name, that should be used in config to activate action name = 'bold_text', # regular expression that

Re: [rt-users] (no subject)

2009-07-14 Thread Carlos A. Alvarez
Yes that is correct. The reason is that we monitor the status of the ticket for responses. Some of the tickets that we take are time based, ie LNP orders, so if the requestor doesn't meet the required time to response we auto resolve the ticket. The problem is leaving the status change to the

Re: [rt-users] More Owner options for Quick Ticket creation?

2009-07-14 Thread Roderick A. Anderson
Jerrad Pierce wrote: Yes, either edit Elements/QuickCreate, or make a customized version in local to override. Optionally, give your variant another name to give users the option of which to use. Thanks. I'll have to do some more research since it looks like two different markup/Mason

Re: [rt-users] More Owner options for Quick Ticket creation?

2009-07-14 Thread Kevin Falcone
On Tue, Jul 14, 2009 at 11:49:10AM -0700, Roderick A. Anderson wrote: Jerrad Pierce wrote: Yes, either edit Elements/QuickCreate, or make a customized version in local to override. Optionally, give your variant another name to give users the option of which to use. I'll have to do some

Re: [rt-users] Pubcookie auth

2009-07-14 Thread Peter Boguszewski
Sorry about the lack of information. Here is the story. I have pubcookie installed and working with apache. I have Ubuntu 8.10.3 installed and RT 3.8.4 installed - both work. I installed RT::Authen::ExternalAuth via cpan successfully (shows up under the plugins dir). I then add

Re: [rt-users] MakeClicky call back example doesn't seem to work (RT3.8.4)

2009-07-14 Thread Kevin Falcone
On Tue, Jul 14, 2009 at 06:12:16PM +0100, Justin Hayes wrote: Hi, Has anyone tried the example MakeClicky Callback in the docs (extending_clickable_links.pod)? I've added the following as a callback as it says : I just tried with your code and with the code copied from pod and it

Re: [rt-users] MakeClicky call back example doesn't seem to work (RT3.8.4)

2009-07-14 Thread Justin Hayes
Thanks Kevin. RT version is 3.8.4 as given in the subject of my mail. Perl is 5.10.0 I believe. I'll try adding that debug and see what I get. Justin - Justin Hayes Orbis Support Manager justin.ha...@orbisuk.com On 14 Jul 2009, at 21:14,

[rt-users] highlight reminders?

2009-07-14 Thread Christopher M. Hobbs
Is it possible to change the color of the reminders section or highlight it in the 'RT at a glance' screen? I'm afraid this might fall under a stylesheet/template category, but I thought I'd ask anyway. Thanks a ton! -- Christopher M. Hobbs [cho...@siloamsprings.com] Network Administrator, City

Re: [rt-users] MakeClicky call back example doesn't seem to work (RT3.8.4)

2009-07-14 Thread Justin Hayes
Here's the output from that debug you suggested adding: Jul 14 21:50:42 cetus RT: $VAR1 = { 'all_matches' = [ 'Ticket #1', undef, undef, undef,

Re: [rt-users] MakeClicky call back example doesn't seem to work (RT3.8.4)

2009-07-14 Thread Ruslan Zakirov
Try attached patch. Don't forget to flush mason cache and send us feedback. On Wed, Jul 15, 2009 at 12:53 AM, Justin Hayesjustin.ha...@orbisuk.com wrote: Here's the output from that debug you suggested adding: Jul 14 21:50:42 cetus RT: $VAR1 = {            'all_matches' = [                  

Re: [rt-users] MakeClicky call back example doesn't seem to work (RT3.8.4)

2009-07-14 Thread Kevin Falcone
On Tue, Jul 14, 2009 at 09:53:30PM +0100, Justin Hayes wrote: Here's the output from that debug you suggested adding: My colleage suspects you're running into a bug where the other two MakeClicky extensions are clobbering captures. You didn't mention having them enabled, so I was testing without

[rt-users] I am unable to use LDAP

2009-07-14 Thread Eric Chatham
Hello, I have had some problem getting LDAP to work on my version of RT. I am running RT version 3.8.2 and the version of RT::Authen::ExternalAuth I installed via CPAN is 0.08. RT is installed on a CentOS 5.1 OS. I tried using some examples from a Google search to try and modify

Re: [rt-users] I am unable to use LDAP

2009-07-14 Thread Kevin Gagel
Eric, I'll work off line with you. I have just finished setting mine up and we are using the same version of RT (3.8.2). Kevin W. Gagel Network Administrator Local 5448 My blog: http://mail.cnc.bc.ca/blogs/gagel My shared files: http://mail.cnc.bc.ca/users/gagel --- Original message ---

Re: [rt-users] I am unable to use LDAP

2009-07-14 Thread Gary Greene
On 7/14/09 2:41 PM, Eric Chatham echat...@broadvox.com wrote: Hello, I have had some problem getting LDAP to work on my version of RT. I am running RT version 3.8.2 and the version of RT::Authen::ExternalAuth I installed via CPAN is 0.08. RT is installed on a CentOS 5.1 OS. I tried

[rt-users] RT slow first thing in the morning

2009-07-14 Thread Nick Kartsioukas
I've had complaints that RT is slow first thing in the morning. What appears to be happening is that logrotate reloads apache early in the morning, and this also causes our RT FastCGI instances to reload. For some reason, the first request each FastCGI process serves takes a long time (loading

Re: [rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Tim Gustafson
Has anyone got any other suggestions or clues about my broken RT at a Glance page? Tim Gustafson Baskin School of Engineering UC Santa Cruz t...@soe.ucsc.edu 831-459-5354 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community

Re: [rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Kevin Falcone
On Tue, Jul 14, 2009 at 09:46:53AM -0700, Tim Gustafson wrote: broken attributes table? The table itself is fine, and it has lots of data in it - 363 rows in all. How can I tell if there's something wrong with the table data? Look for an Attribute named HomepageSettings and find out why

Re: [rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Tim Gustafson
Look for an Attribute named HomepageSettings and find out why it isn't loading Thanks, I think that's what I'm missing. I don't have that row in my attributes table. I looked in the initial load script and it seems that the data gets somehow bae64-encoded in that database. Can anyone

Re: [rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Kevin Falcone
On Tue, Jul 14, 2009 at 05:09:11PM -0700, Tim Gustafson wrote: Look for an Attribute named HomepageSettings and find out why it isn't loading Thanks, I think that's what I'm missing. I don't have that row in my attributes table. I looked in the initial load script and it seems that the

Re: [rt-users] Can't call method Content on an undefined value at rt38/html/Admin/Global/MyRT.html line 105

2009-07-14 Thread Tim Gustafson
It sounds like you didn't run all the database upgrade scripts, so I'd start there and figure out what else was missed. You know... When I did the test upgrade from my production box to a dev box, I did all the schema upgrades, and I even included them in my upgrade notes file. And I