95 Commits

Author SHA1 Message Date
Peter Powell
87b1461e2a Merge branch 'insp20' into insp3. 2019-05-02 00:49:01 +01:00
Robby
e57d1b19ff Textual improvements and fixes such as typos, casing, etc. (#1612) 2019-04-28 09:14:21 +01:00
Robby
4be144252b Add missing '>' to an example connect tag. 2019-03-07 10:48: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
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
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
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
a4c1b1f4fc Add an option for changing the allowed server clock drift. 2018-12-04 19:04:09 +00:00
Robby
4c6d7a12ab Add missing special character for reversing color. 2018-11-20 23:37:20 +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
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
8cb20e3545 Replace most usages of "GECOS" with "real" or "real name". 2018-07-30 18:30:11 +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
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
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
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
genius3000
e3f22fcf31 Change some usage of "gecos" to "real name"
Within the example configs, helpops, some server sent messages, and
simple code comments: change the primary usage of "gecos" to
"real name" (or "realname" where fitting).
2018-04-11 18:59:17 +01:00
Dylan Frank
c7de80233a Separate secret and private channels on whois for non-opers (#1447)
Separate secret and private channels on WHOIS for all users.

- Move the config parsing from the core to core_whois.
- Replace <security:operspywhois> with an oper privilege.
- Introduce <options:splitwhois> to split WHOIS channel lists.

Closes #969.
2018-03-25 17:02:00 +01:00
B00mX0r
05d92363f9
Fix two minor docs issues 2017-12-22 14:44:29 -08:00
Peter Powell
e467fd0a6f Rename <security:hidewhois> to <security:hideserver>.
The previous name was horrible and didn't describe what the setting
actually does.
2017-12-22 01:11:14 +00:00
Peter Powell
2989c948e4 Use HTTPS URLs in the executable file and include examples. 2017-12-16 13:13:33 +00:00
Peter Powell
ebcf1ac8f7 Clarify the documentation of <connect:allow>. 2017-12-12 20:20:33 +00:00
Peter Powell
c4955b78dc Don't allow users to set a zero channel limit.
Closes #451.
2017-12-11 13:17:17 +00:00
Peter Powell
8bc03773ca Remove the preconfigured Charybdis and UnrealIRCd module files.
These are extremely outdated. If we want to ship these then they
should be redone from scratch.
2017-11-22 13:31:24 +00:00
Peter Powell
d23c030c9a Merge tag 'v2.0.25' into master. 2017-11-12 17:33:21 +00:00
Peter Powell
a137eb1c26 Various minor documentation fixes.
- Remind admins that not setting a DIE/RESTART password does not
  disable use of those commands.
- Remove references to 1.2 and modules being able to create custom
  logging methods. This was never implemented in the 2.0 branch.
- Remove references to an SASL improvement that was reverted.
- Update various InspIRCd website links to use HTTPS over HTTP.
- Update a link to the IRCv3 website to point to the new website.
2017-11-12 12:24:57 +00:00
Peter Powell
2b94e7dcc0 Allow spaces in the network name now it doesn't cause problems.
This will not cause any compatibility issues as we do not rely on
this attribute internally.
2017-11-09 10:31:00 +00:00
Peter Powell
a3e0768758 Merge the latest changes from insp20 into master. 2017-10-12 15:55:21 +01:00
Peter Powell
21f2f56e98 Raise the default listmode limit to 100 from 64.
64 is a rather restrictive limit especially considering how fast
channels can accumulate bans. In fact, #InspIRCd hit the ban limit
in just over a year.

Having a low limit might have made sense when memory was expensive
but the average IRC server should be able to handle this fine now.
2017-09-14 15:42:34 +01:00
Peter Powell
51a47e7d75 Implement support for configurable casemapping & default to ASCII. 2017-09-08 20:11:50 +01:00
Peter Powell
e7c829af59 Convert a bunch of time-related config options to getDuration. 2017-09-03 20:20:30 +01:00
Peter Powell
a1bc06e8a0 Update a bunch of references to the old command modules. 2017-08-27 13:18:58 +01:00
Peter Powell
3469711d29 Update the link to the CIDR subnetting charts. 2017-08-13 17:24:20 +01:00
Peter Powell
56fe5d6f2f Change the maximum nick/user size to match other implementations. 2017-08-13 16:27:29 +01:00
Peter Powell
62fe5b32bc Allow filtering WebIRC connections into a connect class by gateway. 2017-06-22 13:08:57 +01:00
Peter Powell
7c30114988 Allow <log> tags to specify how often logs should be flushed.
Also use the behaviour behind this to fix #1290.
2017-02-28 05:19:12 +00:00
Attila Molnar
8189eb162e Merge pull request #1234 from SaberUK/master+config2
Rework the example services aliases.
2016-11-16 11:58:03 +01:00
Peter Powell
25f2f7f3e8 Rework the example services aliases.
- Split common stuff into a generic configuration file.
- Reserve all nicknames used by services by default.
- Exempt all services clients from filtering.
- Add missing aliases for services pseudoclients.
2016-11-16 10:56:39 +00:00
Attila Molnar
a3e1706720 Merge pull request #1248 from SaberUK/master+listen
Allow listeners to be able to listen on unavailable addresses.
2016-11-16 11:54:43 +01:00
Peter Powell
5280eb50a4 Update SSL config documentation for SSL profiles and m_ssl_mbedtls. 2016-11-15 18:32:53 +00:00
Peter Powell
0b8a13ab51 Allow listeners to be able to listen on unavailable addresses. 2016-11-12 22:31:15 +00:00
Peter Powell
543ff432f5 Update helpop for recent LOCKSERV and <connect:port> changes. 2016-11-01 15:09:43 +00:00
Attila Molnar
94fdc065f0 Merge pull request #1217 from SaberUK/master+die-restart
Undocument <power> and set the default to the server name.
2016-09-12 17:20:51 +02:00
Peter Powell
23f30d75fa Undocument <power> and set the default to the server name. 2016-09-12 15:41:39 +01:00
Peter Powell
957be44dcc Update documentation for password hashing.
- Follow best current practises by using bcrypt almost everywhere
  in the example configuration files.
- Document the existence of new hashing modules in master.
2016-09-12 15:35:28 +01:00