Ticket #1484922 (closed Feature Requests: fixed)

Opened 10 months ago

Last modified 7 months ago

turn off auto-completion with ldap books

Reported by: besancon Owned by: till
Priority: 5 Milestone: 0.2-alpha
Component: Core functionality Version: svn-trunk
Severity: normal Keywords: auto completion ldap books
Cc:

Description

In my case, the auto-completion feature, when composing a message, is too slow, because it searches between 5 different ldap and 30 000 contacts, and it is not useful, most of the time, for my users. But they need the access of these ldap books, just in case, and they need autocompletion, but only form their local address book ... So I wanted to *turn-off* auto-completion from the ldap books, and let it search only within the local address book. - added a line in main.inc.php :

$rcmail_config['compose_auto_completion'] = true;

- changed a line in compose.inc, from :

          if (isset($CONFIG['ldap_public'])

to :

if (isset($CONFIG['ldap_public']) and isset($CONFIG['compose_auto_completion'])
 and $CONFIG['compose_auto_completion']===true)

If one developer thinks it would be useful for RC, take this code :)

Thks

Attachments

ldap.diff (1.0 kB) - added by jeblair 8 months ago.

Change History

Changed 10 months ago by till

  • owner set to till
  • status changed from new to assigned

I am thinking it would be more a way to generalize this. It could make sense for people with larger addressbooks as well.

See no reason to not include this.

Changed 10 months ago by till

  • version changed from 0.1-stable to svn-trunk
  • milestone changed from later to 0.2-beta

Changed 9 months ago by thomasb

I would set a property to each ldap server if it should be included in autocompletion rather than using a global config option that completely disables autocompletion.

Changed 8 months ago by jeblair

Changed 8 months ago by jeblair

I have attachad a patch that implements Thomas's suggestion of moving the configuration option to be per-ldap-server.

Changed 7 months ago by alec

  • status changed from assigned to closed
  • resolution set to fixed
  • milestone changed from 0.2-beta to 0.2-alpha

Patch applied in r1493.

Note: See TracTickets for help on using tickets.