Daniel Oaks
748bc759cb
Cleanups reported by goreportcard
пре 8 година
Daniel Oaks
04442ddef1
Stuff is no longer completely broken. Just mostly.
пре 8 година
Daniel Oaks
b8dc10f92d
nickname: Fix
пре 8 година
Daniel Oaks
9e7a590f23
server: Fix
пре 8 година
Daniel Oaks
2a519c8061
use server.name and server.nameString, name for checking and getting nice comparison, nameString for reply outputs
пре 8 година
Daniel Oaks
c2e5386966
commands: Fix comment
пре 8 година
Daniel Oaks
08225c201d
continue work reorganising and redoing EVERYTHING
пре 8 година
Daniel Oaks
e83283e7fd
urgh this should not even be commited yet, this will all be squashed out
пре 8 година
Daniel Oaks
2f08401a0f
Attempt to add mostly-correct license info at the top of each file... track this stuff a bit better
пре 8 година
Daniel Oaks
fb345a2dd4
user: Don't parse the second and third params anymore
пре 8 година
Daniel Oaks
9acdeedec6
commands: Simplify and unify minimum required number of args handling
пре 8 година
Daniel Oaks
4177522e74
modes: Correct mode argument handling, only first param is the modestring
пре 8 година
Daniel Oaks
9b32d7d6b8
mode: Parse more advanced mode changes
пре 8 година
Daniel Oaks
3972fc49ed
privileges: Add founder/admin/halfop (qah), remove owner (O)
channel owner is from 2812 and unused in the real world
пре 8 година
Edmund Huber
02dca1dd89
fix array overrun panic bug, #13
пре 9 година
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 година