Re: [rt-users] How to customize RT's FCKeditor?

2010-04-06 Thread Robert Grasso
Hello,

I changed values here :

/opt/rt3/share/html/NoAuth/RichText/FCKeditor/fckconfig.js

I guess I found some doc here

FCKeditor 2.x/Developers Guide - CKSource Docs
http://docs.cksource.com/FCKeditor_2.x/Developers_Guide

Best regards

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com  

> -Message d'origine-
> De : rt-users-boun...@lists.bestpractical.com 
> [mailto:rt-users-boun...@lists.bestpractical.com] De la part 
> de Todd Chapman
> Envoyé : 6 avril 2010 01:41
> À : rt-users
> Objet : [rt-users] How to customize RT's FCKeditor?
> 
> Anyone know how to customize the FCKeditor instances in RT? I would
> like to expose the editor controls be default.
> 
> I tried this but it doesn't pick up the config file:
> 
> $ git diff share/html/Elements/HeaderJavascript
> diff --git a/share/html/Elements/HeaderJavascript
> b/share/html/Elements/HeaderJavascript
> index 6ee88a1..bf12104 100644
> --- a/share/html/Elements/HeaderJavascript
> +++ b/share/html/Elements/HeaderJavascript
> @@ -113,6 +113,7 @@ $onload => undef
> 
>  var oFCKeditor = new FCKeditor( textArea.name,
> '100%', <% RT->Config->Get('MessageBoxRichTextHeight') %> );
>  oFCKeditor.BasePath =
> "<%RT->Config->Get('WebPath')%>/NoAuth/RichText/";
> +oFCKeditor.Config["CustomConfigurationsPath"] =
> "/NoAuth/js/myconfig.js";
>  oFCKeditor.ReplaceTextarea();
>  }
>  }
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.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] RT LDAP not loging in

2010-04-06 Thread JEEVAN P K
I'm not able to login even after disabling the ldap authentication. The
below mentioned option is already enabled on RT_SiteConfig.pm file.

Regards,
Jeevan



On Thu, Apr 1, 2010 at 5:55 PM, Poulter, Dale
wrote:

>  Are you able to login if you turn off ldap authentication?  Also you may
> want to turn on the debugging in the RT_SiteConfig.pm
>
>
>
> Set($LogToFile , 'debug');
>
> Set($LogDir, '$RTHOME/var/log');
>
> Set($LogToFileNamed , "debug.log");
>
>
>
>
>
> *From:* rt-users-boun...@lists.bestpractical.com [mailto:
> rt-users-boun...@lists.bestpractical.com] *On Behalf Of *JEEVAN P K
> *Sent:* Thursday, April 01, 2010 7:05 AM
> *To:* rt-users@lists.bestpractical.com
> *Subject:* [rt-users] RT LDAP not loging in
>
>
>
> Hi,
>
> I am new to RT and was trying to implement on my office space on my Ubuntu
> OS. i got the same installed but the issue is that i am  getting the LDAP
> authentication for the RT, but getting error with "internel server".  I am
> not able to trace out the issue. Can anyone give me some inputs to resolve
> the issue.
>
> Thanks & Regards,
> Jeevan
>

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

[rt-users] DBD::mysql::st execute failed: MySQL server has gone away

2010-04-06 Thread Simon Morley | PolkaSpots
Hi,

We are having issues with a RT DB migration from one server to another. I have 
confirmed by setting up some basic queues etc. with a brand new DB that the RT 
system is working on the server in question.

We have done a mysqldump from one server to this one. Same version of RT but 
different mysql version (one is x86, the other i386).

When we submit a ticket, we get the following errors:

DBD::mysql::st execute failed: MySQL server has gone away

The full log is:

