Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MUC: Add support for registering with a MUC, including reserving a nickname ↵ | Matthew Wild | 2018-09-03 | 2 | -0/+201 |
| | | | | as per XEP-0045 | ||||
* | MUC: Add some comments for clarity | Matthew Wild | 2018-09-03 | 1 | -0/+3 |
| | |||||
* | MUC: Add support for separate events for disco#info queries with a 'node' | Matthew Wild | 2018-09-03 | 1 | -7/+17 |
| | | | | Reserved nickname discovery uses this | ||||
* | MUC: Add support for storing additional data with MUC affiliations | Matthew Wild | 2018-09-03 | 2 | -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_items | Kim Alvefur | 2018-09-01 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Preserve current subscription options if given a partial form | Kim Alvefur | 2018-08-31 | 1 | -1/+2 |
| | |||||
* | mod_pubsub: Fix summary generation for Atom entries to use the correct field | Kim Alvefur | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation ↵ | Kim Alvefur | 2018-08-31 | 1 | -0/+16 |
| | | | | for completeness | ||||
* | util.pubsub: Comments describing the return values of methods | Kim Alvefur | 2018-08-22 | 1 | -19/+19 |
| | |||||
* | prosodyctl: Also look for options that belong in global section under ↵ | Kim Alvefur | 2018-08-30 | 1 | -1/+4 |
| | | | | | | disabled hosts (fixes #1207) Thanks ivucica | ||||
* | util.pubsub: Add 'service' field to all events | Matthew Wild | 2018-08-27 | 1 | -7/+7 |
| | |||||
* | mod_version: Remove redundant | Kim Alvefur | 2018-08-24 | 1 | -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 Peyrot | 2018-08-24 | 2 | -2/+2 |
| | |||||
* | mod_version: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -2/+2 |
| | |||||
* | mod_uptime: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -5/+3 |
| | |||||
* | mod_time: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -15/+11 |
| | |||||
* | mod_lastactivity: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -13/+11 |
| | |||||
* | mod_disco: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -8/+4 |
| | |||||
* | mod_adhoc: Simplify iq handling by hooking on iq-set/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -20/+18 |
| | |||||
* | MUC: Normalize indentation | Kim Alvefur | 2018-08-22 | 1 | -3/+3 |
| | |||||
* | util.pubsub: Remove unused argument | Kim Alvefur | 2018-08-21 | 1 | -1/+1 |
| | | | | I think this was probably a copy-paste mistake. | ||||
* | mod_vcard: Remove 0.8 COMPAT code | Matthew Wild | 2018-08-19 | 1 | -6/+0 |
| | |||||
* | util.pubsub: Fire item-published/<node> to allow for easier handling of ↵ | Matthew Wild | 2018-08-19 | 1 | -1/+3 |
| | | | | per-node items | ||||
* | util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 | Matthew Wild | 2018-08-19 | 2 | -0/+13 |
| | |||||
* | util.stanza tests: Add tests for maptags() method | Matthew Wild | 2018-08-19 | 1 | -0/+71 |
| | |||||
* | net.server: Throw error when loading outside Prosody or Prosody config not ↵ | Matthew Wild | 2018-08-19 | 1 | -2/+9 |
| | | | | loaded | ||||
* | util.startup: Set flag when config fully loaded | Matthew Wild | 2018-08-19 | 1 | -0/+1 |
| | |||||
* | tests: Add muc/util tests for filtering MUC elements | Matthew Wild | 2018-08-19 | 1 | -0/+35 |
| | |||||
* | mod_pubsub: Add missing default value for deliver_payloads | Kim Alvefur | 2018-08-19 | 1 | -0/+1 |
| | |||||
* | mod_pubsub: Fix boolean value in form | Kim Alvefur | 2018-08-19 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add a semicolon for consistency | Kim Alvefur | 2018-08-19 | 1 | -1/+1 |
| | |||||
* | util.pubsub tests: Fix whitespace | Kim Alvefur | 2018-08-18 | 1 | -2/+2 |
| | |||||
* | util.pubsub tests: Add tests for get_items() | Matthew Wild | 2018-08-18 | 1 | -0/+28 |
| | |||||
* | util.pubsub, pubsub.lib: Improve error on attempt to publish invalid item | Matthew Wild | 2018-08-18 | 2 | -1/+2 |
| | |||||
* | Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes | Matthew Wild | 2018-08-18 | 3 | -3/+29 |
| | |||||
* | mod_pep: Simplify code | Matthew Wild | 2018-08-18 | 1 | -2/+1 |
| | |||||
* | util.pubsub: Fix whitespace [luacheck] | Matthew Wild | 2018-08-18 | 1 | -1/+1 |
| | |||||
* | Backed out changeset 27d800ddc3b0 (see below) | Matthew Wild | 2018-08-18 | 1 | -2/+2 |
| | | | | | | | | | It's uncertain whether item not existing should be success and nil, or fail with an error. XEP-0060's "fetch most recent item" actually fetches a list of up to N items. N here is a maximum, not a minimum. The feeling is that no items is simply an empty list, not a failure of the operation. | ||||
* | util.pubsub: get_last_item(): Fail with item-not-found if no item yet published | Matthew Wild | 2018-08-18 | 1 | -2/+2 |
| | |||||
* | util.pubsub: get_last_item(): Return error if node does not exist | Matthew Wild | 2018-08-18 | 1 | -0/+6 |
| | |||||
* | pubsub.lib, util.pubsub: Move precondition checks to util.pubsub | Matthew Wild | 2018-08-18 | 2 | -33/+20 |
| | |||||
* | mod_pubsub: Advertise support for subscription-options | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Initial support was added in d614003a82c1 | ||||
* | mod_pubsub: Advertise support for node meta-data | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Node metadata in disco initially added in b6cb0a8f75b1 | ||||
* | mod_pep: Remove feature for persistence already added elsewere | Kim Alvefur | 2018-08-18 | 1 | -1/+0 |
| | | | | This is added in pubsub.lib | ||||
* | mod_pep: Remove already included access model feature | Kim Alvefur | 2018-08-18 | 1 | -1/+0 |
| | | | | access-* is added in pubsub.lib based on node defaults | ||||
* | util.pubsub: Add comment to clarify return values | Matthew Wild | 2018-08-18 | 1 | -0/+1 |
| | |||||
* | MUC: Direct PubSub queries to occupants to their real bare JID | Kim Alvefur | 2018-08-18 | 1 | -1/+2 |
| | | | | | This allows accessing PEP nodes of participants without knowing their real JIDs. | ||||
* | util.time: Add brief tests | Kim Alvefur | 2018-08-18 | 1 | -0/+31 |
| | |||||
* | MUC: Fix traceback when failing to restore a room | Matthew Wild | 2018-08-17 | 1 | -0/+3 |
| | | | | | When a room exists in the DB but cannot be loaded (e.g. due to max_rooms or a pre-restore handler) restore_room()/get_room_from_jid() returns false. | ||||
* | MUC: Pass missing argument to log message | Kim Alvefur | 2018-08-17 | 1 | -1/+1 |
| |