-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show_images undocumented change #8268
Comments
Also, when show_images=1 the "add to contacts" button is still showed, even though the sender IS in an addressbook - perhaps related to #7961 or to the issue above -- and clicking "add to contacts" generates an "Already exists in addressbook"-error |
The description in the config file is indeed mixed. I fixed that. In 1.4 show_images=1 was using the default addressbook, which was a problem if you had more addressbooks. That was one of the reasons for the change. Now show_images=1 uses the "Trusted sender" addressbook only. So, the expected behavior is:
There is also So, tell me what is not working as described? |
In 1.4 show_images=1 was the default addressbooks (I think it was even "all addressbooks")? Now it's not? now it requires to be in TYPE_TRUSTED_SENDER? So it changes functionality on upgrade. 3 is the new 1. Or maybe it's the broken "add to contacts" and "allow" buttons when running show_images=1 that is breaking the usage. |
show_images=1 was never "all addressbooks", it was the default addressbook only. So, neither 1 nor 3 is the same as before, but I see the migration problem. That being said, I'm not sure we'll change anything at this point. I don't see what problem do you have with "Add to contacts" button, it always added contacts to the default addressbook, and should act the same way in 1.5. |
But now show_images=1 is Old function:
|
If you set show_images=1 and the contact is in the addressbook, clicking the "Always allow from" just generates an error-popup |
Ok, I see where's the issue. The addcontact request should contain a |
I really think this is wrong: 7e4bac4 Changing functionality like this. show_images=1 does not work like it did in 1.4. |
Re you observations in #8624, changing the trusted senders to personal addresses does indeed solve the problem. But to find this broken after an upgrade with no obvious clue as to what to do about it is a nasty surprise. It is not at all clear to me why the fact a contact is in my address book should prevent me from making them an exception for showing images. Surely if the contact is already there it should just update the contact to allow the exception rather than tryin to add a new contact to a different address book. Anyway, my immediate problem is now dealt with, thank you. |
I fixed the problem described in #8264. I'll consider swapping option 1 and 3 of show_images. |
Thank you! |
Option 1 and 3 have been swapped. Fixed. |
This
roundcubemail/program/actions/mail/index.php
Line 868 in a94c2a3
Does not match with this:
roundcubemail/config/defaults.inc.php
Line 1283 in 0217dec
or this:
roundcubemail/program/actions/settings/index.php
Line 618 in d7338a4
In the past show_images=1 was all contacts, now it's been changed to "only trusted"? In any case this has broken the previous show_images=1 functionality - which is really, really bad.
Don't know if it's because this does not work as intended:
roundcubemail/program/actions/mail/index.php
Line 873 in a94c2a3
The text was updated successfully, but these errors were encountered: