Commit graph

695 commits

Author SHA1 Message Date
Aaron Weiss
f596767ce7 Fixed issue with docs not being uploaded to rust-ci. 2014-11-05 01:52:38 -05:00
Aaron Weiss
9ab10153f1 Added rust-ci docs configuration. 2014-11-05 01:49:55 -05:00
Aaron Weiss
165e7969db Added some basic tests to newly redesigned library. Test coverage is still less than satisfactory. 2014-11-05 01:45:17 -05:00
Aaron Weiss
503f14ea5a Added more functionality to Wrapper. 2014-11-04 14:26:24 -05:00
Aaron Weiss
1f888281b0 Added exports to data module. 2014-11-03 16:41:30 -05:00
Aaron Weiss
6db71ded01 Provided access to internal connections where needed, and added multi-line support to send_privmsg(...). 2014-11-03 14:12:23 -05:00
Aaron Weiss
25532d145e Removed lifetime requirements from send_samode. 2014-11-03 13:51:21 -05:00
Aaron Weiss
039049ab32 Added documentation for Wrapper and utility functions. 2014-11-03 04:19:12 -05:00
Aaron Weiss
b3e0e2ea08 Refactored utilities into a Server Wrapper that provides added functionality. 2014-11-03 04:15:03 -05:00
Aaron Weiss
5ac62acfd9 Added a simple response to the simple example. 2014-11-03 03:50:28 -05:00
Aaron Weiss
f0e3db4ce6 Added additional utilities. 2014-11-03 03:47:08 -05:00
Aaron Weiss
25c50b182b Updated README.md for redesign. 2014-11-03 03:17:34 -05:00
Aaron Weiss
b60236a0fd Merge pull request #1 from aaronweiss74/redesign
Iterator-based redesign.
2014-11-03 03:14:34 -05:00
Aaron Weiss
c7a0d4b83d Implemented join on connection. 2014-11-03 03:11:14 -05:00
Aaron Weiss
cd52c5b6a4 Messages now properly end with new-lines. 2014-11-03 03:02:35 -05:00
Aaron Weiss
16f29f179a Added basic message handling, and fixed a bug in message parsing. 2014-11-03 02:54:40 -05:00
Aaron Weiss
4479c59e79 Fixed bug with Message parsing causing suffixes to include colon prefix. 2014-11-03 02:42:06 -05:00
Aaron Weiss
c8dc582fd1 Fixed bug with message parsing, and updated example. 2014-11-03 02:30:58 -05:00
Aaron Weiss
c20038951e Added simple example, and changed how IrcServer creation works. 2014-11-03 02:11:51 -05:00
Aaron Weiss
42b4dcbf03 Added identify(...) utility, and clarified intent in some places using match. 2014-11-03 02:02:29 -05:00
Aaron Weiss
4d7c2065e9 Added FIXME to from_message(...) with details on how to rewrite it. 2014-11-03 01:47:36 -05:00
Aaron Weiss
25d4585fbc Commands now uses slices. 2014-11-03 01:45:00 -05:00
Aaron Weiss
fbcc3021a8 Added server utils module to hold shortcuts and the like. 2014-11-03 00:55:56 -05:00
Aaron Weiss
5bbde7e96c Added documentation everywhere. 2014-11-03 00:52:15 -05:00
Aaron Weiss
63f4ca5097 Implemented complete RFC 2812 as Commands. 2014-11-03 00:08:40 -05:00
Aaron Weiss
4ace08da3c Took non-existant script out of travis build configuration. 2014-11-02 18:45:29 -05:00
Aaron Weiss
2e2d411907 Added Server trait and implemented basic Server functionality for IrcServer. 2014-11-02 18:39:00 -05:00
Aaron Weiss
4df7be1662 Added Config implementation. 2014-11-02 18:16:49 -05:00
Aaron Weiss
d97035cca9 Implemented ServerIterator and message parsing. 2014-11-02 18:08:56 -05:00
Aaron Weiss
6da40f2ad3 Implemented thread-safe Connection. 2014-11-02 17:25:45 -05:00
Aaron Weiss
b2006d044d Laid out basic structure of rewritten library. 2014-11-02 16:25:57 -05:00
Aaron Weiss
91aa5bcc6f Refactored for iterators. 2014-11-02 16:16:58 -05:00
Aaron Weiss
0ad276fdae Added load_utf8 to Config and load takes a Path. 2014-11-02 13:47:22 -05:00
Aaron Weiss
f8a6987fcf Config::load(...) now takes the path to the configuration file. 2014-11-02 13:32:02 -05:00
Aaron Weiss
aa6ff176f2 Added a bot constructor that takes an already-made configuration file. 2014-11-02 13:01:02 -05:00
Aaron Weiss
16d8fc15ea Updated README.md with a link to an example. 2014-11-02 12:41:24 -05:00
Aaron Weiss
f174d17e4b handle_command(...) now calls the user's hook for all messages. 2014-10-29 17:02:06 -04:00
Aaron Weiss
3ee6ec76f1 Made colon before last argument optional depending on message type. 2014-10-29 03:43:15 -04:00
Aaron Weiss
445cfb1405 Added SAMODE with associated unit test. 2014-10-29 01:36:34 -04:00
Aaron Weiss
56ca5379e1 Added send_kill(...) and associated unit test. 2014-10-29 00:52:52 -04:00
Aaron Weiss
aad1d52b59 Added unit test for send_sanick(...). 2014-10-29 00:48:56 -04:00
Aaron Weiss
8924e4e578 Added send_sanick(...). 2014-10-29 00:47:39 -04:00
Aaron Weiss
803e1e8ff4 Added send_oper(...) to allow bots to oper up. 2014-10-29 00:17:49 -04:00
Aaron Weiss
7f67bd2905 Added options hashmap to config for custom bot configuration. 2014-10-29 00:13:18 -04:00
Aaron Weiss
f185106e08 Fixed a bug causing failure when user strings are empty. 2014-10-27 12:53:20 -04:00
Aaron Weiss
e48aca279d Simplified code with new syntax. 2014-10-27 00:44:17 -04:00
Aaron Weiss
35af08ef7c Removed unnecessary swearing. 2014-10-27 00:34:56 -04:00
Aaron Weiss
c669d44f15 User tracking keeps proper track of user rank now. 2014-10-27 00:33:17 -04:00
Aaron Weiss
729ff3874c Updated tests to make them more debuggable. 2014-10-26 23:47:00 -04:00
Aaron Weiss
f0bd2b99f1 Added kick command. 2014-10-26 23:29:31 -04:00