JustAnotherArchivist
ff39847cab
Add README.md and LICENSE
před 3 roky
JustAnotherArchivist
54b643c954
Fix maxSize, maxTime, and maxMemory values of zero
před 3 roky
JustAnotherArchivist
8adbceec8c
Fix searches that produce no results
před 3 roky
JustAnotherArchivist
bf7f962206
Fix asyncio.wait calls with deprecated coroutine objects
před 3 roky
JustAnotherArchivist
41f84376f0
Assignment expressions
před 3 roky
JustAnotherArchivist
fd1d400e8b
Preserve trailing whitespace in _raw_to_lines
před 3 roky
JustAnotherArchivist
65c4df27d2
Fix search errors due to stream readers exiting before grep is finished
před 3 roky
JustAnotherArchivist
4d9c64bf67
Fix crash on homepage
před 3 roky
JustAnotherArchivist
4dc2da7708
Clean up code structure inconsistencies
před 3 roky
JustAnotherArchivist
311300283b
Add channel description and info page
před 3 roky
JustAnotherArchivist
7b9d6f80fc
Add config structure for resource limits (commit cea8141b
)
před 3 roky
JustAnotherArchivist
dcd72fa97f
Log search query
před 3 roky
JustAnotherArchivist
26aea9d827
Validate stdout paths
This should prevent breaking out of the search to grep /etc/shadow or similar shenanigans.
před 3 roky
JustAnotherArchivist
cea8141bed
Add log search resource limits
před 3 roky
JustAnotherArchivist
c3573ad5d4
Wrap some overlong lines
před 3 roky
JustAnotherArchivist
53d276064a
Configurable flush period
před 3 roky
JustAnotherArchivist
be19797733
Fix active=false channels being joined anyway
před 3 roky
JustAnotherArchivist
9687828387
Add hidden and extrasearchchannels
This allows including the EFnet logs in the search of the new hackint channels while still keeping the log files separate.
před 3 roky
JustAnotherArchivist
17eac90a47
Bypass send queue for PONG and QUIT, and disable processing it at all after the latter
před 3 roky
JustAnotherArchivist
8221935adc
Replace asyncio.sleep in asyncio.wait with timeout
před 3 roky
JustAnotherArchivist
4d2d137935
Fix indefinite hang on SIGINT if the QUIT fails by forcefully killing the connection after 10 seconds
před 3 roky
JustAnotherArchivist
396b122c6a
Drop underscore prefix on CONNCLOSED
před 3 roky
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.
před 3 roky
JustAnotherArchivist
60aa9bb0f3
Add more debug logging on Storage file handling
před 3 roky
JustAnotherArchivist
5672c23396
Add rate limiting
před 3 roky
JustAnotherArchivist
efbb360e48
More debug logging on IRCClient
před 3 roky
JustAnotherArchivist
80db8e73da
Fix missing f-strings on search
před 3 roky
JustAnotherArchivist
5e331f10ab
Valid HTML
před 3 roky
JustAnotherArchivist
68c577bc92
Fix crash if the data is split between CR and LF
před 3 roky
JustAnotherArchivist
de9aa3a6db
Fix config reading crash
před 3 roky
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.)
před 3 roky
JustAnotherArchivist
20908f8632
Escape all the things
před 3 roky
JustAnotherArchivist
bc73fdb33f
Add log line colours
před 3 roky
JustAnotherArchivist
6c8e668e96
Add link to search on homepage
před 3 roky
JustAnotherArchivist
73941d6357
Proper log rendering
před 3 roky
JustAnotherArchivist
ef07cd4af3
Very basic web interface
před 3 roky
JustAnotherArchivist
e1a97039e7
Add path for each channel (acts as both the directory in storage and for the URLs)
před 3 roky
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).
před 3 roky
JustAnotherArchivist
ecc07a602e
Refactor file handling on storage, implement monthly rotation and flushing every minute
před 3 roky
JustAnotherArchivist
6c589d67ff
WHOX support to fetch account info on joining channels
před 3 roky
JustAnotherArchivist
e5f51c758d
Instead of logging NAMREPLY, make use of ircstates's tracking and generate the initial user list from that
před 3 roky
JustAnotherArchivist
1c41d80125
Use symbolic names for numeric replies where available
před 3 roky
JustAnotherArchivist
b604607d0f
Add userhost-in-names, away-notify, account-notify, and extended-join capability support
před 3 roky
JustAnotherArchivist
7c1d40d3ff
Handle getting kicked
před 3 roky
JustAnotherArchivist
1e681ccc4e
Add message formatting and refactor storage again
před 3 roky
JustAnotherArchivist
0619ff40db
Catch SSL/TLS errors
před 3 roky
JustAnotherArchivist
8d55780e76
Proper quitting on SIGINT
před 3 roky
JustAnotherArchivist
be7d790d32
Refactor on top of ircstates/irctokens
před 3 roky
JustAnotherArchivist
3834d9d124
There was an attempt...
před 3 roky
JustAnotherArchivist
112285d334
Initial commit
před 3 roky