Commit graph

4181 commits

Author SHA1 Message Date
jesopo
868512fcfd add --require-config hashflag to location.py 2019-09-02 15:03:22 +01:00
jesopo
8a4d5b3123 Add ability to prevent users specifying their own dns nameservers 2019-09-02 14:33:12 +01:00
jesopo
e1da095023 support per-channel dns nameservers 2019-09-02 14:23:51 +01:00
jesopo
c80aab88f3 put socket timeout and deadline around mumble queries 2019-09-02 14:18:27 +01:00
jesopo
3c7b276188 catch and rethrow gaierrors in mumble.py 2019-09-02 14:13:36 +01:00
jesopo
43a7b7d949 add basic caching logic for channel settings 2019-09-02 14:07:39 +01:00
jesopo
7959f1ab88 change Cache.py to be key:value 2019-09-02 14:07:26 +01:00
jesopo
9cc1ee98eb Pass the content of a webpage to HTTPParsingException 2019-09-02 13:27:44 +01:00
jesopo
408b89aeb7 use \S+ for url regex (for non-ascii chars), use url_sanitize to catch <> 2019-09-02 13:25:48 +01:00
jesopo
72e1d71a0a Show mumble server version 2019-09-02 13:12:24 +01:00
jesopo
ce6413f53e Don't rely on pulling timestamp out of pong 2019-09-02 12:49:58 +01:00
jesopo
82bee70ca0 add mumble.py 2019-09-02 12:47:13 +01:00
jesopo
4ba99e57b7 .upper() SASL mechanism name 2019-09-02 10:29:20 +01:00
jesopo
9e43ea1599 add per-user fediverse setting 2019-09-02 08:51:56 +01:00
jesopo
8bebcb14c7 support "<nickname>: s/" sed format 2019-09-01 09:58:10 +01:00
jesopo
14125a6048 also cancel reconnections with !disconnect 2019-09-01 08:41:22 +01:00
jesopo
19d8f0b497 store and expose reconnection timers on IRCBot.reconnections 2019-09-01 08:38:22 +01:00
jesopo
85efd75518 'usage' does not exist 2019-09-01 08:34:55 +01:00
jesopo
6a068777d6 v1.11.1 release 2019-08-30 19:10:17 +01:00
jesopo
722d6418c8 switch to using signal.setitimer so we can restore previous timer 2019-08-30 18:36:48 +01:00
jesopo
a57a06b1cc switch utils.deadline to a context manager 2019-08-30 18:13:12 +01:00
jesopo
162aab9851 use utils.deadline in sed.py 2019-08-30 17:17:31 +01:00
jesopo
e97e3c8f30 add utils.deadline(func, seconds) to put hard limits on code exec time 2019-08-30 17:17:03 +01:00
jesopo
4bfb4c3200 Add IntRangeSetting, reorder OptionsSetting arg order 2019-08-30 14:40:54 +01:00
jesopo
2c812ccaaa Logging.BitBotFormatter no longer uses the format it's given (always iso8601) 2019-08-30 13:46:21 +01:00
jesopo
58a4fd7e74 round microseconds up to a whole number and zero-pad to 3 chars 2019-08-30 13:46:00 +01:00
jesopo
d3ed08e336 Don't use 'Z' for "utc timezone" - actually parse timezone out of datetimes 2019-08-30 13:25:19 +01:00
jesopo
0d9bd57332 copypaste name collision for channel_op.py's op function 2019-08-30 12:26:52 +01:00
jesopo
8a2e364ffd also support 'realname' in !editserver 2019-08-30 11:53:57 +01:00
jesopo
fd0ad283f8 prefix formatted KICKs with "- " 2019-08-16 16:09:57 +01:00
jesopo
0b192d0feb count numeric OR non-alphanumeric as a word boundary 2019-08-16 15:33:34 +01:00
jesopo
94ef49be1b !config access should be "config", not "set". remove unused check_assert 2019-08-16 10:26:05 +01:00
jesopo
b037c3076f v1.11.0 release 2019-08-15 13:45:54 +01:00
jesopo
61eeba0cb9 should only return a BufferLineMatch when we actually match 2019-08-15 13:45:04 +01:00
jesopo
0e46dc7518 Update CHANGELOG.md 2019-08-15 13:42:53 +01:00
jesopo
6332f80dc9 add !addpoint and !rmpoint (explicit ++/-- karma) 2019-08-15 13:38:04 +01:00
jesopo
bd5bc81d1c match .lower() repo names against .lower() hooked repo names 2019-08-14 15:28:20 +01:00
jesopo
195cb66e26 Update CHANGELOG.md, bump version to v1.11.0-rc3 2019-08-14 15:17:01 +01:00
jesopo
6e571fbe1a set channel_op.py _name to ChanOp 2019-08-14 15:08:17 +01:00
jesopo
f1dfbd112f switch !mute to use +1s duration format 2019-08-14 15:07:48 +01:00
jesopo
9bc1b67831 add configurable default kick message per bot/server/channel 2019-08-14 14:51:16 +01:00
jesopo
e72a21778f remove debug print 2019-08-14 14:51:07 +01:00
jesopo
07a593ce20 !kickban's _ban call needs an add arg 2019-08-14 14:41:29 +01:00
jesopo
fa279aab93 refactor/rewrite channel_op.py, split highlight spam protection out 2019-08-14 14:38:47 +01:00
jesopo
4d8ce63efd alias !remindme to !in 2019-08-14 10:56:18 +01:00
jesopo
814236915b forgot to update IRCBot.VERSION to v1.11.0-rc2 2019-08-13 15:11:43 +01:00
jesopo
03c7e8f066 return matching string from buffer.find() as most uses were redundantly regexing 2019-08-13 13:48:03 +01:00
jesopo
9a51ac18ea "!yt" without args should get .message from BufferLine 2019-08-13 13:25:20 +01:00
jesopo
2af428cf2f Change REST API to listen on IPv6 2019-08-13 12:58:23 +01:00
jesopo
fc5e3d3936 add !version and !source
closes #84
2019-08-12 17:29:01 +01:00