aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2022-08-251-1/+1
|
* Also use binary exit codes in places that terminate abruptly.Gravatar Sadie Powell2022-07-191-0/+4
| | | | This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd.
* Allow forcing binary exit codes at compile time.Gravatar Sadie Powell2022-07-191-1/+7
| | | | | This is useful with some init systems that handle our exit codes strangely.
* Update copyright headers.Gravatar InspIRCd Robot2021-12-301-1/+1
|
* Add Server::GetPublicName(), fix not respecting <security:hideserver>.Gravatar Sadie Powell2021-10-251-0/+7
|
* Hide the server name/desc better when <options:hideserver> is set.Gravatar Sadie Powell2020-12-201-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-10-301-1/+1
|
* Rename the REALLEN 005 token to NAMELEN.Gravatar Sadie Powell2020-09-301-1/+1
| | | | | Turns out this is already required by the IRCv3 setname spec but we forgot to implement it. Oops.
* Add an ISUPPORT token that contains the maximum real name length.Gravatar Sadie Powell2020-09-301-0/+1
|
* Move CHANMODES to core_mode and add USERMODES.Gravatar Sadie Powell2020-03-121-1/+0
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+8
|
* Show the list modes which have variable list lengths in 005.Gravatar Peter Powell2019-10-011-1/+0
|
* Re-order the includes to fix C++03 builds.Gravatar nia2019-05-061-2/+2
| | | | | | | inspircd.h defines __STDC_LIMIT_MACROS to ensure that C99 int type limits are defined, however, if <stdint.h> is included implicitly before inspircd.h, the build fails due to the C99 integer type limits being undefined.
* Add ISUPPORT tokens for the host, line, and user length.Gravatar Peter Powell2017-12-231-0/+3
| | | | | | | This allows clients to accurately predict the maximum safe length of a NOTICE or PRIVMSG and truncate/split as appropriate. As proposed at https://defs.ircdocs.horse/defs/isupport.html
* Improve LIST and implement more extended list features.Gravatar Peter Powell2017-11-171-1/+0
| | | | | | | | | | | | - Move the ISUPPORT token from the core into core_user and start sending the SAFELIST token to let clients know that they can safely run LIST on big servers. - Add support for the channel creation time (C), topic set time (T), and inverted glob match (N) filters as specified in the draft-hardy-irc-isupport-00 specification. - Clean up the logic for filtering channels by user count.
* Implement support for draft-brocklesby-irc-isupport-03 escapes.Gravatar Peter Powell2017-11-091-4/+22
|
* Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.Gravatar Peter Powell2017-10-151-2/+2
| | | | | | | | | | - INSPIRCD_SOCKETENGINE_NAME is not really something that needs to be user facing. If opers want to know this kind of internal info then they can look at the build configuration. - INSPIRCD_SYSTEM causes problems for reproducible builds and is only accurate for the state of the system when InspIRCd is built which is not useful in the slightest.
* Implement support for configurable casemapping & default to ASCII.Gravatar Peter Powell2017-09-081-1/+1
|
* Replace the deprecated MAXBANS token with MAXLIST.Gravatar Peter Powell2017-07-241-1/+0
|
* Improve the default ISUPPORT tokens.Gravatar Peter Powell2016-09-141-3/+2
| | | | | | | - Replace the deprecated MAXCHANNELS token with CHANLIMIT. - Remove the deprecated FNC token (other implementations can force a nick change without sending this token so informing clients of that we might force a nick change is pointless)
* Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-1/+1
|
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-10/+9
| | | | parameters
* Move InspIRCd::SendError() to cmd_dieGravatar Attila Molnar2015-05-171-1/+0
| | | | Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message
* Merge insp20Gravatar Attila Molnar2014-10-271-7/+4
|\
| * Fix various warnings when building with LLVM 3.5.Gravatar Peter Powell2014-10-131-7/+4
| | | | | | | | | | - warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
* | Fix incorrect cleanup order in InspIRCd::Exit()Gravatar Attila Molnar2014-09-151-1/+1
| | | | | | | | classbase objects such as callers call LogManager::Log() on destruction unless ServerInstance is NULL
* | Minor ISupportManager changesGravatar Attila Molnar2014-07-141-4/+3
| | | | | | | | | | | | - Make GetLines() a const method - Rename Lines to cachedlines - Get rid of a variable in Build()
* | Change all occurrences of plain sort() to std::sort()Gravatar Attila Molnar2014-06-221-1/+1
| |
* | Change allocation of InspIRCd::Threads to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | | | | | containing it
* | Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-2/+2
| |
* | Remove WALLCHOPS and WALLVOICES ISUPPORT tokensGravatar Attila Molnar2014-04-141-2/+1
| | | | | | | | These tokens have been deprecated in favour of STATUSMSG for a long time
* | Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ↵Gravatar Attila Molnar2014-02-181-1/+1
| | | | | | | | ModeType
* | Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME defineGravatar Attila Molnar2014-02-081-1/+1
| |
* | Remove some pointless code:Gravatar Peter Powell2013-12-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | - Remove the CHARSET entry from ISUPPORT. CHARSET was removed in draft-brocklesby-irc-isupport-03 and we always used the default value anyway. This has also been removed in the latest version of Charybdis. - Remove irc::sockets::satouser. This helper method was longer than the code it replaced.
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | | | | | automatically
* | Remove InspIRCd::HandleRehash functorGravatar attilamolnar2013-09-081-5/+4
| | | | | | | | Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler
* | Remove cmd_map from the coreGravatar attilamolnar2013-08-191-1/+1
| |
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-2/+2
| |
* | Remove unused exit codesGravatar attilamolnar2013-06-181-1/+1
| |
* | ISupportManager: Tidy-up, expand commentsGravatar attilamolnar2013-06-021-11/+22
| |
* | Remove #define MAXPARAMETERS and "MAXPARA" 005 tokenGravatar attilamolnar2013-06-011-1/+0
| |
* | Move LogHeader to LogStream.Gravatar Peter Powell2013-05-191-5/+0
| |
* | Fix padding bug in GenerateSID(), spotted by @ShutterQuickGravatar attilamolnar2013-05-161-0/+1
| |
* | Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-10/+4
| | | | | | | | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* | Use std::string internally in UIDGenerator, move UUID_LENGTH into the class ↵Gravatar attilamolnar2013-04-141-7/+2
| | | | | | | | as a constant
* | Simplify UID generation logicGravatar attilamolnar2013-04-141-23/+18
| | | | | | | | This loop is not required because we already set current_uid[pos] to 'A' before recursing if current_uid[pos] is 9
* | Extract UID/SID generation logic into a new class: UIDGeneratorGravatar attilamolnar2013-04-141-29/+37
| |
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-12/+62
| |
* | Merge inspircd_{config,version}.h into a single header file.Gravatar Peter Powell2013-04-051-1/+0
| |