Commit Graph

397 Commits

Author SHA1 Message Date
Orion (Theunkn0wn1) dba843f022
Re-added `pydle.Future` and `pydle.coroutine`
- just forward-references to asyncio
2018-12-22 13:25:34 -08:00
theunkn0wn1 3e1aa27a1f
Fixed instance where the Pydle constructor would create a new event loop when it is not supposed to.
`asyncio.get_event_loop` returns a new loop if one does not
already exist.

If one does exist, (eg the constructor is ran in an async context) it will use that instead
2018-09-26 16:56:48 -07:00
theunkn0wn1 b77df2e79c
#2 fix up irccat example 2018-07-24 10:25:50 -07:00
theunkn0wn1 59f9b32b70
#2 fixed some missed SASL timers 2018-07-24 10:25:26 -07:00
theunkn0wn1 b20b8eab4c
#2 Fixed SASL timer
- apparently i missed a spot :x
2018-07-23 19:06:47 -07:00
theunkn0wn1 e5ff726e8e
#2 Fixed BasicClient._on_preform_ping_timeout never being awaited 2018-07-23 18:32:47 -07:00
theunkn0wn1 21089cb648
#2 fixed BasicClient.run() 2018-07-23 17:37:07 -07:00
theunkn0wn1 c83ec9de32
#2 re-enable support for the Pool.
- this method is somewhat hacky, but is how it was originally
 implemented: all clients running in one event loop.
2018-07-23 17:15:31 -07:00
theunkn0wn1 68bcbf4dc2
#2 resolved `async` reference 2018-07-23 15:36:47 -07:00
theunkn0wn1 cf84aa9a24
#2 fixed up connection code.
eventloop.connect -> asyncio.open_connection(loop=self.eventloop,...)
2018-07-23 15:36:26 -07:00
theunkn0wn1 65aab3fda0
#2 eventloop.schedule_async -> asyncio.ensure_future 2018-07-23 15:35:34 -07:00
theunkn0wn1 9a270e43a9
#2 Ok, this method needs to be a generator based coro 2018-07-23 15:34:15 -07:00
theunkn0wn1 d13e7a3aa3
#2 added missing await in `rfc1459/client` 2018-07-23 15:33:39 -07:00
theunkn0wn1 4de13f7d44
#2 resolved lingering `async` import 2018-07-23 15:33:00 -07:00
theunkn0wn1 f9748dbff3
#2 removed `async` references in `ircv3/sasl` 2018-07-23 14:00:33 -07:00
theunkn0wn1 5fc51ea5f5
#2 remove `async` references from `ircv3/monitor`
- this ignores the unresolved reference errors
2018-07-23 13:59:47 -07:00
theunkn0wn1 dc5e59a3d1
#2 removed `async` references from `ircv3/metadata` 2018-07-23 13:58:20 -07:00
theunkn0wn1 217ed11037
#2 remove `async` reference from `ircv3/ircv3_3` 2018-07-23 13:57:27 -07:00
theunkn0wn1 b6381611f6
#2 remove `async` references from `ircv3/ircv3_2` 2018-07-23 13:56:34 -07:00
theunkn0wn1 8bef8b6890
#2 removed `async` references in `irv3/ircv3_1` 2018-07-23 13:55:42 -07:00
theunkn0wn1 471fce4b24
#2 removed `async` references in `ircv3/cap` 2018-07-23 13:54:32 -07:00
theunkn0wn1 2e15894c35
#2 remove references to `async` in `whox` 2018-07-23 13:51:14 -07:00
theunkn0wn1 289c8d8f66
#2 remove `async` references in `tls` 2018-07-23 13:50:17 -07:00
theunkn0wn1 9d4dea6bc2
#2 remove `async` references in `isupport` 2018-07-23 13:48:50 -07:00
theunkn0wn1 35b4a96169
#2 remove references to `async` in `ctcp`, reimplemented as native coros
- this ignores the runtime errors, those will be corrected later
2018-07-23 13:47:02 -07:00
theunkn0wn1 b613580e36
#2 Upgrade pydle/connection to modern language
- also applied a pep8 reformatting pass
2018-07-23 13:14:27 -07:00
theunkn0wn1 380dc1c6f0
pydle-2 Ugraded features/account to modern language 2018-07-22 22:30:24 -07:00
theunkn0wn1 0855d8e377
pydle-2 upgraded `client` to use modern language 2018-07-22 22:29:53 -07:00
theunkn0wn1 7b7a048e0b
pydle-2 Convert rfc1459 client.py to modern async def
- all `yield from` expressions replaced with `await`
 - all `@async.coroutine` expressions replaced with `async def` in
    function definition
2018-07-22 21:23:59 -07:00
theunkn0wn1 d7e16d1712
pydle-2 deleted async.py BREAKING CHANGE
- TODO : fix all the errors this caused
2018-07-22 21:23:45 -07:00
Shiz b9517071e4 Merge pull request #60 from Harmon758/fix-parse-bug
Fix minimal line separator reference in parse
2016-12-20 17:24:54 +01:00
Harmon 34babd0c29 Fix minimal line separator reference in parse 2016-11-15 05:24:29 -06:00
Shiz 7062b09b44 Remove broken pydle.utils.console as it was of questionable usefulness either way. 2016-11-08 01:35:40 +01:00
Shiz 301e4f9818 Disallow SSLv3 connections and session tickets. 2016-11-07 23:22:06 +01:00
Shiz 5234f3cb04 Debug log outgoing messages and raw incoming messages. 2016-10-30 21:11:46 +01:00
Shiz 787d5247f1 Merge master. 2016-10-30 21:03:31 +01:00
Shiz 152eff09ca Merge pull request #52 from Polsaker/master+timeout-fix
Increasing PING_TIMEOUT from 180 to 300 seconds.
2016-10-30 20:44:31 +01:00
Shiz 198b3d1975 Properly parse 004 message.
Should fix #56.
2016-10-30 20:41:44 +01:00
Shiz 09a9315e32 Merge pull request #53 from Harmon758/correct-spelling
Correct spelling mistakes
2016-10-30 20:34:50 +01:00
Harmon 98bbfed64c Correct spelling mistakes 2016-10-27 23:57:38 -05:00
Ramiro Bou a76c1154c7 Increasing PING_TIMEOUT from 180 to 300 seconds.
Some networks (like freenode) have ping timeouts way higher than 180 seconds.
2016-10-25 18:32:55 -03:00
Shiz 48dd78f50e Respond to SASL challenge with empty response with EXTERNAL mechanism. 2016-10-20 06:21:15 +02:00
Shiz b31bfbdeb7 Fix missing coroutine in pydle.features.account. 2016-10-20 06:08:17 +02:00
Shiz 0ccb96a9cb Add SASL EXTERNAL support and SASL mechanism choice. 2016-10-20 06:05:21 +02:00
Shiz 8dbe732dda Check if SASL challenge was properly processed and abort if not. 2016-10-20 05:41:42 +02:00
Shiz 64ecd5a991 Add IRCv3.3 message-tags support. 2016-10-20 05:27:11 +02:00
Shiz 898d0afc59 Move ping timeout to client variable. 2016-10-20 05:17:30 +02:00
Shiz 875c90d98c Add IRCv3.2 invite-notify support. 2016-10-20 05:16:27 +02:00
Shiz 8fab9bf2d5 Add IRCv3.2 account-tag support. 2016-10-20 05:12:23 +02:00
Shiz e73a88502e Implement IRCv3.2 echo-message support. 2016-10-20 05:11:41 +02:00