aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Move <security:hidesplits> to the spanningtree module.Gravatar Peter Powell2018-10-013-1/+7
|
* Get rid of DummyMessageDetails in the delayjoin module.Gravatar Peter Powell2018-10-011-23/+14
|
* Fix the delayjoin module not hiding JOIN messages properly.Gravatar Peter Powell2018-10-011-2/+3
|
* Fix the chanhistory module being inconsistent across servers.Gravatar Peter Powell2018-10-012-3/+27
| | | | Closes #331.
* Fix SQL modules using "provider" in <database> instead of "module".Gravatar Peter Powell2018-09-273-3/+3
| | | | This fixes a regression introduced in 97a1d642.
* m_dnsbl: Add the IP address to the positive detection server notice.Gravatar Robby2018-09-251-2/+2
|
* m_dnsbl: Use the blacklist name rather than the domain.Gravatar Robby2018-09-251-2/+2
|
* Send a message to snomask 'd' when a DNSBL lookup fails.Gravatar Peter Powell2018-09-251-1/+5
| | | | Closes #1433.
* Add extban 'a' to m_gecosban.Gravatar Renegade3342018-09-251-4/+23
| | | | | | | | | This has the format a:nick!user@host+gecos. e.g. a:*!*@abusive.host+*MegaBot?v2.0* Closes #1023. Closes #1026.
* Don't sync filters defined in the config and expire them on rehash.Gravatar Peter Powell2018-09-251-6/+24
| | | | Closes #1202.
* 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.Gravatar Peter Powell2018-09-171-68/+109
| | | | | | | | | | - 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.
* Improvements to the hostchange module.Gravatar Peter Powell2018-09-161-93/+168
| | | | | | | | | | | | | | | | - 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.
* Amend OnPostCommand to specify whether the command is loopcalled.Gravatar Peter Powell2018-09-112-2/+2
| | | | | This restores previous behaviour which was lost when the original line parameter was removed.
* Add a module for hiding mode changes from unprivileged users.Gravatar Peter Powell2018-09-091-0/+198
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Remove the ripemd160 module.Gravatar Peter Powell2018-09-061-460/+0
| | | | | | | | | | 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.
* Implement proper CTCP parsing in MessageDetails.Gravatar Peter Powell2018-08-264-28/+29
|
* Improve the snotices sent out by the filter module.Gravatar Peter Powell2018-08-241-11/+24
| | | | | | | | | - 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.
* Allow unlocking jumpserver and lockserv with a module rehash.Gravatar Peter Powell2018-08-242-0/+12
| | | | Closes #282.
* 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-214-4/+4
|
* Merge branch 'insp20' into master.Gravatar Peter Powell2018-08-151-0/+1
|\
| * m_httpd: close the HTTP connection after serving a request.Gravatar Peter Powell2018-08-071-0/+1
| | | | | | | | | | | | | | We always send "Connection: Close" so this is the right behaviour according to section 8.1 of RFC 2616. Closes #1507.
* | Rewrite m_httpd_config.Gravatar Peter Powell2018-08-151-63/+25
| | | | | | | | | | | | - 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.
* | Fix aliases that resolve to messages echoing with echo-message.Gravatar Peter Powell2018-08-155-7/+22
| | | | | | | | Fixes #1459.
* | 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
| |
* | Convert m_bcrypt to use a vendored library instead of bundling.Gravatar Peter Powell2018-08-141-888/+3
| |
* | Replace all references to IRCv3.2 with IRCv3.Gravatar Peter Powell2018-08-134-4/+4
| | | | | | | | IRCv3 no longer does versioned releases.
* | Add support for the IRCv3 batch specification.Gravatar Peter Powell2018-08-132-1/+234
| | | | | | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* | Add support for the IRCv3 server-time specification.Gravatar Peter Powell2018-08-132-1/+81
| | | | | | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* | Add support for the IRCv3 account-tag specification.Gravatar Peter Powell2018-08-131-0/+62
| | | | | | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* | Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-1325-237/+421
| | | | | | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* | Add an accessor for the last mode change list to ModeParser.Gravatar Peter Powell2018-08-131-1/+1
| | | | | | | | GetLastParse will be going away soon.
* | Convert AWAY to use cross-module events and clean up slightly.Gravatar Peter Powell2018-08-126-42/+66
| | | | | | | | | | | | | | 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.
* | Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-124-6/+6
| |
* | Move message parsing to ProcessBuffer and fix edge cases in it.Gravatar Peter Powell2018-08-101-1/+1
| |
* | Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.Gravatar Peter Powell2018-08-105-17/+17
| | | | | | | | | | This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously.
* | Remove the integer overloads of irc::tokenparser::GetToken().Gravatar Peter Powell2018-08-101-1/+4
| | | | | | | | | | The int overload was never used and the long overload was used in one place.
* | Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.Gravatar Peter Powell2018-08-102-2/+2
| | | | | | | | Special tokenisation rules are not necessary here.
* | Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-1017-20/+35
| | | | | | | | | | | | | | | | | | 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.
* | 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-072-3/+3
| |
* | Make the FJOIN timestamp message easier for users to understand.Gravatar Peter Powell2018-08-051-1/+2
| |
* | Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-307-13/+13
| |
* | Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-305-7/+7
| |
* | Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-306-8/+11
| |