Apr  5 11:54:05 ip-10-228-234-38 RT: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 509. 
(/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:509)
Apr  5 11:54:05 ip-10-228-234-38 RT: RT::Handle=HASH(0x821d2710) couldn't 
execute the query 'INSERT INTO Transactions (OldValue, NewReference, 
OldReference, NewValue, Creator, ObjectId, Field, Type, ReferenceType, Created, 
Data, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at 
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 522
Apr  5 11:54:05 ip-10-228-234-38
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x821d2710)', 'INSERT 
INTO Transactions (OldValue, NewReference, OldReferenc...', 'undef', 'undef', 
'undef', 'undef', 1, 1626, 'undef', ...) called at 
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 357
Apr  5 11:54:05 ip-10-228-234-38
DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0x821d2710)', 
'Transactions', 'OldValue', 'undef', 'NewReference', 'undef', 'OldReference', 
'undef', 'NewValue', ...) called at 
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm line 36
Apr  5 11:54:05 ip-10-228-234-38
DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0x821d2710)', 
'Transactions', 'OldValue', 'undef', 'NewReference', 'undef', 'OldReference', 
'undef', 'NewValue', ...) called at 
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm line 1293
Apr  5 11:54:05 ip-10-228-234-38
DBIx::SearchBuilder::Record::Create('RT::Transaction=HASH(0x84476db8)', 
'OldValue', 'undef', 'NewReference', 'undef', 'OldReference', 'undef', 
'NewValue', 'undef', ...) called at /opt/rt3/bin/../lib/RT/Record.pm line 289
Apr  5 11:54:05 ip-10-228-234-38
RT::Record::Create('RT::Transaction=HASH(0x84476db8)', 'OldValue', 'undef', 
'NewReference', 'undef', 'OldReference', 'undef', 'NewValue', 'undef', ...) 
called at /opt/rt3/bin/../lib/RT/Transaction_Overlay.pm line 151
Apr  5 11:54:05 ip-10-228-234-38
RT::Transaction::Create('RT::Transaction=HASH(0x84476db8)', 'Ticket', 1626, 
'Type', 'EmailRecord', 'Data', 
'', 'MIMEObj', 
'MIME::Entity=HASH(0x84468d2c)', ...) called at 
/opt/rt3/bin/../lib/RT/Action/SendEmail.pm line 543
Apr  5 11:54:05 ip-10-228-234-38
RT::Action::SendEmail::RecordOutgoingMailTransaction('RT::Action::Notify=HASH(0x8446)',
 'MIME::Entity=HASH(0x84468d2c)') called at 
/opt/rt3/bin/../lib/RT/Action/SendEmail.pm line 138
Apr  5 11:54:05 ip-10-228-234-38
RT::Action::SendEmail::Commit('RT::Action::Notify=HASH(0x8446)') called at 
/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm line 238
Apr  5 11:54:05 ip-10-228-234-38
RT::ScripAction::Commit('RT::ScripAction=HASH(0x84354b60)') called at 
/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 464
Apr  5 11:54:05 ip-10-228-234-38eval {...} called at 
/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 463
Apr  5 11:54:05 ip-10-228-234-38
RT::Scrip::Commit('RT::Scrip=HASH(0x84386c24)', 'TicketObj', 
'RT::Ticket=HASH(0x8437fe08)', 'TransactionObj', 
'RT::Transaction=HASH(0x84380330)') called at 
/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm line 196
Apr  5 11:54:05 ip-10-228-234-38
RT::Scrips::Commit('RT::Scrips=HASH(0x8437dbd8)') called at 
/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm line 188
Apr  5 11:54:05 ip-10-228-234-38
RT::Transaction::Create('RT::Transaction=HASH(0x8437d0bc)', 'ObjectId', 1626, 
'ObjectType', 'RT::Ticket', 'TimeTaken', 0, 'Type', 'Create', ...) called at 
/opt/rt3/bin/../lib/RT/Record.pm line 1457
Apr  5 11:54:05 ip-10-228-234-38
RT::Record::_NewTransaction('RT::Ticket=HASH(0x84354e30)', 'Type', 'Create', 
'TimeTaken', 0, 'MIMEObj', 'MIME::Entity=HASH(0x842b73c4)', 'CommitScrips', 1, 
...) called at /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm line 656

I have seen a few other threads about this but none have been answered as yet.

Please help!!

Simon







---
The information contained in this email and its attachments is confidential and 
may be the subject of legal, professional or other privilege. It is intended 
only for the named addressees and may not be disclosed to anyone else without 
consent from PolkaSpots Limited. If you are not the named addressee you must 
not use, disclose, distribute, copy, print or rely on the contents of this 
email and should destroy it imm

