Commit graph

208 commits

Author SHA1 Message Date
Aaron Weiss
452645a56f
Fixed compilation error with no-default-features. 2018-01-01 23:07:10 -05:00
Aaron Weiss
a0d0d3e249
Cleaned up a bunch of code with clippy. 2018-01-01 22:25:25 -05:00
Aaron Weiss
68666aef09
Made a stylistic change to the new message throttling code. 2018-01-01 21:52:23 -05:00
Aaron Weiss
70ff2ec992
Changed throttling window to be properly rolling. 2018-01-01 21:47:59 -05:00
Aaron Weiss
16292fcc2c
Improved documentation for message throttling configuration. 2018-01-01 21:47:28 -05:00
Aaron Weiss
c7772c0479
Changed message throttling to use a rolling window. 2018-01-01 21:18:33 -05:00
Aaron Weiss
2564e6b060
Added a bunch of detail about the high-level client API to the prelude. 2017-12-24 21:50:43 -05:00
Aaron Weiss
6348ad0567
Fixed broken links in some documentation. 2017-12-24 21:22:51 -05: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
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
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
bd5253016e
Added ChannelExt to prelude. 2017-06-25 04:47:09 -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
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
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
3369ef5ff2
Cleaned up code and added documentation. 2017-06-21 17:15:30 -04:00
Aaron Weiss
073b82feec
Replaced old conn.rs with async.rs. 2017-06-21 16:55:37 -04:00
Aaron Weiss
c363dc7837
Migrated real IrcServer API to be async based on experiment. 2017-06-21 16:53:28 -04:00