aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules.h
Commit message (Collapse)AuthorAgeFilesLines
* Release v3.1.0. v3.1.0Gravatar Peter Powell2019-05-171-1/+1
|
* Bump the API revision for the previous commits.Gravatar Peter Powell2019-04-191-1/+1
|
* Remove the OnNamesListItem event out of the core.Gravatar Peter Powell2019-04-191-13/+1
|
* Bump the API revision for the previous commit.Gravatar Peter Powell2019-04-151-1/+1
|
* Fix various typos.Gravatar Peter Powell2019-04-041-1/+1
|
* Bump the API revision for the previous commit.Gravatar Peter Powell2019-04-041-1/+1
|
* Document OnUserInit properly and add OnUserPostInit.Gravatar Peter Powell2019-04-041-3/+12
|
* Document OnUserWrite.Gravatar Peter Powell2019-02-071-0/+6
|
* Release v3.0.0 release candidate 2. v3.0.0rc2Gravatar Peter Powell2019-02-061-1/+1
|
* Delete the old broken test suite.Gravatar Peter Powell2019-02-051-7/+0
| | | | | | This doesn't work properly and is disabled in both debug & release builds. It will be resurrected with a proper unit testing framework in the future.
* Release v3.0.0 release candidate 1. v3.0.0rc1Gravatar Peter Powell2019-01-071-1/+2
|
* Fix the OnSendWhoLine event being completely broken with WHOX.Gravatar Peter Powell2018-11-151-11/+1
|
* Fix warnings from Doxygen.Gravatar Peter Powell2018-10-211-1/+1
|
* Switch all core modules still using COMMAND_INIT to MODULE_INIT.Gravatar Peter Powell2018-09-231-2/+0
|
* Amend OnPostCommand to specify whether the command is loopcalled.Gravatar Peter Powell2018-09-111-1/+2
| | | | | This restores previous behaviour which was lost when the original line parameter was removed.
* Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Gravatar Peter Powell2018-08-141-2/+2
|
* Remove the OnInfo event.Gravatar Peter Powell2018-08-141-13/+1
| | | | | This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO.
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-3/+4
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Convert AWAY to use cross-module events and clean up slightly.Gravatar Peter Powell2018-08-121-11/+1
| | | | | | | 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.
* Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-101-4/+2
| | | | | | | | | 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.
* Remove support for static modules.Gravatar Peter Powell2018-07-311-23/+0
| | | | | | | | | 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.
* Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-301-2/+2
|
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-11/+11
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Rename IntModuleList to Module::List.Gravatar Peter Powell2018-07-241-9/+9
|
* Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-1/+6
|\
| * Remove swhois messages set in the oper block on deoper.Gravatar Peter Powell2018-04-091-2/+7
| | | | | | | | Closes #1240.
| * Don't exit on rehash if the pid file cannot be writtenGravatar Attila Molnar2016-06-171-1/+1
| |
* | Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked.Gravatar Peter Powell2018-04-161-1/+10
| | | | | | | | | | | | 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.
* | Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-081-8/+1
| | | | | | | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* | Fix building on Windows (mostly).Gravatar Peter Powell2018-02-171-22/+0
| |
* | Rework message handling.Gravatar Peter Powell2018-01-061-59/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Move OnSync{Channel,Network,User} to ServerEventListener.Gravatar Peter Powell2017-12-031-33/+4
| |
* | Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-1/+1
| | | | | | | | GCCs warnings for this are much better than Clangs.
* | Add events which are fired when a service is added or deleted.Gravatar Attila Molnar2017-11-161-0/+11
| |
* | Tweak the module flags in MODULES slightly.Gravatar Peter Powell2017-10-211-8/+17
| | | | | | | | | | | | Using unique letters for each flag makes it easier to read when using fonts which have similar glyphs for upper and lower case characters.
* | Clean up OnCleanup.Gravatar Peter Powell2017-10-181-9/+8
| | | | | | | | | | | | | | | | | | - 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.
* | Update a bunch of references to the old command modules.Gravatar Peter Powell2017-08-271-1/+1
| |
* | Fix a bunch of Doxygen warnings.Gravatar Peter Powell2017-08-261-1/+1
| |
* | Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | | | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* | Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-2/+2
| |
* | Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and ↵Gravatar Attila Molnar2016-08-291-0/+6
| | | | | | | | extract into a method
* | Remove unused EventHandlerIter typedefGravatar Attila Molnar2016-08-291-4/+0
| |
* | Remove virtual destructor of class VersionGravatar Attila Molnar2016-08-111-2/+0
| | | | | | | | No classes inherit from it and it is only used as the return value from Module::GetVersion() which returns it by value
* | Rename PURE_STATIC to INSPIRCD_STATIC.Gravatar Peter Powell2016-04-041-1/+1
| |
* | Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric ↵Gravatar Attila Molnar2016-02-261-2/+2
| | | | | | | | objects to the OnSendWhoLine hook
* | Return ModResult from the OnSendWhoLine hookGravatar Attila Molnar2016-02-261-2/+3
| |
* | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-6/+2
| |
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | | | | | parameters
* | Add minimum channel rank and exception list parameters to the OnUserInvite hookGravatar Attila Molnar2015-12-061-1/+3
| |