Re: [rt-users] RT LDAP not loging in

2010-04-06 Thread Mike Peachey
JEEVAN P K wrote:
> I'm not able to login even after disabling the ldap authentication. The
> below mentioned option is already enabled on RT_SiteConfig.pm file.

... then provide the relevant part of the debug log and the apache error
log.

-- 
Kind Regards,

__

Mike Peachey, IT Systems Administrator
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__


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


Re: [rt-users] DBD::mysql::st execute failed: MySQL server has gone away

2010-04-06 Thread Ruslan Zakirov
Hello Simon,

Do you use mod_perl2?

On Tue, Apr 6, 2010 at 2:30 PM, Simon Morley | PolkaSpots
 wrote:
> Hi,
>
> We are having issues with a RT DB migration from one server to another. I
> have confirmed by setting up some basic queues etc. with a brand new DB that
> the RT system is working on the server in question.
>
> We have done a mysqldump from one server to this one. Same version of RT but
> different mysql version (one is x86, the other i386).
>
> When we submit a ticket, we get the following errors:
>
> DBD::mysql::st execute failed: MySQL server has gone away
>
> The full log is:
>
> Apr  5 11:54:05 ip-10-228-234-38 RT: DBD::mysql::st execute failed: MySQL
> server has gone away at
> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 509.
> (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:509)
> Apr  5 11:54:05 ip-10-228-234-38 RT: RT::Handle=HASH(0x821d2710) couldn't
> execute the query 'INSERT INTO Transactions (OldValue, NewReference,
> OldReference, NewValue, Creator, ObjectId, Field, Type, ReferenceType,
> Created, Data, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at
> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 522
> Apr  5 11:54:05 ip-10-228-234-38
> DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x821d2710)',
> 'INSERT INTO Transactions (OldValue, NewReference, OldReferenc...', 'undef',
> 'undef', 'undef', 'undef', 1, 1626, 'undef', ...) called at
> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 357
> Apr  5 11:54:05 ip-10-228-234-38
> DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0x821d2710)',
> 'Transactions', 'OldValue', 'undef', 'NewReference', 'undef',
> 'OldReference', 'undef', 'NewValue', ...) called at
> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm line 36
> Apr  5 11:54:05 ip-10-228-234-38
> DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0x821d2710)',
> 'Transactions', 'OldValue', 'undef', 'NewReference', 'undef',
> 'OldReference', 'undef', 'NewValue', ...) called at
> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm line 1293
> Apr  5 11:54:05 ip-10-228-234-38
> DBIx::SearchBuilder::Record::Create('RT::Transaction=HASH(0x84476db8)',
> 'OldValue', 'undef', 'NewReference', 'undef', 'OldReference', 'undef',
> 'NewValue', 'undef', ...) called at /opt/rt3/bin/../lib/RT/Record.pm line
> 289
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Record::Create('RT::Transaction=HASH(0x84476db8)', 'OldValue', 'undef',
> 'NewReference', 'undef', 'OldReference', 'undef', 'NewValue', 'undef', ...)
> called at /opt/rt3/bin/../lib/RT/Transaction_Overlay.pm line 151
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Transaction::Create('RT::Transaction=HASH(0x84476db8)', 'Ticket', 1626,
> 'Type', 'EmailRecord', 'Data',
> '', 'MIMEObj',
> 'MIME::Entity=HASH(0x84468d2c)', ...) called at
> /opt/rt3/bin/../lib/RT/Action/SendEmail.pm line 543
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Action::SendEmail::RecordOutgoingMailTransaction('RT::Action::Notify=HASH(0x8446)',
> 'MIME::Entity=HASH(0x84468d2c)') called at
> /opt/rt3/bin/../lib/RT/Action/SendEmail.pm line 138
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Action::SendEmail::Commit('RT::Action::Notify=HASH(0x8446)') called
> at /opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm line 238
> Apr  5 11:54:05 ip-10-228-234-38
> RT::ScripAction::Commit('RT::ScripAction=HASH(0x84354b60)') called at
> /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 464
> Apr  5 11:54:05 ip-10-228-234-38  eval {...} called at
> /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 463
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Scrip::Commit('RT::Scrip=HASH(0x84386c24)', 'TicketObj',
> 'RT::Ticket=HASH(0x8437fe08)', 'TransactionObj',
> 'RT::Transaction=HASH(0x84380330)') called at
> /opt/rt3/bin/../lib/RT/Scrips_Overlay.pm line 196
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Scrips::Commit('RT::Scrips=HASH(0x8437dbd8)') called at
> /opt/rt3/bin/../lib/RT/Transaction_Overlay.pm line 188
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Transaction::Create('RT::Transaction=HASH(0x8437d0bc)', 'ObjectId',
> 1626, 'ObjectType', 'RT::Ticket', 'TimeTaken', 0, 'Type', 'Create', ...)
> called at /opt/rt3/bin/../lib/RT/Record.pm line 1457
> Apr  5 11:54:05 ip-10-228-234-38
> RT::Record::_NewTransaction('RT::Ticket=HASH(0x84354e30)', 'Type', 'Create',
> 'TimeTaken', 0, 'MIMEObj', 'MIME::Entity=HASH(0x842b73c4)', 'CommitScrips',
> 1, ...) called at /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm line 656
>
> I have seen a few other threads about this but none have been answered as
> yet.
>
> Please help!!
>
> Simon
>
>
>
>
>
> ---
> The information contained in this email and its attachments is confidential
> and may be the subject of legal, professional or other privilege. It is
> intended only for the named addressees and may not be disclosed to anyone
> else without consent from PolkaSpots Limited. If you are not the n

