Re: [rt-users] cannot get result of search Chinese character - centos 5.4

2012-01-23 Thread sunnavy
Hi Ryo

I think you misunderstood, I don't have the problem but was trying
to reproduce it.

anyway, downgrading SB to 1.5* doesn't help reproducing this problem.

sunnavy

On 12-01-24 09:12, Ryo O wrote:
> Why don't you trying downgrade DBIx::SearchBuilder from 1.61 to 1.5.x
> 
> i did it like below
> 
>   -bash-3.2# cpan
>   cpan[1]> install RUZ/DBIx-SearchBuilder-1.56.tar.gz
> 
> And Restart RT.
> 
> i hope it can help you ...
> 
> 2012/1/24 sunnavy :
> > I tested RT 4.0.4 with DBIx::SearchBuilder 1.61.
> > all modules are up-to-date from CPAN.
> >
> > sunnavy
> >
> > On 12-01-23 10:29, Ryo O wrote:
> >> I had same problem Japanese Character ( RT3.8.11 )
> >>
> >> Please check DBIx::SearchBuilder version.
> >>
> >> DBIx::SearchBuilder version 1.56 or 1.59, i can get result of search
> >> Japanese character.
> >> Howerver, DBIx::SearchBuilder version over 1.6.0, i can not ger result
> >> of search Japanese character.
> >>
> >> 2012/1/21 sunnavy :
> >> > I failed to reproduce this on centos 5.7 with shipped perl5.8.8, and I 
> >> > tried
> >> > both stardalone server and apache+mod_fastcgi.
> >> >
> >> > It would be great if there are more details of the configuration.
> >> >
> >> > sunnavy
> >> >
> >> > On 12-01-20 22:11, sunnavy wrote:
> >> >> If you run RT with standalone server, is the problem still there?
> >> >>
> >> >> standalone server, I mean you start RT with something like
> >> >> `/path/to/rt/sbin/rt-server --port 8080`
> >> >>
> >> >> sunnavy
> >> >>
> >> >> On 11-12-29 08:53, nectar wrote:
> >> >> > Sir,
> >> >> >
> >> >> > Looks like can search Chinese character when use Perl 5.10 instead of
> >> >> > Perl 5.8.8 on CentOS 5.
> >> >> >
> >> >> > --
> >> >> > Jia
> >> >> > 
> >> >> > RT Training Sessions (http://bestpractical.com/services/training.html)
> >> >> > * Boston  March 5 & 6, 2012
> >> >> 
> >> >> RT Training Sessions (http://bestpractical.com/services/training.html)
> >> >> * Boston  March 5 & 6, 2012
> >> > 
> >> > RT Training Sessions (http://bestpractical.com/services/training.html)
> >> > * Boston  March 5 & 6, 2012
> >>
> >>
> >>
> >> --
> >> ---
> >> ryo.og...@gmail.com
> >> 
> >> RT Training Sessions (http://bestpractical.com/services/training.html)
> >> * Boston  March 5 & 6, 2012
> > 
> > RT Training Sessions (http://bestpractical.com/services/training.html)
> > * Boston  March 5 & 6, 2012
> 
> 
> 
> -- 
> ---
> おがた りょう ( ryo.og...@gmail.com )
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

[rt-users] ExternalAuth logging

2012-01-23 Thread Ryan Backman
I can't seem to get any response at login from ExternalAuth 0.09 using RT
3.8.7 .

I have the following logging setup, which will only show me Login Success
or Failure with Web.pm.

Set($LogToSyslog,'warning');
Set($LogToFile,'debug');
Set($LogToFileNamed,'rt.log');
Set($LogDir,'/var/log/request-tracker3.8');

Below is my ExternalAuth Config:

### LDAP Configuration ###
Set ( $ExternalAuthPriority,  [ 'GFU_LDAP' ] );
Set ( $ExternalInfoPriority,  [ 'GFU_LDAP' ] );

Set($ExternalServiceUsesSSLorTLS,0);

Set($AutoCreateNonExternalUsers, 0);

Set($ExternalSettings, {
'GFU_LDAP' => {
'type'  =>  'ldap',
'server'=>  '
ads-nbg.campus.georgefox.edu',
'user'  =>
 'CN=user,OU=group,DC=base,DC=base,DC=edu',
'pass'  =>  'pass',
'base'  =>  'DC=base,DC=base,DC=edu',
'filter'=>  '(objectClass=user)',
'd_filter'  =>  '(objectClass=Doesntexist)',
'tls'   =>  0,
'ssl_version'   =>  3,
'net_ldap_args' => [version =>  3   ],
'group' =>  'CN=All
Users,OU=group,DC=base,DC=base,DC=edu',
'group_attr'=>  'member',
'attr_match_list'   => ['Name',
'EmailAddress',
],
'attr_map'  =>  {   'Name' =>
'sAMAccountName',
'EmailAddress' =>
'mail',
'ExternalAuthId' =>
'sAMAccountName',
'Gecos' =>
'sAMAccountName',
}
}
}
);

The only logging I see is when I create a ticket, then I get the following:

[Mon Jan 23 22:02:06 2012] [debug]:
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by
RT::Authen::ExternalAuth
/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
553 with: Disabled: 0, EmailAddress: , Name: jdoe, Privileged: 0
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:450)
[Mon Jan 23 22:02:06 2012] [debug]: Attempting to get user info using this
external service: GFU_LDAP
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:458)
[Mon Jan 23 22:02:06 2012] [debug]: Attempting to use this canonicalization
key: Name
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:472)
[Mon Jan 23 22:02:06 2012] [debug]: LDAP Search ===  Base:
DC=base,DC=base,DC=edu == Filter:
(&(objectClass=user)(sAMAccountName=jdoe)) == Attrs:
mail,sAMAccountName,sAMAccountName,sAMAccountName
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:195)
[Mon Jan 23 22:02:06 2012] [info]:
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: 0,
EmailAddress: j...@georgefox.edu, ExternalAuthId: jdoe, Gecos: jdoe, Name:
jdoe, Privileged: 0, RealName:
 
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536

It seems ExternalAuth isn't even being polled at login.  Any ideas?

=+=+=+=+=+=+=+=+=+
Ryan Backman
Programmer / Analyst
George Fox University
503.554.2576
=+=+=+=+=+=+=+=+=+

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] cannot get result of search Chinese character - centos 5.4

