Shivaram Lingamneni
df8be72c6f
move StringSet to utils package
пре 3 година
Shivaram Lingamneni
00e2c2816b
use strings.Builder instead of bytes.Buffer where applicable
пре 4 година
Alex Jaspersen
2cb91bab04
Fix issue with one-character args in ArgsToStrings.
пре 4 година
Shivaram Lingamneni
2f20034bb7
fix TAGMSG playback
1. TAGMSG were incorrectly being considered multilines, because
Is512() was checking the wrong thing
2. Playback of TAGMSG should depend on event-playback, not on message-tags
пре 4 година
Shivaram Lingamneni
8efbc4bc32
maintain lenBytes as a running count
пре 4 година
Shivaram Lingamneni
2779fe7c10
fix #1005
пре 4 година
Shivaram Lingamneni
d092f6b330
explanatory comment for CompileMasks
пре 4 година
Shivaram Lingamneni
be0dedf260
fix #1003
пре 4 година
Shivaram Lingamneni
0f7d58b1c5
fix #996
пре 4 година
Shivaram Lingamneni
c92192ef48
review fixes; add submatch support to glob
пре 4 година
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
пре 4 година
Shivaram Lingamneni
2428acab95
enhancements to roleplay
пре 4 година
Shivaram Lingamneni
85a536977c
factor out confirmation codes into utils, change their format
пре 4 година
Shivaram Lingamneni
fab0630180
time.Unix still requires normalization to UTC
пре 4 година
Shivaram Lingamneni
e59aa43225
fix StringToBool (thanks @wrmsr)
пре 4 година
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
пре 4 година
Shivaram Lingamneni
6e2b2a44b8
set the time of a multiline message at BATCH -
пре 4 година
Shivaram Lingamneni
5d662742b9
remove oragono.io/maxline-2 and fmsgid
пре 4 година
Shivaram Lingamneni
f920d3b79f
fix #530, #721
пре 4 година
Shivaram Lingamneni
358c4b7d81
implement draft/multiline
пре 4 година
Shivaram Lingamneni
e143aaa83f
fix #696
пре 4 година
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.
пре 4 година
Shivaram Lingamneni
3480f124cd
fix #688
пре 4 година
Shivaram Lingamneni
aa8579b6e8
Assorted fixes
* Fix #679 (borked reply to `JOIN #chan,\r\n`)
* Replace invalid error parameters with *'s in various places
* Fix PART with no message sending an empty trailing parameter to the channel
* Fix some error responses not getting labeled
пре 4 година
Shivaram Lingamneni
a75d26a46b
refactor cap line splitting
пре 4 година
Shivaram Lingamneni
45476079a1
make semaphores O(1) in storage
пре 4 година
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 година
Shivaram Lingamneni
dbf03d5c5e
add AcquireWithTimeout for semaphores
пре 5 година
Shivaram Lingamneni
d5ebebaa5b
add uncommitted test file
пре 5 година
Shivaram Lingamneni
38b228af6a
review fixes
пре 5 година
Shivaram Lingamneni
7d53dd5d81
formalize token munging code
пре 5 година
Shivaram Lingamneni
11076be0ee
review fixes
пре 5 година
Shivaram Lingamneni
c28e6d13f9
implement ip cloaking
пре 5 година
Shivaram Lingamneni
b11bf503e7
improvements to message replay code
пре 5 година
Shivaram Lingamneni
97e71dfef7
extract Semaphore to utils package
пре 5 година
Shivaram Lingamneni
63029e2ff5
refactor channel registration
пре 5 година
Shivaram Lingamneni
85493ef031
upgrade message-tags to non-draft version
пре 5 година
Shivaram Lingamneni
f790a910cd
change the b32 alphabet for absolutely no reason
пре 5 година
Shivaram Lingamneni
afe94d43c3
update resume support to draft/resume-0.3
пре 5 година
Shivaram Lingamneni
1c23af8767
add sasl-only config option
пре 5 година
Shivaram Lingamneni
f48af3ee44
correctly support disabling caps with CAP REQ, fixes #337
пре 5 година
Shivaram Lingamneni
6bdc6af186
refactor [dk]lines, implement #144
пре 5 година
Shivaram Lingamneni
598d9a025b
review fix: add maxParams for service commands
пре 5 година
Shivaram Lingamneni
b80df0885f
refactor services code
пре 5 година
Shivaram Lingamneni
2c7c8fbaf9
history replay enhancements
пре 5 година
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
пре 5 година
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
пре 6 година
Shivaram Lingamneni
318da22448
simplify CAS logic a bit
пре 6 година
Shivaram Lingamneni
1e513a717c
expand bitset tests
пре 6 година
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
пре 6 година