[rt-users] merge users(?)

2010-04-06 Thread who else

Hi,
i am wondering whether the extension merge users will do what i need it to
do... :-)
Let's say, i have 15 users which are from ibm.com, and i want them to share
the bugs they are going to submit, so each of them knows, which bugs have
already submitted, so they do not send them in twice or more. Will this be
the solution for this or is there another solution? I didn't catch the idea
of canonicalize email either, the posts i found here are more like that the
domainpart of the emailaddress is different, not the user. 

So any insight will be truly appreciated.

I assume, this is something, some of you might have already solved, i hope
...

Thanks for sharing

w_e

RT 3.8.2, RTFM 2.4.1



-- 
View this message in context: 
http://old.nabble.com/merge-users%28-%29-tp28151060p28151060.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


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


Re: [rt-users] merge users(?)

2010-04-06 Thread Ruslan Zakirov
Hello,

It wouldn't solve your problem. MergeUsers is more for multiple emails
per one user.

Create group per organization, add a group to tickets as cc when
requestor is member of the group. Grant rights via roles.

On Tue, Apr 6, 2010 at 4:26 PM, who else  wrote:
>
> Hi,
> i am wondering whether the extension merge users will do what i need it to
> do... :-)
> Let's say, i have 15 users which are from ibm.com, and i want them to share
> the bugs they are going to submit, so each of them knows, which bugs have
> already submitted, so they do not send them in twice or more. Will this be
> the solution for this or is there another solution? I didn't catch the idea
> of canonicalize email either, the posts i found here are more like that the
> domainpart of the emailaddress is different, not the user.
>
> So any insight will be truly appreciated.
>
> I assume, this is something, some of you might have already solved, i hope
> ...
>
> Thanks for sharing
>
> w_e
>
> RT 3.8.2, RTFM 2.4.1
>
>
>
> --
> View this message in context: 
> http://old.nabble.com/merge-users%28-%29-tp28151060p28151060.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
Best regards, Ruslan.

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


[rt-users] how to move tickets to different queue?

2010-04-06 Thread H Manohar Rayker
Hi,

 

How can I move a ticket to a different queue on the time of creation based
on the senders email domain?

 

For eg: 

 

myn...@somedomain.com   tickets should be moved to new_queue

 

 

Thanks

Manohar


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

Re: [rt-users] how to move tickets to different queue?

2010-04-06 Thread Raed El-Hames

Manohar;

Global or queue scrip ;
condition : On Create
action: User defined
Custom action preparation code:
   return 1;