2012-01-23 Thread Ryo O
Why don't you trying downgrade DBIx::SearchBuilder from 1.61 to 1.5.x

i did it like below

  -bash-3.2# cpan
  cpan[1]> install RUZ/DBIx-SearchBuilder-1.56.tar.gz

And Restart RT.

i hope it can help you ...

2012/1/24 sunnavy :
> I tested RT 4.0.4 with DBIx::SearchBuilder 1.61.
> all modules are up-to-date from CPAN.
>
> sunnavy
>
> On 12-01-23 10:29, Ryo O wrote:
>> I had same problem Japanese Character ( RT3.8.11 )
>>
>> Please check DBIx::SearchBuilder version.
>>
>> DBIx::SearchBuilder version 1.56 or 1.59, i can get result of search
>> Japanese character.
>> Howerver, DBIx::SearchBuilder version over 1.6.0, i can not ger result
>> of search Japanese character.
>>
>> 2012/1/21 sunnavy :
>> > I failed to reproduce this on centos 5.7 with shipped perl5.8.8, and I 
>> > tried
>> > both stardalone server and apache+mod_fastcgi.
>> >
>> > It would be great if there are more details of the configuration.
>> >
>> > sunnavy
>> >
>> > On 12-01-20 22:11, sunnavy wrote:
>> >> If you run RT with standalone server, is the problem still there?
>> >>
>> >> standalone server, I mean you start RT with something like
>> >> `/path/to/rt/sbin/rt-server --port 8080`
>> >>
>> >> sunnavy
>> >>
>> >> On 11-12-29 08:53, nectar wrote:
>> >> > Sir,
>> >> >
>> >> > Looks like can search Chinese character when use Perl 5.10 instead of
>> >> > Perl 5.8.8 on CentOS 5.
>> >> >
>> >> > --
>> >> > Jia
>> >> > 
>> >> > RT Training Sessions (http://bestpractical.com/services/training.html)
>> >> > * Boston  March 5 & 6, 2012
>> >> 
>> >> RT Training Sessions (http://bestpractical.com/services/training.html)
>> >> * Boston  March 5 & 6, 2012
>> > 
>> > RT Training Sessions (http://bestpractical.com/services/training.html)
>> > * Boston  March 5 & 6, 2012
>>
>>
>>
>> --
>> ---
>> ryo.og...@gmail.com
>> 
>> RT Training Sessions (http://bestpractical.com/services/training.html)
>> * Boston  March 5 & 6, 2012
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012



-- 
---
おがた りょう ( ryo.og...@gmail.com )

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] attachment improvements

2012-01-23 Thread BÁLINT Bekény
Hi Chris,

I attached the two Callback files for attachment forward.
I hope it will help you.

--
Bekeny
Docca OutSource IT Ltd.


On Sun, Jan 22, 2012 at 3:57 PM, Christian Loos  wrote:

> Hi,
>
> can you please send your changes for 1. Attachment forward.
> I also have to implement this for your company RT (3.8.6) within the
> next weeks and would implement this in our internal RT plugin or would
> release a separate plugin on github.com for this change if it would be
> ok for you.
>
> Thanks!
>
> -Chris
>
> Am 21.01.2012 15:52, schrieb BÁLINT Bekény:
> > 1. Attachment forward: previously attached files are listed on
> > Update.html and you can check them to attach to the outgoing mail. (I
> > don't understand why this kind of feature isn't in vanilla RT. Everybody
> > downloads and then reuploads attachments if he or she wants to send it
> > to an email address?).
>
>


AttachmentForward.tar.bz2
Description: BZip2 compressed data

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] rt-mailgate

2012-01-23 Thread Allen
> We simply use mod_rewrite to redirect everyone *except* the server itself
> to https.  This way when rt-mailgate calls http://rt.ourdomain/com it is
> not forced to use https while everyone else is.
>
>
Thanks. That is an easy, maintainable solution until the next version of
rt-mailgate that will let us specify the cert path, or until OpenSSL 1.x
gets it's act together with LWP.

But doesn't work for me. I solved some kind of mod-perl/apache
redeclaration or some such problem (either spamming the logs or making
apache not start -- cant remember which) that I solved by removing all RT
apache configuration under regular http and just having the redirect to
SSL. The SSL virtualhost container has the RT configs in it.

A

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] rt-mailgate

2012-01-23 Thread Landon Stewart
On 9 January 2012 10:34, Robert Nesius  wrote:

> I made a recently change to how my apache2 server was configured to
> redirect all requests through https.  Now emails are not flowing through to
> RT - I tracked the issue down to rt-mailgate complaining about not being
> able to verify the certificate.  I'm a little perplexed on how to proceed
> or how to verify what certs/CAs rt-mailgate is using, or if there is an
> issue with the Crypt::SSLeay module (which I had to force install due to a
> failing test).   I only have one openssl install on the system, and I
> thought Crypt::SSLeay would reach through to those configs for things like
> CA certs, etc...
>
> Perhaps an easy workaround, since the mail server and apache2 server are
> on the same machine, would be to configure a "localhost:80" virtual host
> within apache2 and bypass SSL when accessing RT via that url.
>
> Any helpful hints/suggestions would be greatly appreciated.   I've been
> google-ing away but haven't had any luck yet.
>
>
We simply use mod_rewrite to redirect everyone *except* the server itself
to https.  This way when rt-mailgate calls http://rt.ourdomain/com it is
not forced to use https while everyone else is.

# Redirect everyone except the rt-mailgate and RT utilities to https
   RewriteEngine On
   RewriteCond %{REMOTE_ADDR} !^10\.10\.227\.209$
   RewriteRule ^/(.*)$ https://rt.ourdomain.com/$1 [R=301,L]

The 10.10.227.209 is the IP address of the server according to ifconfig
eth0 in this case.

-- 
Landon Stewart 
Manager of Systems and Engineering
Superb Internet Corp - 888-354-6128 x 4199
Web hosting and more "Ahead of the Rest": http://www.superbhosting.net

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] rt-mailgate

