Author Topic: Recipient To Contacts Plugin  (Read 21193 times)

Offline Vlad

  • Jr. Member
  • **
  • Posts: 12
Recipient To Contacts Plugin
« on: October 28, 2010, 03:49:13 AM »
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.

Offline Vlad

  • Jr. Member
  • **
  • Posts: 12
Recipient To Contacts Plugin
« Reply #1 on: November 09, 2010, 05:37:19 AM »
Recipient 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

Offline timtraver

  • Jr. Member
  • **
  • Posts: 36
Possibility
« Reply #2 on: December 01, 2010, 09:06:14 PM »
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

Offline chichi

  • Jr. Member
  • **
  • Posts: 33
Recipient To Contacts Plugin
« Reply #3 on: December 02, 2010, 07:43:27 AM »
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.

Offline Vlad

  • Jr. Member
  • **
  • Posts: 12
Recipient To Contacts Plugin
« Reply #4 on: December 02, 2010, 09:43:36 AM »
Hi!

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

Offline toootooo

  • Jr. Member
  • **
  • Posts: 11
Recipient To Contacts Plugin
« Reply #5 on: December 06, 2010, 05:20:49 AM »
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

Offline Vlad

  • Jr. Member
  • **
  • Posts: 12
Recipient To Contacts Plugin
« Reply #6 on: December 12, 2010, 07:44:48 AM »
Hi toootooo,

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

Offline Vlad

  • Jr. Member
  • **
  • Posts: 12
Recipient To Contacts Plugin
« Reply #7 on: December 13, 2010, 04:41:03 AM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Recipient To Contacts Plugin
« Reply #8 on: December 29, 2010, 09:28:34 AM »
Any news on this?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline toootooo

  • Jr. Member
  • **
  • Posts: 11
Recipient To Contacts Plugin
« Reply #9 on: December 30, 2010, 04:33:54 AM »
It works fine now. Have no warnings in logs.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Recipient To Contacts Plugin
« Reply #10 on: December 30, 2010, 05:51:40 AM »
Sorry, I was unprecise.

Vlad, are there any news about ...

Quote

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


... ?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline ericpepin

  • Newbie
  • *
  • Posts: 1
    • http://ericpepin.wordpress.com/
Recipient To Contacts Plugin
« Reply #11 on: December 30, 2010, 06:56:54 AM »
Quote from: Vlad;31155
Recipient 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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Recipient To Contacts Plugin
« Reply #12 on: December 31, 2010, 12:11:57 AM »
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.
« Last Edit: December 31, 2010, 12:48:09 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Vlad

  • Jr. Member
  • **
  • Posts: 12
Recipient To Contacts Plugin
« Reply #13 on: December 31, 2010, 04:25:23 AM »
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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Recipient To Contacts Plugin
« Reply #14 on: December 31, 2010, 04:46:09 AM »
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!
« Last Edit: December 31, 2010, 04:56:55 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)