summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2018-11-21m_filter: Add a warn action for notifying opers while still allowing the ↵Robby
message through. Thanks to @H7-25 (Simos) for the idea.
2018-11-21m_blockcolor: Check for colors the same way InspIRCd::StripColor() does.Robby
2018-11-19Add support for multiple cloak configurations.Peter Powell
The first will be used for cloaking and the rest will be used for checking bans.
2018-11-16Fix sending DNSBL error snotices when a user isn't DNSBLed.Peter Powell
2018-11-16Fix an inverted condition in the cgiirc module.Peter Powell
2018-11-15Fix the OnSendWhoLine event being completely broken with WHOX.Peter Powell
2018-11-12m_filter: add Z-Line supportMichael Hazell
2018-11-07Merge tag 'v2.0.27' into master.Peter Powell
2018-11-04Implement support for WEBIRC attributes.Peter Powell
2018-11-03WebSocket: send messages as text by default.Peter Powell
This requires all messages to be UTF-8. If you are using a UTF-8 incompatible text encoding then you can disable this by setting <websocket:sendastext> to false.
2018-10-31WebSocket: use one WebSocket message per IRC message.Peter Powell
This makes more sense for WebSocket clients than CR+LF termination as the protocol already understands the concept of messages.
2018-10-28Also synchronise the prefix rank between servers.Peter Powell
2018-10-27Fix a shadowing warning in the spanningtree module.Peter Powell
2018-10-27Improve CAPAB negotiation in the spanningtree module.Peter Powell
- Remove the CHANMODES, USERMODES, and PREFIX tokens in the 1205 protocol. These have entirely been superceded by the CHANMODES and USERMODES CAPAB commands. - Only compare the 1202 PREFIX tokens if the remote server did not send CAPAB CHANMODES. This replicates the existing behaviour used for the CHANMODES token. - Fix checking whether the remote server has an appropriate case mapping. If it is not sent we assume it is the same as the local server as always. This should prevent issues with people using services packages that do not send this token yet. - Fix checking if the user modes are mismatched and then promptly overwriting the error message with mismatched channel modes. - Fix servers not being able to tell whether a mode on the remote server is a prefixless prefix mode. Requires the 1205 protocol. - Fix servers that receive CAPAB CHANMODES or CAPAB USERMODES not checking the type of those modes. Requires the 1205 protocol.
2018-10-26Fix a bunch of harmless compiler warnings on recent GCC releases.Peter Powell
2018-10-25Allow HAProxy to specify that a client is connecting with SSL.Peter Powell
2018-10-25Fix the censor module sending the wrong numeric in some cases.Peter Powell
The appropriate numeric response when a user has the censor mode enabled is ERR_CANTSENDTOUSER not ERR_CANTSENDTOUSER.
2018-10-14Show reasons in xline expiry messages.Robby
2018-10-13Implement support for IPv6 GeoIP lookups.Peter Powell
2018-10-10Require WebSocket origins to be whitelisted in order to connect.Peter Powell
Fixes #1281.
2018-10-09Fix sending malformed ERR_BANLISTFULL numerics in some contexts.Peter Powell
Fixes ircdocs/irc-defs#37.
2018-10-06Use nodejs/http_parser instead of a homebrew parser.edef
2018-10-04Convert m_sha256 to use a vendored library instead of bundling.Peter Powell
The require_compiler("GCC") directive is required to work around some GCCs ignoring the GCC pragma for disabling warnings.
2018-10-01Move <security:hidesplits> to the spanningtree module.Peter Powell
2018-10-01Get rid of DummyMessageDetails in the delayjoin module.Peter Powell
2018-10-01Fix the delayjoin module not hiding JOIN messages properly.Peter Powell
2018-10-01Fix the chanhistory module being inconsistent across servers.Peter Powell
Closes #331.
2018-09-27Fix SQL modules using "provider" in <database> instead of "module".Peter Powell
This fixes a regression introduced in 97a1d642.
2018-09-25m_dnsbl: Add the IP address to the positive detection server notice.Robby
2018-09-25m_dnsbl: Use the blacklist name rather than the domain.Robby
2018-09-25Send a message to snomask 'd' when a DNSBL lookup fails.Peter Powell
Closes #1433.
2018-09-25Add extban 'a' to m_gecosban.Renegade334
This has the format a:nick!user@host+gecos. e.g. a:*!*@abusive.host+*MegaBot?v2.0* Closes #1023. Closes #1026.
2018-09-25Don't sync filters defined in the config and expire them on rehash.Peter Powell
Closes #1202.
2018-09-23Make kicknorejoin respect /INVITE (#1514).A_D
2018-09-18Merge m_noctcp_user into m_noctcp.Peter Powell
2018-09-18Fix gateway client hosts not being updated if DNS resolution fails.Peter Powell
2018-09-17Improvements and bugfixes to the cgiirc module.Peter Powell
- Allow the ident for ident type hosts to be set in the config. - Consistently check clone counts, connect classes, and xlines for all users regardless of their cgiirc host type. - Remove some obsolete code from when gateway clients had their IP changed in OnCheckReady. - Don't allow a gateway client to match both a WebIRC and an ident host.
2018-09-16Improvements to the hostchange module.Peter Powell
- Get rid of <host> and merge the prefix and suffix values into the <hostchange> value. - Remove the 'suffix' action. This has been replaced by the 'set' action. - Add the 'addaccount' action. This adds the users account to their hostname. - Use the <hostname:charmap> characters when removing invalid chars in addnick mode. - Allow multiple entries on each hostmask so that they can fall through if a certain value is not acceptable. Closes #816. Closes #1001.
2018-09-11Amend OnPostCommand to specify whether the command is loopcalled.Peter Powell
This restores previous behaviour which was lost when the original line parameter was removed.
2018-09-09Add a module for hiding mode changes from unprivileged users.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-09-06Remove the ripemd160 module.Peter Powell
The library code used by this module is licensed under a non-free license which is incompatible with the GPLv2. Combined with the fact that it has been superceded by better algorithms like bcrypt I have decided to remove it. An alternate implementation of this algorithm is provided by the m_hash_gnutls module if people *really* need to use it.
2018-08-26Implement proper CTCP parsing in MessageDetails.Peter Powell
2018-08-24Improve the snotices sent out by the filter module.Peter Powell
- Switch to a module-specific snotice character (f). - Redo the format of the message to be easier to read and include the filter that the user matched. Closes #490. Closes #841.
2018-08-24Allow unlocking jumpserver and lockserv with a module rehash.Peter Powell
Closes #282.
2018-08-21Fix warnings about using std::auto_ptr on C++11 or newer.Peter Powell
2018-08-21Fix a few things that should be marked as override but aren't.Peter Powell
2018-08-15Merge branch 'insp20' into master.Peter Powell
2018-08-15Rewrite m_httpd_config.Peter Powell
- Send the configuration as plain text instead of HTML. - Show the location where each tag was located in a comment. - Indent configuration keys consistently so they are easy to read.
2018-08-15Fix aliases that resolve to messages echoing with echo-message.Peter Powell
Fixes #1459.
2018-08-15Fix m_alias not reconstituting the RFC message properly.Peter Powell