aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Expand)AuthorAgeFilesLines
...
* Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-121-5/+5
* Move message parsing to ProcessBuffer and fix edge cases in it.Gravatar Peter Powell2018-08-101-4/+5
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.•••This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. Gravatar Peter Powell2018-08-101-6/+18
* Remove the integer overloads of irc::tokenparser::GetToken().•••The int overload was never used and the long overload was used in one place. Gravatar Peter Powell2018-08-101-12/+0
* Remove the original line parameter of On{Pre,Post}Command.•••In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do. Gravatar Peter Powell2018-08-101-4/+2
* Remove support for static modules.•••This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries. Gravatar Peter Powell2018-07-311-23/+0
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-302-8/+7
* Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-302-3/+3
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-305-19/+19
* Replace irc::stringjoiner with a generic stdalgo::string::join.•••This can also be used with different types of collection containing values which are not a string. Gravatar Peter Powell2018-07-263-8/+20
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-268-21/+21
* Add a module which implements the HAProxy PROXY v2 protocol.Gravatar Peter Powell2018-07-262-0/+7
* Rename IntModuleList to Module::List.Gravatar Peter Powell2018-07-241-9/+9
* Get rid of the unused string_list typedef.Gravatar Peter Powell2018-07-241-4/+0
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-182-0/+9
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-0/+2
* Implement support for the WHOX extension.•••This is a massive rewrite of core_who which was initially developed by Adam in 2014. I have rebased and cleaned it up and tightened up compliance with the specifications. Co-authored-by: Adam <Adam@anope.org> Gravatar Peter Powell2018-07-121-3/+0
* Add InspIRCd::IsHost for checking the validity of hostnames.Gravatar Peter Powell2018-07-101-0/+6
* Add a ConfigTag::getString overload that calls a validation method.Gravatar Peter Powell2018-07-101-0/+2
* Add a silent option to <options:restrictbannedusers>.•••This is useful when dealing with spambots that switch method when they receive ERR_CANNOTSENDTOCHAN. Gravatar Peter Powell2018-07-101-4/+15
* Add --nopid command line option (#1497).•••Add a --nopid command line option, which causes a PID file not to be written to the file system regardless of the presence of the <pid> tag in the configuration file or the value of its "file" variable if it is present.Gravatar Chris Novakovic2018-06-041-0/+12
* Move a bunch of optional module numerics to the module source file.Gravatar Peter Powell2018-04-221-12/+0
* Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.•••There is no reason for these responses to have their own numerics when other modules do not. The only thing this does is make life harder for client developers. Gravatar Peter Powell2018-04-221-3/+0
* Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-1/+6
|\
| * Remove swhois messages set in the oper block on deoper.•••Closes #1240. Gravatar Peter Powell2018-04-091-2/+7
* | Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked.•••This is necessary to allow m_ircv3_echomessage to pretend that a message was echoed successfully. This is useful as it doesn't let spammers know that their message was blocked. Gravatar Peter Powell2018-04-161-1/+10
* | Add range checking to ConfigTag::getFloat.Gravatar Peter Powell2018-04-162-1/+2
* | Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-0/+2
* | Convert ConfigTag::getDuration to return an unsigned long.Gravatar Peter Powell2018-04-161-1/+1
* | Convert ConfigTag::CheckRange to a function template.Gravatar Peter Powell2018-04-161-10/+0
* | Remove the default value in ConfigTag::get{Duration,Float,Int}.Gravatar Peter Powell2018-04-161-3/+3
* | Replace the remaining use of irc::string with irc::find.Gravatar Peter Powell2018-04-161-49/+7
* | Change ServerInfo::gecos to descriptionGravatar genius30002018-04-112-2/+2
* | Fix an invalid mode parameters numeric upon attempting to view a list modeGravatar B00mX0r2018-04-081-0/+9
* | Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-1/+0
* | Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-083-9/+19
* | SQL: Add HasColumn() to check if a result contains a named column.Gravatar Daniel Vassdal2018-04-071-0/+9
* | Move <security:announceinvites> to core_channel.Gravatar Peter Powell2018-03-311-8/+1
* | Ignore expired or invalid client certificates (#1468).•••Fixes #1345.Gravatar Dylan Frank2018-03-291-2/+16
* | Separate secret and private channels on whois for non-opers (#1447)•••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.Gravatar Dylan Frank2018-03-251-6/+0
* | Fix building on Windows (mostly).Gravatar Peter Powell2018-02-173-24/+2
* | Add names for a bunch of numerics.Gravatar Peter Powell2018-02-021-2/+0
* | Add ERR_INVALIDMODEPARAM for responding to invalid mode params.•••Currently on invalid modes we do a combination of different things: 1. Send a custom mode-specific numeric (which often collides with other modes). 2. Send a server notice. 3. Do absolutely nothing. This new numeric is a generic way of handling invalid parameters when setting a mode that avoids all of the mistakes of the previous behaviour. Gravatar Peter Powell2018-01-293-27/+55
* | Pass an irc::socket::sockaddrs to SocketEngine::SendTo().Gravatar Peter Powell2018-01-201-3/+2
* | Pass an irc::socket::sockaddrs to SocketEngine::Connect().Gravatar Peter Powell2018-01-201-3/+2
* | Fix some minor Doxygen errors.Gravatar Peter Powell2018-01-141-2/+2
* | Rework message handling.•••- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. Gravatar Peter Powell2018-01-063-59/+153
* | Fix m_chanhistory sending the history notice directly to the user.•••Closes #1452. Gravatar Peter Powell2018-01-031-0/+5
* | Make InspIRCd::Format return std::string instead of const char*.•••Using the latter is problematic as if you don't copy the return value before calling Format again your formatted message will be overwritten by something else. This bug was observed in m_callerid where InspIRCd::Format was being used for formatting two arguments the latter of which was being overwritten with the former. We could have preserved the return type and just copied the string but then callers would have had to deallocate the string once they have finished with it which is an undesirabable burden to put on callers. Gravatar Peter Powell2018-01-033-9/+8
* | Get rid of InspIRCd::QuickExit.•••This is just a thin wrapper around exit(). I don't think we really need it. While we are changing this code the setgroup/setuser code should be using EXIT_STATUS_CONFIG too. Gravatar Peter Powell2017-12-231-5/+0