aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* core.portmanager: Use server.listen APIKim Alvefur2018-09-131-1/+5
|
* net.server: New API for creating server listenersKim Alvefur2018-09-133-18/+52
| | | | server.listen(interface, port, listeners, options);
* Merge 0.11->trunkKim Alvefur2019-02-272-31/+253
|\
| * spec: Add test case for #1322Kim Alvefur2019-02-271-0/+202
| |
| * mod_storage_memory: Replace query function with one based on ↵Kim Alvefur2019-02-271-31/+51
| | | | | | | | | | | | | | storage_internal (fixes #1322) The :find method in storage_internal works and is easier to read and understand. Future changes should be simpler to apply to both modules.
* | MUC: Fire an event to allow affecting decision of whether to allow a role changeKim Alvefur2019-02-241-0/+12
| |
* | MUC: Factor out role change permission check into its own methodKim Alvefur2019-02-241-18/+27
| | | | | | | | | | | | I would like to invert this logic so that it checks if the role change is allowed instead of checking if it is not allowed as it does now, in order to make it easier to understand.
* | Merge 0.11->trunkKim Alvefur2019-02-222-2/+6
|\|
| * mod_pubsub: Simplify configuration for node data (see #1302)Kim Alvefur2019-02-221-1/+3
| |
| * mod_pep: Simplify configuration for node data (fixes #1320)Kim Alvefur2019-02-221-1/+3
| |
* | prosodyctl: about: Report the current operating system according to unameKim Alvefur2018-12-081-0/+7
| |
* | net.server_epoll: Increase send_timeout to 3 minutes (to match server_event)Kim Alvefur2019-02-091-1/+1
| | | | | | | | The separate connect_timeout means we can afford a longer send_timeout
* | net.server_epoll: Separate timeout for initial connection attemptsKim Alvefur2019-02-091-1/+4
| | | | | | | | server_event has this separation already
* | Merge 0.11->trunkKim Alvefur2019-02-091-5/+5
|\|
| * net.server_epoll: Rename handshake_timeout to ssl_handshake_timeout (fixes ↵Kim Alvefur2019-02-091-3/+3
| | | | | | | | | | | | #1319) This is to match server_event, see 430797a8fc81
| * net.server_epoll: Use send_timeout for write timout like other ↵Kim Alvefur2019-02-071-2/+2
| | | | | | | | implementations (fixes #1316)
* | Merge 0.11->trunkMatthew Wild2019-02-041-3/+3
|\|
| * MUC: Add error message to error bounces when not joined to roomMatthew Wild2019-02-041-3/+3
| |
* | Merge 0.11->trunkKim Alvefur2019-01-283-11/+53
|\|
| * mod_pubsub: Support requests for multiple items (fixes #1305)Kim Alvefur2019-01-281-3/+9
| |
| * util.pubsub: Add support for requesting multiple specific items (needed for ↵Kim Alvefur2019-01-282-8/+44
| | | | | | | | #1305)
* | Merge 0.11->trunkKim Alvefur2019-01-261-23/+79
|\|
| * mod_vcard_legacy: Handle partial migrationKim Alvefur2019-01-261-22/+34
| | | | | | | | | | Eg in case the user already published an avatar, migrate only the vcard, and vice versa.
| * mod_vcard_legacy: Allow disabling vcard conversionKim Alvefur2019-01-251-0/+2
| | | | | | | | Once everyone has been migrated it might be nice to skip these checks
| * mod_vcard_legacy: Don't overwrite existing PEP dataKim Alvefur2019-01-251-1/+8
| |
| * mod_vcard_legacy: Add some missing semicolonsKim Alvefur2019-01-251-2/+2
| |
| * mod_vcard_legacy: Upgrade vcard-temp on login (fixes #1289)Kim Alvefur2019-01-101-4/+18
| |
| * mod_vcard_legacy: Adapt node defaults to number of avatarsKim Alvefur2019-01-111-2/+10
| |
| * mod_vcard_legacy: Factor out conversion from vcard-temp to 4Kim Alvefur2019-01-111-18/+31
| |
* | GNUmakefile: Stop Prosody in case of failure in integration-testKim Alvefur2019-01-241-2/+3
| | | | | | | | | | | | Normally make skips the remaning steps in the rule if one fails. This collects the status code and re-returns it after stopping the running Prosody instance.
* | Merge 0.11->trunkKim Alvefur2019-01-220-0/+0
|\|
| * mod_websocket: Log an error if cross_domain_websocket = true is set in a ↵Kim Alvefur2019-01-221-0/+5
| | | | | | | | VirtualHost section
* | core.statsmanager: Do a final collection on shutdownKim Alvefur2019-01-221-0/+1
| |
* | TODO: Remove statistics since this was done in 0.10Kim Alvefur2019-01-211-1/+0
| |
* | mod_mam: Fix operator precedence (thanks mimi89999)Kim Alvefur2019-01-201-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2019-01-190-0/+0
|\|
| * mod_websocket: Include the value of cross_domain_websocket in debug messageKim Alvefur2019-01-181-1/+1
| |
* | mod_bosh, mod_websocket: Remove accidentally included dependency on ↵Kim Alvefur2019-01-192-2/+0
| | | | | | | | non-existant module
* | prosodyctl: Fix module.command invocation (thanks woffs)Kim Alvefur2019-01-181-2/+0
| | | | | | | | The first argument is already removed once since c7727c13260f
* | mod_http: Determine CORS methods to whitelist from actual methods usedKim Alvefur2019-01-171-2/+9
| |
* | mod_http: Set up to handle OPTIONSKim Alvefur2019-01-181-0/+7
| | | | | | | | | | Lower priority to allow http modules to handle it themselves, should they wish to
* | mod_websocket: Drop CORS code in favor of that in mod_httpKim Alvefur2018-10-042-35/+5
| | | | | | | | | | Like for mod_bosh, deprecates consider_websocket_secure and depend on mod_http_crossdomain if it is set.
* | mod_bosh: Drop CORS code in favor of than in mod_httpKim Alvefur2018-10-042-26/+6
| | | | | | | | | | This deprecates the cross_domain_bosh setting. As a compat measure, if it is set, mod_http_crossdomain is loaded.
* | mod_http: Solve CORS problems once and for allKim Alvefur2018-10-041-0/+19
| | | | | | | | | | | | | | This blindly allows any cross-site requests. Future work should add an API to allow each HTTP app some influence over this for each HTTP path
* | Merge 0.11->trunkKim Alvefur2019-01-171-1/+1
|\|
| * mod_motd: Remove unused variable [luacheck]Kim Alvefur2019-01-171-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2019-01-172-8/+7
|\|
| * mod_motd: Remove redundant conditionsKim Alvefur2019-01-171-8/+6
| | | | | | | | The stanza should always be like this in the presence/initial event
| * mod_presence: Revert empty 'to' attribute of presence before ↵Kim Alvefur2019-01-171-0/+1
| | | | | | | | presence/initial event (fixes #1296)
* | core.s2smanager: Add stub reset_stream method to destroyed sessionsKim Alvefur2019-01-161-0/+3
| | | | | | | | Fixes traceback if connection is closed from the 's2s-authenticated' event