View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013788 | mantisbt | plug-ins | public | 2012-01-22 23:42 | 2016-06-12 00:42 |
Reporter | leemouse | Assigned To | vboctor | ||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.8 | ||||
Target Version | 1.3.0-rc.2 | Fixed in Version | 1.3.0-rc.2 | ||
Summary | 0013788: Add EVENT_USER_DISPLAY_AVATAR to enable plugins to use LDAP and Social Networks | ||||
Description | It's a feature request. | ||||
Tags | avatar | ||||
related to | 0008257 | acknowledged | store avatar local | |
has duplicate | 0010546 | closed | vboctor | Add plugin event for EVENT_USER_DISPLAY_AVATAR |
has duplicate | 0019319 | closed | vboctor | Add support for own gravatar site |
related to | 0020641 | closed | vboctor | When $g_show_avatar = OFF, no avatar should be displayed |
related to | 0020642 | closed | vboctor | Avatar settings should be moved to plugin config page |
What exactly do you store in your LDAP user's profile - link to an image , bytes ? |
|
Found this: http://www.openldap.org/doc/admin24/schema.html |
|
I exactly store octet stream (bytes) in my LDAP user's profile. |
|
I think this will require some rethinking of the user image handling, as it is more or less set towards gravatar. I do not plan to handle this in the short term, but I wanted to clarify the requirements. |
|
O, minimal requirements is very simple. |
|
How about the following requirements:
|
|
Yes, vboctor, your solution is the best! :-) |
|
(In reply to comment 0013788:0031050)
Yup, sounds like something to move out of core to plugins.
+1
As long as we allow a plugin to return multiple avatars we can always design a chaining avatar plugin which combines individual avatar plugins. So less complexity to core in handling chaining. I'm considering the same pattern for a (blue-sky, 2050-style) federated login sources for MantisBT. |
|
MantisBT: master f28e25ba 2016-01-24 16:13 Details Diff |
Support avatar plugins Add the necessary events to enable development of avatar providers for scenarios like retrieving avatars from local file syste, LDAP, social identities, etc. As a proof of the events and a sample, this change also refactors Gravatar integration into a core plugin. Fixes 0013788 |
Affected Issues 0013788 |
|
mod - admin/schema.php | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
add - core/classes/Avatar.class.php | Diff File | ||
mod - core/classes/TimelineEvent.class.php | Diff File | ||
mod - core/events_inc.php | Diff File | ||
mod - core/http_api.php | Diff File | ||
mod - core/print_api.php | Diff File | ||
mod - core/user_api.php | Diff File | ||
mod - docbook/Developers_Guide/en-US/Events_Reference_Account.xml | Diff File | ||
mod - docbook/Developers_Guide/en-US/Events_Reference_Output.xml | Diff File | ||
add - images/avatar.png | Diff File | ||
add - plugins/Gravatar/Gravatar.php | Diff File | ||
add - plugins/Gravatar/lang/strings_english.txt | Diff File | ||
MantisBT: master 1ef60566 2016-02-27 19:37 Details Diff |
Support avatar plugins Add the necessary events to enable development of avatar providers for scenarios like retrieving avatars from local file system, LDAP, social identities, etc. As a proof of the events, sample, and feature parity with previous implementation, this change also refactors Gravatar integration into a core plugin. Fixes 0013788 |
Affected Issues 0013788 |
|
mod - .gitignore | Diff File | ||
mod - admin/schema.php | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
add - core/classes/Avatar.class.php | Diff File | ||
mod - core/classes/TimelineEvent.class.php | Diff File | ||
mod - core/events_inc.php | Diff File | ||
mod - core/http_api.php | Diff File | ||
mod - core/install_helper_functions_api.php | Diff File | ||
mod - core/print_api.php | Diff File | ||
mod - core/user_api.php | Diff File | ||
mod - docbook/Developers_Guide/en-US/Events_Reference_Account.xml | Diff File | ||
add - images/avatar.png | Diff File | ||
add - plugins/Gravatar/Gravatar.php | Diff File | ||
add - plugins/Gravatar/README.md | Diff File | ||
add - plugins/Gravatar/lang/strings_english.txt | Diff File | ||
MantisBT: master 341e1baf 2016-04-21 07:32 Details Diff |
Rendering avatars for deleted users triggers error Fixes 0013788 |
Affected Issues 0013788 |
|
mod - core/classes/Avatar.class.php | Diff File |