Shivaram Lingamneni
6a3d2733d6
fix bugs affecting SAMODE on other users
1. Your own snomasks would be reported as belonging to the other user
2. Prefixes were incorrect
преди 5 години
Shivaram Lingamneni
5a554ab4b0
fix #526
преди 5 години
Shivaram Lingamneni
22c298d337
fix #567
преди 5 години
Shivaram Lingamneni
eee0747e5e
new format for listener section
преди 5 години
Daniel Oaks
9ce3bed4a2
Setup v1.2.0-unreleased devel ver
преди 5 години
Shivaram Lingamneni
57821c865a
bump version to 1.1.0
преди 5 години
Shivaram Lingamneni
24c46235a3
remove m -> rn skeleton mapping again
преди 5 години
Shivaram Lingamneni
b075ea6eb9
use regular Skeleton instead of SkeletonTweaked
dan: "I probably wouldn't expect those mappings to cause much
trouble at all for legitimate users at the end of the day"
shivaram: [concurs]
преди 5 години
Shivaram Lingamneni
5d0b8390e9
refactor listener config loading
преди 5 години
Shivaram Lingamneni
6e9a31a574
use confusables.SkeletonTweaked to fix the test
преди 5 години
Shivaram Lingamneni
f17777995b
add a new test
преди 5 години
Shivaram Lingamneni
be4d098945
fix an edge case in skeletonization
'm' skeletonizes to 'rn' (but is exempted by the isBoring check),
but the fullwidth 'm' does not skeletonize to anything. The root cause
of this is the (still unexplained) patchiness of the skeleton mapping
for fullwidth -> standard-width Latin characters; the fix is to perform
width mapping first, before either skeletonization or isBoring.
преди 5 години
Shivaram Lingamneni
8dca545264
consolidate some time-setting code
преди 5 години
Shivaram Lingamneni
34f11ddb97
implement draft/labeled-response-0.2
преди 5 години
Shivaram Lingamneni
60d5586099
bump to 1.1.0-rc1
преди 5 години
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 години