Commit graph

77 commits

Author SHA1 Message Date
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
1b3c537e0a only try SASL on CAP NEW when one of the new CAPs is SASL 2020-04-02 18:43:59 +01:00
jesopo
61f1cdba9d don't try SASL twice, try SASL on CAP NEW 2020-04-02 18:38:37 +01:00
jesopo
c139879670 add a matching Not() type - to invert other criteria 2020-04-02 18:38:28 +01:00
jesopo
f7ad037934 add .travis.yml 2020-04-02 18:18:41 +01:00
jesopo
6c14fed785 improve examples/simple.py, add examples/sasl.py 2020-04-02 18:17:17 +01:00
jesopo
d310dad471 add SALContext().from_params() 2020-04-02 18:17:00 +01:00
jesopo
0dd7121469 add some useful imports to ircrobots/__init__.py 2020-04-02 18:16:29 +01:00
jesopo
03c71f6498 remove unneeded imports (thanks importchecker!) 2020-04-02 18:00:28 +01:00
jesopo
f43cb75bfa move SASL logic out in to sasl.py.SASLContext 2020-04-02 17:56:44 +01:00
jesopo
023107385e add interface for code units that need an IServer context 2020-04-02 17:55:50 +01:00
jesopo
b46cecf420 move ConnectionParams (and SASLParams) out to params.py 2020-04-02 17:55:15 +01:00
jesopo
971f49f4c7 move more sasl-related stuff out to sasl.py 2020-04-02 17:29:52 +01:00
jesopo
d19e8d1df7 don't offer Emit logic in Bot, end-users shouldn't care 2020-04-02 17:11:29 +01:00
jesopo
7a1373d9b2 add SASL support! 2020-04-02 17:04:08 +01:00
jesopo
16e500fd43 remove unneeded "from queue import Queue" 2020-04-02 17:01:39 +01:00
jesopo
8148fead51 add Server.wait_for(), so you can await until getting a matching message 2020-04-02 17:00:50 +01:00
jesopo
4f61b89012 add objects needed to denote SASL in ConnectionParams 2020-04-02 16:59:02 +01:00
jesopo
1b9b12cb1e move managing each task of read/written data from to Bot 2020-04-02 00:10:59 +01:00
jesopo
0029506118 server.py visual reorganise, respond to PINGs 2020-04-01 23:40:03 +01:00
jesopo
be31fe1936 make a Server interface, interface.IServer 2020-04-01 23:25:44 +01:00
jesopo
fd934b1101 fix PriorityQueue, use both Line and Emit, add CAP REQ 2020-04-01 23:06:41 +01:00
jesopo
fb892c584e add prints to examples/simple.py 2020-04-01 23:06:08 +01:00
jesopo
81148924b9 add asyncio-throttle to requirements.txt 2020-04-01 15:38:59 +01:00
jesopo
a327d5dd96 first commit 2020-04-01 15:36:53 +01:00
jesopo
bd274c1f49
Initial commit 2020-04-01 15:16:03 +01:00