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 години