Commit graph

4451 commits

Author SHA1 Message Date
jesopo
4870d32fee switch message_filter.py to use utils.parse.sed 2020-02-09 10:49:35 +00:00
jesopo
29f0a282a8 add utils.parse.sed. 2020-02-09 10:49:18 +00:00
jesopo
f3ac154fe2 add ModuleManager.try_reload_module(), use it for !reloadmodule 2020-02-09 10:17:40 +00:00
jesopo
94197b33a2 insert new hooks at the start of their priority, to prevent duplicates on reload 2020-02-09 10:14:14 +00:00
jesopo
24cd513309 Merge branch 'master' into develop 2020-02-09 09:47:22 +00:00
jesopo
9d5baf4841
Merge pull request #235 from trobotham/patch-1
healthcheck: typo
2020-02-09 09:46:34 +00:00
Terrance Robotham
1fae3c378d healthcheck: typo
fix typo in healthcheck
2020-02-08 22:09:51 -05:00
jesopo
98bfc4db95 transfer stdout/stderr _assured to IRCLine.assured 2020-02-09 00:54:13 +00:00
jesopo
732a0b77eb should be checking for "*" in user_access 2020-02-09 00:53:59 +00:00
jesopo
9f2a245f6e _all_factoids() takes an array of targets 2020-02-09 00:36:23 +00:00
jesopo
9e5a0da663 support nested factoids (4 deep max) 2020-02-09 00:24:47 +00:00
jesopo
d223009c6e support bot-wide message filters too (!bfilter) 2020-02-09 00:04:12 +00:00
jesopo
8153047f7c support server-wide message filters too 2020-02-08 23:53:46 +00:00
jesopo
68e25a61bf rewrite message_filter.py to handle both message rejection and pattern replace 2020-02-08 23:46:12 +00:00
jesopo
f0007a760c boldify hostname in !specsup 2020-02-08 19:05:44 +00:00
jesopo
632d4eb7b0 show server aliases in !specsup 2020-02-08 19:00:22 +00:00
jesopo
4e9df2c552 handle git being in a detached head state when getting current commit 2020-02-08 13:21:29 +00:00
jesopo
de7d35015e spec[2] is a string, not an array of strings 2020-02-08 11:00:31 +00:00
jesopo
1d51b43c22 add opt-in inactive channel pruning 2020-02-07 17:57:36 +00:00
jesopo
1d92923a77 show how many seconds by which you missed !bef/!bang 2020-02-07 14:40:54 +00:00
jesopo
e9f6e8a06a revamp factoids.py; allow for both server-wide and per-channel factoids 2020-02-07 13:45:24 +00:00
jesopo
3c6eb6f8e7 update ignore.py to use command spec (and not docstrings) 2020-02-07 12:48:37 +00:00
jesopo
39db6dea55 update modules.py to use command spec (and not docstrings) 2020-02-07 12:42:47 +00:00
jesopo
a19f6304c5 update admin.py to use command spec (and not docstrings) 2020-02-07 10:36:25 +00:00
jesopo
29fdc3ce53 regression: readd lost USERPASS SASL meta-mechanism 2020-02-07 00:14:05 +00:00
jesopo
d588760fc4 update other modules to use categorised require_access 2020-02-07 00:11:28 +00:00
jesopo
fe1c9ef746 allow multipe require_accces (comma sep), support "low"/"high"/"admin" 2020-02-06 23:50:19 +00:00
jesopo
822a44570c accept "1"/"0" as "true"/"false" for !config 2020-02-06 17:58:29 +00:00
jesopo
ceb0a19679 typo in !hostmask, 'spect' -> 'spec' 2020-02-06 16:52:26 +00:00
jesopo
83bc75c9cc add a setting to only track words from registered users 2020-02-06 16:52:09 +00:00
jesopo
e0e31b977e rewrite words.py to track words per-day (in it's own table) 2020-02-06 16:43:13 +00:00
jesopo
c0af477373 add Database.users.by_id() 2020-02-06 16:40:20 +00:00
jesopo
f52a824ffb fix SpecTypeArgumentDate simple() 2020-02-06 16:40:02 +00:00
jesopo
01441efe75 only pull 'charset' from <meta> content-type when it definitely exists 2020-02-06 11:54:04 +00:00
jesopo
5bbae499d1 chghost events no longer have 'username'/'hostname' kwargs 2020-02-05 18:21:08 +00:00
jesopo
fc83d4fe50 move !alias variables in to alias_variables.py, add RNICK (random nick) 2020-02-05 18:18:32 +00:00
jesopo
11e2475d52 aliases.py get.command doesn't need to be PRIORITY_URGENT 2020-02-05 18:06:30 +00:00
jesopo
e4f85ce6b3 update !apikey to use command spec 2020-02-05 16:40:15 +00:00
jesopo
460cda87bb add command spec type "words" - array of remaining words 2020-02-05 16:32:41 +00:00
jesopo
c4136a50ec refactor -b/-q/-m timer logic in to 1 function 2020-02-05 16:29:07 +00:00
jesopo
87bc9bab9e is8601_format_now() -> iso8601_now() 2020-02-05 10:15:57 +00:00
jesopo
d706c4ab91 !voice should target a nickname, not a user object 2020-02-04 16:01:10 +00:00
jesopo
8e611c451e switch module whitelist/blacklist to its own config file 2020-02-04 15:31:17 +00:00
jesopo
150148b4e0 INFO log on successful SASL authentication 2020-02-03 23:22:04 +00:00
jesopo
e79e3f0315 set username and hostmask on chghost before event dispatch 2020-02-03 23:13:57 +00:00
jesopo
96a74747dc implement !modinfo
closes #234
2020-02-03 23:01:36 +00:00
jesopo
7a15e5b2bf store timestamp and current git commit when loading a module 2020-02-03 23:00:53 +00:00
jesopo
e65fecd1b2 actually return gitlab _note result 2020-02-03 19:35:54 +00:00
jesopo
c0f5367d34 pull project name from "project_name" when "project" doesn't exist 2020-02-03 11:36:47 +00:00
jesopo
b713cf7659 init usages variable, for the case that there's no usage 2020-02-03 10:37:27 +00:00