Shivaram Lingamneni
cbe0f79f73
unify "startup", "rehash", and "shutdown" log categories as "server"
5 gadus atpakaļ
Shivaram Lingamneni
6bdc6af186
refactor [dk]lines, implement #144
5 gadus atpakaļ
Daniel Oaks
63fde2d62a
Re-enable MaxLine
5 gadus atpakaļ
Shivaram Lingamneni
9a2117f75d
preregNick doesn't need synchronization
(since it's only accessed from the client's own goroutine)
5 gadus atpakaļ
Shivaram Lingamneni
960d51159c
add ClientDetails struct for getting a snapshot of client state
5 gadus atpakaļ
Shivaram Lingamneni
c2b2559ab4
avoid some uses of Sprintf for loglines
5 gadus atpakaļ
Shivaram Lingamneni
6402a69fb9
use the rehash log category consistently
5 gadus atpakaļ
Shivaram Lingamneni
d6d3a10817
implement #322
Automatically create the datastore on `oragono run` if it doesn't exist.
See also #302 .
5 gadus atpakaļ
Shivaram Lingamneni
ba2aacaf5b
fix #297
add validation for isupport tokens
5 gadus atpakaļ
Shivaram Lingamneni
f35a1c7212
use GenerateSecretToken for msgids
5 gadus atpakaļ
Shivaram Lingamneni
2c7c8fbaf9
history replay enhancements
5 gadus atpakaļ
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
5 gadus atpakaļ
Shivaram Lingamneni
c3d197f4ff
make unix domain socket permissions configurable
5 gadus atpakaļ
Shivaram Lingamneni
1fb9bd7208
Fix a bug in 330 RPL_WHOISACCOUNT
According to https://defs.ircdocs.horse/defs/numerics.html , 330 RPL_WHOISACCOUNT
takes 4 parameters: `<client> <nick> <authname> :<info>`. We were omitting
the second parameter (the target nick).
Also refactor locking.
5 gadus atpakaļ
Shivaram Lingamneni
578ca2fdf6
add support for service command aliases
6 gadus atpakaļ
Shivaram Lingamneni
3c12fb6254
fix #283 (remove unnecessary log.Fatal)
The server should never crash during rehash, even if the config is invalid.
6 gadus atpakaļ
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
6 gadus atpakaļ
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
6 gadus atpakaļ
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
6 gadus atpakaļ
Shivaram Lingamneni
31f386f5a9
add CHANSERV UNREGISTER
6 gadus atpakaļ
Daniel Oaks
45b8d9e6fa
Update snomask to work with HOPM
6 gadus atpakaļ
Shivaram Lingamneni
ebfef1e848
add Semaphore and ServerSemaphores
6 gadus atpakaļ
Shivaram Lingamneni
cc9941cb07
review fixes, bug fixes
6 gadus atpakaļ
Shivaram Lingamneni
fad2475c3f
modes refactor, #255
6 gadus atpakaļ
moocow
744ad2ce0b
Stats for LUSERS logic now seperated, fixed params in LUSERS
6 gadus atpakaļ
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
6 gadus atpakaļ
Daniel Oaks
40d6cd02da
Fix whois channel handling
6 gadus atpakaļ
Shivaram Lingamneni
69fd3ac324
implement database auto-upgrades (#243)
6 gadus atpakaļ
Daniel Oaks
9e8920394f
Only display modestring on connect if it's set
6 gadus atpakaļ
Daniel Oaks
ab6cd599b2
Fix name of ISUPPORT token (REGCOMMANDS -> ACCCOMMANDS)
6 gadus atpakaļ
Daniel Oaks
5cbd4d1de2
Force help entries for every ChanServ command as well
6 gadus atpakaļ
Daniel Oaks
7b8c4e7e91
Refactor nickserv.go to better support NS HELP and translations
6 gadus atpakaļ
Shivaram Lingamneni
1bf5e2a7c8
implement fakelag (#189)
6 gadus atpakaļ
Shivaram Lingamneni
a8b952da77
store maxSendQBytes in a uint32 to avoid alignment problems
The sync.atomic documentation says:
"On both ARM and x86-32, it is the caller's responsibility to arrange
for 64-bit alignment of 64-bit words accessed atomically."
6 gadus atpakaļ
Shivaram Lingamneni
2885b37768
partial fix for #217
See discussion on issue; this might not be a complete fix but it's
definitely better than the current behavior.
6 gadus atpakaļ
Shivaram Lingamneni
d1f5c59eef
fix #190
6 gadus atpakaļ
Shivaram Lingamneni
211ed6af99
add an option to expose a pprof http endpoint
6 gadus atpakaļ
Shivaram Lingamneni
54123ef9a2
clear failed nick assignments to avoid confusion
6 gadus atpakaļ
Shivaram Lingamneni
be86684e96
implement #199
6 gadus atpakaļ
Shivaram Lingamneni
02161184cf
clean up stopEvent (requires go v1.10)
6 gadus atpakaļ
Shivaram Lingamneni
5b636371a9
fix SASL enable-disable logic
6 gadus atpakaļ
Shivaram Lingamneni
ced3a17cd3
fix #192
6 gadus atpakaļ
Shivaram Lingamneni
988cb22692
changes to nick reservation
* Clients are now renamed, not disconnected, on reservation timeout
* Nick reservation config is now its own subsection
6 gadus atpakaļ
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
6 gadus atpakaļ
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
6 gadus atpakaļ
Daniel Oaks
2419f69879
Move all errors into errors.go
6 gadus atpakaļ
Daniel Oaks
2ecec25d28
Misc refactoring
6 gadus atpakaļ
Daniel Oaks
3634d0601e
Split modes into a subpackage (this is painful, but will force us to simplify and improve the API for interacting with modes)
6 gadus atpakaļ
Daniel Oaks
afd6ca610c
Split language into a subpackage
6 gadus atpakaļ
Daniel Oaks
1b14230758
...fix info string, how did that get messed up?
6 gadus atpakaļ