Re: [rt-users] RTx::EmailCompletion

2013-01-16 Thread Asif Iqbal
On Tue, Jan 15, 2013 at 1:50 PM, Asif Iqbal vad...@gmail.com wrote:




 On Tue, Jan 15, 2013 at 1:32 PM, Thomas Sibley t...@bestpractical.comwrote:

 On 01/15/2013 08:41 AM, Asif Iqbal wrote:
  I install RTx::EmailCompletion plugin and added the following stanza
  into my RTHOME/etc/RT_SiteConfig.pm
 
  
  Set( @Plugins, qw(
  RT::Authen::ExternalAuth
  RTx::EmailCompletion
  ) );
 
  Set($EmailCompletionUnprivileged,everybody);
  Set($EmailCompletionSearch, STARTSWITH);
  Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
  Set($EmailCompletionRdbmsDisabled, 1);
  ...
 
  How do I expect it to work? I tried to fill the  One-time Cc: with
  ``foo'' and expected it to autocomplete to ``f...@example.com
  mailto:f...@example.com''
 
 
 
  Still like some help with this one.

 What's your RT version?  I don't believe RTx::EmailCompletion is
 compatible with RT 4.0 since most of the functionality (although not the
 LDAP parts) was merged to core.


 Sorry I forgot to mentions the versions.

 I am using RT 3.8.2 / mod_ssl/2.2.11 OpenSSL/0.9.8p mod_perl/2.0.3
 Perl/v5.8.8



I still like some help on this.






 If you're indeed on 4.0, perhaps you want to look into
 RT::Extension::LDAPImport instead so that your LDAP info is sync'd
 locally into RT and the standard autocompletion will work.  This means
 your RT user info from ExternalAuth will also always be up to date.




 --
 Asif Iqbal
 PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?




-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: [rt-users] RTx::EmailCompletion

2013-01-15 Thread Asif Iqbal
On Fri, Jan 11, 2013 at 5:18 PM, Asif Iqbal vad...@gmail.com wrote:

 I install RTx::EmailCompletion plugin and added the following stanza into
 my RTHOME/etc/RT_SiteConfig.pm

 
 Set( @Plugins, qw(
 RT::Authen::ExternalAuth
 RTx::EmailCompletion
 ) );

 Set($EmailCompletionUnprivileged,everybody);
 Set($EmailCompletionSearch, STARTSWITH);
 Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
 Set($EmailCompletionRdbmsDisabled, 1);
 ...

 How do I expect it to work? I tried to fill the  One-time Cc: with
 ``foo'' and expected it to autocomplete to ``f...@example.com''



Still like some help with this one.




 Thanks for the help.

 --
 Asif Iqbal
 PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?




-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: [rt-users] RTx::EmailCompletion

2013-01-15 Thread Thomas Sibley
On 01/15/2013 08:41 AM, Asif Iqbal wrote:
 I install RTx::EmailCompletion plugin and added the following stanza
 into my RTHOME/etc/RT_SiteConfig.pm
 
 
 Set( @Plugins, qw(
 RT::Authen::ExternalAuth
 RTx::EmailCompletion
 ) );
 
 Set($EmailCompletionUnprivileged,everybody);
 Set($EmailCompletionSearch, STARTSWITH);
 Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
 Set($EmailCompletionRdbmsDisabled, 1);
 ...
 
 How do I expect it to work? I tried to fill the  One-time Cc: with
 ``foo'' and expected it to autocomplete to ``f...@example.com
 mailto:f...@example.com''
 
 
 
 Still like some help with this one.

What's your RT version?  I don't believe RTx::EmailCompletion is
compatible with RT 4.0 since most of the functionality (although not the
LDAP parts) was merged to core.

If you're indeed on 4.0, perhaps you want to look into
RT::Extension::LDAPImport instead so that your LDAP info is sync'd
locally into RT and the standard autocompletion will work.  This means
your RT user info from ExternalAuth will also always be up to date.


Re: [rt-users] RTx::EmailCompletion