Custom action cleanup code: 
if ($self->TicketObj->RequestorAddresses =~  /myna...@somedomain\.com 
/ ) {

  $self->TicketObj->SetQueue('new_queue');
  return 1;
}
return undef;

Regards;
Roy


H Manohar Rayker wrote:


Hi,

 

How can I move a ticket to a different queue on the time of creation 
based on the senders email domain?


 


For eg:

 

myn...@somedomain.com    tickets should 
be moved to new_queue


 

 


Thanks

Manohar



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


Re: [rt-users] how to move tickets to different queue?

2010-04-06 Thread H Manohar Rayker
In continuation for the previous mail - for this purpose I got a small scrip


 

# Domains we want to move

my $domains = {};

 

my %domain_map = (

   '[EMAIL PROTECTED]'=> "",

   '[EMAIL PROTECTED]'=> ""

);

 

#Check each of our defined domains for a match

foreach my $domainKey (keys %domain_map ){

if($self->TicketObj->RequestorAddresses =~ /^.*?${domainKey}/) {

# Domain matches - move to the right queue

#$self->TicketObj->SetQueue($domain_map{$domainKey});

 

$self->TicketObj->SetQueue(new_queue);

}

}

 

 

I created a new global scrip for the new queue and put this under the custom
action field of the scrip. Can anyone put some light on this?

 

Thanks

Manohar

  _  

From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of H Manohar
Rayker
Sent: Tuesday, April 06, 2010 6:41 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] how to move tickets to different queue?

 

Hi,

 

How can I move a ticket to a different queue on the time of creation based
on the senders email domain?

 

For eg: 

 

myn...@somedomain.com   tickets should be moved to new_queue

 

 

Thanks

Manohar


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

[rt-users] CommandByEmail still broken?

2010-04-06 Thread slamp slamp
is anyone successfully using CommandByEmail? it still parses any word
plus a colon i.e. blah: . i am not a perl guy and would like
assisstance on how to make this extension parse only what we tell it
to via a configuration file for example.

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


Re: [rt-users] merge users(?)

2010-04-06 Thread Michael Ellis

There is a scrip that can do this:

http://wiki.bestpractical.com/view/AddRequestor

You create a custom user field called othermail and populate it with the 
people you want to get the email. All, the other IBMers will be added as 
requestors whenever one of them requests. We've done this for some 
supervisors who want to keep an eye on all calls made by their staff.


-Mike

who else wrote:

Hi,
i am wondering whether the extension merge users will do what i need it to
do... :-)
Let's say, i have 15 users which are from ibm.com, and i want them to share
the bugs they are going to submit, so each of them knows, which bugs have
already submitted, so they do not send them in twice or more. Will this be
the solution for this or is there another solution? I didn't catch the idea
of canonicalize email either, the posts i found here are more like that the
domainpart of the emailaddress is different, not the user. 


So any insight will be truly appreciated.

I assume, this is something, some of you might have already solved, i hope
...

Thanks for sharing

w_e

RT 3.8.2, RTFM 2.4.1



  



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


Re: [rt-users] DBD::mysql::st execute failed: MySQL server has gone away

2010-04-06 Thread Ruslan Zakirov
Hello Simon.

It's a recently discovered problem in mod_perl2 that affects people in
some cases in a wierd way that is hard to debug.

I believe some of your templates are incorrect. Read logs you quoted.

On Tue, Apr 6, 2010 at 7:59 PM, Simon Morley | PolkaSpots
 wrote:
> Ignore that last message, we've started getting the messages through. Not 
> sure what was going on.
>
> Thanks again for the help!
>
> Out of interest, why did we need this patch?
>
> Simon
>


-- 
Best regards, Ruslan.

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


Re: [rt-users] merge users(?)

2010-04-06 Thread who else

Hi,

thank you very much, i did everything as it was documented in the link you
quoted. Unfortunately, not a single user could see/modify this custom field,
although i tried every possible right for group/user etc, but this didn't
work out at all. I can only see the heading (custom field) but not the field
either, and i gave the user the right to see and modify this field. Even the
root user couldn't see this field...

