aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* modulemanager: Fire events module-loaded and module-unloaded, both receive a ↵Matthew Wild2009-12-011-0/+2
| | | | table with 'module' and 'host' fields, thanks bjc
* Merge with 0.6.Waqas Hussain2009-11-291-3/+3
|\
| * core.xmlhandlers: Fixed processing of empty namespaces (which caused an ↵Waqas Hussain2009-11-281-3/+3
| | | | | | | | issue with jwchat).
| * Merge with 0.6 on prosody.imvault/0.6.00.6.0Matthew Wild2009-11-252-12/+28
| |\
* | | s2smanager: Allow configuration of the dialback_secret in the configMatthew Wild2009-11-261-2/+1
| | |
* | | Merge with 0.6Matthew Wild2009-11-251-0/+4
|\| |
| * | s2smanager: Log warning when trying to send a stanza from a host we don't ↵Matthew Wild2009-11-251-0/+4
| | | | | | | | | | | | serve, instead of a traceback (thanks stpeter)
* | | core.sessionmanager, net.*_listener: Remove the evil collectgarbage() callsMatthew Wild2009-11-241-1/+0
| | |
* | | modulemanager: New module API methods for getting config options with type ↵Matthew Wild2009-11-231-1/+82
| | | | | | | | | | | | conversion, get_option_string, get_option_number, get_option_boolean, get_option_array, get_option_set
* | | Merged with 0.6.Waqas Hussain2009-11-222-12/+28
|\ \ \ | | |/ | |/|
| * | sessionmanager: Added function send_to_interested_resources().Waqas Hussain2009-11-221-0/+15
| | |
| * | sessionmanager: Fixed and cleaned function send_to_available_resources(). ↵Waqas Hussain2009-11-221-12/+7
| | | | | | | | | | | | The 'to' attribute for presence subscription stanzas is now preserved.
| * | loggingmanager: Explicitly flush log messages if the __FLUSH_LOG environment ↵Waqas Hussain2009-11-221-0/+6
| |/ | | | | | | variable is defined (workaround for MSVCRT buffering piped output).
* | s2smanager: Fix syntax error introduced in mergeMatthew Wild2009-11-221-1/+1
| |
* | Merge with trunkMatthew Wild2009-11-223-63/+63
|\ \
| * | stanza_router: Don't log full stanzas destined for s2sMatthew Wild2009-11-221-1/+1
| | |
| * | objectmanager: Convert to unix line-endingsMatthew Wild2009-11-211-60/+60
| | |
| * | s2smanager: Don't log full stanza when sending outwardsMatthew Wild2009-11-211-2/+2
| | |
| * | s2smanager: Don't tostring() the data before sending, sends2s already does this.Matthew Wild2009-11-211-1/+1
| |/
* | s2smanager: Update for new net.server API (s2s still doesn't work with ↵Matthew Wild2009-11-221-3/+3
| | | | | | | | libevent for other reasons)
* | sessionmanager: Use : syntax for calling connection methodsMatthew Wild2009-11-211-2/+2
|/
* 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