2013-01-15 Thread Asif Iqbal
On Tue, Jan 15, 2013 at 1:32 PM, Thomas Sibley t...@bestpractical.comwrote:

 On 01/15/2013 08:41 AM, Asif Iqbal wrote:
  I install RTx::EmailCompletion plugin and added the following stanza
  into my RTHOME/etc/RT_SiteConfig.pm
 
  
  Set( @Plugins, qw(
  RT::Authen::ExternalAuth
  RTx::EmailCompletion
  ) );
 
  Set($EmailCompletionUnprivileged,everybody);
  Set($EmailCompletionSearch, STARTSWITH);
  Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
  Set($EmailCompletionRdbmsDisabled, 1);
  ...
 
  How do I expect it to work? I tried to fill the  One-time Cc: with
  ``foo'' and expected it to autocomplete to ``f...@example.com
  mailto:f...@example.com''
 
 
 
  Still like some help with this one.

 What's your RT version?  I don't believe RTx::EmailCompletion is
 compatible with RT 4.0 since most of the functionality (although not the
 LDAP parts) was merged to core.


Sorry I forgot to mentions the versions.

I am using RT 3.8.2 / mod_ssl/2.2.11 OpenSSL/0.9.8p mod_perl/2.0.3
Perl/v5.8.8



 If you're indeed on 4.0, perhaps you want to look into
 RT::Extension::LDAPImport instead so that your LDAP info is sync'd
 locally into RT and the standard autocompletion will work.  This means
 your RT user info from ExternalAuth will also always be up to date.




-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


[rt-users] RTx::EmailCompletion

2013-01-11 Thread Asif Iqbal
I install RTx::EmailCompletion plugin and added the following stanza into
my RTHOME/etc/RT_SiteConfig.pm


Set( @Plugins, qw(
RT::Authen::ExternalAuth
RTx::EmailCompletion
) );

Set($EmailCompletionUnprivileged,everybody);
Set($EmailCompletionSearch, STARTSWITH);
Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
Set($EmailCompletionRdbmsDisabled, 1);
...

How do I expect it to work? I tried to fill the  One-time Cc: with
``foo'' and expected it to autocomplete to ``f...@example.com''

Thanks for the help.

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: [rt-users] RTx::EmailCompletion - LDAP setup error and RDBMS not disabling

2011-05-25 Thread Mike Johnson
Typos get me again!! I swear I'm dyslexic...

Anyway, I've changed that and I'm still getting the debug line that it's
selecting users from the RT database.

Set($EmailCompletionLdapServer, 'XX.XX.XX.XX');
Set($EmailCompletionLdapBase, 'dc=mydomain,dc=local');
Set($EmailCompletionLdapUser, 'distinguishedName of user');
Set($EmailCompletionLdapPass, 'pass');
Set($EmailCompletionLdapFilter, '(objectClass=person)');
Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
Set($EmailCompletionLdapAttrShow, mail);
Set($EmailCompletionLdapMinLength, 4);
Set($EmailCompletionRdbmsDisable, 1);

As you can see, I've simplified my settings a fair bit more to try and get
it to work...

