Kim Alvefur
dc1690029d
MUC: Fix traceback on muc#admin query with missing <item> child ( #1242 )
...
Caused by a missing return statement introduced in 494938dec5d8
7 years ago
Kim Alvefur
320392f1d1
mod_csi_simple: Consider non-stanza objects important
...
Most cases are for keepalive or stream closing, where it needs to be
flushed anyways.
7 years ago
Kim Alvefur
301cad9b16
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>".
7 years ago
Matthew Wild
7a66697c6a
mod_storage_sql: Catch errors during schema upgrade (thanks Nothing4You)
7 years ago
Matthew Wild
38c120dafe
MUC: Use defaults from config in create_room() if no config provided
7 years ago
Kim Alvefur
e2e5083548
mod_scansion_record: Split stanzas into multiple lines
...
Not perfect but should improve readability somewhat
7 years ago
Kim Alvefur
f8707c242b
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
7 years ago
Kim Alvefur
4dcb48996d
MUC: Allow anyone read access to all affiliation lists in non-anonymous rooms ( fixes #1230 )
7 years ago
Kim Alvefur
ffff93c343
MUC: Clarify condition with parenthesis
7 years ago
Kim Alvefur
88b509b835
mod_storage_memory: Support the purge driver method
7 years ago
Kim Alvefur
ae95505bb9
mod_register: Move dependency on mod_register_limits into mod_register_ibr
7 years ago
Matthew Wild
4a756fa1fa
MUC: Add luacheck annotation for unused parameter in filter function
7 years ago
Matthew Wild
c19a8ef9ff
MUC: Announce affiliation changes for JIDs that are not in the room
7 years ago
Kim Alvefur
18a51e456f
pubsub: Set pubsub#title as name attribute in disco#items ( fixes #1226 )
7 years ago
Kim Alvefur
9386bcbd2a
mod_csi_simple: Import modified version of mod_csi_pump from prosody-modules
7 years ago
Kim Alvefur
1477498c41
mod_storage_sql1: Remove pre-0.10 SQL module
7 years ago
Kim Alvefur
6156a086d2
mod_ping, mod_uptime: Use module:provides
7 years ago
Kim Alvefur
cb3b1c47b1
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
7 years ago
Matthew Wild
9b5c6c4d9d
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall
7 years ago
Kim Alvefur
96b05cc65a
mod_mam: Remove embedded fallback archive driver ( fixes #972 )
...
It was equivalent to mod_storage_memory, which is included as a separate module now.
7 years ago
Kim Alvefur
f2e55e91c1
mod_mam: Upgrade case of invalid archive store driver to hard error
7 years ago
Kim Alvefur
8ea82725e4
mod_mam: Ignore case of null storage driver
7 years ago
Kim Alvefur
7c88c94920
mod_muc_mam: Fix missing form container element
7 years ago
Matthew Wild
5b895a2d9f
MUC: Remove debug log
7 years ago
Kim Alvefur
0746dc3de2
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.
7 years ago
Kim Alvefur
4fc5888c32
mod_pep: Add PEP service owners username in configuration to ease identification
7 years ago
Kim Alvefur
985320dd47
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.
7 years ago
Kim Alvefur
6d2039efff
mod_pep: Add all pubsub service objects to item API in order to behave across reloads
7 years ago
Kim Alvefur
649e063e85
mod_storage_sql: Handle Lua 5.3 move of unpack function
7 years ago
Kim Alvefur
520bc69684
mod_storage_memory: Adapt archive deletion code from mod_storage_internal
7 years ago
Kim Alvefur
70ee23c2d6
mod_storage_memory: Fix overwriting old keys
...
Test fixed is: spec/core_storagemanager_spec.lua:309: Expected objects to be equal.
7 years ago
Kim Alvefur
cf7a0c252a
mod_storage_memory: Remove compat for very early argument order
7 years ago
Matthew Wild
c952045eb6
MUC: Add function to retrieve affiliation data for a given JID
7 years ago
Matthew Wild
2e417768dc
MUC: Include affiliation data when iterating over affiliations with a room
7 years ago
Matthew Wild
7b7f153a80
MUC: Use the bare JID when performing a lookup for COMPAT with clients that don't set it ( fixes #1224 )
...
The full JID is never meant to be the target of affiliation changes.
7 years ago
Kim Alvefur
f364ac8988
mod_compression: Remove tombstone (deprecated in 0.10)
7 years ago
Kim Alvefur
8d7b2fb35e
mod_privacy: Remove tombstone (deprecated in 0.10)
7 years ago
Kim Alvefur
f057768a9b
mod_vcard_legacy: Pass node defaults to publish instead of create
...
The create calls were introduced in 62fa766d8f3 but work on this started
a while before 038446c50630 allowed passing the _defaults_only flag to
publish.
7 years ago
Kim Alvefur
8022b2de59
mod_vcard_legacy: Create nodes with open access ( fixes #1221 )
...
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
7 years ago
Kim Alvefur
2e93c4b785
mod_http: Make sure path from http_external_url always ends with a slash ( fixes #1183 )
7 years ago
Kim Alvefur
41abd787ba
mod_http: Move normalize_path to util.http
7 years ago
Matthew Wild
b509a1b16f
mod_storage_sql: Fix issue number in comment that was fixed by 55b40f3fa659 ( fixes #1073 )
7 years ago
Matthew Wild
9ae8e96685
mod_storage_sql: Keep prosodyarchive_index unique constraint on non-MySQL DBs
7 years ago
Matthew Wild
9ddebb7bbf
mod_storage_sql: Change prosodyarchive_index to be non-unique ( fixes #1087 )
...
MySQL requires that the first 20 bytes are unique, even if they differ after
the first 20 bytes. This breaks e.g. pubsub/PEP nodes longer than 20 characters
that have common prefixes.
7 years ago
Matthew Wild
23fd5679ed
mod_storage_sql: Have :users() throw an error on failure instead of returning non-iterator values
7 years ago
Kim Alvefur
4b084f8f07
mod_c2s: Fix fallback for missing session logger
7 years ago
Matthew Wild
41a32414b0
mod_storage_sql: Workaround MySQL not supporting LIMIT subquery in archive truncate operations, fixes #1200
7 years ago
Matthew Wild
6c51edbedd
mod_storage_memory: Switch from '@' prefix to '=' for chunks, '@' is used to indicate a source file name only
7 years ago
Kim Alvefur
782450c540
mod_net_multiplex: Silence luacheck warnings
7 years ago
Kim Alvefur
89e98bf240
mod_http_files: Rename variable to avoid name clash [luacheck]
7 years ago