Joshua Salzedo
845429fee9
Merge pull request #108 from Harmon758/connect-with-password-fix
...
Fix usage of password to connect
2019-01-05 16:33:41 -08:00
Harmon
e69b198e42
Fix check for password not already set when setting it during connection
2019-01-05 10:24:02 -06:00
theunkn0wn1
26d9bd5547
version 0.9.0
2019-01-04 12:51:53 -08:00
theunkn0wn1
54bab89572
#77 Fix reconnect resetting the password
...
- pydle will ignore password=None if it already has a password
2019-01-04 12:51:53 -08:00
theunkn0wn1
6821cf3fdb
Fix reconnection PEBCAK
...
- reset connection attributes BEFORE attempting a reconnect
- otherwise certain fields (self.registered) have improper values
2019-01-04 12:51:53 -08:00
theunkn0wn1
159e178549
on_connect children should call their super.
...
(fixes the reconnection counter not resetting on successful reconnect)
2019-01-04 12:51:53 -08:00
theunkn0wn1
7c100441fd
Made handle_forever a task, cancel it during disconnect
2019-01-04 12:51:53 -08:00
theunkn0wn1
781fd56d1d
Make `Client.disconnect` async
2019-01-04 12:51:53 -08:00
theunkn0wn1
0dcbf42c33
Fix ping timeout task creation
...
Fixes #103
2019-01-04 12:51:53 -08:00
theunkn0wn1
4f3623e8c6
Fixed reconnect delay issue
...
closes #101
2019-01-04 12:51:53 -08:00
Harmon
ca94c2247b
Remove unnecessary lambda when stopping connection
2019-01-04 12:51:53 -08:00
Harmon
2a52e40d26
Replace eventloop.schedule with call_soon when stopping connection
2019-01-04 12:51:53 -08:00
Harmon
3ab8c6bceb
Import MutableMapping from collections.abc
2019-01-04 12:51:53 -08:00
theunkn0wn1
806ec7e2ff
Added explanation for the nickname check in the readme
2019-01-04 12:51:53 -08:00
theunkn0wn1
1a4dbe588a
Prevent excess flood in echo bot example
2019-01-04 12:51:53 -08:00
Harmon
46bd534195
Remove unnecessary parentheses from return await
2019-01-04 12:51:53 -08:00
theunkn0wn1
436ae8bde9
Added some missing await statements
2019-01-04 12:51:53 -08:00
theunkn0wn1
38c5d2c842
Removed unneeded inline type hints, closes #89
2019-01-04 12:51:53 -08:00
theunkn0wn1
2bfa42e372
Set minimum python version to >=python3.5
...
Closes #94 #91
2019-01-04 12:51:53 -08:00
Harmon
ddfd11cfce
Await coroutine in on_raw_375
2019-01-04 12:51:53 -08:00
Shiz
a7053805cf
Merge branch 'asyncio'
2018-12-23 18:56:54 +01:00
Shiz
c5485195f6
Port pydle.utils.run to asyncio.
2018-12-23 18:54:55 +01:00
Shiz
1934064ddb
Merge pull request #79 from theunkn0wn1/pydle-2
...
Enable support for Python 3.7
2018-12-23 17:54:20 +00:00
Orion (Theunkn0wn1)
d4b336d46e
Version bump
2018-12-22 13:26:01 -08:00
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
Shiz
801d9e8843
Merge branch 'asyncio'
2018-09-10 23:09:33 +02: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