aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Include the very last message in serialized form to keep it across ↵Kim Alvefur2016-04-281-0/+12
| | | | eviction and restore
* MUC: Add event for when room is done being createdKim Alvefur2016-04-282-1/+7
|
* MUC: Split out handling of the room-creating presence into its own methodKim Alvefur2016-04-282-17/+58
|
* MUC: Split out handling of normal (un)available presence into its own methodKim Alvefur2016-04-281-169/+175
|
* MUC: Use a timestamp to keep track of when to unlock room instead of a timer ↵Kim Alvefur2016-04-281-9/+7
| | | | (so timer does not unlock an evicted room)
* MUC: Move the locked flag into persisted data (so not to lose it on eviction)Kim Alvefur2016-04-281-3/+3
|
* MUC: Log cases of possible room resynchronisationKim Alvefur2016-04-281-0/+8
|
* MUC: Be more careful with deserialization of rooms, fix case where a bare ↵Kim Alvefur2016-04-271-2/+2
| | | | jid has joined as multiple participants
* MUC: Use correct room name variable, fixes traceback (thanks mathieui)Kim Alvefur2016-04-271-1/+1
|
* MUC: Correctly iterate over suspended rooms while excluding live roomsKim Alvefur2016-04-261-1/+1
|
* MUC: Don't force-save rooms where not neededKim Alvefur2016-04-201-2/+2
|
* MUC: Assign priorities to config form hooks so they have a consistent order ↵Kim Alvefur2016-04-1911-11/+11
| | | | on each start
* Merge 0.10->trunkKim Alvefur2016-04-191-1/+1
|\
| * Merge 0.9->0.10Kim Alvefur2016-04-191-1/+1
| |\
| | * net.server_event: Check the buffer *length*, not the buffer itself (Fixes ↵Kim Alvefur2016-04-191-1/+1
| | | | | | | | | | | | 100% cpu usage introduced in 65abd9d7bf88)
* | | MUC: Fix logic for when to broadcast unavailable presence (actual fix for ↵Kim Alvefur2016-04-191-2/+1
| | | | | | | | | | | | 14170d161b39)
* | | MUC: Return item-not-found as error when attempting to change role of ↵Kim Alvefur2016-04-191-1/+1
| | | | | | | | | | | | non-existant occupant
* | | Merge 0.10->trunkKim Alvefur2016-04-191-4/+3
|\| |
| * | Merge 0.9->0.10Kim Alvefur2016-04-191-4/+3
| |\|
| | * net.server_event: Return the correct value as timeoutKim Alvefur2016-04-191-1/+1
| | |
| | * net.server_event: Fix traceback if event re-added during starttlsKim Alvefur2016-04-191-4/+3
| | |
* | | mod_bosh: Add annotations to ignore unused arguments [luacheck]Kim Alvefur2016-04-191-2/+2
| | |
* | | mod_bosh: Remove unused imports (also mistake in merge)Kim Alvefur2016-04-191-2/+1
| | |
* | | mod_bosh: Fix imports that got lost in mergeKim Alvefur2016-04-191-0/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2016-04-191-1/+1
|\| |
| * | mod_bosh: Don't decrement rid twice (thanks av6)Kim Alvefur2016-04-191-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2016-04-191-0/+4
|\| |
| * | Merge 0.9->0.10Kim Alvefur2016-04-192-0/+11
| |\|
| | * net.server_event: Re-add write event if writebuffer is non-empty after write ↵Kim Alvefur2016-04-191-0/+4
| | | | | | | | | | | | (eg due to writes from ondrain callback) (fixes #661)
| | * MUC: Accept missing form as "instant room" request (fixes #377)Kim Alvefur2016-04-191-0/+8
| | |
* | | Merge 0.10->trunkKim Alvefur2016-04-191-29/+41
|\| |
| * | mod_bosh: Reject fractional 'wait' (See #343)Kim Alvefur2016-04-191-1/+1
| | |
| * | mod_bosh: Return a proper BOSH error response from XML parse error callback ↵Kim Alvefur2016-04-191-2/+3
| | | | | | | | | | | | (see #343)
| * | mod_bosh: Validate that 'sid' and 'wait' have sane values (fixes #475, also ↵Kim Alvefur2016-04-191-3/+14
| | | | | | | | | | | | see #343)
| * | mod_bosh: Validate 'to' host (see #343)Kim Alvefur2016-04-191-1/+9
| | |
| * | mod_bosh: Return a proper BOSH error response instead of deprecated(?) ↵Kim Alvefur2016-04-191-2/+6
| | | | | | | | | | | | status code (See #343)
| * | mod_bosh: Log error returned from stream:feed()Kim Alvefur2016-04-191-2/+3
| | |
| * | mod_bosh: Return if a response has been sent already (See #343)Kim Alvefur2016-04-191-0/+2
| | |
| * | mod_bosh: Remove unused importKim Alvefur2016-04-191-1/+0
| | |
* | | CHANGES: Update for MUC changesKim Alvefur2016-04-181-0/+2
| | |
* | | MUC: Store rooms on disk on shutdownKim Alvefur2016-04-181-3/+1
| | |
* | | MUC: Cache public rooms and their names to speed up disco#itemsKim Alvefur2016-04-181-3/+15
| | |
* | | MUC: Switch to util.cache for storing rooms, store rooms to disk on evictionKim Alvefur2016-04-181-36/+51
| | |
* | | MUC: Add support for serializing live rooms, including occupants and their ↵Kim Alvefur2016-04-181-3/+55
| | | | | | | | | | | | presence
* | | MUC: Flatten format of serialized roomsKim Alvefur2016-04-181-6/+22
| | |
* | | MUC: Move room deserialization to muc.libKim Alvefur2016-04-182-3/+8
| | |
* | | MUC: Wrap "support" for the groupchat 1.0 join protocol in a config option ↵Kim Alvefur2016-04-181-0/+10
| | | | | | | | | | | | to allow disabling
* | | MUC/subject: Fix reference to room for save call (self, not room)Kim Alvefur2016-04-181-2/+3
| | |
* | | MUC: Save yourself! (fixes reference to current room)Kim Alvefur2016-04-181-1/+1
| | |
* | | MUC: Assign occupants unavailable presence on room destruction, fixes ↵Kim Alvefur2016-04-181-0/+1
| | | | | | | | | | | | destruction notification