tests: More environment magic to help get stuff working in a sandbox
|
Matthew Wild |
Sat, 17 Oct 2009 13:36:40 +0100 |
stanza_router: Localize hosts, full_sessions and bare_sessions, and take from the prosody object instead of _G
|
Matthew Wild |
Sat, 17 Oct 2009 13:33:23 +0100 |
componentmanager: Handle missing prosody object (helps us pass some tests)
|
Matthew Wild |
Sat, 17 Oct 2009 13:31:39 +0100 |
prosody: Move global protection earlier (to before modules are loaded, etc.)
|
Matthew Wild |
Sat, 17 Oct 2009 10:54:28 +0100 |
prosody: Require new require :)
|
Matthew Wild |
Sat, 17 Oct 2009 10:53:31 +0100 |
prosody: Require some core/util libraries which core modules depend upon, C modules and other modules which write to _G
|
Matthew Wild |
Sat, 17 Oct 2009 10:52:25 +0100 |
prosody: Rename global net_activate_ports -> prosody.net_activate_ports
|
Matthew Wild |
Sat, 17 Oct 2009 10:49:13 +0100 |
util.require: A replacement for Lua's require/module that doesn't load into the global environment by default (C modules still get past this)
|
Matthew Wild |
Sat, 17 Oct 2009 10:44:19 +0100 |
util.helpers: Add copyright header
|
Matthew Wild |
Sat, 17 Oct 2009 10:42:19 +0100 |
tests: Have fake module() set _M to satisfy some modules
|
Matthew Wild |
Fri, 16 Oct 2009 22:30:59 +0100 |
s2smanager: Fix access of 'config' global without requiring configmanager
|
Matthew Wild |
Fri, 16 Oct 2009 22:19:20 +0100 |
tests: Add tests for new modulemanager load_modules_for_host code
|
Matthew Wild |
Fri, 16 Oct 2009 22:13:54 +0100 |
modulemanager: Re-organise module loading to still work when no global modules_enabled is defined in the config (thanks hoelzro for accidentally discovering this one)
|
Matthew Wild |
Fri, 16 Oct 2009 22:12:46 +0100 |
util.helpers: Add get_upvalue(function, name) helper
|
Matthew Wild |
Fri, 16 Oct 2009 22:03:32 +0100 |
util.dataforms: Incorporate slightly modified patch for list-single type from Florob
|
Matthew Wild |
Fri, 16 Oct 2009 19:52:09 +0100 |