aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
...
* | Send a message to snomask 'd' when a DNSBL lookup fails.•••Closes #1433. Gravatar Peter Powell2018-09-251-1/+5
* | Add extban 'a' to m_gecosban.•••This has the format a:nick!user@host+gecos. e.g. a:*!*@abusive.host+*MegaBot?v2.0* Closes #1023. Closes #1026. Gravatar Renegade3342018-09-251-4/+23
* | Don't sync filters defined in the config and expire them on rehash.•••Closes #1202. Gravatar Peter Powell2018-09-251-6/+24
* | Merge branch 'insp20' into master.Gravatar Peter Powell2018-09-241-5/+15
|\|
| * Fix gateway client hosts not being updated if DNS resolution fails.Gravatar Peter Powell2018-09-181-0/+6
| * Fix sending malformed ERR_UNKNOWNCOMMAND messages in some cases.•••This is not something the average user will encounter. It can only happen if the user sends a message with preceding whitespace or a prefix but no command name. This is not something that should ever be seen in practise so we just penalise the user and pretend nothing ever happened. The previous code also contained undefined behaviour but it acted sensibly on all compilers we support so it was not crashable. Gravatar Peter Powell2018-08-101-2/+6
* | Switch all core modules still using COMMAND_INIT to MODULE_INIT.Gravatar Peter Powell2018-09-235-5/+89
* | Don't sync xlines defined in the config and expire them on rehash.•••Closes #1427. Gravatar Peter Powell2018-09-232-1/+24
* | Make kicknorejoin respect /INVITE (#1514).Gravatar A_D2018-09-231-1/+4
* | Merge m_noctcp_user into m_noctcp.Gravatar Peter Powell2018-09-181-6/+31
* | Improvements and bugfixes to the cgiirc module.•••- 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. Gravatar Peter Powell2018-09-171-68/+109
* | Improvements to the hostchange module.•••- 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. Gravatar Peter Powell2018-09-161-93/+168
* | Amend OnPostCommand to specify whether the command is loopcalled.•••This restores previous behaviour which was lost when the original line parameter was removed. Gravatar Peter Powell2018-09-114-7/+7
* | Add a module for hiding mode changes from unprivileged users.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-09-091-0/+198
* | Remove the ripemd160 module.•••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. Gravatar Peter Powell2018-09-061-460/+0
* | Don't update the idle timer when a user replies to a CTCP.•••Closes #1305. Gravatar Peter Powell2018-08-261-6/+16
* | Implement proper CTCP parsing in MessageDetails.Gravatar Peter Powell2018-08-265-31/+100
* | Improve the snotices sent out by the filter module.•••- 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. Gravatar Peter Powell2018-08-241-11/+24
* | Allow unlocking jumpserver and lockserv with a module rehash.•••Closes #282. Gravatar Peter Powell2018-08-242-0/+12
* | Send the 001-004 numerics and MOTD/LUSERS from core_info.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-223-59/+102
* | Fix warnings about using std::auto_ptr on C++11 or newer.Gravatar Peter Powell2018-08-211-2/+3
* | Fix a few things that should be marked as override but aren't.Gravatar Peter Powell2018-08-215-5/+5
* | Release v3.0.0 alpha 9. v3.0.0a9Gravatar Peter Powell2018-08-151-1/+1
* | Merge branch 'insp20' into master.Gravatar Peter Powell2018-08-151-0/+1
|\|
| * m_httpd: close the HTTP connection after serving a request.•••We always send "Connection: Close" so this is the right behaviour according to section 8.1 of RFC 2616. Closes #1507. Gravatar Peter Powell2018-08-071-0/+1
* | Rewrite m_httpd_config.•••- 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. Gravatar Peter Powell2018-08-151-63/+25
* | Fix aliases that resolve to messages echoing with echo-message.•••Fixes #1459. Gravatar Peter Powell2018-08-155-7/+22
* | Fix m_alias not reconstituting the RFC message properly.Gravatar Peter Powell2018-08-151-2/+2
* | Fix a bunch more conflicting/unnamed numerics.Gravatar Peter Powell2018-08-148-17/+37
* | Convert CLONES to use its own numeric and batch the replies.Gravatar Peter Powell2018-08-141-22/+46
* | Fix some bugs in cidr_mask::str().•••- Fix a missing break statement causing unintentional fallthrough. - Cast the length to an int to avoid interpreting as a character. Gravatar Peter Powell2018-08-141-1/+2
* | Convert m_bcrypt to use a vendored library instead of bundling.Gravatar Peter Powell2018-08-141-888/+3
* | Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Gravatar Peter Powell2018-08-142-3/+4
* | Remove the OnInfo event.•••This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO. Gravatar Peter Powell2018-08-142-2/+1
* | Replace all references to IRCv3.2 with IRCv3.•••IRCv3 no longer does versioned releases. Gravatar Peter Powell2018-08-134-4/+4
* | Add support for the IRCv3 batch specification.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-132-1/+234
* | Add support for the IRCv3 server-time specification.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-132-1/+81
* | Add support for the IRCv3 account-tag specification.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-0/+62
* | Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-1344-562/+1199
* | Add an accessor for the last mode change list to ModeParser.•••GetLastParse will be going away soon. Gravatar Peter Powell2018-08-132-2/+2
* | Convert AWAY to use cross-module events and clean up slightly.•••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. Gravatar Peter Powell2018-08-129-55/+99
* | Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-126-12/+12
* | Move message parsing to ProcessBuffer and fix edge cases in it.Gravatar Peter Powell2018-08-104-27/+42
* | Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.•••This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. Gravatar Peter Powell2018-08-107-34/+59
* | Remove the integer overloads of irc::tokenparser::GetToken().•••The int overload was never used and the long overload was used in one place. Gravatar Peter Powell2018-08-102-17/+4
* | Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.•••Special tokenisation rules are not necessary here. Gravatar Peter Powell2018-08-102-2/+2
* | Remove the original line parameter of On{Pre,Post}Command.•••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. Gravatar Peter Powell2018-08-1020-29/+44
* | Switch m_xline_db to use the xline snomask character.Gravatar Peter Powell2018-08-101-6/+6
* | Switch m_dnsbl to use its own snomask character.Gravatar Peter Powell2018-08-071-7/+12
* | Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-074-6/+5