summaryrefslogtreecommitdiff
path: root/config.c
AgeCommit message (Collapse)Author
2024-07-17Ensure file and socket descriptors are valid in config.c and sockets.c.Luke Bratch
2023-03-21Don't try to close log file if the pointer was NULL.Luke Bratch
2022-01-03Increase maximum auto join channels from 10 to 40, correctly check for ↵Luke Bratch
maximum configuration array length, correct configuration array debug output text.
2021-01-18Make the "channels" configuration file entry an array.Luke Bratch
2019-09-14Specify multiple nicks using a configuration array instead of multiple ↵Luke Bratch
individual settings.
2019-09-14Implement arrays in the configuration file and start using them to allow for ↵Luke Bratch
multiple connect commands.
2019-09-07Add a configuration option to include the date in the timestamp when ↵Luke Bratch
replaying the replay log.
2019-07-18Fix compiler warnings emitted by Clang/LLVM and some older GCC versions.Luke Bratch
2019-06-17Implement a per-client identifier so auto replay can replay everything a ↵Luke Bratch
given client has missed.
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-16Load all settings from configuration file at startup instead of reading it ↵Luke Bratch
for certain settings (password/nick/nick2/nick3).
2019-06-12Allow reloading the configuration file at runtime using a BLABOUNCER command ↵Luke Bratch
or by issuing the SIGHUP signal.
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-10Add copyright and GPL 3 notices.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-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-29Implement an optional connect command, providing an example configuration of ↵Luke Bratch
a NickServ IDENTIFY command.
2019-05-29Ensure writes to file are unformatted strings.Luke Bratch
2019-05-28Implement debugging to file and set the default configuration file to be that.Luke Bratch
2019-05-27Make debug output optional and disabled by default.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-19fclose() configuration file if option not found.Luke Bratch
2019-05-19Reduce default "upon connecting" replay time from 2 hours to 10 minutes.Luke Bratch
2019-05-19Change defaults (including default and example configuration files) to look ↵Luke Bratch
for cert.pem and key.pem in ~/.blabouncer/.
2019-05-19Add missing auto channels configuration option to auto generated ↵Luke Bratch
configuration file.
2019-05-18Avoid memory leak when creating default configuration file.Luke Bratch
2019-05-18Handle nick in use or invalid nick, add multiple nicks to configuration file ↵Luke Bratch
to automatically try.
2019-05-16Make logging and replay logging optional.Luke Bratch
2019-05-16Move default configuration file location to $HOME/.blabouncer/ and create a ↵Luke Bratch
default file automatically if it doesn't exist.
2019-05-15Make it more obvious that tabs in conditionals are tabs.Luke Bratch
2019-05-12Fix crash in getconfstr() when not finding certain strings in configuration ↵Luke Bratch
file.
2019-05-12Completely rewrite configuration file reading to remove lots of duplicated ↵Luke Bratch
code and to simplify things. Alter everything that called the old functions.
2019-05-12Make client port configurable and move settings structure to be initialised ↵Luke Bratch
in main() instead of dochat().
2019-05-12Add a settings structure for passing around everywhere to store ↵Luke Bratch
config/settings. Also fix the insanely inconsistent spelling/naming of replay log related things.
2019-05-11Implement authentication in the form of the bouncer having a configurable ↵Luke Bratch
server password
2019-05-11Add the ability to replay messages from a replay log file. (No replay log ↵Luke Bratch
file writing yet.)
2019-05-11Implement a configuration file reader, an example configuration file, and ↵Luke Bratch
start reading nick/username/realname from it instead of being statically defined.