802 Commits

Author SHA1 Message Date
Peter Powell
cbb6b376c7 Use a consistent naming scheme for operator privileges.
- users/callerid-override is now users/ignore-callerid.
- users/privdeaf-override is now users/ignore-privdeaf.
2019-04-04 15:11:24 +01:00
Peter Powell
b00451a85c Fix various typos. 2019-04-04 14:36:45 +01:00
Peter Powell
9ea8ecfaf3 Use SQUERY instead of PRIVMSG in alias/passforward config. 2019-04-04 12:27:56 +01:00
Matt Schatz
66ecf04088 Merge extras/m_privdeaf into m_deaf and update documentation.
- Merge the 2.0 extras module m_privdeaf (usermode +D for deaf to
user messages and notices) as they have a similar purpose.
- Improve the channel deaf logic where a known case of bypassing
still looped the channel userlist building an empty exemption list.
- Improve the comments within the code.
- Update the documentation with the previously undocumented
configuration to deaf and the new privdeaf configuration.
2019-04-03 13:29:22 +01:00
Robby
15b93b6c20 m_commonchans: Replace IsOper() with HasPrivPermission() instead. 2019-04-02 10:39:18 +01:00
Robby
ac0d5abaac Update most URLs to use HTTPS and fix some dead links. 2019-03-14 11:02:24 +00:00
Matt Schatz
5f2ecf0013 Add oper privs to allow overriding noctcp. 2019-03-14 00:55:18 +00:00
Robby
4be144252b Add missing '>' to an example connect tag. 2019-03-07 10:48:54 +00:00
Peter Powell
c495b5d9cf Implement support for IRCv3 client-to-client tags. 2019-02-19 22:53:15 +00:00
Robby
7d84771f49 Minor text fixes for m_filter. 2019-02-19 20:51:54 +00:00
Robby
21e7efdadf Various text improvements: consistency, syntax, help and doc updates/fixes. 2019-02-18 09:15:56 +00:00
Peter Powell
27e2617808 Move the close and jumpserver modules to inspircd-extras.
- The close module is borderline useless.
- The jumpserver numeric is supported by barely any clients and
  has various security problems.
2019-02-15 12:35:51 +00:00
Peter Powell
72841a6376 Re-tabularise the helpop cuser/coper command lists. 2019-02-09 13:03:00 +00:00
Peter Powell
18fc0ef29f Unify the helpop and helpop-full config files. 2019-02-09 12:50:07 +00:00
Peter Powell
c8cc16040d Implement support for SQUERY from RFC 2812.
This is treated internally as a PRIVMSG with a few exceptions:

1. The command MUST have exactly one target.
2. The target MUST be a user.
3. The target MUST be on a u-lined server (e.g. NickServ).
2019-02-09 12:50:06 +00:00
Peter Powell
09da1499d7 ident: rename nolookupprefix to prefixunqueried. 2019-02-04 09:47:26 +00:00
Peter Powell
3c71f24704 Fix the description of <setname:operonly>. 2019-01-28 21:41:28 +00:00
Peter Powell
a032cd90ad Allow configuring whether SETNAME sends snotices and is oper-only. 2019-01-28 19:42:02 +00:00
Peter Powell
961109ae4f Remove trailing whitespace from various source files. 2019-01-24 22:18:22 +00:00
Peter Powell
1ab93cf702 Merge the censor module example config into modules.conf.example. 2019-01-24 15:23:17 +00:00
Peter Powell
4047a143fc Move the <disabled> tag out of the core to a new module. 2019-01-24 15:10:02 +00:00
Peter Powell
cbef0241a0 Implement support for the extended tag space for client tags. 2019-01-24 14:28:21 +00:00
Robby
e784524e11 The <ident:bind> setting doesn't exist anymore, remove the reference to it from the config.
This setting was removed in commit 0a1fe6cf293bef91b419f57374b96a6d2aec636e.
2019-01-11 15:01:56 +00:00
Matt Schatz
f2e3fd5952 Improve X-line text consistency.
- Change any "-Line", ":Line", or "*line" to "-line" throughout
the X-line code, comments, and documentation.
- Add periods to the end of some notices.
- Correct a typo in the Q-line code comments.
- Update the filter module documentation (shun addition).

