Giter VIP home page Giter VIP logo

roundcube-plugin-recipient-to-contact's People

Contributors

diablo81 avatar gasparenovara avatar lightstream avatar mckaygerhard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roundcube-plugin-recipient-to-contact's Issues

Broken for 0.8-rc

The recipient-to-contact plugin appears to be broken for 0.8-rc. A window pops up but after a moment, the user is logged out with "Your session is invalid or expired".

Fatal error on RoundCube 1.2 - easy fix

I've not extensively tested, but changing the 3 references to $rcube_imap->decode_address_list to rcube_mime::decode_address_list prevents the PHP fatal error when running with RoundCube 1.2.

Problem with status bar Larry Skin ...

When use this plugin with roundcube 0.9.5 and "larry skin".
After the dialog to save a contact the message Loading ...
still in status bar from mail menu.

config.inc.php

$rcmail_config['recipient_to_contact_addressbooks'] = array();
$rcmail_config['recipient_to_contact_enabled_by_default'] = false;
$rcmail_config['recipient_to_contact_use_groups'] = false;

if not retrieve all contact list, offers added ON EVERY RELOAD!

as said @Halfwalker in #14 , if address are not added and cassuality there's and address book readonly, the forms will continue to show and offers in every reload of the mail tab...

this error may be the cause of the #14 due contact are not checked in all contact list,

that its happened due when u retrieve the lists, only retrieve those can write, and of course, the results are that contact are not in "currently retrieved" lists.. but still are in the read-only list ..

this are in the line 363 of recipient_to_contact.php , so if contact are not in any list retreive here.. will offer to added to personal list.. but contact already are, but the list not retrieved are readonly or are not specify in the config files or default adressbooks

Dialog keeps showing up after it was closed

Sometimes, when you close the dialog and reload the inbox (by either reloading the page, clicking in "Mail", or clicking the RC logo) the dialog reappears.
This occurs because of the following:
Whenever there is an ajax request that starts before the plugin.recipient_to_contact_get_contacts request ends, and also ends after it, then the session variable (recipient_to_contact) that is removed by the get_contacts request, is overwritten by the other request. To explain it better:

  • Request X starts and loads the recipient_to_contact session variable which is not empty
  • Request get_contacts starts and loads the same variable
  • Request get_contacts ends and removes recipient_to_contact from session and stores the session
  • Request X ends and stores the recipient_to_contact variable it loaded when it started
    In my case, request X is usually the "getunread" request.

To solve this, I had 2 ideas:

  1. Use cookies to store the recipient_to_contact array instead of session variables.
  2. Send an additional request, when closing the dialog, that resets the recipient_to_contact variable.

Check ALL addressbooks before offering to save

Only sort of an issue. I think R-T-C needs to check all addressbooks of a particular type for the contact info before offering to save as a new contact. For example, in my configuration I have

main.inc.php - autocomplete_addressbooks = array('sql');
config.in.php - recipient_to_contact_addressbooks = array();

I'm also using the google_addressbook plugin, which creates a "Google Addressbook" addressbook, stored in mysql (contacts_google table) synced down from Google.

When sending an email to somone from the google contact list, R-C-T still pops up and offers to save the info. So it's not checking the google addressbook.

While I don't currently use ldap, I can definitely see a situation where some might be using more than one ldap directory. Would R-T-C check all of them ?

error, writing in all addressbook due not parsing proper flags when retrieve lists

i have using global_adressbook plugin and when user dialog appears, r-t-c permits user to write into global address book,

i search in code and see that funtion "get_addressbooks(array ids, writable=false)" dont make sense on "writable" flag in your function

so then in config file must be a oiption to parse this flag to plugin and could set!

The plugin does not work when compose/answer in a new window

Hi,

I find that, at least in recent versions of Roundcube (1.4.x), when using this plugin, Recipient To Contact, if I have Roundcube configured to compose new emails or reply emails in a new window, once the email is sent, when the plugin dialog should appear requesting the contact information to add, it does not appear.

But I have verified that if after sends the email I press the Mail button (in the main menu) to reload the email list, the plugin dialog box mysteriously appears, apparently hidden and waiting. If I complete the form data and press the Save button, the new contact is saved, but the Loading message remains active at the bottom of the Roundcube window.

If instead of having Roundcube configured to compose or answer emails on a new window, I disable that option, the plugin works correctly.

Is there a chance that they will review this issue?

Thanks in advance

problem with cpanel account

hai,

I am configured it properly as per your instructions and the plugin not working in my cPanel.

Any Idea ๐Ÿ‘

Logged out just before beeing able to click to save button

I'm using RoundCube version 0.6 and recipient_to_contact plugin version 0.2.

I'm always logged out just before I can click to save button. The page is not totally loaded when I'm logged aout with a "Session expiration" error message.

Roundcube server error "Not found" when using plugin

With Roundcube in version 0.5.3 there is a server error "Not found" when the plugin appears after sending a mail and when I'm trying to save a new address. It's not possible to save a new address. Sometimes I also got logged out. I'm using release 0.2 and also the plugin 'global_addressbook'.

Saving error when saving current option again

When I save the current preferences option "Use recipients to contacts plugin" again, then I got a saving error. Because the option is currently set there is no problem for using the plugin, but it is confusing. There is nor error when saving the opposite option.

roundcube 1.21 crash on send

this plugin causes the email not to able to send with my recently updated roundcube 1.2.1
anyone aware of a fix?

Incompatible with compose_newwindow plugin

Compose_newwindow doesn't reload the page, when an email has been sent. That is, the plugin's JS isn't even loaded and no new recipients are captured.

Need to find workaround for this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.