summaryrefslogtreecommitdiff
path: root/include/modules
AgeCommit message (Collapse)Author
2019-07-25Add support for the IRCv3 standard replies extension.Peter Powell
This extension provides a framework for other extensions to send standard replies to clients as an alternative to numerics.
2019-07-22Add the time tag on the server the message originates from.Peter Powell
2019-07-19Add an event for adding tags to S2S messages.Peter Powell
2019-07-15Split ServerEventListener into {Broadcast,Link,Sync}EventListener.Peter Powell
There is no reason to have these events in one big handler and it causes unnecessary event hooks to be created by having them like this. The ServerEventListener class still exists for compatibility
2019-06-12Add an API for accessing a batch end event.Peter Powell
This is essentially identical to the one for the start event.
2019-06-11Fix echo-message replies being considered a side effect.Peter Powell
2019-06-07Implement support for millisecond level server-time accuracy.Peter Powell
2019-05-13Allow SSLIOHook instances to override Get{Certificate,Fingerprint}.Peter Powell
2019-04-19Remove the OnNamesListItem event out of the core.Peter Powell
2019-04-15Replace the geoip module with geo_maxmind, geoban, and geoclass.Peter Powell
MaxMind have EOL'd the library that the geoip module uses and have replaced it with libmaxminddb. The geoip module has been split into geo_maxmind which provides geolocation data, geoban which provides location-based channel bans, and geoclass which is used to filter a user into a connect class based on location.
2019-03-30Rename OnClientProtocolPopulateTags to OnPopulateTags.Peter Powell
2019-03-12Rename GetFlagIndex -> GetFieldIndexlinuxdaemon
2019-03-12Add Who::Request::GetFlagIndex to get field indexlinuxdaemon
Replaces the dirty logic in m_hideoper and m_namesx
2019-02-19Implement support for IRCv3 client-to-client tags.Peter Powell
2019-02-14WriteNeighborsWithCap: add the ability to send to the origin user.Peter Powell
2019-02-06Expand searching in m_httpd_stats, add global handling of GET parameters (#1566)linuxdaemon
2019-02-01Fix a minor typo in ssl.hB00mX0r
2019-01-24Remove trailing whitespace from various source files.Peter Powell
2019-01-24Fix overriding <options:exemptchanops> with the exemptchanops mode.Peter Powell
Closes #1558.
2018-12-13Store durations as unsigned long not long in XLine and m_filter.Peter Powell
2018-12-09Allow modules to check if a user is on a callerid accept list.Peter Powell
2018-11-26Only check if a SSL cert is usable if we're getting the fp.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-01Fix the chanhistory module being inconsistent across servers.Peter Powell
Closes #331.
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-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-07-30Rename User::fullname to realname and make it private.Peter Powell
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
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-04-08Move 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-04-07SQL: Add HasColumn() to check if a result contains a named column.Daniel Vassdal
2018-03-29Ignore expired or invalid client certificates (#1468).Dylan Frank
Fixes #1345.
2018-02-17Fix building on Windows (mostly).Peter Powell
2018-01-03Make 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-22Improve 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-21Add SHUN as a /filter actionB00mX0r
This resolves #483
2017-12-03Move OnSync{Channel,Network,User} to ServerEventListener.Peter Powell
2017-12-03Rename 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-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-10-29Add support to IOHook for retrieving the hostname sent via SNI.Peter Powell
2017-10-28Hide 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-21Add a helper function for calling the OnCheckExemption event.Peter Powell
2017-09-03Move <dns:timeout> out of the core.Peter Powell
2017-07-27Merge pull request #1271 from SaberUK/master+exemptionPeter Powell
Move the OnCheckExemption hook out of the core.
2017-04-23core_dns: add support for txt recordsAdam
This might be used later by m_dnsbl to get reasons for listings
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell