| Commit message (Expand) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix building on Windows (mostly). | 2018-02-17 | 3 | -24/+2 | |
| * | Add names for a bunch of numerics. | 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. | 2018-01-29 | 3 | -27/+55 | |
| * | Pass an irc::socket::sockaddrs to SocketEngine::SendTo(). | 2018-01-20 | 1 | -3/+2 | |
| * | Pass an irc::socket::sockaddrs to SocketEngine::Connect(). | 2018-01-20 | 1 | -3/+2 | |
| * | Fix some minor Doxygen errors. | 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. | 2018-01-06 | 3 | -59/+153 | |
| * | Fix m_chanhistory sending the history notice directly to the user.•••Closes #1452. | 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. | 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. | 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. | 2017-12-22 | 1 | -80/+155 | |
| * | Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics•••Per #1122 | 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. | 2017-12-22 | 1 | -3/+2 | |
| * | Add SHUN as a /filter action•••This resolves #483 | 2017-12-21 | 1 | -0/+70 | |
| * | Extract RFC modes from the core to core_channel and core_user. | 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. | 2017-12-09 | 1 | -4/+0 | |
| * | Move OnSync{Channel,Network,User} to ServerEventListener. | 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. | 2017-12-03 | 1 | -3/+3 | |
| * | Convert the remaining things away from the caller/handler API. | 2017-11-25 | 4 | -376/+10 | |
| * | Convert GenRandom to std::function. | 2017-11-25 | 1 | -6/+8 | |
| * | Convert IsChannel to std::function. | 2017-11-25 | 1 | -7/+9 | |
| * | Convert IsIdent to std::function. | 2017-11-25 | 1 | -7/+9 | |
| * | Convert IsNick to std::function. | 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. | 2017-11-21 | 17 | -79/+79 | |
| * | Fix a ton of -Wsign-conversion warnings. | 2017-11-17 | 10 | -21/+26 | |
| * | Add events which are fired when a service is added or deleted. | 2017-11-16 | 1 | -0/+11 | |
| * | Add a class which encapsulates the concept of token lists. | 2017-11-13 | 2 | -3/+68 | |
| * | Unite SSL service providers and SSL profile classes | 2017-11-13 | 1 | -2/+2 | |
| * | Merge tag 'v2.0.25' into master. | 2017-11-12 | 1 | -1/+1 | |
| |\ | |||||
| | * | Fix the command table not being case insensitive.•••This is not an issue normally but in some circumstances (e.g. when disabling commands) it can result in command lookups failing even when they exist. | 2017-10-16 | 1 | -1/+5 | |
| * | | Implement support for draft-brocklesby-irc-isupport-03 escapes. | 2017-11-09 | 1 | -0/+6 | |
| * | | Enable using m_customprefix to alter core prefix modes.•••This replaces the devoice module which has now been removed. If you want users to be able to devoice themselves then you can load the customprefix module add the following config tag: <customprefix name="voice" depriv="yes"> If you wish to keep identical behaviour rather than allowing users to use "MODE #YourChannel -v TheirNick" then you can load the alias module and add the following config tag: <alias text="DEVOICE" format="#*" replace="MODE $2 -v $nick"> | 2017-11-06 | 1 | -0/+9 | |
| * | | Move depriv from m_customprefix into PrefixMode. | 2017-11-06 | 2 | -0/+20 | |
| * | | Add support for setting the unset rank in ModeHandler. | 2017-11-06 | 2 | -8/+15 | |
| * | | Add support to IOHook for retrieving the hostname sent via SNI. | 2017-10-29 | 1 | -0/+7 | |
| * | | Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. | 2017-10-28 | 2 | -18/+27 | |
| * | | Change SetClientIP to take a C++ string instead of a char array. | 2017-10-27 | 1 | -2/+2 | |
| * | | Deduplicate error handling in the socket engines. | 2017-10-22 | 1 | -0/+3 | |
| * | | Convert GetMaxFds() to size_t and deduplicate setting code. | 2017-10-22 | 1 | -8/+11 | |
| * | | Remove CMD_EPERM as it is not used anywhere. | 2017-10-21 | 1 | -6/+9 | |
| * | | Tweak the module flags in MODULES slightly.•••Using unique letters for each flag makes it easier to read when using fonts which have similar glyphs for upper and lower case characters. | 2017-10-21 | 1 | -8/+17 | |
| * | | Add a helper function for calling the OnCheckExemption event. | 2017-10-21 | 1 | -0/+17 | |
| * | | Add a constructor to OperInfo and use it to set the type name. | 2017-10-18 | 1 | -0/+5 | |
| * | | Clean up OnCleanup.•••- Switch to using ExtensionItem::ExtensibleType for the type instead of TargetTypeFlags. - Pass the extensible to OnCleanup as an Extensible pointer instead of a void pointer. - Call OnCleanup for memberships as well as channels and users. - Rewrite event documentation to remove outdated references. | 2017-10-18 | 1 | -9/+8 | |
| * | | Clean up the command disabling logic.•••- Read the disabled command list in ApplyDisabledCommands() instead of storing it in a global which is only accessed on rehash. - Write debug messages to the log when disabling commands. - Use irc::spacesepstream instead of std::stringstream. | 2017-10-17 | 1 | -7/+2 | |
| * | | Merge the latest changes from insp20 into master. | 2017-10-12 | 1 | -2/+0 | |
| |\| | |||||
| | * | Use DLLManager::RetrieveLastError() on all platforms.•••This prevents a bug where we send malformed messages to the client when dlerror() returns an error message containing more than one line. This has been observed on macOS but probably will happen on other UNIX systems too. This also fixes a potential problem where dlerror() returns NULL and converting it to std::string causes a crash. I can't see any way that this might happen but it is better to be safe than sorry. | 2017-08-26 | 1 | -2/+0 | |
| * | | Fix RPL_SERVERVERSION treating the modes as a single parameter. | 2017-10-04 | 1 | -4/+4 | |
| * | | Convert Disabled[CU]Modes to use a bitset instead of a char array. | 2017-09-18 | 1 | -2/+2 | |
| * | | Add ModeParser::IsModeChar to standardise mode validation. | 2017-09-18 | 1 | -0/+2 | |
