Kim Alvefur
|
1987a7411f
|
plugins: Switch to :get_option_period() for time range options
Improves readability ("1 day" vs 86400) and centralizes validation.
|
2023-07-16 20:49:33 +02:00 |
|
Kim Alvefur
|
98922d54b1
|
plugins: Prefix module imports with prosody namespace
|
2023-03-24 13:15:28 +01:00 |
|
Kim Alvefur
|
20a7b158ed
|
mod_register_limits: Reword some options
Remember to remove the compatibility things in some future version
|
2021-09-19 15:52:07 +02:00 |
|
Kim Alvefur
|
14083d021e
|
mod_register_limits: Fix text reason field name for 'throttled'
Copy-paste mistake presumably
|
2020-04-23 19:24:27 +02:00 |
|
Kim Alvefur
|
3820952675
|
mod_register_limits: Fix typo error name (fix #1539 p2) (thanks Ge0rG)
Probably because autocomplete.
|
2020-04-23 19:00:48 +02:00 |
|
Kim Alvefur
|
4923e7f87f
|
mod_register_limits: Fix order of arguments to util.error (fix #1539 p1) (thanks Ge0rG)
|
2020-04-23 19:00:40 +02:00 |
|
Kim Alvefur
|
9f13e20ffe
|
mod_register_limits: Use util.error for managing rejection reasons
|
2019-11-01 18:11:58 +01:00 |
|
Emmanuel Gil Peyrot
|
1fa149d6c4
|
mod_register_ibr, mod_register_limits: Add support for custom error type and defined-condition.
|
2019-09-29 15:26:18 +02:00 |
|
Kim Alvefur
|
693a06e2f3
|
mod_register_limits: Promote log message about inability to apply black/whitelists to a warning
|
2018-04-10 01:32:52 +02:00 |
|
Kim Alvefur
|
8b04ec15b0
|
mod_register_limits: Change debug message wording, there's no user yet
|
2018-04-10 01:31:37 +02:00 |
|
Kim Alvefur
|
6ce8da708c
|
mod_register_limits: Use existing local variable
|
2018-04-10 01:31:14 +02:00 |
|
Kim Alvefur
|
7bb23790b3
|
mod_register_limits: Return reason for disallowing
|
2018-03-10 02:28:29 +01:00 |
|
Kim Alvefur
|
9eb4ffc53d
|
mod_register_limits: Log message for white- and blacklist hits separate
|
2018-03-10 02:27:09 +01:00 |
|
Kim Alvefur
|
549d89cb0d
|
mod_register_limits: Log a debug message when disallowing registration by ewhite- or blacklist
|
2018-03-10 02:24:18 +01:00 |
|
Kim Alvefur
|
818d4e7323
|
mod_register_ibr: Split out throttling and IP limitations into mod_register_limits (#723)
|
2017-12-09 19:35:08 +01:00 |
|