Shivaram Lingamneni
d082ec7ab9
don't send multiline responses to CAP LS 301 (#2068)
* don't send multiline responses to CAP LS 301
This is more or less explicitly prohibited by the spec:
https://ircv3.net/specs/extensions/capability-negotiation.html#multiline-replies-to-cap-ls-and-cap-list
* switch to whitelist model to be future-proof
* bump irctest to include test
* add a unit test
1 rok temu
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
3 lat temu
Shivaram Lingamneni
ae9aecbbb0
increase max cap line length
Workaround for #661 : this makes the `CAP LS 302` line from the default config
fit on a single line, as long as the server name is at most 35 characters.
4 lat temu
Shivaram Lingamneni
a75d26a46b
refactor cap line splitting
4 lat temu
Shivaram Lingamneni
3cb9234bb5
review fixes
4 lat temu
Shivaram Lingamneni
7ed27d4a42
Fix #448, #594
4 lat temu
Shivaram Lingamneni
9fe65223db
fix #527
Use []uint32 in bitset instead of []uint64, because it's harder to guarantee
64-bit alignment of []uint64 than I had realized:
https://go101.org/article/memory-layout.html
5 lat temu
Shivaram Lingamneni
8fc588375b
implement user preferences system
5 lat temu
Shivaram Lingamneni
c2faeed4b5
initial implementation of bouncer functionality
5 lat temu
Shivaram Lingamneni
63029e2ff5
refactor channel registration
5 lat temu
Shivaram Lingamneni
f48af3ee44
correctly support disabling caps with CAP REQ, fixes #337
5 lat temu
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
6 lat temu
Daniel Oaks
b4fcb45af0
Add license stuff to the top of caps/ and sno/ files I guess
6 lat temu
Daniel Oaks
275449e6cc
caps: Move most capability-handling types into the caps package
6 lat temu