| Commit message (Expand) | Author | Age | Files | Lines |
| * | Release v3.0.0 alpha 7. v3.0.0a7 | Peter Powell | 2018-04-22 | 1 | -1/+1 |
| * | 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 | 8 | -6/+51 |
| |\ |
|
| | * | Release v2.0.26 v2.0.26 | Peter Powell | 2018-04-20 | 1 | -1/+1 |
| | * | 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 | 3 | -4/+35 |
| | * | Fix ELine::Matches returning false on existing match•••When checking for an E-Line match, we want to actually check for a
current match even if we previously matched and are set exempt.
This fixes situations where you have an E-Lined CGI:IRC address,
a G-Lined IP range for some area/host/etc and a smaller E-Lined
IP range for known good clients. Currently when CGI:IRC changes
the IP, E-Lines are rechecked but because the user is already exempt
(from the CGI:IRC E-Line), they are set no longer exempt and match
a G-Line, when they should match an E-Line.
This exact change has been done before in commit 'c8b344e' and shortly
reverted in 'c490a90' to fix issue #989 (CGI:IRC users remaining exempt
when the CGI:IRC address is E-Lined but they are not).
The actual cause to this issue was likely that the user's hostname was
not changed from the CGI:IRC hostname/IP prior to rechecking E-Lines.
This is being fixed in a separate commit.
| genius3000 | 2018-04-06 | 1 | -3/+0 |
| | * | 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 |
| * | | Tell the rehasher if an exception is thrown by a module on rehash. | Peter Powell | 2018-04-17 | 1 | -0/+2 |
| * | | 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 | 3 | -0/+17 |
| * | | Add range checking to ConfigTag::getFloat. | Peter Powell | 2018-04-16 | 2 | -3/+6 |
| * | | Add ConfigTag::getUInt for reading unsigned config values. | Peter Powell | 2018-04-16 | 33 | -83/+97 |
| * | | Convert ConfigTag::getDuration to return an unsigned long. | Peter Powell | 2018-04-16 | 7 | -13/+15 |
| * | | Extract ConfigTag::getInt magnitude logic to a function template. | Peter Powell | 2018-04-16 | 1 | -12/+39 |
| * | | Convert ConfigTag::CheckRange to a function template. | Peter Powell | 2018-04-16 | 1 | -12/+26 |
| * | | Remove the default value in ConfigTag::get{Duration,Float,Int}. | Peter Powell | 2018-04-16 | 8 | -19/+16 |
| * | | 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 | 2 | -61/+42 |
| * | | 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 | 6 | -11/+11 |
| * | | Change ServerInfo::gecos to description | genius3000 | 2018-04-11 | 3 | -5/+5 |
| * | | Optimize some behaviour in the core (#1476). | Dylan Frank | 2018-04-09 | 3 | -9/+12 |
| * | | Fix an invalid mode parameters numeric upon attempting to view a list mode | B00mX0r | 2018-04-08 | 1 | -0/+4 |
| * | | Include modules/whois.h directly from files that use it. | Peter Powell | 2018-04-08 | 13 | -0/+13 |
| * | | 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 | 14 | -22/+60 |
| * | | 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 | 2 | -59/+142 |
| * | | 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 |
| * | | Prioritize checking for +ikl last to match previous behavior (#1474). | Dylan Frank | 2018-03-31 | 1 | -0/+1 |
| * | | Move <security:announceinvites> to core_channel. | Peter Powell | 2018-03-31 | 4 | -15/+35 |
| * | | Move checking for +ikl from the core to to core_channel. | Peter Powell | 2018-03-31 | 2 | -38/+49 |