Kim Alvefur
1900ae8261
mod_pubsub: Split line in config check to improve readability
...
Also makes it easier to compare with mod_pep
8 years ago
Kim Alvefur
27112c0d94
mod_pubsub: Change order of luacheck directives to match arguments they apply to
8 years ago
Kim Alvefur
6eb576e9d9
mod_pep: Set an 'id' on notifications
...
mod_pubsub got this in f2d35eee69c9
8 years ago
Kim Alvefur
aef3d7a500
mod_pep: Add some spacing between blocks in broadcaster to improve readability
8 years ago
Kim Alvefur
41426ee8d8
mod_pep: Move broadcaster code around to be more like in mod_pubsub
...
This eases comparing and contrasting these two modules.
8 years ago
Kim Alvefur
5b8df5ea61
mod_pubsub: Add semicolon (code style)
8 years ago
Kim Alvefur
85a028c727
MUC: Allow changing data attached to an only owner ( fixes #1273 )
...
This previously prevented a single owner from setting their own nickname
via admin query.
The form method uses `true` as actor so it bypasses this check.
8 years ago
Matthew Wild
f281528c39
MUC: Adjust priorities of muc-get-default-role handlers ( fixes #1272 )
8 years ago
Maxime “pep” Buquet
738a1171dc
admin_telnet: show when bidi is used on s2s
8 years ago
Kim Alvefur
b31939c492
MUC: Fix traceback when requesting voice ( fixes #1269 ) (thanks jonas’)
...
Introduced by change from add_child to add_direct_child in ce57c69a20e2
Why does add_direct_child not return self like everything else?
8 years ago
Kim Alvefur
41656354bf
mod_vcard_legacy: Limit injection of XEP-0153 to normal presence ( fixes #1252 )
8 years ago
Kim Alvefur
d4f6ff10dc
mod_csi: Fix copypaste mistake [luacheck]
8 years ago
Kim Alvefur
a24712e845
mod_csi: Set session.state to simplify CSI modules
...
Moved here from mod_csi_simple
8 years ago
Kim Alvefur
64b9b5a758
mod_csi_simple: Fix autocompletion mistake
8 years ago
Kim Alvefur
1796f20abc
mod_csi_simple: Bypass importance event in active mode ( fixes #1249 )
8 years ago
Kim Alvefur
0db6c3f669
mod_csi_simple: Don't set <delay> stamps on <iq> stanzas ( fixes #1248 )
8 years ago
Kim Alvefur
ad38cc8fbe
mod_csi_simple: Use the same event name when firing as when hooking ( fixes #1245 )
8 years ago
Kim Alvefur
7093d062f7
mod_proxy65: Check what port is used at the time of the query
...
Could have changed between startup and time of request
8 years ago
Kim Alvefur
25b9a621a3
mod_proxy65: Return an error if no port is open ( fixes #1240 )
8 years ago
Kim Alvefur
38498588b4
MUC: Fix traceback on muc#admin query with missing <item> child ( #1242 )
...
Caused by a missing return statement introduced in 494938dec5d8
8 years ago
Kim Alvefur
3d3e0fa082
mod_csi_simple: Consider non-stanza objects important
...
Most cases are for keepalive or stream closing, where it needs to be
flushed anyways.
8 years ago
Kim Alvefur
23be1afef6
mod_csi_simple: Skip delay tags on objects other than stanzas (thanks quest)
...
This may be triggered by sending strings, eg as done by mod_c2s for
keepalives, stream errors, "</stream>".
8 years ago
Matthew Wild
813f69fd2b
mod_storage_sql: Catch errors during schema upgrade (thanks Nothing4You)
8 years ago
Matthew Wild
66bad36147
MUC: Use defaults from config in create_room() if no config provided
8 years ago
Kim Alvefur
e3164afc4a
mod_scansion_record: Split stanzas into multiple lines
...
Not perfect but should improve readability somewhat
8 years ago
Kim Alvefur
b85188f938
mod_scansion_record: Discard from/to where these are implicitly the sessions full JID
...
Makes it easier to clean up recordings and change JIDs etc
8 years ago
Kim Alvefur
60aa42033a
MUC: Allow anyone read access to all affiliation lists in non-anonymous rooms ( fixes #1230 )
8 years ago
Kim Alvefur
a13259451a
MUC: Clarify condition with parenthesis
8 years ago
Kim Alvefur
f014ba0feb
mod_storage_memory: Support the purge driver method
8 years ago
Kim Alvefur
ce9eed3c88
mod_register: Move dependency on mod_register_limits into mod_register_ibr
8 years ago
Matthew Wild
08fc91ebdd
MUC: Add luacheck annotation for unused parameter in filter function
8 years ago
Matthew Wild
54ecdb5cd0
MUC: Announce affiliation changes for JIDs that are not in the room
8 years ago
Kim Alvefur
e6400cd0d8
pubsub: Set pubsub#title as name attribute in disco#items ( fixes #1226 )
8 years ago
Kim Alvefur
61151d4d82
mod_csi_simple: Import modified version of mod_csi_pump from prosody-modules
8 years ago
Kim Alvefur
38d8451b29
mod_storage_sql1: Remove pre-0.10 SQL module
8 years ago
Kim Alvefur
9c620291f4
mod_ping, mod_uptime: Use module:provides
8 years ago
Kim Alvefur
dee63f8605
mod_adhoc: Add compat marker for older handling of adhoc items
...
Most modules use the module:provides() API which add the '-provides'
suffix. Previously module:add_item() was used.
See 58714123f600
8 years ago
Matthew Wild
f5f6460b2e
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall
8 years ago
Kim Alvefur
f179d7fe1c
mod_mam: Remove embedded fallback archive driver ( fixes #972 )
...
It was equivalent to mod_storage_memory, which is included as a separate module now.
8 years ago
Kim Alvefur
e2910e8847
mod_mam: Upgrade case of invalid archive store driver to hard error
8 years ago
Kim Alvefur
182e80684f
mod_mam: Ignore case of null storage driver
8 years ago
Kim Alvefur
38758ef986
mod_muc_mam: Fix missing form container element
8 years ago
Matthew Wild
9c2ebc29f6
MUC: Remove debug log
8 years ago
Kim Alvefur
3d06d7c309
mod_pep: Add automatic subscriptions on node creation ( fixes #1222 )
...
Replaces automatic node creation on subscription, since this casues
problems when trying to keep nodes private or other specific settings.
8 years ago
Kim Alvefur
fd0c8253c6
mod_pep: Add PEP service owners username in configuration to ease identification
8 years ago
Kim Alvefur
3ad1358ad5
mod_pep: Remove use of recipients table for signaling pending disco#items
...
It stored the caps hash as a string in the recipients table while
waiting for a disco#info response, then replaces it with the set of
nodes that had +notify.
This mixing of types is bad, so here it gets removed.
This can be improved once an IQ tracking API (#714 ) is added.
8 years ago
Kim Alvefur
831dceeba3
mod_pep: Add all pubsub service objects to item API in order to behave across reloads
8 years ago
Kim Alvefur
c5d487e42d
mod_storage_sql: Handle Lua 5.3 move of unpack function
8 years ago
Kim Alvefur
e8bab7fadf
mod_storage_memory: Adapt archive deletion code from mod_storage_internal
8 years ago
Kim Alvefur
534dae7164
mod_storage_memory: Fix overwriting old keys
...
Test fixed is: spec/core_storagemanager_spec.lua:309: Expected objects to be equal.
8 years ago