gisle
7d17bb6ad3
fix drone tests failing on pre-mod Go versions.
continuous-integration/drone/push Build is failing
2020-11-30 21:27:12 +01:00
gisle
5b3c0b6541
add more details to error events.
continuous-integration/drone/push Build is failing
2020-11-30 21:06:18 +01:00
gisle
773cde9c26
fix query messages' echoes not being put in right target (for real this time).
continuous-integration/drone/push Build is failing
2020-11-29 21:30:11 +01:00
gisle
07189d07ee
fix query messages' echoes not being put in right target.
continuous-integration/drone/push Build is passing
2020-11-29 20:40:17 +01:00
gisle
8886ed4086
remove debug log.Println
continuous-integration/drone/push Build is passing
2020-11-29 20:14:35 +01:00
gisle
e06199c378
fix query messages not being put in right target.
continuous-integration/drone/push Build is passing
2020-11-29 19:56:54 +01:00
gisle
5367927ab2
fix benchmark failure.
continuous-integration/drone/push Build is failing
2020-11-29 18:12:08 +01:00
gisle
470acda045
add config.UseServerTime to make time tag overwrite opt-in. It will still be in tags
2020-11-29 18:12:02 +01:00
gisle
1372669042
fix incorrect empty target ids in Event.TargetIDs()
continuous-integration/drone/push Build is failing
2020-11-29 16:48:52 +01:00
gisle
9d8bbd4198
fix nick change being done during capability negotiation.
continuous-integration/drone/push Build is failing
2020-11-29 15:12:50 +01:00
gisle
9284fe2c7c
add ctcp handlers, and improve destroyed handling.
continuous-integration/drone/push Build is failing
2020-11-08 12:12:24 +01:00
gisle
714b80d6e7
rework target ID handling to be less clunky.
continuous-integration/drone/push Build is passing
2020-11-01 17:23:37 +01:00
gisle
450fde2567
clean up id generation, add prefixes to IDs.
continuous-integration/drone/push Build is passing
2020-10-25 12:24:11 +01:00
gisle
d2c7fb9fb3
fix benchmark failure.
continuous-integration/drone/push Build is passing
2020-10-18 22:39:18 +02:00
gisle
c897421f20
add Event.TargetIDs method.
continuous-integration/drone/push Build is failing
2020-10-18 14:16:58 +02:00
gisle
5846dcdaf2
fix mroleplay enablerp/disalberp not working when RPCHAN is not provided, and fix variable typo.
continuous-integration/drone/push Build is failing
2020-10-18 13:04:56 +02:00
gisle
986e23c6c0
add Event.Copy method.
2020-10-18 12:28:09 +02:00
gisle
d36450a485
Merge branch 'master' of github.com:gissleh/irc
2020-10-18 11:28:21 +02:00
gisle
6df9233cbc
fixed client.HasQuit and made internal disconnects not setting that flag.
2020-10-18 11:28:05 +02:00
gisle
89b9b20b9e
blurgh pt. 2.
continuous-integration/drone/push Build is failing
2020-08-15 14:00:16 +02:00
gisle
ea15a8e96b
blurgh.
2020-08-15 13:59:38 +02:00
gisle
f7d53f4c63
a few small things.
continuous-integration/drone/push Build is failing
2020-07-22 20:08:22 +02:00
gisle
a26d5d5b81
add basic PLAIN-only SASL support.
continuous-integration/drone/push Build is passing
2020-07-21 21:47:29 +02:00
gisle
f02b88e04a
add invite-notify and invite auto-join support.
continuous-integration/drone/push Build is failing
2020-07-21 20:50:57 +02:00
gisle
4aa14925d2
add enable and disable rp shorthands to MRoleplay.
continuous-integration/drone/push Build is failing
2020-07-21 19:53:58 +02:00
gisle
533a41679d
add draft/language ircv3 feature
2020-07-21 19:33:56 +02:00
gisle
af5dc31ff3
add more error events, add write deadline and make more client functionality use the non-blocking emit..
continuous-integration/drone/push Build is passing
2020-07-20 21:11:44 +02:00
gisle
512ba5aa6f
change drone ci to use jsonnet.
continuous-integration/drone/push Build is passing
2020-07-20 19:33:31 +02:00
gisle
dcf193f8e3
change drone ci to use jsonnet.
continuous-integration/drone/push Build is failing
2020-07-20 19:30:49 +02:00
gisle
291b3d4979
change drone ci to use jsonnet.
continuous-integration/drone/push Build encountered an error
2020-07-20 19:29:22 +02:00
gisle
29a9315c4a
change drone ci to use jsonnet.
2020-07-20 19:28:51 +02:00
gisle
6fe3236259
change drone ci to use jsonnet.
2020-07-20 19:27:36 +02:00
gisle
209b2f4d37
change drone ci to use jsonnet.
2020-07-20 19:22:05 +02:00
gisle
c25a467546
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 19:03:13 +02:00
gisle
b2b2d2bdaf
fix drone ci
continuous-integration/drone/push Build is passing
2020-07-20 19:01:00 +02:00
gisle
58c1abd030
fix drone ci
continuous-integration/drone/push Build is passing
2020-07-20 18:57:48 +02:00
gisle
f947003d20
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:56:33 +02:00
gisle
0c8ab13ba8
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:53:29 +02:00
gisle
e9610db978
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:52:30 +02:00
gisle
20d486e253
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:49:40 +02:00
gisle
49952dede1
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:48:36 +02:00
gisle
85a4ff36a8
fix drone ci
continuous-integration/drone/push Build is failing
2020-07-20 18:47:25 +02:00
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
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