2012-01-23 Thread Allen
I tried several things to get the cert path into the environment for LWP,
none worked:

1. Adding this to /etc/fetchmailrc

   mda "env PERL_LWP_SSL_CA_PATH=/etc/ssl/certs /usr/bin/rt-mailgate-4 ...

does NOT work to get the right cert to LWP through the environment:

root@web0:/etc# service fetchmail start
* Starting mail retriever agent:
  fetchmail:
starting fetchmail 6.3.19 daemon

  [ OK ]
root@web0:/etc# fetchmail: 1 message for [email address] at
[imapmailserver] (folder Support).
An Error Occurred
=

500 Can't connect to [RT webserver]:443
(certificate verify failed)


2. Adding this to fetchmailrc does not work either:

mda "export PERL_LWP_SSL_CA_PATH=/etc/ssl/certs; /usr/bin/rt-mailgate-4
...


3. Adding this to /etc/default/fetchmail on Ubuntu where fetchmail runs
from an init script as a daemin does not work either:

export PERL_LWP_SSL_CA_PATH=/etc/ssl/certs


I am stuck with having to edit the rt-mailgate-4 on line 151 file like this:

#my $ua   = LWP::UserAgent->new();
my $ua   = LWP::UserAgent->new(ssl_opts => {SSL_ca_file =>
'/etc/ssl/certs/7d3cd826.0'});

