Shivaram Lingamneni
cbe0f79f73
unify "startup", "rehash", and "shutdown" log categories as "server"
пре 5 година
Shivaram Lingamneni
6bdc6af186
refactor [dk]lines, implement #144
пре 5 година
Daniel Oaks
63fde2d62a
Re-enable MaxLine
пре 5 година
Shivaram Lingamneni
9a2117f75d
preregNick doesn't need synchronization
(since it's only accessed from the client's own goroutine)
пре 5 година
Shivaram Lingamneni
960d51159c
add ClientDetails struct for getting a snapshot of client state
пре 5 година
Shivaram Lingamneni
c2b2559ab4
avoid some uses of Sprintf for loglines
пре 5 година
Shivaram Lingamneni
6402a69fb9
use the rehash log category consistently
пре 5 година
Shivaram Lingamneni
d6d3a10817
implement #322
Automatically create the datastore on `oragono run` if it doesn't exist.
See also #302 .
пре 5 година
Shivaram Lingamneni
ba2aacaf5b
fix #297
add validation for isupport tokens
пре 5 година
Shivaram Lingamneni
f35a1c7212
use GenerateSecretToken for msgids
пре 5 година
Shivaram Lingamneni
2c7c8fbaf9
history replay enhancements
пре 5 година
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
пре 5 година
Shivaram Lingamneni
c3d197f4ff
make unix domain socket permissions configurable
пре 5 година
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 година
Shivaram Lingamneni
578ca2fdf6
add support for service command aliases
пре 6 година
Shivaram Lingamneni
3c12fb6254
fix #283 (remove unnecessary log.Fatal)
The server should never crash during rehash, even if the config is invalid.
пре 6 година
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
пре 6 година
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
пре 6 година
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
пре 6 година
Shivaram Lingamneni
31f386f5a9
add CHANSERV UNREGISTER
пре 6 година
Daniel Oaks
45b8d9e6fa
Update snomask to work with HOPM
пре 6 година
Shivaram Lingamneni
ebfef1e848
add Semaphore and ServerSemaphores
пре 6 година
Shivaram Lingamneni
cc9941cb07
review fixes, bug fixes
пре 6 година
Shivaram Lingamneni
fad2475c3f
modes refactor, #255
пре 6 година
moocow
744ad2ce0b
Stats for LUSERS logic now seperated, fixed params in LUSERS
пре 6 година
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
пре 6 година
Daniel Oaks
40d6cd02da
Fix whois channel handling
пре 6 година
Shivaram Lingamneni
69fd3ac324
implement database auto-upgrades (#243)
пре 6 година
Daniel Oaks
9e8920394f
Only display modestring on connect if it's set
пре 6 година
Daniel Oaks
ab6cd599b2
Fix name of ISUPPORT token (REGCOMMANDS -> ACCCOMMANDS)
пре 6 година
Daniel Oaks
5cbd4d1de2
Force help entries for every ChanServ command as well
пре 6 година
Daniel Oaks
7b8c4e7e91
Refactor nickserv.go to better support NS HELP and translations
пре 6 година
Shivaram Lingamneni
1bf5e2a7c8
implement fakelag (#189)
пре 6 година
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 година
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 година
Shivaram Lingamneni
d1f5c59eef
fix #190
пре 6 година
Shivaram Lingamneni
211ed6af99
add an option to expose a pprof http endpoint
пре 6 година
Shivaram Lingamneni
54123ef9a2
clear failed nick assignments to avoid confusion
пре 6 година
Shivaram Lingamneni
be86684e96
implement #199
пре 6 година
Shivaram Lingamneni
02161184cf
clean up stopEvent (requires go v1.10)
пре 6 година
Shivaram Lingamneni
5b636371a9
fix SASL enable-disable logic
пре 6 година
Shivaram Lingamneni
ced3a17cd3
fix #192
пре 6 година
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 година
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
пре 6 година
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
пре 6 година
Daniel Oaks
2419f69879
Move all errors into errors.go
пре 6 година
Daniel Oaks
2ecec25d28
Misc refactoring
пре 6 година
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 година
Daniel Oaks
afd6ca610c
Split language into a subpackage
пре 6 година
Daniel Oaks
1b14230758
...fix info string, how did that get messed up?
пре 6 година