summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2017-10-21Add PackageInfo directives for Debian.Peter Powell
2017-10-21Add a helper function for calling the OnCheckExemption event.Peter Powell
2017-10-19Switch from std::stringstream to irc::spacesepstream.Peter Powell
The latter is more suited to the things we have previously been using std::stringstream for.
2017-10-18Add a constructor to OperInfo and use it to set the type name.Peter Powell
2017-10-18Clean 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-16Un-constify the private fields of WebIRCHost.Peter Powell
These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list.
2017-10-15Rewrite the configuration documentation for m_cgiirc.Peter Powell
2017-10-15Add support for WEBIRC blocks authenticating using client certs.Peter Powell
2017-10-15Show the gateway, realhost, and realip in WHOIS for cgiirc clients.Peter Powell
This mirrors a similar feature in ircd-hybrid but using a different numeric that is not already taken in InspIRCd.
2017-10-15Clean up the WEBIRC command handler.Peter Powell
- Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators.
2017-10-15Add support for hashed WebIRC passwords to m_cgiirc.Peter Powell
2017-10-15Rewrite the m_cgiirc configuration handling.Peter Powell
- Store ident hosts separately to WebIRC hosts. - Throw exceptions when the configuration is invalid.
2017-10-15Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.Peter Powell
- INSPIRCD_SOCKETENGINE_NAME is not really something that needs to be user facing. If opers want to know this kind of internal info then they can look at the build configuration. - INSPIRCD_SYSTEM causes problems for reproducible builds and is only accurate for the state of the system when InspIRCd is built which is not useful in the slightest.
2017-10-12Merge the latest changes from insp20 into master.Peter Powell
2017-10-12Merge pull request #1361 from genius3000/master+rline_IPPeter Powell
Make RLines match against IP as well as host
2017-10-12Merge pull request #1353 from SISheogorath/master+domainpart-cloakingPeter Powell
Make domainparts in m_cloaking configureable.
2017-10-12Fix a broken distro constraint in the m_ssl_gnutls PackageInfo.Peter Powell
2017-10-12Clean up m_sasl slightly by making SendSASL take common params.Peter Powell
Also, fix a minor issue caused by the last insp20 merge.
2017-10-12Send ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.Peter Powell
2017-10-11Include connection security with the SASL host information.Peter Powell
See atheme/atheme@b41753f740 for more details.
2017-10-11Don't abort the SASL authentication in OnUserConnect.Peter Powell
SASL-3.2 allows SASL auth to happen post-registration so this is no longer correct.
2017-10-11Get rid of ReadCGIIRCExt() in m_sasl.Peter Powell
This is unnecessary since 852dd0337a.
2017-10-11Make domainparts configureableSheogorath
2017-10-10Make RLines match against IP as well as hostgenius3000
2017-10-11Convert the AUTHENTICATE handler to use SplitCommand.Peter Powell
2017-10-11Add a constant for the 477 numeric (ERR_NEEDREGGEDNICK).Peter Powell
2017-10-11Send RPL_LOGGEDOUT to clients when they log out of their account.Peter Powell
2017-10-01Switch the WEBIRC command to use SplitCommand.Peter Powell
2017-09-27Remove support for the pass, passfirst, identfirst cgiirc types.Peter Powell
These methods are not supported by any widely used gateways that I can find. If your gateway uses this then you should rewrite it to use the webirc method. For more details see the IRCv3 WEBIRC specification at http://ircv3.net/specs/extensions/webirc.html.
2017-09-18Convert Disabled[CU]Modes to use a bitset instead of a char array.Peter Powell
2017-09-12Store the server endpoint as a sockaddrs in ListenSocket.Peter Powell
2017-09-12Get rid of irc::sockets::satoap().Peter Powell
This function is being misused in all but one scenario. It isn't really worth keeping IMO.
2017-09-09Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Peter Powell
2017-09-08Implement support for configurable casemapping & default to ASCII.Peter Powell
2017-09-06Convert uncontroversial anonymous numerics to use constants.Peter Powell
2017-09-03Add support for length arguments in getString.Peter Powell
2017-09-03Convert a bunch of time-related config options to getDuration.Peter Powell
2017-08-27Remove module file extensions from user-visible messages.Peter Powell
2017-08-25Fix mistakenly hardcoding the halfop prefix char in timedbans.Peter Powell
This will almost always be % but if the server admin is using the customprefix module and remaps it to something else messages will not be sent out correctly.
2017-08-16m_chghost: use an iterator instead of a NULL-checking loop.Peter Powell
2017-08-16m_sethost: check the length first for consistency with CHGHOST.Peter Powell
2017-08-16m_sethost: use length() instead of counting in the loop.Peter Powell
2017-08-13Remove <alias:matchcase> and associated code.Peter Powell
This was never documented and seems pretty useless.
2017-08-11Use RPL_LUSEROP instead of the raw numeric in m_hideoper.Peter Powell
2017-08-11Fix a broken distro constraint in the m_ssl_openssl PackageInfo.Peter Powell
2017-08-06Purge code for Windows XP and MSVC pre-2015.Peter Powell
2017-08-05Merge pull request #1351 from SaberUK/master+webircPeter Powell
Allow filtering WebIRC connections into a connect class by gateway.
2017-07-27Merge pull request #1271 from SaberUK/master+exemptionPeter Powell
Move the OnCheckExemption hook out of the core.
2017-07-12Merge pull request #1270 from SaberUK/master+saslPeter Powell
Always append the SSL fingerprint even if EXTERNAL is not used.
2017-07-12Remove an unused variable in m_cloaking.Peter Powell