Still no LDAP values returned(not sure if the extension puts a debug line in
showing the bind/search in the logs but that isn't there either), and the RT
database is still being used.

I restarted httpd after I made the changes, also tried using a completely
new browser(in case there was client side caching going on)... is there a
cache that needs cleaning on the server?

Thanks!
Mike.


On Tue, May 24, 2011 at 10:11 PM, Roedel, Mark markroe...@letu.edu wrote:

 Might $EmailCompletionRdbmsDisable be the variable you want here?


 From: Mike Johnson mike.john...@nosm.camailto:mike.john...@nosm.ca
 Date: Tue, 24 May 2011 16:34:54 -0400
 To: rt-users@lists.bestpractical.commailto:
 rt-users@lists.bestpractical.com
 Subject: [rt-users] RTx::EmailCompletion - LDAP setup error and RDBMS not
 disabling

 Set($EmailCompletionRdmbsDisable, 1);
 I have 2 issues I'm seeing now

 1. the EmailCompletionRdmbsDisable doesn't seem to effect the lookup on
 RT's database. In the debug logs I see this

 [Tue May 24 19:30:01 2011] [debug]: SELECT DISTINCT main.* FROM Users main
 JOIN Principals Principals_1  ON ( Principals_1.id = main.id
 http://main.id/ )  WHERE (main.EmailAddress LIKE '%lori%') AND
 (Principals_1.PrincipalType = 'User')  ORDER BY main.Name ASC
  (/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion.pm:23)

 It's still searching RT's database. Now this could be linked to if the LDAP
 is successful or not... but I would think the LDAP search would show up at
 least?





-- 
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON   P7B 5E1
Phone: (807) 766-7331
Email: mike.john...@nosm.ca


[rt-users] RTx::EmailCompletion - LDAP setup error and RDBMS not disabling

2011-05-24 Thread Mike Johnson
Hi all,

Thanks to Kevin for pointing out the EmailCompletion extension. I had a user
ask me if I could do this and I hadn't had time to look for it, rt-users
list saved me that time!

I installed it and got it running, works great with default setup.

I'm attempting the LDAP setup and want it NOT to search RT's list(got a
bunch of junk emails I don't want anyone to ever use).

Here is my config settings...

Set($EmailCompletionLdapServer, 'XX.XX.XX.XX');
Set($EmailCompletionLdapBase, 'dc=mydomain,dc=local');
Set($EmailCompletionLdapUser, 'svc_rt');
#Set($EmailCompletionLdapUser, 'cn=service
rt,ou=Users,dc=mydomain,dc=local');
Set($EmailCompletionLdapPass, '**');
Set($EmailCompletionLdapFilter, '(objectClass=person)');
Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
Set($EmailCompletionLdapAttrShow, mail);
Set($EmailCompletionLdapMinLength, 4);
Set($EmailCompletionRdmbsDisable, 1);
I have 2 issues I'm seeing now

1. the EmailCompletionRdmbsDisable doesn't seem to effect the lookup on RT's
database. In the debug logs I see this

[Tue May 24 19:30:01 2011] [debug]: SELECT DISTINCT main.* FROM Users main
JOIN Principals Principals_1  ON ( Principals_1.id = main.id )  WHERE
(main.EmailAddress LIKE '%lori%') AND (Principals_1.PrincipalType = 'User')
ORDER BY main.Name ASC
(/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion.pm:23)

It's still searching RT's database. Now this could be linked to if the LDAP
is successful or not... but I would think the LDAP search would show up at
least?

2. My LDAP bind fails with the setup above. I get a bind error(below)

[Tue May 24 19:30:01 2011] [crit]: Unable to bind to XX.XX.XX.XX:
LDAP_INVALID_CREDENTIALS
(/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion/Ldap.pm:24)

I put in distinguishedName, as that's what ExternalAuth uses as well. I ran
another test now nothing shows up in the error log... so I guess it's
binding... but it still doesn't show any results from my LDAP in the popup
list, only the ones from RT's database.

I also ensured there wasn't a limit on size of the popup and searched for
something that only has 1 result from both RT and LDAP databases.

Any thoughts?

-- 
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON   P7B 5E1
Phone: (807) 766-7331
Email: mike.john...@nosm.ca


Re: [rt-users] RTx::EmailCompletion - LDAP setup error and RDBMS not disabling

2011-05-24 Thread Roedel, Mark
Might $EmailCompletionRdbmsDisable be the variable you want here?


From: Mike Johnson mike.john...@nosm.camailto:mike.john...@nosm.ca
Date: Tue, 24 May 2011 16:34:54 -0400
To: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: [rt-users] RTx::EmailCompletion - LDAP setup error and RDBMS not 
disabling

Set($EmailCompletionRdmbsDisable, 1);
I have 2 issues I'm seeing now

1. the EmailCompletionRdmbsDisable doesn't seem to effect the lookup on RT's 
database. In the debug logs I see this

[Tue May 24 19:30:01 2011] [debug]: SELECT DISTINCT main.* FROM Users main JOIN 
Principals Principals_1  ON ( Principals_1.id = main.idhttp://main.id/ )  
WHERE (main.EmailAddress LIKE '%lori%') AND (Principals_1.PrincipalType = 
'User')  ORDER BY main.Name ASC  
(/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion.pm:23)

It's still searching RT's database. Now this could be linked to if the LDAP is 
successful or not... but I would think the LDAP search would show up at least?




Re: [rt-users] RTx::EmailCompletion adding name/other fields to pop down display

2011-03-02 Thread Giuseppe Sollazzo

Hi Kevin, hi all.

After a couple of tries I've realised that despite maybe not being the 
most elegant way of doing it, this can be done by modifying 
/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion/Ldap.pm. 
However I seem to have a strange issue.



One step at a time. Where it does
 my @emails = map { $_-get_attribute( $RT::EmailCompletionLdapAttrShow 
) } $mesg-entries;
which of course gives for granted $RT::EmailCompletionLdapAttrShow to be 
constituted of one element only,


replace with something like
my @emails = ();
foreach $entry ($mesg-entries) {
my $outstring = '';
foreach $attribute ($RT::EmailCompletionLdapAttrShow) {
$outstring=$outstring . $entry-get_attribute($attribute);
}
@emails{$_} = $outstring;
}
which basically creates the same output, but after concatenating the 
result of all the attributes. So, for example, rather than having a map 
constituted by only e-mail addresses, it will be e-mail addresses + name.


Now, this should work but I have a preliminary problem.

You will remember that the search and show variables are configured in 
RT_SiteConfig.pm. In my case:

Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]);
Set($EmailCompletionLdapAttrShow, [qw/mail cn/]);

I've verified that albeit the search being executed over mail and 
cn, the show is ignored. As a debug, I've added file logging to 
/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion.pm. 
To my understanding, this is the primary hook in RT for 
EmailCompletion, and it's the one that calls Ldap.pm-search_ldap.


Guess what? If I put a debug print (Dumper) in EmailCompletion.pm to 
show the content of the two variables, I get:

This is the dump of EmailCompletionLdapAttrShow = 'cn';

This is the dump of EmailCompletionLdapAttrSearch = [
  'mail',
  'cn'
];

Do you know why does it happen? I'm assuming I've overlooked 
something... but can't tell what.


Thanks,
Giuseppe

PS: Of course, I've tried different variable names and numbers, and it's 
always the very first in EmailCompletionLdapAttrShow that gets picked, 
which rules out a default value (that would be 'mail', anyway).


On 25/02/11 16:45, Kevin Falcone wrote:

On Fri, Feb 25, 2011 at 04:37:32PM +, Giuseppe Sollazzo wrote:

On 25/02/11 15:28, Kevin Falcone wrote:

It shouldn't actually require any JS hacking (or didn't when I last
overrode this extension to do it).


Hi Kevin,
thanks - I'll give it a look.


You have to hack search in the .pm to return extra data about the user
and the EmailCompletion mason template to print it out.

Be aware that RT considers some data to be sensitive (such as phone
numbers) so it'll refuse to show it unless you mark it as accessible.

Uhm... how do you mean mark?

Check the methods in User/User_Overlay named *Accessible to get an
idea, there should be docs there and in DBIx::SearchBuilder about what
is going on.  You'll need a LocalAccessible to declare some fields
'non admin'.


In 4.0, this becomes 'write a custom ShowUser option' which isn't
as flexible as I'd like it to be, but is a step forward.

I'll check it out - however we'll stay for 3.8 for a while I guess,
but I'll start getting documentation about how to migrate.



--


Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsoll...@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583




[rt-users] RTx::EmailCompletion adding name/other fields to pop down display

2011-02-25 Thread Giuseppe Sollazzo

Hi all,
we've been using RTx::EmailCompletion for a while very successfully. 
This is an extension that allows the user to see a pop down display of 
e-mail addresses upon insertion of a minimum number of characters.


The search is made on a number of parameters you can specify (in our 
case, e-mail and cn from our directory). However, only the e-mail 
address is displayed, whereas we would like to show something more, 
let's say part of the cn or other data.


Has anyone done something similar?

I've found on the cpan page that the customisation can be done in
- html/NoAuth/js/emailcompletion.js
- lib/RTx/EmailCompletion.pm

but it's not totally clear to me how - I'm not too much into JS. Can 
anyone help?


Cheers,
||

--


Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsoll...@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583




Re: [rt-users] RTx::EmailCompletion adding name/other fields to pop down display

2011-02-25 Thread Kenneth Marshall
On Fri, Feb 25, 2011 at 11:17:02AM +, Giuseppe Sollazzo wrote:
 Hi all,
 we've been using RTx::EmailCompletion for a while very successfully. This 
 is an extension that allows the user to see a pop down display of e-mail 
 addresses upon insertion of a minimum number of characters.

 The search is made on a number of parameters you can specify (in our case, 
 e-mail and cn from our directory). However, only the e-mail address is 
 displayed, whereas we would like to show something more, let's say part of 
 the cn or other data.

 Has anyone done something similar?

 I've found on the cpan page that the customisation can be done in
 - html/NoAuth/js/emailcompletion.js
 - lib/RTx/EmailCompletion.pm

 but it's not totally clear to me how - I'm not too much into JS. Can anyone 
 help?

 Cheers,
 ||


Unfortunately my Javascript skills are non-existent, but I would
like this as well. It would be great if it could display a number
of fields from the directory service to help you select the correct
Email address. For example, we also include phone extension/number
as a search key but we often need more information to validate the
customer.

Regards,
Ken


Re: [rt-users] RTx::EmailCompletion adding name/other fields to pop down display

2011-02-25 Thread Kevin Falcone
On Fri, Feb 25, 2011 at 08:19:27AM -0600, Kenneth Marshall wrote:
 On Fri, Feb 25, 2011 at 11:17:02AM +, Giuseppe Sollazzo wrote:
  Hi all,
  we've been using RTx::EmailCompletion for a while very successfully. This 
  is an extension that allows the user to see a pop down display of e-mail 
  addresses upon insertion of a minimum number of characters.
 
  The search is made on a number of parameters you can specify (in our case, 
  e-mail and cn from our directory). However, only the e-mail address is 
  displayed, whereas we would like to show something more, let's say part of 
  the cn or other data.
 
  Has anyone done something similar?
 
  I've found on the cpan page that the customisation can be done in
  - html/NoAuth/js/emailcompletion.js
  - lib/RTx/EmailCompletion.pm
 
 Unfortunately my Javascript skills are non-existent, but I would
 like this as well. It would be great if it could display a number
 of fields from the directory service to help you select the correct
 Email address. For example, we also include phone extension/number
 as a search key but we often need more information to validate the
 customer.

It shouldn't actually require any JS hacking (or didn't when I last
overrode this extension to do it).

