aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | util.pposix: Do not attempt to assign to stdio variables [pedantic]Kim Alvefur2018-09-071-3/+3
| | | | | | | | | | | | Fixes build on gcc 6.4.0 See also https://stackoverflow.com/a/586416
* | mod_auth_insecure: Accept any username/password (import of mod_auth_any from ↵Matthew Wild2018-09-071-0/+53
| | | | | | | | prosody-modules)
* | mod_pubsub: Exclude value of FORM_TYPE from stored dataKim Alvefur2018-09-071-3/+3
| |
* | 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
| |
* | spec/scansion: Add scansion scripts used for testingMatthew Wild2018-09-0613-0/+1474
| | | | | | | | | | | | All past, except issue978-multi which fails randomly based on ordering of elements - this is a scansion issue to be resolved.
* | MUC: Initialize room with empty affiliation_data if none storedMatthew Wild2018-09-041-1/+1
| |
* | MUC: Allow vCard4 requests troughKim Alvefur2018-09-041-1/+1
| |
* | MUC: Allow admins to include a registered nick when setting affiliationMatthew Wild2018-09-041-2/+19
| | | | | | | | This is defined by XEP-0045 section 9.3 "Granting Membership"
* | MUC: Move comment for clarityMatthew Wild2018-09-041-1/+1
| |
* | mod_vcard4: Allow access to the vcard4 PEP node via iq syntaxKim Alvefur2018-08-182-0/+44
| |
* | mod_vcard_legacy: Announce feature on bare JID per XEPKim Alvefur2018-09-012-2/+4
| |
* | 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-212-0/+56
| |
* | mod_blocklist: Store timestamp of blocking to allow age to be determinedKim Alvefur2018-02-151-5/+7
| |
* | mod_pubsub: Fix dataforms error handlingKim Alvefur2018-09-011-8/+27
| | | | | | | | | | The :data method returns the table holding parsed values always. The second return value is a table in case some fields had problems.
* | util.dataforms: Improve default error message for failed datatype validationKim Alvefur2018-09-031-1/+1
| |
* | mod_pubsub: Use dataforms validation to specify that max_items is an integerKim Alvefur2018-09-011-0/+1
| |
* | mod_pubsub: Use field mapping in util.dataformsKim Alvefur2018-09-011-75/+30
| |
* | util.dataforms: Add support for XEP-0122: Data Forms ValidationKim Alvefur2018-09-012-1/+58
| | | | | | | | Initially only basic validation of xs:integer
* | util.dataforms: Allow field names to be different from the 'var' attributeKim Alvefur2018-09-012-2/+17
| | | | | | | | | | | | This should allow the usage of long prefixes and namespace-like names to be contained to the XML representation of the form, so that the code can use more convenient names.
* | configmanager: Allow referencing environment variables in the config as as ↵Matthew Wild2018-09-031-2/+5
| | | | | | | | ENV_<name>
* | MUC: Add support for registering with a MUC, including reserving a nickname ↵Matthew Wild2018-09-032-0/+201
| | | | | | | | as per XEP-0045
* | MUC: Add some comments for clarityMatthew Wild2018-09-031-0/+3
| |
* | MUC: Add support for separate events for disco#info queries with a 'node'Matthew Wild2018-09-031-7/+17
| | | | | | | | Reserved nickname discovery uses this
* | MUC: Add support for storing additional data with MUC affiliationsMatthew Wild2018-09-032-3/+16
| | | | | | | | | | | | XEP-0045 registration provides examples of registering a nickname and various other details. This also allows modules to store arbitrary private data about an affiliated entity.
* | util.pubsub: Expand comment on return type from get_itemsKim Alvefur2018-09-011-1/+1
| |
* | mod_pubsub: Preserve current subscription options if given a partial formKim Alvefur2018-08-311-1/+2
| |
* | mod_pubsub: Fix summary generation for Atom entries to use the correct fieldKim Alvefur2018-08-311-1/+1
| |
* | util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation ↵Kim Alvefur2018-08-311-0/+16
| | | | | | | | for completeness
* | util.pubsub: Comments describing the return values of methodsKim Alvefur2018-08-221-19/+19
| |
* | prosodyctl: Also look for options that belong in global section under ↵Kim Alvefur2018-08-301-1/+4
| | | | | | | | | | | | disabled hosts (fixes #1207) Thanks ivucica
* | util.pubsub: Add 'service' field to all eventsMatthew Wild2018-08-271-7/+7
| |
* | mod_version: Remove redundantKim Alvefur2018-08-241-4/+2
| | | | | | | | What else would @to be in a iq/host event?
* | mod_private, mod_vcard: Use the usual comment on non-get received iqs.Emmanuel Gil Peyrot2018-08-242-2/+2
| |
* | mod_version: Simplify iq handling by hooking on iq-get/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-2/+2
| |