Commit Graph

79 Commits

Author SHA1 Message Date
0b5ba7050c
Minor stealth change and backport https://github.com/lrstanley/girc/pull/56 2022-06-25 17:08:40 -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
887ab30b90
prevent potential hangup after ping timeout (fixes: #50)
Signed-off-by: Liam Stanley <me@liamstanley.io>
2022-03-21 17:25:26 -04:00
Liam Stanley
8487a7de15
lint fixes
Signed-off-by: Liam Stanley <me@liamstanley.io>
2022-03-21 16:27:51 -04:00
e4014626b5
More anti-race-conditions 2022-03-19 21:05:36 -07:00
eee810320c
Settle for caps using traditional locks and maps 2022-03-19 15:36:46 -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
87a2ab50c1 Reform: bring back tests + fix server opts 2021-11-19 09:26:51 -08:00
ce2eeb8072 Refactor: slightly less hellfire 2021-11-09 14:07:47 -08: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
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
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
Liam Stanley
c1e59a02f4 add WebIRC support; closes #33 and #34 2019-01-02 10:33:29 -05: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
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
5c0e57078c add Event.Echo field 2018-01-27 21:48:44 -05:00
Liam Stanley
667539cee3 clarify client -> server ping timeout error 2017-12-15 07:53:54 -05:00
Liam Stanley
7756aef6ff move cap requests before name registration; fixes #6 2017-10-20 19:17:52 -04: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
2b52b21176 remove flushTx() as it's no longer needed 2017-07-19 00:23:26 -04:00
Liam Stanley
39976d6bd7 re-arrange func args 2017-07-18 20:19:16 -04:00
Liam Stanley
1d3eb19d3a add misc client connect/disconnect tests 2017-07-18 20:12:53 -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
76843d6b84 send initialize after initial commands 2017-07-18 18:07:42 -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
9602c14886 better execution of handlers after client disconnect; improve docs 2017-07-03 07:34:34 -04:00
Liam Stanley
4ea5d7efcb implement lastActive and FINGER replies 2017-07-01 19:53:47 -04:00
Liam Stanley
c4f8e06752 decrease required time for pingLoop to terminate, allow disabling 2017-06-25 23:38:50 -04:00
Liam Stanley
01031ac254 strip tags from written messages if it wasn't in the list of capabilities ack'd 2017-06-25 07:21:40 -04:00
Liam Stanley
7061d8e8e1 don't return ErrProxy when not used 2017-06-24 06:55:20 -04:00
Liam Stanley
75341d3cef Commands -> Cmd 2017-06-15 04:46:10 -04:00
Liam Stanley
e3f53ab9ec start working on additional sasl implementation support 2017-06-14 07:19:31 -04:00
Liam Stanley
6c8215c842 Format -> Fmt, StripFormat -> TrimFmt 2017-06-07 06:35:02 -04:00
Liam Stanley
cc32c679cb add GlobalFormat config option 2017-06-07 04:39:52 -04:00
Liam Stanley
327e795e49 move mutex 2017-05-07 13:23:55 -04:00