gisle
ad3c096ed9
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:44:32 +02:00
gisle
a0dcd005f4
remove testify dep
continuous-integration/drone/push Build is failing
2020-07-20 18:43:23 +02:00
gisle
bc1d96adff
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:34:43 +02:00
gisle
ef36cd4b90
change drone ci to allow for testing with older versions.
continuous-integration/drone/push Build is failing
2020-07-20 18:31:59 +02:00
gisle
3968b39b27
fix .drone.yml
continuous-integration/drone/push Build is passing
2020-07-19 12:56:51 +02:00
gisle
3a9e0add97
fix .drone.yml
continuous-integration/drone/push Build is passing
2020-07-19 12:53:21 +02:00
gisle
78c0c5f3e3
update .drone.yml
continuous-integration/drone/push Build is failing
2020-07-19 12:50:53 +02:00
gisle
327053703b
remove global irc event handlers.
2020-07-19 11:58:10 +02:00
gisle
bf0ffea7dd
make bench test more realistic, as handlers may not be done in the first case when the function returns.
2020-07-17 19:05:51 +02:00
gisle
480c658139
fix branch test, clean up mroleplay.
2020-07-17 18:53:55 +02:00
gisle
ec7511e0df
clean up code, add client-specific handlers.
2020-07-17 16:45:08 +02:00
gisle
2683892c39
no idea
2019-12-27 16:01:58 +01:00
gisle
bf1c50fbfa
migrate to github, add stuff.
2019-12-27 15:59:28 +01:00
gisle
9a9cd33fd8
Added KICK handling and cleaned up part handling, fixed test incorrectness.
2019-04-20 21:42:56 +02:00
gisle
36c2a5ea38
Removed debug fmt.Printf from ParsePacket.
2019-03-17 22:26:56 +01:00
gisle
7233516f87
event_packet: Fixed bug caused by the second trailing delimiter in a message like ((Remove :01 goofs!*))
2019-01-20 21:14:25 +01:00
gisle
c1e97eb9d2
list: Fixed client's own nick not being updated by NAMES reply.
2018-12-02 17:14:16 +01:00
gisle
d42df0d7a0
client: Fixed incorrect comand being sent when parting a closed target.
2018-11-27 17:58:44 +01:00
gisle
650ea0ce10
client: Changed Join and Part method to use queued send instead. [BC Break: removed error return]
2018-11-26 22:16:12 +01:00
gisle
3e1f487e02
client: Added Ready() method.
2018-11-26 22:14:59 +01:00
gisle
f25ac9dff2
client: Improved test coverage.
2018-11-26 22:05:21 +01:00
gisle
2dd72f9838
event: Fixed all CTCP events being parsed as ctcp-reply kind.
2018-11-25 18:29:37 +01:00
gisle
15a51e0151
client: Fixed incorrect numeric being listened to for nick errors.
2018-11-24 11:18:42 +01:00
gisle
b4c7c5145f
client: Added Say(f), Describe(f) to send cut messages to channels and nicks.
2018-11-24 10:04:07 +01:00
gisle
04d2eb6ea2
ci: Added benchmarks to tests.
2018-11-17 21:22:22 +01:00
gisle
907db84348
ci: Updated matrix to use go 1.11 proper.
2018-11-17 21:20:11 +01:00
gisle
178c9989bc
client: Added Part method with a similar signature to Join.
2018-11-14 21:20:13 +01:00
gisle
992d71dde4
client: Fixed auto-rejoin trying to rejoin when there's no channels to rejoin.
2018-11-11 09:51:17 +01:00
gisle
193268db35
client: Added Targets and Channels methods for getting multiple targets.
2018-11-10 12:00:48 +01:00
gisle
8507128dc6
client: Misc cleanups and added 'hook.ready' event.
2018-11-10 10:59:17 +01:00
gisle
38a14d7069
client: Changed Value to return the value only, not value and ok
2018-10-21 12:32:21 +02:00
gisle
cfac942c8a
Removed superfluous target removal for PART where nick is client.Nick()
2018-08-05 13:42:35 +02:00
gisle
8e13fe507e
Fixed auto-PART not working when closing channel target.
2018-08-05 13:40:25 +02:00
gisle
9aa04bbc10
Changed client status shorthand to avoid needless target lookp
2018-08-05 13:38:25 +02:00
gisle
4945166148
Started on 'irc repl', added Status() shorthand for client to get status target
2018-08-05 13:37:31 +02:00
gisle
00fd13e1d9
Added auto-join
2018-08-05 12:25:02 +02:00
gisle
f66b56f710
Removed test cases pertaining to irc.RemoveHandler
2018-08-05 11:28:41 +02:00
gisle
c2f95a664c
Forgot to save unit test
2018-08-05 11:27:57 +02:00
gisle
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
2018-08-05 11:27:11 +02:00
gisle
6cc8ae37c9
Added channel targetting based on target name for notices.
2018-08-05 10:59:20 +02:00
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