summaryrefslogtreecommitdiff
path: root/TODO
AgeCommit message (Collapse)Author
2019-06-17Implement a per-client identifier so auto replay can replay everything a ↵Luke Bratch
given client has missed.
2019-06-16Correctly return success when handling new replay modes.Luke Bratch
2019-06-16Implement two new auto replay modes:Luke Bratch
- replaymode = "noclients": All messages since the bouncer last had no clients connected - replaymode = "lastchange": All messages since the last client connect or disconnect
2019-06-16Handle very long lines and very short lines. Print to terminal if we fail ↵Luke Bratch
to connect to server at startup. Don't print to terminal if sending to a client or to the server fails.
2019-06-16Load all settings from configuration file at startup instead of reading it ↵Luke Bratch
for certain settings (password/nick/nick2/nick3).
2019-06-16Handle client PROTOCTL NAMESX by just passing on to the server.Luke Bratch
2019-06-16Log OpenSSL errors properly instead of printing to stderr.Luke Bratch
2019-06-12Allow reloading the configuration file at runtime using a BLABOUNCER command ↵Luke Bratch
or by issuing the SIGHUP signal.
2019-06-12Don't print a message to the terminal when a channel already exists (it is a ↵Luke Bratch
normal occurence when reconnecting, but might be bad in some other situation).
2019-06-12Don't pass server PONGs to clients.Luke Bratch
2019-06-12Handle failing to reconnect to the server upon timeout or disconnection by ↵Luke Bratch
looping the reconnection and keeping clients informed.
2019-06-12Handle failing to connect to the server on startup.Luke Bratch
2019-06-11Implement configurable auto replay modes. So far there is "none", "time" ↵Luke Bratch
(auto replay the last X seconds), and "lastspoke" (auto replay everything since you last spoke).
2019-06-11Send a PING to the server before assuming a timeout is definite.Luke Bratch
2019-06-01Use errno to handle getconfint() failing.Luke Bratch
2019-06-01Put debug logs in subdirectory and have max number to keep be configurable. ↵Luke Bratch
Also fix possible crash in debugprint() if debug directory doesn't exist yet.
2019-06-01Handle SIGINT (Ctrl-C) and SIGTERM (kill command) cleanly and fix unrelated ↵Luke Bratch
server reconnect upon send() returning -1 issue.
2019-05-30Implement daemon (background) mode by default with optional foreground mode ↵Luke Bratch
that can be specified on the command line.
2019-05-30Remove most (all?) exit()s with error handling without exiting where ↵Luke Bratch
possible. Convert most remaining printing to stdout/stderr to debugprint() instead.
2019-05-30Convert debugprint() from being to file/screen/disabled to always being to ↵Luke Bratch
file with configurable verbosity.
2019-05-29Include NOTICEs in the replay log and normal logs. Particularly useful for ↵Luke Bratch
relaying NickServ IDENTIFY password warnings to clients shortly after connecting.
2019-05-29Implement an optional connect command, providing an example configuration of ↵Luke Bratch
a NickServ IDENTIFY command.
2019-05-29Implement BLABOUNCER QUIT command.Luke Bratch
2019-05-29Read debug setting from configuration file immediately before doing debug ↵Luke Bratch
file rotation to avoid writing to previous debug file.
2019-05-29Don't exit if there's a failure to read/write from/to the replay log file.Luke Bratch
2019-05-29Ensure writes to file are unformatted strings.Luke Bratch
2019-05-28Fix BLABOUNCER REPLAY time values of "0" (e.g. 1:00:00 for one hour).Luke Bratch
2019-05-27Include 671 (RPL_WHOISSECURE) responses in WHOIS pending code.Luke Bratch
2019-05-27Rewrite all server connection code to enable reconnecting to the server if ↵Luke Bratch
there was a timeout, an error, or if the server disconnected us.
2019-05-27Make sure MAXTOKENS being exceeded can't cause a buffer overflow.Luke Bratch
2019-05-27Allow the BLABOUNCER REPLAY command time to be specified with ↵Luke Bratch
days:hours:minutes:seconds.
2019-05-27Automatically try new nicks if there's no more configured nicks to try (e.g. ↵Luke Bratch
if foo is in use, try foo1, foo2, ..., foo9).
2019-05-27Handle CTCP VERSION requests and responses.Luke Bratch
2019-05-27Support connecting to passworded servers.Luke Bratch
2019-05-27Explain how to auto-join keyworded/passworded channels in the configuration ↵Luke Bratch
file.
2019-05-27Change default certfile and keyfile to be <basedir>/ instead of ↵Luke Bratch
$HOME/.blabouncer/.
2019-05-27Only do CAP multi-prefix negotiation with clients if the server approved it ↵Luke Bratch
in the first place.
2019-05-27Set ircdstrings.mode to null string when initialising and only send our MODE ↵Luke Bratch
to new clients if irdstrings.mode was set.
2019-05-21Only try new nicks if the server tells us 432/ERR_ERRONEUSNICKNAME or ↵Luke Bratch
433/ERR_NICKNAMEINUSE if we weren't already registered with it. Avoids crash if the server changes our nick and our next automatic attempt was in use or invalid.
2019-05-21Support multiple nick prefixes in channels by storing/relaying server ↵Luke Bratch
005/RPL_ISUPPORT messages and implementing the start of IRCv3 CAP negotiations (multi-prefix only at the moment).
2019-05-21Correctly clear pending WHOIS flag only when receiving 315 RPL_ENDOFWHO.Luke Bratch
2019-05-20Remove duplicated WHOIS reply handling section.Luke Bratch
2019-05-20Fix memory leak when updating nick when server sends NICK.Luke Bratch
2019-05-19fclose() configuration file if option not found.Luke Bratch
2019-05-19Don't log replay TOPIC/JOIN/PART if we're not in that channel, and don't ↵Luke Bratch
ever replay them if they were from ourself.
2019-05-19Use case-insensitive string comparisons when reading client commands as we ↵Luke Bratch
can't trust them to be uppercase.
2019-05-19Add README and TODO files.Luke Bratch