707 Commits

Author SHA1 Message Date
Sadie Powell
0a03eada1c Import regex_pcre2 from inspircd-contrib.
The original plan was to make the PCRE2 switch happen in v3 but it
seems that distributions are beginning to unpackage the old pcre
library already.
2022-12-05 07:18:32 +00:00
Sadie Powell
dac556b55b Merge branch 'insp3' into master. 2022-10-29 16:35:12 +01:00
Sadie Powell
9b3ce29cc6 Fix the documentation of <options:defaultmodes>. 2022-10-29 16:22:10 +01:00
Sadie Powell
6fc111ccb6 Rename session registration to connection to avoid a semantic conflict.
We previously referred to both session registration and user registration
as "registration" which is confusing for users who aren't familiar with
how IRC works.
2022-10-29 15:54:59 +01:00
Sadie Powell
101e12833d Allow requiring users to be logged into their nick for requireaccount. 2022-10-18 11:17:03 +01:00
Sadie Powell
1736775c76 Rename the services_account module to account. 2022-10-18 10:59:57 +01:00
Sadie Powell
fbed3eca25 Split out channel and user mode +r into a separate module. 2022-10-18 10:59:57 +01:00
Sadie Powell
cf47e0f3f8 Add support for logging JSON to stdout and stderr. 2022-08-24 00:13:14 +01:00
Sadie Powell
d74c70a364 Merge branch 'insp3' into master. 2022-08-04 18:52:55 +01:00
Sadie Powell
3eda1aa7fa WebSockets are a HTTP feature not a HTML5 feature. 2022-08-04 17:31:57 +01:00
Sadie Powell
46be9aec2e Replace <showwhois:showfromopers> with an operator privilege. 2022-07-21 18:27:53 +01:00
Sadie Powell
0f84414b39 Move the userip module to contrib.
This module only exists for UnrealIRCd compatibility and provides
the same functionality as the check module but less useful.
2022-06-28 11:33:26 +01:00
Sadie Powell
5536a73230 Merge branch 'insp3' into master. 2022-06-22 00:40:13 +01:00
Sadie Powell
48fbd51151 Add support for escaping hex colour codes
This is not widely supported but we should have an escape regardless.
2022-06-19 21:40:25 +01:00
Sadie Powell
30f64f9225 Fix the parameter documentation for the repeat mode. 2022-06-15 22:08:39 +01:00
Sadie Powell
72ecbb3285 Convert passforward to use the new template system. 2022-06-15 13:00:09 +01:00
Sadie Powell
844a3505e9 Update links to point to the upcoming v4 docs.
[skip alpine ci]
[skip macos ci]
[skip windows ci]
[skip ubuntu ci]
2022-05-18 16:49:20 +01:00
Sadie Powell
a44a6cfab7 Implement support for JSON logging. 2022-05-02 15:10:10 +01:00
Sadie Powell
c382faf9c9 Rewrite the entire logging system.
- Much cleaner API for writing to the log.
- Adds support for stderr and stdout logging to the core.
- Adds support for sql and syslog logging in modules.
2022-05-01 22:07:04 +01:00
Sadie Powell
d7912e6a3e Merge branch 'insp3' into master. 2022-04-29 11:24:05 +01:00
Sadie Powell
bce6e2422e Document the 'G' WHO flag. 2022-04-28 09:42:42 +01:00
Sadie Powell
9fbcb685e8 Merge branch 'insp3' into master. 2022-04-21 16:32:29 +01:00
Sadie Powell
cdd80af74c Add support for automatically expiring the override user mode. 2022-04-21 16:17:10 +01:00
Sadie Powell
27c0ae9433 Allow normalising extbans to a specific format.
Also, fix canonicalisation of acting extban values.
2022-04-17 12:08:57 +01:00
Sadie Powell
a810c07ccf Remove FPART, force REMOVE to always use the new syntax.
FPART was deprecated in v3 when the parameters for REMOVE were
switched.

