aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_muc_mam: Use period option methodKim Alvefur2023-07-181-13/+3
|
* plugins: Use integer config API with interval specification where sensibleKim Alvefur2023-07-171-4/+4
| | | | | | | Many of these fall into a few categories: - util.cache size, must be >= 1 - byte or item counts that logically can't be negative - port numbers that should be in 1..0xffff
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-11/+11
|
* mod_muc_mam: Use higher precision timestampsKim Alvefur2023-01-211-1/+1
| | | | See also 781772c8b6d9
* mod_muc_mam: Copy "include total" behavior from mod_mamKim Alvefur2023-01-211-1/+5
| | | | | Not sure why this was missing from MUC MAM, it already had some of the code for dealing with it.
* mod_muc_mam: Add mam#extended form fields #1796 (Thanks Rain)Kim Alvefur2023-01-211-0/+10
| | | | Oversight in cabb022f31c0
* mod_mam,mod_muc_mam: Minimize differences (reorder, copy some comments)Kim Alvefur2023-01-211-3/+6
| | | | | Should have no functional difference, but makes it easier keeping mod_mam and mod_muc_mam in sync.
* mod_muc_mam: Switch to mod_cron for message expiryKim Alvefur2021-11-221-6/+1
|
* mod_mam,mod_muc_mam: Simplify deletion when multi-user-deletion is supportedKim Alvefur2021-11-301-6/+26
| | | | More code, but less of it needs to run and no extra tracking is needed.
* mod_muc_mam: Use util.dataforms timestamp validationKim Alvefur2021-10-261-14/+5
|
* mod_muc_mam: Fix reference to "user" in debug message copied from mod_mamKim Alvefur2021-09-231-1/+1
|
* mod_muc_mam: Merge main and RSM-specific log message into a single oneKim Alvefur2021-09-231-9/+7
|
* mod_muc_mam: Fix copypaste mistake in debug loggingKim Alvefur2021-09-231-1/+1
| | | | | This line was copied from mod_mam, where `origin.username` made sense, less so here.
* mod_muc_mam: Omit queryid attribute from <fin/>Holger Weiss2021-08-061-1/+1
| | | | | Since version 0.4 of XEP-0313, the <fin/> element is sent with the IQ result and no longer has a queryid attribute.
* mod_muc_mam: Copy extended MAM support from mod_mamKim Alvefur2021-01-121-4/+21
| | | | | | mod_mam and mod_muc_mam are just different enough that having them be the same module gets complicated, but close enough to have overlapping code.
* Merge 0.11->trunkKim Alvefur2020-06-211-3/+0
|\
| * mod_muc_mam: Don't strip MUC <x> tags, fix #1567Kim Alvefur2020-06-211-3/+0
| |
* | Merge 0.11->trunkKim Alvefur2020-05-111-1/+1
|\|
| * mod_muc_mam: Remove spoofed archive IDs before archiving, fix #1552Kim Alvefur2020-05-111-1/+1
| | | | | | | | | | | | | | | | | | The stanza-id added during archiving looks exactly like what should be stripped, so the stripping must happen before archiving. Getting priorities right is hard! Also no test coverage yet.
* | Merge 0.11->trunkKim Alvefur2020-05-091-1/+2
|\|
| * mod_muc_mam: Fix missing advertising of XEP-0359, fixes #1547Kim Alvefur2020-05-081-0/+1
| |
| * mod_muc_mam: Fix stanza id filter event name, fixes #1546Kim Alvefur2020-04-291-1/+1
| | | | | | | | Nice typo
* | MAM: Remove 1% of contents when reaching limits, fix #1545Kim Alvefur2020-05-051-1/+2
| | | | | | | | | | | | With mod\_storage\_internal this counts out to 100 messages out of 10 000, meaning should not hit the quota limit immediately until that many messages have been added again.
* | Merge 0.11->trunkKim Alvefur2020-03-111-1/+5
|\|
| * mod_mam,mod_muc_mam: Allow other work to be performed during archive cleanup ↵Kim Alvefur2020-03-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | (fixes #1504) This lets Prosody handle socket related work between each step in the cleanup in order to prevent the server from being completely blocked during this. An async storage backend would not need this but those are currently rare.
* | Merge 0.11->trunkKim Alvefur2020-02-271-5/+8
|\|
| * mod_muc_mam: Fix traceback saving message from non-occupant (fixes #1497)Kim Alvefur2020-02-271-5/+8
| | | | | | | | Caused by a plugin sending a message from the room itself.
| * mod_muc_mam: Fix rebase mistake [luacheck]Kim Alvefur2019-12-241-1/+1
| | | | | | | | The 'err' was there in trunk
* | mod_muc_mam: Measure how long a cleanup run takes (like mod_mam)Kim Alvefur2020-01-041-0/+4
| |
* | Merge 0.11->trunkKim Alvefur2019-12-241-17/+64
|\ \ | |/ |/|
| * mod_muc_mam: Remove unused variable [luacheck]Kim Alvefur2019-12-231-1/+1
| |
| * mod_muc_mam: Handle form identification error (e.g. not a form at all)Kim Alvefur2019-12-231-1/+4
| |
| * mod_muc_mam: Copy debug log improvements from mod_mamKim Alvefur2019-11-171-6/+12
| |
| * mod_muc_mam: Conditionally advertise MAM feature on rooms (fixes #1407)Kim Alvefur2019-08-101-1/+3
| |
| * plugins: Remove tostring call from loggingKim Alvefur2019-07-301-3/+3
| | | | | | | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()`
| * Merge 0.11->trunkKim Alvefur2019-05-271-1/+7
| |\
| * | mod_muc_mam: Propagate item-not-found to client (fixes #1325)Kim Alvefur2019-05-051-1/+5
| | |
| * | mod_muc_mam: Handle archive quotasKim Alvefur2019-05-051-4/+31
| | | | | | | | | | | | Same as in mod_mam
| * | Merge 0.11->trunkKim Alvefur2019-03-221-1/+78
| |\ \
| * | | mod_muc_mam: Set error status if loaded on incorrect host typeMatthew Wild2019-03-191-1/+1
| | | |
| * | | Merge 0.11->trunkKim Alvefur2019-03-041-1/+4
| |\ \ \
| * | | | mod_muc_mam: Validate that the FORM_TYPE of a query is as expectedKim Alvefur2019-03-041-1/+6
| | | | |
* | | | | mod_muc_mam: Schedule cleanup again on failureKim Alvefur2019-12-241-0/+1
| | | | |
* | | | | mod_muc_mam: Log error when unable to delete old messages (fix #1481) [luacheck]Kim Alvefur2019-12-241-0/+2
| | | | |
* | | | | mod_muc_mam: Log error when unable to store stanza (fix #1480) [luacheck]Kim Alvefur2019-12-231-0/+2
| |_|_|/ |/| | |
* | | | mod_muc_mam: Cache last date that archive owner has messages to reduce ↵Kim Alvefur2019-05-271-1/+7
| |_|/ |/| | | | | | | | writes (fixes #1368)
* | | mod_muc_mam: Copy cleanup mechanism from mod_mam (fixes #672)Kim Alvefur2019-03-221-1/+78
| |/ |/|
* | mod_muc_mam: Add comment about the tricks done with the 'with' fieldKim Alvefur2019-03-041-0/+1
| |
* | mod_muc_mam: Move a comment to the line it describesKim Alvefur2019-03-041-1/+1
| |
* | mod_muc_mam: Strip the stanza 'to' attribute (fixes #1259)Kim Alvefur2019-03-041-0/+2
|/