summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-20Strip message tags correctly in the 1202 spanningtree compat layer.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-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-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
2019-02-09Implement support for SQUERY from RFC 2812.Peter Powell
This is treated internally as a PRIVMSG with a few exceptions: 1. The command MUST have exactly one target. 2. The target MUST be a user. 3. The target MUST be on a u-lined server (e.g. NickServ).
2019-02-09Move CommandMessage::Handle into the class definition.Peter Powell
2019-02-09Move message handling code to Handle{Channel,Server,User}Target.Peter Powell
This makes the logic for this module considerably easier to read.
2019-02-09Deduplicate firing module events in core_message.Peter Powell
2019-02-08core_message: remove unnecessary inheritance logic.Peter Powell
2019-02-08Rename core_privmsg to core_message.Peter Powell
2019-02-07Fix erroneously limiting to the size of sa instead of sun_path.Peter Powell
2019-02-07Add irc::sockets::untosa() for creating AF_UNIX sockaddrs.Peter Powell
Also fix an overly long albeit harmless memcpy when creating UNIX socket listeners. Thanks to @psychon for reporting this.
2019-02-07Fix an unintentionally inverted condition in core_oper.Peter Powell
2019-02-06Don't allow invalid characters in UNIX listener paths.linuxdaemon
2019-02-06Expand searching in m_httpd_stats, add global handling of GET parameters (#1566)linuxdaemon