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
b0bb0faadc
remove unnecessary String()s; rename parse functions
преди 10 години
Edmund Huber
34b01b115e
add a type for CTCP-encoded strings, and NOTICEs for error cases
преди 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
2006aff9f7
break up types.go
- remove old interfaces, move to relevant files
- remove Phase in favor of a boolean flag
преди 10 години
Jeremy Latt
77d053ccac
get rid of editableCommand
преди 10 години
Jeremy Latt
96a108f8da
mark unicode normalization with type
преди 10 години
Jeremy Latt
b2055595e1
WHOWAS command
преди 10 години
Jeremy Latt
69cdad45ac
partially-working sqlite-based usermasks
преди 10 години
Jeremy Latt
0874692aa8
send proper replies for cap protocol
преди 10 години
Jeremy Latt
9aa7debbfe
move password handling into a single file
преди 10 години
Jeremy Latt
36602c9a3c
basic capability negotiation
- multi-prefix is supported as an example
преди 10 години
Jeremy Latt
542744d52a
fix line parsing function
преди 10 години
Jeremy Latt
04f0b2c48d
trim trailing space from commands
преди 10 години
Jeremy Latt
6f00f89efa
relax unicode parsing rules
NFKC was previously used for all text. Now, we use NFKC for all args but
the last, which may be free text. This arg is normalized with NFC to
allow for formatting characters.
преди 10 години
Jeremy Latt
39911a812d
handle mode command with trailing empty arguments
преди 10 години
Jeremy Latt
a30bb540e9
rewrite parseLine to be much saner about utf8
преди 10 години
Jeremy Latt
1fe73aaa9e
kill command
преди 10 години
Jeremy Latt
4d2d18caf1
time command
преди 10 години
Jeremy Latt
f0305cf01a
invite command
преди 10 години
Jeremy Latt
d6ec1e719b
add a version command for sumeet
преди 10 години
Jeremy Latt
cc6f764c85
minor cleanup
преди 10 години
Jeremy Latt
72726a39b8
many changes
- load config sub files relative to config file dir
- load config file by name
- expect bcrypt for passwords
- -genpasswd for generating config-file-safe passwords
- block client thread while checking passwords (PASS and OPER)
преди 10 години
Jeremy Latt
41e6baf9d4
get rid of a race; use pointers where possible
преди 10 години
Jeremy Latt
0bf968e19e
move command parsing and hostname lookups into the socket routine
преди 10 години
Jeremy Latt
3b56b5bf42
expose various go internals as a DEBUG command
преди 10 години
Jeremy Latt
f482b6b82f
add all channel mask list replies
преди 10 години
Jeremy Latt
f9bf422ba7
be more lax about whitespace when parsing commands from clients
преди 10 години
Jeremy Latt
b6d8f62674
adjust ping message
преди 10 години
Jeremy Latt
9960089226
format replies to strings instead of using a Reply struct
преди 10 години
Jeremy Latt
58517ad4e8
fix closed channel on socket close
преди 10 години
Jeremy Latt
baf83e73d2
support USER from both RFCs 1459 and 2812
преди 10 години
Jeremy Latt
b17e62d0b0
names command
преди 10 години
Jeremy Latt
2ecc66b9d9
add more modes to arg-having modes
преди 10 години
Jeremy Latt
f0fc3b492c
list command
преди 10 години
Jeremy Latt
a9d7f64693
kick command
преди 10 години
Jeremy Latt
a894e3f37f
parse lines more robustly
преди 10 години
Jeremy Latt
4e56ea1bdc
get rid of unnecessary concurrency for channels and clients
преди 10 години
Jeremy Latt
488b2ccf8f
implement channel modes and messages properly
преди 10 години
Jeremy Latt
4d9742d033
organize server command into phases
преди 10 години
Jeremy Latt
52dd2521c2
remove prefix from local replies; fix topic message
преди 10 години
Jeremy Latt
6daf81ea91
notice command
преди 10 години
Jeremy Latt
09887b2db3
motd command
преди 10 години
Jeremy Latt
a203a3ca16
ison command
преди 10 години
Jeremy Latt
08d9d5ab79
away modes
преди 10 години
Jeremy Latt
4379cb8e1c
add PROXY protocol support
преди 10 години
Jeremy Latt
fb65203805
stub cap command
преди 10 години
Jeremy Latt
8a90634c0a
irc operators
преди 10 години
Jeremy Latt
1787ac8ebf
use Reply() to wrap channel
преди 10 години