aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
Commit message (Collapse)AuthorAgeFilesLines
* moduleapi: Use pack from util.tableKim Alvefur2018-12-081-1/+1
|
* moduleapi: Prevent loading disabled module as dependency of enabled oneKim Alvefur2018-10-251-3/+3
| | | | Explicitly disabled module should stay disabled.
* core.moduleapi: Remove redundant conditionKim Alvefur2018-10-181-1/+1
|
* moduleapi: Remove multiple-parameters feature from module:shared()Matthew Wild2018-08-081-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 compactnessKim Alvefur2018-07-141-1/+1
|
* moduleapi: Lazy-load statsmanager on demandKim Alvefur2018-07-071-1/+1
|
* moduleapi: Lazy-load configmanager on demand simplify dependency graphKim Alvefur2018-07-071-1/+1
|
* moduleapi: Remove unused and undocumented :has_feature and :has_identityKim Alvefur2018-02-231-14/+0
|
* moduleapi: Warn if a module being loaded as a dependency has been disabledKim Alvefur2017-12-271-0/+3
|
* Merge 0.10->trunkKim Alvefur2017-03-161-15/+8
|\
| * core.moduleapi: Factor out code for getting a scalar config optionKim Alvefur2017-03-151-15/+8
| |
* | Merge 0.10->trunkKim Alvefur2017-03-061-2/+4
|\|
| * core: Split some very long lines [luacheck]Kim Alvefur2017-03-041-2/+4
| |
* | Merge 0.10->trunkMatthew Wild2016-08-311-1/+1
|\|
| * moduleapi: 'duration' became 'times'Matthew Wild2016-08-311-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2016-04-071-2/+2
|\|
| * moduleapi: Allow an origin session to be passed to module:send()Kim Alvefur2016-04-061-2/+2
| |
* | Merge 0.10->trunkKim Alvefur2016-02-181-1/+1
|\|
| * loggingmanager,modulemanager,moduleapi: Ignore warning about accessing ↵Kim Alvefur2016-02-181-1/+1
| | | | | | | | _G.unpack [luacheck]
| * loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+Kim Alvefur2016-02-181-1/+2
| |
* | moduleapi: Silence luacheck warning about unused 'id' parameterMatthew Wild2016-02-051-1/+1
| |
* | Merge 0.10->trunkMatthew Wild2016-02-051-0/+14
|\|
| * moduleapi: Add API method for getting a file pathKim Alvefur2016-02-041-0/+14
| |
* | Merge 0.10->trunkMatthew Wild2016-02-011-4/+1
|\|
| * modulemanager, util.pluginloader: Move logic for locating some module ↵Matthew Wild2016-02-011-4/+1
| | | | | | | | libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call
* | Merge 0.10->trunkKim Alvefur2015-08-201-6/+2
|\|
| * core.*: Remove use of module() functionKim Alvefur2015-02-211-6/+2
| |
* | Merge 0.10->trunkMatthew Wild2015-05-061-18/+29
|\|
| * moduleapi: Import util.stanza required for module:broadcast()Matthew Wild2015-05-061-0/+1
| |
| * moduleapi: Add luacheck annotationMatthew Wild2015-05-061-1/+1
| |
| * moduleapi: Minor variable renaming to avoid clashes with the 'type' functionMatthew Wild2015-05-061-14/+14
| |
| * moduleapi: Clear self.event_handlers when unhooking an event, to prevent leaksMatthew Wild2015-05-061-0/+1
| |
| * moduleapi: module:measure_event(), module:measure_global_event(): Fix ↵Matthew Wild2015-05-061-2/+2
| | | | | | | | copy/paste error
| * moduleapi: Remove accidental use of undefined and unnecessary 'priority' ↵Matthew Wild2015-05-061-1/+1
| | | | | | | | variable
| * moduleapi: Add module:broadcast() to send a stanza to a list of JIDsMatthew Wild2015-05-061-0/+9
| |
* | Merge 0.10->trunkKim Alvefur2015-05-031-0/+31
|\|
| * moduleapi: New methods for modules to conveniently wrap eventsMatthew Wild2015-04-281-0/+12
| |
| * moduleapi: Experimental API for modules to measure the rate+duration of eventsMatthew Wild2015-04-281-0/+19
| |
* | Merge 0.10->trunkMatthew Wild2015-01-211-0/+5
|\|
| * moduleapi: Module API for statsmanagerMatthew Wild2015-01-211-0/+5
| |
* | Merge 0.10->trunkKim Alvefur2014-09-231-1/+3
|\|
| * core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r)Kim Alvefur2014-09-231-1/+3
| |
* | Merge 0.10->trunkKim Alvefur2014-09-181-3/+7
|\|
| * core.modulemanager, core.moduleapi: Hack around dependency loopKim Alvefur2014-09-171-2/+5
| |
| * core.moduleapi: Use require instead of global to get storagemanager in ↵Kim Alvefur2014-09-171-1/+2
| | | | | | | | module:open_store()
* | Merge 0.10->trunkKim Alvefur2014-05-091-1/+2
|\|
| * core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import ↵Kim Alvefur2014-05-091-1/+2
| | | | | | | | from util.paths
* | core.moduleapi: Fix some global accesses.Waqas Hussain2013-11-061-2/+3
| |
* | core/moduleapi: Return timer object from module:add_timerdaurnimator2013-11-061-5/+24
|/
* moduleapi: Add module:unhook()Matthew Wild2013-09-161-0/+4
|