978 Commits

Author SHA1 Message Date
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
Peter Powell
9d1b92d927 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.
2018-08-24 13:52:23 +01:00
Peter Powell
23e29119f8 Replace all references to IRCv3.2 with IRCv3.
IRCv3 no longer does versioned releases.
2018-08-13 22:06:39 +01:00
Peter Powell
584d456903 Add support for the IRCv3 batch specification.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13 22:01:42 +01:00
Peter Powell
2249524355 Add support for the IRCv3 server-time specification.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13 22:01:21 +01:00
Peter Powell
c60f88bb5c Add support for the IRCv3 account-tag specification.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13 21:51:12 +01:00
Peter Powell
83a2eddaaa Switch m_dnsbl to use its own snomask character. 2018-08-07 16:50:01 +01:00
Peter Powell
c51d80d9d4 Remove the 'debug' snotice character. 2018-08-07 16:45:03 +01:00
Peter Powell
8cb20e3545 Replace most usages of "GECOS" with "real" or "real name". 2018-07-30 18:30:11 +01:00
Peter Powell
09c5439c02 Add a module which implements the HAProxy PROXY v2 protocol. 2018-07-26 12:35:22 +01:00
Peter Powell
8faa6ac773 Log snotices with their description rather than just as "snomask". 2018-07-20 12:34:24 +01:00
Peter Powell
b7716ed577 Initial support for listening on UNIX socket endpoints. 2018-07-18 19:22:17 +01:00
Peter Powell
124c17e141 Merge branch 'insp20' into master. 2018-07-15 16:42:36 +01:00
Peter Powell
a37c11101a Clean up the WHO helpop documentation. 2018-07-12 01:31:24 +01:00
Peter Powell
2a022cb9b7 Add a silent option to <options:restrictbannedusers>.
This is useful when dealing with spambots that switch method when
they receive ERR_CANNOTSENDTOCHAN.
2018-07-10 21:01:35 +01:00
Peter Powell
4f6286b65f Rename the license file so that people can find it easier. 2018-07-10 19:57:14 +01:00
Peter Powell
584cbe8015 Clarify the documentation for m_httpd and m_httpd_{config,stats}.
Thanks to @SleepyEntropy for pointing out that multiple internet-
accessible servers do not have these modules correctly configured.
2018-06-18 03:35:58 +01:00
Peter Powell
506344a903 Improve support for MOTD escape codes.
- Implement escapes for italic, monospace, and strikethrough.
- Use the escape codes in the example MOTDs to demonstrate their
  formatting effects.
- Remove support for octal escape codes. In modern computing octal
  is rarely used and is confusing for users who might confuse it
  for decimal.
2018-04-22 23:38:13 +01:00
Peter Powell
6d1c1cb517 Always process MOTD formatting escape codes.
The options for disabling these were added to keep compatibility
with previous 2.0 releases and are not needed any more.
2018-04-22 23:30:41 +01:00
Peter Powell
35b70631f0 Merge tag 'v2.0.26' into master. 2018-04-22 13:02:19 +01:00
Robby
46e71e2f50 Optionally do not notify users if their messages are blocked by certain modules (#1134).
Closes #711.
2018-04-20 15:28:28 +01:00
Peter Powell
dec17a2e32 Use an oper priv instead of a config flag for overriding nonicks. 2018-04-16 15:04:45 +01:00
Matt Schatz
a2dcf9a1ad Improve some documentation (#1483).
* Improve exemptchanops in inspircd.conf.example (<options>)
  and modules.conf.example; along with both helpop examples.
* Add "the" to all "requires X module" in both helpop examples.
* Refer to customprefix instead of chanprotect and halfop.
* Add SNOMASK 'r' and 'R' (OPERLOG) to both helpop examples.
* Clean up unnecessarily split SNOMASK lines in both helpop examples.
* Move chmode 'g' to be in alphabetical order in both helpops examples.
* Specify the needed mask formats for TLINE in helpop-full example.
* Remove extra '\' in RLINE mask format in helpop-full example.
  Force xml format in helpop-full
* Generalize "color codes" to "formatting codes"
* Fix file name in include for example helpop-full
2018-04-16 10:02:49 +01:00
Peter Powell
233c624056 Use an oper priv instead of a config flag for overriding callerid. 2018-04-16 09:47:26 +01:00
Peter Powell
f3526d9511 Remove helpop sections which are now incorrect.
Both the static module flag and the CLEARCHAN command have been
removed.
2018-04-14 20:02:44 +01:00