Shivaram Lingamneni
f77d430d25
use maps.Clone from go1.21
před 10 měsíci
Shivaram Lingamneni
28d9a7ff63
use slices.Contains from go1.21
před 10 měsíci
Shivaram Lingamneni
b3abd0bf1d
use slices.Reverse from go1.21
před 10 měsíci
Shivaram Lingamneni
75bd63d0bc
add channel autojoin feature
See discussion on #2077
před 11 měsíci
Shivaram Lingamneni
ad3ad97047
upgrade to irc-go v0.4.0
před 1 rokem
Shivaram Lingamneni
0f39fde647
remove insecure reattach check
See #2013 ; given that plaintext is deprecated now, it seems like there is no
added value from continuing to police this.
před 1 rokem
Shivaram Lingamneni
f100c1d0fa
fix incorrect chathistory batch types
This was introduced in 38a6d17ee5
před 1 rokem
Shivaram Lingamneni
60af8ee491
clean up force-trailing logic
před 1 rokem
Shivaram Lingamneni
38a6d17ee5
clean up nested batch logic
před 1 rokem
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
před 1 rokem
Val Lorentz
48f8c341d7
Implement draft/message-redaction (#2065)
* Makefile: Add dependencies between targets
* Implement draft/message-redaction for channels
Permission to use REDACT mirrors permission for 'HistServ DELETE'
* Error when the given targetmsg does not exist
* gofmt
* Add CanDelete enum type
* gofmt
* Add support for PMs
* Fix documentation of allow-individual-delete.
* Remove 'TODO: add configurable fallback'
slingamn says it's probably not desirable, and I'm on the fence.
Out of laziness, let's omit it for now, as it's not a regression
compared to '/msg HistServ DELETE'.
* Revert "Makefile: Add dependencies between targets"
This reverts commit 2182b1da69 .
---------
Co-authored-by: Val Lorentz <progval+git+ergo@progval.net >
před 1 rokem
Shivaram Lingamneni
00cfe98461
fix #2066
CHATHISTORY TARGETS response should not be in a batch unless the client has
explicitly requested the batch cap.
před 1 rokem
Shivaram Lingamneni
e84793d7ee
fix #2063
In #2058 we introduced two bugs:
* A nil dereference when an outside user attempts to speak
* Ordinary copy of a modes.ModeSet (which should only be accessed via atomics)
This fixes both issues.
před 1 rokem
Shivaram Lingamneni
eeec481b8d
tweaks to NAMES implementation (#2058)
* tweaks to NAMES implementation
* tweak member caching
* add a benchmark for NAMES
před 1 rokem
Shivaram Lingamneni
db0910d82d
fix linter error
See #2052
před 1 rokem
Shivaram Lingamneni
eb83df420b
tweak KILL message
Remove `<no reason supplied>`, make default KILL anonymous
před 1 rokem
Shivaram Lingamneni
7c53b9430a
support implicit TLS for mail submission agents
Fixes #2048
před 1 rokem
Shivaram Lingamneni
1da11ae8ae
implement draft/pre-away (#2044)
* implement draft/pre-away
* clean up some subtleties in auto-away aggregation.
* consistently apply auto-away only to always-on
* `AWAY *` should not produce user-visible changes wherever possible
před 1 rokem
Shivaram Lingamneni
fc89d72045
publish MSGREFTYPES 005 token
https://github.com/ircv3/ircv3-specifications/pull/510
před 1 rokem
Pratyush Desai
0653f90b4f
update response when killing alwayson targets
před 1 rokem
Shivaram Lingamneni
abc71684f3
always validate UTF8 from websockets
před 1 rokem
Shivaram Lingamneni
9439e9b9e1
allow resizing the ws read buffer
před 1 rokem
Shivaram Lingamneni
5eaf7b37e5
reduce websocket read allocations
See #2037
před 1 rokem
Shivaram Lingamneni
16e214e4fb
fix #2031
Sanitize the in-band error message from REHASH
před 1 rokem
Shivaram Lingamneni
46d32520c7
recommended default: advertise SCRAM
Fixes #1782
před 1 rokem
Shivaram Lingamneni
f72a6fa011
round wait times to the nearest millisecond
před 1 rokem
Shivaram Lingamneni
3ceff6a8b1
make ReloadableListener lock-free
Also stop attaching the *tls.Config to the wrapped connection,
since this forces it to be retained beyond its natural lifetime.
před 1 rokem
Shivaram Lingamneni
7ce0636276
refactor of channel persistence to use UUIDs
před 1 rokem
Shivaram Lingamneni
bceae9b739
add standard-replies capability
před 1 rokem
Shivaram Lingamneni
f6f7315458
bump version for new development cycle
před 1 rokem
Shivaram Lingamneni
df8eef5b0a
bump version for stable release
před 1 rokem
William Rehwinkel
63c08ce537
Fix SAREGISTER short help in SAVERIFY command
před 1 rokem
Shivaram Lingamneni
d0c01301fd
update version number for v2.11.0-rc1
před 1 rokem
Shivaram Lingamneni
a052b82c78
don't reference SIGUSR1 on windows (#2018)
před 1 rokem
Shivaram Lingamneni
d17faf6bcb
fix #1975
Provide a nondestructive stack trace dump option even when the http pprof
listener is disabled
před 1 rokem
Shivaram Lingamneni
77de026961
persistence broadcast needs a cap check
před 1 rokem
Shivaram Lingamneni
898f84c613
update persistence spec link
před 1 rokem
Shivaram Lingamneni
ae1de2554e
add persistence broadcasting
před 1 rokem
Shivaram Lingamneni
893922afe0
don't report PERSISTENCE STATUS in reg burst for anonymous clients
před 1 rokem
Shivaram Lingamneni
99d27ff737
initial implementation of draft/persistence
před 1 rokem
Shivaram Lingamneni
fa3de3e149
fix #1983
TAGMSG should not get automatic RPL_AWAY replies
před 1 rokem
Shivaram Lingamneni
825cdab67d
fix #1850
Add WHO responses for services
před 1 rokem
Shivaram Lingamneni
35b5613349
re-add draft/CHATHISTORY 005
Kiwi expects it due to https://github.com/kiwiirc/kiwiirc/pull/1244 , but
the corresponding spec change only altered the cap name, not the 005 name.
před 1 rokem
Shivaram Lingamneni
e40f550af8
fix CHATHISTORY 005 token name
Unclear where we got draft/CHATHISTORY from, it looks like the merged drafts
have always used unprefixed CHATHISTORY as the token name.
před 1 rokem
Shivaram Lingamneni
e20c983b57
fix #2002 (#2003)
* fix #2002
`CS AMODE #channel +f nickname` is invalid, but was being accepted
incorrectly.
* simplify logic
před 1 rokem
Valentin Lorentz
dd8073208c
Use ratified extended-monitor cap name
https://github.com/ircv3/ircv3-specifications/pull/508
před 1 rokem
Shivaram Lingamneni
4e0d2d65e8
fix #1996
According to the de facto standard, `AWAY :\r\n` is equivalent to `AWAY\r\n`.
Our behavior was inconsistent before, now it consistently matches the de facto
standard.
před 1 rokem
Shivaram Lingamneni
746309e386
replace some utils.Semaphore with (*sync.Mutex).TryLock
See #1994
před 1 rokem
Shivaram Lingamneni
7ad31497c2
exempt a configurable number of MARKREAD commands from fakelag
před 1 rokem
Shivaram Lingamneni
68bd2d87e0
fix #1991
WHO <nickname> should not respect +i
před 1 rokem