summaryrefslogtreecommitdiff
path: root/include/configreader.h
AgeCommit message (Collapse)Author
2018-04-16Add range checking to ConfigTag::getFloat.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-16Convert ConfigTag::getDuration to return an unsigned long.Peter Powell
2018-04-16Convert ConfigTag::CheckRange to a function template.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-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-13Add a class which encapsulates the concept of token lists.Peter Powell
2017-10-18Add a constructor to OperInfo and use it to set the type name.Peter Powell
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-09-18Convert Disabled[CU]Modes to use a bitset instead of a char array.Peter Powell
2017-09-08Implement support for configurable casemapping & default to ASCII.Peter Powell
2017-09-03Add support for length arguments in getString.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-26Fix a bunch of Doxygen warnings.Peter Powell
2016-12-08Store config values in a map instead of a unique vector of pairs.Peter Powell
2016-09-02Bump version to 3.0 in comments and messagesAttila Molnar
2016-08-17Merge insp20Attila Molnar
2016-07-22Add a method which calculates the maximum mask length. (#1171)Peter Powell
2016-02-25Don't show snotices for kills from ulined clientsAdam
2015-12-06Remove <options:ircumsgprefix> entirelyAttila Molnar
2015-11-02Move ServerConfig::InvBypassModes into core_channelAttila Molnar
2014-12-19Merge branch 'master+flatmap'Attila Molnar
2014-12-15Change type of some associative containers to their flat versions, including ↵Attila Molnar
Extensible storage
2014-12-15Add typedef PrivSet for OperInfo::AllowedOperCommands and AllowedPrivsAttila Molnar
2014-12-09Pass the empty tag to Limits when constructing a ServerConfig, remove ↵Attila Molnar
default ServerLimits constructor
2014-12-09Add ServerLimits constructor that reads limits from a ConfigTag and use itAttila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-13Avoid calling methods on NULL pointers wherever possible.Peter Powell
The trick we use to allow this is undefined behaviour and is not liked by LLVM. We should stop using it but it has the potential to break to many things for a minor release.
2014-09-10Remove listmode hiding support from the coreAttila Molnar
This is now handled by m_hidelist
2014-07-16Move typedef OperIndex to ServerConfig::OperIndexAttila Molnar
2014-07-16Move typedef ClassVector to ServerConfig::ClassVectorAttila Molnar
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-04-11Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.Peter Powell
Remove channels/high-join-limit privilege
2014-03-08Make the maximum hostname length configurable in the config.Peter Powell
2014-03-07Move admin settings into core_infoAttila Molnar
2014-03-07Move {prefix|suffix|fixed}{quit|part} into core_userAttila Molnar
2014-03-07Read the die and restart password and their hash type on demandAttila Molnar
2014-02-07Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is definedAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila Molnar
2013-12-18Remove unused motd and rules field from ServerConfigAttila Molnar
2013-12-15Move stuff around a bit:Peter Powell
- Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
2013-09-13Fix a shadow warning created by ConfigTag::createChrisTX
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-27Fix Windows build and a few more problemsattilamolnar