[rt-users] rt with freeside

2010-11-22 Thread Ravi
Hi,

i installed freeside in my system, i accedentally set Ticketing system set
to RT_External
 it should be RT_internal,  after setting RT_External my freeside
webinterface not working

 where can i set back to RT_internal

Ravi


-Original Message-
From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of
rt-users-requ...@lists.bestpractical.com
Sent: Tuesday, November 23, 2010 3:24 AM
To: rt-users@lists.bestpractical.com
Subject: RT-Users Digest, Vol 80, Issue 76

Send RT-Users mailing list submissions to
rt-users@lists.bestpractical.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
or, via email, send a message with subject or body 'help' to
rt-users-requ...@lists.bestpractical.com

You can reach the person managing the list at
rt-users-ow...@lists.bestpractical.com

When replying, please edit your Subject line so it is more specific
than Re: Contents of RT-Users digest...


Today's Topics:

   1. numeric search RTFM (ingo.it...@ages.de)
   2. Re: ProcessCustomfieldUpdates in a perl shell script
  (Emmanuel Lacour)
   3. Re: RTx::BecomeUser vs RT::Authen::ExternalAuth
  (muell...@aschendorff.de)
   4. RT 3.8.4 - adding comments with Google Chrome (Gary Holmes)
   5. scrip to send email suddenly stopped working (John Alberts)
   6. RT 3.9.6 Search Features Missing. (Roman Steven)
   7. Re: RT 3.9.6 Search Features Missing. (Jesse Vincent)


--

Message: 1
Date: Mon, 22 Nov 2010 13:53:17 +0100
From: ingo.it...@ages.de
To: rt-users@lists.bestpractical.com
Subject: [rt-users] numeric search RTFM
Message-ID:
ofd82a1e13.788da9fc-onc12577e3.0046972f-c12577e3.0046c...@ages.de
Content-Type: text/plain; charset=utf-8

Hello,

i try to search an RTFM Articel with the Topic Error Number 8016 by i've 
got no results.
I think, if i query a nummer, the system search only Articel Numbers ? 
Is that true and how can i search numeric Phases ?

Greetings from Germany
Ingo

___
Gesch?ftsf?hrer: Rolf Herzog, Thomas Benk
AGES Maut System GmbH  Co. KG
AG D?sseldorf HRA 14045, USt-IdNr.: DE 202525868
AGES International GmbH  Co. KG
AG D?sseldorf HRA 16636, USt-IdNr.: DE 813749831
AGES ETS GmbH
AG D?sseldorf HRB 55580, USt-IdNr.: DE 814789134
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.bestpractical.com/pipermail/rt-users/attachments/20101122/22c3
e271/attachment-0001.html

--

Message: 2
Date: Mon, 22 Nov 2010 14:19:37 +0100
From: Emmanuel Lacour elac...@easter-eggs.com
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] ProcessCustomfieldUpdates in a perl shell
script
Message-ID: 20101122131937.gd2...@easter-eggs.com
Content-Type: text/plain; charset=us-ascii

On Mon, Nov 22, 2010 at 12:06:35PM +0100, Wolfram Huettermann wrote:
 Hello,
 
 I have got one very short question. Which module should I use and
 which paths should I shift in @INC, so that I can use the function
 ProcessCustomFieldUpdates in a perl shell script, an executable .pl
 from the shell?
 

it lives in RT::Interface::Web (lib/RT/Interface/Web.pm).



--

Message: 3
Date: Mon, 22 Nov 2010 14:30:54 +0100
From: muell...@aschendorff.de
To: Jerrad Pierce jpie...@cambridgeenergyalliance.org,
rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTx::BecomeUser vs RT::Authen::ExternalAuth
Message-ID: 20101122143054.77b3b...@braindead.world.tld
Content-Type: text/plain; charset=US-ASCII

Hello Jerrad,

I installed your BecomeUser version from
http://search.cpan.org/~jpierce/RTx-BecomeUser-1.10_2/
but it does not appear in Configuration - Tools unfortunately.

I am using rt 3.8.8. with RT::Authen::ExternalAuth could this be the the
problem ?

I believe that files are in place and the permissions are fine. 
Or do I have to put something into the Set(@Plugins, qw/../); array ?

