aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard_legacy.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_vcard_legacy: Include avatar data even if metadata can't be loadedKim Alvefur2018-09-071-3/+4
| | | | | | | | | Normally both nodes should have the same configuration and matching items, but we can't depend on it without having some code that enforces it, which does not exist at the time of this commit. Including the avatar itself should be prioritised. The image format can be derived from magic bytes.
* mod_vcard_legacy: Return old vcard if neither vcard4 or avatar availableKim Alvefur2018-09-071-0/+4
|
* mod_vcard_legacy: Handle avatar without vcard4Kim Alvefur2018-09-071-4/+0
| | | | | | | Since vcards are just avatar containers in many modern clients, aborting in case of no vcard4 data is not optimal. The upgrade mechanism needs further tweaks.
* mod_vcard_legacy: Rename variable for consistencyKim Alvefur2018-09-071-2/+2
| | | | | The variable holding the PEP service was `pep_service`, except in the XEP-0153 section.
* mod_vcard_legacy: Return error in case saving avatar failsKim Alvefur2018-09-061-2/+7
|
* mod_vcard_legacy: Factor out error handling into a functionKim Alvefur2018-09-061-5/+11
| | | | This is a lite version of pubsub_error_reply() in mod_pubsub
* mod_vcard_legacy: Use correct method to clear avatar dataKim Alvefur2018-09-061-1/+1
|
* mod_vcard_legacy: Announce feature on bare JID per XEPKim Alvefur2018-09-011-1/+3
|
* mod_vcard_legacy: Clear avatars on setting a vcard-tempKim Alvefur2018-09-011-0/+4
| | | | Otherwise it is not possible to remove avatars
* mod_vcard_legacy: Support external avatarsKim Alvefur2018-09-011-0/+2
|
* mod_vcard_legacy: Handle incomplete avatar infoKim Alvefur2018-09-011-5/+9
|
* mod_vcard_legacy: Respond with old vcardKim Alvefur2018-08-211-0/+6
|
* mod_vcard_legacy: Respond to attempts to set the legacy vcard-tempKim Alvefur2018-08-211-0/+123
|
* mod_vcard_legacy: Add support for address fieldKim Alvefur2018-08-211-0/+15
|
* mod_vcard_legacy: Include avatar data from XEP-0084 PEP nodeKim Alvefur2018-08-201-0/+14
|
* mod_vcard_legacy: Add translation of telephone fieldKim Alvefur2018-09-011-0/+14
|
* mod_vcard_legacy: Add translation of email fieldKim Alvefur2018-09-011-0/+13
|
* mod_vcard_legacy: Attach vcard-temp avatar hash to outgoing presenceKim Alvefur2018-08-201-0/+19
|
* mod_vcard_legacy: Responds to vcard-temp queries with translated vcard4 dataKim Alvefur2018-08-211-0/+55