which I dont like because I will forget about it during upgrade.

A



On Mon, Jan 23, 2012 at 11:06 AM, Thomas Sibley 
wrote:
> On 01/20/2012 02:38 PM, Robert Nesius wrote:
>> I figured out a work around for this issue.  I was suspicious that
>> LWP::UserAgent could not reach the cert for the CA that signed the cert
>> being presented by the web server.  I learned there are some environment
>> variables that I can leverage to influence where LWP::UserAgent looks
>> even though it's being invoked down inside a program I don't want to
>> touch.   Adding my /etc/ssl/certs directory to the list of directories
>> examined for certs solved the problem.
>
> For what it's worth, the next release of RT will include a --ca-file
> option you can use to specify the specific cert.  It's equivalent to
> setting PERL_LWP_SSL_CA_FILE.
>
>> *root@linux:/opt/rt4/bin# *export PERL_LWP_SSL_CA_PATH=/etc/ssl/certs
>
> If you'd like to submit a simple patch to rt-mailgate that also adds
> support for --ca-path, I'm sure we'd apply it.
>
> I do wonder why the OpenSSL library underlying the Perl library isn't
> finding your cert in /etc/ssl/certs like I'd expect it to.
>
> Thomas
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] rt-mailgate

2012-01-23 Thread Thomas Sibley
On 01/20/2012 02:38 PM, Robert Nesius wrote:
> I figured out a work around for this issue.  I was suspicious that
> LWP::UserAgent could not reach the cert for the CA that signed the cert
> being presented by the web server.  I learned there are some environment
> variables that I can leverage to influence where LWP::UserAgent looks
> even though it's being invoked down inside a program I don't want to
> touch.   Adding my /etc/ssl/certs directory to the list of directories
> examined for certs solved the problem.  

For what it's worth, the next release of RT will include a --ca-file
option you can use to specify the specific cert.  It's equivalent to
setting PERL_LWP_SSL_CA_FILE.

> *root@linux:/opt/rt4/bin# *export PERL_LWP_SSL_CA_PATH=/etc/ssl/certs

If you'd like to submit a simple patch to rt-mailgate that also adds
support for --ca-path, I'm sure we'd apply it.

I do wonder why the OpenSSL library underlying the Perl library isn't
finding your cert in /etc/ssl/certs like I'd expect it to.

Thomas

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] FW: scrip and template to email calendar invite

2012-01-23 Thread Thomas Sibley
On 01/19/2012 05:23 PM, Brent Wiese wrote:
> It looks like the only custom Content-Type is text/html. I can see
> where it looks for that in Template.pm.
> 
> What I need to do is set the Content-Type as: text/calendar;
> charset="utf-8"; method=REQUEST
> 
> I put an elsif in Template.pm to see if I could get it to pass that
> header on like text/html but it's not working.

