Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-06 | Re-order the includes to fix C++03 builds. | nia | |
inspircd.h defines __STDC_LIMIT_MACROS to ensure that C99 int type limits are defined, however, if <stdint.h> is included implicitly before inspircd.h, the build fails due to the C99 integer type limits being undefined. | |||
2019-04-19 | Remove the OnNamesListItem event out of the core. | Peter Powell | |
2019-04-04 | Document OnUserInit properly and add OnUserPostInit. | Peter Powell | |
2019-02-20 | Split reading module initialisation and configuration reading. | Peter Powell | |
This allows modules to register services that other modules may require to be available when reading the configuration. | |||
2019-02-05 | Delete the old broken test suite. | Peter Powell | |
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. | |||
2019-02-05 | Module: Initialise 'ModuleDLLManager' and 'dying' correctly. | Peter Powell | |
2018-11-15 | Fix the OnSendWhoLine event being completely broken with WHOX. | Peter Powell | |
2018-09-11 | Amend 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-14 | Rename OnChangeLocalUserHost to OnPreChangeHost for consistency. | Peter Powell | |
2018-08-14 | Remove 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-13 | Implement IRCv3 message tag support. | Peter Powell | |
Co-authored-by: Attila Molnar <attilamolnar@hush.com> | |||
2018-08-12 | Convert 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-10 | Remove 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-30 | Replace most usages of "name" with "real" or "real name". | Peter Powell | |
2018-07-30 | Replace most usages of "GECOS" with "real" or "real name". | Peter Powell | |
2018-07-26 | Use 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-04-22 | Merge tag 'v2.0.26' into master. | Peter Powell | |
2018-04-16 | Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked. | Peter Powell | |
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. | |||
2018-04-09 | Remove swhois messages set in the oper block on deoper. | Peter Powell | |
Closes #1240. | |||
2018-04-08 | Move OnStats from the core to a cross-module event. | Peter Powell | |
Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. | |||
2018-01-06 | Rework message handling. | Peter Powell | |
- 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. | |||
2017-12-03 | Move OnSync{Channel,Network,User} to ServerEventListener. | Peter Powell | |
2017-11-25 | Convert the remaining things away from the caller/handler API. | Peter Powell | |
2017-11-21 | Add the override keyword in places that it is missing. | Peter Powell | |
GCCs warnings for this are much better than Clangs. | |||
2017-11-16 | Add events which are fired when a service is added or deleted. | Attila Molnar | |
2017-10-26 | ConfigReader: fix compilers optimizing NULL check in ConfigTag::readString() | Adam | |
See: 66f82ccf926aac39273bfc652c85c08080cc9a46 Fixes inspircd/inspircd-extras#110 | |||
2017-10-18 | Clean up OnCleanup. | Peter Powell | |
- 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 | Ignore <module> tags for modules that are already loaded. | Peter Powell | |
This allows us to do user friendly things like loading the alias module in the example alias files. | |||
2016-08-29 | Unregister modes before unhooking extensions when unloading a module | Attila Molnar | |
Listmodes store their list in an extension that must be present when they are unset to show the modes being unset | |||
2016-08-29 | Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and ↵ | Attila Molnar | |
extract into a method | |||
2016-02-26 | Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric ↵ | Attila Molnar | |
objects to the OnSendWhoLine hook | |||
2016-02-26 | Return ModResult from the OnSendWhoLine hook | Attila Molnar | |
2016-02-25 | Introduce Stats::Context, pass it to the OnStats hook and switch all code to it | Attila Molnar | |
2016-02-25 | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵ | Attila Molnar | |
parameters | |||
2015-12-06 | Add minimum channel rank and exception list parameters to the OnUserInvite hook | Attila Molnar | |
2015-12-02 | Merge branch 'master+serviceinit' | Attila Molnar | |
2015-11-26 | Handle module reloading in core_reloadmodule entirely | Attila Molnar | |
2015-11-23 | Implement ExtensionItem::RegisterService() | Attila Molnar | |
2015-11-23 | Implement ModeHandler::RegisterService() | Attila Molnar | |
2015-11-23 | Implement Command::RegisterService() | Attila Molnar | |
2015-11-23 | Add ServiceProvider::RegisterService(), call it from ModuleManager::AddService() | Attila Molnar | |
2015-11-23 | Extract code that manipulates the ModuleManager::DataProviders map into methods | Attila Molnar | |
2015-05-22 | Fix some oversights | Attila Molnar | |
2015-05-20 | Allow modules to be called as "foo" instead of "m_foo.so" | Attila Molnar | |
2015-05-12 | Remove support for non-unloadable (VF_STATIC) modules | Attila Molnar | |
No module we ship uses this flag and new modules should not use it either to make hotfixing possible | |||
2015-04-28 | Move OnWhois* events to core_whois, add Whois::Context | Attila Molnar | |
Remove InspIRCd::SendWhoisLine() | |||
2015-02-15 | Eliminate constant return value of the all events version of ↵ | Attila Molnar | |
ModuleManager::SetPriority() | |||
2015-02-15 | Remove I_BEGIN from enum Implementation | Attila Molnar | |
2015-02-11 | Remove class Event and the OnEvent hook | Attila Molnar | |
2015-02-11 | Allow dynrefs to have an OnCapture() hook | Attila Molnar | |