You have to hack search in the .pm to return extra data about the user
and the EmailCompletion mason template to print it out.

Be aware that RT considers some data to be sensitive (such as phone
numbers) so it'll refuse to show it unless you mark it as accessible.

In 4.0, this becomes 'write a custom ShowUser option' which isn't
as flexible as I'd like it to be, but is a step forward.

-kevin


pgpevtnHvcl4v.pgp
Description: PGP signature


Re: [rt-users] RTx::EmailCompletion adding name/other fields to pop down display

2011-02-25 Thread Giuseppe Sollazzo

On 25/02/11 15:28, Kevin Falcone wrote:

It shouldn't actually require any JS hacking (or didn't when I last
overrode this extension to do it).



Hi Kevin,
thanks - I'll give it a look.


You have to hack search in the .pm to return extra data about the user
and the EmailCompletion mason template to print it out.

Be aware that RT considers some data to be sensitive (such as phone
numbers) so it'll refuse to show it unless you mark it as accessible.

Uhm... how do you mean mark?


In 4.0, this becomes 'write a custom ShowUser option' which isn't
as flexible as I'd like it to be, but is a step forward.


I'll check it out - however we'll stay for 3.8 for a while I guess, but 
I'll start getting documentation about how to migrate.


Thanks,
Giuseppe



