Commit graph

4244 commits

Author SHA1 Message Date
jesopo
a9e166fdac add !maskfind to search for nicks that used a given hostmask 2020-01-11 22:10:57 +00:00
jesopo
6633427cb7 send expect_output on private command events too 2020-01-11 19:20:30 +00:00
jesopo
d06d74efb9 default pattern-based commands to expect_output=False 2020-01-11 19:10:19 +00:00
jesopo
ba958f341b also Accept-Language "en" in HTTP requests (0.5 weight) 2020-01-11 17:55:18 +00:00
jesopo
dff1a8fb7f seds starting with numbers caused an "invalid group reference" 2020-01-11 16:57:54 +00:00
jesopo
2c524303aa by default, prevent highlighting from !wordiest 2020-01-10 11:51:46 +00:00
jesopo
330c0ded44 update CHANGELOG.md 2020-01-08 10:42:37 +00:00
jesopo
e73b6200b3 Merge branch 'master' into develop 2020-01-08 10:33:57 +00:00
jesopo
3f916fc558 bump version to 1.17.2 2020-01-08 10:32:31 +00:00
jesopo
1ca87bbef9 add missing closing paren to bitbot's User Agent 2020-01-08 10:30:56 +00:00
jesopo
366a7bf326 Revert "explicitly .close() task in http.request_many()"
This reverts commit 7478d62b77.
2020-01-06 17:17:49 +00:00
jesopo
7478d62b77 explicitly .close() task in http.request_many() 2020-01-06 17:04:30 +00:00
jesopo
08162f8505 show issues/transferred by default for github webhooks 2020-01-05 23:20:08 +00:00
jesopo
e9f82fc645 sort variable $names descending so longer ones are caught first 2020-01-03 06:59:22 +00:00
jesopo
82ba7a0922 reword karma to "<target> now has 3 karma (1 from <sender>)"
closes #226
2020-01-02 22:29:49 +00:00
jesopo
8d5f0486e1 Revert "if a timezone isn't found, prepend it with "Etc/" (for e.g. "Etc/GMT+1")"
This reverts commit fc0e6bdce0.
2020-01-01 11:41:41 +00:00
jesopo
fc0e6bdce0 if a timezone isn't found, prepend it with "Etc/" (for e.g. "Etc/GMT+1") 2020-01-01 11:27:24 +00:00
jesopo
9efb0b05fc by default, don't trigger command.regex events when in a statusmsg 2020-01-01 10:04:32 +00:00
jesopo
627b17e894 pass through (as well as stripping) statusmsg characters to events 2020-01-01 10:04:06 +00:00
jesopo
d3105ebefc fix !time output now that human has tz in it 2019-12-30 17:19:08 +00:00
jesopo
6380e80282 don't use .replace for timezone, use .astimezone 2019-12-30 17:18:54 +00:00
jesopo
e1f8e8a524 add time-localise export in user_time, to timezone localise a datetime 2019-12-30 17:10:16 +00:00
jesopo
9dc6069e06 add missing closing paren to bitbot's User Agent 2019-12-29 08:00:05 +00:00
jesopo
85d8ad1fe0 correctly deal with "define previous message" 2019-12-29 07:27:37 +00:00
jesopo
069b0a9dab update givepermission to "permission add"
closes #224
2019-12-28 11:19:48 +00:00
jesopo
e3455f94fb only respect CASEMAPPING when it's not an empty string 2019-12-27 21:34:08 +00:00
jesopo
cff1a55fe6 actually replace "$$" with "$" 2019-12-27 13:55:55 +00:00
jesopo
f2eba715b4 i should shift righwards also when finding double sigil 2019-12-27 13:50:12 +00:00
jesopo
a9c5b1dd83 remove extraneous space in "MONITOR -" command 2019-12-25 01:42:21 +00:00
jesopo
a5e7767f80 refactor nick_regain, also look for NICK/QUIT for regain 2019-12-25 01:41:01 +00:00
jesopo
3f3845a964 add hostmask_tracking.py to keep track of what hostmasks a user has used 2019-12-24 10:13:01 +00:00
jesopo
38235b1667 switch channel_op ban masks to use utils.parse.parse_token_replace 2019-12-21 21:41:09 +00:00
jesopo
b2c5ad041c simplify token replace, catch one-char end-of-string tokens 2019-12-21 21:40:44 +00:00
jesopo
2218d4a888 use utils.parse.format_token_replace() in aliases.py 2019-12-21 21:17:08 +00:00
jesopo
bc1c77d8a8 implement standardised $token replacement in utils.parse 2019-12-21 21:16:50 +00:00
jesopo
b0a71f8bb2 don't have [''] as args_split when there's no args (for alias) 2019-12-21 21:16:14 +00:00
jesopo
3c77793490 only look at 329 when it's a channel we know we are in 2019-12-20 22:03:40 +00:00
jesopo
c5e8a8e6f1 add default for data-directory, don't try to make data dir 2019-12-20 21:58:34 +00:00
jesopo
bf9fadec77 !qdel should be able to delete from channel-only quotes 2019-12-19 21:44:09 +00:00
jesopo
5ff5b07c22 permit spaces before ++/-- for single-word karma 2019-12-19 15:06:15 +00:00
jesopo
598a41da8c default !wordiest to the current channel 2019-12-19 14:33:07 +00:00
jesopo
a2ac26c072 use +=timedelta(minutes=1) when calculating next minute
closes #223
2019-12-19 14:02:55 +00:00
jesopo
e458127fb5 move --database/data-dir/log-dir to bot.conf, do some work for diff db engines 2019-12-19 13:56:58 +00:00
jesopo
557c845769 catch and log errors from healthcheck.py - otherwise it can CRITICAL 2019-12-18 21:11:14 +00:00
jesopo
cfcccdd37b we no longer use DECODE_CONTENT_TYPES 2019-12-18 20:04:14 +00:00
jesopo
0f1bf6ee22 force utf8 encoding on eval_python.py 2019-12-18 19:51:35 +00:00
jesopo
1fedaf02bd 'hostmaks' -> 'hostmask' typo in code for !hostmask add 2019-12-18 19:36:52 +00:00
jesopo
ddcf54e751 add kwarg name replacements to aliases.py, use it for $NICK$ 2019-12-17 14:30:14 +00:00
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