summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
2021-03-30Add support for matching multiple hosts in <connect:{allow,deny}>.Sadie Powell
2021-03-05Fix weird typemask logic in the connect class reader.Sadie Powell
2021-03-05Update copyright headers.InspIRCd Robot
2021-03-02Fix using std::cout instead of errstr when a port fails to bind.Sadie Powell
2021-02-26Update copyright headers.InspIRCd Robot
2021-01-18Add a new runtime directory and move the pid file to it.Sadie Powell
The data directory is intended for persistent files whereas the pid file is ephemeral. This distinction doesn't matter by default but on system-wide installs ephemeral runtime files go in /var/run or /run instead.
2020-12-20Hide the server name/desc better when <options:hideserver> is set.Sadie Powell
2020-12-16Use !empty instead of size when checking if containers are empty.Sadie Powell
2020-09-30Check that the values specified in <limits> are reasonable.Sadie Powell
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-09Set the minimum length to 1 for most config items with a default.Sadie Powell
2020-03-11Warn if the server config contains an unhashed password.Sadie Powell
This will be made a hard failure in v4.
2020-01-11Update copyright headers.InspIRCd Robot
2019-12-16Use FindUUID in place of FindNick in places that only get a UUID.Peter Powell
2019-12-12Extract port binding code to a function and improve output.Peter Powell
2019-11-18Allow options:casemapping to remain defined when using m_nationalchars.Matt Schatz
2019-11-16Improve reading xlines from the server configuration.Peter Powell
2019-02-22Improve the handling of config X-lines and filters. (#1583)Matt Schatz
2019-02-16Use the local hostname as the server name if one is not specified.Peter Powell
2019-01-24Move the <disabled> tag out of the core to a new module.Peter Powell
2018-12-10Fix overly escaping MOTDs if they are in more than one connect class.Peter Powell
2018-12-04Add an option for changing the allowed server clock drift.Peter Powell
2018-10-27Remove deprecated config checker and make <die> actually useful.Peter Powell
- Remove the deprecated config tag checker. This checker is neither exhaustive nor is it particularly accurate. Instead the new docs site will contain a page detailing the breaking changes between releases. - Remove the insulting <die> tags in inspircd.conf.example and add some descriptive ones in files that it is critical for the user to edit correctly. - Show the message from the <die> tag so the user actually knows what they did wrong.
2018-10-01Move <security:userstats> into core_stats.Peter Powell
2018-10-01Move <security:hidesplits> to the spanningtree module.Peter Powell
2018-10-01Move <security:genericoper> into core_whois.Peter Powell
2018-10-01Move <security:hideulinekills> into core_oper.Peter Powell
2018-10-01Move <security:hidekills> into core_oper.Peter Powell
2018-09-23Don't sync xlines defined in the config and expire them on rehash.Peter Powell
Closes #1427.
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
2018-07-10Switch <server:name> validation to use InspIRCd::IsHost.Peter Powell
2018-07-10Add a silent option to <options:restrictbannedusers>.Peter Powell
This is useful when dealing with spambots that switch method when they receive ERR_CANNOTSENDTOCHAN.
2018-04-22Always process MOTD formatting escape codes.Peter Powell
The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more.
2018-04-17Tell the rehasher if an exception is thrown by a module on rehash.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-16Remove the default value in ConfigTag::get{Duration,Float,Int}.Peter Powell
2018-03-31Move <security:announceinvites> to core_channel.Peter Powell
2018-03-25Separate secret and private channels on whois for non-opers (#1447)Dylan Frank
Separate secret and private channels on WHOIS for all users. - Move the config parsing from the core to core_whois. - Replace <security:operspywhois> with an oper privilege. - Introduce <options:splitwhois> to split WHOIS channel lists. Closes #969.
2017-12-22Rename <security:hidewhois> to <security:hideserver>.Peter Powell
The previous name was horrible and didn't describe what the setting actually does.
2017-12-10Extract RFC modes from the core to core_channel and core_user.Peter Powell
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-09Allow spaces in the network name now it doesn't cause problems.Peter Powell
This will not cause any compatibility issues as we do not rely on this attribute internally.
2017-11-06Fix an unhandled exception crash when rehashing modules.Peter Powell
Previously we used FOREACH_MOD to call OnRehash which handled any thrown exceptions. When we switched to ReadConfig this stopped being the case. This bug was introduced in c202dea024.
2017-10-18Add a constructor to OperInfo and use it to set the type name.Peter Powell
2017-10-18Ignore <module> tags for modules that are already loaded.Peter Powell
This allows us to do user friendly things like loading the alias module in the example alias files.
2017-10-17Clean up the command disabling logic.Peter Powell
- Read the disabled command list in ApplyDisabledCommands() instead of storing it in a global which is only accessed on rehash. - Write debug messages to the log when disabling commands. - Use irc::spacesepstream instead of std::stringstream.
2017-10-15Clean up the initialization of ConnectClass and ServerConfig.attilamolnar
2017-10-05Fix the casemap name not being copied to the new ServerConfig.Peter Powell
2017-09-18Convert Disabled[CU]Modes to use a bitset instead of a char array.Peter Powell