JustAnotherArchivist
577e10c80b
Fix disconnects when there is a large send queue
The message delivery confirmation didn't send the PING immediately, so the remaining send queue blocked it, which would then cause the confirmation to fail, all messages to be requeued, and the connection to be closed.
vor 1 Jahr
JustAnotherArchivist
1ca7b9856f
Work around Grafana's new alerting system not actually sending alerts (changes) but only alert statuses
vor 2 Jahren
JustAnotherArchivist
1e69a42eae
Fix usermask length calculation
Didn't account for the ! and @ symbols, so in certain cases, two bytes at the ends of lines vanished.
vor 2 Jahren
JustAnotherArchivist
a27bc20340
Add support for INVITE after getting KICKed from a channel
vor 2 Jahren
JustAnotherArchivist
7c3707aeed
Fix NameError crash on quitting
vor 2 Jahren
JustAnotherArchivist
471c308c1f
Fix maxrequestsize config check logic
vor 2 Jahren
JustAnotherArchivist
9c90ee443d
Revert "Only rebind web server on host/port changes"
This was a todo item from irclog, which has an extra value in config['web'] whose changes do not require a rebind.
This reverts commit 69e9daddec
.
vor 2 Jahren
JustAnotherArchivist
3cc32cbc41
Add configurable request size limit
vor 2 Jahren
JustAnotherArchivist
619089f071
Validate nickname against RFC 2812 rules
vor 2 Jahren
JustAnotherArchivist
e9a9b74599
Replace LF with two spaces
Grafana v8.0.0 and newer (AlertingNG) changed the message format and sends a multi-line string.
vor 2 Jahren
JustAnotherArchivist
d1fc4d3ca1
Switch licence from GPLv3+ to AGPLv3+
vor 2 Jahren
JustAnotherArchivist
454b9acc2d
Add DeprecationWarning for auth
vor 2 Jahren
JustAnotherArchivist
69e9daddec
Only rebind web server on host/port changes
vor 2 Jahren
JustAnotherArchivist
33dfff166c
Let modules suppress messages by returning None
vor 2 Jahren
JustAnotherArchivist
ecfa851eed
Fix crash on attempting to send to an unjoined channel
vor 2 Jahren
JustAnotherArchivist
86301905a6
Gracefully handle channel bans and other join errors
vor 2 Jahren
JustAnotherArchivist
b66657b3e6
Separate POST and GET auth
Backwards-incompatible change: setting either of these to `false` means that all POST or GET requests are denied. (In practice, supporting unauthenticated requests were a bad idea anyway.)
vor 2 Jahren
JustAnotherArchivist
142bd43a91
Add family config option to example
vor 2 Jahren
JustAnotherArchivist
f6bb9374a7
Add support for listening to channel activity via GET
vor 2 Jahren
JustAnotherArchivist
a21b87dd00
Refactor auth/path handling in preparation for GET stream
vor 2 Jahren
JustAnotherArchivist
bdb396caff
Merge changes from irclog
Port to ircstates/irctokens, more capabilities, IRC family config, fix various small bugs
vor 2 Jahren
JustAnotherArchivist
a775c2a0f1
Fix crash due to missing time import
vor 3 Jahren
JustAnotherArchivist
007c50fbc8
Add /status endpoint for monitoring (cf. irclog commit 5b809b1b)
vor 3 Jahren
JustAnotherArchivist
899cc26dd3
Fix crash if the data is split between CR and LF (cf. irclog commit 68c577bc)
vor 3 Jahren
JustAnotherArchivist
1548246b08
Fix memory leak due to asyncio tasks not being cancelled (cf. irclog commit 50a8b798)
vor 3 Jahren
JustAnotherArchivist
e4946a6b3c
Remove trailing colon on empty evalMatches
vor 3 Jahren
JustAnotherArchivist
ffddc27d91
Include evalMatches in Grafana alerts if present
vor 3 Jahren
JustAnotherArchivist
e8b54c6ec0
Fix missing f-string marker
vor 3 Jahren
JustAnotherArchivist
4f2d8c6cb5
Log exception type on process errors
vor 4 Jahren
JustAnotherArchivist
c2803274d1
Handle message-less Grafana alerts
vor 4 Jahren
JustAnotherArchivist
e34772fb70
Fix crash in IRCClientProtocol.send_messages due to missing overlongmode in unconfirmedMessages
vor 4 Jahren
JustAnotherArchivist
f1275fc7ca
Evaluate module paths relative to the config file or the code path
vor 4 Jahren
JustAnotherArchivist
b9b2eedcaf
Evaluate client cert paths relative to config file
vor 4 Jahren
JustAnotherArchivist
10633e12fb
Add README.md and LICENSE
vor 4 Jahren
JustAnotherArchivist
98f8821fda
Add option to truncate overlong messages instead of splitting them
vor 4 Jahren
JustAnotherArchivist
ced83b2fd4
Add Grafana module
vor 4 Jahren
JustAnotherArchivist
4d0a4c8c8e
Log request body
vor 4 Jahren
JustAnotherArchivist
6c358a207c
Clean up duplicate encoding
vor 4 Jahren
JustAnotherArchivist
609829bf55
Track usermask and account for it in the message splitting
Since the ircd will prefix each message with the origin usermask when broadcasting to the other users, it will have to split or truncate the message sent by the user. Charybdis and ratbox silently truncate it.
vor 4 Jahren
JustAnotherArchivist
46d48a480c
Tighten length limit for channel names according to RFC 1459
vor 4 Jahren
JustAnotherArchivist
843775e948
Crash loudly if an IRC message is too long despite all the checks and splits
vor 4 Jahren
JustAnotherArchivist
8f8e7cb0ed
Ensure that everything fits into IRC's line length limit or split up accordingly
vor 4 Jahren
JustAnotherArchivist
8f84c2a81c
Handle various possible error messages from the IRC server
vor 4 Jahren
JustAnotherArchivist
aa375f81c0
Validate IRC channel name
vor 4 Jahren
JustAnotherArchivist
383637ec05
Validate maps
vor 4 Jahren
JustAnotherArchivist
471290356d
Switch from CertFP to the more reliable and secure SASL EXTERNAL
vor 4 Jahren
JustAnotherArchivist
ffee32980d
Clean up logging
vor 4 Jahren
JustAnotherArchivist
d00c59e6bc
Add a way to pass additional arguments into the module
vor 4 Jahren
JustAnotherArchivist
a91e61b84c
Add support for transformation/translation modules that do arbitrary request processing to generate the message
Fixes #3
vor 4 Jahren
JustAnotherArchivist
ca525c6b84
Support web server config changes
vor 4 Jahren