summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-04Use a consistent naming scheme for operator privileges.Peter Powell
- users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf.
2019-04-04Fix various typos.Peter Powell
2019-04-04Bump the API revision for the previous commit.Peter Powell
2019-04-04Document OnUserInit properly and add OnUserPostInit.Peter Powell
2019-04-04Use SQUERY instead of PRIVMSG in alias/passforward config.Peter Powell
2019-04-03Merge extras/m_privdeaf into m_deaf and update documentation.Matt Schatz
- Merge the 2.0 extras module m_privdeaf (usermode +D for deaf to user messages and notices) as they have a similar purpose. - Improve the channel deaf logic where a known case of bypassing still looped the channel userlist building an empty exemption list. - Improve the comments within the code. - Update the documentation with the previously undocumented configuration to deaf and the new privdeaf configuration.
2019-04-02m_commonchans: Replace IsOper() with HasPrivPermission() instead.Robby
2019-03-30Rename OnClientProtocolPopulateTags to OnPopulateTags.Peter Powell
2019-03-30Mark messages with inspircd.org/bot if the user has +B set.Peter Powell
2019-03-25m_permchannels: validate channel names properly.Peter Powell
2019-03-24Add the User and Group options to the systemd service unit template file.Robby
2019-03-20Strip message tags correctly in the 1202 spanningtree compat layer.Peter Powell
2019-03-14Fix the link to the http_parser vendor page.Peter Powell
2019-03-14Update most URLs to use HTTPS and fix some dead links.Robby
2019-03-14Generate the ssl_cert metadata before bursting a connecting user.Peter Powell
2019-03-14Check perms for removal of oper-only channel modes.Matt Schatz
Oper-only channel modes are currently unsettable by any channel op, oper or not. Correct this by checking both directions of an oper-only channel mode and continue only checking the setting of an oper-only user mode. As anyone should be able to unset their own user modes and UnOper() removes all oper-only user modes automatically.
2019-03-14Add oper privs to allow overriding noctcp.Matt Schatz
2019-03-14Fix incorrect ModResult for noctcp user target.Matt Schatz
2019-03-12Add SSL flag to WHO responselinuxdaemon
2019-03-12Rename GetFlagIndex -> GetFieldIndexlinuxdaemon
2019-03-12Move field lookup logic out of WhoData constructorlinuxdaemon
2019-03-12Add Who::Request::GetFlagIndex to get field indexlinuxdaemon
Replaces the dirty logic in m_hideoper and m_namesx
2019-03-10Fix BanCache entries existing after X-line expiry.Matt Schatz
When DefaultApply() adds a hit to the BanCache it uses the X-line duration to set a duration on the entry. This can result in an entry lasting longer than the X-line itself. Fix this by setting the entry duration to the time left on the X-line.
2019-03-09m_httpd: GCC is __GNUC__ not _GNUC.Peter Powell
2019-03-08m_httpd: use http_response_str() instead of Response().Peter Powell
Lets not reinvent the wheel pointlessly.
2019-03-08Fix an "unknown pragma" warning on Windows.Peter Powell
2019-03-07Add missing '>' to an example connect tag.Robby
2019-03-02Reject client-to-client tags with no name.Peter Powell
2019-02-22Improve the handling of config X-lines and filters. (#1583)Matt Schatz
2019-02-20Split 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-20Fix not showing all modes on a channellinuxdaemon
Whenever a mode has a parameter, no modes past that mode will be shown in RPL_CHANNELMODEIS. References to items in a vector break when the vector's size is changed.
2019-02-19Implement support for IRCv3 client-to-client tags.Peter Powell
2019-02-19Fix erasing event subscribers erasing all with the same priority.Peter Powell
2019-02-19Allow customising ElementComp in flat_{map,multimap,multiset,set}.Peter Powell
2019-02-19Minor text fixes for m_filter.Robby
2019-02-19Improve the messages in m_filter.Matt Schatz
* Deduplicate "FILTER" in some SNOTICES. * Add the filter reason to removals to match with X-line removals now. * Use the new DurationString() function for a standardized duration display when adding. * Add X-line mask, duration, and expiry date to the action messages.
2019-02-18Improve support for wildcards in <link:name>.Peter Powell
Closes #1569.
2019-02-18Fix MatchCIDR matching UNIX socket hostnames.Peter Powell
2019-02-18Start using DurationString() in X-line additions andMatt Schatz
a few other modules where it fits better than just showing seconds.
2019-02-18X-line expiries: use the new DurationString() function.Matt Schatz
2019-02-18Add a function for displaying human-readable durations.Matt Schatz
Add InspIRCd::DurationString() to take a time_t and return a string with the duration in a human-readable format (ex: 1y20w2d3h5m9s).
2019-02-18Various text improvements: consistency, syntax, help and doc updates/fixes.Robby
2019-02-17Fix an off-by-one error in User::GetModeLetters().Peter Powell
2019-02-16ircv3_chghost: also send the CHGHOST message to the modified user.Peter Powell
2019-02-16Use the local hostname as the server name if one is not specified.Peter Powell
2019-02-16Remove obsolete ifdef in m_ssl_gnutls.Peter Powell
GNUTLS_DIG_SHA256 was added in version 1.7.4 and we require 2.0.0+
2019-02-15Move the close and jumpserver modules to inspircd-extras.Peter Powell
- The close module is borderline useless. - The jumpserver numeric is supported by barely any clients and has various security problems.
2019-02-15Replace GetServerPort() with server_sa.port().Peter Powell
2019-02-15Rename User::nping to nextping for consistency with lastping.Peter Powell
2019-02-15Refactor UserManager::DoBackgroundUserStuff().Peter Powell