aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard_legacy.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_vcard_legacy: Use PEP nickname if vcard4 data is unavailableKim Alvefur2019-08-221-0/+8
| | | | | | | Last remaining nice feature from mod_profile. Allows setting eg nickname and avatar as completely public while restricting private details in vcard4 to only contacts.
* mod_vcard_legacy: Complete roundtrip support for ORG/ORGNAMEKim Alvefur2019-08-021-0/+4
| | | | vcard-temp -> vcard4 worked previously but not the other way around
* mod_vcard_legacy: Add support for JABBERID - impp/uri conversionKim Alvefur2019-01-191-0/+9
|
* mod_vcard_legacy: Handle partial migrationKim Alvefur2019-01-261-22/+34
| | | | | Eg in case the user already published an avatar, migrate only the vcard, and vice versa.
* mod_vcard_legacy: Allow disabling vcard conversionKim Alvefur2019-01-251-0/+2
| | | | Once everyone has been migrated it might be nice to skip these checks
* mod_vcard_legacy: Don't overwrite existing PEP dataKim Alvefur2019-01-251-1/+8
|
* mod_vcard_legacy: Add some missing semicolonsKim Alvefur2019-01-251-2/+2
|
* mod_vcard_legacy: Upgrade vcard-temp on login (fixes #1289)Kim Alvefur2019-01-101-4/+18
|
* mod_vcard_legacy: Adapt node defaults to number of avatarsKim Alvefur2019-01-111-2/+10
|
* mod_vcard_legacy: Factor out conversion from vcard-temp to 4Kim Alvefur2019-01-111-18/+31
|
* mod_vcard_legacy: Limit injection of XEP-0153 to normal presence (fixes #1252)Kim Alvefur2018-12-011-0/+1
|
* mod_vcard_legacy: Pass node defaults to publish instead of createKim Alvefur2018-10-201-8/+3
| | | | | | The create calls were introduced in 62fa766d8f3 but work on this started a while before 038446c50630 allowed passing the _defaults_only flag to publish.
* mod_vcard_legacy: Create nodes with open access (fixes #1221)Kim Alvefur2018-10-181-0/+10
| | | | | | | | | | | Less drastic change from mod_vcard where everything is always public. This allows users to configure nodes without needing to for the old behaviour. Thanks to 038446c50630 users may still override this. Due to #1222 this may still not apply if the node has already been created by an automatic subscription
* mod_vcard_legacy: Add some notesKim Alvefur2018-09-091-0/+2
|
* mod_vcard_legacy: Fix EXTVAL conversion (thanks pep.)Kim Alvefur2018-09-091-1/+1
| | | | Good thing uri and url doesn't look similar at all!
* mod_vcard_legacy: Fix uppercase tag name (thanks pep.)Kim Alvefur2018-09-091-1/+1
| | | | Must have slipped on my shift key
* 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