Yep, that's the wrong place.  The code block you're looking at in
RT::Template is not forcing a content-type, just defaulting differently
based on what's in your template.

> Anyone more entrenched in the code able to point me in the right
> direction? It'd be great if there was some way to just pass the value
> after Content-Type: in the template to the email...

The part that forces text/plain is line 205 in RT::Action::SendEmail
(and calls into RT::I18N::IsTextualContentType).  The restriction to
m{^(?:text/(?:plain|html)|message/rfc822)\b}i dates from 2007, and I
suspect it should be rewritten to allow arbitrary content-types.

Arbitrary content-types can be a problem if you're letting lots of
admins edit templates, but presumably if you're letting them modify
templates, you already have some degree of trust in them.

Thomas

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


Re: [rt-users] cannot get result of search Chinese character - centos 5.4

2012-01-23 Thread sunnavy
I tested RT 4.0.4 with DBIx::SearchBuilder 1.61.
all modules are up-to-date from CPAN.

sunnavy

On 12-01-23 10:29, Ryo O wrote:
> I had same problem Japanese Character ( RT3.8.11 )
> 
> Please check DBIx::SearchBuilder version.
> 
> DBIx::SearchBuilder version 1.56 or 1.59, i can get result of search
> Japanese character.
> Howerver, DBIx::SearchBuilder version over 1.6.0, i can not ger result
> of search Japanese character.
> 
> 2012/1/21 sunnavy :
> > I failed to reproduce this on centos 5.7 with shipped perl5.8.8, and I tried
> > both stardalone server and apache+mod_fastcgi.
> >
> > It would be great if there are more details of the configuration.
> >
> > sunnavy
> >
> > On 12-01-20 22:11, sunnavy wrote:
> >> If you run RT with standalone server, is the problem still there?
> >>
> >> standalone server, I mean you start RT with something like
> >> `/path/to/rt/sbin/rt-server --port 8080`
> >>
> >> sunnavy
> >>
> >> On 11-12-29 08:53, nectar wrote:
> >> > Sir,
> >> >
> >> > Looks like can search Chinese character when use Perl 5.10 instead of
> >> > Perl 5.8.8 on CentOS 5.
> >> >
> >> > --
> >> > Jia
> >> > 
> >> > RT Training Sessions (http://bestpractical.com/services/training.html)
> >> > * Boston  March 5 & 6, 2012
> >> 
> >> RT Training Sessions (http://bestpractical.com/services/training.html)
> >> * Boston  March 5 & 6, 2012
> > 
> > RT Training Sessions (http://bestpractical.com/services/training.html)
> > * Boston  March 5 & 6, 2012
> 
> 
> 
> -- 
> ---
> ryo.og...@gmail.com
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Re: [rt-users] queue query string and statistics

2012-01-23 Thread Kevin Falcone
On Mon, Jan 23, 2012 at 05:16:25PM +0400, Alexander Sagratyan wrote:
> 
>1)  I am not able to change a query string of the General queue. Whenever 
> I am adding a new
>search criteria such as resolved and deleted ticket status, after updating 
> everything works,
>resolved and deleted tickets are displayed, but the problem begins when I 
> am returning to the
>home page of RT - query string is not saved. What can be the solution to 
> this problem?

You need to save the search that you have modified and then add it to
your homepage.  If the search is already on your homepage, then you
need to save it so that your homepage updates.  You can build one-off
searches in RT that aren't stored anywhere except in your current
session, and it sounds like that's what you're doing.

It may help to send a better list of the steps you took, such as the
URL you clicked on to start this and URLs along the way, otherwise it
isn't clear what part of the UI you're trying to use.

-kevin


pgpQT247kWxs2.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] Required fields

2012-01-23 Thread Ruslan Zakirov
On Mon, Jan 23, 2012 at 18:28, Daniel Garcia Mejia  wrote:
> On 23/01/12 15:16, Daniel Garcia Mejia wrote:
>
> Hi,
>
> One question:
> Is there a way to require certain fields when a user creates a new ticket?

In addition to built in mandatory custom fields you can use the following:

http://search.cpan.org/~bheisig/RT-Extension-MandatoryFields-0.5/lib/RT/Extension/MandatoryFields.pm

MandatorySubject and MandatoryRequestor are also available on the CPAN.

>
> --
> ...
> __
>/ /   Daniel García Mejía
>  C E / S / C A   Portals i Repositoris
>  /_/ Centre de Serveis Científics i Acadèmics de Catalunya
>
>  Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
>  T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
> ...
>
>
> Sorry for the question, I just see the solution:
>
> When create a Custom Fields it's possible to put a 'Validation'. I don't see
> this, sorry
>
>
> --
> ...
> __
>/ /   Daniel García Mejía
>  C E / S / C A   Portals i Repositoris
>  /_/ Centre de Serveis Científics i Acadèmics de Catalunya
>
>  Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
>  T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
> ...
>
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston — March 5 & 6, 2012



-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Re: [rt-users] queue query string and statistics

2012-01-23 Thread Alexander Sagratyan
Ruslan thanks for a quick reply.
Can you list those extensions? I would like to experiment with them.
The primary requirement is to get full ticket statistics: how many were 
created, resolved, filtering by requestors and so on...generally as I've seen a 
built-in statistics feature of RT is doing its job, but I have a problem with 
query string (see first question). Cannot make it work


23 января 2012, 18:06 от Ruslan Zakirov :
> On Mon, Jan 23, 2012 at 17:16, Alexander Sagratyan  wrote:
> > 2) Is there  some perl module which collects and displays the ticket
> > statistics in addition to the built-in feature of RT (queue search,
> > charts)?
> 
> Statistics is not trivial and very unique for installations. There are
> a few extensions out there, but they may not meet your needs.
> 
> --
> Best regards, Ruslan.
> 

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Re: [rt-users] Required fields

