Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_blocklist: Remove weak cache (and increase default LRU cache size) | Kim Alvefur | 2023-11-26 | 1 | -18/+10 |
| | | | | | | | Weak tables are said to have suboptimal performance, so we might as well get replace it with an increased default LRU cache size. Sorry about the 'and' | ||||
* | plugins: Use integer config API with interval specification where sensible | Kim Alvefur | 2023-07-17 | 1 | -1/+1 |
| | | | | | | | 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 namespace | Kim Alvefur | 2023-03-24 | 1 | -6/+6 |
| | |||||
* | mod_blocklist: Add option 'migrate_legacy_blocking' to disable migration ↵ | Kim Alvefur | 2022-10-17 | 1 | -0/+8 |
| | | | | | | | | | | | | from mod_privacy Tiny performance improvement for new users by skipping this check. Most servers should have gone trough the migration for all active users long ago. As a suitable first step of phasing out this code, we make it possible to disable it first. Later it can be disabled by default, before finally the code is deleted. | ||||
* | plugins: Remove tostring call from logging | Kim Alvefur | 2019-07-30 | 1 | -1/+1 |
| | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()` | ||||
* | mod_blocklist: Add comment to clarify some logic | Kim Alvefur | 2019-06-20 | 1 | -0/+1 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-06-20 | 1 | -0/+8 |
|\ | |||||
| * | mod_blocklist: Trigger resend of presence when unblocking a contact (fixes ↵ | Kim Alvefur | 2019-06-20 | 1 | -0/+8 |
| | | | | | | | | #1380) | ||||
* | | Fix various spelling mistakes [codespell] | Kim Alvefur | 2019-05-03 | 1 | -1/+1 |
|/ | |||||
* | mod_blocklist: Store timestamp of blocking to allow age to be determined | Kim Alvefur | 2018-02-15 | 1 | -5/+7 |
| | |||||
* | mod_blocklist: Allow mod_presence to handle subscription stanzas before ↵ | Kim Alvefur | 2018-04-06 | 1 | -6/+3 |
| | | | | bouncing outgoing presence (fixes #575) | ||||
* | mod_blocklist: Drop messages to existing full JIDs in order to prevent ↵ | Kim Alvefur | 2017-09-27 | 1 | -2/+7 |
| | | | | issues with MUC PMs, fixes #690 | ||||
* | mod_blocklist: Use local variable [luacheck] | Kim Alvefur | 2017-04-01 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Split long line [luacheck] | Kim Alvefur | 2017-03-09 | 1 | -1/+4 |
| | |||||
* | mod_blocklist: Check first level cache before calling blocklist getter | Kim Alvefur | 2016-12-05 | 1 | -6/+3 |
| | |||||
* | mod_blocklist: Simplify loop with ipairs | Kim Alvefur | 2016-12-08 | 1 | -4/+2 |
| | |||||
* | mod_blocklist: Remove one indentation level | Kim Alvefur | 2016-12-05 | 1 | -12/+10 |
| | |||||
* | mod_blocklist: Return early from migration if no valid privacy list data is ↵ | Kim Alvefur | 2016-12-05 | 1 | -7/+9 |
| | | | | found | ||||
* | mod_blocklist: Make the 'false' metadata field a table so we can store ↵ | Kim Alvefur | 2016-12-08 | 1 | -4/+9 |
| | | | | timestamps and other useful data | ||||
* | mod_blocklist: Mention issue numbers | Kim Alvefur | 2016-08-20 | 1 | -3/+4 |
| | |||||
* | mod_blocklist: Decrease priority of iq hooks to ease handling by other modules | Kim Alvefur | 2016-08-20 | 1 | -3/+3 |
| | |||||
* | mod_blocklist: Clear second level cache correctly on user deletion | Kim Alvefur | 2016-01-11 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Update Copyright header | Kim Alvefur | 2015-12-06 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Skip creating some tables and some processing if unblocking | Kim Alvefur | 2015-12-06 | 1 | -8/+9 |
| | |||||
* | mod_blocklist: When blocking someone who sent a subscription request, forget ↵ | Kim Alvefur | 2015-12-06 | 1 | -1/+20 |
| | | | | that request since the user would be unable to deny it while blocked (Fixes #574) | ||||
* | mod_blocklist: Restructure how we keep track of where to send unavailable ↵ | Kim Alvefur | 2015-12-06 | 1 | -3/+13 |
| | | | | presence | ||||
* | mod_blocklist: session[username] can't possibly be unset if that user is ↵ | Kim Alvefur | 2015-12-06 | 1 | -10/+9 |
| | | | | sending queries | ||||
* | mod_blocklist: Add comments describing some variables | Kim Alvefur | 2015-12-06 | 1 | -2/+2 |
| | |||||
* | mod_blocklist: Expand comments on caching of blocklists | Kim Alvefur | 2015-12-06 | 1 | -3/+9 |
| | |||||
* | mod_blocklist: Add comment about compliance issue #575 | Kim Alvefur | 2015-12-06 | 1 | -0/+3 |
| | |||||
* | mod_blocklist: Rename variable for clarity | Kim Alvefur | 2015-12-06 | 1 | -5/+5 |
| | |||||
* | mod_blocklist: Clear second level cache when user is deleted | Kim Alvefur | 2015-12-05 | 1 | -0/+1 |
| | |||||
* | mod_blocklist: Use util.cache to manage how many users blocklists are kept ↵ | Kim Alvefur | 2015-11-25 | 1 | -7/+13 |
| | | | | in memory | ||||
* | mod_blocklist: Explicitly halt event propagation after returning a reply ↵ | Kim Alvefur | 2015-09-16 | 1 | -6/+12 |
| | | | | (send returns nil sometimes) | ||||
* | mod_blocklist: Some cleanup [luacheck] | Kim Alvefur | 2015-04-25 | 1 | -9/+8 |
| | |||||
* | mod_blocklist: Fix import | Kim Alvefur | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Don't send unavailable presence from unavailable sessions ↵ | Kim Alvefur | 2014-10-26 | 1 | -1/+3 |
| | | | | when blocking a contact | ||||
* | mod_blocklist: Only log message about migrating from mod_privacy when there ↵ | Kim Alvefur | 2014-10-25 | 1 | -1/+1 |
| | | | | is data to migrate | ||||
* | mod_blocklist: Capitalize log message | Kim Alvefur | 2014-10-05 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Use full word as variable name, we can afford that | Kim Alvefur | 2014-08-12 | 1 | -4/+4 |
| | |||||
* | mod_blocklist: Correct comment | Kim Alvefur | 2014-08-12 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Fix any unblock emptying the blocklist | Kim Alvefur | 2014-08-12 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: XEP-0191 implementation written for speed and independence ↵ | Kim Alvefur | 2014-08-10 | 1 | -0/+273 |
from mod_privacy |