summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
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-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-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
2018-08-14Fix a bunch more conflicting/unnamed numerics.Peter Powell
2018-08-14Convert CLONES to use its own numeric and batch the replies.Peter Powell
2018-08-14Convert m_bcrypt to use a vendored library instead of bundling.Peter Powell
2018-08-13Replace all references to IRCv3.2 with IRCv3.Peter Powell
IRCv3 no longer does versioned releases.
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-13Add support for the IRCv3 account-tag 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-13Add an accessor for the last mode change list to ModeParser.Peter Powell
GetLastParse will be going away soon.
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-08-12Pass the Extensible container to ExtensionItem::free().Peter Powell
2018-08-10Move message parsing to ProcessBuffer and fix edge cases in it.Peter Powell
2018-08-10Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.Peter Powell
This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously.
2018-08-10Remove the integer overloads of irc::tokenparser::GetToken().Peter Powell
The int overload was never used and the long overload was used in one place.
2018-08-10Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.Peter Powell
Special tokenisation rules are not necessary here.
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
2018-08-10Switch m_xline_db to use the xline snomask character.Peter Powell