Jeremy Latt
83d021fcb7
switch to gcfg for conf file
- add some validation for config file
- add comments explaining config
- remove TLS listener since most clients can't use it anyway
- remove unused nick generation function
10 years ago
Jeremy Latt
36602c9a3c
basic capability negotiation
- multi-prefix is supported as an example
10 years ago
Jeremy Latt
542744d52a
fix line parsing function
10 years ago
Jeremy Latt
8c8d371ae2
don't give operator to the first person to enter an empty persistent channel
10 years ago
Jeremy Latt
f17855fce9
check channel emptiness when anyone leaves
10 years ago
Jeremy Latt
60ccddc3b7
readme
10 years ago
Jeremy Latt
51f790d7c5
readme
10 years ago
Jeremy Latt
e33a65ec72
fix channel persistence
10 years ago
Jeremy Latt
04f0b2c48d
trim trailing space from commands
10 years ago
Jeremy Latt
9aeb813cf5
restrict nicknames to proper character set
10 years ago
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 years ago
Jeremy Latt
4df8ec12f6
allow nick changing
10 years ago
Jeremy Latt
39911a812d
handle mode command with trailing empty arguments
10 years ago
Jeremy Latt
66f9b42125
avoid duplicate mode changes
10 years ago
Jeremy Latt
0d277025c1
fix channel insert statement
10 years ago
Jeremy Latt
9dc229b98f
skip nick change if there is no difference
10 years ago
Jeremy Latt
e9c5e4794e
version 1.2.0
10 years ago
Jeremy Latt
bf5175f5e8
Merge pull request #2 from jlatt/unicode-normalization
normalize all unicode input from the client
10 years ago
Jeremy Latt
45bb0d05e7
normalize all unicode input from the client
10 years ago
Jeremy Latt
a2c05ed50d
readme
10 years ago
Jeremy Latt
2f149cad1d
Merge pull request #1 from jlatt/persistent-channels
persist channels to a sqlite db
10 years ago
Jeremy Latt
0405c845bd
remove old sql
10 years ago
Jeremy Latt
c35d5d1b8a
code review
- SEM_VER instead of SEMVER
- persist user limit along with other params
10 years ago
Jeremy Latt
b30e247e77
properly persist channels
10 years ago
Jeremy Latt
a30bb540e9
rewrite parseLine to be much saner about utf8
10 years ago
Jeremy Latt
e409bcec99
simplify new channel insert
10 years ago
Jeremy Latt
02abeeb164
persistent channels persisted to a sqlite db
10 years ago
Jeremy Latt
de5538f5d5
add persistent flag for channels
10 years ago
Jeremy Latt
5930445313
MIT license
10 years ago
Jeremy Latt
0531c40481
simplify semantic version constant
10 years ago
Jeremy Latt
58f7d6dabf
add comments explaining config file
10 years ago
Jeremy Latt
6882edeff7
version 1.1.0
10 years ago
Jeremy Latt
1fe73aaa9e
kill command
10 years ago
Jeremy Latt
4d2d18caf1
time command
10 years ago
Jeremy Latt
f0305cf01a
invite command
10 years ago
Jeremy Latt
d6ec1e719b
add a version command for sumeet
10 years ago
Jeremy Latt
994200bf46
use mincost to speed up bcrypt
10 years ago
Jeremy Latt
f0773c4e9e
increase buffer for a server channel
10 years ago
Jeremy Latt
cc6f764c85
minor cleanup
10 years ago
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 years ago
Jeremy Latt
be089e7f5f
do bcrypt in the client main routine
10 years ago
Jeremy Latt
2229645a39
refactor server command loop
10 years ago
Jeremy Latt
41e6baf9d4
get rid of a race; use pointers where possible
10 years ago
Jeremy Latt
0856a9fa81
flag socket as closed when writes fail
10 years ago
Jeremy Latt
0bf968e19e
move command parsing and hostname lookups into the socket routine
10 years ago
Jeremy Latt
ff5656fdb4
aggressively clean up client
10 years ago
Jeremy Latt
3b56b5bf42
expose various go internals as a DEBUG command
10 years ago
Jeremy Latt
f482b6b82f
add all channel mask list replies
10 years ago
Jeremy Latt
c5c7469cf0
good ol' fashioned refactoring
10 years ago
Jeremy Latt
c7298c55b9
flesh out channel modes
- deprecate 's' mode
- add user limit
- don't leak key in mode messages to non-members
- begin refactoring Mode()
10 years ago