# find $PWD | grep -i Become
/data/rt3/local/man/auto/RTx/BecomeUser
/data/rt3/local/man/auto/RTx/BecomeUser/.packlist
/data/rt3/local/man/man3/RTx::BecomeUser.3pm
/data/rt3/local/plugins/RTx-BecomeUser
/data/rt3/local/plugins/RTx-BecomeUser/lib
/data/rt3/local/plugins/RTx-BecomeUser/lib/RTx
/data/rt3/local/plugins/RTx-BecomeUser/lib/RTx/BecomeUser.pm
/data/rt3/local/plugins/RTx-BecomeUser/html
/data/rt3/local/plugins/RTx-BecomeUser/html/Admin
/data/rt3/local/plugins/RTx-BecomeUser/html/Admin/Tools
/data/rt3/local/plugins/RTx-BecomeUser/html/Admin/Tools/BecomeUser.html
/data/rt3/local/plugins/RTx-BecomeUser/html/Callbacks
/data/rt3/local/plugins/RTx-BecomeUser/html/Callbacks/BecomeUserCallbacks
/data/rt3/local/plugins/RTx-BecomeUser/html/Callbacks/BecomeUserCallbacks/Ad
min
/data/rt3/local/plugins/RTx-BecomeUser/html/Callbacks/BecomeUserCallbacks

[rt-users] Shouldn't RT use a Errors-To header in generated email?

2010-03-25 Thread [ ravi ]

Hello all,

from what I can tell, RT does not use the “Errors-To” header for the mail it 
generates. Yesterday, a mail bounce problem for a queue watcher caused 
thousands of tickets to be auto-created in our installation. There is a huge 
dollop of blame for our not filtering out bounce messages or using existing 
bounce processing mechanism(s) in RT. But if RT added an Errors-To header 
(pointing to a non-auto-ticket-creating address), this sort of thing would not 
happen. What am I missing? (I must be, since otherwise the feature would exist 
by now).

—ravi



Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RT installed in a subdirectory (without a RT specific virtual host)

2009-11-23 Thread [ ravi ]
Hello all,

this question appears in the archive but the suggested answer does not  
quite work; I am hoping some of you will be able to suggest solutions.  
My problem is that I am trying to install RT on an existing web server  
(Apache 2.x with mod_perl2 on Ubuntu8), in a sub-directory. I went  
through the configure/install steps, installing RT into /tools/pkgs/ 
rt-3.8.6. Now in trying to configure the web interface I hit various  
snags.

Say my site is http://example.com; and I want RT to be at 
http://example.com/rt 
. I configured RT_SiteConfig and set WebPath to /rt. I changed /etc/ 
apache2/sites-enabled/000-default and added:

Alias /rt /tools/pkg/rt/share/html

Location /rt/
 SetHandler perl-script
 PerlHandler RT::Mason
/Location

(where /tools/pkg/rt is a symlink to /tools/pkg/rt-3.8.6)

The problem now is that I have to add:

PerlRequire /tools/pkg/rt/bin/webmux.pl

and according to some docs, also:

PerlModule Apache::DBI

These directives are permitted only at the global or server context,  
so given my sub-directory based RT setup (rather than a RT dedicated  
virtualhost) I have to add them to the top/global configuration. Or is  
there a way around?

When I do add these to the global config, I still get errors:

Can't locate /tools/pkg/rt/bin/webmux.pl in @INC (@INC contains: / 
tools/pkgs/rt/bin /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/ 
perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/ 
share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2)

Apache/mod_perl config seems to restrict loading of PerlRequires from  
only @INC. I have started reading through the mod_perl docs to find  
out how to relax this, especially for an absolute path as above for  
webmux.pl. But perhaps someone here knows the way to fix this already?

I would greatly appreciate any solutions or pointers to solutions for  
both issues above.

Regards,

--ravi

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Displaying custom fields in default search result columns

2009-10-21 Thread [ ravi ]

Hello all,

using Preferences - Search options, I can add columns to the default  
set that is displayed in RT search results. However, since this  
setting is common to all queues, it seems that custom fields specific  
to a queue are not listed in the Add Columns section. In other words,  
there is no way to always have custom fields display in the search  
results for a particular queue. Is this true? If so, is there a way out?

This page: http://wiki.bestpractical.com/view/ 
DefaultSearchResultFormat seems to suggest there may not be (a way  
out), but I was hoping newer information might be available.

I am using RT 3.8.4. Thank you,

--ravi

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Displaying custom fields in default search result columns

2009-10-21 Thread [ ravi ]

Emmanuel, Ken,

