Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | mod_debug_stanzas/watcher: New module library to dynamically 'watch' for stanzas | Matthew Wild | 2022-03-23 | 1 | -0/+220 | |
| | | ||||||
* | | mod_s2s: Store real stanzas in session.sendq, rather than strings | Matthew Wild | 2022-03-23 | 1 | -19/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This is the "right" thing to do. Strings were more memory-efficient, but e.g. bypassed stanza filters at reconnection time. Also not being stanzas prevents us from potential future work, such as merging sendq with mod_smacks. Regarding performance: we should counter the probable negative effect of this change with other positive changes that are desired anyway - e.g. a limit on the size of the sendq, improved in-memory representation of stanzas, s2s backoff (e.g. if a remote server is persistently unreachable, cache this failure for a while and don't just keep forever queuing stanzas for it). | |||||
* | | Merge 0.12->trunk | Kim Alvefur | 2022-04-08 | 1 | -3/+1 | |
|\| | ||||||
| * | mod_storage_xep0227: Fix mapping of nodes without explicit configuration | Kim Alvefur | 2022-04-08 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | Turns out this table was wrong, it's missing some fields which are required and it's 'name', not 'node'. Setting it to the boolean true invokes compatibility behavior in mod_pep which results in the correct default structure. | |||||
* | | Merge 0.12->trunk | Kim Alvefur | 2022-04-08 | 1 | -4/+13 | |
|\| | ||||||
| * | mod_storage_xep0227: Fix conversion of SCRAM into internal format (fix #1741) | Kim Alvefur | 2022-04-08 | 1 | -1/+1 | |
| | | | | | | | | | | Looks like this function was a copy of hex_to_base64 without modifying it to do its inverse. | |||||
| * | mod_storage_xep0227: Support basic listing of PEP nodes in absence of ↵ | Kim Alvefur | 2022-03-31 | 1 | -2/+11 | |
| | | | | | | | | | | | | pubsub#admin data Allows migrating PEP nodes with default settings | |||||
| * | mod_storage_xep0227: Improve logging | Kim Alvefur | 2022-03-29 | 1 | -1/+1 | |
| | | | | | | | | What were we looking at? | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-04-07 | 1 | -0/+3 | |
|\| | ||||||
| * | mod_storage_xep0227: Handle missing {pubsub#owner}pubsub element (fixes #1740) | Matthew Wild | 2022-04-07 | 1 | -0/+3 | |
| | | ||||||
* | | Merge 0.12->trunk | Kim Alvefur | 2022-04-05 | 1 | -1/+7 | |
|\| | ||||||
| * | prosodyctl: Pass server when listing (outdated) plugins (fix #1738) | Kim Alvefur | 2022-04-05 | 1 | -1/+7 | |
| | | | | | | | | | | Needed since it checks the manifest of the repository and most likely defaults to luarocks.org unless specified | |||||
* | | Merge 0.12->trunk | Kim Alvefur | 2022-04-04 | 1 | -0/+1 | |
|\| | ||||||
| * | core.modulemanager: Fix global flag on per-host instances of shared modules ↵ | Kim Alvefur | 2022-04-04 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | (fix #1736) This flag is something of a shortcut for `module.host == "*"` and should always be equal to that. Its absence on the proxy object made the property of the global module instance visible, causing problems such as with URL reporting in mod_http | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-04-03 | 1 | -0/+5 | |
|\| | ||||||
| * | configmanager: Clearer errors when providing unexpected values after ↵ | Matthew Wild | 2022-04-03 | 1 | -0/+5 | |
| | | | | | | | | VirtualHost (fixes #1735, thanks arawaks) | |||||
* | | Merge 0.12->trunk | Kim Alvefur | 2022-04-02 | 1 | -1/+1 | |
|\| | ||||||
| * | util.random: Test whether util.crand works before using it (fix #1734) | Kim Alvefur | 2022-04-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | util.crand can be configured at compile time to use the Linux getrandom() system call, available from Linux 3.17, but it is still possible to load it with an older kernel lacking that system call, where attempting to use it throws an ENOSYS error. By testing for this on load we can fall back to /dev/urandom in this case. | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-28 | 4 | -13/+38 | |
|\| | ||||||
| * | mod_http (and dependent modules): Make CORS opt-in by default (fixes #1731) | Matthew Wild | 2022-03-28 | 4 | -1/+8 | |
| | | | | | | | | | | | | | | | | | | The same-origin policy enforced by browsers is a security measure that should only be turned off when it is safe to do so. It is safe to do so in Prosody's default modules, but people may load third-party modules that are unsafe. Therefore we have flipped the default, so that modules must explicitly opt in to having CORS headers added on their requests. | |||||
| * | mod_http: Reintroduce support for disabling or limiting CORS (fixes #1730) | Matthew Wild | 2022-03-28 | 1 | -13/+31 | |
| | | | | | | | | | | This is far better than pre-0.12, because we now have a universal way to configure and enable/disable CORS on a per-module basis. | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-28 | 2 | -0/+14 | |
|\| | ||||||
| * | prosodyctl: check config: Report paths of loaded configuration files (fixed ↵ | Matthew Wild | 2022-03-28 | 1 | -0/+7 | |
| | | | | | | | | #1729) | |||||
| * | configmanager: Add method to report loaded config files (part of #1729 fix) | Matthew Wild | 2022-03-28 | 1 | -0/+7 | |
| | | ||||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-28 | 2 | -12/+46 | |
|\| | ||||||
| * | mod_tombstones: Add caching to improve performance on busy servers (fixes #1728) | Matthew Wild | 2022-03-28 | 1 | -11/+42 | |
| | | ||||||
| * | mod_turn_external: Update status and friendlier handling of missing secret ↵ | Matthew Wild | 2022-03-28 | 1 | -1/+4 | |
| | | | | | | | | option (fixes #1727) | |||||
* | | Merge 0.12->trunk | Kim Alvefur | 2022-03-27 | 1 | -2/+8 | |
|\| | ||||||
| * | prosodyctl about: Report version of lua-readline | Kim Alvefur | 2022-03-27 | 1 | -2/+8 | |
| | | | | | | | | Good to know since it affects how well the shell works | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-24 | 1 | -4/+5 | |
|\| | ||||||
| * | MUC: Allow kicking users with the same affiliation as the kicker (fixes #1724) | Matthew Wild | 2022-03-23 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | This is allowed by XEP-0045, which states: "A moderator SHOULD NOT be allowed to revoke moderation privileges from someone with a higher affiliation than themselves (i.e., an unaffiliated moderator SHOULD NOT be allowed to revoke moderation privileges from an admin or an owner, and an admin SHOULD NOT be allowed to revoke moderation privileges from an owner)." | |||||
* | | Merge 0.12->trunk | Kim Alvefur | 2022-03-23 | 1 | -2/+2 | |
|\| | ||||||
| * | mod_external_services: Move error message to correct place (fix #1725) | Kim Alvefur | 2022-03-23 | 1 | -2/+2 | |
| | | | | | | | | | | This message was misplaced in c4599a7c534c when the @type and @host check was introduced. | |||||
* | | mod_adhoc: Simplify variable references | Kim Alvefur | 2022-03-22 | 1 | -2/+2 | |
| | | | | | | | | Since commands[node] was already stored in a local a few lines up | |||||
* | | adhoc: Include stanza and origin in adhoc event data | Kim Alvefur | 2017-03-06 | 1 | -0/+2 | |
| | | | | | | | | | | This allows easier access to these, which could be useful for all sorts of reasons | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-21 | 1 | -1/+1 | |
|\| | ||||||
| * | mod_pubsub: Don't attempt to use server actor as publisher (fixes #1723) | Matthew Wild | 2022-03-21 | 1 | -1/+1 | |
| | | ||||||
* | | net.connect: Improve logging on connection attempt failure | Matthew Wild | 2022-03-21 | 1 | -1/+5 | |
| | | ||||||
* | | net.connect: Improve handling of failure when attempts are still pending | Matthew Wild | 2022-03-21 | 1 | -3/+11 | |
| | | | | | | | | | | This could lead to failure being reported too early, even if some connections have not yet failed. | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-21 | 1 | -6/+13 | |
|\| | ||||||
| * | util.startup: Show error for unrecognized arguments passed to 'prosody' ↵ | Matthew Wild | 2022-03-21 | 1 | -6/+13 | |
| | | | | | | | | (fixes #1722) | |||||
* | | CHANGES: Update to add new changes in trunk | Matthew Wild | 2022-03-19 | 1 | -0/+14 | |
| | | ||||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-19 | 1 | -2/+4 | |
|\| | ||||||
| * | CHANGES: Update to reflect 0.12.0 release | Matthew Wild | 2022-03-19 | 1 | -2/+4 | |
| | | ||||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-19 | 1 | -2/+10 | |
|\| | ||||||
| * | mod_admin_socket: Improve error reporting when socket can't be created ↵ | Matthew Wild | 2022-03-19 | 1 | -2/+10 | |
| | | | | | | | | (fixes #1719) | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-19 | 1 | -0/+6 | |
|\| | ||||||
| * | prosodyctl: check turn: Fail with error if our own address is supplied for ↵ | Matthew Wild | 2022-03-19 | 1 | -0/+6 | |
| | | | | | | | | the ping test | |||||
* | | Merge 0.12->trunk | Matthew Wild | 2022-03-19 | 4 | -6/+31 | |
|\| | ||||||
| * | prosodyctl: check config: Skip bare JID components in orphan check | Matthew Wild | 2022-03-19 | 1 | -1/+1 | |
| | |