| Commit message (Expand) | Author | Age | Files | Lines |
| * | 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>
| Peter Powell | 2018-07-12 | 1 | -3/+0 |
| * | Add InspIRCd::IsHost for checking the validity of hostnames. | Peter Powell | 2018-07-10 | 1 | -0/+6 |
| * | Add a ConfigTag::getString overload that calls a validation method. | Peter Powell | 2018-07-10 | 1 | -0/+2 |
| * | Add a silent option to <options:restrictbannedusers>.•••This is useful when dealing with spambots that switch method when
they receive ERR_CANNOTSENDTOCHAN.
| Peter Powell | 2018-07-10 | 1 | -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. | Chris Novakovic | 2018-06-04 | 1 | -0/+12 |
| * | Move a bunch of optional module numerics to the module source file. | Peter Powell | 2018-04-22 | 1 | -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.
| Peter Powell | 2018-04-22 | 1 | -3/+0 |
| * | Merge tag 'v2.0.26' into master. | Peter Powell | 2018-04-22 | 1 | -1/+6 |
| |\ |
|
| | * | Remove swhois messages set in the oper block on deoper.•••Closes #1240.
| Peter Powell | 2018-04-09 | 1 | -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.
| Peter Powell | 2018-04-16 | 1 | -1/+10 |
| * | | Add range checking to ConfigTag::getFloat. | Peter Powell | 2018-04-16 | 2 | -1/+2 |
| * | | Add ConfigTag::getUInt for reading unsigned config values. | Peter Powell | 2018-04-16 | 1 | -0/+2 |
| * | | Convert ConfigTag::getDuration to return an unsigned long. | Peter Powell | 2018-04-16 | 1 | -1/+1 |
| * | | Convert ConfigTag::CheckRange to a function template. | Peter Powell | 2018-04-16 | 1 | -10/+0 |
| * | | Remove the default value in ConfigTag::get{Duration,Float,Int}. | Peter Powell | 2018-04-16 | 1 | -3/+3 |
| * | | Replace the remaining use of irc::string with irc::find. | Peter Powell | 2018-04-16 | 1 | -49/+7 |
| * | | Change ServerInfo::gecos to description | genius3000 | 2018-04-11 | 2 | -2/+2 |
| * | | Fix an invalid mode parameters numeric upon attempting to view a list mode | B00mX0r | 2018-04-08 | 1 | -0/+9 |
| * | | Include modules/whois.h directly from files that use it. | Peter Powell | 2018-04-08 | 1 | -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.
| Peter Powell | 2018-04-08 | 3 | -9/+19 |
| * | | SQL: Add HasColumn() to check if a result contains a named column. | Daniel Vassdal | 2018-04-07 | 1 | -0/+9 |
| * | | Move <security:announceinvites> to core_channel. | Peter Powell | 2018-03-31 | 1 | -8/+1 |
| * | | Ignore expired or invalid client certificates (#1468).•••Fixes #1345. | Dylan Frank | 2018-03-29 | 1 | -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. | Dylan Frank | 2018-03-25 | 1 | -6/+0 |
| * | | Fix building on Windows (mostly). | Peter Powell | 2018-02-17 | 3 | -24/+2 |
| * | | Add names for a bunch of numerics. | Peter Powell | 2018-02-02 | 1 | -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.
| Peter Powell | 2018-01-29 | 3 | -27/+55 |
| * | | Pass an irc::socket::sockaddrs to SocketEngine::SendTo(). | Peter Powell | 2018-01-20 | 1 | -3/+2 |
| * | | Pass an irc::socket::sockaddrs to SocketEngine::Connect(). | Peter Powell | 2018-01-20 | 1 | -3/+2 |
| * | | Fix some minor Doxygen errors. | Peter Powell | 2018-01-14 | 1 | -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.
| Peter Powell | 2018-01-06 | 3 | -59/+153 |
| * | | Fix m_chanhistory sending the history notice directly to the user.•••Closes #1452.
| Peter Powell | 2018-01-03 | 1 | -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.
| Peter Powell | 2018-01-03 | 3 | -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.
| Peter Powell | 2017-12-23 | 1 | -5/+0 |
| * | | Improve and modernize the SQL system API.•••- Move everything into the SQL namespace and drop the SQL prefix.
- Move SQLProvider::PopulateUserInfo to SQL::PopulateUserInfo.
- Rename SQLEntry to SQL::Field and clean up.
- Rename SQLEntries to SQL::Row.
- Rename SQLerror to SQL::Error and clean up.
- Rename SQLerrorNum to SQL::ErrorCode and drop the SQL_ prefix.
- Rename ParamL to SQL::ParamList.
- Rename ParamM to SQL::ParamMap;
- Make implementing SQLQuery::OnError mandatory.
- Redo most of the documentation in the sql header.
| Peter Powell | 2017-12-22 | 1 | -80/+155 |
| * | | Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics•••Per #1122
| B00mX0r | 2017-12-22 | 2 | -3/+15 |
| * | | Rename <security:hidewhois> to <security:hideserver>.•••The previous name was horrible and didn't describe what the setting
actually does.
| Peter Powell | 2017-12-22 | 1 | -3/+2 |
| * | | Add SHUN as a /filter action•••This resolves #483
| B00mX0r | 2017-12-21 | 1 | -0/+70 |
| * | | Extract RFC modes from the core to core_channel and core_user. | Peter Powell | 2017-12-10 | 2 | -122/+0 |
| * | | 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.
| Peter Powell | 2017-12-09 | 1 | -4/+0 |
| * | | Move OnSync{Channel,Network,User} to ServerEventListener. | Peter Powell | 2017-12-03 | 2 | -33/+24 |
| * | | Rename the spanningtree module header to server.•••In the future we will have server linking modules that are not the
spanningtree module.
| Peter Powell | 2017-12-03 | 1 | -3/+3 |
| * | | Convert the remaining things away from the caller/handler API. | Peter Powell | 2017-11-25 | 4 | -376/+10 |
| * | | Convert GenRandom to std::function. | Peter Powell | 2017-11-25 | 1 | -6/+8 |
| * | | Convert IsChannel to std::function. | Peter Powell | 2017-11-25 | 1 | -7/+9 |
| * | | Convert IsIdent to std::function. | Peter Powell | 2017-11-25 | 1 | -7/+9 |
| * | | Convert IsNick to std::function. | Peter Powell | 2017-11-25 | 2 | -7/+10 |
| * | | Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs.
| Peter Powell | 2017-11-21 | 17 | -79/+79 |
| * | | Fix a ton of -Wsign-conversion warnings. | Peter Powell | 2017-11-17 | 10 | -21/+26 |
| * | | Add events which are fired when a service is added or deleted. | Attila Molnar | 2017-11-16 | 1 | -0/+11 |