Kim Alvefur
1969b96da1
mod_admin_telnet: Allow passing list of hosts to http:list()
...
Lets you select what hosts to list http services on. In particular, this
enables listing global http services, which was not possible before.
6 years ago
Maxime “pep” Buquet
4a2e733928
mod_muc: add muc-private-message event
...
This seems to be the one place handling MUC-PMs. This event is added so that
plugins (such as muc_occupant_id) can edit them without having to redo the work.
6 years ago
Matthew Wild
8d04879adf
usermanager, mod_authz_*: Merge mod_authz_config and mod_authz_internal into the latter
6 years ago
Kim Alvefur
3947003b7e
mod_admin_telnet: Fix host selection filter, fixes loading on components
...
get_hosts_with_module(a component, mod) would still filter out
components since they don't have type="component" instead of "local"
Introduced in 4d3549e64489
6 years ago
Kim Alvefur
23cd82ba5f
mod_admin_telnet: Reflow hosts filter for readability
6 years ago
Kim Alvefur
6e53a3a601
mod_storage_sql: Move update limit check back one step, fixes traceback
...
0c00274528a4 moved it one step too far, so the check was performed
before connecting to the database instead of after.
6 years ago
Kim Alvefur
0b3056c448
mod_ping: Fix double response to internal ping
...
When responding to a ping from elsewhere in the same Prosody the send
function will be host_send from core.hostmanager, which does not return
anything. Tailcalling it therefore lets the iq event fall trough to
handle_unhandled_stanza in core.stanza_router, which responds with an
error. This error also goes into handle_unhandled_stanza which discards
it.
Noticed because I have a module that points out when a stanza error
reply is created without a text argument.
6 years ago
Kim Alvefur
84e0c87b7e
mod_storage_sql: Fix check for deletion limits ( fixes #1494 )
...
The check was only performed if sql_manage_tables was set to true (the default)
It should always be performed
6 years ago
Kim Alvefur
798995ef1a
mod_s2s: Fix typo in comment [codespell]
6 years ago
Matthew Wild
ccc5516646
mod_muc: Allow control over the server-admins-are-room-owners feature (see #1174 )
6 years ago
Kim Alvefur
3827fd9716
mod_admin_telnet: Avoid indexing missing socket (thanks tmolitor)
...
if `sock` was nil it would still proceed with SNI and ALPN checks
6 years ago
Matthew Wild
cfa4181982
mod_saslauth: Pass through any auth scope from the SASL handler to sessionmanager.make_authenticated()
6 years ago
Matthew Wild
34abcc8bd5
mod_authz_internal, usermanager: Rename to mod_authz_config
6 years ago
Matthew Wild
1f437623ad
usermanager, mod_authz_internal: Move admin-checking functionality into a module. Fixes #517 (ish).
...
Note: Removes the ability for mod_auth_* providers to determine user admin status. Such
modules will need to have their is_admin methods ported to be a mod_authz_* provider.
6 years ago
Kim Alvefur
ebb79437a8
mod_s2s: Comment on the various 'reason' arguments passed to :close
6 years ago
Kim Alvefur
a0dffb53e1
mod_posix: Add deprecation warning for the 'daemonize' option
6 years ago
Matthew Wild
165901fe80
mod_s2s: Pass use_ipv4/use_ipv6 from config to service resolver
6 years ago
Matthew Wild
6e108728a1
Backed out changeset 74d66b1be989 (not optimal API)
6 years ago
Kim Alvefur
b37a36b1be
mod_admin_telnet: Use promise based DNS resolving
...
Mostly done for testing this new API
6 years ago
Kim Alvefur
1d1491c01b
mod_admin_telnet: Create a DNS resolver per console session ( fixes #1492 )
...
This is now the common pattern, eg see mod_s2s.
6 years ago
Matthew Wild
2418c3fe43
mod_websocket: Fire event on session creation (thanks Aaron van Meerten)
6 years ago
Matthew Wild
634408ca29
mod_websocket: Fire event on session creation (thanks Aaron van Meerten)
6 years ago
Matthew Wild
9782727301
mod_s2s: Pass use_ipv4/ipv6 from config to connector config
6 years ago
Matthew Wild
4167f630b8
mod_posix: Support for command-line flags to override 'daemonize' config option
...
-D / --daemonize
-F / --no-daemonize
6 years ago
Kim Alvefur
71138a9fd9
mod_muc_mam: Measure how long a cleanup run takes (like mod_mam)
7 years ago
Kim Alvefur
eb7a71a645
mod_websocket: Clear mask bit when reflecting ping frames ( fixes #1484 )
7 years ago
Kim Alvefur
30f7e379d4
mod_http_errors: Use text from util.errror object if included
...
This makes util.error objects useful for more than just an error code
container.
7 years ago
Kim Alvefur
9beff3d274
mod_mam: Fix rebase mistake [luacheck]
...
The 'err' was there in trunk
7 years ago
Kim Alvefur
a4e705c122
mod_muc_mam: Fix rebase mistake [luacheck]
...
The 'err' was there in trunk
7 years ago
Kim Alvefur
575cd4c57d
mod_muc_mam: Schedule cleanup again on failure
7 years ago
Kim Alvefur
9482392517
mod_muc_mam: Log error when unable to delete old messages ( fix #1481 ) [luacheck]
7 years ago
Kim Alvefur
b10527f724
mod_muc_mam: Log error when unable to store stanza ( fix #1480 ) [luacheck]
7 years ago
Kim Alvefur
c37b1cc072
mod_mam: Schedule cleanup again if unable to delete messages
7 years ago
Kim Alvefur
669ca29966
mod_mam: Log error when unable to delete old messages ( fix #1479 ) [luacheck]
7 years ago
Kim Alvefur
a74a87fb30
mod_mam: Log error when unable to store stanza ( fix #1478 )
...
Unclear what else to do here.
Caught by luacheck
7 years ago
Kim Alvefur
d464d7edb1
mod_auth_internal_hashed: Pass on errors from password hash function ( fixes #1477 )
7 years ago
Kim Alvefur
e10171d44d
mod_adhoc: Improve permission setting ( fix #1482 ) BC
...
Rename 'user' permission mode to 'any' for clarity, too easily mistaken
for what the 'local_user' setting does.
It is also removed as a default and made a required argument.
7 years ago
Kim Alvefur
96c1406bcd
mod_storage_sql: Remove unused and not actually returned return value [luacheck]
...
The :delete throws an error, it does not return one like this.
7 years ago
Kim Alvefur
8537138d41
mod_muc_mam: Remove unused variable [luacheck]
7 years ago
Kim Alvefur
1c3988b171
mod_mam: More careful validation of MAM query form
...
Adapted from mod_muc_mam
7 years ago
Kim Alvefur
5b06f8946f
mod_muc_mam: Handle form identification error (e.g. not a form at all)
7 years ago
Kim Alvefur
4b548a129b
mod_legacyauth: Report failure from sessionmanager (mostly invalid username)
7 years ago
Kim Alvefur
77daebcbc2
mod_presence: Ignore an unused variable [luacheck]
...
Not sure if it should be unused, hence the TODO
7 years ago
Kim Alvefur
1bd2db0a6c
mod_pep_simple: Ignore unused variable [luacheck]
7 years ago
Kim Alvefur
9861fc79f1
mod_pubsub: Ignore an unused variable [luacheck]
7 years ago
Kim Alvefur
a95900e81c
MUC: Make note to handle configuration form errors [luacheck]
7 years ago
Kim Alvefur
2d7c3d090b
mod_vcard: Remove unused variable [luacheck]
7 years ago
Kim Alvefur
7c8ad7bede
mod_limits: Remove an unused variable
...
Hope this isn't meant to be used. 'outstanding' seems to be the more
useful value anyways?
7 years ago
Kim Alvefur
72a8c497ec
MUC: Remove some unused variables [luacheck]
7 years ago
Kim Alvefur
e660a65d28
mod_vcard_legacy: Ignore an unused variable [luacheck]
7 years ago