--


Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsoll...@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583




Re: [rt-users] RTx::EmailCompletion adding name/other fields to pop down display

2011-02-25 Thread Kevin Falcone
On Fri, Feb 25, 2011 at 04:37:32PM +, Giuseppe Sollazzo wrote:
 On 25/02/11 15:28, Kevin Falcone wrote:
 It shouldn't actually require any JS hacking (or didn't when I last
 overrode this extension to do it).
 
 
 Hi Kevin,
 thanks - I'll give it a look.
 
 You have to hack search in the .pm to return extra data about the user
 and the EmailCompletion mason template to print it out.
 
 Be aware that RT considers some data to be sensitive (such as phone
 numbers) so it'll refuse to show it unless you mark it as accessible.
 Uhm... how do you mean mark?

Check the methods in User/User_Overlay named *Accessible to get an
idea, there should be docs there and in DBIx::SearchBuilder about what
is going on.  You'll need a LocalAccessible to declare some fields
'non admin'.

 In 4.0, this becomes 'write a custom ShowUser option' which isn't
 as flexible as I'd like it to be, but is a step forward.
 
 I'll check it out - however we'll stay for 3.8 for a while I guess,
 but I'll start getting documentation about how to migrate.


pgpBl2XAzevk6.pgp
Description: PGP signature


Re: [rt-users] RTx::EmailCompletion config problems

2008-11-17 Thread Jac Gubbels GUBBELS
Hi Aaron,

You might need to make symbolic link from RTx-EmailCompletion to 
EmailCompletion as apparently that is what RT is looking for.

