Commit graph

5345 commits

Author SHA1 Message Date
Matthew Wild
93abe7ff7b AUTHORS: A small update... 2013-03-31 13:43:12 +01:00
Kim Alvefur
4d156831cb tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a) 2013-03-31 20:09:14 +02:00
Kim Alvefur
870e087fd7 configure: Set to run with lua5.1 in the debian preset 2013-03-31 20:04:09 +02:00
Matthew Wild
3e788bfa6e portmanager: Log error and fail to bind when port is invalid (not a number) 2013-03-31 12:27:28 +01:00
Matthew Wild
1ffb32ffca mod_muc/muc.lib: Don't add messages without a body (such as chat state notifications) to the room history (thanks louiz’, Link Mauve, poezio and all its users) 2013-03-28 09:50:21 -04:00
Matthew Wild
533a5899e3 util.json: Add json.encode_array() (thanks B) 2013-03-28 09:31:07 -04:00
Tobias Markmann
afbece2a94 mod_privacy: Drop stanzas of type groupchat, so users aren't kicked from their chatrooms when blocking specific MUC occupants. 2013-03-28 12:49:19 +01:00
Kim Alvefur
077cfbe8a4 portmanager: Add use_ipv4 option, default to true. 2013-03-27 23:48:39 +01:00
Kim Alvefur
45fa794da0 portmanager: use_ipv6 defaults to true if luasocket has ipv6 support 2013-03-27 23:32:34 +01:00
Kim Alvefur
cfbd9d02e2 mod_s2s: Prevent s2s to and from hosts we serve locally 2013-03-27 23:09:47 +01:00
Kim Alvefur
fee52c7341 mod_s2s: Prevent traceback when replying to incoming connection to a host we don't serve 2013-03-26 09:25:20 +01:00
Kim Alvefur
ae5806cd67 mod_s2s: Reset secure flag on new connection attempt 2013-03-25 19:08:15 +01:00
Kim Alvefur
5c16f18d72 mod_s2s: session.from_host does not allways exist on incoming connections, true and nil or "our hostname" does not evaluate to what we want here 2013-03-25 08:18:49 +01:00
Kim Alvefur
9c4985d9d8 mod_s2s: Keep the dns answer object around a while so plugins can look at it 2013-03-23 23:30:13 +01:00
Kim Alvefur
39acad1765 net.server, _select: Reorganise configuration of server_select to be more like server_event 2013-03-23 20:06:02 +01:00
Kim Alvefur
2e91cb38d9 prosody, prosodyctl: Remove last trace of "core" \o/ 2013-03-23 15:00:49 +01:00
Kim Alvefur
6aa6f988a6 net.server: No sections in config anymore 2013-03-23 15:00:22 +01:00
Kim Alvefur
869da6c240 configmanager: Fix so unset variables are searched for in the global section 2013-03-23 04:14:52 +01:00
Kim Alvefur
613c9b00c4 util.{prosodyctl,openssl}: More use of config sections removed 2013-03-23 02:38:30 +01:00
Kim Alvefur
16c7c4e78d mod_tls: More use of config sections removed 2013-03-23 02:35:50 +01:00
Kim Alvefur
1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 2013-03-23 02:33:15 +01:00
Kim Alvefur
974917a5a2 MUC: Access prosody.hosts instead of the old global hosts 2013-03-23 02:24:11 +01:00
Kim Alvefur
aaf84ae073 mod_proxy65: Fix typo in comment 2013-03-23 01:42:48 +01:00
Kim Alvefur
4a30cfbc90 mod_http: Import portmanager 2013-03-23 01:42:27 +01:00
Kim Alvefur
9d07cc98e4 mod_groups: Use module API for reading config 2013-03-23 01:39:56 +01:00
Kim Alvefur
1faf33dfd5 mod_roster: Remove unused variable 2013-03-23 01:35:52 +01:00
Kim Alvefur
91cc88b338 mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports 2013-03-23 01:27:38 +01:00
Kim Alvefur
27dc3a5b9a mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals 2013-03-23 01:27:16 +01:00
Matthew Wild
68a7de369b mod_s2s: Fix variable usage in check_auth_policy (thanks Florob) 2013-03-22 15:16:22 +00:00
Matthew Wild
c908af2a7d s2smanager: Remove unused function parameter 2013-03-22 14:50:43 +00:00
Matthew Wild
5f6e150c61 s2smanager: Access prosody.hosts instead of hosts global directly 2013-03-22 14:50:29 +00:00
Matthew Wild
4ceaa9d2f2 mod_s2s: Remove unused variable 2013-03-22 14:31:14 +00:00
Matthew Wild
b8efb428ea mod_s2s: Add controls for certificate validation via the s2s_secure_auth option. Plugins can now return false from handling s2s-check-certificate to prevent connection establishment (s2sin+s2sout) 2013-03-22 14:21:02 +00:00
Matthew Wild
339e74b1b9 s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event 2013-03-22 14:18:23 +00:00
Matthew Wild
77431e5d84 hostmanager: Use rawget to check for activated hosts to prevent recursion in dynamic host loaders 2013-03-22 11:24:54 +00:00
Matthew Wild
3ba555b9c5 hostmanager: Use prosody.hosts instead of 'hosts' global 2013-03-22 11:24:13 +00:00
Matthew Wild
a2a4f805cd util.pposix: Allow fetching RLIMIT_NICE when available 2013-03-22 11:23:40 +00:00
Matthew Wild
bf3eb41b55 prosody: Add COMPAT note about globals 2013-03-22 11:22:50 +00:00
Matthew Wild
ee5a8c9543 configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users. 2013-03-22 11:21:24 +00:00
Matthew Wild
0c46e400af net.http: Disable SSLv2 support for HTTPS connections 2013-03-20 20:31:52 +00:00
Matthew Wild
375e615103 net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator) 2013-03-20 20:31:02 +00:00
Kim Alvefur
ee9ef878c4 mod_s2s, mod_saslauth, mod_compression: Refactor to have common code for opening streams 2013-03-16 17:46:43 +01:00
Kim Alvefur
c9d9694da0 certs/openssl.cnf: Update XMPP-Core references to reflect RFC publication 2013-03-15 09:51:43 +01:00
Kim Alvefur
3f4b64ddb6 s2smanager: Use unused local, reduce table indexing 2013-03-13 07:33:36 +01:00
Kim Alvefur
608eb6194a rostermanager: Remove unused imports 2013-03-13 07:03:34 +01:00
Kim Alvefur
ff9ab821f7 hostmanager: Import core_post_stanza from the global prosody table 2013-03-13 07:01:57 +01:00
Matthew Wild
740e6e69a2 mod_s2s: Do not include xmlns:db declaration in stream header if mod_dialback is not loaded 2013-03-12 12:30:08 +00:00
Kim Alvefur
404b1966b1 mod_s2s: Make sure host variable is reachable 2013-03-11 21:39:15 +01:00
Matthew Wild
a32c615bc8 mod_s2s: Fire s2s-check-certificate event after validating a certificate, to allow plugins to override standard procedure 2013-03-10 17:49:07 +00:00
Matthew Wild
f936068a62 mod_s2s, mod_dialback: Rename s2s-authenticate-legacy event to s2sout-authenticate-legacy for clarity. Also, hello! 2013-03-10 11:25:05 +00:00