Commit Graph

214 Commits (d3bdcaeda0e621f05abaa6c8a86b52dc20a02859)

Author SHA1 Message Date
Matthew Wild 6c0b6f76fb 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) 16 years ago
Waqas Hussain 157842119d modulemanager: Changed api:get_host_items to include items from the global host in its result. 16 years ago
Matthew Wild 9ff673912f modulemanager: Bump log level of unhandled non-default-namespace elements, and log their full XML 16 years ago
Matthew Wild 469e1f4416 modulemanager: Add host.modules to contain a table of modules for a host 16 years ago
Matthew Wild c3ffb26132 modulemanager: Add host.modules to contain a table of modules for a host 16 years ago
Matthew Wild 271afa3673 modulemanager: Load modules for components, too 17 years ago
Waqas Hussain be1b9e55c0 modulemanager: Fixed: Internally generated stanzas could be missing namespaces, which causes tracebacks in logging (e.g., auto-generated offline presence) 17 years ago
Waqas Hussain 87af4a64f3 modulemanager: Removed unused variables and reference to core.discomanager 17 years ago
Waqas Hussain e6991edfc5 modulemanager: Removed unnecessary code in the unload function 17 years ago
Waqas Hussain ed8982a1e9 modulemanager: Removed legacy disco#items hook 17 years ago
Waqas Hussain f56e892bf8 modulemanager: add_feature and add_identity APIs updated to use only the add_item API 17 years ago
Waqas Hussain ff0bd781d2 modulemanager: Added module API function to get all items for a given host based on a key 17 years ago
Waqas Hussain d772917f2d modulemanager: Module API functions add_item and add_feature updated to use the add_item API 17 years ago
Waqas Hussain 49c8f89be2 modulemanager: Changed the add_identity module API to accept an optional name parameter (the 'name' attribute for the <identity/> element) 17 years ago
Waqas Hussain 3900d20a7c Added: functions add_item and remove_item to add and remove items to the module API 17 years ago
Waqas Hussain 8b5ca7aabb modulemanager: Added get_option(name, default_value) to plugin API 17 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild b20127b81a modulemanager: Small code improvement, move autoloaded modules list to the top of the file 17 years ago
Matthew Wild 455e77f21d configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them) 17 years ago
Waqas Hussain d28fa4c70b modulemanager: Don't close stream on stream:error with unsupported-stanza-type (fixes #102) 17 years ago
Matthew Wild a977acec89 modulemanager: Expose api table to allow others to extend the module API 17 years ago
Waqas Hussain 3f141a44c2 modulemanager: Enabled access to the module API from plugin libraries 17 years ago
Matthew Wild 4e32c53614 modulemanager: Fix copy/paste error, should be name instead of module_name 17 years ago
Matthew Wild e418f8a9c6 modulemanager: Call 'load' method when loading a module 17 years ago
Waqas Hussain dc5b5334b8 modulemanager: Added simple module:require implementation 17 years ago
Waqas Hussain 547e4f28d6 modulemanager: Removed unused function get_module_filename(name) 17 years ago
Waqas Hussain 376256439e modulemanager: Changed to use util.pluginloader 17 years ago
Waqas Hussain 100822df21 modulemanager: Change the ideitity attribute typ to type 17 years ago
Waqas Hussain cfb4654a31 modulemanager: Added function add_identity(category, type) to the modules API 17 years ago
Matthew Wild aa79672dbd modulemanager: Use module_name in log entry to fix 'error initialising module "nil"' error 17 years ago
Waqas Hussain 1878c49948 modulemanager: Allow setting a priority while adding an event handler via the module:hook API 17 years ago
Matthew Wild 78259b97be modulemanager: Don't require xmlns to be non-nil 17 years ago
Matthew Wild 650013e7ec modulemanager: module:log() -> self:log() fix 17 years ago
Matthew Wild ca4e395f0c modulemanager: Allow setting priority of stanza handlers 17 years ago
Matthew Wild 114a89b664 modulemanager: Add module:hook([xmlns, ] name, handler) which uses new stanza events 17 years ago
Waqas Hussain 8805419906 modulemanager: Load mod_message, mod_iq and mod_presence implicitly 17 years ago
Waqas Hussain 27593d477f modulemanager: Keep track of event handlers added by module:hook, and remove them on module unload 17 years ago
Waqas Hussain 25a09a4d95 modulemanager: Stopped using core.eventmanager in module:fire_event 17 years ago
Waqas Hussain 3ca6b44ad6 modulemanager: module:fire_event now fires on the global and host-specific events objects as well 17 years ago
Waqas Hussain 2d5433f130 modulemanager: Made some code more concise 17 years ago
Waqas Hussain d7084c6651 modulemanager: module:hook now allows global modules to hook events on the prosody.events object 17 years ago
Waqas Hussain 777a395b47 modulemanager: Added hook(event, handler) to the plugin API 17 years ago
Matthew Wild 05afac6dad modulemanager: Add module:fire_event() to module API 17 years ago
Waqas Hussain 2a3983a113 modulemanager: require util.stanza 17 years ago
Waqas Hussain c3b04f5f09 modulemanager: Don't close the stream on unhandled stream:features 17 years ago
Waqas Hussain 32b1d54a24 stanza_router: Removed global function core_handle_stanza 17 years ago
Matthew Wild dda93565fe modulemanager: Don't load modules when modules_enable is false 17 years ago
Matthew Wild 370ef290d1 modulemanager: Update logger when a module becomes global 17 years ago
Matthew Wild 4366e348c5 modulemanager: No need for print() 17 years ago
Waqas Hussain d0380394a9 Fixed: modulemanager: IQs with extended elements in the default namespace could cause backtraces (related to issue #74) 17 years ago