Hi Jeff
Currently all contact names and mail addresses are retrieved from the database and stored in javascript when opening the compose step. There's not AJAX request that performs a search operation on the server, it's all done client-side with javascript. That's also the reason why the LDAP contacts are not accessible while composing because the current method would probably exhaust the client's resources.
I guess we have to add some sort of a complete button next to the address fields that sends the content of one address field to the server which then tries to complete the recipients based on the local address book and the LDAP directory. MS Web-Outlook has some similar functionality. Depending on the LDAP performance a live-search could also be possible.
I hope this explanation helps you to understand how the address completion works. To discuss this further on, please subscribe and post to the dev-mailing list.
Regards, Thomas
On 4/5/06, Jeff Davis pyperdown@gmail.com wrote:
Thanks, Thomas...
I'm relatively new to this type of development - can you tell me which modules handle the address search during mail composition? I'd kinda like to take a stab at this myself. To my sometimes limited mind the logic required seems relatively straightforward, but since I have very little experience with PHP or AJAX, I suspect it will be slow going initially.
Thanks,
-Jeff
On 4/3/06, Thomas Bruederli roundcube@gmail.com wrote:
It's on the road map...
Thomas
On 4/3/06, Jeff Davis pyperdown@gmail.com wrote:
OK. Is there a way to get the ldap search to work "while you type" in the address field while composing e-mail? LDAP lookup works, but rather cumbersome to use compared to say thunderbird.
On 4/3/06, Thomas Bruederli roundcube@gmail.com wrote:
T. Shoes wrote:
Just happened to notice two new icons in the "Address Book" portion of Beta 1. (at least I believe them to be new, since I've never noticed them until now)
LDAP searching and Exporting
Are these options active yet, or just place holders for new features?
Exporting has been there since 0.1 alpha but is not active because it's not implemented.
The LDAP search is new and it will become active if you configure an LDAP directory in config/main.inc.php
-- There is no "I" in team, but there is "Iran" in "Uranium"..
Regards,Thomas
On Thu, Apr 06, 2006 at 09:05:29AM +0200, Thomas Bruederli wrote:
I guess we have to add some sort of a complete button next to the address fields that sends the content of one address field to the server which then tries to complete the recipients based on the local address book and the LDAP directory. MS Web-Outlook has some similar functionality. Depending on the LDAP performance a live-search could also be possible.
A "complete Button" is so unAjax ;-).
IMHO it should work in a similar way as now - e.g. with some kind of "TypeAhead" mechanism. If you stop typing for a while RC should try to fetch addresses based on the input. If it finds less than X results, they should be listed.
Balu