Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | util.prosodyctl: check: warn about unreferenced components, suggest disco_items | Matthew Wild | 2022-03-02 | 1 | -0/+35 | |
| | | ||||||
* | | util.prosodyctl: Warn about enabled public registration in 'check config' | Matthew Wild | 2022-03-02 | 1 | -0/+28 | |
| | | ||||||
* | | util.poll: Add support for the poll() API | Kim Alvefur | 2022-02-23 | 3 | -2/+133 | |
| | | | | | | | | Might be better than select(), more portable than epoll. | |||||
* | | util.poll: Expose API (epoll or select) used | Kim Alvefur | 2022-02-27 | 2 | -6/+11 | |
| | | | | | | | | Could he handy to know for debugging or decisions | |||||
* | | util.poll: Restructure to make adding additional system APIs easier | Kim Alvefur | 2022-02-23 | 1 | -11/+23 | |
| | | ||||||
* | | make: Split up install targets to allow different subset | Kim Alvefur | 2022-02-13 | 2 | -19/+69 | |
| | | | | | | | | | | | | | | The prosody-trunk nightly packages currently use the Debian dh-lua framework to install core/, net/ and util/ into Lua-versioned directory trees, while plugins and executables should still be installed like before. | |||||
* | | core.portmanager: Fix traceback on attempt to get non-existent service | Kim Alvefur | 2022-02-22 | 1 | -1/+3 | |
| | | | | | | | | | | If there's no such interface:port then `data` is nil and `data.service` errors. | |||||
* | | mod_c2s,mod_s2s: Fix error on shutdown (Thanks Martin) | Kim Alvefur | 2022-02-22 | 2 | -2/+2 | |
| | | | | | | | | | | Since there are two calls to done() that can happen, if the timing is right (or wrong) both can happen, which previously triggered an error. | |||||
* | | util.async: Optionally allow too many 'done' callbacks | Kim Alvefur | 2022-02-22 | 1 | -2/+2 | |
| | | | | | | | | | | Sometimes, like in mod_c2s and mod_s2s during shutdown, all you want is to wait for the first done() and not complicate things. | |||||
* | | mod_c2s,mod_s2s: Wrap callback to improve tracebacks | Kim Alvefur | 2022-02-22 | 2 | -2/+2 | |
| | | | | | | | | | | Should make traces point here instead of timer dispatch, making debugging easier | |||||
* | | mod_carbons: Allow plugging into decision of whether to carbon-copy | Kim Alvefur | 2022-02-21 | 1 | -1/+9 | |
| | | | | | | | | Similar procedure as mod_csi_simple and mod_mam | |||||
* | | mod_mam: Fix a comment | Kim Alvefur | 2021-12-11 | 1 | -1/+1 | |
| | | | | | | | | This is the noop that gets replaced later | |||||
* | | mod_mam: Allow plugging into archive decision | Kim Alvefur | 2021-12-10 | 1 | -4/+13 | |
| | | | | | | | | Similar procedure as mod_csi_simple | |||||
* | | core.certmanager: Ensure key exists for fullchain | Kim Alvefur | 2022-02-21 | 1 | -1/+1 | |
|/ | | | | | | | | | | Since 5cd075ed4fd3 any file matching "fullchain" would be considered for use. Dehydrated stores fullchain certs in e.g, fullchain-1641171024.pem and a symlink fullchain.pem pointing at the latest one. However the current rule for finding a corresponding private key would try privkey-1641171024.pem in the same directory, which may not exist. | |||||
* | 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. |