JustAnotherArchivist
8221935adc
Replace asyncio.sleep in asyncio.wait with timeout
há 3 anos
JustAnotherArchivist
4d2d137935
Fix indefinite hang on SIGINT if the QUIT fails by forcefully killing the connection after 10 seconds
há 3 anos
JustAnotherArchivist
396b122c6a
Drop underscore prefix on CONNCLOSED
há 3 anos
JustAnotherArchivist
656ead6c26
Delay closing files on channels removed from the config
This introduces an up to 10 second delay if a SIGINT is received just after changing the config. I can't be bothered to integrate this with Storage.run and overly complicate things.
há 3 anos
JustAnotherArchivist
60aa9bb0f3
Add more debug logging on Storage file handling
há 3 anos
JustAnotherArchivist
5672c23396
Add rate limiting
há 3 anos
JustAnotherArchivist
efbb360e48
More debug logging on IRCClient
há 3 anos
JustAnotherArchivist
80db8e73da
Fix missing f-strings on search
há 3 anos
JustAnotherArchivist
5e331f10ab
Valid HTML
há 3 anos
JustAnotherArchivist
68c577bc92
Fix crash if the data is split between CR and LF
há 3 anos
JustAnotherArchivist
de9aa3a6db
Fix config reading crash
há 3 anos
JustAnotherArchivist
7acc56d2bc
Add WWW-Authenticate header and ban characters in path that can't be included in its value
Per RFC 7235, the realm value can be a quoted-string. That's defined in RFC 7230 and can contain HTAB or SP and up except for the double quote, backslash, or DEL. (Double quote and backslash could be escaped by backslash, but I won't bother with implementing that until it's needed.)
há 3 anos
JustAnotherArchivist
20908f8632
Escape all the things
há 3 anos
JustAnotherArchivist
bc73fdb33f
Add log line colours
há 3 anos
JustAnotherArchivist
6c8e668e96
Add link to search on homepage
há 3 anos
JustAnotherArchivist
73941d6357
Proper log rendering
há 3 anos
JustAnotherArchivist
ef07cd4af3
Very basic web interface
há 3 anos
JustAnotherArchivist
e1a97039e7
Add path for each channel (acts as both the directory in storage and for the URLs)
há 3 anos
JustAnotherArchivist
7fc40c3d22
Remove obsolete TODO
IRCClientProtocol.channels gets updated on the KICK, so it will naturally appear in channelsToJoin (as long as it's still in the config).
há 3 anos
JustAnotherArchivist
ecc07a602e
Refactor file handling on storage, implement monthly rotation and flushing every minute
há 3 anos
JustAnotherArchivist
6c589d67ff
WHOX support to fetch account info on joining channels
há 3 anos
JustAnotherArchivist
e5f51c758d
Instead of logging NAMREPLY, make use of ircstates's tracking and generate the initial user list from that
há 3 anos
JustAnotherArchivist
1c41d80125
Use symbolic names for numeric replies where available
há 3 anos
JustAnotherArchivist
b604607d0f
Add userhost-in-names, away-notify, account-notify, and extended-join capability support
há 3 anos
JustAnotherArchivist
7c1d40d3ff
Handle getting kicked
há 3 anos
JustAnotherArchivist
1e681ccc4e
Add message formatting and refactor storage again
há 3 anos
JustAnotherArchivist
0619ff40db
Catch SSL/TLS errors
há 3 anos
JustAnotherArchivist
8d55780e76
Proper quitting on SIGINT
há 3 anos
JustAnotherArchivist
be7d790d32
Refactor on top of ircstates/irctokens
há 3 anos
JustAnotherArchivist
3834d9d124
There was an attempt...
há 3 anos
JustAnotherArchivist
112285d334
Initial commit
há 3 anos