This does not need any compat layer changes as v3 always forwarded
FPART as REMOVE.
2022-04-16 08:35:26 +01:00
Sadie Powell
72372136c4 Merge branch 'insp3' into master. 2022-04-05 23:37:33 +01:00
Sadie Powell
f20fa911c4 Increase the default connectban ban duration from 10m to 6h.
10m is borderline useless for preventing bot floods.
2022-04-05 18:28:31 +01:00
Sadie Powell
c1b53e24d3 Merge branch 'insp3' into master. 2022-04-01 18:22:35 +01:00
Sadie Powell
e2b50c3551 Add the channels/ignore-chanfilter priv to the chanfilter module.
Closes #1971.
2022-03-28 17:22:51 +01:00
Sadie Powell
dcd1bdf3de Undocument removed config option. 2022-03-27 16:00:42 +01:00
Sadie Powell
f06ea52d0a Merge branch 'insp3' into master. 2022-03-27 15:30:41 +01:00
Sadie Powell
770b8ec192 Add support for blocking invites to the commonchans module. 2022-03-23 14:33:57 +00:00
Sadie Powell
9260644ce9 Fix a typo in the connectban example config docs. 2022-03-22 15:31:31 +00:00
Sadie Powell
c87703e2a7 Rename <connectban:duration> to <connectban:banduration>. 2022-03-22 15:27:39 +00:00
Sadie Powell
a7de91861f Merge branch 'insp3' into master. 2022-03-19 18:37:51 +00:00
Val Lorentz
740e193f59
Add support for the <count> param of WHOWAS (#1968)
Not very useful IMO, but every server but InspIRCd seems to implement it,
and it's part of the RFCs:

* https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3
* https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3
2022-03-19 18:13:10 +00:00
Sadie Powell
2d329701db Merge branch 'insp3' into master. 2022-03-11 14:52:56 +00:00
iwalkalone
5027a63e52
Change delaymsg to use exemptchanops and have an oper priv (#1959). 2022-02-13 14:54:47 +00:00
Sadie Powell
2b2a3a31d7 Add an option to allow channel ops to enable the permchannels mode.
Closes #1964.
2022-02-05 23:40:40 +00:00
Sadie Powell
2a4e24d822 Remove the nationalchars module.
This is mostly undocumented, partially broken, and is replaced by
the codepage module which will soon be extended to support UTF-8
ranges to entirely replace it.
2022-01-31 12:01:39 +00:00
Sadie Powell
b96af051c2 Merge branch 'insp3' into master. 2022-01-03 15:14:36 +00:00
James Wheare
1fa8c6c1ad Update IRCCloud IP ranges 2021-12-31 00:43:48 +00:00
Sadie Powell
9306d5474d Add support for forwarding a password from the second nick param. 2021-12-28 14:20:14 +00:00
Sadie Powell
05ccd525ad Replace some references to ssl with tls. 2021-12-08 12:32:29 +00:00
Sadie Powell
2ec53e10ee Merge branch 'insp3' into master. 2021-11-24 07:17:50 +00:00
Sadie Powell
f776f92371 Add the <connect:uniqueusername> option. 2021-11-23 23:05:06 +00:00
Sadie Powell
ce88f60a55 Fix the SSLINFO helpop not describing SSLINFO on channels. 2021-11-16 19:45:10 +00:00
Sadie Powell
96f673e7e1 Rename regex_pcre2 to regex_pcre. 2021-11-14 23:47:44 +00:00
Sadie Powell
e6d2a291e8 Revert "Add regex_pcre compatibility to regex_pcre2".
This reverts commit 3fa012b75b14abd69c7bc67c27ae50cb9ba4c343.
2021-11-14 23:42:34 +00:00
Sadie Powell
f43369b0c4 Merge branch 'insp3' into master. 2021-11-10 18:33:30 +00:00