Commit graph

3077 commits

Author SHA1 Message Date
jesopo
c60edabd74 Handle request_many() not returning a Response for a url 2019-07-08 13:25:25 +01:00
jesopo
b62ba469d7 catch async exceptions in utils.http.request_many() 2019-07-08 13:18:59 +01:00
jesopo
078681eddf add missing schema in utils.http.sanitise_url, use in rss.py 2019-07-08 12:54:06 +01:00
jesopo
1def848233 switch rss.py to use utils.http.request_many 2019-07-08 12:45:30 +01:00
jesopo
ecb8364d0d switch to using asyncio's event loop 2019-07-08 12:45:10 +01:00
jesopo
15e143fcff implement utils.http.request_many as a tonado ioloop yield 2019-07-08 11:43:09 +01:00
jesopo
84df0cb054 only set last_stdout/last_stderr when there's actually output 2019-07-07 11:29:22 +01:00
jesopo
cd0a860f5f support rss/atom feeds that have no feed title 2019-07-07 10:28:20 +01:00
jesopo
36fb2535c6
Merge pull request #81 from fosslinux/master
fix typo; closes issue #80
2019-07-06 08:08:42 +01:00
fosslinux
d7f72b642a fix typo; closes issue #80 2019-07-06 17:06:17 +10:00
jesopo
f9d5271762 "paramatered" -> "parametered" 2019-07-04 17:23:36 +01:00
jesopo
72840fc63f add bot-wide command-method option 2019-07-04 14:06:40 +01:00
jesopo
d7e18b1826 Add -D cli arg to tolerate disconnections on startup 2019-07-04 13:32:08 +01:00
jesopo
43c8ad0ff6 Add !editserver command 2019-07-04 13:15:51 +01:00
jesopo
6014a2b0da WARN log when a RSS feed throws in _check_url 2019-07-04 11:21:53 +01:00
jesopo
130b5d1927 add botset IntSetting for RSS interval 2019-07-04 11:15:01 +01:00
jesopo
7257deac5d add line about /msg <bot> identify in setup.md 2019-07-04 10:54:41 +01:00
jesopo
689f977467 treat 437 the same as 433 (nickname already in use) 2019-07-04 10:44:52 +01:00
jesopo
3afbe5fd82 threading.Lock() around any access to _write_buffer 2019-07-04 06:56:05 +01:00
jesopo
61d354eb94 use stdout.append_prefix to put user nickname in without color 2019-07-03 14:04:36 +01:00
jesopo
d30f01670e Allow commands to append to out/err prefix 2019-07-03 14:04:24 +01:00
jesopo
230541e11c
Merge pull request #78 from AntonMcClure/master
Add user nickname to !weather prefix
2019-07-03 13:47:41 +01:00
Anton McClure
b443202030
Add user nickname to \!weather prefix 2019-07-03 12:03:48 +00:00
jesopo
655f00ce84 &lt; is important! 2019-07-03 11:29:39 +01:00
jesopo
92c26e3fab extra newline between '>' lines so they don't get joined together 2019-07-03 11:28:20 +01:00
jesopo
14d92abd52 '``' -> '>' 2019-07-03 11:27:50 +01:00
jesopo
6276306684 '-' is a special char in markdown 2019-07-03 11:27:04 +01:00
jesopo
330a746027 Add docs/help/channels.md 2019-07-03 11:26:20 +01:00
jesopo
7919b01baf update setup.md to reflect new !perform interface 2019-07-03 11:26:08 +01:00
jesopo
289c57c637 unset saved channel key on -k 2019-07-03 08:29:47 +01:00
jesopo
8609ff8383 remove debug prints 2019-07-03 08:16:31 +01:00
jesopo
9d23106bbd catch +k cmodes (MODE, 324) and store them 2019-07-03 08:14:06 +01:00
jesopo
76ab7935a0 return parsed modes from IRCChannel.parse_modes, pass through mode events 2019-07-03 08:13:28 +01:00
jesopo
6e2259131a Show an error (instead of throwing) when !define gets a 404 2019-07-03 07:59:12 +01:00
jesopo
e19638827e '+= 1' -> '+= value' 2019-07-02 23:36:18 +01:00
jesopo
718b6bc394 add !duckstats 2019-07-02 23:34:57 +01:00
jesopo
cd15b06b65 Intercept JOINs and attach known keys (channel_keys.py) 2019-07-02 21:38:31 +01:00
jesopo
bb47e7fa58 use raw/unformatted Setting usage strings for require_setting output 2019-07-02 20:59:39 +01:00
jesopo
a077e086cd Revamp perform.py (including adding channel-performs) 2019-07-02 20:46:00 +01:00
jesopo
702f5c5972 improve !ud regex 2019-07-02 14:53:08 +01:00
jesopo
1aab5c4c64 Actually use sanitised url when getting <title> 2019-07-02 14:36:18 +01:00
jesopo
df5f29f943 use utils.http.url_sanitise() in title.py 2019-07-02 14:16:16 +01:00
jesopo
637067c62c url_validate() -> url_sanitise() 2019-07-02 14:15:49 +01:00
jesopo
534854127b Add utils.http.url_validate() for best-effort url tidying 2019-07-02 14:10:18 +01:00
jesopo
d98b20ea7e mulitline-concat shouldn't be a c2c tag 2019-07-02 12:09:56 +01:00
jesopo
5013b81699 pass IRCUser objects through formatted.notice events 2019-07-02 08:48:18 +01:00
jesopo
6bb3b65fb8 Pass channel object along with formatted.notice.channel events 2019-07-02 08:18:41 +01:00
jesopo
a3c62f117a Add setting to disable relaying joins/parts/quits/modes/etc 2019-07-02 07:41:48 +01:00
jesopo
93b455d5b8 Don't double-shorten push range urls 2019-07-02 07:31:26 +01:00
jesopo
d671d8b470 'patern' -> 'pattern' 2019-07-01 22:50:58 +01:00