Commit graph

242 commits

Author SHA1 Message Date
Waqas Hussain
7c24c84226 modulemanager: module.unload now gets called when modules are being unloaded 2009-01-07 20:03:59 +05:00
Matthew Wild
046e69447e Remove warning of already-loaded modules at startup 2009-01-04 02:55:59 +00:00
Waqas Hussain
9a19a95fe8 Modulemanager: Basic modules can now be unloaded correctly 2009-01-03 18:45:51 +05:00
Matthew Wild
8661b3a502 Fix for not loading global modules when host-specific modules are specified in config 2008-12-24 18:48:09 +00:00
Matthew Wild
d3ad4a5123 0.1 -> 0.2 2008-12-10 15:44:03 +00:00
Waqas Hussain
17f4b2de32 Don't try processing stanzas not of type get or set in module manager 2008-12-08 21:06:41 +05:00
Matthew Wild
2395f6511a Merge from waqas 2008-12-06 23:23:08 +00:00
Matthew Wild
c16c3b6f67 Temporary hack for global modules 2008-12-06 23:15:48 +00:00
Waqas Hussain
09916b3289 Removed unused variables 2008-12-07 03:14:30 +05:00
Waqas Hussain
137ef16316 Combined and merged similar code 2008-12-07 03:10:47 +05:00
Waqas Hussain
f6e8a1e8bf Removed pre-multitable code from module manager 2008-12-07 02:56:17 +05:00
Matthew Wild
6f01a1604c Merge from waqas 2008-12-06 20:25:51 +00:00
Waqas Hussain
9aba6cb646 Changed module manager to use multitable (initial commit) 2008-12-07 01:06:10 +05:00
Matthew Wild
de04023210 Fix add_event_hook in module API 2008-12-06 19:51:10 +00:00
Matthew Wild
0f1d3c4074 Move module loading to modulemanager 2008-12-06 04:03:33 +00:00
Matthew Wild
dfeabed19f Add hostmanager, and eventmanager 2008-12-06 03:41:49 +00:00
Waqas Hussain
fcf33a735b Added function add_feature to modules API (for adding disco features) 2008-12-04 20:07:22 +05:00
Matthew Wild
0c5cc83112 Insert copyright/license headers 2008-12-03 14:39:07 +00:00
Matthew Wild
7271c148ce Update Makefile to now pass config paths to prosody. Update prosody, modulemanager and connectionlisteners to obey these paths. 2008-11-29 03:27:50 +00:00
Matthew Wild
ce18fc957d is_loaded() and incomplete unload() for modules 2008-11-27 16:52:30 +00:00
Matthew Wild
a153b3c267 Bumper commit for the new modulemanager API \o/ Updates all the modules, though some more changes may be in store. 2008-11-27 03:12:12 +00:00
Waqas Hussain
f1878f2666 Check to prevent error on IQs from completely unhandled origins 2008-11-23 10:39:13 +05:00
Matthew Wild
ff3d9317b7 Typo prevented modulemanager.load() from returning the error if load failed. 2008-11-23 05:14:37 +00:00
Waqas Hussain
2ac8168e29 Check to prevent error for IQs from completely unhandled origins 2008-11-22 23:14:31 +05:00
Matthew Wild
35d9765b9a If iq child element has no xmlns, use parent's 2008-11-15 23:10:41 +00:00
Waqas Hussain
7b3ed77aef We now fail if modules fail to load at startup. 2008-11-09 04:26:25 +05:00
Waqas Hussain
0ff2eacdaf Reworked the way lxmppd.cfg is used 2008-11-06 16:52:39 +05:00
Matthew Wild
130049e231 Fix for previous commit (again) 2008-11-02 01:30:36 +00:00
Matthew Wild
deb12dc32b Fix for previous commit 2008-11-02 01:28:27 +00:00
Matthew Wild
ad6a210750 Fix for add_iq_handler to allow multiple origin types too 2008-11-02 01:26:37 +00:00
Matthew Wild
4851756ca4 Fix s2s once and for all
- Moved dialback to the new mod_dialback (mostly).
- Modules can now supply a list of origins to handle to add_handler
- Modules can now handle and process any stanza, overriding the core
- Modules handle non-jabber:client/jabber:server xmlns'd stanzas
2008-11-01 21:07:14 +00:00
Matthew Wild
005b4b9d75 mod_version is here 2008-10-30 21:26:53 +00:00
Waqas Hussain
7117792df5 Added support for XEP-0049: Private XML Storage (mod_private) 2008-10-26 21:22:59 +05:00
Waqas Hussain
48750cfc60 Added: vCard plugin: mod_vcard 2008-10-09 02:59:57 +05:00
Matthew Wild
ab40a27df1 TLS: Handshake works, no data after that 2008-10-05 17:33:38 +01:00
Matthew Wild
70be78c6b4 mod_InBandRegistration -> mod_register 2008-10-05 01:39:49 +01:00
Waqas Hussain
9536785929 User registration, etc (jabber:iq:register) 2008-10-05 04:55:45 +05:00
Matthew Wild
30f0f7372b Fix stanza handlers to use xmlns also for matching 2008-10-04 02:40:47 +01:00
Matthew Wild
9d19964c82 Small fixes 2008-10-04 02:09:46 +01:00
Matthew Wild
4ac420e3b0 Add support for arbitrary events and event hooks 2008-10-03 22:17:20 +01:00
Matthew Wild
6db3d039b3 SASL!
(but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...)
((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
2008-10-02 01:08:58 +01:00
Matthew Wild
a53395e6b7 Huge commit to:
* Break stanza routing (to be restored in a future commit)
* Remove the old stanza_dispatcher code, which was never going to be maintainable nor extendable :)
* Bring us plugins, starting with mod_legacyauth and mod_roster
* Sessions are now created/destroyed using a standard sessionmanager interface
2008-09-30 19:52:00 +01:00