Gisle Aune
8507128dc6
client: Misc cleanups and added 'hook.ready' event.
6 years ago
Gisle Aune
38a14d7069
client: Changed Value to return the value only, not value and ok
6 years ago
Gisle Aune
cfac942c8a
Removed superfluous target removal for PART where nick is client.Nick()
6 years ago
Gisle Aune
8e13fe507e
Fixed auto-PART not working when closing channel target.
6 years ago
Gisle Aune
9aa04bbc10
Changed client status shorthand to avoid needless target lookp
6 years ago
Gisle Aune
4945166148
Started on 'irc repl', added Status() shorthand for client to get status target
6 years ago
Gisle Aune
00fd13e1d9
Added auto-join
6 years ago
Gisle Aune
f66b56f710
Removed test cases pertaining to irc.RemoveHandler
6 years ago
Gisle Aune
c2f95a664c
Forgot to save unit test
6 years ago
Gisle Aune
87132fe9a6
Removed locking of global handlers, and updated documentation to highlight thread unsafety. This will help concurrency. The pattern of adding and removing handlers is discouraged and made impossible
6 years ago
Gisle Aune
6cc8ae37c9
Added channel targetting based on target name for notices.
6 years ago
Gisle Aune
901ff240df
Added go 1.11-rc to CI test, removed 'latest'
6 years ago
Gisle Aune
659a2ce067
Renamed Event.Kill to Event.PreventDefault
7 years ago
Gisle Aune
72d63b405a
Fixed /m and /npc(a)c handlers, added SendRate to client config, added more testing.
7 years ago
Gisle Aune
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
7 years ago
Gisle Aune
c17a5e59bc
Cleaned up event targetting, changed Event.MarshalJSON, added Event.RenderTags
7 years ago
Gisle Aune
6377349c28
Added Client.Query, added tests for query target
7 years ago
Gisle Aune
0fbebfc3f5
Added targeting of messages, notices and ctcp actions (untested), added account-tag support
7 years ago
Gisle Aune
f37cb1751e
Fixed NICK handler not firing, added away-notify w/tests
7 years ago
Gisle Aune
6256f6a6fe
Added more test utilities for client_test.go, added NAMES and MODE handling for channels
7 years ago
Gisle Aune
65e4385b71
Added Target interface and target types
7 years ago
Gisle Aune
bca4614a07
Removed go 1.7 and 1.6 from pipeline
7 years ago
Gisle Aune
b332781817
Added workspace to .drone-ci
7 years ago
Gisle Aune
d47810a661
Added Immutable userlist
7 years ago
Gisle Aune
a002da67de
Added .drone.yml with test
7 years ago
Gisle Aune
8357b4f8af
Unfinished doc
7 years ago
Gisle Aune
a4cfeada63
Added function to get client ID, and a test for it
7 years ago
Gisle Aune
e8d5a79801
Renamed Client's EmitSafe to EmitNonBlocking to make it clearer what it's for.
7 years ago
Gisle Aune
bdacfcf111
Added test setup for the irc client with a simple mock server.
7 years ago
Gisle Aune
ef8d03bb70
Fixed crashes and other problems with the event handlers, fixed packet event not being created/propagated correctly
7 years ago
Gisle Aune
3fde120058
Initial Commit
7 years ago