Commit graph

4596 commits

Author SHA1 Message Date
jesopo
00a8129634 pass user on get.command events, so e.g. aliases know user nicknames 2019-12-17 14:29:37 +00:00
jesopo
f489ad5dc0 !relaygroup add/remove no longer exists 2019-12-15 21:08:15 +00:00
jesopo
9ef732c592 add !up/!down as aliases of !op/!deop 2019-12-14 21:40:59 +00:00
jesopo
cc02595056 move internal.identified event call to _has_identified (covers hostmasks and
nickserv)
2019-12-14 21:40:49 +00:00
jesopo
4d93e584dc v1.17.1 release 2019-12-13 17:23:53 +00:00
jesopo
f6273a5a67 "_match" -> "_schedule_match_part" typo 2019-12-13 17:16:02 +00:00
jesopo
8a963b5288 cron events no longer have timers 2019-12-13 16:28:47 +00:00
jesopo
e82f0854cc v1.17.0 release 2019-12-13 15:13:01 +00:00
jesopo
f332c6abc9 set dnsbl _name to DNSBL, better wording than "failed" 2019-12-13 15:12:38 +00:00
jesopo
31933513d9 don't use dt.microseconds - only covers within the current second 2019-12-13 06:37:57 +00:00
jesopo
c5bc9577df s_line, not s 2019-12-13 06:03:54 +00:00
jesopo
4560a0ff26 add DroneBL to dnsbl module 2019-12-12 14:54:58 +00:00
jesopo
fbe1acf220 refactor dnsbl module, show reason for positive detection when possible 2019-12-12 14:13:17 +00:00
jesopo
39a4e97901 list.insert() takes an index! 2019-12-12 13:52:33 +00:00
jesopo
bfe5fc6569 flip _check_list logic - NXDOMAIN is a "clean" IP 2019-12-12 13:15:27 +00:00
jesopo
57760a4ad7 add dnsbl.py 2019-12-12 13:14:14 +00:00
jesopo
aea13a1105 v1.17.0-rc1 release 2019-12-12 12:31:41 +00:00
jesopo
10e7e30150 only show the first line of a comment body 2019-12-12 12:18:36 +00:00
jesopo
338936dd54 add comment to healthcheck.py about what it's for 2019-12-12 12:13:24 +00:00
jesopo
8bf6db7fe5 use zip() instead of enumerate() and indexing 2019-12-12 12:10:08 +00:00
jesopo
e58e5e0691 more brackets in blob of math, just in case 2019-12-12 12:07:42 +00:00
jesopo
2084285480 support cron schedule range values 2019-12-12 12:06:02 +00:00
jesopo
48bab203bf comma-separated cron schedule check should be first 2019-12-12 12:02:27 +00:00
jesopo
13f2baf303 switch coins.py to use cron timers 2019-12-12 12:00:41 +00:00
jesopo
80f0a3d94c refector cron.py and support comma-separated schedule pieces 2019-12-12 12:00:27 +00:00
jesopo
89e9122128 retooted account should use username, not display name 2019-12-12 05:35:45 +00:00
jesopo
a5554663b4 add healthcheck.py to routinely call a URL for uptime pinging 2019-12-11 15:50:15 +00:00
jesopo
60db9ff389 first draft on cron module 2019-12-11 15:43:17 +00:00
jesopo
ff050b3583 send.stdout should default to thinking it is in-channel 2019-12-11 11:19:42 +00:00
jesopo
1b9a26919d switch to using the full wolfram alpha API 2019-12-11 11:18:36 +00:00
jesopo
5a2905de01 allow Request objects to specify their timeout 2019-12-11 11:18:19 +00:00
jesopo
6f8338b7b5 allow users to set command-method for PMs with them 2019-12-10 17:11:44 +00:00
jesopo
b4b998b7d4 default command responses in PM to use NOTICE 2019-12-10 16:59:00 +00:00
jesopo
3848d878a4 use fediverse display names when available 2019-12-10 11:45:29 +00:00
jesopo
cffbcad430 support bot-wide aliases with !balias
closes #212
2019-12-10 11:28:09 +00:00
jesopo
734aec179f move aliases.py to core_modules 2019-12-10 11:23:34 +00:00
jesopo
4ef460fac4 don't overwrite on_resume() in ircv3_resume 2019-12-10 11:09:03 +00:00
jesopo
a3bde5e682 fix ModuleManager.find_module() - don't set path until it's actually found 2019-12-10 11:08:44 +00:00
jesopo
671e259ada allow space between "++" and nickname 2019-12-10 10:51:37 +00:00
jesopo
69f4d43590 catch ++nickname as karma too 2019-12-10 10:49:12 +00:00
jesopo
58c09f7342 fix typos, type hinting and missed changes in ModuleManager 2019-12-10 05:32:55 +00:00
jesopo
638eee0d68 move core modules to src/core_modules, make them uneffected by white/black list 2019-12-10 05:27:35 +00:00
jesopo
9d16f7d523 move sys.exit() codes to an enum in utils.consts 2019-12-10 05:26:16 +00:00
jesopo
3028759c86 use get_list and set_list to move dynamic module en/disabling to bot.conf 2019-12-07 11:07:43 +00:00
jesopo
3bf2f86702 added get_list() and set_list() to src/Config.py 2019-12-07 11:05:32 +00:00
jesopo
e08bac9312 add src/Config.py.__delitem__ 2019-12-07 11:05:13 +00:00
jesopo
a98dc6e0a6 add src/Config.py.__setitem__ 2019-12-07 10:51:04 +00:00
jesopo
fc069d6da2 fix src/Config.py type hinting 2019-12-07 10:50:50 +00:00
jesopo
7274d1bf28 add ability to save config file 2019-12-07 10:42:43 +00:00
jesopo
374cc307b1 remove -m/-M and BaseModule.command_line - it doesn't work any more 2019-12-07 10:23:17 +00:00