Commit graph

396 commits

Author SHA1 Message Date
Aaron Weiss
4ec2212dbd
Implemented tag output in Message::to_string() which apparently was _still_ a TODO. 2017-12-13 20:33:26 +01:00
Aaron Weiss
f6588cb980
Removed server module (refining project scope), and fixed up README. 2017-12-13 20:31:28 +01:00
Aaron Weiss
7625c364a6
Added logging support via the log crate. 2017-12-12 14:02:45 +01:00
Aaron Weiss
dc55d08996
Fixed some typographical errors in new documentation. 2017-11-16 17:26:46 +01:00
Aaron Weiss
899accaa2f
Improved the documentation for irc::client::server. 2017-11-16 15:54:08 +01:00
Frederik B
98371429b6
Add usermode +x and channelmode +r
This commit adds the usermode +x (masked hostname) and the channelmode +r (entry for users registered with NickServ only)
2017-11-07 15:24:55 +01:00
Jokler
9ec7356d10 Improved error-handling in config (fixes #98) 2017-10-17 00:38:59 +02:00
Aaron Weiss
c992fbdf77
Fixed deprecation warnings. 2017-10-02 17:00:46 +02:00
Aaron Weiss
99347f536c
Improved documentation on IrcTransport. 2017-08-15 14:43:30 -04:00
Aaron Weiss
e220e90c58
Added the ability to create a new IrcServer without spawning a thread. 2017-08-15 14:00:32 -04: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
ccefda229b
Switched from time to chrono. 2017-06-28 22:24:23 -07:00
Aaron Weiss
f0fa03e70a
Updated documentation for ping_time and ping_timeout. 2017-06-28 20:44:22 -07:00
Aaron Weiss
4d3f4c556a
Implemented ping sending inside of the transport. 2017-06-28 17:48:00 -07:00
Aaron Weiss
07614fb26f
Changed LineCodec to use extend in encode (fixes #92). 2017-06-27 14:57:25 -07:00
Aaron Weiss
8fa6f85001
Changed outgoing future to panic on error (since the code currently does
that anyway).
2017-06-27 14:26:04 -07:00
Aaron Weiss
7712a5536b
Readded current_nickname to IrcServer interface (fixes #91). 2017-06-25 19:36:38 -07:00
Aaron Weiss
c841e2cca9
Changed server tests to using for_each_incoming. 2017-06-25 05:58:13 -04: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
52035bd31e
Added EachIncomingExt to prelude. 2017-06-25 05:02:27 -04:00
Aaron Weiss
b95ed76088
Extended for_each_incoming to all IRC streams, and added the error to
the return type.
2017-06-25 04:58:08 -04:00
Aaron Weiss
cfafb39ed9
Added a response_target helper function (suggested in #44). 2017-06-25 04:47:45 -04:00
Aaron Weiss
bd5253016e
Added ChannelExt to prelude. 2017-06-25 04:47:09 -04:00
Aaron Weiss
30468870bf
Refactored ChannelExt into its own module. 2017-06-25 04:46:20 -04:00
Aaron Weiss
a7a20efb0c
Fixed docs for JOIN (fixes #90). 2017-06-25 04:23:56 -04:00
Aaron Weiss
1c98b4a5ea
Added documentation and a better error message for second calls to
stream().
2017-06-24 22:18:16 -04:00
Aaron Weiss
41632b10af
Both sides of the transport now error on ping timeout. 2017-06-22 17:33:29 -04:00
Aaron Weiss
4d9d015f84
Fixed CTCP VERSION test. 2017-06-22 16:07:52 -04:00
Aaron Weiss
1030f51b46
Improved top-level module documentation. 2017-06-22 16:04:09 -04:00
Aaron Weiss
bfb14c0446
Fixed bug with response documentation. 2017-06-22 16:02:03 -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
eecbe1630c
Refactored Mode API into its own module and added it to prelude. 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
54326e0047
Reformatted conn and transport. 2017-06-22 10:46:40 -04:00
Aaron Weiss
2035739aa5
Added RPL_ISUPPORT, and moved RPL_BOUNCE. Fixes #87. 2017-06-22 10:01:51 -04:00
Aaron Weiss
89b3c7b29d
Changed library to accept case insensitive commands (fixes #45). 2017-06-21 23:55:17 -04:00
Aaron Weiss
536521e349
Fixed bug with SSL domain verification. 2017-06-21 23:35:00 -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
8c9a1aca2c
Added for_each_incoming helper to Server. 2017-06-21 22:07:53 -04:00
Aaron Weiss
514a08d838
Fixed compilation for no default features. 2017-06-21 21:52:28 -04:00
Aaron Weiss
86e224b8aa
Fixed unit tests for async changes. 2017-06-21 21:50:38 -04:00
Aaron Weiss
77d44a5055
Added two config fields for testing purposes. 2017-06-21 19:19:58 -04:00
Aaron Weiss
2087e83e79
Removed tokio-service dependency, added tokio-mockstream. 2017-06-21 19:07:59 -04:00
Aaron Weiss
3369ef5ff2
Cleaned up code and added documentation. 2017-06-21 17:15:30 -04:00