Commit graph

4570 commits

Author SHA1 Message Date
jesopo
69bab50335 use reverse geocoding to turn location to latlon for weather 2019-07-16 16:42:32 +01:00
jesopo
759324bb65 expose reverse geocoding through exports 2019-07-16 16:42:13 +01:00
jesopo
c765a29d09 Don't try to get rss urls when there are none 2019-07-16 10:45:29 +01:00
jesopo
ad7f9a8024 add setting to shorten rss urls (rss-shorten) 2019-07-15 17:46:11 +01:00
jesopo
92511122ff add depends-on hashflags to rss.py 2019-07-15 17:45:48 +01:00
jesopo
5be7626fb4 add isup.py 2019-07-15 14:59:37 +01:00
jesopo
304fcdaebb gotta str()-ify kwargs before logging it 2019-07-15 14:27:55 +01:00
jesopo
5b1b26160a use "extended" tweet mode so long tweets are not truncated 2019-07-15 14:27:37 +01:00
jesopo
5cae13edba replace \n\n with \n in command outputs 2019-07-15 14:27:04 +01:00
jesopo
4815c1612c don't silently truncate at newline in IRCLine.ParsedLine.truncate() 2019-07-15 14:26:45 +01:00
jesopo
e415afb12c
Merge pull request #95 from Mikaela/defualt
src/EventManager.py: fix typo defualt -> default
2019-07-13 11:07:30 +01:00
Mikaela Suomalainen
2f18414cb7
src/EventManager.py: fix typo defualt -> default 2019-07-13 13:04:37 +03:00
jesopo
89c12e845a add --remove-server/-R cli arg 2019-07-12 09:30:22 +01:00
jesopo
c083d4845a support enabling kick-rejoin per channel 2019-07-11 22:18:10 +01:00
jesopo
baa13d9e7f add configurable kick-rejoin delay (default 5s) 2019-07-11 21:34:16 +01:00
jesopo
fa429a4c28 add kick-rejoin.py 2019-07-11 21:28:05 +01:00
jesopo
d3f09c5618 remove last quote if none is provided in !qdel 2019-07-11 20:47:39 +01:00
jesopo
ab45c65fb4 'self.channels' -> 'self._channels' 2019-07-11 14:22:33 +01:00
jesopo
c86ac45c15 bots need snacks too 2019-07-11 13:42:21 +01:00
jesopo
e7e32c0978 Show warning for private-only commands in channels and visa versa
closes #89
2019-07-11 13:31:35 +01:00
jesopo
a2265dbfd4
Merge pull request #93 from fosslinux/todo-list
consistently use 'todo list' vs 'todo'
2019-07-11 01:13:40 +01:00
fosslinux
9809dfa522 consistently use 'todo list' vs 'todo' 2019-07-11 10:11:21 +10:00
jesopo
8217724f41 We don't need to show all dependencies in README.md 2019-07-10 17:32:59 +01:00
jesopo
dc8c63c11b add ability to disable !mute for networks that dont support mutes 2019-07-10 08:57:08 +01:00
jesopo
55e5693341 ircv3_botignore.py should use HIGH priority 2019-07-09 21:25:43 +01:00
jesopo
b7fa8a2f52 add help and channel_only kwargs to !ops 2019-07-09 21:24:35 +01:00
jesopo
9ffe62f27e 'evnet' -> 'event' typo 2019-07-09 20:58:02 +01:00
jesopo
4f781f30eb add ops.py
closes #91
2019-07-09 20:48:38 +01:00
jesopo
b46a1f22f0 add --depends-on hashflag for slowvoice.py 2019-07-09 20:48:02 +01:00
jesopo
51bed87b60 catch and prettify dns.exception.DNSException
closes #90
2019-07-09 12:18:52 +01:00
jesopo
fc1ed92b4c add slowvoice.py 2019-07-09 11:43:02 +01:00
jesopo
02838e4802 Return new Timers 2019-07-09 11:16:34 +01:00
jesopo
32fa999c78 Allow Timer objects to be cancelled 2019-07-09 11:14:05 +01:00
jesopo
b692bc7e88 Show new label for PR 'labeled' events 2019-07-09 09:46:25 +01:00
jesopo
6626f60a64 show new label for issue 'labeled' events 2019-07-09 09:42:42 +01:00
jesopo
2885b41bbb .lower()ify webhook repo names for case insensitive checks 2019-07-08 23:14:26 +01:00
jesopo
33e462d27b use entry["link"] for unique checking if entry["id"] isn't available 2019-07-08 15:56:19 +01:00
jesopo
c19c6c0e14 asyncio.gather -> asyncio.wait (with timeout) 2019-07-08 14:50:11 +01:00
jesopo
469c725675 tell asyncio.gather which loop to use 2019-07-08 14:41:12 +01:00
jesopo
a1438abf66 close event loop when we're done with it (request_many()) 2019-07-08 13:59:48 +01:00
jesopo
81c7af8ab5 Don't try/except async http exceptions 2019-07-08 13:51:02 +01:00
jesopo
ee0ec0eca1 switch request_many() to use asyncio.gather 2019-07-08 13:46:27 +01:00
jesopo
c6c60a5192 TRACE log RSS timing 2019-07-08 13:46:12 +01:00
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