summaryrefslogtreecommitdiff
path: root/include/modules
AgeCommit message (Collapse)Author
2016-09-02Fix Windows build and most MSVC warningsAttila Molnar
2016-08-25core_dns Make question a member of request, move common FindAnswerOfType to ↵Adam
be a member of query
2016-04-28Export the GetCiphersuite() method from the SSL modulesAttila Molnar
2016-04-28Add SSLIOHook::IsSSL() to determine whether a socket is using SSL or notAttila Molnar
Use it in a few places
2016-02-25Fix oversight in the last Stats::Context:AddRow() methodAttila Molnar
2016-02-25Introduce Stats::Context, pass it to the OnStats hook and switch all code to itAttila Molnar
2016-02-25Convert WhoisContext::SendLine() calls to pass the parameters of the numeric ↵Attila Molnar
as method parameters
2015-12-05m_ircv3 Make WriteNeighborsWithCap() available for use in other modulesAttila Molnar
2015-12-05m_cap Make Capability objects compatible with dynamic_references, add ↵Attila Molnar
Cap::Reference
2015-12-05m_cap Specialize extension itemAttila Molnar
2015-12-05m_cap Provide the OnCapValueChange event and add ↵Attila Molnar
Cap::Manager::NotifyValueChange()
2015-12-05m_cap Provide the OnCapAddDel() eventAttila Molnar
2015-12-05m_cap Add Capability::GetCapValue(), list capabilities with valuesAttila Molnar
2015-12-05m_cap Learn the supported capability negotiation protocol of a client from ↵Attila Molnar
CAP LS Let modules implementing caps query this information
2015-12-05m_cap Add Capability::OnList() hookAttila Molnar
2015-12-05m_cap Add Capability::OnRequest() hookAttila Molnar
2015-12-05Add rewritten m_cap moduleAttila Molnar
- Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps
2015-12-05Nuke m_capAttila Molnar
2015-11-26core_reloadmodule Allow modules to handle reload failures of other modsAttila Molnar
2015-11-26core_reloadmodule Allow modules to save and restore their own data when ↵Attila Molnar
reloading another mod
2015-11-02core_channel Implement invite (un)serializationAttila Molnar
2015-11-02Rewrite invite systemAttila Molnar
- Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
2015-07-06Fail invalid dns responses instead of dropAdam
2015-06-06Call OnStreamSocketWrite() once per write eventAttila Molnar
Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core
2015-05-18New m_ldap from AnopeAdam
Redesign to be more like m_mysql, polling ldap_result from a thread as done previously is undefined.
2015-05-13core_dns Add DNS timeout timer in Process() not in DNS::Request constructorAttila Molnar
2015-05-13core_dns Make MAX_REQUEST_ID unsigned, move it to core_dns from headerAttila Molnar
2015-04-28Move OnWhois* events to core_whois, add Whois::ContextAttila Molnar
Remove InspIRCd::SendWhoisLine()
2015-04-27core_dns Drop incoming packets containing a different question from what we ↵Attila Molnar
asked
2015-04-21core_dns Remove incomplete support for multiple questions per queryAttila Molnar
2015-04-21core_dns Don't store query class code in QuestionAttila Molnar
2015-04-21core_dns Add typedef for request id, change it to uint16_tAttila Molnar
2015-03-06Fix building modules that use cap.h with a C++11 compiler.Peter Powell
2015-02-12m_spanningtree Pass Server* to the OnServerLink/OnServerSplit eventsAttila Molnar
2015-02-11Convert the spanningtree events to use the new cross-module event systemAttila Molnar
2015-02-11Remove unused parameters from HTTPRequest constructorAttila Molnar
2015-02-11Convert the HTTPd request event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the HTTPd ACL event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the SASL fallback event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the CAP event to use the new cross-module event systemAttila Molnar
2015-02-11Allow enabling/disabling caps via GenericCap::SetActive()Attila Molnar
2015-02-11Convert the account login event to use the new cross-module event systemAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-08-04Hashing: Redo APIDaniel Vassdal
* Don't assume the printable output of hashes is hex * Add virtual Compare() function, usable for KDFs like BCrypt Some changes and bugfixes are by @attilamolnar, original PR #767
2014-07-10Remove current time parameter of the Timer constructorAttila Molnar
2014-03-15Change allocation of InspIRCd::Timers to be physically part of the object ↵Attila Molnar
containing it
2014-01-30Allow Timers to delete themselves in Tick()Attila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()