Commit Graph

  • fedef3ba3d also catch sts outside of connection reg, throw up Disconnect to be sure jesopo 2020-04-20 16:21:29 +0100
  • dfabe99916
    Merge pull request #1 from fndax/pr-1 jesopo 2020-04-20 12:08:13 +0100
  • 3208ee738c don't catch and "handle" server disconnect. throw up to bot.py jesopo 2020-04-20 12:04:01 +0100
  • b45dfaf480 Add Bot parameters when creating Server objects in examples #1 Dax 2020-04-20 01:20:08 +0000
  • feb71d5b14 STS transmuting doesn't need the context of a server object jesopo 2020-04-19 23:19:23 +0100
  • 899d6f69d8 server_hostname is only useful for TLS connections jesopo 2020-04-19 23:05:21 +0100
  • ae01201d39 support requested disconnects, support STS connection transmutations jesopo 2020-04-19 23:04:56 +0100
  • 1bfe06d2ea implement STS policies; we're not parsing them yet though jesopo 2020-04-19 21:51:33 +0100
  • de4ba754e7 update ircstates to v0.9.3 jesopo 2020-04-19 14:14:38 +0100
  • c4019e6242 set future on awaited self.send() after we've processed for session state jesopo 2020-04-19 13:11:06 +0100
  • 47223c257c remove commented-out proof of concept auto-join stuff jesopo 2020-04-19 02:23:00 +0100
  • 5618028b7b v0.1.1 release v0.1.1 jesopo 2020-04-19 02:19:45 +0100
  • ebef439e0a grab WHO on JOIN but make sure we only do one at once jesopo 2020-04-19 01:33:11 +0100
  • d15e9ee361 `Numeric` doesn't exist anymore jesopo 2020-04-19 01:32:55 +0100
  • 1f63270dda update ircstates to 0.9.1 jesopo 2020-04-19 00:56:40 +0100
  • a187dd2175 SASL auth text should be wrapped at 400 bytes jesopo 2020-04-19 00:56:24 +0100
  • a48a0dedd9 add missing Responses import on server.py jesopo 2020-04-19 00:56:01 +0100
  • bf68b6cb75 ah oops, the bindhost port was a test value that got committed jesopo 2020-04-19 00:55:32 +0100
  • 7232876a75 update ircstates to v0.9.0, use const RPL/ERR vars jesopo 2020-04-17 21:06:20 +0100
  • 2d67587938 fix sed index stuff, make host/nick/chan argparse args jesopo 2020-04-17 00:22:41 +0100
  • a51f389b91 add example factoid bot jesopo 2020-04-17 00:05:54 +0100
  • 290bcaedfd add VERSION jesopo 2020-04-16 14:20:40 +0100
  • 624ffe2cf8 add py.typed jesopo 2020-04-16 14:20:16 +0100
  • 0e2a2bcd00 create a fake echo-message when we have not CAP negotiated echo-message jesopo 2020-04-15 21:10:24 +0100
  • b88fa51907 should be checking `self.hostname`, not `self.hostmask` (func pointer!) jesopo 2020-04-15 21:10:02 +0100
  • 68054eacd5 support PASS from ConnectionParams jesopo 2020-04-13 19:10:02 +0100
  • 8656f63d09 support labeled-response (but don't REQ it yet) jesopo 2020-04-13 18:23:05 +0100
  • bd424d11ff Future[Line], not Awaitable[Line] in self._wait_for jesopo 2020-04-13 17:32:39 +0100
  • cb3439e674 also match wait_fors that were in progress when a new one was triggered jesopo 2020-04-13 17:30:14 +0100
  • 7cb2457136 add util functions to join a channel and whois a user jesopo 2020-04-12 13:54:27 +0100
  • a44d77af6d update ircstates to 0.8.8 jesopo 2020-04-12 13:54:10 +0100
  • d571ad7ff9 self.recv() can return an empty array jesopo 2020-04-12 13:53:39 +0100
  • 923809ab43 add async_stagger reference for backported happy eyeballs open_connection jesopo 2020-04-11 11:33:53 +0100
  • c4009e1c07 on ERR_SASLFAIL, pop from matches jesopo 2020-04-10 21:37:26 +0100
  • 3700ba4ab6 on RPL_SASLMECHS, we should still wait_for the ERR_SASLFAIL after it jesopo 2020-04-10 21:36:17 +0100
  • 5da82e7d66 check for PLAIN should use `match[0]` not `match` jesopo 2020-04-10 21:36:03 +0100
  • a546a468b7 remove premature import for future work jesopo 2020-04-09 11:12:02 +0100
  • 85ee8e95e0 WHO ourselves on 001 to get our realname jesopo 2020-04-09 11:09:44 +0100
  • 9f832df2f1 allow Numerics() with `params` use NUMERICS list from ircstates jesopo 2020-04-09 11:09:15 +0100
  • 9265fd0c48 remove py3.6 .travis.yml target - i think we'll be 3.7-or-above jesopo 2020-04-06 13:33:00 +0100
  • 985e95c37d remove duplicate "Server" in examples/sasl.py jesopo 2020-04-06 13:28:16 +0100
  • fb99d97bca add anyio to requirements.txt jesopo 2020-04-06 13:24:38 +0100
  • 179a2ca93a refactor TCP logic in to ITCPTransport (we can mock this for unittests) jesopo 2020-04-06 13:22:17 +0100
  • 750fbd8acc comment about why server CAP/USER/NICK send() calls are not awaited jesopo 2020-04-05 23:57:02 +0100
  • 730fef38f3 server.send() should be sync and return a Future - no nead for double await jesopo 2020-04-05 23:54:57 +0100
  • 899d4821f0 add asyncs.MaybeAwait() - optionally awaitable coroutines jesopo 2020-04-05 23:37:54 +0100
  • 72dc3ebd04 Bot does not have line_read()/line_send() any more jesopo 2020-04-05 17:42:43 +0100
  • 84b374f43d FoldString -> ParamFolded jesopo 2020-04-05 17:40:22 +0100
  • d837529698 next_line() doesn't need `wait_for` param jesopo 2020-04-05 17:22:33 +0100
  • 423623fec1 add a Response subclass just to take RPL_/ERR_ names along with params jesopo 2020-04-05 17:16:19 +0100
  • 0829fd9499 refactor and simplify normal reading vs wait_for jesopo 2020-04-05 17:11:04 +0100
  • b8ddc6883d oops; add missing return statement from server.send jesopo 2020-04-05 13:19:19 +0100
  • 1c7caf9039 use Server.registerd to detect handshake CAP LS; handle non-handshake CAP LS jesopo 2020-04-05 13:18:23 +0100
  • 2a9d658207 return Future from `async send()` to *optionally* wait for it to hit the wire jesopo 2020-04-05 13:17:53 +0100
  • e470d57780 pass IServer to Response so we can have FoldString (match with casefold rules) jesopo 2020-04-05 13:00:13 +0100
  • f70932ac44 move more CAP related stuff to CAPContext jesopo 2020-04-05 12:48:29 +0100
  • afe9ec359d update ircstates to 0.8.2 jesopo 2020-04-05 12:47:19 +0100
  • 404154e6a2 add __repr__ for matching.py objects jesopo 2020-04-03 13:04:23 +0100
  • 688418df04 dont tg.spawn() for each message, allow wait_for to read jesopo 2020-04-03 13:04:02 +0100
  • 45ac3be550 ssl/ssl_verify -> tls/tls_verify jesopo 2020-04-03 09:50:30 +0100
  • 2d93e27feb maybe_sasl() -> sasl_auth(SASLParms) jesopo 2020-04-03 09:49:46 +0100
  • 8cc3db5e58 ensure server nonce .startswith() our nonce jesopo 2020-04-03 00:07:48 +0100
  • 99d55de170 fix JOIN emit typehint issue (emit.channel may be None) jesopo 2020-04-02 23:53:47 +0100
  • b34e4fcc22 `await server.send()` should block until it hits the wire jesopo 2020-04-02 23:53:32 +0100
  • 8dde7b7216 codestyle in ircv3.py jesopo 2020-04-02 23:07:09 +0100
  • 5b4714ca1e query channel MODEs on-JOIN jesopo 2020-04-02 22:57:22 +0100
  • 63fa470a3f add ConnectionParams.ssl_verify jesopo 2020-04-02 22:43:34 +0100
  • 331cadfb39 use ConnectionParams.bindhost jesopo 2020-04-02 22:39:03 +0100
  • 94c501d4de do `CAP LS 302` (not just `CAP LS`) jesopo 2020-04-02 22:38:02 +0100
  • 60e601aa81 implement SASL SCRAM jesopo 2020-04-02 22:37:51 +0100
  • a4f5d8045f add numerics.py to translate names, remove Response(errors=) jesopo 2020-04-02 20:55:01 +0100
  • 06a4d20fc8 make handshake CAP dance happen in one async task. move to ircv3.py jesopo 2020-04-02 20:16:07 +0100
  • 1b3c537e0a only try SASL on CAP NEW when one of the new CAPs is SASL jesopo 2020-04-02 18:43:59 +0100
  • 61f1cdba9d don't try SASL twice, try SASL on CAP NEW jesopo 2020-04-02 18:38:37 +0100
  • c139879670 add a matching Not() type - to invert other criteria jesopo 2020-04-02 18:38:04 +0100
  • f7ad037934 add .travis.yml jesopo 2020-04-02 18:18:41 +0100
  • 6c14fed785 improve examples/simple.py, add examples/sasl.py jesopo 2020-04-02 18:17:17 +0100
  • d310dad471 add SALContext().from_params() jesopo 2020-04-02 18:17:00 +0100
  • 0dd7121469 add some useful imports to ircrobots/__init__.py jesopo 2020-04-02 18:16:29 +0100
  • 03c71f6498 remove unneeded imports (thanks importchecker!) jesopo 2020-04-02 18:00:28 +0100
  • f43cb75bfa move SASL logic out in to sasl.py.SASLContext jesopo 2020-04-02 17:56:44 +0100
  • 023107385e add interface for code units that need an IServer context jesopo 2020-04-02 17:55:50 +0100
  • b46cecf420 move ConnectionParams (and SASLParams) out to params.py jesopo 2020-04-02 17:54:27 +0100
  • 971f49f4c7 move more sasl-related stuff out to sasl.py jesopo 2020-04-02 17:29:52 +0100
  • d19e8d1df7 don't offer Emit logic in Bot, end-users shouldn't care jesopo 2020-04-02 17:11:29 +0100
  • 7a1373d9b2 add SASL support! jesopo 2020-04-02 17:04:08 +0100
  • 16e500fd43 remove unneeded "from queue import Queue" jesopo 2020-04-02 17:01:39 +0100
  • 8148fead51 add Server.wait_for(), so you can await until getting a matching message jesopo 2020-04-02 17:00:50 +0100
  • 4f61b89012 add objects needed to denote SASL in ConnectionParams jesopo 2020-04-02 16:59:02 +0100
  • 1b9b12cb1e move managing each task of read/written data from to Bot jesopo 2020-04-02 00:10:59 +0100
  • 0029506118 server.py visual reorganise, respond to PINGs jesopo 2020-04-01 23:40:03 +0100
  • be31fe1936 make a Server interface, interface.IServer jesopo 2020-04-01 23:25:44 +0100
  • fd934b1101 fix PriorityQueue, use both Line and Emit, add CAP REQ jesopo 2020-04-01 23:06:41 +0100
  • fb892c584e add prints to examples/simple.py jesopo 2020-04-01 23:06:08 +0100
  • 81148924b9 add asyncio-throttle to requirements.txt jesopo 2020-04-01 15:38:59 +0100
  • a327d5dd96 first commit jesopo 2020-04-01 15:36:53 +0100
  • bd274c1f49
    Initial commit jesopo 2020-04-01 15:16:03 +0100