Commit Graph

153 Commits

Author SHA1 Message Date
23cea998f1
Implement cmaps and break everything 2022-03-16 05:45:59 -07:00
2d8ab65b6d Fix: duplicate tag 2021-12-21 00:22:53 -08:00
02e997f314 Add: more CTCP configuration options 2021-12-21 00:20:21 -08:00
4276b04ba7 Loosen: tests, Fix: serveropts, Add: CTCP handlers 2021-11-27 22:50:02 -08:00
5e2fd661f3 Settle with less hellfire, more safety 2021-11-26 08:13:54 -08:00
90d8c80bcd Bloat: add network name to channels and users 2021-11-26 03:18:47 -08:00
1eacc3e108 New: IRC Numeric Code decoder, More: hellfire 2021-11-25 23:25:22 -08:00
87a2ab50c1 Reform: bring back tests + fix server opts 2021-11-19 09:26:51 -08:00
79e2583dda Fix: nil pointer dereference in IsConnected 2021-11-14 21:13:43 -08:00
ce2eeb8072 Refactor: slightly less hellfire 2021-11-09 14:07:47 -08:00
ff65f6fa03 Fix: panic when spawning 10,000 bots :^) 2021-11-09 08:14:35 -08:00
b9856ab64e re-implemenet network detection 2021-10-28 12:06:57 -07:00
7f101f3656 More: hellfire 2021-10-17 17:16:59 -07:00
f17812708d Multiclient: attach network name to events 2021-10-17 11:45:46 -07:00
53bcfb4ee5 Fix: ircd info enumeration 2021-10-09 10:06:42 -07:00
d32dd5e8a0 Fix nil compiled time and lint 2021-10-09 08:50:48 -07:00
606b5a452c I'm slightly drunk and I don't know what I'm doing. 2021-10-08 00:30:04 -07:00
9065b0d6ab New: store data bout the connected IRC server 2021-10-03 15:28:29 -07:00
01ce96b07a Ever cook bacon on your CPU cooler? 2021-10-01 06:15:34 -07:00
Liam Stanley
05b8be7a4b provide direct quit reason support (closes #16) 2019-07-29 20:44:50 -04:00
Liam Stanley
8adc1b3054 better checks before ratelimiting; drop events if disconnected (closes #14) 2019-07-29 19:35:12 -04:00
Liam Stanley
33f2d454a5 bugfix: wrap ipv6 addresses in Client.Server() to prevent improper
escaping of colons

commit a2ddeff515d14fd010bd3d705ea6af3d3c791869
Merge: 634e679 6a0f21c
Author: Liam Stanley <me@liamstanley.io>
Date:   Sat Jul 27 00:51:17 2019 -0400

    fix merge conflicts

commit 6a0f21c9750705ed9aff2bd398640dc1f8b3e6b0
Author: Sören Tempel <soeren+git@soeren-tempel.net>
Date:   Sun Jul 21 21:18:23 2019 +0200

    use JoinHostPort() in client.Server()

    This fixes a bug where girc would fail to connect if the server was
    specified as an IPv6 address since appending a colon is not enough in
    that case.
2019-07-27 00:56:07 -04:00
Liam Stanley
634e679a3d initial sts functionality 2019-07-11 23:36:29 -04:00
Liam Stanley
f62ce57a2f add the ability to force debug logs with GIRC_DEBUG 2019-07-04 15:05:28 -04:00
Liam Stanley
51b8e096d3
move away from Event.Trailing
* initial work towards moving away from Event.Trailing

* Event.Trailing() -> Event.Last()

* fix incorrect go.mod/go.sum files

* fixes for pretty printed topics and CTCPs

* remove unneeded whitespace check

* clarify potential contents of Event.Params

* better splitting of hopcount from realname
2019-02-10 16:20:25 -05:00
Liam Stanley
c1e59a02f4 add WebIRC support; closes #33 and #34 2019-01-02 10:33:29 -05:00
Liam Stanley
14ace7725c fix comment 2018-12-14 20:27:26 -08:00
nmeum
514d004b74 client: Add GetID() function (#28)
Makes it a bit less verbose to check if an event originated from once
own client. While at it the existing code was modified accordingly.
2018-12-10 12:08:53 -08:00
Liam Stanley
618b32529b STOPPED -> CLOSED; re-add DISCONNECTED (fixes #26) 2018-12-09 17:01:19 -08:00
Liam Stanley
feda9ca6b3 docs: rename reference to Client.Latency() 2018-09-09 15:28:18 -04:00
Liam Stanley
507c1bc866 client method refactoring; additional tests 2018-01-27 20:02:04 -05:00
Liam Stanley
7cadb56183 add Client.HasCapability() method 2018-01-27 20:01:27 -05:00
Liam Stanley
7b7d06fe3e be less restrictive for lower-valued tcp ports 2018-01-17 07:19:13 -05:00
Liam Stanley
67171b462e Channels->ChannelList; Users->UserList; replace with methods returning user/channel objects 2017-11-30 10:59:11 -05:00
Liam Stanley
5b0cfbc4eb add TLSConnectionState support 2017-11-17 07:48:28 -05:00
Liam Stanley
ffa93393bc remove deprecated error variables 2017-11-17 06:27:26 -05:00
Liam Stanley
160554bc5a rename: Lag -> Latency 2017-11-10 07:09:19 -05:00
Liam Stanley
783298a3a4 additional return value consistency 2017-11-09 20:42:40 -05:00
Liam Stanley
9fdd4e9274 improve ERROR event handling 2017-10-19 19:51:57 -04:00
Liam Stanley
f846a552cd remove proxy support in favor of new dialer interface implementation 2017-08-19 23:07:48 -04:00
Liam Stanley
a1c6ebb737 prevent potential deadlock in server-invoked disconnect 2017-08-17 07:18:24 -04:00
Liam Stanley
d9ad35d42b refractor ErrInvalidConfig 2017-08-17 03:35:29 -04:00
Liam Stanley
816acddd16 Channels() and Users() should return the non-converted name 2017-08-10 05:14:06 -04:00
Liam Stanley
0883560c27 remove duplicate func 2017-08-09 05:05:32 -04:00
Liam Stanley
2d96e5fbec fix Client.ServerName() bug returning incorrect netwok name 2017-08-09 02:28:46 -04:00
Liam Stanley
6c93d822fb fix a handful of potential data races 2017-07-18 20:04:12 -04:00
Liam Stanley
5909f84933 minor improvements to connection mutexes 2017-07-18 19:27:45 -04:00
Liam Stanley
7ad774d275 use already defined context for cancellation 2017-07-18 18:16:54 -04:00
Liam Stanley
0029c297f1 fix default port not being set on validation 2017-07-18 04:56:51 -04:00
Liam Stanley
9e08ab340d cleanup state mutexs, add state change events 2017-07-12 00:44:44 -04:00