Commit Graph
70 Commits
Author SHA1 Message Date
gisle 901ff240df Added go 1.11-rc to CI test, removed 'latest' 2018-06-29 09:29:55 +02:00
gisle 659a2ce067 Renamed Event.Kill to Event.PreventDefault 2018-06-28 13:51:14 +02:00
gisle 72d63b405a Fixed /m and /npc(a)c handlers, added SendRate to client config, added more testing. 2018-06-28 13:46:41 +02:00
gisle 308129bdf0 Added input handling and m_roleplay client-side handlers (...)
- Added Client.EmitInput()
- Added ircutil.ParseArgAndText for common /msg <target> <message...> type inputs
- Added target getters for Event
- Added default handling for input events that haven't been killed
- Removed handler_debug
- Changed timeout for interaction to 2s
- Fixed comment typo in event_packet.go
2018-06-28 12:11:12 +02:00
gisle c17a5e59bc Cleaned up event targetting, changed Event.MarshalJSON, added Event.RenderTags 2018-06-27 08:59:48 +02:00
gisle 6377349c28 Added Client.Query, added tests for query target 2018-06-26 13:02:36 +02:00
gisle 0fbebfc3f5 Added targeting of messages, notices and ctcp actions (untested), added account-tag support 2018-06-25 20:41:44 +02:00
gisle f37cb1751e Fixed NICK handler not firing, added away-notify w/tests 2018-06-25 17:31:47 +02:00
gisle 6256f6a6fe Added more test utilities for client_test.go, added NAMES and MODE handling for channels 2018-06-25 10:58:14 +02:00
gisle 65e4385b71 Added Target interface and target types 2018-06-25 09:45:00 +02:00
gisle bca4614a07 Removed go 1.7 and 1.6 from pipeline 2018-06-23 16:22:27 +02:00
gisle b332781817 Added workspace to .drone-ci 2018-06-23 16:15:27 +02:00
gisle d47810a661 Added Immutable userlist 2018-06-23 16:12:46 +02:00
gisle a002da67de Added .drone.yml with test 2018-06-23 12:55:37 +02:00
gisle 8357b4f8af Unfinished doc 2018-05-27 16:16:54 +02:00
gisle a4cfeada63 Added function to get client ID, and a test for it 2018-05-27 16:14:04 +02:00
gisle e8d5a79801 Renamed Client's EmitSafe to EmitNonBlocking to make it clearer what it's for. 2018-05-27 16:07:21 +02:00
gisle bdacfcf111 Added test setup for the irc client with a simple mock server. 2018-05-27 16:05:04 +02:00
gisle ef8d03bb70 Fixed crashes and other problems with the event handlers, fixed packet event not being created/propagated correctly 2018-05-27 16:04:08 +02:00
gisle 3fde120058 Initial Commit 2018-05-26 11:44:29 +02:00