Commit graph

3507 commits

Author SHA1 Message Date
jesopo
0578d9ef5b 'bot' -> '_bot' 2019-09-05 14:13:40 +01:00
jesopo
638df8729e switch to using pytz instead of an API for localised time 2019-09-05 12:25:17 +01:00
jesopo
1e79ed4249 remove debug prints from info.py 2019-09-05 11:58:35 +01:00
jesopo
1d95d2d12d 'recieved' -> 'received' 2019-09-04 15:59:37 +01:00
jesopo
62faf62b82 add !grab as an alias of !quotegrab 2019-09-04 15:54:43 +01:00
jesopo
9561cba168 add which.py - closes #134 2019-09-04 15:39:56 +01:00
jesopo
d7ae182428 cache when a setting isn't set but don't cache "default" value 2019-09-04 15:26:36 +01:00
jesopo
473c2723e7 only cache get_setting value when it's not the default value 2019-09-04 15:24:50 +01:00
jesopo
203216d94d Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
jesopo
43fab6777c switch throttle.py to use FunctionSetting 2019-09-04 12:11:22 +01:00
jesopo
007bb78d30 make utils.from_pretty_time() format much stricter 2019-09-04 11:22:56 +01:00
jesopo
786117b998 add a bot-wide setting to allow showing git webhook activity for private repos
closes #127
2019-09-04 11:15:59 +01:00
jesopo
c4428e479f Force removal of ":" from user_time.py API-provided ISO8601 2019-09-04 10:29:05 +01:00
jesopo
397cfa8e7e correctly qualify DeadlineExceededException namespace 2019-09-03 14:54:59 +01:00
jesopo
50742d336c also url_sanitise youtube urls found with argless !yt commands 2019-09-03 12:07:27 +01:00
jesopo
219382cc3c url_sanitise youtube urls (cut off ")"/">") 2019-09-03 12:05:22 +01:00
jesopo
24a510d1ca move mixed_unicode.py to bitbot-modules 2019-09-02 18:28:40 +01:00
jesopo
8ddff91748 remove strax.py - no one uses it 2019-09-02 17:41:38 +01:00
jesopo
2a0b8e9243 remove shakespeare.py - no one uses it 2019-09-02 17:41:23 +01:00
jesopo
a188a6f278 remove books.py - no one uses it 2019-09-02 17:39:33 +01:00
jesopo
71adca1492 default relay-extras to False 2019-09-02 16:16:28 +01:00
jesopo
b7b2f31c1c use utils.deadline() in utils.http.request, not raw sigalrm 2019-09-02 15:50:21 +01:00
jesopo
d42d694e64 move deadline alarm time check inside try/finally 2019-09-02 15:50:12 +01:00
jesopo
a160148c2f actually prune non-loadable modules before doing dependency checks 2019-09-02 15:46:31 +01:00
jesopo
a325f32b84 remove legacy --depends-on flags for github.py (leftover from webhooks) 2019-09-02 15:15:15 +01:00
jesopo
30ce2ef11c remove unused CHANNELSET_HELP const 2019-09-02 15:15:04 +01:00
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