pydle/pydle
Tony Young 4eb83cfbb1 Add support for User and Channel models (closes #15).
This is a somewhat backwards-incompatible with v0.8 as it changes many interfaces for interacting with user and channel information, namely:

 - Instead of nicknames and channel names, User and Channel models are now passed to on_* hooks (BREAKING). Additionally, on_nick_change has been changed to take the arguments (user, original_nick).

 - All previous dictionary fields have been converted to attributes, e.g. user['username'] is now user.username. This extends to results from WHOIS (WHOISInfo) and WHOWAS (WHOWASInfo).

   __getitem__ and __setitem__ are implemented, for the time being, to maintain backwards compatibility.

 - _sync_user has been completely removed and replaced with _parse_and_process_user (and, to some extent, _get_user). Everything that made use of _parse_user now also synchronizes with the user database for consistency (may be breaking).

 - A new metaclass, ClientType, has been introduced to allow dynamic composition of the User and Channel classes on the feature classes (internal only).

 - User/Channel objects have the message() method when RFC1459 support is active (feature).

Oh, and now the contents parameter of ctcp() actually does something.
2015-06-07 19:20:10 -07:00
..
features Add support for User and Channel models (closes #15). 2015-06-07 19:20:10 -07:00
utils Remove outdated NickServ feature. 2015-05-02 21:45:55 +02:00
__init__.py Unify IRCv3 code. 2015-05-02 19:24:47 +02:00
async.py Revert "Properly show exceptions in coroutines." 2014-11-15 09:30:38 +11:00
client.py Add support for User and Channel models (closes #15). 2015-06-07 19:20:10 -07:00
connection.py Shut down event loop after disconnecting. 2015-01-25 13:58:03 +01:00
models.py Add support for User and Channel models (closes #15). 2015-06-07 19:20:10 -07:00
protocol.py Improve documentation. 2014-02-13 07:27:37 +01:00