aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Remove the OnInfo event.•••This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO. Gravatar Peter Powell2018-08-141-1/+1
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-1310-56/+511
* Add an accessor for the last mode change list to ModeParser.•••GetLastParse will be going away soon. Gravatar Peter Powell2018-08-131-1/+1
* Convert AWAY to use cross-module events and clean up slightly.•••OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed. Gravatar Peter Powell2018-08-122-12/+33
* Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-121-2/+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-4/+0
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-304-7/+8
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-302-3/+3
* 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-2648-112/+112
* Remove Log() calls made unnecessary by the previous commit.Gravatar Peter Powell2018-07-202-8/+0
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-0/+7
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-182-6/+6
* Merge branch 'insp20' into master.Gravatar Peter Powell2018-07-151-1/+0
* 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-282/+469
* Switch core_dns validation to use InspIRCd::IsHost.Gravatar Peter Powell2018-07-101-6/+1
* 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-102-5/+7
* Use !empty() instead of 'size() > 0' when checking parameter count.Gravatar B00mX0r2018-07-031-1/+1
* 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-0/+9
* Add range checking to ConfigTag::getFloat.Gravatar Peter Powell2018-04-161-1/+1
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-162-3/+3
* Change some usage of "gecos" to "real name"•••Within the example configs, helpops, some server sent messages, and simple code comments: change the primary usage of "gecos" to "real name" (or "realname" where fitting). Gravatar genius30002018-04-111-1/+1
* Optimize some behaviour in the core (#1476).Gravatar Dylan Frank2018-04-091-1/+1
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-0/+1
* 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-082-4/+17
* Refactor m_sqloper to be a full opers.conf replacement (#983).•••m_sqloper now supports dynamic fields, works with m_sslinfo, and works with /stats o.Gravatar Dylan Frank2018-04-061-3/+3
* Prioritize checking for +ikl last to match previous behavior (#1474).Gravatar Dylan Frank2018-03-311-0/+1
* Move <security:announceinvites> to core_channel.Gravatar Peter Powell2018-03-313-4/+35
* Move checking for +ikl from the core to to core_channel.Gravatar Peter Powell2018-03-311-0/+47
* Do not send unset topics on channel join per RFC (#1469)•••Fixes #1091.Gravatar Dylan Frank2018-03-251-1/+1
* 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-17/+65
* Add Haiku supportGravatar Puck Meerburg2018-03-101-1/+2
* Send the ACCEPT and KEYLEN ISUPPORT tokens.•••- The ACCEPT=[count] token specifies the maximum amount of nicks which can be added to a m_callerid accept list. This token was added by ircd-ratbox in 3.0.9. - The KEYLEN=[length] token specifies the maximum length of a channel key. This token was added by ircd-ratbox in 3.1 beta. For more info see http://defs.ircdocs.horse/defs/isupport.html Gravatar Peter Powell2018-02-073-1/+5
* Pass an irc::socket::sockaddrs to SocketEngine::SendTo().Gravatar Peter Powell2018-01-201-1/+1
* Strip commas from channel keys like Charybdis and others do.Gravatar Peter Powell2018-01-061-1/+14
* 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-061-31/+29
* Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics•••Per #1122 Gravatar B00mX0r2017-12-228-12/+25
* Rename <security:hidewhois> to <security:hideserver>.•••The previous name was horrible and didn't describe what the setting actually does. Gravatar Peter Powell2017-12-223-13/+13
* Clarify error message when attempting to /NICK while bannedGravatar B00mX0r2017-12-191-1/+2
* Don't allow users to set a zero channel limit.•••Closes #451. Gravatar Peter Powell2017-12-113-2/+9
* Extract RFC modes from the core to core_channel and core_user.Gravatar Peter Powell2017-12-108-2/+460
* Clean up numeric usage in WHOIS and WHOWAS.•••- Add constants for all of the used numerics. - Switch RPL_CHANNELSMSG from 336 to 651 to avoid a conflict with RPL_INVITELIST from ircd-hybrid. - Switch RPL_WHOWASIP from 379 to 652 to avoid a conflict with RPL_WHOISMODES from UnrealIRCd. Gravatar Peter Powell2017-12-092-13/+39
* Use ERR_INVALIDUSERNAME rather than ERR_NEEDMOREPARAMS in USER.•••This numeric is a lot more friendly for clients to deal with. Gravatar Peter Powell2017-11-281-5/+7
* Convert the remaining things away from the caller/handler API.Gravatar Peter Powell2017-11-251-1/+1
* Fix a minor typo in core_channel.Gravatar Peter Powell2017-11-251-1/+1
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-2120-66/+66
* Improve LIST and implement more extended list features.•••- 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. Gravatar Peter Powell2017-11-171-12/+110
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-176-14/+15
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-2/+2
* Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-061-2/+2
* Make core_hostname_lookup redo the lookup when a user's IP changes.•••This removes the need to do lookups in the cgiirc module. This is useful as relying on gateways to do proper DNS checks is unreliable and has resulted in issues like 5fc4403f62. Its more sane if we do our own lookups. This change has been okayed by multiple WEBIRC gateway authors so I don't think it will cause many problems. Gravatar Peter Powell2017-10-311-2/+2