aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* modulemanager: Set module.environment before calling add_host, otherwise the ↵Matthew Wild2012-04-271-2/+2
| | | | module will get the parent's environment (thanks xnyhps and Maranda)
* moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza ↵Matthew Wild2012-04-271-1/+2
| | | | works for compat)
* moduleapi: get_host_type(): Return nil for global modules (no host)Matthew Wild2012-04-271-1/+1
|
* moduleapi: Fix parameters to unhook_object_event()Matthew Wild2012-04-261-1/+1
|
* moduleapi: module:depends(): Don't load shared modules onto the current host ↵Matthew Wild2012-04-261-1/+2
| | | | if the current host is '*'...
* moduleapi: Add module:unhook_object_event()Matthew Wild2012-04-261-0/+4
|
* portmanager: Fix selecting bind_interfaces from pre-0.9 config options.Kim Alvefur2012-04-251-2/+3
|
* Merge timber->trunk - thanks everyone!Matthew Wild2012-04-249-976/+667
|\
| * portmanager: Add get_service_at(interface, port) and close(interface, port)Matthew Wild2012-04-241-3/+17
| |
| * moduleapi: Add module:add_timer(delay, callback) - automatically halts the ↵Matthew Wild2012-04-231-0/+7
| | | | | | | | timer on module unload
| * modulemanager: Set module.loaded = false on unloadMatthew Wild2012-04-231-0/+1
| |
| * moduleapi: module:depends(): Load shared modules onto the current host even ↵Matthew Wild2012-04-231-0/+3
| | | | | | | | if they are loaded globally already
| * modulemanager: Report errors that happen when loading a shared module onto ↵Matthew Wild2012-04-231-1/+1
| | | | | | | | its original host
| * moduleapi: module:provides(): Add "-provider" onto the key nameMatthew Wild2012-04-231-1/+1
| |
| * moduleapi: module:provides(): Fix usage of wrong tableMatthew Wild2012-04-231-1/+1
| |
| * 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
| |