Commit graph

19 commits

Author SHA1 Message Date
Kim Alvefur
a8b0c56f65 plugins: Use get_option_enum where appropriate 2021-01-16 21:04:58 +01:00
Kim Alvefur
98922d54b1 plugins: Prefix module imports with prosody namespace 2023-03-24 13:15:28 +01:00
Kim Alvefur
127ca30020 mod_watchregistrations: Allow making the message type configurable 2018-05-20 18:56:26 +02:00
Kim Alvefur
2de6a3c394 Merge 0.9->0.10 2017-05-27 16:42:50 +02:00
Emmanuel Gil Peyrot
df7d65413d mod_watchregistrations: Return the pointer to the root of the stanza, fixes #922. 2017-05-27 14:23:43 +01:00
mathieui
2c33b9b47d mod_watchregistrations: add a "registration_from" option
This option, if set, makes all registration notifications come from a single
JID, regardless of which virtualhost it comes from.
2017-01-24 21:13:23 +01:00
Kim Alvefur
e1769afc17 mod_watchregistrations: Use type-specific config API for 'registration_notification' 2016-03-11 13:37:18 +01:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Kim Alvefur
df70fc2508 mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome: Use module:send() instead of core_*_stanza() 2012-07-26 04:35:13 +02:00
Matthew Wild
6f6c868b10 mod_watchregistrations: Convert JID list to a set, and prep before use to fix traceback on invalid JIDs (thanks sMi) 2012-05-24 18:52:47 +01:00
Waqas Hussain
b6555037e9 mod_watchregistrations: Fixed an undefined global access (thanks Medics). 2011-12-12 14:53:12 +05:00
Matthew Wild
cf01eb3632 mod_watchregistrations: Update to pass default options to module:get_option(), and reformat the code a little 2011-10-12 03:48:48 +01:00
Waqas Hussain
b7e51a203d Monster whitespace commit (beware the whitespace monster). 2010-10-16 23:00:42 +05:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Waqas Hussain
8200a2adc8 mod_watchregistrations: Updated to use module:get_option instead of configmanager 2009-08-08 23:55:25 +05:00
Matthew Wild
e45610ce6e Add copyright header to those files missing one 2009-07-10 03:08:38 +01:00
Waqas Hussain
04245075ea mod_watchregistrations: Use module:hook instead of module:add_event_hook 2009-05-31 01:14:57 +05:00
Matthew Wild
1a1358157d mod_watchregistrations: admin -> admins 2009-05-27 14:03:12 +01:00
Matthew Wild
173ba6433a mod_watchregistrations: New plugin to send a message to admins when a new user registers 2009-05-26 04:51:05 +01:00