| Commit message (Expand) | Author | Age | Files | Lines |
| * | Move a bunch of optional module numerics to the module source file. | Peter Powell | 2018-04-22 | 6 | -3/+35 |
| * | 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.
| Peter Powell | 2018-04-22 | 2 | -2/+2 |
| * | Merge tag 'v2.0.26' into master. | Peter Powell | 2018-04-22 | 5 | -2/+49 |
| |\ |
|
| | * | Fix blank instead of empty PART message when a user is shunned | B00mX0r | 2018-04-11 | 1 | -1/+1 |
| | * | Remove swhois messages set in the oper block on deoper.•••Closes #1240.
| Peter Powell | 2018-04-09 | 1 | -4/+33 |
| | * | Set User::host before calling ChangeIP()•••ChangeIP() calls SetClientIP() which revalidates whether the user
matches an ELine. However, because the hostname has not changed yet
the user may incorrectly be marked as non-exempt.
| Peter Powell | 2018-04-06 | 1 | -3/+3 |
| | * | Update the GeoIP ExtItem when CGI:IRC sets the real IP (#1471)•••Since CGI:IRC calls it's 'ChangeIP()' either from 'OnCheckReady()'
or 'OnUserRegister()', both of which are called after the user has
sent NICK/USER, we can safely skip re-setting the ExtItem prior to
this point.
This skips the first 'OnSetUserIP()' from 'User::AddUser()' as
the 'OnSetConnectClass()' catch handles the initial setting. | genius3000 | 2018-03-30 | 1 | -1/+8 |
| | * | m_ssl_openssl: Remove deprecated API members.•••Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91.
| Wade Cline | 2018-03-02 | 1 | -3/+12 |
| | * | Revert std::set changes and add duplicate checking in m_banredirect instead, ... | linuxdaemon | 2018-01-25 | 1 | -11/+18 |
| | * | Fix comparator logic for ordering by channel | linuxdaemon | 2018-01-25 | 1 | -3/+3 |
| | * | Make sure banredirect metadata can not be duplicated | linuxdaemon | 2018-01-25 | 1 | -3/+11 |
| | * | m_chanhistory: optionally exempt bots from receiving history.•••Sending history to some bots can cause problems as without the
IRCv3 chathistory batch they have no way of knowing what messages
are history and what they should respond to.
Closes #1450.
| Michael Hazell | 2017-12-31 | 1 | -0/+5 |
| | * | Always store something in the cgiirc hostname extension.•••This is used by modules like m_sasl to send the cgiirc hostname to
services so it should contain something valid.
Closes #1438.
| Peter Powell | 2017-12-20 | 1 | -7/+3 |
| | * | Fix m_spanningtree sending the wrong setter in S2S ADDLINE. | Peter Powell | 2017-12-15 | 1 | -1/+1 |
| | * | Fix m_xline_db storing the wrong setter in the XLine database. | Peter Powell | 2017-12-15 | 1 | -1/+1 |
| * | | Optionally do not notify users if their messages are blocked by certain modul...•••Closes #711. | Robby | 2018-04-20 | 3 | -8/+36 |
| * | | Rewrite m_denychans.•••- 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.
| Peter Powell | 2018-04-17 | 1 | -66/+120 |
| * | | Convert some usages of ato[il] to use ConvToNum. | Peter Powell | 2018-04-17 | 3 | -8/+10 |
| * | | Fix m_ircv3_sts not having the VF_VENDOR flag set. | Peter Powell | 2018-04-16 | 1 | -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.
| Peter Powell | 2018-04-16 | 1 | -0/+7 |
| * | | Add ConfigTag::getUInt for reading unsigned config values. | Peter Powell | 2018-04-16 | 27 | -51/+48 |
| * | | Convert ConfigTag::getDuration to return an unsigned long. | Peter Powell | 2018-04-16 | 6 | -11/+13 |
| * | | Remove the default value in ConfigTag::get{Duration,Float,Int}. | Peter Powell | 2018-04-16 | 6 | -17/+14 |
| * | | Use an oper priv instead of a config flag for overriding nonicks. | Peter Powell | 2018-04-16 | 1 | -7/+1 |
| * | | Use an oper priv instead of a config flag for overriding callerid. | Peter Powell | 2018-04-16 | 1 | -3/+1 |
| * | | Replace the remaining use of irc::string with irc::find. | Peter Powell | 2018-04-16 | 1 | -9/+10 |
| * | | Fix customprefix modes not being deleted when the module unloads. | Peter Powell | 2018-04-14 | 1 | -0/+1 |
| * | | 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).
| genius3000 | 2018-04-11 | 5 | -10/+10 |
| * | | Change ServerInfo::gecos to description | genius3000 | 2018-04-11 | 3 | -5/+5 |
| * | | Include modules/whois.h directly from files that use it. | Peter Powell | 2018-04-08 | 12 | -0/+12 |
| * | | 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.
| Peter Powell | 2018-04-08 | 10 | -17/+42 |
| * | | Fix some more oversights in m_geoip.•••- Add the G: extban to the EXTBAN 005 token.
- Use CXX11_OVERRIDE with ReadConfig and OnCheckBan.
Thanks to @genius3000 for pointing these out.
| Peter Powell | 2018-04-07 | 1 | -2/+8 |
| * | | Fix disabling the GeoIP extban in m_geoip. | Peter Powell | 2018-04-07 | 1 | -1/+1 |
| * | | m_sqlauth: Allow specifying what hash algos to provide hashes from.•••Defaults to md5,sha256 to be compatible with old configs.
Adds new parameter `kdf`. If this is set (to e.g. bcrypt), the hash
will be compared locally. This requires the password column to be
specified in <sqlauth:column>.
Closes #741
| Daniel Vassdal | 2018-04-07 | 1 | -10/+62 |
| * | | SQL: Add HasColumn() to check if a result contains a named column. | Daniel Vassdal | 2018-04-07 | 3 | -3/+53 |
| * | | 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. | Dylan Frank | 2018-04-06 | 1 | -56/+139 |
| * | | Implement support for banning users from channels by country code. | Peter Powell | 2018-04-06 | 1 | -8/+49 |
| * | | Validate settings in order in ValidateSettings() (#1475).•••* Validate the settings in the same order as the parameter syntax
* Always validate Lines and Secs regardless of having a Diff
* Check Backlog for greater than Max as well as being disabled | genius3000 | 2018-04-06 | 1 | -24/+25 |
| * | | Move m_sslrehashsignal to the extra directory.•••This module uses platform-specific behaviour that does not work on
Windows.
| Peter Powell | 2018-02-17 | 1 | -0/+0 |
| * | | Fix building on Windows (mostly). | Peter Powell | 2018-02-17 | 1 | -2/+2 |
| * | | Import the anticaps module from inspircd-extras. | Peter Powell | 2018-02-07 | 1 | -0/+309 |
| * | | 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
| Peter Powell | 2018-02-07 | 1 | -0/+1 |
| * | | Allow the maximum length of a chanfilter message to be configured. | Peter Powell | 2018-02-02 | 1 | -4/+14 |
| * | | Add names for a bunch of numerics. | Peter Powell | 2018-02-02 | 10 | -36/+102 |
| * | | 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.
| Peter Powell | 2018-01-29 | 8 | -21/+38 |
| * | | Add a module which rehashes SSL modules on receiving SIGUSR1.•••This has been imported from inspircd-extras where it was known as
m_rehashsslsignal. The name has been changed slightly to match the
other modules which do SSL stuff (sslmodes, sslinfo).
| Peter Powell | 2018-01-25 | 1 | -0/+64 |
| * | | Pass an irc::socket::sockaddrs to SocketEngine::Connect(). | Peter Powell | 2018-01-20 | 1 | -1/+1 |
| * | | Fix some char signedness oversights when using bitsets. | Peter Powell | 2018-01-07 | 3 | -8/+9 |
| * | | Add user mode +z for ssl-only private messages.•••Closes #468.
| Shawn Smith | 2018-01-07 | 1 | -11/+105 |
| * | | 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.
| Peter Powell | 2018-01-06 | 25 | -133/+137 |