summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
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
2017-09-18Add ModeParser::IsModeChar to standardise mode validation.Peter Powell
2017-09-12Change FailedPortList to store a sockaddrs/int instead of string.Peter Powell
2017-09-08Implement support for configurable casemapping & default to ASCII.Peter Powell
2017-09-03Convert a bunch of time-related config options to getDuration.Peter Powell
2017-09-03Move <dns:timeout> out of the core.Peter Powell
2017-09-03Add a ConfigTag* parameter to the ServerPaths constructor.Peter Powell
This is used to directly read the settings from the config tag like how ServerLimits works.
2017-08-27Match against core_*.so when looking for core modules.Peter Powell
2017-08-13Change the maximum nick/user size to match other implementations.Peter Powell
2017-07-30Fix the server failing to rehash when <server:name> is unset.Peter Powell
2017-07-30Fix exceptions not having a line ending when appending to errmsg.Peter Powell
2016-12-08Store config values in a map instead of a unique vector of pairs.Peter Powell
2016-10-25Allow classes to take a port range.Peter Powell
2016-09-02Bump version to 3.0 in comments and messagesAttila Molnar
2016-08-22Add stdalgo::string::equalsci and use it instead of irc::string for ↵Attila Molnar
case-insensitive comparison
2016-08-17Merge insp20Attila Molnar
2016-06-17Don't exit on rehash if the pid file cannot be writtenAttila Molnar
2016-03-01Send NOTICEs that can go to both local and remote users with ↵Attila Molnar
User::WriteRemoteNotice()