Commit Graph

25 Commits

Author SHA1 Message Date
jesopo 81fa77cf29 missed some TLS_ uses 2023-07-06 00:44:13 +00:00
jesopo 5b347f95c9 combine params.tls and .tls_verify, support pinned certs 2022-01-24 09:53:32 +00:00
jesopo 33bcba8001 add basic code for using labeled-responses as wait_for matches 2020-05-24 01:05:51 +01:00
jesopo 0921cb8086 allow ResponseOr to be shorthanded as a Set[IMatchResponse] 2020-04-27 01:28:46 +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 89c7ac15dd rename some matching Params, restructure matching 2020-04-21 21:40:46 +01:00
jesopo b00ecf6e86 replace ParamLiteral with string literals 2020-04-21 21:11:19 +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 4831ec88fb make IServer.sts_policy() async in case e.g. saving needs await 2020-04-20 16:24:26 +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 feb71d5b14 STS transmuting doesn't need the context of a server object 2020-04-19 23:19:23 +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 8656f63d09 support labeled-response (but don't REQ it yet) 2020-04-13 18:23:05 +01:00
jesopo 179a2ca93a refactor TCP logic in to ITCPTransport (we can mock this for unittests) 2020-04-06 13:22:17 +01:00
jesopo 1c7caf9039 use Server.registerd to detect handshake CAP LS; handle non-handshake CAP LS 2020-04-05 13:18:23 +01:00
jesopo f70932ac44 move more CAP related stuff to CAPContext 2020-04-05 12:48:29 +01:00
jesopo 2d93e27feb maybe_sasl() -> sasl_auth(SASLParms) 2020-04-03 09:49:46 +01:00
jesopo 8dde7b7216 codestyle in ircv3.py 2020-04-02 23:07:09 +01:00
jesopo a4f5d8045f add numerics.py to translate names, remove Response(errors=) 2020-04-02 20:55:01 +01:00
jesopo 06a4d20fc8 make handshake CAP dance happen in one async task. move to ircv3.py 2020-04-02 20:16:07 +01:00
jesopo 03c71f6498 remove unneeded imports (thanks importchecker!) 2020-04-02 18:00:28 +01:00
jesopo 4f61b89012 add objects needed to denote SASL in ConnectionParams 2020-04-02 16:59:02 +01:00
jesopo fd934b1101 fix PriorityQueue, use both Line and Emit, add CAP REQ 2020-04-01 23:06:41 +01:00