Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mod_admin_shell: Use a table to show help sections | Kim Alvefur | 2022-02-20 | 1 | -17/+19 | |
| | | | | Because tables make everything better and more readable! | |||||
* | CHANGES: Mention graceful shutdown | Kim Alvefur | 2022-02-18 | 1 | -0/+3 | |
| | ||||||
* | mod_c2s: Ignore unused event payload [luacheck] | Kim Alvefur | 2022-02-18 | 1 | -1/+1 | |
| | ||||||
* | mod_c2s,mod_s2s: Wait for sessions to close before proceeding with shutdown ↵ | Kim Alvefur | 2022-02-17 | 2 | -2/+32 | |
| | | | | | | | | | | steps Ensures unavailable presence and other outgoing stanzas are sent. Waiting for c2s sessions to close first before proceeding to disable and close s2s ensures that unavailable presence can go out, even if it requires dialback to complete first. | |||||
* | mod_c2s: Close ports in a separate, earlier event from closing sessions | Kim Alvefur | 2022-02-18 | 1 | -0/+2 | |
| | | | | | Lets other things step in and do things while c2s ports are closed, e.g. mod_smacks, or other modules with port handlers that forward to c2s. | |||||
* | mod_s2s: Disable creation of new outgoing connections during shutdown | Kim Alvefur | 2022-02-11 | 1 | -0/+7 | |
| | ||||||
* | mod_c2s,mod_s2s: Disable and close port listeners before closing sessions | Kim Alvefur | 2022-02-11 | 3 | -0/+15 | |
| | | | | This ensures no new clients can start connecting during shutdown | |||||
* | mod_posix: Run signal handlers in the startup thread | Kim Alvefur | 2021-10-06 | 1 | -7/+13 | |
| | ||||||
* | prosody: Expose main thread on the 'prosody' global | Kim Alvefur | 2021-10-06 | 2 | -0/+5 | |
| | | | | To allow running things in it. | |||||
* | prosody: Run shutdown procedure in async thread | Kim Alvefur | 2019-01-01 | 1 | -1/+1 | |
| | ||||||
* | prosody: Move last cleanup and shutdown code into util.startup | Kim Alvefur | 2019-01-01 | 2 | -13/+17 | |
| | ||||||
* | mod_admin_shell: Squeeze some characters out of the Certificate column | Kim Alvefur | 2022-02-17 | 1 | -2/+2 | |
| | | | | The more compact these are, the better | |||||
* | prosodyctl: Restore 'list --outdated' | Kim Alvefur | 2022-02-17 | 1 | -0/+4 | |
| | | | | | Parsing --flags puts it into 'opts', so --outdated wasn't passed to luarocks, breaking that functionality | |||||
* | mod_admin_shell: Fix description of muc:room() (thanks Link Mauve) | Kim Alvefur | 2022-02-15 | 1 | -1/+1 | |
| | | | | | But then this is the internal API which is weird and unfriendly to expose externally. Lots of methods to wrap tho ... one day. | |||||
* | mod_turn_external: Fix type of config option (thanks mirux) | Kim Alvefur | 2022-02-15 | 1 | -1/+1 | |
| | | | | | | There was a separate boolean option to enable TLS before, but it was merged with the port number option and it seems the typed API interface got confused. | |||||
* | util.dns: Remove compat for pre-0.11 lack of inet_ntop binding | Kim Alvefur | 2022-02-15 | 1 | -32/+3 | |
| | | | | The inet_ntop binding was added in 8b612ec00e4a and included in 0.11.0 | |||||
* | util.dns: Replace base16 implementation with util.hex | Kim Alvefur | 2022-02-15 | 1 | -10/+1 | |
| | | | | Less code! | |||||
* | core.certmanager: Relax certificate filename check #1713 | Kim Alvefur | 2022-02-14 | 1 | -8/+2 | |
| | | | | | After a survey of ACME clients it seems *.crt and *fullchain* should work for the majority. The rest get to manually copy their files. | |||||
* | util.dependencies: Refer to 'apt' instead of 'apt-get' | Kim Alvefur | 2022-02-13 | 2 | -7/+7 | |
| | | | | | The more modern and user friendly frontend, should be in every supported version of Debian and Ubuntu by now | |||||
* | mod_invites_register: Load mod_register_ibr in invite only mode | Kim Alvefur | 2022-02-10 | 1 | -0/+4 | |
| | | | | | This ensures that registration actually works even if allow_registration is not enabled. | |||||
* | mod_invites_register: Replace COMPAT hack | Kim Alvefur | 2022-02-10 | 1 | -1/+1 | |
| | | | | | This hack is not needed since a9c975a0f113 so can be removed when included with Prosody. | |||||
* | mod_turn_external: Add option to enable TURN over TLS | Kim Alvefur | 2022-02-10 | 1 | -2/+6 | |
| | | | | | | Usually on port 443 to avoid restrictive firewalls. Thanks to Holger for discussion | |||||
* | mod_turn_external: Simplify configuration | Kim Alvefur | 2022-02-10 | 1 | -2/+9 | |
| | | | | | Much harder to get boolean options wrong than accidentally adding something unrecognised to a Set. | |||||
* | mod_admin_shell: Track connected events instead of created | Kim Alvefur | 2022-02-06 | 1 | -3/+3 | |
| | | | | | | | | The connection events are more appropriate here, where the s2s-created events happens a bit later or earlier in a sessions lifetime depending on its direction and for outgoing connections isn't actually the creation time (which happens immediately after pressing enter, so not very interesting), but rather closer to the connection time. | |||||
* | mod_s2s: Add new early s2s-connected events | Kim Alvefur | 2022-02-06 | 1 | -0/+3 | |
| | | | | | Allows doing things based on connections rather than sessions, which may have been created before or after. | |||||
* | doap: Reference some JSON RFCs | Kim Alvefur | 2022-02-05 | 1 | -0/+2 | |
| | | | | | RFC 4627 JSON - util.json RFC 6901 JSON Pointer - util.jsonpointer | |||||
* | doap: Reference RFC 6331 which deprecated SASL DIGEST-MD5 | Kim Alvefur | 2022-02-05 | 1 | -0/+1 | |
| | ||||||
* | prosody.cfg.lua.dist: Link to website (thanks eta) | Kim Alvefur | 2021-07-17 | 1 | -0/+2 | |
| | ||||||
* | prosody.cfg.lua.dist: Warn about adding settings at the end of the file | Kim Alvefur | 2021-07-17 | 1 | -0/+9 | |
| | | | | It is very often a confusing mistake that leads to support questions | |||||
* | core.modulemanager: Save module metadata for potential later use | Kim Alvefur | 2022-02-05 | 1 | -1/+2 | |
| | | | | Makes it reachable from the shell if nothing else | |||||
* | util.startup: Enable DANE in http client library with use_dane | Kim Alvefur | 2022-02-05 | 1 | -0/+1 | |
| | ||||||
* | net.http: Allow using DANE via options or per request settings | Kim Alvefur | 2022-02-05 | 1 | -1/+5 | |
| | | | | Dare to enable by default? | |||||
* | mod_smacks: Tweak resumption age buckets towards multiples of 60 | Kim Alvefur | 2022-02-04 | 1 | -1/+1 | |
| | | | | | This seems like the thing to do for time, which is usually divided into divisors divisible by 60, or multiplied by multiples of 60 | |||||
* | tools: Allow processing instructions in some XML parsing tools | Kim Alvefur | 2022-02-04 | 2 | -2/+2 | |
| | | | | IANA registry files have XSLT references, which are harmless to ignore. | |||||
* | util.xml: Add an option to allow <?processing instructions?> | Kim Alvefur | 2022-02-04 | 2 | -1/+11 | |
| | | | | | These should generally be safe to just ignore, which should be the default behavior of Expat and LuaExpat | |||||
* | mod_http: Use interface name as default default global hostname | Kim Alvefur | 2022-02-04 | 1 | -1/+1 | |
| | | | | | | | http://[::]:5280/ is as sensible as http://*:5280/ so why not This might be a bit weird when listening no multiple interfaces but not sure we can really do anything sensible then anyway. | |||||
* | mod_http: Use http_default_host for URLs generated in global context | Kim Alvefur | 2022-02-04 | 1 | -1/+2 | |
| | | | | | This might make the global routes less confusing sometimes, or at least valid URLs instead of http://*:5280/ which doesn't make much sense. | |||||
* | prosodyctl: Allow passing server on command line with --server | Kim Alvefur | 2022-02-04 | 1 | -1/+1 | |
| | | | | Because why not I guess. This mirrors the corresponding luarocks command | |||||
* | prosodyctl: Allow install plugin via explicit path or URL | Kim Alvefur | 2022-02-04 | 1 | -2/+2 | |
| | | | | | | | | | | This way you don't need to set the server URL in the config to use this, you could just ^C^V an install line from a web page that says prosodyctl install https://modules.example.com/mod_example.src.rock Drop the help message in this case since it'll be all messed up by being given an URL or rock filename. | |||||
* | prosodyctl: Return success status code from --help | Kim Alvefur | 2022-02-04 | 1 | -11/+11 | |
| | | | | | Only when the help is shown because of invalid arguments should a non-zero status code be returned to indicate a problem. | |||||
* | prosodyctl: Use argument parsing library to parse --help, -h, -? | Kim Alvefur | 2022-02-04 | 1 | -12/+27 | |
| | | | | Reads nicer, but adds more code. Can always be reverted later I suppose. | |||||
* | mod_websocket: Only enable host-agnostic HTTP routing when enabled globally | Kim Alvefur | 2022-02-04 | 1 | -1/+3 | |
| | | | | | | | This way the host-agnostic http://*:5280/ handler is not enabled, but BOSH can still be used with any local VirtualHost Ref #1712 | |||||
* | mod_bosh: Only enable host-agnostic HTTP routing when enabled globally | Kim Alvefur | 2022-02-04 | 1 | -1/+3 | |
| | | | | | | | This way the host-agnostic http://*:5280/ handler is not enabled, but BOSH can still be used with any local VirtualHost Ref #1712 | |||||
* | util.format: Fix typo in comment [codespell] | Kim Alvefur | 2022-02-04 | 1 | -1/+1 | |
| | ||||||
* | mod_pep: Fix typo in comment [codespell] | Kim Alvefur | 2022-02-04 | 1 | -1/+1 | |
| | ||||||
* | mod_bookmarks: Fix typos in stanza error messages [codespell] | Kim Alvefur | 2022-02-04 | 1 | -2/+2 | |
| | ||||||
* | mod_admin_shell: Fix typo in comment [codespell] | Kim Alvefur | 2022-02-04 | 1 | -1/+1 | |
| | ||||||
* | modulemanager: Shorten metadata keys to improve readability and memorability | Matthew Wild | 2022-02-04 | 1 | -5/+5 | |
| | ||||||
* | Revert util.debug change accidentally committed in e157e5c79daa | Matthew Wild | 2022-02-04 | 1 | -1/+1 | |
| | ||||||
* | util.pluginloader: Fix method to return any module metadata (luacheck) | Matthew Wild | 2022-02-04 | 1 | -1/+1 | |
| |