summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-07-24Make more config stuff case insensitive.Peter Powell
2018-07-24Fix building on Windows.Peter Powell
2018-07-20Remove Log() calls made unnecessary by the previous commit.Peter Powell
2018-07-20Log snotices with their description rather than just as "snomask".Peter Powell
2018-07-20Use arc4random_buf() instead of random() when available.Peter Powell
2018-07-18Initial support for listening on UNIX socket endpoints.Peter Powell
2018-07-18Add the family() member to the sockaddrs union.Peter Powell
2018-07-15Release v3.0.0 alpha 8.Peter Powell
2018-07-15Merge branch 'insp20' into master.Peter Powell
2018-07-15Use mysql_real_escape_string instead of mysql_escape string.Peter Powell
This is not exploitable as far as I know but it is probably best that we use the newer function just in case. Closes #649 (although the attack mentioned in that issue was not feasible).
2018-07-12Implement support for the WHOX extension.Peter Powell
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>
2018-07-12Clean up the WHO helpop documentation.Peter Powell
2018-07-11Fix replying with the source user in oper-restricted WHO lookups.Peter Powell
2018-07-10Switch core_dns validation to use InspIRCd::IsHost.Peter Powell
2018-07-10Switch <server:name> validation to use InspIRCd::IsHost.Peter Powell
2018-07-10Add InspIRCd::IsHost for checking the validity of hostnames.Peter Powell
2018-07-10Add a ConfigTag::getString overload that calls a validation method.Peter Powell
2018-07-10Allow exempting of registered users from securelist.Peter Powell
2018-07-10Add a silent option to <options:restrictbannedusers>.Peter Powell
This is useful when dealing with spambots that switch method when they receive ERR_CANNOTSENDTOCHAN.
2018-07-03Use !empty() instead of 'size() > 0' when checking parameter count.B00mX0r
2018-06-25Allow relative paths to be passed in --config on boot.Peter Powell
Closes #1115.
2018-06-08Fix invalid conversion from 'const char*' to 'char*' on FreeBSD.Peter Powell
2018-06-04Add --nopid command line option (#1497).Chris Novakovic
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.
2018-04-22Improve support for MOTD escape codes.Peter Powell
- Implement escapes for italic, monospace, and strikethrough. - Use the escape codes in the example MOTDs to demonstrate their formatting effects. - Remove support for octal escape codes. In modern computing octal is rarely used and is confusing for users who might confuse it for decimal.
2018-04-22Always process MOTD formatting escape codes.Peter Powell
The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more.
2018-04-22Fix some oversights relating to numerics.Peter Powell
- ERR_CANNOTSENDTOCHAN only takes the channel name and a message. - ERR_INVALIDCAPCMD is 410 not 232.
2018-04-22Release v3.0.0 alpha 7.Peter Powell
2018-04-22Move a bunch of optional module numerics to the module source file.Peter Powell
2018-04-22Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.Peter Powell
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.
2018-04-22Merge tag 'v2.0.26' into master.Peter Powell
2018-04-20Release v2.0.26Peter Powell
2018-04-20Optionally do not notify users if their messages are blocked by certain ↵Robby
modules (#1134). Closes #711.
2018-04-17Tell the rehasher if an exception is thrown by a module on rehash.Peter Powell
2018-04-17Rewrite m_denychans.Peter Powell
- The configuration is now validated on ReadConfig and parsed into objects. - Allow redirecting to channels that don't yet exist. There is no technical reason to not allow this and I believe that it would be a lot less confusing to users if we allowed this. - Flatten a bunch of nested if statements.
2018-04-17Convert some usages of ato[il] to use ConvToNum.Peter Powell
2018-04-16Fix m_ircv3_sts not having the VF_VENDOR flag set.Peter Powell
2018-04-16Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked.Peter Powell
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.
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-16Extract ConfigTag::getInt magnitude logic to a function template.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-04-16Use an oper priv instead of a config flag for overriding nonicks.Peter Powell
2018-04-16Use an oper priv instead of a config flag for overriding callerid.Peter Powell
2018-04-16Replace the remaining use of irc::string with irc::find.Peter Powell
2018-04-14Fix customprefix modes not being deleted when the module unloads.Peter Powell
2018-04-11Fix blank instead of empty PART message when a user is shunnedB00mX0r
2018-04-11Change some usage of "gecos" to "real name"genius3000
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).
2018-04-11Change ServerInfo::gecos to descriptiongenius3000