Commit graph

118 commits

Author SHA1 Message Date
Aaron Weiss
5266e4098d
Refactored the whole crate to use failure. 2018-01-28 00:52:11 +01:00
Aaron Weiss
ce158fc612
Made unspecified server or nickname into errors instead of simply panics. 2018-01-27 20:26:56 +01:00
Aaron Weiss
a0d0d3e249
Cleaned up a bunch of code with clippy. 2018-01-01 22:25:25 -05:00
Aaron Weiss
16292fcc2c
Improved documentation for message throttling configuration. 2018-01-01 21:47:28 -05:00
Jokler
9ec7356d10 Improved error-handling in config (fixes #98) 2017-10-17 00:38:59 +02:00
Aaron Weiss
20e7f2fdf5
Reordered Config for TOML compatibility and improved error handling for saves/loads. 2017-08-04 20:23:07 -04:00
Aaron Weiss
c749146d5c
Added support for toml and yaml configurations. 2017-06-29 00:31:27 -07:00
Aaron Weiss
a0f43cb80b
Added support for message throttling. 2017-06-28 23:07:02 -07:00
Aaron Weiss
f0fa03e70a
Updated documentation for ping_time and ping_timeout. 2017-06-28 20:44:22 -07:00
Aaron Weiss
1c0ccd11a9
Updated docs for ping_time and ping_timeout. 2017-06-25 05:45:30 -04:00
Aaron Weiss
196d6425bd
Purged try! from code (replaced with ?). 2017-06-25 05:06:35 -04:00
Aaron Weiss
2055603a5d
Changed CTCP VERSION to include the real version number by default. 2017-06-22 15:04:27 -04:00
Aaron Weiss
ec8fdeb2e9
Reorganized imports into a consistent style. 2017-06-22 14:15:55 -04:00
Aaron Weiss
d9f4f82051
Implemented new Mode API (fixes #48). 2017-06-22 13:59:18 -04:00
Aaron Weiss
b277db71e0
Fixed test compilation. 2017-06-21 23:24:11 -04:00
Aaron Weiss
254f5bb048
Added ability to specify SSL certificate in DER format (fixes #67). 2017-06-21 23:21:03 -04:00
Aaron Weiss
c0af567258
Cleaned up imports and prelude. 2017-06-21 22:14:15 -04:00
Aaron Weiss
77d44a5055
Added two config fields for testing purposes. 2017-06-21 19:19:58 -04:00
Aaron Weiss
3369ef5ff2
Cleaned up code and added documentation. 2017-06-21 17:15:30 -04:00
Aaron Weiss
cc1aa5717e
Migrated to using error_chain. 2017-06-20 14:54:06 -04:00
Aaron Weiss
cf3ee671ed
Merge branch 'master' into async 2017-06-19 14:33:02 -04:00
Aaron Weiss
f0f0b95038
Ran rustfmt on all the code. 2017-06-19 13:59:26 -04:00
Aaron Weiss
388628d62a
Applied a bunch of clippy lints. 2017-06-19 13:46:01 -04:00
Torbjörn Lönnemark
1c84b699d4 Add support for RPL_TOPICWHOTIME (numeric 333) 2017-06-15 21:20:17 +02:00
Torbjörn Lönnemark
e33248f043 Replace rustc-serialize with serde
rustc-serialize is deprecated.

Fixes #84.
2017-06-14 22:20:31 +02:00
Dominik Miedziński
fcb0c1da64 Use CTCP VERSION and SOURCE replies from Config 2017-03-22 22:06:43 +01:00
Aaron Weiss
fbeeaed874
Changed implementation of socket_addr on Config. 2017-03-15 12:42:15 -04:00
Aaron Weiss
d9fc586b8c
Added socket_addr() helper to Config. 2017-01-15 17:32:41 -05:00
Aaron Weiss
880870770e
Moved protocol-related stuff to new proto module. 2017-01-15 13:41:16 -05:00
Aaron Weiss
5b8f320050
Implemented channel keys for autojoined channels (fixes #51). 2016-07-05 16:21:21 -04:00
Geordon Worley
baef34f947 make tag members public 2016-06-19 00:37:58 -04:00
Aaron Weiss
fcc5c64826 Command parsing now parses into raw, rather than producing an error. 2016-04-02 13:50:27 -04:00
Aaron Weiss
863946ecb8 Implemented Display for Message. 2016-03-17 21:39:58 -04:00
Aaron Weiss
e4495940fc Made a whole lot of linting changes to improve code.
Small API changes:
  1. Message::into_string -> Message:to_string
  2. NetStream::UnsecuredTcpStream -> NetStream::Unsecured
  3. NetStream::SslTcpStream -> NetStream::Ssl
2016-03-17 21:35:35 -04:00
Aaron Weiss
6d5b534628 Fixed bug in MODE parsing. 2016-02-10 12:31:52 -05:00
Aaron Weiss
3314c93c3e Implemented a major redesign to simplify API and eliminate
overly-complicated generics usage.
2016-02-10 00:15:08 -05:00
angelsl
5f20e715fd Add NickServ GHOST functionality 2016-02-09 18:41:52 +08:00
Aaron Weiss
2cf0b26dca Cleaned up new comments on source_nickname. 2016-02-07 11:33:45 -05:00
angelsl
022b4af86c Fix Message::source_nickname 2016-02-07 16:01:05 +08:00
angelsl
54cb41a616 User idents and hostnames actually can have dots 2016-02-07 16:00:35 +08:00
Aaron Weiss
20338f881f Renamed getter functions to not include get as is common practice. 2016-01-30 12:00:25 -05:00
Aaron Weiss
b6ce088693 Updated examples after Command redesign. 2016-01-30 05:00:16 -05:00
Aaron Weiss
2eb0e63d59 Performed the great Command redesign (fixes #16). 2016-01-30 04:56:32 -05:00
Aaron Weiss
81a807f0a1 Rewrote From<Message> implementation in preparation of Command/Message
redesign.
2016-01-29 15:39:22 -05:00
Aaron Weiss
667a3dade3 Added RAW command. 2016-01-29 13:15:38 -05:00
Aaron Weiss
8113c47842 Fixed test execution. 2016-01-16 11:47:25 -05:00
Aaron Weiss
3dc15449a8 Implemented ping-sending on inactivity. 2016-01-15 12:37:16 -05:00
Aaron Weiss
8104894c28 Updated get_source_nickname behavior to match spec (fixes #40). 2015-11-26 13:11:02 -05:00
Aaron Weiss
6e160f561f Fixed typo in value for ERR_KEYNOPERMISSION. 2015-11-04 12:17:23 -05:00
Aaron Weiss
b866785c89 Added a function to save a Config. 2015-09-16 12:21:58 -04:00