in /opt/rt3/local/plugins/ do

ln -s EmailCompletion RTx-EmailCompletion

Hope that helps

-- Jac
winmail.dat___
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

Re: [rt-users] RTx::EmailCompletion config problems

2008-11-17 Thread Jac Gubbels GUBBELS
Ok, but the link you need points from RTx-EmailCompletion to EmailCompletion. 
The EmailCompletion dir is created by the install script, but the link to it 
has to be made manually as RT is looking for RTx-EmailCompletion directory. The 
Heritage of earlier versions of this plugin I think. So I think you got my 
point backwards :-)

-- Jac Gubbels

PS: I have cc-ed this message (striped of your personal data) to the rt users 
list. So others can benefit from it as well.

 Sent: Monday, November 17, 2008 9:47 PM
 To: Jac Gubbels GUBBELS
 Subject: Re: [rt-users] RTx::EmailCompletion config problems

 Thanks for the input but unfortunately not, I checked the plugins directory 
 and in fact the plugin folder is named 
 EmailCompletion already so symbolic link wouldn't work. Alas we are still 
 without email completion.
 Regards,
 Aaron Guise

___
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] RTx::EmailCompletion config problems

2008-11-16 Thread Aaron Guise
I'm having problems properly configuring RTx::EmailCompletion. I found this
extention through the RT Wiki, I have installed it correctly but I still
don't have any auto-completions occuring.
I have checked the Readme contained with the extension and cannot for the
life of me see why it isn't working, seemed simple enough.

So far, I've tried to install the module manually (Normal perl module
install), also after this didn't work I tried to install via CPAN. Again
this seems to end up with the same result.

I'm using RT 3.8.0 on Debian Etch with Apache/1.3.34 (Debian),mod_perl.

Can anyone point me in the right direction to get this working?

*Regards,*

*Aaron Guise
  07 854 7824
027 212 6638
[EMAIL PROTECTED]
 *
___
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

Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?

2008-11-11 Thread Alex Young
Thanks for the help, I finally had time to look into this further. It
was my mistake, I thought each plugin needed its own @Plugin line in the
RT_SiteConfig.pm. Once I put all the plugins in the one line it worked
fine! Not sure why I could get RTFM and ExtAuth working correctly
before, but it's all working now. Thanks again.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Falcone
Sent: 21 October 2008 00:47
To: RT Users
Subject: Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?


On Oct 20, 2008, at 4:05 PM, Alex Young wrote:

 I just tried it again.

 If I load the RTx-EmailCompletion plugin first, RTFM works, but
 RTx-EmailCompletion doesn't. If RTFM is loaded first, the other  
 doesn't.
 Very odd.

It works fine here both ways,

Set(@Plugins,(qw(RTx::EmailCompletion RT::FM)));
and the flipped version

Its worth turning on debug logging and seeing if you see the sql
from EmailCompletion and checking what modules are actually
loaded in Configuration - Tools - SystemConfiguration

-kevin

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
 Falcone
 Sent: 20 October 2008 23:43
 To: RT Users
 Subject: Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?


 On Oct 20, 2008, at 12:38 PM, Alex Young wrote:

 Sorry for spamming the list a bit tonight, I'm just going through
 all the outstanding support requests I have had from the RT users
 that I haven't been able to fix myself.

 I have a few extensions installed, but if I install RTx-
 EmailCompletion I no longer have RTFM showing in the RT interface.
 If I disable RTx-EmailCompletion, RTFM returns. It's a little odd.

 I have been enabling RTx-EmailCompletion in RT_SiteConfig.pm with
 the following line:
 Set(@Plugins,(qw(RTx::EmailCompletion)));

 Is it something I have done wrong, or just missing? RTx-
 EmailCompletion does work a treat in 3.8.1 when its installed.

 I just installed RTx-EmailCompletion along with my testing install of
 RTFM and everything seems
 to work fine.

 -kevin
 ___
 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


___
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
___
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] RTx-EmailCompletion and RTFM incompatible?

2008-10-20 Thread Alex Young
Sorry for spamming the list a bit tonight, I'm just going through all
the outstanding support requests I have had from the RT users that I
haven't been able to fix myself.

 

I have a few extensions installed, but if I install RTx-EmailCompletion
I no longer have RTFM showing in the RT interface. If I disable
RTx-EmailCompletion, RTFM returns. It's a little odd.

 

