aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/history.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-2/+2
|
* MUC: Skip adding to history when it's set to zeroKim Alvefur2021-07-191-0/+4
| | | | | Optimizes away all the processing on every message in case the end-result is zero history.
* MUC: Remove XEP-0091: Legacy Delayed DeliveryKim Alvefur2020-10-171-3/+0
| | | | | | | Why do we still include this? Deprecated in 2007, obsoleted in 2009. Removes redundant timestamp that nobody should be looking at since many years and a redundant copy of the room JID.
* MUC: Adapt rules for what should be stored from mod_mamKim Alvefur2020-04-261-1/+21
| | | | | | This is the subset of mod_mam rules I believe makes sense in MUC. Note that mod_muc_mam does not have its own rules, but uses these.
* MUC: Advertise history related fields as integers via XEP-0122Kim Alvefur2019-10-201-2/+4
| | | | This takes advantage of data type validation and conversion done in util.dataforms.
* MUC: Fix delay@from to be room JID (fixes #1416)0.11.3Kim Alvefur2019-08-311-2/+2
|
* MUC: Split long lines [luacheck strict]Kim Alvefur2018-08-031-2/+6
|
* MUC: Add sections in room config formMatthew Wild2018-07-131-1/+1
|
* MUC: Improve labels of all config form itemsMatthew Wild2018-07-131-2/+4
|
* Merge 0.10 -> trunkMatthew Wild2018-05-161-2/+32
| | | | | This commit intentionally drops changes from c2b99fa134b3 and 8da11142fabf which are based on older MUC code.
* MUC: Introduce an event to allow plugins to influence which messages are ↵Kim Alvefur2018-05-071-2/+5
| | | | added to history
* MUC: Move condition for what gets added to history so that other modules ↵Kim Alvefur2018-05-071-16/+16
| | | | | | | benefit (thanks jcbrand) This helps mod_muc_mam avoid logging eg chat-state-only messages without needing to implement similar logic in many places
* MUC: Include original stanza in send history eventKim Alvefur2017-04-011-0/+1
|
* MUC: Decrement priority muc-get-history hook to standard for core modulesKim Alvefur2017-04-011-1/+1
|
* MUC: Assign priorities to config form hooks so they have a consistent order ↵Kim Alvefur2016-04-191-1/+1
| | | | on each start
* MUC: Move history to room._historyKim Alvefur2016-04-121-3/+3
|
* MUC: Rename variables to please luacheckKim Alvefur2016-01-201-1/+1
|
* MUC: Update all config form handlers to take advantage of the new per-option ↵Matthew Wild2015-12-111-4/+5
| | | | events
* mod_muc: Add muc-add-history event to allow modules to override default ↵Matthew Wild2015-01-061-1/+8
| | | | history storage
* plugins/muc: Fix use of incorrect event on occupant joindaurnimator2014-06-171-1/+1
|
* plugins/muc: Move 'module:get_option_number("max_history_messages")' from ↵daurnimator2014-04-291-1/+2
| | | | mod_muc into history lib; remove from muclib exports
* plugins/muc/muc.lib: Move sending of occupant list to joining user out of ↵daurnimator2014-04-211-1/+1
| | | | hook, and into main flow: It has to occur before publication of their status
* plugins/muc: Move history to an external moduledaurnimator2014-04-031-0/+161
This resulted in the split up of the main muc-occupant-joined event handler into 3 seperate ones, handling occupant list, history and subject