:-(

Any help is truly appreciated.

Thank you.

w_e

ps: i feel, that the RT book is a little bit outdated on this one...



Michael Ellis-5 wrote:
> 
> There is a scrip that can do this:
> 
> http://wiki.bestpractical.com/view/AddRequestor
> 
> You create a custom user field called othermail and populate it with the 
> people you want to get the email. All, the other IBMers will be added as 
> requestors whenever one of them requests. We've done this for some 
> supervisors who want to keep an eye on all calls made by their staff.
> 
> -Mike
> 
> who else wrote:
>> Hi,
>> i am wondering whether the extension merge users will do what i need it
>> to
>> do... :-)
>> Let's say, i have 15 users which are from ibm.com, and i want them to
>> share
>> the bugs they are going to submit, so each of them knows, which bugs have
>> already submitted, so they do not send them in twice or more. Will this
>> be
>> the solution for this or is there another solution? I didn't catch the
>> idea
>> of canonicalize email either, the posts i found here are more like that
>> the
>> domainpart of the emailaddress is different, not the user. 
>>
>> So any insight will be truly appreciated.
>>
>> I assume, this is something, some of you might have already solved, i
>> hope
>> ...
>>
>> Thanks for sharing
>>
>> w_e
>>
>> RT 3.8.2, RTFM 2.4.1
>>
>>
>>
>>   
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
> 
> 

-- 
View this message in context: 
http://old.nabble.com/merge-users%28-%29-tp28151060p28154725.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


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


Re: [rt-users] Can a global scrip be disabled for a given queue?

2010-04-06 Thread Torsten Brumm
Hi Thierry,
you can also try this out:
http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips

Torsten

2010/3/26 Thierry Thelliez 

> John,
>
> That's a great idea.
>
> Could I just test the queue name?
>
> I am no that familiar with Perl/RT but could it be something like:
>
> return ($self->TicketObj->QueueObj->Id ne "MySpecialQueue");
>
> (How do you access the queue name?)
>
>
> Thierry
>
> On Fri, Mar 26, 2010 at 3:48 PM, John Hascall  wrote:
> >
> > When I wanted to do a similar thing,
> > I found it easier to modify the global scrip (Custom Condition)
> > to recognize a special address in that field for the queue:
> >
> > return (($self->TransactionObj->Type eq "Correspond") &&
> >($self->TicketObj->QueueObj->CorrespondAddress() ne "NONE"));
> >
> >
> > John
> >
> >
> ---
> > John Hascall, j...@iastate.edu
> > Team Lead, NIADS (Network Infrastructure, Authentication & Directory
> Services)
> > IT Services, The Iowa State University of Science and Technology
> >
> >> Hello,
> >>
> >> I have the requirements to not send notifications 'on correspond' to
> >> the requestors for a given queue (that's scrip #6). But I wish to keep
> >> it for other queues.
> >>
> >> Do I need to disable it (scrip fields > Stage >Disabled) and then
> >> recreate it locally for all the other queues?
> >>
> >>
> >>
> >> Thanks,
> >> Thierry
> >>
> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> >> Buy a copy at http://rtbook.bestpractical.com
> >>
> >
> >
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
MFG

Torsten Brumm

http://www.brumm.me
http://www.elektrofeld.de

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

Re: [rt-users] merge users(?)

2010-04-06 Thread Potla, Ashish Bassaliel
Hi,

Have you given ModifyCustomfield right for requestor (or Everyone for that 
matter) in the GroupRights page of the Customfield?

-Ashish

From: rt-users-boun...@lists.bestpractical.com 
[rt-users-boun...@lists.bestpractical.com] On Behalf Of who else 
[bogey...@yahoo.com]
Sent: Tuesday, April 06, 2010 10:36 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] merge users(?)

Hi,

thank you very much, i did everything as it was documented in the link you
quoted. Unfortunately, not a single user could see/modify this custom field,
although i tried every possible right for group/user etc, but this didn't
work out at all. I can only see the heading (custom field) but not the field
either, and i gave the user the right to see and modify this field. Even the
root user couldn't see this field...

