aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/register.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Enforce strict resourceprep when registering room nicknamesKim Alvefur2020-05-021-1/+1
| | | | | | | If nickname enforcement is enabled this would otherwise let you bypass the join check in muc.lib by registering an invalid nickname and then joining with any nickname, letting register.lib change it to the invalid registered nick.
* MUC: Indicate origin of registration related errorsKim Alvefur2019-11-251-3/+3
|
* MUC: Make nickname field in registration form requiredKim Alvefur2019-11-021-1/+1
| | | | | | Prevents traceback from resourceprep(nil) muc#register_roomnick is also required in XEP-0045
* Merge 0.11->trunkKim Alvefur2019-10-201-2/+0
|\
| * MUC: Don't advertise registration feature on host JID (fixes #1451)Kim Alvefur2019-10-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | There is currently no mention in XEP-0045 of how or where to advertise support for registration. Advertising on the host JID may be confusable with service-wide registration, as implemented in ejabberd. A common and sensible pattern in XMPP is that a feature is advertised on the JID where the service is available.
* | MUC: Validate registration dataform more carefullyKim Alvefur2019-10-201-1/+13
| |
* | MUC: Simplify nickname refresh loopKim Alvefur2019-08-251-2/+1
|/ | | | Affiliation data is passed as a loop variable so no need to retrieve it
* MUC: If a user with an existing affiliation registers, preserve that ↵Matthew Wild2018-09-131-1/+1
| | | | affiliation (thanks jc)
* MUC: Move comment for clarityMatthew Wild2018-09-041-1/+1
|
* MUC: Add support for registering with a MUC, including reserving a nickname ↵Matthew Wild2018-09-031-0/+195
as per XEP-0045