Alex Jaspersen
0241e0c31d
Apply default user modes just before registration.
Previously, we were applying defaults before the user had completed
registration. This meant that the number of invisible users was
incremented when the user connected, and then the total was incremented
when registration was completed.
Now both counters are updated at the same time. If a user disconnects
prior to registration, +i has not yet been applied so it would not be
decremented.
vor 4 Jahren
Shivaram Lingamneni
a0f4e90b7e
add auto-away
vor 4 Jahren
Shivaram Lingamneni
b2483f5cf2
fix #1030
vor 4 Jahren
Shivaram Lingamneni
67150bc8f7
fix #1020
vor 4 Jahren
Shivaram Lingamneni
be0dedf260
fix #1003
vor 4 Jahren
Shivaram Lingamneni
67f35e5c8a
fix #858 and #383
vor 4 Jahren
Alex Jaspersen
d5cec62df3
Call ApplyUserModeChanges for default user modes.
This ensures that counts like the number of invisible users are updated
correctly.
vor 4 Jahren
Shivaram Lingamneni
8c74b0660b
fix #952
vor 4 Jahren
Shivaram Lingamneni
14bcd46588
fix #982
vor 4 Jahren
Shivaram Lingamneni
c92192ef48
review fixes; add submatch support to glob
vor 4 Jahren
Shivaram Lingamneni
4ef6c58317
work around a chrome bug
vor 4 Jahren
Shivaram Lingamneni
620e30293d
use consistent spelling of WebSocket
vor 4 Jahren
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
vor 4 Jahren
Hubert Hirtz
f5930444f7
WebSocket support
vor 4 Jahren
Alex Jaspersen
df9bf15f00
Add support for setting user modes by default.
vor 4 Jahren
Shivaram Lingamneni
57e2187742
fix #964
vor 4 Jahren
Shivaram Lingamneni
ee05a4324d
fix #920, #921
vor 4 Jahren
Shivaram Lingamneni
895a0e6d68
fix #913
vor 4 Jahren
Shivaram Lingamneni
2d908eac8b
fix #874
vor 4 Jahren
Shivaram Lingamneni
2428acab95
enhancements to roleplay
vor 4 Jahren
Shivaram Lingamneni
bd45c346dc
fix #685
vor 4 Jahren
Shivaram Lingamneni
9559ea6764
fix #408
vor 4 Jahren
Shivaram Lingamneni
65ebe7f64a
fix #868
vor 4 Jahren
Shivaram Lingamneni
edd161ddfd
rename config keys from review feedback
vor 4 Jahren
Shivaram Lingamneni
26fd3e69a8
fix #749
vor 4 Jahren
Shivaram Lingamneni
b45f8436a4
refactoring / bug fixing in history preferences
vor 4 Jahren
Shivaram Lingamneni
5fe4d0b133
fix #794
Remove support for `listen` config block
vor 4 Jahren
Shivaram Lingamneni
fd90893fa6
handle old bouncer name for multiclient config
vor 4 Jahren
Shivaram Lingamneni
f5ca35ed72
rename 'bouncer' to 'multiclient'
vor 4 Jahren
Shivaram Lingamneni
98a7b45d96
add mysql timeouts
vor 4 Jahren
Shivaram Lingamneni
8123e3c08f
improve nick and channel length validation
vor 4 Jahren
Shivaram Lingamneni
ef161c47ed
use custime.Duration for more config fields
vor 4 Jahren
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
vor 4 Jahren
Shivaram Lingamneni
0c2d8adeac
improve maintainability and license compliance
0. Maximum parity with upstream code
1. Added Apache-required modification notices
2. Added Apache license
vor 4 Jahren
Shivaram Lingamneni
c13597f807
additional LDAP support
vor 4 Jahren
Matt Ouille
d4afb027e5
Add LDAP support
vor 4 Jahren
Shivaram Lingamneni
5d662742b9
remove oragono.io/maxline-2 and fmsgid
vor 4 Jahren
Shivaram Lingamneni
d807f1252f
move generateISupport to config.go
vor 4 Jahren
Shivaram Lingamneni
05cb80507f
fix #741
vor 4 Jahren
Shivaram Lingamneni
f920d3b79f
fix #530, #721
vor 4 Jahren
Shivaram Lingamneni
9b5d6bf746
fix #713
vor 4 Jahren
Shivaram Lingamneni
358c4b7d81
implement draft/multiline
vor 4 Jahren
Shivaram Lingamneni
0df25e0e30
remove redundant error check
vor 4 Jahren
Shivaram Lingamneni
78da024b24
improve an error message
vor 4 Jahren
Shivaram Lingamneni
b717402b5e
implement review feedback
1. If both fingerprint and hash are specified, require both instead of either
2. Implement auto-oper on connect
vor 4 Jahren
Shivaram Lingamneni
6033d9f569
tweaks for consistency
vor 4 Jahren
Shivaram Lingamneni
e143aaa83f
fix #696
vor 4 Jahren
Shivaram Lingamneni
91d6888b7e
fix #693
vor 4 Jahren
Shivaram Lingamneni
ab444a3980
remove unnecessary uses of Casefold
vor 4 Jahren
Shivaram Lingamneni
f1e2bbc0e4
more permissive hostname validation
In particular, allow hostnames without periods (like on a LAN).
This shouldn't be a client compability concern since we allow
vhosts without periods.
vor 4 Jahren