Tulir Asokan
|
3ca366fea9
|
Blacken and isort code, add pre-commit and CI linting
|
2023-10-05 22:22:10 +03:00 |
|
Tulir Asokan
|
a3baf06ca0
|
Allow non-string types in variable templates and add magic omit value
|
2023-10-05 22:13:18 +03:00 |
|
Tulir Asokan
|
a1e5d2c87d
|
Set empty dicts to avoid additional errors when config is invalid
|
2022-02-24 22:58:34 +02:00 |
|
Tulir Asokan
|
3964aa6f12
|
Add support for capturing the match in simple matches
|
2021-07-28 20:21:44 +03:00 |
|
Tulir Asokan
|
16e4b8e6d8
|
Fix simple patterns throwing errors
|
2021-07-21 15:09:29 +03:00 |
|
Tulir Asokan
|
873cae5821
|
Fix indexes of capture groups
${{0}} now means the whole match and ${{1}} is the first capture group.
|
2021-07-18 19:41:35 +03:00 |
|
Tulir Asokan
|
28d6b05913
|
Log room ID in errors
|
2021-06-18 21:45:15 +03:00 |
|
Tulir Asokan
|
e89a5773d8
|
Fix substituting multiple variables in templates. Fixes #6
|
2021-06-14 12:52:31 +03:00 |
|
Tulir Asokan
|
821e670fd5
|
Fix type hint
|
2020-12-11 20:14:23 +02:00 |
|
Tulir Asokan
|
b213481d7d
|
Expose named capture groups and earlier variables in jinja variables (ref #5)
|
2020-12-11 19:59:19 +02:00 |
|
Tulir Asokan
|
8353e43e30
|
Fix using variables in the middle of template strings
|
2020-08-27 15:03:32 +03:00 |
|
Tulir Asokan
|
45ee715dc3
|
Fix or break config parsing
|
2019-10-17 19:10:16 +03:00 |
|
Tulir Asokan
|
217351d141
|
Add option to exclude specific rooms from a rule
|
2019-07-31 19:28:15 +03:00 |
|
Tulir Asokan
|
d5c0aa9e02
|
Update existing flood limits when editing config
|
2019-06-23 14:27:32 +03:00 |
|
Tulir Asokan
|
b26f9cf6eb
|
Separate per-user and per-room flood limits
|
2019-06-23 14:20:25 +03:00 |
|
Tulir Asokan
|
85a7967888
|
Add initial flood prevention
|
2019-06-23 14:14:28 +03:00 |
|
Tulir Asokan
|
8e16575d3b
|
Only allow m.text and m.emote as input
|
2019-06-23 13:57:57 +03:00 |
|
Tulir Asokan
|
c5c2590a96
|
Split into many files
|
2019-06-23 13:43:10 +03:00 |
|