Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plugins: Use integer config API with interval specification where sensible | Kim Alvefur | 2023-07-17 | 1 | -2/+2 |
| | | | | | | | 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: Switch to :get_option_period() for time range options | Kim Alvefur | 2023-07-16 | 1 | -2/+2 |
| | | | | Improves readability ("1 day" vs 86400) and centralizes validation. | ||||
* | plugins: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-24 | 1 | -4/+4 |
| | |||||
* | mod_register_limits: Reword some options | Kim Alvefur | 2021-09-19 | 1 | -19/+21 |
| | | | | Remember to remove the compatibility things in some future version | ||||
* | mod_register_limits: Fix text reason field name for 'throttled' | Kim Alvefur | 2020-04-23 | 1 | -1/+1 |
| | | | | Copy-paste mistake presumably | ||||
* | mod_register_limits: Fix typo error name (fix #1539 p2) (thanks Ge0rG) | Kim Alvefur | 2020-04-23 | 1 | -1/+1 |
| | | | | Probably because autocomplete. | ||||
* | mod_register_limits: Fix order of arguments to util.error (fix #1539 p1) ↵ | Kim Alvefur | 2020-04-23 | 1 | -3/+3 |
| | | | | (thanks Ge0rG) | ||||
* | mod_register_limits: Use util.error for managing rejection reasons | Kim Alvefur | 2019-11-01 | 1 | -9/+28 |
| | |||||
* | mod_register_ibr, mod_register_limits: Add support for custom error type and ↵ | Emmanuel Gil Peyrot | 2019-09-29 | 1 | -0/+6 |
| | | | | defined-condition. | ||||
* | mod_register_limits: Promote log message about inability to apply ↵ | Kim Alvefur | 2018-04-10 | 1 | -1/+1 |
| | | | | black/whitelists to a warning | ||||
* | mod_register_limits: Change debug message wording, there's no user yet | Kim Alvefur | 2018-04-10 | 1 | -1/+1 |
| | |||||
* | mod_register_limits: Use existing local variable | Kim Alvefur | 2018-04-10 | 1 | -2/+2 |
| | |||||
* | mod_register_limits: Return reason for disallowing | Kim Alvefur | 2018-03-10 | 1 | -0/+3 |
| | |||||
* | mod_register_limits: Log message for white- and blacklist hits separate | Kim Alvefur | 2018-03-10 | 1 | -2/+5 |
| | |||||
* | mod_register_limits: Log a debug message when disallowing registration by ↵ | Kim Alvefur | 2018-03-10 | 1 | -0/+1 |
| | | | | ewhite- or blacklist | ||||
* | mod_register_ibr: Split out throttling and IP limitations into ↵ | Kim Alvefur | 2017-12-09 | 1 | -0/+71 |
mod_register_limits (#723) |