Commit Graph

154 Commits (51549fe050a1aec00284d1e2599c93010bc763c2)

Author SHA1 Message Date
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 9698b497ba mod_muc: Fix incorrect variable name 13 years ago
Matthew Wild e09c12782c mod_muc: Remove some old TODO comments 13 years ago
Matthew Wild 19dc1c3cae mod_muc: Fix incorrect variable name 13 years ago
Matthew Wild 9cfd06fd2b mod_muc: Remove unused variable 13 years ago
Matthew Wild 719dba768b mod_muc: Use stanza:maptags() instead of custom filtering functions, 7 insertions, 19 deletions! 13 years ago
Matthew Wild efe217c73f mod_muc: Replace getText() with get_child_text(), 1 insertion, 12 deletions! 13 years ago
Matthew Wild 5cea0b1570 mod_muc: Pass actor (requesting JID) when generating the config form, and to the muc-config-form event handler 13 years ago
Matthew Wild 5950b8bdd2 mod_muc: Add getter/setter for 'whois' (fixes traceback) 13 years ago
Matthew Wild 42be754bb2 mod_muc: Refactor config form handling, and allow for clients to submit incomplete forms. Fixes #246 13 years ago
Matthew Wild a9407043cf mod_muc: Fire muc-room-created and muc-room-destroyed events (thanks nik) 13 years ago
Matthew Wild 362a2f35ba MUC: Allow actor == true to set roles (like affiliations) 13 years ago
Matthew Wild 3c969049fe MUC: Allow plugins to add and handle options in the MUC config form 13 years ago
Matthew Wild 55913ddacf MUC: add __tostring on room metatable 13 years ago
Matthew Wild 1ffb32ffca mod_muc/muc.lib: Don't add messages without a body (such as chat state notifications) to the room history (thanks louiz’, Link Mauve, poezio and all its users) 13 years ago
Waqas Hussain 8fe41d1d85 MUC: Always return <service-unavailable/> when a node is present in service discovery requests. 13 years ago
Waqas Hussain f593ba0c19 MUC: Fix affiliation check for admins, and bring it in line with the spec (thanks Maranda). 13 years ago
Kim Alvefur 2f165b6ef2 MUC: Don't reply to errors (thanks iron) 13 years ago
Waqas Hussain afef23ee7e MUC: Support invite messages when stanza type is explicitly set to "normal" or to an unknown value. 13 years ago
Matthew Wild e81f3c8098 muc: Make max_history_messages simply a service-wide config option, and don't store it per-room (rooms still have their own history_message, but this is a global limit) 13 years ago
Kim Alvefur 5db9a6c120 MUC: Fix traceback caused by faulty logic precedence. (thanks waqas, nulani) 13 years ago
Waqas Hussain d05d283041 MUC: Fix a traceback caused by private IQ result and error stanzas where the encoded id can't be processed. 14 years ago
Waqas Hussain 4c408e8dfe MUC: Fix private IQ results and errors for non-vcard queries. 14 years ago
Waqas Hussain 664243f884 MUC: Expose room metatable in the MUC lib. 14 years ago
Waqas Hussain f1f8cf4baf MUC: Fix private IQ and message routing. 14 years ago
Matthew Wild ce33d9c59d mod_muc: Fix a couple of cases of 'forbidden' stanza error being sent with type 'cancel' - fixes #303 14 years ago
Matthew Wild 17729a0e3b muc.lib: room:set_historylength(): Condense code, and don't store length when equal to default 14 years ago
Waqas Hussain 4341ffc0b6 MUC: Fix check for history length update. 14 years ago
Matthew Wild d61c6b1760 muc.lib: Fix for traceback when no history length is set for the room 14 years ago
Marco Cirillo d0b87d8ac6 muc.lib: return feature-not-implemented when a foregoing discovery node is specified in a disco#info request. 14 years ago
Matthew Wild 9570749b05 mod_muc/muc.lib: Fall back to default_history_length if no length in config 14 years ago
Matthew Wild 6bd5b3b2ea mod_muc/muc.lib.lua: Remove unused imports and variables 14 years ago
Markus Kötter 2634159a45 muc - implement per channel history limits 14 years ago
Waqas Hussain 2311895df9 MUC: Fix a possible stack overflow (when a local component joins a room, then disconnects, an unavailble-error presence cycle can occur). 14 years ago
Waqas Hussain d22f972445 MUC: Allow affiliation change when argument actor==true in room:set_affiliation(). 15 years ago
Matthew Wild 4ce6d1e03d MUC: Change error type of badly-formatted stanza from 'auth' to 'modify' (thanks Andrew) 15 years ago
Waqas Hussain dec8a3ba7a MUC: Include occupant count in room disco#info response. 15 years ago
Waqas Hussain 88b861e694 MUC: Don't limit affiliation changes to owners, and allow owners to remove themselves if they are not the last owner. 15 years ago
Waqas Hussain 5f8cd641ca MUC: Add a textual error message when the user isn't allowed to get/set config form. 15 years ago
Kim Alvefur 7138d1090a MUC: Add option to allow participants to change the subject. 15 years ago
Kim Alvefur 572952044a MUC: Add option to allow participants to change the subject. 15 years ago
Kim Alvefur ee8892b9e5 MUC: Fix a pair of missing :up() 15 years ago
Kim Alvefur 6bf334e359 MUC: Fix a pair of missing :up() 15 years ago
Waqas Hussain d36a55a5fa MUC: Include the user's current presence contents when broadcasting a role change. 15 years ago
Waqas Hussain 11742a3c59 MUC: Include the user's current presence contents when broadcasting an affiliation change. 15 years ago
Kim Alvefur c6eb530c0b MUC: Change room name and description properly 15 years ago
Kim Alvefur e982b67152 MUC: Grant membership when inviteing someone into a members-only room. 15 years ago
Waqas Hussain a9eb525db3 MUC: Only send status code 110 (entering non-anonymous room) to the occupant themselves, not to other occupants. 15 years ago
Waqas Hussain f95ecafd2d MUC: Added some more missing :up()s to the stanza building for presence broadcasts (thanks again Zash). 15 years ago
Kim Alvefur d1353b964d MUC: Parse submitted form with util.dataforms 15 years ago