aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge with ZashMatthew Wild2012-04-221-1/+1
|\
| * core.certmanager: Log a message when a password is required but not ↵Kim Alvefur2012-04-211-1/+1
| | | | | | | | supplied. fixes #214
* | modulemanager: For children of shared modules, set module.environment to the ↵Matthew Wild2012-04-211-0/+1
| | | | | | | | empty environment for that module (useful to expose data or APIs at host.modules[module])
* | moduleapi: Have modules internally store a reference to shared tables they ↵Matthew Wild2012-04-211-0/+2
|/ | | | use, to ensure they don't get collected while any module that had access to that table is still loaded (thanks Zash)
* modulemanager: When a shared module becomes global, ensure it still gets ↵Matthew Wild2012-04-211-2/+4
| | | | loaded onto the original target host
* modulemanager: Support for shared modules - function ↵Matthew Wild2012-04-211-0/+15
| | | | module.add_host(host_module) in a global module
* modulemanager: Make module_has_method and module_call_method use rawget()Matthew Wild2012-04-211-3/+3
|
* modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")Matthew Wild2012-04-211-1/+1
|
* modulemanager: Use api_instance rather than pluginenv.module (same thing)Matthew Wild2012-04-211-3/+3
|
* modulemanager: Allow loading a module onto "*" (part-fixes #228)Matthew Wild2012-04-211-2/+4
|
* loggingmanager, util.logger: Remove name sinks and the ability to filter ↵Matthew Wild2012-03-151-28/+6
| | | | logs by source name (lots of code, hardly used if at all, and possibly broken)
* portmanager: Support 'default_port' in service optionsMatthew Wild2012-03-151-1/+3
|
* portmanager: Add get_registered_services() to the public APIMatthew Wild2012-03-151-0/+4
|
* portmanager: Remove check for service_info.multiplex (now implemented in ↵Matthew Wild2012-03-151-1/+1
| | | | mod_net_multiplex)
* portmanager: Fix pre-0.9 compatibility by taking default_interface and ↵Matthew Wild2012-03-151-4/+5
| | | | default_port from the listener instead of service table
* portmanager: Allow services to specify their config option prefixMatthew Wild2012-03-151-4/+8
|
* moduleapi: Add module:send() as an alias for core_post_stanza() from the ↵Matthew Wild2012-03-151-0/+5
| | | | current host's origin
* moduleapi: Add module:provides(), a shortcut to add an item with the current ↵Matthew Wild2012-03-151-0/+14
| | | | module's name
* portmanager: Fire service-removed on unregisterMatthew Wild2012-03-141-0/+1
|
* portmanager: Fix log message when multiple services are configured to use ↵Matthew Wild2012-03-141-1/+1
| | | | the same port
* portmanager: Support item-added/net-provider (global and shared modules only!)Matthew Wild2012-03-141-0/+9
|
* portmanager: Add unregister_service(), and allow multiple services with the ↵Matthew Wild2012-03-141-6/+26
| | | | same name (they get queued)
* modulemanager: Some refactoring. Deprecate module.host = "*", modules should ↵Matthew Wild2012-03-141-9/+11
| | | | call module:set_global() (which has been around since forever)
* moduleapi: Set module.global = true when module:set_global() is calledMatthew Wild2012-03-141-0/+1
|
* modulemanager: Use appropriate events object for global modules when firing ↵Matthew Wild2012-03-141-1/+2
| | | | item-removed on unload
* Merge with ZashMatthew Wild2012-03-111-1/+0
|\
| * s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2sKim Alvefur2012-03-111-1/+0
| |
* | portmanager: Add get_active_services()Matthew Wild2012-03-111-0/+4
|/
* portmanager: Add get_service()Matthew Wild2012-03-111-0/+3
|
* core.portmanager: Make sure the private flag takes precedence over global ↵Kim Alvefur2012-03-031-1/+1
| | | | interfaces
* s2smanager, mod_s2s: clear up ip_hosts after s2s is marked as established, ↵Marco Cirillo2012-02-241-0/+1
| | | | remove useless space from mod_s2s code
* s2smanager: remove send_to_host.Florian Zeitz2012-02-241-4/+1
|
* modulemanager: include mod_c2s and mod_s2s into autoloaded modules.Florian Zeitz2012-02-241-1/+1
|
* s2smanager, mod_s2s, mod_s2s/s2sout: Split connection handling out of ↵Matthew Wild2012-01-231-570/+11
| | | | s2smanager into mod_s2s, and further split connection logic for s2sout to a module lib, s2sout.lib.lua
* stanza_router: Replace s2s send logic with firing of a 'route/remote' eventMatthew Wild2012-01-231-16/+7
|
* stanza_router: Remove obsolete commented codeMatthew Wild2012-01-231-5/+0
|
* sessionmanager: Require uuid_generate()Matthew Wild2012-01-231-0/+1
|
* sessionmanager, mod_c2s: Move timeout logic to mod_c2sMatthew Wild2012-01-231-10/+0
|
* portmanager: Pass port to friendly_error_message()Matthew Wild2012-01-231-2/+2
|
* mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and ↵Matthew Wild2012-01-221-49/+0
| | | | stream logic into a new module, mod_c2s
* portmanager: One manager to, in the darkness, bind themMatthew Wild2012-01-221-0/+132
|
* Merge with trunkMatthew Wild2012-01-226-288/+408
|\
| * moduleapi: Add module:shared(), a way to easily share data between multiple ↵Matthew Wild2012-01-221-0/+23
| | | | | | | | loaded modules
| * moduleapi: Add module:depends(), a way to safely depend upon another module ↵Matthew Wild2012-01-221-0/+29
| | | | | | | | at runtime
| * modulemanager: load(): Return and use the correct module objectMatthew Wild2012-01-221-2/+2
| |
| * modulemanager: Cleanup some unused variables, imports, whitespace and add a ↵Matthew Wild2012-01-221-3/+1
| | | | | | | | comment.
| * modulemanager, moduleapi: Replace hooks multitable with an event_handlers ↵Matthew Wild2012-01-222-21/+12
| | | | | | | | map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object.
| * modulemanager: Drop unnecessary prosody_events localMatthew Wild2012-01-221-3/+1
| |
| * modulemanager: Some reorganisation. Only external change is (should be) that ↵Matthew Wild2012-01-221-62/+94
| | | | | | | | module-unloaded and module-loaded are no longer fired when reloading a module, the new event module-reloaded is fired instead.
| * modulemanager: Move in-module API functions to core.moduleapi (half the file ↵Matthew Wild2012-01-222-212/+240
| | | | | | | | size, yay)