Thank you for your responses. Emmanuel, your idea is great but it  
would unfortunately only work for saved searches, yes? Ken, I am not  
sure what you mean by the Configure file in /home/etc. Do you mean  
the actual autoconf files in the source tree? Can you explain? Thank  
you,

--ravi



On Oct 21, 2009, at 1:29 PM, Ken Crocker wrote:

 You can also change what is shown by altering that search in the  
 Configure file in /home/etc. I have done that and it works well for  
 all.

 Kenn
 LBNL

 On 10/21/2009 8:42 AM, Emmanuel Lacour wrote:

 On Wed, Oct 21, 2009 at 11:08:32AM -0400, [ ravi ] wrote:

 Hello all,

 using Preferences - Search options, I can add columns to the  
 default
 set that is displayed in RT search results. However, since this
 setting is common to all queues, it seems that custom fields  
 specific
 to a queue are not listed in the Add Columns section. In other  
 words,
 there is no way to always have custom fields display in the search
 results for a particular queue. Is this true? If so, is there a  
 way out?



 the only way I now is to edit the savedsearch format itself in
 Advanced and add the CF manually in the format, then saved again  
 this
 search.

 '__CustomField.{cf_name}__/TITLE:cf_name',

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com


 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RT DB, Callback questions

2009-09-23 Thread [ ravi ]
Hello all,

I am running RT 3.8.4 and trying to figure out why the Callback I had  
written for the previous version (3.6.x) does not work. The callback is:

$RT_DIR/local/html/Callbacks/Yangtze/Ticket/Elements/ShowMessageStanza/ 
Default

and it examines the text in a comment and hyperlinks certain strings  
(perhaps it doesn't work because of the new rich-text'ish editor and  
the text it receives not being plain?).

Debugging this is turning out to be difficult because even if I clear  
the mason cache and restart the web server (Apache2), I do not see  
this Callback getting, well, called back!

Also, where (which table) are comments/replies stored in the DB?

Thank you for any comments/help,

--ravi

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Broke RT somehow...Help please

2009-07-27 Thread ravi
On Jul 27, 2009, at 3:31 PM, Greg Evans wrote:

 I updated some things in CentOS and now my RT is broken. I am not  
 sure where to continue looking at this point. I have checked the  
 error logs, access logs, etc. but I see nothing out of the ordinary.  
 I am assuming that it is maybe something with Mason that I broke???

 When I try to access the login page the browser (Safari 4) just  
 downloads a blank file to my computer. I am lost, any help  
 appreciated...


Greg,

I just went through a fairly torturous procedure getting RT running  
after an unintended MySQL upgrade. It would be interesting to know  
what it is you upgraded in CentOS? Was it MySQL 5? Then you may need  
to upgrade RT as well. OTOH, if you upgraded mod_perl or Apache, your  
HTML::Mason might indeed be the issue. It looks from your last part  
above that somehow the config for your Apache is not working to invoke  
the FCGI or mod_perl handler for your RT installation. Are you sure  
this is a blank file? Can you use wget (assuming you are on *nix  
including Mac OS X) and get the full headers?

--ravi

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Styling RT (CSS)

2009-07-22 Thread ravi

Hello all,

I am trying to modify the web2 RT UI/interface (I created a new style  
by copying the relevant files into a new directory). In particular, I  
want to remove the background colour alternation, and instead replace  
it with one colour for all the metadata/metainfo, one colour for  
comments, and one colour for correspondence. The first part is easy  
since there is a .metadata class attached to these elements. However,  
both comments and correspondence have the same identification  
(classes .content  .messagebody). From what I can tell, this makes it  
difficult to style them differently. Am I missing something?

I am running RT 3.8.4.

Thank you,

--ravi


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Arguments to callbacks?

2009-06-16 Thread ravi
On Jun 16, 2009, at 5:33 PM, Kevin Falcone wrote:
 On Jun 16, 2009, at 5:19 PM, ravi wrote:

 any documentation on what is passed into a Callback? I am mostly
 Googling the Callbacks I am interested in to figure out, using
 examples others have provided, what the arguments may be, but that
 only works so far. I also have the RT Essentials book, but that has  
 no
 mention of Callbacks at all!

 Every Callback is different.

 Go find the callback you're using and see what RT passes in.
 $ grep -r callback /opt/rt3/share/html
 Everything but CallbackName will be passed on in %ARGS



