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
Kim Alvefur
d859c3c84f
mod_http_files: Silence luacheck warnings related to config variables
7 years ago
Kim Alvefur
2e59708c47
mod_storage_sql: Remove unused function argument [luacheck]
...
What was the intent of this argument anyways?
7 years ago
Michel Le Bihan
5111187c2e
MUC: Check that a room password is set before verifying password supplied by user
7 years ago
Matthew Wild
7896ef03a9
mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http')
7 years ago
Matthew Wild
e6d582da74
mod_register_ibr: Include password in user-registering event, to allow e.g. password policy enforcement
7 years ago
Kim Alvefur
59cd2f787e
mod_s2s: Indicate origin of s2s error
7 years ago
Kim Alvefur
7f563615fd
MUC: Respond to ping per XEP-0410: MUC Self-Ping server optimization ( closes #1220 )
7 years ago
Kim Alvefur
08b5a03be3
mod_version: Reduce scope of variable
...
It is only used in this if block anyways
7 years ago
Kim Alvefur
304dcd7507
mod_version: Rename confusingly named variable
...
Maybe this meant the version of the OS, but it's still confusing.
7 years ago
Kim Alvefur
07a48b20a3
mod_version: Make 'origin' variable local for consistency
...
Many event handlers start with
local origin, stanza = event.origin, event.stanza;
7 years ago
Kim Alvefur
96e5020877
mod_version: Use text_tag
7 years ago
Kim Alvefur
5bb887e49d
mod_server_contact_info: Comment on fallback to using 'admins'
7 years ago