aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* moduleapi: Don't auto-reload self when already reloading (fixes reload of ↵Matthew Wild2012-05-111-1/+1
| | | | modules with cyclic dependencies)
* modulemanager: Set module.reloading = true when firing module-reloaded eventMatthew Wild2012-05-111-3/+5
|
* mod_s2s, mod_auth_anonymous, hostmanager: Remove disallow_s2s flag, ↵Matthew Wild2012-05-111-1/+0
| | | | deprecate the config option of the same name (disable mod_s2s instead), and add 'allow_anonymous_s2s' to separately control s2s for anonymous users
* Merge with ZashMatthew Wild2012-05-101-27/+2
|\
| * s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2sKim Alvefur2012-05-101-5/+0
| |
| * s2smanager: Clean up unused imports.Kim Alvefur2012-05-101-22/+2
| |
* | 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