:-(

Any help is truly appreciated.

Thank you.

w_e

ps: i feel, that the RT book is a little bit outdated on this one...



Michael Ellis-5 wrote:
>
> There is a scrip that can do this:
>
> http://wiki.bestpractical.com/view/AddRequestor
>
> You create a custom user field called othermail and populate it with the
> people you want to get the email. All, the other IBMers will be added as
> requestors whenever one of them requests. We've done this for some
> supervisors who want to keep an eye on all calls made by their staff.
>
> -Mike
>
> who else wrote:
>> Hi,
>> i am wondering whether the extension merge users will do what i need it
>> to
>> do... :-)
>> Let's say, i have 15 users which are from ibm.com, and i want them to
>> share
>> the bugs they are going to submit, so each of them knows, which bugs have
>> already submitted, so they do not send them in twice or more. Will this
>> be
>> the solution for this or is there another solution? I didn't catch the
>> idea
>> of canonicalize email either, the posts i found here are more like that
>> the
>> domainpart of the emailaddress is different, not the user.
>>
>> So any insight will be truly appreciated.
>>
>> I assume, this is something, some of you might have already solved, i
>> hope
>> ...
>>
>> Thanks for sharing
>>
>> w_e
>>
>> RT 3.8.2, RTFM 2.4.1
>>
>>
>>
>>
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>

--
View this message in context: 
http://old.nabble.com/merge-users%28-%29-tp28151060p28154725.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


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

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


[rt-users] Found a missing translation call

2010-04-06 Thread Thierry Thelliez
I think that the Elements/PageLayout line 159 (RT 3.8.7):

  {$action}->{class} && ' class="'.$type->{$action}->{class}.'"'
|n %><% $type->{$action}->{id} && ' id="'.$type->{$action}->{id}.'"'
|n %>><%$type->{$action}->{'title'}%>


should be:

  {$action}->{class} && ' class="'.$type->{$action}->{class}.'"'
|n %><% $type->{$action}->{id} && ' id="'.$type->{$action}->{id}.'"'
|n %>><&|/l&><%$type->{$action}->{'title'}%>


to get the tags translated.



Thierry

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


Re: [rt-users] Can a global scrip be disabled for a given queue?

2010-04-06 Thread Thierry Thelliez
This looks great!

For now I am using John's suggestion, but I will give it a try later.



Thanks,
Thierry

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


Re: [rt-users] merge users(?)

2010-04-06 Thread who else

Hi,
yes, i did, i gave the see/modify right to every staff member and also to
every group. But this didn't work. It doesn't matter at all, which rights
the user/group has, i can only see the headline (custom fields) and nothing
below. Like there isn't any custom field... ;-(

Please correct me, if i am incorrect:

The staff members need the right to See and to Modify the customfield. This
is, what i have done. Whether i give the rights to the group and/or to the
user doesn't matter. Is there any other setting, where i can make sure, that
custom fields are being shown?

RT3.8.2, RTFM 2.4.1

Thanks
w_e



Potla, Ashish Bassaliel wrote:
> 
> Hi,
> 
> Have you given ModifyCustomfield right for requestor (or Everyone for that
> matter) in the GroupRights page of the Customfield?
> 
> -Ashish
> 
-- 
View this message in context: 
http://old.nabble.com/merge-users%28-%29-tp28151060p28160576.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


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


Re: [rt-users] how to move tickets to different queue?

2010-04-06 Thread H Manohar Rayker
Thank You very much Roy, this thing worked.

-Original Message-
From: Raed El-Hames [mailto:r...@vialtus.com] 
Sent: Tuesday, April 06, 2010 7:05 PM
To: H Manohar Rayker
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] how to move tickets to different queue?

Manohar;

Global or queue scrip ;
condition : On Create
action: User defined
Custom action preparation code:
return 1;
Custom action cleanup code: 
if ($self->TicketObj->RequestorAddresses =~  /myna...@somedomain\.com 
/ ) {
   $self->TicketObj->SetQueue('new_queue');
   return 1;
}
return undef;

Regards;
Roy


H Manohar Rayker wrote:
>
> Hi,
>
>  
>
> How can I move a ticket to a different queue on the time of creation 
> based on the senders email domain?
>
>  
>
> For eg:
>
>  
>
> myn...@somedomain.com    tickets should 
> be moved to new_queue
>
>  
>
>  
>
> Thanks
>
> Manohar
>


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