aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_pep_plus: Don't save subscriptions since they are normally session based ↵Kim Alvefur2018-07-131-0/+9
| | | | and transient
* util.pposix: Use freopen(3) when replacing standard IO streams (thanks ↵Kim Alvefur2018-07-121-7/+3
| | | | | | ratchetfreak) Man page says this is what freopen(3) is for.
* MUC: Also prevent changing to an invisible nicknameKim Alvefur2018-07-121-0/+7
|
* MUC: Use nickname from occupant objectKim Alvefur2018-07-121-1/+1
|
* MUC: Fix stanza referenceKim Alvefur2018-07-121-1/+1
|
* MUC: Reject invisible nicknames (fixes #979)Kim Alvefur2018-07-121-0/+8
|
* MUC: Fix to send status code 100 *only* to the joining (fixes #680)Kim Alvefur2018-07-121-9/+6
| | | | What does `if can_see_real_jids(whois, occupant) then` do?
* MUC: Simplify creation of <{muc}x> for room creationKim Alvefur2018-07-121-4/+2
| | | | | It?s only sent to the creator so no need to have separate variants for different kinds of participants.
* util.xmppstream: Add tests for various XML features forbidden by the RFCMatthew Wild2018-07-111-44/+90
|
* util.xmppstream: Perfom validation of XML declaration parametersMatthew Wild2018-07-111-10/+13
|
* MUC: Include redirect in 'gone' error for destroyed roomsKim Alvefur2018-07-111-0/+4
|
* MUC: Send an 'gone' error instead of unavailable + <destroyed>Kim Alvefur2018-07-111-5/+1
| | | | | List discussion here: https://mail.jabber.org/pipermail/standards/2018-July/035228.html
* MUC: Remove <item> from room destruction announcement, it's added later ↵Kim Alvefur2018-07-111-1/+0
| | | | somwehere
* MUC: Allow an admin to recreate destroyed roomsKim Alvefur2018-07-111-2/+2
|
* MUC: Add support for storing a tombstone for destroyed rooms (#1182)Kim Alvefur2018-07-112-0/+43
|
* MUC: Unset persistence of destroyed rooms later in event chainKim Alvefur2018-07-111-1/+1
|
* MUC: Remove room state on successful restoration from diskKim Alvefur2018-07-111-1/+6
|
* MUC: Purge saved room state when deleting a roomKim Alvefur2018-07-111-0/+1
|
* MUC: Include destruction reason and other info in destroyed eventKim Alvefur2018-07-111-1/+1
|
* MUC: Log a debug message when a non-persistent room becomes empty and is ↵Kim Alvefur2018-07-111-0/+1
| | | | destroyed
* mod_admin_telnet: Rename timer:info() -> debug:timers()Matthew Wild2018-07-101-37/+38
|
* util.serialization: Rewritte for performance and flexibilityKim Alvefur2018-07-101-58/+238
| | | | ... and because rewrites are fun!
* MUC: Flag rooms being destroyed (fixes #887)Kim Alvefur2018-07-102-0/+2
|
* mod_pubsub: Update max_items on resize (fixes #1082)Kim Alvefur2018-07-101-0/+1
|
* mod_pubsub: Cache only max_items to avoid holding reference to possibly ↵Kim Alvefur2018-07-101-1/+2
| | | | | | outdated config Only max_items is used anyways
* util_pubsub_spec: Add test for #1082Kim Alvefur2018-07-101-0/+53
|
* MUC: Bring handling of presence errors to the room more in line with ↵Matthew Wild2018-07-091-7/+13
| | | | | | unavailable presence Related issues: #505, #978
* MUC: Return new occupant object from :save_occupant(), which can include ↵Matthew Wild2018-07-091-0/+1
| | | | useful info
* mod_muc_mam: Disable presence logging by defaultKim Alvefur2018-07-091-1/+1
|
* util.stanza: Brief tests for :remove_childrenKim Alvefur2018-07-081-0/+22
|
* Merge 0.10->trunkKim Alvefur2018-07-081-0/+10
|\
| * util.stanza: Add method for removing all children with a specific name, xmlnsKim Alvefur2018-07-081-0/+10
| |
* | MUC/password: Set room password on creation if included in join stanzaKim Alvefur2018-07-081-0/+8
| | | | | | | | | | | | | | | | This fixes room creation/joining from Gajim if a password has been set. Otherwise the muc-occupant-pre-join event hook determines that the given password differs from the unset password and joining is rejected, which seems unhelpful.
* | MUC/password: Rename variable for clarity [luacheck]Kim Alvefur2018-07-081-2/+3
| |
* | util.{async,timer}: Move sleep() to reduce dependencies of util.timerKim Alvefur2018-07-082-8/+8
| |
* | moduleapi: Lazy-load statsmanager on demandKim Alvefur2018-07-071-1/+1
| |
* | moduleapi: Lazy-load configmanager on demand simplify dependency graphKim Alvefur2018-07-071-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2018-07-071-0/+2
|\|
| * mod_groups: Log a warning about invalid JIDs (#1180)Kim Alvefur2018-07-071-0/+2
| |
* | luacheckrc: Remove mod_groups from ignored filesKim Alvefur2018-07-071-1/+0
| |
* | mod_groups: Adjust imports to avoid name clash [luacheck]Kim Alvefur2018-07-071-2/+2
| |
* | MUC: Remove empty statement [luacheck]Kim Alvefur2018-07-071-1/+1
| |
* | MUC: Clarify logic of invitations in members-only roomsMatthew Wild2018-07-071-3/+5
| |
* | MUC: Add roomconfig_roomname to disco#info, and ensure it's not auto-generatedMatthew Wild2018-07-071-8/+11
| |
* | MUC: Add allowmemberinvites to disco#info so clients know whether to allow ↵Matthew Wild2018-07-071-0/+7
| | | | | | | | users to invite others in a members-only room
* | util.dataforms: More robust handling of field values, especially booleansMatthew Wild2018-07-071-2/+7
| | | | | | | | | | Ensure that a non-nil data[field_name] always overrides the field's default, and that values of boolean 'false' are always rendered in the form.
* | net.server: Set default read timeout to 14 minutes (fixes #971)Kim Alvefur2018-07-063-3/+3
| |
* | mod_pep_plus: Use service discovery helpers from pubsub.libKim Alvefur2018-07-061-16/+4
| |
* | mod_pubsub: Advertise title and description in disco#infoKim Alvefur2018-07-061-0/+22
| |
* | mod_pubsub: Move service discovery to pubsub.lib to allow reuseKim Alvefur2018-07-062-17/+26
| |