Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
2023-03-24 13:15:28 +01:00
Kim Alvefur
bc0e389d47
mod_uptime: Encode uptime as decimal, fix #1536 (thanks Martin)
2020-04-22 21:46:56 +02:00
Kim Alvefur
e10171d44d
mod_adhoc: Improve permission setting ( fix #1482 ) BC
...
Rename 'user' permission mode to 'any' for clarity, too easily mistaken
for what the 'local_user' setting does.
It is also removed as a default and made a required argument.
2019-12-20 22:47:34 +01:00
Kim Alvefur
9c620291f4
mod_ping, mod_uptime: Use module:provides
2018-10-27 17:36:51 +02:00
Emmanuel Gil Peyrot
b7b67000ca
mod_uptime: Simplify iq handling by hooking on iq-get/ instead of iq/.
2018-08-24 20:35:17 +02:00
Kim Alvefur
c58d93be51
mod_uptime: Depend on mod_adhoc
2018-07-02 23:42:00 +02:00
Kim Alvefur
1e9ad3b4b3
mod_uptime: Remove unused arguments [luacheck]
2017-10-20 06:54:06 +02:00
Florian Zeitz
1d833bb807
Remove all trailing whitespace
2013-08-09 17:48:21 +02:00
Matthew Wild
263e2e8015
mod_uptime: Use module:hook_global()
2011-08-14 14:00:54 -04:00
Waqas Hussain
b7e51a203d
Monster whitespace commit (beware the whitespace monster).
2010-10-16 23:00:42 +05:00
Matthew Wild
3a3911c017
mod_uptime: Add ad-hoc command
2010-06-11 13:29:15 +01:00
Matthew Wild
2bc0606453
Update copyright headers for 2010
2010-03-22 17:06:15 +00:00
Waqas Hussain
78879a5134
mod_uptime: Removed event hook for iq/bare. mod_uptime only deals with iq/host queries.
2009-10-18 22:45:41 +05:00
Waqas Hussain
f4647ca54c
mod_uptime: Removed unused variables.
2009-10-18 22:44:18 +05:00
Waqas Hussain
8d0f16c431
mod_uptime: Updated to use events (which also fixes a few minor issues).
2009-10-18 19:42:45 +05:00
Matthew Wild
d51286cbf6
mod_uptime: Fix bad uptime if module is loaded at startup
2009-07-10 15:33:53 +01:00
Matthew Wild
118883d655
Remove version number from copyright headers
2009-07-10 03:11:45 +01:00
Matthew Wild
b64754ac04
mod_uptime: Use time of server start rather than module load
2009-07-08 04:22:45 +01:00
Matthew Wild
aa77dac9da
mod_uptime: Convert to unix line endings
2009-07-08 04:22:15 +01:00
Matthew Wild
c80f91dc02
0.3->0.4
2009-03-20 20:16:25 +00:00
Matthew Wild
c5ee166aa9
Update copyright notices for 2009
2009-01-30 17:59:26 +00:00
Matthew Wild
f2d020191f
0.2->0.3
2009-01-30 17:40:25 +00:00
Matthew Wild
bf3b96204d
GPL->MIT!
2009-01-30 17:22:56 +00:00
Matthew Wild
d3ad4a5123
0.1 -> 0.2
2008-12-10 15:44:03 +00:00
Waqas Hussain
2d2414f199
Change modules to use the new add_feature module API method.
...
This also fixes the bug causing disco features being added to every disco reply for every host.
2008-12-04 20:16:30 +05:00
Matthew Wild
0c5cc83112
Insert copyright/license headers
2008-12-03 14:39:07 +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
f68d335729
Modules now sending disco replies
2008-11-26 08:27:09 +05:00
Waqas Hussain
04bebd603f
Removed useless [[local send = require "core.sessionmanager".send_to_session]] from mod_uptime and mod_version
2008-11-16 04:52:11 +05:00
Waqas Hussain
b2a1a80faf
Added mod_uptime: [XEP-0012: Last Activity] queries now work when directed at the server.
2008-11-10 01:33:37 +05:00