Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-03 | Make InspIRCd::Format return std::string instead of const char*. | Peter Powell | |
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. | |||
2017-12-22 | Improve and modernize the SQL system API. | Peter Powell | |
- 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-21 | Add SHUN as a /filter action | B00mX0r | |
This resolves #483 | |||
2017-12-03 | Move OnSync{Channel,Network,User} to ServerEventListener. | Peter Powell | |
2017-12-03 | Rename the spanningtree module header to server. | Peter Powell | |
In the future we will have server linking modules that are not the spanningtree module. | |||
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-10-29 | Add support to IOHook for retrieving the hostname sent via SNI. | Peter Powell | |
2017-10-28 | Hide User#host and User#dhost and use accessors to modify them. | Peter Powell | |
This removes the need to invalidate the cache after changing a user's hostname. | |||
2017-10-21 | Add a helper function for calling the OnCheckExemption event. | Peter Powell | |
2017-09-03 | Move <dns:timeout> out of the core. | Peter Powell | |
2017-07-27 | Merge pull request #1271 from SaberUK/master+exemption | Peter Powell | |
Move the OnCheckExemption hook out of the core. | |||
2017-04-23 | core_dns: add support for txt records | Adam | |
This might be used later by m_dnsbl to get reasons for listings | |||
2017-03-20 | Move the OnCheckExemption hook out of the core. | Peter Powell | |
2016-09-02 | Fix Windows build and most MSVC warnings | Attila Molnar | |
2016-08-25 | core_dns Make question a member of request, move common FindAnswerOfType to ↵ | Adam | |
be a member of query | |||
2016-04-28 | Export the GetCiphersuite() method from the SSL modules | Attila Molnar | |
2016-04-28 | Add SSLIOHook::IsSSL() to determine whether a socket is using SSL or not | Attila Molnar | |
Use it in a few places | |||
2016-02-25 | Fix oversight in the last Stats::Context:AddRow() method | 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 WhoisContext::SendLine() calls to pass the parameters of the numeric ↵ | Attila Molnar | |
as method parameters | |||
2015-12-05 | m_ircv3 Make WriteNeighborsWithCap() available for use in other modules | Attila Molnar | |
2015-12-05 | m_cap Make Capability objects compatible with dynamic_references, add ↵ | Attila Molnar | |
Cap::Reference | |||
2015-12-05 | m_cap Specialize extension item | Attila Molnar | |
2015-12-05 | m_cap Provide the OnCapValueChange event and add ↵ | Attila Molnar | |
Cap::Manager::NotifyValueChange() | |||
2015-12-05 | m_cap Provide the OnCapAddDel() event | Attila Molnar | |
2015-12-05 | m_cap Add Capability::GetCapValue(), list capabilities with values | Attila Molnar | |
2015-12-05 | m_cap Learn the supported capability negotiation protocol of a client from ↵ | Attila Molnar | |
CAP LS Let modules implementing caps query this information | |||
2015-12-05 | m_cap Add Capability::OnList() hook | Attila Molnar | |
2015-12-05 | m_cap Add Capability::OnRequest() hook | Attila Molnar | |
2015-12-05 | Add rewritten m_cap module | Attila Molnar | |
- Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps | |||
2015-12-05 | Nuke m_cap | Attila Molnar | |
2015-11-26 | core_reloadmodule Allow modules to handle reload failures of other mods | Attila Molnar | |
2015-11-26 | core_reloadmodule Allow modules to save and restore their own data when ↵ | Attila Molnar | |
reloading another mod | |||
2015-11-02 | core_channel Implement invite (un)serialization | Attila Molnar | |
2015-11-02 | Rewrite invite system | Attila 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-06 | Fail invalid dns responses instead of drop | Adam | |
2015-06-06 | Call OnStreamSocketWrite() once per write event | Attila Molnar | |
Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core | |||
2015-05-18 | New m_ldap from Anope | Adam | |
Redesign to be more like m_mysql, polling ldap_result from a thread as done previously is undefined. | |||
2015-05-13 | core_dns Add DNS timeout timer in Process() not in DNS::Request constructor | Attila Molnar | |
2015-05-13 | core_dns Make MAX_REQUEST_ID unsigned, move it to core_dns from header | Attila Molnar | |
2015-04-28 | Move OnWhois* events to core_whois, add Whois::Context | Attila Molnar | |
Remove InspIRCd::SendWhoisLine() | |||
2015-04-27 | core_dns Drop incoming packets containing a different question from what we ↵ | Attila Molnar | |
asked | |||
2015-04-21 | core_dns Remove incomplete support for multiple questions per query | Attila Molnar | |
2015-04-21 | core_dns Don't store query class code in Question | Attila Molnar | |
2015-04-21 | core_dns Add typedef for request id, change it to uint16_t | Attila Molnar | |
2015-03-06 | Fix building modules that use cap.h with a C++11 compiler. | Peter Powell | |
2015-02-12 | m_spanningtree Pass Server* to the OnServerLink/OnServerSplit events | Attila Molnar | |
2015-02-11 | Convert the spanningtree events to use the new cross-module event system | Attila Molnar | |
2015-02-11 | Remove unused parameters from HTTPRequest constructor | Attila Molnar | |
2015-02-11 | Convert the HTTPd request event to use the new cross-module event system | Attila Molnar | |