summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
2014-06-17Update the description field in the Server object representing the local ↵Attila Molnar
server on rehash
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Add CommandParser::GetCommands() and typedef CommandMap and use it instead ↵Attila Molnar
of directly accessing cmdlist
2014-06-13Use CommandParser::GetHandler() in ServerConfig::ApplyDisabledCommands()Attila Molnar
2014-06-07Change the number reported by SocketEngine::GetMaxFds() to be informalAttila Molnar
Do not exit if we can't determine it
2014-05-26Switch to std::string::compare() from substr() in a couple of placesAttila 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-04-07Merge insp20Attila Molnar
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-03-05Load core_*.so instead of cmd_*.soAttila Molnar
2014-03-01Fix NULL dereference on rehash when there is a fatal error in the ↵Attila Molnar
configuration of connect classes Fixes issue #780 reported by @JDowny
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Change SocketEngine functions that do not require an instance to be staticAttila Molnar
2014-01-21Add m_starttls and remove it from m_ssl_gnutls, which allows it to work with ↵Adam
both openssl and gnutls
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila Molnar
2013-12-18Add m_showfile, remove cmd_rulesAttila 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-11-21Fix a few issuesattilamolnar
- Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-08-30Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadattilamolnar
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-13Store oper types and opers in separate containersattilamolnar
2013-08-12Add <path> keys for all of the compile-time paths.Peter Powell
Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations.
2013-08-10Require privs given on initial join to be in <options:defaultmodes>.Peter Powell
2013-08-10Rename <options:moronbanner> to <options:xlinemessage>.Peter Powell
This name is more descriptive of what is actually is used for.
2013-08-10Replace range() with min and max arguments on getInt().Peter Powell
2013-08-10Prevent servers from ulining themselves.Peter Powell
Almost every single case I have seen where this has been done has been an accident.
2013-08-10Change the default for <security:customversion> to an empty string.Peter Powell
RFC 1459 says this field is for comments about the version. If the operator has no comments then we should not show any.
2013-08-10Warn if the server has no <bind> blocks.Peter Powell
2013-08-10Use an example server name if <server:name> is not defined.Peter Powell
2013-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-09Move host cycle logic into m_hostcycleattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-07-19Seperate ModeReference into ChanModeReference and UserModeReferenceattilamolnar
2013-07-06Remove restriction on changing <limits:maxline> while running.Peter Powell
2013-07-04Fix users being able to set <server:network> to an invalid value.Peter Powell
2013-07-02Allow for skipping clone checking before DNS is complete.Daniel Vassdal
2013-06-18Remove limitsomaxconn and remains of m_halfop/allowhalfopattilamolnar
2013-06-06Use iostream instead of C-style file operations.Peter Powell
2013-06-06Start to replace MAXBUF with <limits:maxline>.Peter Powell
2013-06-02Move a few trivial functions into headersattilamolnar
2013-05-27Clean up the FileReader class and all of the modules that use it.Peter Powell
- Modules which use this class will now have to catch a CoreException when opening files if they wish to ignore the failed loading of a file. - m_randquote has been cleaned up massively and the RANDQUOTE command has been removed as it was pretty much useless.
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
2013-05-16Allow spaces (and more) in oper typesattilamolnar
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv
2013-05-15Replace some C-isms with C++-isms.Peter Powell
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
2013-04-28Merge insp20attilamolnar