Kim Alvefur
|
3e5d5895f9
|
Merge 0.10->trunk
|
2017-03-16 23:49:27 +01:00 |
|
Kim Alvefur
|
911bea7746
|
core.moduleapi: Factor out code for getting a scalar config option
|
2017-03-15 15:07:16 +01:00 |
|
Kim Alvefur
|
ca65f0d2d3
|
Merge 0.10->trunk
|
2017-03-06 01:14:32 +01:00 |
|
Kim Alvefur
|
1ecc3a7918
|
core: Split some very long lines [luacheck]
|
2017-03-04 17:49:48 +01:00 |
|
Matthew Wild
|
37913e5ce8
|
Merge 0.10->trunk
|
2016-08-31 16:25:21 +01:00 |
|
Matthew Wild
|
e2dbea53b4
|
moduleapi: 'duration' became 'times'
|
2016-08-31 16:10:16 +01:00 |
|
Kim Alvefur
|
b22eef35d7
|
Merge 0.10->trunk
|
2016-04-07 13:36:58 +02:00 |
|
Kim Alvefur
|
bb95b569ef
|
moduleapi: Allow an origin session to be passed to module:send()
|
2016-04-06 21:29:30 +02:00 |
|
Kim Alvefur
|
03bec1a290
|
Merge 0.10->trunk
|
2016-02-18 15:00:17 +01:00 |
|
Kim Alvefur
|
e349fb9c87
|
loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck]
|
2016-02-18 14:57:51 +01:00 |
|
Kim Alvefur
|
bad300a675
|
loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+
|
2016-02-18 14:57:04 +01:00 |
|
Matthew Wild
|
ee4541c4d8
|
moduleapi: Silence luacheck warning about unused 'id' parameter
|
2016-02-05 00:10:27 +00:00 |
|
Matthew Wild
|
62e7b282ea
|
Merge 0.10->trunk
|
2016-02-05 00:04:11 +00:00 |
|
Kim Alvefur
|
2ab1810f7d
|
moduleapi: Add API method for getting a file path
|
2016-02-04 10:05:35 +01:00 |
|
Matthew Wild
|
11dcbc505b
|
Merge 0.10->trunk
|
2016-02-01 21:28:07 +00:00 |
|
Matthew Wild
|
a1e077c5e7
|
modulemanager, util.pluginloader: Move logic for locating some module libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call
|
2016-02-01 21:26:15 +00:00 |
|
Kim Alvefur
|
6ef7c4d808
|
Merge 0.10->trunk
|
2015-08-20 13:05:22 +02:00 |
|
Matthew Wild
|
daec51c435
|
Merge 0.10->trunk
|
2015-05-06 19:26:53 +01:00 |
|
Matthew Wild
|
dfcb1b6c06
|
moduleapi: Import util.stanza required for module:broadcast()
|
2015-05-06 19:11:27 +01:00 |
|
Matthew Wild
|
a068b1d383
|
moduleapi: Add luacheck annotation
|
2015-05-06 19:02:44 +01:00 |
|
Matthew Wild
|
e5323b0c7f
|
moduleapi: Minor variable renaming to avoid clashes with the 'type' function
|
2015-05-06 19:02:07 +01:00 |
|
Matthew Wild
|
343f4f8c29
|
moduleapi: Clear self.event_handlers when unhooking an event, to prevent leaks
|
2015-05-06 19:01:16 +01:00 |
|
Matthew Wild
|
07fcf555ba
|
moduleapi: module:measure_event(), module:measure_global_event(): Fix copy/paste error
|
2015-05-06 19:00:05 +01:00 |
|
Matthew Wild
|
aec67b444e
|
moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable
|
2015-05-06 18:58:29 +01:00 |
|
Matthew Wild
|
1b81160835
|
moduleapi: Add module:broadcast() to send a stanza to a list of JIDs
|
2015-05-06 18:37:46 +01:00 |
|
Kim Alvefur
|
009cde88a5
|
Merge 0.10->trunk
|
2015-05-03 18:39:27 +02:00 |
|
Matthew Wild
|
b3965a9069
|
moduleapi: New methods for modules to conveniently wrap events
|
2015-04-28 14:18:43 +01:00 |
|
Matthew Wild
|
be7107c0ab
|
moduleapi: Experimental API for modules to measure the rate+duration of events
|
2015-04-28 13:52:07 +01:00 |
|
Kim Alvefur
|
27265c20e2
|
core.*: Remove use of module() function
|
2015-02-21 10:42:19 +01:00 |
|
Matthew Wild
|
6f1ffa163d
|
Merge 0.10->trunk
|
2015-01-21 01:29:00 +00:00 |
|
Matthew Wild
|
e0c0cffcc2
|
moduleapi: Module API for statsmanager
|
2015-01-21 01:28:12 +00:00 |
|
Kim Alvefur
|
65159ec12f
|
Merge 0.10->trunk
|
2014-09-23 01:44:16 +02:00 |
|
Kim Alvefur
|
b58d3248b7
|
core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r)
|
2014-09-23 00:23:33 +02:00 |
|
Kim Alvefur
|
93a297bc8f
|
core.modulemanager, core.moduleapi: Hack around dependency loop
|
2014-09-17 14:48:49 +02:00 |
|
Kim Alvefur
|
a36064641e
|
core.moduleapi: Use require instead of global to get storagemanager in module:open_store()
|
2014-09-17 14:47:52 +02:00 |
|
Kim Alvefur
|
1324a99495
|
Merge 0.10->trunk
|
2014-09-18 02:22:48 +02:00 |
|
Kim Alvefur
|
ccb5e87519
|
Merge 0.10->trunk
|
2014-05-09 23:35:54 +02:00 |
|
Kim Alvefur
|
36b77bca8b
|
core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths
|
2014-05-09 19:35:29 +02:00 |
|
Waqas Hussain
|
37895d0d71
|
core.moduleapi: Fix some global accesses.
|
2013-11-06 14:38:51 -05:00 |
|
daurnimator
|
f725efa472
|
core/moduleapi: Return timer object from module:add_timer
|
2013-11-06 12:56:35 -05:00 |
|
Matthew Wild
|
88613e4e18
|
moduleapi: Add module:unhook()
|
2013-09-16 18:41:09 +01:00 |
|
Florian Zeitz
|
1d833bb807
|
Remove all trailing whitespace
|
2013-08-09 17:48:21 +02:00 |
|
Matthew Wild
|
c8e0c8a63b
|
moduleapi: module:get_host_type() now returns 'global' for * and 'local' for non-components
|
2013-08-06 17:17:23 +01:00 |
|
Kim Alvefur
|
d9bff06d21
|
moduleapi: in module:provides(), add the name of the module in item._provided_by
|
2013-04-27 19:44:37 +02:00 |
|
Kim Alvefur
|
7ad8f743bb
|
moduleapi: module:provides called without an item makes a copy of the environment instead. Fixes warnings about non-existent globals
|
2013-04-27 19:14:22 +02:00 |
|
Matthew Wild
|
bcc1074dd5
|
moduleapi: Add module:get_option_inherited_set() to return a set that inherits items from a globally set set, if set
|
2013-04-27 14:59:00 +01:00 |
|
Matthew Wild
|
82faa21dd3
|
moduleapi: Add module:context(host) to produce a fake API context for a given host (or global). module:context("*"):get_option("foo") to get global options.
|
2013-04-27 14:57:24 +01:00 |
|
Kim Alvefur
|
cde9a24132
|
moduleapi: Make module:open_store() open a store named after the calling module by default
|
2013-04-19 14:42:32 +02:00 |
|
Matthew Wild
|
81216b737e
|
moduleapi: Add module:open_store() as a front-end to storagemanager.open()
|
2013-04-19 13:29:47 +01:00 |
|
Matthew Wild
|
401fb29994
|
moduleapi: assert() that prosody.core_post_stanza is not nil
|
2013-04-05 19:13:46 +01:00 |
|