I have been enabling RTx-EmailCompletion in RT_SiteConfig.pm with the
following line:

Set(@Plugins,(qw(RTx::EmailCompletion)));

 

Is it something I have done wrong, or just missing? RTx-EmailCompletion
does work a treat in 3.8.1 when its installed.

 

Thanks.

___
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

Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?

2008-10-20 Thread Kevin Falcone

On Oct 20, 2008, at 12:38 PM, Alex Young wrote:

 Sorry for spamming the list a bit tonight, I’m just going through  
 all the outstanding support requests I have had from the RT users  
 that I haven’t been able to fix myself.

 I have a few extensions installed, but if I install RTx- 
 EmailCompletion I no longer have RTFM showing in the RT interface.  
 If I disable RTx-EmailCompletion, RTFM returns. It’s a little odd.

 I have been enabling RTx-EmailCompletion in RT_SiteConfig.pm with  
 the following line:
 Set(@Plugins,(qw(RTx::EmailCompletion)));

 Is it something I have done wrong, or just missing? RTx- 
 EmailCompletion does work a treat in 3.8.1 when its installed.

I just installed RTx-EmailCompletion along with my testing install of  
RTFM and everything seems
to work fine.

-kevin
___
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


Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?

2008-10-20 Thread Alex Young
I just tried it again.

If I load the RTx-EmailCompletion plugin first, RTFM works, but
RTx-EmailCompletion doesn't. If RTFM is loaded first, the other doesn't.
Very odd.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Falcone
Sent: 20 October 2008 23:43
To: RT Users
Subject: Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?


On Oct 20, 2008, at 12:38 PM, Alex Young wrote:

 Sorry for spamming the list a bit tonight, I'm just going through  
 all the outstanding support requests I have had from the RT users  
 that I haven't been able to fix myself.

 I have a few extensions installed, but if I install RTx- 
 EmailCompletion I no longer have RTFM showing in the RT interface.  
 If I disable RTx-EmailCompletion, RTFM returns. It's a little odd.

 I have been enabling RTx-EmailCompletion in RT_SiteConfig.pm with  
 the following line:
 Set(@Plugins,(qw(RTx::EmailCompletion)));

 Is it something I have done wrong, or just missing? RTx- 
 EmailCompletion does work a treat in 3.8.1 when its installed.

I just installed RTx-EmailCompletion along with my testing install of  
RTFM and everything seems
to work fine.

-kevin
___
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
___
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


Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?

2008-10-20 Thread Frances Albemuth
 If you've got changes under local/, you might try moving those
somewhere else temporarily, dumping your mason cache, and checking to
see if the issue continues.

On Mon, Oct 20, 2008 at 5:05 PM, Alex Young
[EMAIL PROTECTED] wrote:
 I just tried it again.

 If I load the RTx-EmailCompletion plugin first, RTFM works, but
 RTx-EmailCompletion doesn't. If RTFM is loaded first, the other doesn't.
 Very odd.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
 Falcone
 Sent: 20 October 2008 23:43
 To: RT Users
 Subject: Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?


 On Oct 20, 2008, at 12:38 PM, Alex Young wrote:

 Sorry for spamming the list a bit tonight, I'm just going through
 all the outstanding support requests I have had from the RT users
 that I haven't been able to fix myself.

 I have a few extensions installed, but if I install RTx-
 EmailCompletion I no longer have RTFM showing in the RT interface.
 If I disable RTx-EmailCompletion, RTFM returns. It's a little odd.

 I have been enabling RTx-EmailCompletion in RT_SiteConfig.pm with
 the following line:
 Set(@Plugins,(qw(RTx::EmailCompletion)));

 Is it something I have done wrong, or just missing? RTx-
 EmailCompletion does work a treat in 3.8.1 when its installed.

 I just installed RTx-EmailCompletion along with my testing install of
 RTFM and everything seems
 to work fine.

 -kevin
 ___
 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
 ___
 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

___
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


Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?

2008-10-20 Thread Kevin Falcone

On Oct 20, 2008, at 4:05 PM, Alex Young wrote:

 I just tried it again.

 If I load the RTx-EmailCompletion plugin first, RTFM works, but
 RTx-EmailCompletion doesn't. If RTFM is loaded first, the other  
 doesn't.
 Very odd.

It works fine here both ways,

