Commit graph

227 commits

Author SHA1 Message Date
jesopo
ba57d06a56 implement client-to-server read timeout PINGs 2020-04-26 15:07:05 +01:00
jesopo
f33a0ad369 add ConnectionParams.reconnect - we'll use this for exponential backoff 2020-04-26 01:19:16 +01:00
jesopo
f18efda31b isinstance for SASL types, so EXTERNAL doesn't have blank user/pass 2020-04-26 01:08:47 +01:00
jesopo
067fbbc531 add --ignore-missing-imports because async_stagger won't typehint 2020-04-25 20:17:27 +01:00
jesopo
5b927beb25 enact provided ResumePolicy (incl. cancelling handshake) 2020-04-25 20:13:46 +01:00
jesopo
15b97ab3da implement draft/resume-0.5 2020-04-25 19:30:36 +01:00
jesopo
064c786db7 minor codestyling 2020-04-23 15:30:33 +01:00
jesopo
955c284282 object-ify WaitFor future stuff 2020-04-23 15:22:30 +01:00
jesopo
f48aaded5a _line_or_await *after* checking wait_fors so we don't match current line 2020-04-23 14:53:28 +01:00
jesopo
45269a98a9 change wait_for to not spin up nested next_line() loops 2020-04-23 14:42:42 +01:00
jesopo
d51fcf0987 update ircstates, now only one (maybe Optional) Emit 2020-04-22 18:05:23 +01:00
jesopo
739b039d50 v0.1.4 release 2020-04-21 22:01:09 +01:00
jesopo
4286e75749 add matching.params.Regex 2020-04-21 21:59:20 +01:00
jesopo
2246236e83 add Formatless matching param 2020-04-21 21:54:51 +01:00
jesopo
89c7ac15dd rename some matching Params, restructure matching 2020-04-21 21:40:46 +01:00
jesopo
f2ba7c2512 v0.1.3 release 2020-04-21 21:17:09 +01:00
jesopo
b4f9cc02b9 source should be on Response as well as Responses 2020-04-21 21:16:18 +01:00
jesopo
b00ecf6e86 replace ParamLiteral with string literals 2020-04-21 21:11:19 +01:00
jesopo
f14f2b2e6b break, not continue; continue does not refer to parent for loop 2020-04-21 21:05:41 +01:00
jesopo
f18a61a931 update ircstates to v0.9.4 2020-04-21 20:45:02 +01:00
jesopo
43ea927cdb
Merge pull request #2 from fndax/patch-1
Make simple.py work again (based on sasl.py)
2020-04-21 20:44:26 +01:00
Dax
b2a55d76b3
Make simple.py work again (based on sasl.py) 2020-04-21 12:39:51 -07:00
jesopo
76dcb12d46 v0.1.2 release 2020-04-21 20:09:44 +01:00
jesopo
a425077c29 put overriddable methods in Server not just IServer 2020-04-21 16:24:18 +01:00
jesopo
770b76f671 don't CAP REQ userhost-in-names, we run a WHO on JOIN anyway 2020-04-21 13:19:46 +01:00
jesopo
5892c9ff45 add Server.send_part() that optionally awaits PART confirmation 2020-04-20 16:53:49 +01:00
jesopo
a79958affd add wait_for() hostmask matching functionality 2020-04-20 16:53:14 +01:00
jesopo
079460dd35 IBot isn't defined yet 2020-04-20 16:52:45 +01:00
jesopo
4831ec88fb make IServer.sts_policy() async in case e.g. saving needs await 2020-04-20 16:24:26 +01:00
jesopo
8340419b99 add IServer.bot:IBot 2020-04-20 16:22:39 +01:00
jesopo
fedef3ba3d also catch sts outside of connection reg, throw up Disconnect to be sure 2020-04-20 16:21:29 +01:00
jesopo
dfabe99916
Merge pull request #1 from fndax/pr-1
Add Bot parameters when creating Server objects in examples
2020-04-20 12:08:13 +01:00
jesopo
3208ee738c don't catch and "handle" server disconnect. throw up to bot.py 2020-04-20 12:04:01 +01:00
Dax
b45dfaf480 Add Bot parameters when creating Server objects in examples 2020-04-20 01:20:08 +00:00
jesopo
feb71d5b14 STS transmuting doesn't need the context of a server object 2020-04-19 23:19:23 +01:00
jesopo
899d6f69d8 server_hostname is only useful for TLS connections 2020-04-19 23:05:21 +01:00
jesopo
ae01201d39 support requested disconnects, support STS connection transmutations 2020-04-19 23:04:56 +01:00
jesopo
1bfe06d2ea implement STS policies; we're not parsing them yet though 2020-04-19 21:51:33 +01:00
jesopo
de4ba754e7 update ircstates to v0.9.3 2020-04-19 14:14:45 +01:00
jesopo
c4019e6242 set future on awaited self.send() after we've processed for session state 2020-04-19 13:11:06 +01:00
jesopo
47223c257c remove commented-out proof of concept auto-join stuff 2020-04-19 02:23:00 +01:00
jesopo
5618028b7b v0.1.1 release 2020-04-19 02:19:45 +01:00
jesopo
ebef439e0a grab WHO on JOIN but make sure we only do one at once 2020-04-19 02:19:19 +01:00
jesopo
d15e9ee361 Numeric doesn't exist anymore 2020-04-19 01:32:55 +01:00
jesopo
1f63270dda update ircstates to 0.9.1 2020-04-19 00:56:40 +01:00
jesopo
a187dd2175 SASL auth text should be wrapped at 400 bytes 2020-04-19 00:56:24 +01:00
jesopo
a48a0dedd9 add missing Responses import on server.py 2020-04-19 00:56:01 +01:00
jesopo
bf68b6cb75 ah oops, the bindhost port was a test value that got committed 2020-04-19 00:55:32 +01:00
jesopo
7232876a75 update ircstates to v0.9.0, use const RPL/ERR vars 2020-04-17 21:06:20 +01:00
jesopo
2d67587938 fix sed index stuff, make host/nick/chan argparse args 2020-04-17 00:22:41 +01:00