aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
* | mod_s2s, s2smanager, mod_dialback: Move addition of session.send() on s2sin ↵Matthew Wild2012-05-101-2/+7
|/ | | | to after they are authenticated (thus from mod_s2s to s2smanager). Update mod_dialback to fire route/remote directly, as session.send() is no longer available for s2sin_unauthed. Fixes #291.
* stanza_router: Fire route/remote per-hostMatthew Wild2012-05-041-3/+4
|
* stanza_router: Allow route/remote handlers to return false to block a stanzaMatthew Wild2012-05-041-1/+1
|
* sessionmanager: Remove max_resources config option and check, incorrect ↵Matthew Wild2012-05-031-4/+0
| | | | anyway (thanks Zash)
* portmanager: Import pairsKim Alvefur2012-05-031-1/+1
|
* modulemanager: Pass the module's final host (e.g. '*') to the module-loaded ↵Matthew Wild2012-04-301-1/+1
| | | | event
* modulemanager: Hide deprecation warning for modules loaded on '*' directly ↵Matthew Wild2012-04-291-1/+3
| | | | (e.g. prosodyctl mod_<command>) (thanks Zash)
* portmanager: Import ipairs (thanks Maranda)Matthew Wild2012-04-291-1/+1
|
* moduleapi: Add module:get_directory() to get module file's directory, and ↵Matthew Wild2012-04-281-0/+10
| | | | module:load_resource() to load a file relative to that directory
* portmanager: Import tonumber (thanks Zash)Matthew Wild2012-04-281-1/+1
|
* portmanager: Ensure port is always a number (thanks Zash)Matthew Wild2012-04-281-0/+1
|
* modulemanager: Fixes to handle circular dependencies in module:depends()Matthew Wild2012-04-281-3/+9
|
* usermanager: Add log error for use of COMPAT config option ↵Matthew Wild2012-04-281-1/+4
| | | | 'anonymous_login'. To be removed in next version.
* storagemanager: Fix incorrect variable nameMatthew Wild2012-04-281-1/+1
|
* moduleapi: Import util.timerMatthew Wild2012-04-281-0/+1
|
* hostmanager: Remove import of unused setmetatableMatthew Wild2012-04-281-1/+1
|
* moduleapi: Remove unused variable 'module_items'Matthew Wild2012-04-281-1/+0
|
* modulemanager: Remove unused function importsMatthew Wild2012-04-281-10/+4
|
* modulemanager: Remove unused NULL declarationMatthew Wild2012-04-281-2/+0
|
* portmanager: Fix breakage (import ALL the functions)Matthew Wild2012-04-281-2/+4
|
* portmanager: Rename activate_service() to activate() (to match deactivate())Matthew Wild2012-04-281-2/+2
|
* portmanager: Add module() definitionMatthew Wild2012-04-281-0/+2
|
* portmanager: Explicitly import some librariesMatthew Wild2012-04-281-0/+6
|
* modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps)Matthew Wild2012-04-271-0/+3
|
* hostmanager: Remove unused host_config parameter from host-activated eventMatthew Wild2012-04-271-1/+1
|
* hostmanager: Add some TODO commentsMatthew Wild2012-04-271-0/+2
|
* hostmanager: Convert host-deactivating event parameters to a tableMatthew Wild2012-04-271-1/+1
|
* 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
| |