2012-01-23 Thread Daniel Garcia Mejia

On 23/01/12 15:16, Daniel Garcia Mejia wrote:

Hi,

One question:
Is there a way to require certain fields when a user creates a new 
ticket?

--
...
 __
/ /   Daniel García Mejía
  C E / S / C A   Portals i Repositoris
  /_/ Centre de Serveis Científics i Acadèmics de Catalunya

  Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
  T. (NULL) - F.  93 205 6979 -dgar...@cesca.cat
...


Sorry for the question, I just see the solution:

When create a Custom Fields it's possible to put a 'Validation'. I don't 
see this, sorry


--
...
__
   / /   Daniel García Mejía
 C E / S / C A   Portals i Repositoris
 /_/ Centre de Serveis Científics i Acadèmics de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
 T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
...


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

[rt-users] Required fields

2012-01-23 Thread Daniel Garcia Mejia

Hi,

One question:
Is there a way to require certain fields when a user creates a new ticket?

--
...
__
   / /   Daniel García Mejía
 C E / S / C A   Portals i Repositoris
 /_/ Centre de Serveis Científics i Acadèmics de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
 T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
...


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] queue query string and statistics

2012-01-23 Thread Ruslan Zakirov
On Mon, Jan 23, 2012 at 17:16, Alexander Sagratyan  wrote:
> 2) Is there  some perl module which collects and displays the ticket
> statistics in addition to the built-in feature of RT (queue search,
> charts)?

Statistics is not trivial and very unique for installations. There are
a few extensions out there, but they may not meet your needs.


-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Re: [rt-users] attachment improvements

2012-01-23 Thread Ruslan Zakirov
2012/1/23 BÁLINT Bekény :
>> > Patch for master branch is attached.
>> > IMPORTANT: I'm unable to test it but I hope it works well on this
>> > branch.
>>
>> Slightly misguided you. Mentioned change is not yet on master, it's in
>> 4.2/web-attachs-processing branch. Took a look at the changes. Looks
>> good and simple.
>
>
> I think patch for this branch is more simple because it is not require to
> modify Create.html, etc. pages only the ProcessAttachments function in
> Web.pm.
> Should I create a patch for this branch also?

