JustAnotherArchivist
7e29977e40
Catch connection resets and other connection errors
3 vuotta sitten
JustAnotherArchivist
50a8b79839
Fix memory leak due to asyncio tasks not getting cancelled
asyncio.wait doesn't cancel tasks on reaching the timeout, so all those Event.wait() tasks kept accumulating.
3 vuotta sitten
JustAnotherArchivist
7dedf118d6
Force log flushing with SIGUSR2
3 vuotta sitten
JustAnotherArchivist
9a3cf0bc9b
Less verbose flushing log messages
3 vuotta sitten
JustAnotherArchivist
2a05dffc68
Handle invalid UTF-8 with surrogate escapes everywhere
Including sending it to the client since every other solution would likely be even worse.
3 vuotta sitten
JustAnotherArchivist
52a42e931a
Display any unknown log commands in grey
3 vuotta sitten
JustAnotherArchivist
e14289eb39
Remove channel name from WHOX and TOPIC (cf. 1dd47c4f
)
3 vuotta sitten
JustAnotherArchivist
b9c0bb97dc
Log reason for PARTs
3 vuotta sitten
JustAnotherArchivist
1dd47c4fcb
Remove channel name from message strings
There's no need for this redundancy, and it makes some file post-processing easier in case it's needed in the future.
3 vuotta sitten
JustAnotherArchivist
489328beb9
Fix error on parameter-less QUIT
3 vuotta sitten
JustAnotherArchivist
1810c04f7d
Prevent smuggling in a grep option
3 vuotta sitten
JustAnotherArchivist
9cb31c17cd
Make search case-insensitive by default and add a checkbox for toggling
3 vuotta sitten
JustAnotherArchivist
5b809b1b99
Add /status endpoint for monitoring
3 vuotta sitten
JustAnotherArchivist
7999fa7d29
Redirect from .../today to permanent URL
3 vuotta sitten
JustAnotherArchivist
4d345a59df
Fix splitting on various things other than LF causing exceptions in the grep output handling
3 vuotta sitten
JustAnotherArchivist
4db2a4d6bc
Fix output size truncation
3 vuotta sitten
JustAnotherArchivist
ddb019aff4
Only flush files when they were written to since the last flush
3 vuotta sitten
JustAnotherArchivist
f50aa7f0d8
More style updates and crosslinks
3 vuotta sitten
JustAnotherArchivist
620dd849ab
Improve log style
NAMES aren't included in the table at all now because they otherwise mess up the :nth-child(even) rule.
3 vuotta sitten
JustAnotherArchivist
d49086f59a
Link to channel info on the homepage like irclogger does
3 vuotta sitten
JustAnotherArchivist
e206a0b77b
Handle CTCP ACTION (aka /me)
To convert log files written with the previous version: `sed -i.bak 's, PRIVMSG <\([^>]\+\)> \x01ACTION \(.*\)\x01$, ACTION \1 \2,' FILES`
3 vuotta sitten
JustAnotherArchivist
f9aa3a9344
Separate message author into own column
3 vuotta sitten
JustAnotherArchivist
2757326c72
Link to search and prev/next day logs on log pages at the top and bottom
3 vuotta sitten
JustAnotherArchivist
d4b823da80
Display search form on results page
3 vuotta sitten
JustAnotherArchivist
359ec58637
Reverse search result order
3 vuotta sitten
JustAnotherArchivist
d1d4e55184
Add a timeout for the IRC connection establishment and fix the error message
3 vuotta sitten
JustAnotherArchivist
ef8998c369
Suppress error if a monthly log file does not exist
3 vuotta sitten
JustAnotherArchivist
0542c63e33
Fix WWW-Authenticate header typo
3 vuotta sitten
JustAnotherArchivist
0b91b2d516
Add multi-prefix capability
3 vuotta sitten
JustAnotherArchivist
54b643c954
Fix maxSize, maxTime, and maxMemory values of zero
3 vuotta sitten
JustAnotherArchivist
8adbceec8c
Fix searches that produce no results
3 vuotta sitten
JustAnotherArchivist
bf7f962206
Fix asyncio.wait calls with deprecated coroutine objects
3 vuotta sitten
JustAnotherArchivist
41f84376f0
Assignment expressions
3 vuotta sitten
JustAnotherArchivist
fd1d400e8b
Preserve trailing whitespace in _raw_to_lines
3 vuotta sitten
JustAnotherArchivist
65c4df27d2
Fix search errors due to stream readers exiting before grep is finished
3 vuotta sitten
JustAnotherArchivist
4d9c64bf67
Fix crash on homepage
3 vuotta sitten
JustAnotherArchivist
4dc2da7708
Clean up code structure inconsistencies
3 vuotta sitten
JustAnotherArchivist
311300283b
Add channel description and info page
3 vuotta sitten
JustAnotherArchivist
dcd72fa97f
Log search query
3 vuotta sitten
JustAnotherArchivist
26aea9d827
Validate stdout paths
This should prevent breaking out of the search to grep /etc/shadow or similar shenanigans.
3 vuotta sitten
JustAnotherArchivist
cea8141bed
Add log search resource limits
3 vuotta sitten
JustAnotherArchivist
c3573ad5d4
Wrap some overlong lines
3 vuotta sitten
JustAnotherArchivist
53d276064a
Configurable flush period
3 vuotta sitten
JustAnotherArchivist
be19797733
Fix active=false channels being joined anyway
3 vuotta sitten
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.
3 vuotta sitten
JustAnotherArchivist
17eac90a47
Bypass send queue for PONG and QUIT, and disable processing it at all after the latter
3 vuotta sitten
JustAnotherArchivist
8221935adc
Replace asyncio.sleep in asyncio.wait with timeout
3 vuotta sitten
JustAnotherArchivist
4d2d137935
Fix indefinite hang on SIGINT if the QUIT fails by forcefully killing the connection after 10 seconds
3 vuotta sitten
JustAnotherArchivist
396b122c6a
Drop underscore prefix on CONNCLOSED
3 vuotta sitten
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.
3 vuotta sitten