Commit graph

1074 commits

Author SHA1 Message Date
Matthew Wild
c240995e51 modulemanager: Cleanup some unused variables, imports, whitespace and add a comment. 2012-01-22 18:49:49 +00:00
Matthew Wild
15a0736720 modulemanager, moduleapi: Replace hooks multitable with an event_handlers map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object. 2012-01-22 18:49:11 +00:00
Matthew Wild
6924d7bfb5 modulemanager: Drop unnecessary prosody_events local 2012-01-22 18:47:33 +00:00
Matthew Wild
184f681d3f modulemanager: Some reorganisation. Only external change is (should be) that module-unloaded and module-loaded are no longer fired when reloading a module, the new event module-reloaded is fired instead. 2012-01-22 18:46:17 +00:00
Matthew Wild
36542853ef modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) 2012-01-22 18:41:55 +00:00
Matthew Wild
f5b0bf49fd s2smanager: Fix missing import of 'type' (thanks darkrain) 2011-12-20 17:36:38 +00:00
Matthew Wild
d9a74e4196 hostmanager: Add send() method to hosts 2011-12-16 16:01:59 +00:00
Waqas Hussain
5f61bd217c usermanager: Prep admin JIDs (fixes issue#276). 2011-12-14 07:19:58 +05:00
Waqas Hussain
06aa3c416e s2smanager: Don't throw an error when the "interface" config option is a string (which it is by default). 2011-12-14 06:46:24 +05:00
Matthew Wild
c60f52cc4d sessionmanager: Remove unused reference to modulemanager 2011-12-13 15:42:21 +00:00
Matthew Wild
8143f5ff10 s2smanager: Remove unused reference to modulemanager 2011-12-13 15:40:37 +00:00
Matthew Wild
568f00002d modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of) 2011-12-13 13:34:21 +00:00
Florian Zeitz
d4584664f7 s2smanager: Store port specified by SRV records 2011-12-07 23:37:56 +01:00
Matthew Wild
5a887a9e66 s2smanager: Use config over xmppserver's default interface 2011-11-28 14:30:12 +00:00
Matthew Wild
9b5a2dada5 Merge with Florob 2011-11-26 03:50:51 +00:00
Matthew Wild
a6418c6df2 loggingmanager: Remove unused 'critical' level 2011-11-22 17:56:52 +00:00
Waqas Hussain
163e9d4bef certmanager: More informative logging. 2011-11-01 23:57:42 +05:00
Florian Zeitz
a71b403617 s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." 2011-10-26 02:03:33 +02:00
Florian Zeitz
9be7bd1055 s2smanager, xmppserver_listener: Support for connecting to other servers via IPv6 2011-10-22 18:29:23 +02:00
Waqas Hussain
c372e5d38c modulemanager: Fix undefined global access in handling of module.save error handling. 2011-09-21 03:25:34 +05:00
Waqas Hussain
108aa8061b modulemanager: Fixed undefined global access in broadcast of item-remove events on module unload. 2011-09-17 20:28:46 +05:00
Matthew Wild
be9a85a08a modulemanager: Add module:handle_items() to allow a module to more easily handle a list of items on a host 2011-08-29 13:09:29 -04:00
Waqas Hussain
c405d599c5 certmanager: Support setting ciphers in SSL config. LuaSec apparently ignores the documented ciphers option. 2011-08-25 12:09:16 +05:00
Waqas Hussain
e583053022 configmanager: resolve_relative_path: Improved detection of absolute paths on Windows. 2011-08-25 12:07:36 +05:00
Matthew Wild
5f57f8ff0b modulemanager: Add module:hook_global(name, handler, priority) to hook global (server-wide) events 2011-08-14 13:56:13 -04:00
Kim Alvefur
f0ec18a8b7 core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions 2011-08-08 18:23:53 +02:00
Paul Aurich
2fa9066d42 s2smanager: Update to newer luasec 2010-12-06 21:46:50 -08:00
Matthew Wild
d32ab3e7a8 sessionmanager: Remove dependency on util.import 2011-06-27 14:57:31 +01:00
Matthew Wild
cc5269517d s2smanager: Fix letter case in log message (thanks darkrain) 2011-06-05 23:55:16 +01:00
Waqas Hussain
fe3b3eecae sessionmanager: Log reason when destroying a session. 2011-05-07 21:15:34 +05:00
Waqas Hussain
9c62d4894f s2smanager: Log reason when destroying a session. 2011-05-07 21:15:13 +05:00
Matthew Wild
1cfb734e0e Merge 0.8->trunk 2011-04-05 13:26:43 +01:00
Matthew Wild
ca74173a82 usermanager: Check host exists before trying to look up admins for it 2011-04-05 13:26:19 +01:00
Matthew Wild
4e83c7ddd6 sessionmanager: Fire pre-resource-unbind to allow plugins (such as mod_smacks) to hook and prevent/override session destruction 2011-03-29 14:10:00 +01:00
Matthew Wild
6d11c941c0 s2smanager: Drop some log messages to debug level from info/warn 2011-02-22 18:27:31 +00:00
Matthew Wild
e5dfde383e s2smanager: Drop some log messages to debug level from info/warn 2011-02-22 18:27:31 +00:00
Waqas Hussain
fca75eb761 modulemanager: Added module.path to the plugin API to let plugins determine their load path. 2011-02-20 20:06:38 +05:00
Waqas Hussain
e55a81dfae modulemanager: Added module.path to the plugin API to let plugins determine their load path. 2011-02-20 20:06:38 +05:00
Matthew Wild
31faa98f14 loggingmanager: Allow specifying a sink type in per-level logging config (thanks ruskie) 2011-02-13 18:37:34 +00:00
Matthew Wild
29747bfa1e loggingmanager: Allow specifying a sink type in per-level logging config (thanks ruskie) 2011-02-13 18:37:34 +00:00
Matthew Wild
0f0601ab2d loggingmanager: Iterate over logging config rules using ipairs rather than pairs 2011-02-13 18:35:39 +00:00
Matthew Wild
807eb44ee6 loggingmanager: Iterate over logging config rules using ipairs rather than pairs 2011-02-13 18:35:39 +00:00
Waqas Hussain
c5be702368 Merge 0.8->trunk. 2011-02-03 13:18:20 +05:00
Paul Aurich
78a80f36b5 modulemanager: Fix disabling a module on a single host 2011-02-01 17:56:16 -08:00
Waqas Hussain
d76f04e84e Merge 0.8->trunk 2011-01-29 04:54:08 +05:00
Waqas Hussain
4e486d4ba9 stanza_router: Return a <bad-request/> error on invalid IQ type. 2011-01-29 04:42:56 +05:00
Matthew Wild
215af9f197 s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul) 2011-01-26 13:23:39 +00:00
Matthew Wild
3dda2fcfac Merge 0.8->trunk 2011-01-21 14:02:56 +00:00
Waqas Hussain
db0a3bec91 loggingmanager: Fix reading configuration of timestamps for console output. 2011-01-13 02:33:50 +05:00
Waqas Hussain
6abd0110a4 loggingmanager: Re-read 'debug' option on reload. 2011-01-13 02:31:10 +05:00