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
Shivaram Lingamneni
3480f124cd
fix #688
vor 4 Jahren
Shivaram Lingamneni
7432ef07a7
rename some variables for clarity
vor 4 Jahren
Shivaram Lingamneni
50783d5276
fix #561, take 2
vor 4 Jahren
Shivaram Lingamneni
4050b6571a
fix #646
Includes a partially backwards-incompatible config change
vor 4 Jahren
Shivaram Lingamneni
c1acf3ea43
move ISUPPORT regeneration to the end of config loading
vor 4 Jahren
Shivaram Lingamneni
ca17e58b3a
fix #595
vor 4 Jahren
Shivaram Lingamneni
7ed27d4a42
Fix #448, #594
vor 4 Jahren
Shivaram Lingamneni
ce651b4a90
remove obsolete consistency check
tor-listeners.listeners was checked against listen,
but listen is obsolete now, so config load would fail
on a config that used the new style `listeners` instead of
`listen` --- unless tor-listeners.listeners was empty, which
it should be under the new style, but there's no need to enforce
that
vor 5 Jahren
Shivaram Lingamneni
6e9a728354
autoresizing of history buffers (#349)
vor 5 Jahren
Shivaram Lingamneni
eee0747e5e
new format for listener section
vor 5 Jahren
Shivaram Lingamneni
5d0b8390e9
refactor listener config loading
vor 5 Jahren
Shivaram Lingamneni
3b71be3bf0
fix #537
vor 5 Jahren
Shivaram Lingamneni
4b88a60ba6
clean up some old getters
vor 5 Jahren
Shivaram Lingamneni
4e13f72ca9
put an upper limit on registration messages
Fixes #505
vor 5 Jahren
Shivaram Lingamneni
8fc588375b
implement user preferences system
vor 5 Jahren
Shivaram Lingamneni
18cf816396
add a manual entry for cloaks
vor 5 Jahren
Shivaram Lingamneni
11076be0ee
review fixes
vor 5 Jahren
Shivaram Lingamneni
2451737f87
give cloaks their own package
vor 5 Jahren
Shivaram Lingamneni
c28e6d13f9
implement ip cloaking
vor 5 Jahren
Shivaram Lingamneni
c193def606
fix some issues found with staticcheck.io
vor 5 Jahren
Shivaram Lingamneni
ce6a3e42df
load isupport directly into the config object
eliminates Server.configurableStateMutex
vor 5 Jahren
Shivaram Lingamneni
61d666a25b
load motd directly into the config object
vor 5 Jahren
Shivaram Lingamneni
fbc6c84a01
add client compatibility switches
vor 5 Jahren
Shivaram Lingamneni
c2faeed4b5
initial implementation of bouncer functionality
vor 5 Jahren
Daniel Oaks
0b644065b7
Review and spec updates
vor 5 Jahren
Shivaram Lingamneni
85493ef031
upgrade message-tags to non-draft version
vor 5 Jahren
Shivaram Lingamneni
b0f89062fa
add support for tor (#369)
vor 5 Jahren
Shivaram Lingamneni
c6b9fe0218
fix #384
vor 5 Jahren
Shivaram Lingamneni
370255bec1
review fixes
vor 5 Jahren
Shivaram Lingamneni
eff2571096
limit the number of channels a client can join
vor 5 Jahren
Shivaram Lingamneni
ff7bbc4a9c
track channel registrations per account
* limit the total number of registrations per account
* when an account is unregistered, unregister all its channels
vor 5 Jahren