Edmund Huber
62302ec92e
fail WebSockets with subprotocols here, because gorilla leaves it up for us to deal with subprotocols
9 роки тому
Edmund Huber
23d7c81684
comment for CheckOrigin
9 роки тому
Niels Freier
6a69a65860
WebSocket layer to be able to connect "web" client
Currently working with a mini irc js implem, the flow:
* PASS
* NICK
* USER
* JOIN
* PRIVMSG
works and the ping/pong timeout keep the communication open.
9 роки тому
Edmund Huber
846543c180
try including the prefix in the PONG to a client PING, maybe fix #5
9 роки тому
Jeremy Latt
84eed13f1d
v1.4.4
10 роки тому
Jeremy Latt
4ce4ba31c5
keep track of whether sockets are closed
10 роки тому
Jeremy Latt
6c10add399
improve performance by using less goroutines
- get rid of command channel in Client
- get rid of loginTimer; use other timers instead
- move debugging code to debug.go
10 роки тому
Jeremy Latt
cab21782b4
fix crash in whowas circular buffer
10 роки тому
Jeremy Latt
142bf3d3bb
don't async buffer flushing
10 роки тому
Edmund Huber
b4edcea6e3
pretty up the notice a bit, and use RplNotice
10 роки тому
Edmund Huber
e1c235a9ea
fix up MODE behavior to allow /mode <not-your-nick> and show per-channel modes, fixes #29
10 роки тому
Jeremy Latt
37e15d7f62
v1.4.1
10 роки тому
Jeremy Latt
b0bb0faadc
remove unnecessary String()s; rename parse functions
10 роки тому
Jeremy Latt
21a86c3216
fix gcstats debugging command
10 роки тому
Jeremy Latt
f32df20a83
get rid of useless assignment
10 роки тому
Jeremy Latt
63a46498ce
reuse replies where possible
10 роки тому
Jeremy Latt
3b12dec207
cleanup
10 роки тому
Jeremy Latt
2dc69c7e3d
use a Scanner instead of ReadString
10 роки тому
Jeremy Latt
5f268e4847
async all write buffer flushes
10 роки тому
Jeremy Latt
d696f2313e
stop leaking client goroutines; closes #34
10 роки тому
Jeremy Latt
c2e3bbe494
fix whois; closes #32
10 роки тому
Edmund Huber
2272aae213
spelling and gofmt
10 роки тому
Edmund Huber
34b01b115e
add a type for CTCP-encoded strings, and NOTICEs for error cases
10 роки тому
Edmund Huber
6267b6a40c
clean up /theater so that it doesn't need a bunch of pointers and that it reuses channel-scoped-user-modes machinery
10 роки тому
Jeremy Latt
bffad06a26
v1.4
10 роки тому
Edmund Huber
d5bdc78d55
adding theater-mode, fixes #15
10 роки тому
Jeremy Latt
8c44bb9ff3
ONICK command to allow operators to change users' nicks
10 роки тому
Jeremy Latt
abf00e22ec
LIKE quoting should convert to string for SQL
10 роки тому
Jeremy Latt
874f3628c9
fix another Name => string conversion
10 роки тому
Jeremy Latt
7a9f1d750b
explain why CheckPassword happens in client thread
10 роки тому
Jeremy Latt
7db4347419
bind to listening sockets before asyncing
10 роки тому
Jeremy Latt
d85e6681d9
move modes code to its own file; fix SQL (un)marshalling
10 роки тому
Jeremy Latt
2006aff9f7
break up types.go
- remove old interfaces, move to relevant files
- remove Phase in favor of a boolean flag
10 роки тому
Jeremy Latt
0126edc7af
move capability handling code to a single file
10 роки тому
Jeremy Latt
e15f47c766
move to channel-based logging
10 роки тому
Jeremy Latt
77d053ccac
get rid of editableCommand
10 роки тому
Jeremy Latt
d1a299792e
don't buffer channels (except signal channel)
10 роки тому
Jeremy Latt
4268c4a936
don't set CapNegotiating for blind CAP REQ
10 роки тому
Jeremy Latt
96a108f8da
mark unicode normalization with type
10 роки тому
Jeremy Latt
97886dd00f
relax regex restrictions for nicknames
10 роки тому
Jeremy Latt
f1b610e1c1
v1.3
10 роки тому
Jeremy Latt
81df7b4a5c
comments and improvements for client set
10 роки тому
Jeremy Latt
33df043961
fix CAP messages
10 роки тому
Jeremy Latt
cf76d2bd77
persist and load channel mask lists
10 роки тому
Jeremy Latt
04c30c8c9b
channel invite mode/list
10 роки тому
Jeremy Latt
d4093e7f8b
mask lists (ban, except, invite)
10 роки тому
Jeremy Latt
f56db354ee
fix client auth for no password
All clients are authorized if the server lacks a password.
10 роки тому
Jeremy Latt
12ae89ca14
minor cleanup/refactoring
10 роки тому
Jeremy Latt
adde42a1bf
update ClientLookupSet when username changes
10 роки тому
Jeremy Latt
76852b0370
implement WHOWAS with a shared ringbuffer
10 роки тому