Commit graph

45 commits

Author SHA1 Message Date
Tulir Asokan
e22fc9e3c1 Update CI artifact expiry 2021-11-28 15:35:43 +02:00
Tulir Asokan
d146f34f72 Bump version to 2.2.0 2021-08-18 00:03:06 +03: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
45e22185dc Add capture group example 2021-07-18 19:45:35 +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
05e479bb88 Add example for random reactions 2021-06-16 22:24:52 +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
0790b429b3 Bump version to 2.1.0 2020-09-30 22:21:41 +03: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
50141c8a92 Add .gitlab-ci.yml 2019-07-28 22:10:04 +03:00
Tulir Asokan
2ad417da70 Improve stallman regexes more 2019-06-23 15:33:59 +03:00
Tulir Asokan
5a332b13af Ignore archive and other words that start with arch 2019-06-23 15:26:25 +03:00
Tulir Asokan
4cb003f048 Simplify linux not_matches in stallman sample 2019-06-23 15:21:25 +03:00
Tulir Asokan
e7558dc00e Bump version to 2.0.0 2019-06-23 14:33:13 +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
54cee71497 Add missing dot 2019-06-23 13:45:23 +03:00
Tulir Asokan
b3ebb91598 Add attribution for stallman sample 2019-06-23 13:44:43 +03:00
Tulir Asokan
c5c2590a96 Split into many files 2019-06-23 13:43:10 +03:00
Tulir Asokan
44ae0529be Fix readme: the bot is not simple anymore 2019-06-23 13:13:43 +03:00
Tulir Asokan
f2ac1a9c8d Link to samples in README.md 2019-06-23 13:13:03 +03:00
Tulir Asokan
4d5a3a681c Add support for raw json template as content and add docs 2019-06-23 13:10:53 +03:00
Tulir Asokan
3900b04dba Allow non-string variables 2019-06-23 12:14:15 +03:00
Tulir Asokan
47e1d5d7ec Add sample configs for jesaribot and stallman bot 2019-06-23 12:05:10 +03:00
Tulir Asokan
9a0f6da774 Fix mistake in pattern raw flag 2019-06-23 12:03:56 +03:00
Tulir Asokan
98c3bfb252 Add support for regex flags 2019-06-23 03:45:00 +03:00
Tulir Asokan
3992db4464 Make non-regex matching faster 2019-06-23 03:15:22 +03:00
Tulir Asokan
2c54aa395a Fix mistake and handle errors 2019-06-23 02:56:44 +03:00
Tulir Asokan
0fcf7a8319 Make loading templates and rules cleaner 2019-06-23 02:12:09 +03:00
Tulir Asokan
d0e9aad1ff Remove unused imports 2019-06-23 02:08:30 +03:00
Tulir Asokan
d237d3bbc9 Ignore own events and fix initial pattern match 2019-06-23 02:02:02 +03:00
Tulir Asokan
1245e6540a Replace jesari with alot in example config 2019-06-23 01:57:15 +03:00
Tulir Asokan
4aa98b888b Update README.md 2019-06-23 01:53:44 +03:00
Tulir Asokan
f159305650 Over-engineer to support arbitrary response contents 2019-06-23 01:49:05 +03:00
Tulir Asokan
bf51e56e74 Bump version to 1.0.0 2019-06-22 23:19:41 +03:00
Tulir Asokan
cfd93c33b5 Remove unused imports 2019-06-21 20:21:28 +03:00
Tulir Asokan
2d1b514f21 Initial commit 2019-06-21 14:49:50 +03:00