Shivaram Lingamneni
321c437499
fix #536
преди 5 години
Shivaram Lingamneni
4350b92bef
fix KILL etc. for BRB'ed clients
преди 5 години
Shivaram Lingamneni
3b71be3bf0
fix #537
преди 5 години
Shivaram Lingamneni
364d31e10c
implement the strict modern behavior
преди 5 години
Shivaram Lingamneni
521d5bf50f
fix #380
Partially fixed earlier in #467
преди 5 години
Shivaram Lingamneni
c0b554e98c
changes from discussion
преди 5 години
Shivaram Lingamneni
acc9d8c13d
update to proposed draft/resume-0.5 behavior
преди 5 години
Shivaram Lingamneni
71cc9a1adf
review fix
преди 5 години
Shivaram Lingamneni
ef796f1b11
review fix
преди 5 години
Shivaram Lingamneni
1a1d3ff89f
fix #410
преди 5 години
Shivaram Lingamneni
b134a63dc2
simplify "client dead" logic in AddSession
now that we have client.destroyed again, we don't need to test the
"0 sessions && brb disabled" condition in both AddSession() and
destroy()
преди 5 години
Shivaram Lingamneni
dee9740e68
add some testing
преди 5 години
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
5ac7ea5b1c
fix data race on exitedSnomaskSent
преди 5 години
Shivaram Lingamneni
1a7169d75d
fix double-destroy bug
преди 5 години
Shivaram Lingamneni
74732c4aeb
new proposed format for RESUMED messages
преди 5 години
Shivaram Lingamneni
57684fc1e5
fix #518
преди 5 години
Shivaram Lingamneni
ada710b807
fix #521
преди 5 години
Shivaram Lingamneni
8794740f89
be more pedantic about distinguishing skeletons and casefolds
преди 5 години
Chris Smith
a6164cd9c4
Check restricted nicknames against skeletons
Fixes #519
преди 5 години
Shivaram Lingamneni
34925ce4a7
fix #516
преди 5 години
Shivaram Lingamneni
99de53264e
fix a bug in SetQuitMessage
Quit messages aren't supposed to clobber each other under any
circumstances, but actually only the default "Connection closed"
message was non-clobbering, all others would clobber.
преди 5 години
Shivaram Lingamneni
174115deb6
fix #455
преди 5 години
Shivaram Lingamneni
0835ad6af5
fix #514
Also ensure that people can remove their own persistent modes via CS AMODE
преди 5 години
Shivaram Lingamneni
dcb3487566
fix #511
преди 5 години
Shivaram Lingamneni
4b88a60ba6
clean up some old getters
преди 5 години
Shivaram Lingamneni
05459012ef
move fakelag processing back to read loop as well
преди 5 години
Shivaram Lingamneni
4e13f72ca9
put an upper limit on registration messages
Fixes #505
преди 5 години
Shivaram Lingamneni
0af0a0b445
fix a race condition
Setting `closed` on the socket (which can mean either "the socket is broken"
or "we should close the socket at the next opportunity") was racing against
the final write. Even if socket.closed is true, we should attempt to send
buffered message data to the socket, before we send the `finalData` and
actually call `Close`.
преди 5 години
Shivaram Lingamneni
1de166bccb
eliminate client.Realname() getter
преди 5 години
Shivaram Lingamneni
cf153c2b09
restore RESUME SUCCESS message
преди 5 години
Shivaram Lingamneni
1121e3d320
fix #404
преди 5 години
Shivaram Lingamneni
3d445573cf
implement draft/resume-0.4
преди 5 години
Shivaram Lingamneni
a59212f8dc
send nickserv timeout warnings from a full pseudo-nickmask
преди 5 години
Shivaram Lingamneni
f996e6bb87
review fix
преди 5 години
Shivaram Lingamneni
b96fdb2293
support znc.in/playback
преди 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
f10ed05f86
fix a lock access in ResumeManager
преди 5 години
Shivaram Lingamneni
8fc588375b
implement user preferences system
преди 5 години
Shivaram Lingamneni
25974b6881
fix #487
преди 5 години
Daniel Oaks
b8c9de5379
Make strings easier to understand
преди 5 години
Shivaram Lingamneni
58d089020e
send command processing errors to the originating session only
преди 5 години
Daniel Oaks
9fbfee62d5
Update translations
преди 5 години
Shivaram Lingamneni
7d53dd5d81
formalize token munging code
преди 5 години
Shivaram Lingamneni
0346c23ae0
fix #387
преди 5 години
Shivaram Lingamneni
ea70580adc
fix #488
преди 5 години
Shivaram Lingamneni
8f0977f59e
human-readable times for NS SESSIONS
преди 5 години
Shivaram Lingamneni
316d45917d
pass the correct quit message when a proxied client is banned
If you were banned and the ban was only detected when you proxied
(because you were proxying from a DLINE'd IP), you'd get an incorrect
quit message: `QUIT: Bad or unauthorized PROXY command`. This propagates
the correct ban message as the quit line.
преди 5 години