Set(@Plugins,(qw(RTx::EmailCompletion RT::FM)));
and the flipped version

Its worth turning on debug logging and seeing if you see the sql
from EmailCompletion and checking what modules are actually
loaded in Configuration - Tools - SystemConfiguration

-kevin

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
 Falcone
 Sent: 20 October 2008 23:43
 To: RT Users
 Subject: Re: [rt-users] RTx-EmailCompletion and RTFM incompatible?


 On Oct 20, 2008, at 12:38 PM, Alex Young wrote:

 Sorry for spamming the list a bit tonight, I'm just going through
 all the outstanding support requests I have had from the RT users
 that I haven't been able to fix myself.

 I have a few extensions installed, but if I install RTx-
 EmailCompletion I no longer have RTFM showing in the RT interface.
 If I disable RTx-EmailCompletion, RTFM returns. It's a little odd.

 I have been enabling RTx-EmailCompletion in RT_SiteConfig.pm with
 the following line:
 Set(@Plugins,(qw(RTx::EmailCompletion)));

 Is it something I have done wrong, or just missing? RTx-
 EmailCompletion does work a treat in 3.8.1 when its installed.

 I just installed RTx-EmailCompletion along with my testing install of
 RTFM and everything seems
 to work fine.

 -kevin
 ___
 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


___
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


Re: [rt-users] RTx::EmailCompletion 0.02

2007-05-16 Thread Subredu Manuel
 Nice tool. But I do not find the point of choosing from _all_ email
addresses in the database. I changed in Ajax/EmailCompletion, from LIKE
in STARTSWITH since I find it more useful this way.
 Maybe a configuration item should be added to set the behavior to LIKE
or STARTSWITH ;)

Nicolas Chuche wrote:
 Hi,
 
 RTx::EmailCompletion 0.02 just hit cpan :
 http://search.cpan.org/~nchuche/RTx-EmailCompletion-0.02/
 
 -+-+-+-+-+-+-
 Changes for 0.02
 
  * allow email completion for unprivileged users (disable by
 default). See README
  * add debugging tools to find input tags found by emailcompletion.js
 ___
 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
___
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


Re: [rt-users] RTx::EmailCompletion 0.02

2007-05-16 Thread Nicolas Chuche

On 5/16/07, Subredu Manuel [EMAIL PROTECTED] wrote:

 Nice tool. But I do not find the point of choosing from _all_ email
addresses in the database.


What kind of subset do you need ?


I changed in Ajax/EmailCompletion, from LIKE
in STARTSWITH since I find it more useful this way.


Here our mail are [EMAIL PROTECTED] and i like to be able
to find people with just the lastname.


 Maybe a configuration item should be added to set the behavior to LIKE
or STARTSWITH ;)


Hum. Why not.
___
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


Re: [rt-users] RTx::EmailCompletion 0.02

2007-05-16 Thread Subredu Manuel


Nicolas Chuche wrote:
 I changed in Ajax/EmailCompletion, from LIKE
 in STARTSWITH since I find it more useful this way.
 
 Here our mail are [EMAIL PROTECTED] and i like to be able
 to find people with just the lastname.

 ofc. Anyone has the right to make a extension for him, and eventually
make it available for other people.

 
  Maybe a configuration item should be added to set the behavior to LIKE
 or STARTSWITH ;)
 
 Hum. Why not.

 I'm thinking that the best way to do this, is to have a configuration
variable with all the values supported by DBIx::SearchBuilder. Example:

 # Currently, the values supported by this parameter are the ones from
 # DBIx::SearchBuilder man page:
 #  *) LIKE
 #  *) STARTSWITH
 #  *) ENDSWITH
 #  *) MATCHES
 # See the DBIx::SearchBuilder man page for details related to this
 # parameters
 Set($EmailCompletionSearch,LIKE);


PS: If LIKE is used, % -es are redundant, since DBIx::SearchBuilder adds
them when LIKE, STARTSWITH and ENDSWITH are used.
___
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] RTx::EmailCompletion 0.02

2007-05-15 Thread Nicolas Chuche

Hi,

RTx::EmailCompletion 0.02 just hit cpan :
http://search.cpan.org/~nchuche/RTx-EmailCompletion-0.02/

-+-+-+-+-+-+-
Changes for 0.02

 * allow email completion for unprivileged users (disable by
default). See README
 * add debugging tools to find input tags found by emailcompletion.js
___
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