aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* s2smanager: Don't tostring() the data before sending, sends2s already does this.Matthew Wild2009-11-211-1/+1
|
* s2smanager: Fail outgoing s2s connection if hostname does not pass ↵Matthew Wild2009-11-201-1/+6
| | | | idna_to_ascii(), thanks Flo + waqas
* s2smanager: Queue db:verify unless we already sent a db:result (if we had ↵Matthew Wild2009-11-201-5/+1
| | | | then it can could a dialback deadlock). Also remove some redundant code which could cause a db:result to be sent while still negotiating features (e.g. TLS) and break things. Collectively these fix a 'random' s2s failure (usually with ejabberd for some reason) - resulting in an 'unbound prefix' XML error, or 'ssl handshake failure'. Was this commit message long enough? I think so.
* Changed separator between attribute names and prefixes from '|' to '\1' ↵Waqas Hussain2009-11-121-4/+3
| | | | (optimization and cleanup).
* componentmanager: Improved logging for stanzas being bounced for unavailable ↵Waqas Hussain2009-11-121-1/+1
| | | | components.
* modulemanager: api:get_option(): Handle correctly option values of boolean ↵Matthew Wild2009-11-081-1/+8
| | | | false, don't assume value unset
* rostermanager: Fixed a global access.Waqas Hussain2009-10-221-0/+1
|
* rostermanager: Refactored roster loading to remove duplicate code.Waqas Hussain2009-10-221-17/+8
|
* rostermanager: Log a warning when a self-contact is detected.Waqas Hussain2009-10-221-3/+10
|
* rostermanager: Ensure meta-data entry is present on roster load.Waqas Hussain2009-10-221-0/+1
|
* rostermanager: Remove self-contacts from loaded rosters.Waqas Hussain2009-10-221-0/+2
|
* xmlhandlers: Reset state on error or stream close, fixes possible tracebackMatthew Wild2009-10-211-1/+2
|
* usermanager: Removed an unnecessary global access.Waqas Hussain2009-10-211-4/+1
|
* usermanager: Logged a clear warning when the 'admins' option is not a table.Waqas Hussain2009-10-211-1/+1
|
* usermanager: Changed function is_admin to allow checking for host-specific ↵Waqas Hussain2009-10-211-2/+6
| | | | admins.
* s2smanager: Use session-specific logger to log outgoing data on outgoing s2s ↵Matthew Wild2009-10-181-1/+1
| | | | connections
* modulemanager: Module loading rewritten to gracefully deal with errors in ↵Waqas Hussain2009-10-181-18/+22
| | | | module initialization.
* modulemanager: Use componentmanager to create new components.Waqas Hussain2009-10-181-1/+6
|
* componentmanager: Added a FIXME comment.Waqas Hussain2009-10-181-1/+1
|
* componentmanager: Unload mod_tls for components before removing them.Waqas Hussain2009-10-181-0/+1
|
* componentmanager: Let the default component handler handle stanzas if a ↵Waqas Hussain2009-10-181-0/+1
| | | | component handler isn't available.
* modulemanager: Fixed: Stanza modules were being auto-loaded for components ↵Waqas Hussain2009-10-181-3/+5
| | | | (regression in hg:1e674dae31ae).
* modulemanager: Fixed traceback on loading modules on unknown hosts.Waqas Hussain2009-10-171-1/+1
|
* modulemanager: Slightly rearranged code for more robust unloading of modules.Waqas Hussain2009-10-171-1/+1
|
* stanza_router: Added a compatibility workaround for missing 'id' attribute ↵Waqas Hussain2009-10-171-5/+2
| | | | in <iq/> elements.
* hostmanager: Create a server sslctx for incoming connectionsMatthew Wild2009-10-171-0/+2
|
* s2smanager: Add incoming_s2s to the prosody objectMatthew Wild2009-10-171-0/+1
|
* hostmanager: deactivate() now accepts a reason, closes s2s connections as ↵Matthew Wild2009-10-171-6/+37
| | | | well as disconnecting users, and unloads modules for the host
* hostmanager: Add return _M;Matthew Wild2009-10-171-0/+1
|
* stanza_router: Localize hosts, full_sessions and bare_sessions, and take ↵Matthew Wild2009-10-171-1/+4
| | | | from the prosody object instead of _G
* componentmanager: Handle missing prosody object (helps us pass some tests)Matthew Wild2009-10-171-2/+4
|
* s2smanager: Fix access of 'config' global without requiring configmanagerMatthew Wild2009-10-161-1/+1
|
* modulemanager: Re-organise module loading to still work when no global ↵Matthew Wild2009-10-161-13/+16
| | | | modules_enabled is defined in the config (thanks hoelzro for accidentally discovering this one)
* Merge with 0.5Waqas Hussain2009-10-131-3/+3
|\
| * rostermanager: Fixed a traceback on roster save.Waqas Hussain2009-10-131-3/+3
| |
| * modulemanager: Add host.modules to contain a table of modules for a hostMatthew Wild2009-10-051-0/+1
| |
* | modulemanager: Changed api:get_host_items to include items from the global ↵Waqas Hussain2009-10-131-0/+8
| | | | | | | | host in its result.
* | componentmanager: Auto-load mod_tls for components #hackMatthew Wild2009-10-091-0/+1
| |
* | componentmanager: Remove FIXMEMatthew Wild2009-10-091-1/+0
| |
* | componentmanager: Fix oops in pattern for matching subdomainMatthew Wild2009-10-091-1/+1
| |
* | componentmanager: Use ssl_ctx of 'parent' host (should fix TLS for components)Matthew Wild2009-10-081-1/+12
| |
* | s2smanager: Make s2s-stream-features a per-host eventMatthew Wild2009-10-081-1/+6
| |
* | modulemanager: Bump log level of unhandled non-default-namespace elements, ↵Matthew Wild2009-10-061-1/+2
| | | | | | | | and log their full XML
* | s2smanager: Don't send version=1.0 in reply to incoming stream tag if they ↵Matthew Wild2009-10-061-1/+1
| | | | | | | | didn't advertise 1.0 (makes happy some old ejabberd versions)
* | sessionmanager: Mark client streams as opened sooner to avoid wrapping ↵Paul Aurich2009-10-061-9/+10
| | | | | | | | errors in unnecessary stream tags
* | s2smanager: Improve log message on missing to/from in stream headerMatthew Wild2009-10-061-1/+3
| |
* | hostmanager: Only initialse SSL contexts if SSL library availableMatthew Wild2009-10-051-3/+5
| |
* | s2smanager: Mark session as secure if it was negotiating TLS and opens a new ↵Matthew Wild2009-10-051-0/+4
| | | | | | | | stream
* | Merge with 0.5Matthew Wild2009-10-051-0/+1
|\ \
| * | modulemanager: Add host.modules to contain a table of modules for a hostMatthew Wild2009-10-051-0/+1
| | |