If you have cycles and want to see this code merged then rebase your
changes over mentioned branch and generate pull request. This will
make our job much easier. If you don't have cycles then create a
ticket in the bug tracker with reference to this thread.

> --
> Bekeny
> Docca OutSource IT Ltd.

-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Re: [rt-users] cannot get result of search Chinese character - centos 5.4

2012-01-23 Thread Ruslan Zakirov
Hi,

Which database do you use? Which version of the corresponding DBD
driver is installed on your system?

You can use the following commands to figure out version:

perl -MDBD::mysql\  -e 1
perl -MDBD::Pg\  -e 1
perl -MDBD::Oracle\  -e 1

Use one that matches RDBMS you use.

On Mon, Jan 23, 2012 at 05:29, Ryo O  wrote:
> I had same problem Japanese Character ( RT3.8.11 )
>
> Please check DBIx::SearchBuilder version.
>
> DBIx::SearchBuilder version 1.56 or 1.59, i can get result of search
> Japanese character.
> Howerver, DBIx::SearchBuilder version over 1.6.0, i can not ger result
> of search Japanese character.
>
> 2012/1/21 sunnavy :
>> I failed to reproduce this on centos 5.7 with shipped perl5.8.8, and I tried
>> both stardalone server and apache+mod_fastcgi.
>>
>> It would be great if there are more details of the configuration.
>>
>> sunnavy
>>
>> On 12-01-20 22:11, sunnavy wrote:
>>> If you run RT with standalone server, is the problem still there?
>>>
>>> standalone server, I mean you start RT with something like
>>> `/path/to/rt/sbin/rt-server --port 8080`
>>>
>>> sunnavy
>>>
>>> On 11-12-29 08:53, nectar wrote:
>>> > Sir,
>>> >
>>> > Looks like can search Chinese character when use Perl 5.10 instead of
>>> > Perl 5.8.8 on CentOS 5.
>>> >
>>> > --
>>> > Jia
>>> > 
>>> > RT Training Sessions (http://bestpractical.com/services/training.html)
>>> > * Boston  March 5 & 6, 2012
>>> 
>>> RT Training Sessions (http://bestpractical.com/services/training.html)
>>> * Boston  March 5 & 6, 2012
>> 
>> RT Training Sessions (http://bestpractical.com/services/training.html)
>> * Boston  March 5 & 6, 2012
>
>
>
> --
> ---
> ryo.og...@gmail.com
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012



-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

[rt-users] queue query string and statistics

2012-01-23 Thread Alexander Sagratyan
Hello.
 I have two questions concerning queues:

1)  I am not able to change a query string of the General queue. Whenever I am 
adding a new search criteria such as resolved and deleted ticket status, after 
updating everything works, resolved and deleted tickets are displayed, but the 
problem begins when I am returning to the home page of RT - query string is not 
saved. What can be the solution to this problem? 

2) Is there  some perl module which collects and displays the ticket statistics 
in addition to the built-in feature of RT (queue search, charts)? 

thanks in advance .
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Re: [rt-users] Can't open Ticket Time::ParseDate error

2012-01-23 Thread john s.

RT: 3.8.9
Server : Ubuntu 10.04 

Hello everybody,


Due  to this ticket  


I have a similar problem again   



So i tried to create a new user but if i do so and press the create  Button
he forwarded me to my Dashboard and nothing happens. 


What do you see in /var/log/messages or /var/log/syslog  Also, what are the
entries in /opt/rt4/var/log (error and access)? (is the "click" registered?)


There no entries anymore  which belongs to RT in the other logfiles. 



The link behind the create user option is: 

https://server.local/Admin/Users/Modify.html?Create=1


the rt.log entry after  clicking  the create user button : 

[Mon Jan 23 12:16:02 2012] [debug]: RT::Date used Time::ParseDate to make
'now' 1327320962 (/opt/rt3/bin/../lib/RT/Date.pm:222)


it   makes no  sense for me  



best regards 

john s. 

















-- 
View this message in context: 
http://old.nabble.com/Can%27t-open-Ticket-Time%3A%3AParseDate-error-tp32901809p33187686.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012