Roundcube Community Forum

 

Recipient To Contacts Plugin

Started by Vlad, October 28, 2010, 03:49:13 AM

Previous topic - Next topic

Vlad

We've created a new plugin for RoundCube called 'Recipient To Contact'. The idea is somewhat similar to automatic_addressbook plugin: after the email has been sent, it checks whether recipients (To/Cc/Bcc) already exist in address book, and if not, it shows a from to quickly add selected contacts to or different address books.

The plugin doesn't require additional database table (unlike automatic_addressbook) and uses address books, which are set in the config file.

Recipient To Contact requires jQuery UI plugin and is compatible with RoundCube v0.4.

You can obtain it from GitHub namesco's Roundcube-Plugin-Recipient-To-Contact at master - GitHub

This is a first release, so feedback and patches are very welcome.

Vlad


timtraver

Hi!

I like this plugin. It works great.

Is there a way to have the groups that have been created in that list of address books so that you can automatically add them to a group?

I would imagine if a user added it to a group, that you would first have to add the contact to the parent address book, and then add it into the group...

That would be a great addition to this plugin!

Let me know if that is possible.

Thanks,

Tim

chichi

Thanks for this exellent Plugin.

Adding the contact to the adressbook is great, .. It would be awesome to add them to a specific group, as mentioned.

Vlad

Hi!

Yes, I can do it. There shouldn't be any problems with that.

toootooo

Hi Vlad!

I'am using '0.1.2' version and I have such PHP Warning in error_log file:

Missing argument 1 for recipient_to_contact::add_contact() in /usr/local/etc/httpd/webmail/plugins/recipient_to_contact/recipient_to_contact.php on line 210, referer: /?_task=mail&_mbox=mail%2FSent&_refresh=1

Vlad

Hi toootooo,

this has been fixed in master branch. Actually, I'll probably rollout a new 0.1.3 release very soon.

Vlad

v0.1.3 is out.
https://github.com/namesco/Roundcube-Plugin-Recipient-To-Contact/blob/master/recipient_to_contact/CHANGELOG

This is a minor bugifix release. Fixes a bug with warning in logs and handles properly 'read reciept' emails.

A new version, supporting contact groups, will be released soon as well.

rosali

Regards,
Rosali

toootooo

It works fine now. Have no warnings in logs.

rosali

Sorry, I was unprecise.

Vlad, are there any news about ...

QuoteA new version, supporting contact groups, will be released soon as well.

... ?
Regards,
Rosali

ericpepin

Quote from: Vlad;31155Recipient to contact v0.1.2 is released now. Primaraly it's a bugfix release. Full changelog: https://github.com/namesco/Roundcube-Plugin-Recipient-To-Contact/blob/master/recipient_to_contact/CHANGELOG

Thanks alot, its really helpful.

rosali

#12
The plugin is incompatible with keyboard_shortcurts plugin. Shortcuts have to be disabled when adding contact dialog appears.

It also does not work properly along compose_newwindow plugin.
Regards,
Rosali

Vlad

Sorry for the delay. Christmas, New Year, holidays => total chaos at work. However, the plugin hasn't been abandoned and new versions are coming.

And thanks for pointing out incompatibility bugs. I'll have a look

rosali

#14
keyboard_shortcuts:
You should disable shortcuts when dialog is openend. Otherwise shortcuts are executed when filling the form.

compose_newwindow:
message_list hook does not work because composing goes in a popup window and message list stays without being refreshed as usual when composing in the main screen.

Everything else looks fine to me. Thanks for the great plugin.

EDIT: Your plugin will be a great replacement for my automatic_addressbook plugin!
Regards,
Rosali