summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-26Move the SQL tables to docs/sql and install them on `make install`.Peter Powell
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-24Merge branch 'insp20' into master.Peter Powell
2018-09-23Switch all core modules still using COMMAND_INIT to MODULE_INIT.Peter Powell
2018-09-23Don't sync xlines defined in the config and expire them on rehash.Peter Powell
Closes #1427.
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-26Don't update the idle timer when a user replies to a CTCP.Peter Powell
Closes #1305.
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-24Document the --nopid option in the manual pages.Peter Powell
2018-08-22Send the 001-004 numerics and MOTD/LUSERS from core_info.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
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-15Release v3.0.0 alpha 9.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-14Fix some bugs in cidr_mask::str().Peter Powell
- Fix a missing break statement causing unintentional fallthrough. - Cast the length to an int to avoid interpreting as a character.
2018-08-14Convert m_bcrypt to use a vendored library instead of bundling.Peter Powell
2018-08-14Add support for vendoring dependencies.Peter Powell
2018-08-14Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Peter Powell
2018-08-14Remove the OnInfo event.Peter Powell
This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO.
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.