Commit Graph

57 Commits

Author SHA1 Message Date
568e9652da
Fix race condition 2023-03-17 23:57:45 -07:00
633a5dea16
Overhaul, breaking change in GetPerms 2023-03-17 23:33:19 -07:00
ee1c72a7f5
Chores: lint, nolint, fmt, etc 2022-10-23 02:01:03 -07:00
18243520dc
Upstream: merge in some changes 2022-05-02 21:15:53 -07:00
00308d0ce6
Fix bugs from merge 2022-03-21 17:08:41 -07:00
4be5266426
Merge from yung stanley's master branch
Signed-off-by: kayos@tcp.direct <kayos@tcp.direct>
2022-03-21 17:06:14 -07:00
Liam Stanley
8487a7de15
lint fixes
Signed-off-by: Liam Stanley <me@liamstanley.io>
2022-03-21 16:27:51 -04:00
1051473e2b
Fix: race condition, relieve even more pressure 2022-03-20 16:17:50 -07:00
5619a7527f
Fix: version.go 2022-03-20 14:30:05 -07:00
e835e5898d
Reduce raciness 2022-03-19 20:59:13 -07:00
ac38ef0258
Fix: SASL not firing off 2022-03-19 13:25:56 -07:00
9c72236c15
Fix: pass all tests 2022-03-16 09:04:58 -07:00
b8186e2144
Fixed: functional with concurrent maps 2022-03-16 08:11:05 -07:00
23cea998f1
Implement cmaps and break everything 2022-03-16 05:45:59 -07: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
36151a10b5 Fix: concurrent map read/write 2021-11-26 07:49:56 -08:00
923b7b1bb1 Refine: better user dataset & reduce redundancy 2021-11-26 03:08:28 -08:00
5ea3252b9b New: handle RPL_CREATIONTIME 2021-11-26 00:53:20 -08:00
87a2ab50c1 Reform: bring back tests + fix server opts 2021-11-19 09:26:51 -08:00
58c1d27f2c Enhance: passive tracking 2021-11-15 19:43:56 -08:00
baf2e0dedf Enhance: keep user info after we part channels 2021-11-14 21:55:47 -08:00
b9856ab64e re-implemenet network detection 2021-10-28 12:06:57 -07:00
Liam Stanley
147f0ff775 add support for disabling nick collide corrections; closes #48 2021-10-23 19:37:35 -04:00
7f101f3656 More: hellfire 2021-10-17 17:16:59 -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
9724515d2b Fix: event parsing bug 2021-10-09 06:37:51 -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
634e679a3d initial sts functionality 2019-07-11 23:36:29 -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
nmeum
a39e11bebb remove use of unneeded rfc1459 conversion (#31)
The lookupUser function already converts the argument to an RFC 1459
compliant nick and there is no need to convert it twice.
2018-12-24 08:32:43 -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
d173036cbc convert ID field to ID method 2018-12-09 16:23:41 -08:00
Liam Stanley
3167511d81 initial fixes for #23 2018-11-13 22:02:34 -08:00
Liam Stanley
e46d210b5d fix Client.conn data race during pong; closes #11 2018-04-06 21:29:34 -04:00
Liam Stanley
e8273d405d improve handler execution to prioritize background handlers first 2017-11-30 14:37:00 -05:00
Liam Stanley
c2601da083 use rune literals for ease of reading 2017-11-30 10:23:52 -05:00
Liam Stanley
eb5ec700b4 remove potential inconsistencies with relying on Client.GetNick() 2017-08-10 07:03:58 -04:00
Liam Stanley
b7e0086816 fix bug with user perms not being applied independantly 2017-08-08 05:33:15 -04:00
Liam Stanley
9e08ab340d cleanup state mutexs, add state change events 2017-07-12 00:44:44 -04:00
Liam Stanley
1f66c9ffec rewrite state to support separate dataset for users 2017-07-04 01:29:22 -04:00
Liam Stanley
4ea647f354 better realname handling when hopcounts are provided. 2017-06-30 19:20:30 -04:00
Liam Stanley
75341d3cef Commands -> Cmd 2017-06-15 04:46:10 -04:00
Liam Stanley
039539a6a3 implement basic support for sasl plain 2017-04-23 14:03:12 -04:00
Liam Stanley
9cb3f3c522 implement Source.Copy(), and rewrite Event.Copy() 2017-04-18 06:20:33 -04:00
Liam Stanley
2c7ecf8d9f fix bug because unrealircd 2017-03-15 23:08:53 -04:00
Liam Stanley
fa20cdac87 remove separation between CAP and regular tracking 2017-02-21 00:20:57 -05:00
Liam Stanley
54acd5fb7e implement GetIdent() and GetHost() on Client, clean up panic handling 2017-02-20 23:02:45 -05:00