s2smanager: Add incoming_s2s to the prosody object
|
Matthew Wild |
Sat, 17 Oct 2009 15:25:30 +0100 |
hostmanager: deactivate() now accepts a reason, closes s2s connections as well as disconnecting users, and unloads modules for the host
|
Matthew Wild |
Sat, 17 Oct 2009 15:23:50 +0100 |
hostmanager: Add return _M;
|
Matthew Wild |
Sat, 17 Oct 2009 14:43:38 +0100 |
tests: Fix stanza_router tests to work with the new routing code, finally all tests pass again \o/
|
Matthew Wild |
Sat, 17 Oct 2009 13:38:20 +0100 |
tests: More environment magic to help get stuff working in a sandbox
|
Matthew Wild |
Sat, 17 Oct 2009 13:36:40 +0100 |
stanza_router: Localize hosts, full_sessions and bare_sessions, and take from the prosody object instead of _G
|
Matthew Wild |
Sat, 17 Oct 2009 13:33:23 +0100 |
componentmanager: Handle missing prosody object (helps us pass some tests)
|
Matthew Wild |
Sat, 17 Oct 2009 13:31:39 +0100 |
prosody: Move global protection earlier (to before modules are loaded, etc.)
|
Matthew Wild |
Sat, 17 Oct 2009 10:54:28 +0100 |
prosody: Require new require :)
|
Matthew Wild |
Sat, 17 Oct 2009 10:53:31 +0100 |
prosody: Require some core/util libraries which core modules depend upon, C modules and other modules which write to _G
|
Matthew Wild |
Sat, 17 Oct 2009 10:52:25 +0100 |
prosody: Rename global net_activate_ports -> prosody.net_activate_ports
|
Matthew Wild |
Sat, 17 Oct 2009 10:49:13 +0100 |
util.require: A replacement for Lua's require/module that doesn't load into the global environment by default (C modules still get past this)
|
Matthew Wild |
Sat, 17 Oct 2009 10:44:19 +0100 |
util.helpers: Add copyright header
|
Matthew Wild |
Sat, 17 Oct 2009 10:42:19 +0100 |
tests: Have fake module() set _M to satisfy some modules
|
Matthew Wild |
Fri, 16 Oct 2009 22:30:59 +0100 |
s2smanager: Fix access of 'config' global without requiring configmanager
|
Matthew Wild |
Fri, 16 Oct 2009 22:19:20 +0100 |
tests: Add tests for new modulemanager load_modules_for_host code
|
Matthew Wild |
Fri, 16 Oct 2009 22:13:54 +0100 |
modulemanager: Re-organise module loading to still work when no global modules_enabled is defined in the config (thanks hoelzro for accidentally discovering this one)
|
Matthew Wild |
Fri, 16 Oct 2009 22:12:46 +0100 |
util.helpers: Add get_upvalue(function, name) helper
|
Matthew Wild |
Fri, 16 Oct 2009 22:03:32 +0100 |
util.dataforms: Incorporate slightly modified patch for list-single type from Florob
|
Matthew Wild |
Fri, 16 Oct 2009 19:52:09 +0100 |
mod_vcard: Hide me from the trailing-whitespace police
|
Matthew Wild |
Fri, 16 Oct 2009 00:11:55 +0100 |
mod_vcard: Add vcard_compatibility option to handle vcard stanzas routed to the full JID by ejabberd MUC rooms
|
Matthew Wild |
Thu, 15 Oct 2009 23:21:55 +0100 |
Merge with 0.5
|
Matthew Wild |
Thu, 15 Oct 2009 14:20:08 +0100 |
xmppserver_listener: Fix typo (thanks Jorj)
|
Matthew Wild |
Thu, 15 Oct 2009 14:16:22 +0100 |
Merge with 0.5
|
Matthew Wild |
Wed, 14 Oct 2009 14:12:14 +0100 |
net.server: Better handling of closing sockets during send
|
Matthew Wild |
Wed, 14 Oct 2009 14:09:51 +0100 |
xmppserver_listener: More forcefully close s2s connections (fixes fd leak)
|
Matthew Wild |
Wed, 14 Oct 2009 14:07:50 +0100 |
Merge with 0.5
|
Matthew Wild |
Tue, 13 Oct 2009 11:13:52 +0100 |
net.dns: Remove sockets from socketset when closing them, fixes a leak
|
Matthew Wild |
Tue, 13 Oct 2009 11:12:49 +0100 |
Merge with 0.5
|
Waqas Hussain |
Tue, 13 Oct 2009 15:00:59 +0500 |
rostermanager: Fixed a traceback on roster save.
|
Waqas Hussain |
Tue, 13 Oct 2009 14:54:07 +0500 |
modulemanager: Changed api:get_host_items to include items from the global host in its result.
|
Waqas Hussain |
Tue, 13 Oct 2009 14:58:45 +0500 |
util.dataforms: Small fix to allow generating forms without specifying any input data
|
Matthew Wild |
Sat, 10 Oct 2009 03:09:15 +0100 |
util.dataforms: Support for jid-single field type especially for Florob :)
|
Matthew Wild |
Sat, 10 Oct 2009 02:21:25 +0100 |
mod_tls: Don't try to start TLS if we can't actually do it (thanks Florob)
|
Matthew Wild |
Fri, 09 Oct 2009 17:48:45 +0100 |
componentmanager: Auto-load mod_tls for components #hack
|
Matthew Wild |
Fri, 09 Oct 2009 00:22:33 +0100 |
componentmanager: Remove FIXME
|
Matthew Wild |
Fri, 09 Oct 2009 00:19:46 +0100 |
componentmanager: Fix oops in pattern for matching subdomain
|
Matthew Wild |
Fri, 09 Oct 2009 00:15:39 +0100 |
componentmanager: Use ssl_ctx of 'parent' host (should fix TLS for components)
|
Matthew Wild |
Thu, 08 Oct 2009 23:51:55 +0100 |
mod_tls: Catch s2s-stream-features and add starttls feature if possible
|
Matthew Wild |
Thu, 08 Oct 2009 23:41:59 +0100 |
mod_dialback: Catch s2s-stream-features and add dialback feature
|
Matthew Wild |
Thu, 08 Oct 2009 23:41:29 +0100 |
s2smanager: Make s2s-stream-features a per-host event
|
Matthew Wild |
Thu, 08 Oct 2009 23:40:54 +0100 |
util.stanza: Remove silly dependency on util.logger
|
Matthew Wild |
Thu, 08 Oct 2009 20:06:07 +0100 |
util.array: Oh no it isn't!
|
Matthew Wild |
Thu, 08 Oct 2009 18:41:30 +0100 |
modulemanager: Bump log level of unhandled non-default-namespace elements, and log their full XML
|
Matthew Wild |
Tue, 06 Oct 2009 23:14:01 +0100 |
util.stanza: Soften dependency on util.termcolours
|
Matthew Wild |
Tue, 06 Oct 2009 19:17:28 +0100 |
util.stanza: Make xml_escape publicly accessible
|
Matthew Wild |
Tue, 06 Oct 2009 18:05:31 +0100 |
s2smanager: Don't send version=1.0 in reply to incoming stream tag if they didn't advertise 1.0 (makes happy some old ejabberd versions)
|
Matthew Wild |
Tue, 06 Oct 2009 15:02:16 +0100 |
sessionmanager: Mark client streams as opened sooner to avoid wrapping errors in unnecessary stream tags
|
Paul Aurich |
Tue, 06 Oct 2009 11:15:55 +0100 |
s2smanager: Improve log message on missing to/from in stream header
|
Matthew Wild |
Tue, 06 Oct 2009 11:02:33 +0100 |
mod_console: Add a space before '(encrypted)' in s2s:show()
|
Matthew Wild |
Tue, 06 Oct 2009 10:42:53 +0100 |
mod_tls: Mark sessions as not secure when negotiating outward TLS, so they get marked secure later. Fixes missing (encrypted) for outgoing sessions in s2s:show(). Thanks albert, McKael :)
|
Matthew Wild |
Tue, 06 Oct 2009 10:34:13 +0100 |
hostmanager: Only initialse SSL contexts if SSL library available
|
Matthew Wild |
Mon, 05 Oct 2009 22:15:32 +0100 |
mod_console: Also search piggy-backed, er, multiplexed domains when passing a filter to s2s:show()
|
Matthew Wild |
Mon, 05 Oct 2009 18:47:01 +0100 |
Merge with 0.5
|
Matthew Wild |
Mon, 05 Oct 2009 18:42:42 +0100 |
util.array: Small logic fix for array:filter()
|
Matthew Wild |
Mon, 05 Oct 2009 18:39:28 +0100 |
util.array: Fix for array:filter() (in-place filtering)
|
Matthew Wild |
Mon, 05 Oct 2009 17:56:31 +0100 |
mod_console: Add module:list() to help
|
Matthew Wild |
Mon, 05 Oct 2009 14:42:23 +0100 |
mod_console: Add module:list() command to show modules loaded on a host
|
Matthew Wild |
Mon, 05 Oct 2009 14:40:01 +0100 |
util.array: Per-array methods now always mutate the array, array.* return a mutated copy, and most methods (e.g. sort) now return the array
|
Matthew Wild |
Mon, 05 Oct 2009 14:38:04 +0100 |
modulemanager: Add host.modules to contain a table of modules for a host
|
Matthew Wild |
Mon, 05 Oct 2009 10:42:36 +0100 |
Merge with 0.5
|
Matthew Wild |
Mon, 05 Oct 2009 17:57:59 +0100 |
util.array: Fix for array:filter() (in-place filtering)
|
Matthew Wild |
Mon, 05 Oct 2009 17:56:31 +0100 |
mod_console: s2s:show(): Indicate when a connection is encrypted
|
Matthew Wild |
Mon, 05 Oct 2009 15:16:34 +0100 |
mod_tls: require_s2s_encryption -> s2s_require_encryption
|
Matthew Wild |
Mon, 05 Oct 2009 15:00:05 +0100 |
require_encryption deprecated, use c2s_require_encryption instead
|
Matthew Wild |
Mon, 05 Oct 2009 14:59:30 +0100 |
mod_tls: Mark starttls feature as <required/> if require_s2s_encryption is enabled
|
Matthew Wild |
Mon, 05 Oct 2009 14:52:30 +0100 |
mod_tls: Mark session as not secure before negotiating TLS
|
Matthew Wild |
Mon, 05 Oct 2009 14:51:53 +0100 |
s2smanager: Mark session as secure if it was negotiating TLS and opens a new stream
|
Matthew Wild |
Mon, 05 Oct 2009 14:50:27 +0100 |
Merge with 0.5
|
Matthew Wild |
Mon, 05 Oct 2009 14:42:56 +0100 |
mod_console: Add module:list() to help
|
Matthew Wild |
Mon, 05 Oct 2009 14:42:23 +0100 |
mod_console: Add module:list() command to show modules loaded on a host
|
Matthew Wild |
Mon, 05 Oct 2009 14:40:01 +0100 |
util.array: Per-array methods now always mutate the array, array.* return a mutated copy, and most methods (e.g. sort) now return the array
|
Matthew Wild |
Mon, 05 Oct 2009 14:38:04 +0100 |
modulemanager: Add host.modules to contain a table of modules for a host
|
Matthew Wild |
Mon, 05 Oct 2009 10:42:36 +0100 |
mod_tls: Only advertise TLS if the server told us which host they are connecting to
|
Matthew Wild |
Mon, 05 Oct 2009 10:10:53 +0100 |
xmppserver_listener: Lower log-level of debug message to, er, 'debug'
|
Matthew Wild |
Mon, 05 Oct 2009 10:07:06 +0100 |
net.adns: Bump log-level of DNS handler errors to, er, 'error'
|
Matthew Wild |
Mon, 05 Oct 2009 09:56:08 +0100 |
Merge with 0.5
|
Waqas Hussain |
Sun, 04 Oct 2009 22:12:12 +0500 |
stanza_router: Reply to IQ requests with missing 'id' attribute with a bad-request error.
|
Waqas Hussain |
Sun, 04 Oct 2009 21:46:35 +0500 |
rostermanager: Fixed: Roster version was not being properly updated in some edge cases.
|
Waqas Hussain |
Sun, 04 Oct 2009 21:34:17 +0500 |
rostermanager: Added support for saving rosters of offline users to the save_roster function.
|
Waqas Hussain |
Sun, 04 Oct 2009 21:25:59 +0500 |
mod_tls: :up() out of the starttls tag in stream:features
|
Matthew Wild |
Sun, 04 Oct 2009 13:24:04 +0100 |
Specify XMPP version on response stream to incoming s2s connection.
|
Paul Aurich |
Sat, 03 Oct 2009 23:23:00 -0700 |
Minor changes; outgoing TLS works.
|
Paul Aurich |
Sat, 03 Oct 2009 19:20:20 -0700 |
hostmanager: Create ssl context for each host (fixes #30 for outgoing s2s connections)
|
Matthew Wild |
Sun, 04 Oct 2009 16:50:22 +0100 |
loggingmanager: Whitespace fix
|
Matthew Wild |
Sun, 04 Oct 2009 16:41:33 +0100 |
s2smanager: Small comment
|
Matthew Wild |
Sun, 04 Oct 2009 16:40:24 +0100 |
s2smanager: Don't wait for stream:features from non-XMPP-1.0 hosts
|
Matthew Wild |
Sun, 04 Oct 2009 16:39:57 +0100 |
s2smanager: Send stream:features for incoming s2s connections which support XMPP 1.0
|
Matthew Wild |
Sun, 04 Oct 2009 16:38:33 +0100 |
s2smanager: Give outgoing sessions a host field (the local one)
|
Matthew Wild |
Sun, 04 Oct 2009 16:34:17 +0100 |
stanza_router: Add COMPAT comment for Pidgin workaround
|
Matthew Wild |
Sun, 04 Oct 2009 16:31:27 +0100 |
net.server: Small logging improvements
|
Matthew Wild |
Sun, 04 Oct 2009 16:05:11 +0100 |
net.server: Pass current time to timer callbacks
|
Matthew Wild |
Sun, 04 Oct 2009 16:04:33 +0100 |
net.server: Increase SSL handshake round-trip limit, and make it configurable
|
Matthew Wild |
Sun, 04 Oct 2009 16:03:53 +0100 |
net.server: Call handler's status() to notify it of ssl handshake success
|
Matthew Wild |
Sun, 04 Oct 2009 15:58:21 +0100 |
net.server: Provide a way to get sslctx of a client connection
|
Matthew Wild |
Sun, 04 Oct 2009 15:56:55 +0100 |
net.server: Provide a way to get sslctx of a server
|
Matthew Wild |
Sun, 04 Oct 2009 15:56:27 +0100 |
xmppserver_listener: Add status() function to signal when a connection completes its SSL handshake
|
Matthew Wild |
Sun, 04 Oct 2009 14:35:39 +0100 |
xmppserver_listener: Add logger to s2s sessions
|
Matthew Wild |
Sun, 04 Oct 2009 14:24:55 +0100 |
xmppserver_listener: Small whitespace fix
|
Matthew Wild |
Sun, 04 Oct 2009 14:17:54 +0100 |
xmppserver_listener: Better log messages on invalid XML
|
Matthew Wild |
Sun, 04 Oct 2009 14:15:36 +0100 |
mod_dialback: Initiate dialback on incoming stream:features
|
Matthew Wild |
Sun, 04 Oct 2009 14:10:24 +0100 |
mod_tls: Advertise and handle TLS for s2s connections
|
Matthew Wild |
Sun, 04 Oct 2009 14:06:45 +0100 |
util.stanza: Add __type to metatable
|
Matthew Wild |
Sun, 04 Oct 2009 14:03:08 +0100 |
sessionmanager: Use UUID for stream ids to clients, no math.random anymore :)
|
Matthew Wild |
Sat, 03 Oct 2009 18:40:47 +0100 |
sessionmanager: Add c2s_timeout option for unauthenticated client connections
|
Matthew Wild |
Sat, 03 Oct 2009 02:41:28 +0100 |
util.timer: Pass current_time to timer callbacks
|
Matthew Wild |
Sat, 03 Oct 2009 02:33:33 +0100 |
mod_httpserver: Update to use new httpserver.new_from_config syntax
|
Matthew Wild |
Sat, 03 Oct 2009 00:57:26 +0100 |
mod_bosh: Update to use new httpserver.new_from_config syntax
|
Matthew Wild |
Sat, 03 Oct 2009 00:56:45 +0100 |
net.httpserver: Allow modules registering to provide more than just a default path when using httpserver.new_from_config
|
Matthew Wild |
Sat, 03 Oct 2009 00:54:58 +0100 |
Merge with 0.5
|
Matthew Wild |
Fri, 02 Oct 2009 22:37:44 +0100 |
util.muc: Fix location of <x> element on error replies
|
Matthew Wild |
Fri, 02 Oct 2009 22:37:03 +0100 |
Merge with 0.5
|
Matthew Wild |
Fri, 02 Oct 2009 21:24:16 +0100 |
mod_bosh: Fix for 'invalid key to next' error when 2 clients lose connection at the same time
|
Matthew Wild |
Fri, 02 Oct 2009 21:23:32 +0100 |
net.server: Fix missing concatenation operator in error message
|
Matthew Wild |
Fri, 02 Oct 2009 21:20:53 +0100 |
MUC: Prep given JID when changing affiliation.
|
Waqas Hussain |
Fri, 02 Oct 2009 17:56:24 +0500 |
Merge with 0.5
|
Waqas Hussain |
Fri, 02 Oct 2009 17:51:53 +0500 |
Merge
|
Waqas Hussain |
Fri, 02 Oct 2009 17:14:54 +0500 |
mod_register: Added helpful text to registration error responses.
|
Waqas Hussain |
Fri, 02 Oct 2009 17:07:18 +0500 |
mod_register: Changed error type for hitting registration rate limit from 'cancel' to 'wait'.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:52:50 +0500 |
mod_register: Fixed: No error was returned if username failed nodeprep.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:50:30 +0500 |
util.encodings: Removed a bit of unreachable code.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:46:39 +0500 |
util.encodings: Included idn-free.h, which explicitly declares the idn_free function.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:45:54 +0500 |
util.encodings: Fixed: Last change was not ANSI C compatible.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:44:14 +0500 |
Merge with 0.5
|
Matthew Wild |
Wed, 30 Sep 2009 11:06:02 +0100 |
modulemanager: Load modules for components, too
|
Matthew Wild |
Wed, 30 Sep 2009 11:05:26 +0100 |
componentmanager: Preserve existing events table (if any) when registering a component
|
Matthew Wild |
Wed, 30 Sep 2009 11:05:01 +0100 |
componentmanager: Fire event on component activation
|
Matthew Wild |
Wed, 30 Sep 2009 11:03:11 +0100 |
componentmanager: Use create_component for, er, creating components
|
Matthew Wild |
Wed, 30 Sep 2009 11:02:31 +0100 |