Kevin, thank you for the response. I did a grep on the whole tree  
right after I sent that message out and noticed the %ARGS in the  
Ticket/Element and Element/ directories and have been trying to muddle  
my way through them.

In case you are curious: I am trying to modify the display of a custom  
field value. Unfortunately, there seems to be no Callback for each  
specific value in Elements/ShowCustomFields, so I may do a local copy  
of that whole script to make my changes, rather than attempt a  
Callback (using say MassageCustomFields). Or I could add code to  
ShowCustomFields to introduce a new Callback: MassageCustomFieldValue.  
Being an amateur, I am not necessarily sure which direction I should  
take.

--ravi


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Custom fields and Callbacks

2008-10-16 Thread Ravi Narayan Sarma
Hello all,

I have a question that I hope someone will be kind enough to answer: I  
am trying to use Callbacks to modify a CustomField.

The details: I have a custom field called Bugs, in which Bugzilla  
bugs related to an RT ticket can be entered. Using RT's  
straightforward configuration settings, I have set up the custom field  
display to link to the Bugzilla web page for the bug. Now I want to  
try something more ambitious. I want to reflect the status of the bug  
in the displayed custom field text, by striking out the bug number(s)  
if it/they are in Bugzilla state RESOLVED, VERIFIED or CLOSED.

I can do the Perl part to get the status from Bugzilla. What I am  
flummoxed by is how to use Callbacks (or something else, if you so  
suggest) to modify the text displayed.

I peeked into Ticket/Elements/ShowCustomFields and noticed that it  
just seems to load Elements/ShowCustomFields. As far as I can tell,  
that latter file has two Callbacks, neither of which is a default  
callback. The two callbacks are:

ShowComponentName
MassageCustomFields

Somehow, I feel neither of these will do the trick for me, but even  
before I face that, I find that I am unable to even get these  
callbacks to be invoked. I created files at:

RTroot/Callbacks/Yangtze/Ticket/Elements/ShowCustomFields

with the above names, and wrote some simple code to display something  
different. I restarted the web server and reloaded a ticket page  
(shift-reload to defeat browser side cache), but it did not display my  
changes. I am following the same procedure I used to create a callback  
for ShowMessageStanza which link'ifies mentions of other tickets,  
which does work. Creating a Default callback for ShowCustomFields  
doesn't work either. I tried using Data::Dumper to dump the arguments  
to the callback into a temporary file but that didn't work either.

What am I doing wrong? And is using Callbacks even the right approach?

Thank you,

--ravi


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Strange crashing of RT

2008-04-14 Thread Ravi Verma
Dear Friends,

I am observing a strange crashing of RT installations.

1. I have an RT installation of Version 3.6.6 on CentOS Linux scm
2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:36:49 EST 2008 i686 i686 i386
GNU/Linux.

2. I configure RT with the following options.
./configure --with-web-user=apache --with-web-group=apache

3. Following is the apache configuration file.
VirtualHost *
   ServerName xxx..com
   #DocumentRoot /opt/rt3/share/html
   Alias /rt /opt/rt3/share/html
   AddDefaultCharset UTF-8

   # this line applies to Apache2+mod_perl2 only
   # Below line might be incorrect, I had to use:
   # PerlModule Apache2::compat
   # mod_perl 2.0.1 from FC4 Linux
   PerlModule Apache2::compat

   PerlModule Apache::DBI
   PerlRequire /opt/rt3/bin/webmux.pl

   Location /rt
   SetHandler perl-script
   PerlHandler RT::Mason
   /Location
/VirtualHost

4. I restart apache and everything runs normally.

5. After sometime, seems randomly apache crashes with the following error
in the Apache error_log .
[Sun Apr 13 07:02:05 2008] [error] Insecure dependency in chdir while
running with -T switch at /usr/lib/perl5/5.8.8/File/Path.pm line
222.\nCompilation failed in require at (eval 2) line 1.\n
[Sun Apr 13 07:02:05 2008] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server xxx..com:0, exiting...

6. If I try to start Apache, it fails with the same error.

7. At this stage, I delete the RT installation and go back to step 2 and
reinstall RT without any change.

8. Once again, it Apache starts smoothly.

I appreciate your help.

-- 
Kind regards.

Ravi Verma
Chief Executive Officer
Telecommand Software and Services
3175 Sunset Blvd, Suite 104-B
Rocklin, CA 95677
Phone:9167053261
Fax:9169142008
www.telecommand.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com