Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core.moduleapi: Hook correct event type in some cases | Kim Alvefur | 2020-01-16 | 1 | -1/+2 |
| | | | | | In rare cases, module.host can be a bare JID, in which case this test did the wrong thing. | ||||
* | core.moduleapi: Rename local name for util.error for consistency | Kim Alvefur | 2019-12-30 | 1 | -6/+6 |
| | | | | It's called 'errors' everywhere else except here. | ||||
* | core.moduleapi: Fix error context in :send_iq API | Kim Alvefur | 2019-12-30 | 1 | -1/+1 |
| | | | | | It got passed as argument to reject() instead of the util.error function and was lost. | ||||
* | core.moduleapi: Restructure send_iq method for more atomic cleanup | Kim Alvefur | 2019-08-21 | 1 | -16/+23 |
| | | | | | All cleanup in one spot instead of two, and at the end which fits with cleanup happening afterwards. | ||||
* | core.moduleapi: Uppercase "IQ stanza" for consistency | Kim Alvefur | 2019-08-21 | 1 | -1/+1 |
| | | | | It's written like that elsewhere in the send_iq method | ||||
* | moduleapi: Log suppressed status priority and message when not overriding | Matthew Wild | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | moduleapi: Remove overly-verbose debug logging on module status change | Matthew Wild | 2019-03-26 | 1 | -1/+0 |
| | |||||
* | moduleapi: New API for modules to set a status | Matthew Wild | 2019-03-19 | 1 | -0/+31 |
| | |||||
* | core.moduleapi: Use convenience function for creating error object from stanza | Kim Alvefur | 2018-12-30 | 1 | -3/+1 |
| | |||||
* | core.moduleapi: Use util.error for :send_iq errors | Kim Alvefur | 2018-12-30 | 1 | -5/+21 |
| | |||||
* | core.moduleapi: Move util imports to top | Kim Alvefur | 2018-12-30 | 1 | -2/+4 |
| | |||||
* | core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714) | Kim Alvefur | 2018-12-28 | 1 | -0/+65 |
| | |||||
* | moduleapi: Use pack from util.table | Kim Alvefur | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | moduleapi: Prevent loading disabled module as dependency of enabled one | Kim Alvefur | 2018-10-25 | 1 | -3/+3 |
| | | | | Explicitly disabled module should stay disabled. | ||||
* | core.moduleapi: Remove redundant condition | Kim Alvefur | 2018-10-18 | 1 | -1/+1 |
| | |||||
* | moduleapi: Remove multiple-parameters feature from module:shared() | Matthew Wild | 2018-08-08 | 1 | -25/+24 |
| | | | | | | Multiple paths are rarely used, and leads to less clear code than just calling module:shared() once per shared table. It also prevents us from extending the API with new parameters in the future. | ||||
* | moduleapi: Use :send API from :broadcast for compactness | Kim Alvefur | 2018-07-14 | 1 | -1/+1 |
| | |||||
* | moduleapi: Lazy-load statsmanager on demand | Kim Alvefur | 2018-07-07 | 1 | -1/+1 |
| | |||||
* | moduleapi: Lazy-load configmanager on demand simplify dependency graph | Kim Alvefur | 2018-07-07 | 1 | -1/+1 |
| | |||||
* | moduleapi: Remove unused and undocumented :has_feature and :has_identity | Kim Alvefur | 2018-02-23 | 1 | -14/+0 |
| | |||||
* | moduleapi: Warn if a module being loaded as a dependency has been disabled | Kim Alvefur | 2017-12-27 | 1 | -0/+3 |
| | |||||
* | Merge 0.10->trunk | Kim Alvefur | 2017-03-16 | 1 | -15/+8 |
|\ | |||||
| * | core.moduleapi: Factor out code for getting a scalar config option | Kim Alvefur | 2017-03-15 | 1 | -15/+8 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-03-06 | 1 | -2/+4 |
|\| | |||||
| * | core: Split some very long lines [luacheck] | Kim Alvefur | 2017-03-04 | 1 | -2/+4 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-08-31 | 1 | -1/+1 |
|\| | |||||
| * | moduleapi: 'duration' became 'times' | Matthew Wild | 2016-08-31 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-04-07 | 1 | -2/+2 |
|\| | |||||
| * | moduleapi: Allow an origin session to be passed to module:send() | Kim Alvefur | 2016-04-06 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-02-18 | 1 | -1/+1 |
|\| | |||||
| * | loggingmanager,modulemanager,moduleapi: Ignore warning about accessing ↵ | Kim Alvefur | 2016-02-18 | 1 | -1/+1 |
| | | | | | | | | _G.unpack [luacheck] | ||||
| * | loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+ | Kim Alvefur | 2016-02-18 | 1 | -1/+2 |
| | | |||||
* | | moduleapi: Silence luacheck warning about unused 'id' parameter | Matthew Wild | 2016-02-05 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-02-05 | 1 | -0/+14 |
|\| | |||||
| * | moduleapi: Add API method for getting a file path | Kim Alvefur | 2016-02-04 | 1 | -0/+14 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-02-01 | 1 | -4/+1 |
|\| | |||||
| * | modulemanager, util.pluginloader: Move logic for locating some module ↵ | Matthew Wild | 2016-02-01 | 1 | -4/+1 |
| | | | | | | | | libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2015-08-20 | 1 | -6/+2 |
|\| | |||||
| * | core.*: Remove use of module() function | Kim Alvefur | 2015-02-21 | 1 | -6/+2 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2015-05-06 | 1 | -18/+29 |
|\| | |||||
| * | moduleapi: Import util.stanza required for module:broadcast() | Matthew Wild | 2015-05-06 | 1 | -0/+1 |
| | | |||||
| * | moduleapi: Add luacheck annotation | Matthew Wild | 2015-05-06 | 1 | -1/+1 |
| | | |||||
| * | moduleapi: Minor variable renaming to avoid clashes with the 'type' function | Matthew Wild | 2015-05-06 | 1 | -14/+14 |
| | | |||||
| * | moduleapi: Clear self.event_handlers when unhooking an event, to prevent leaks | Matthew Wild | 2015-05-06 | 1 | -0/+1 |
| | | |||||
| * | moduleapi: module:measure_event(), module:measure_global_event(): Fix ↵ | Matthew Wild | 2015-05-06 | 1 | -2/+2 |
| | | | | | | | | copy/paste error | ||||
| * | moduleapi: Remove accidental use of undefined and unnecessary 'priority' ↵ | Matthew Wild | 2015-05-06 | 1 | -1/+1 |
| | | | | | | | | variable | ||||
| * | moduleapi: Add module:broadcast() to send a stanza to a list of JIDs | Matthew Wild | 2015-05-06 | 1 | -0/+9 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2015-05-03 | 1 | -0/+31 |
|\| | |||||
| * | moduleapi: New methods for modules to conveniently wrap events | Matthew Wild | 2015-04-28 | 1 | -0/+12 |
| | | |||||
| * | moduleapi: Experimental API for modules to measure the rate+duration of events | Matthew Wild | 2015-04-28 | 1 | -0/+19 |
| | |