Co-authored-by: Robby <robby@chatbelgie.be>
2019-01-09 10:07:09 +00:00
Peter Powell
4317e2c4d9 Improve consistency of the restrictchans module example config. 2019-01-05 16:55:51 +00:00
Peter Powell
b30988ee60 Fix the websocket origin config example. 2019-01-05 16:54:34 +00:00
linuxdaemon
9aadc251e9 Merge m_restrictchans and m_regonlycreate due to converging functionality (#1541). 2019-01-04 20:31:08 +00:00
Peter Powell
f904042e9e Fix docs referring to channel mode e using the wrong name. 2018-12-19 10:06:46 +00:00
Peter Powell
36da0833c5 Add the <maxlist> tag and switch ListModeBase to always use it.
The old method of doing this was:

1. Extremely inconsistently used. Some list modes used <banlist>
   and some used their own config tag.
2. Not documented in the slightest. There was a small reference to
   <maxbans> for the ban mode but nothing else.
3. In some cases conflicting with other config tags. The chanfilter
   module defined a <chanfilter> tag for general config whilst also
   using it for the max list settings.

The new <maxlist> tag avoids these issues entirely.
2018-12-19 09:02:09 +00:00
Peter Powell
f99f0af6d1 Fix the example help files using the wrong name for <helpmsg:nohelp>.
Thanks to @genius3000 for pointing this out.
2018-12-09 08:10:39 +00:00
Peter Powell
16864d1871 Fix a numeric collision with UnrealIRCd's help numerics.
We were not using these correctly and the ircd-ratbox numerics are
more widely supported so using those is better.
2018-12-09 06:15:07 +00:00
Peter Powell
94eb36566e Clean up the callerid documentation slightly. 2018-12-09 02:19:42 +00:00
Peter Powell
9361492b41 Raise the default max number of ACCEPT entries from 16 to 30. 2018-12-09 02:13:47 +00:00
Peter Powell
a4c1b1f4fc Add an option for changing the allowed server clock drift. 2018-12-04 19:04:09 +00:00
Robby
705853459e m_filter: Add a warn action for notifying opers while still allowing the message through.
Thanks to @H7-25 (Simos) for the idea.
2018-11-21 01:15:12 +00:00
Robby
4c6d7a12ab Add missing special character for reversing color. 2018-11-20 23:37:20 +00:00
Peter Powell
28ffef39c8 Add support for multiple cloak configurations.
The first will be used for cloaking and the rest will be used for
checking bans.
2018-11-19 11:00:17 +00:00
Peter Powell
3683d85e71 Exclude the vendor directory from Doxygen-generated documentation. 2018-11-19 02:49:32 +00:00
Michael Hazell
19c0cfa3e5 m_filter: add Z-Line support 2018-11-12 01:13:48 +00:00
Peter Powell
efdb51bc9d WebSocket: send messages as text by default.
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-11-03 14:12:59 +00:00
Peter Powell
ea7eb543cb Remove deprecated config checker and make <die> actually useful.
- Remove the deprecated config tag checker. This checker is neither
  exhaustive nor is it particularly accurate. Instead the new docs
  site will contain a page detailing the breaking changes between
  releases.
- Remove the insulting <die> tags in inspircd.conf.example and add
  some descriptive ones in files that it is critical for the user
  to edit correctly.
- Show the message from the <die> tag so the user actually knows
  what they did wrong.
2018-10-27 18:31:32 +01:00
Peter Powell
2e46197918 Fix ircv3_capnotify being defined twice in modules.conf.example. 2018-10-26 22:41:12 +01:00
Peter Powell
553877f7a9 Require WebSocket origins to be whitelisted in order to connect.
Fixes #1281.
2018-10-10 16:45:35 +01:00
Peter Powell
2af0476c5a Move the SQL tables to docs/sql and install them on make install. 2018-09-26 23:36:19 +01:00
Renegade334
4995417f59 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.
2018-09-25 12:30:06 +01:00
Peter Powell
0378d0f582 Merge m_noctcp_user into m_noctcp. 2018-09-18 12:30:15 +01:00
Peter Powell
de4e486009 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.
2018-09-17 22:32:42 +01:00
Peter Powell
9a312de26b 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.
2018-09-16 12:38:14 +01:00
Peter Powell
923d811b05 Add a module for hiding mode changes from unprivileged users.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-09-09 16:52:54 +01:00
Peter Powell
8512726adf 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.
2018-09-06 13:31:53 +01:00