summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2018-12-16Fix ParamModeBase::OnUnset() not being virtual.Peter Powell
Closes #1536.
2018-12-13Store durations as unsigned long not long in XLine and m_filter.Peter Powell
2018-12-12Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Peter Powell
The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
2018-12-12Reject setting modes which are null or not registered.Peter Powell
2018-12-09Move some config parser-internal types out of the public header.Peter Powell
2018-12-09Use consistent numerics when a mode already exists or doesn't exist.Peter Powell
2018-12-09Allow modules to check if a user is on a callerid accept list.Peter Powell
2018-12-04Add an option for changing the allowed server clock drift.Peter Powell
2018-11-26Only check if a SSL cert is usable if we're getting the fp.Peter Powell
2018-11-24Move IsValidDuration into the core.Peter Powell
2018-11-15Fix the OnSendWhoLine event being completely broken with WHOX.Peter Powell
2018-11-04Implement support for WEBIRC attributes.Peter Powell
2018-10-25Allow HAProxy to specify that a client is connecting with SSL.Peter Powell
2018-10-25Store the type of a StreamSocket within itself.Peter Powell
Similar to with IOHooks this allows you to convert StreamSocket to a UserIOHandler quickly.
2018-10-21Fix warnings from Doxygen.Peter Powell
2018-10-18Fix unregistered user modes thinking they are enabled.Peter Powell
2018-10-01Move <security:userstats> into core_stats.Peter Powell
2018-10-01Move <security:hidesplits> to the spanningtree module.Peter Powell
2018-10-01Move <security:genericoper> into core_whois.Peter Powell
2018-10-01Move <security:hideulinekills> into core_oper.Peter Powell
2018-10-01Move <security:hidekills> into core_oper.Peter Powell
2018-10-01Document ServerConfig::Conf{Tags,Value} better.Peter Powell
2018-10-01Fix the chanhistory module being inconsistent across servers.Peter Powell
Closes #331.
2018-09-23Switch all core modules still using COMMAND_INIT to MODULE_INIT.Peter Powell
2018-09-23Don't sync xlines defined in the config and expire them on rehash.Peter Powell
Closes #1427.
2018-09-11Amend OnPostCommand to specify whether the command is loopcalled.Peter Powell
This restores previous behaviour which was lost when the original line parameter was removed.
2018-08-26Implement proper CTCP parsing in MessageDetails.Peter Powell
2018-08-22Send the 001-004 numerics and MOTD/LUSERS from core_info.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-15Fix aliases that resolve to messages echoing with echo-message.Peter Powell
Fixes #1459.
2018-08-14Fix a bunch more conflicting/unnamed numerics.Peter Powell
2018-08-14Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Peter Powell
2018-08-14Remove the OnInfo event.Peter Powell
This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO.
2018-08-13Add support for the IRCv3 batch specification.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13Add support for the IRCv3 server-time specification.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13Add an accessor for the last mode change list to ModeParser.Peter Powell
GetLastParse will be going away soon.
2018-08-12Convert AWAY to use cross-module events and clean up slightly.Peter Powell
OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed.
2018-08-12Pass the Extensible container to ExtensionItem::free().Peter Powell
2018-08-10Move message parsing to ProcessBuffer and fix edge cases in it.Peter Powell
2018-08-10Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.Peter Powell
This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously.
2018-08-10Remove the integer overloads of irc::tokenparser::GetToken().Peter Powell
The int overload was never used and the long overload was used in one place.
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
2018-07-31Remove support for static modules.Peter Powell
This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries.
2018-07-30Rename User::fullname to realname and make it private.Peter Powell
2018-07-30Replace most usages of "name" with "real" or "real name".Peter Powell
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
2018-07-26Replace irc::stringjoiner with a generic stdalgo::string::join.Peter Powell
This can also be used with different types of collection containing values which are not a string.
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-07-26Add a module which implements the HAProxy PROXY v2 protocol.Peter Powell
2018-07-24Rename IntModuleList to Module::List.Peter Powell