187 Commits

Author SHA1 Message Date
Sadie Powell
3854c3f8e3 Merge branch 'insp3' into master. 2023-07-10 09:59:29 +01:00
Sadie Powell
7ba0917bab Fix a typo in the example configs.
Reported by @siniStar7.
2023-07-07 15:40:36 +01:00
Sadie Powell
568be755ba Merge branch 'insp3' into master. 2023-07-06 15:11:43 +01:00
Sadie Powell
808188b444 Redocument <options:defaultmodes>. 2023-07-06 15:08:16 +01:00
Sadie Powell
168642c310 Redocument <connect:modes> and set commonchans by default.
This mode is fairly unintrusive and prevents PM spam from bots that
do not share a channel.
2023-07-06 14:59:35 +01:00
Sadie Powell
29705306f2 Retain the "real" username properly like we do for hostnames.
This introduces the concept of a real username. This value comes
from either the initial USER message or from an ident lookup. Doing
this allows us to use it for bans through vidents and cloaking web
client users using their remote username.

While changing this I also changed all of the uses of "ident" other
than RFC 1413 lookups and some compatibility cases to refer to
usernames as user(name) instead of ident. Our use of ident in these
places was incorrect as that only refers to the RFC 1413 response
and is not commonly used in the way we used it by any other IRC
server implementations.
2023-06-29 17:01:25 +01:00
Sadie Powell
4d9eae31ab Merge branch 'insp3' into master. 2023-06-29 15:54:53 +01:00
Sadie Powell
88c94d57aa Fix the documentation of <connect:useident>. 2023-06-29 13:13:07 +01:00
Sadie Powell
058f967181 Move example link config include to example module config file. 2023-06-25 08:56:44 +01:00
Sadie Powell
f8614ea985 Allow customising the message shown when hiding an X-line ban. 2023-04-18 14:21:11 +01:00
Sadie Powell
32258f5b11 Convert the cloak_md5 module to the new cloak system. 2023-01-13 07:01:03 +00:00
Sadie Powell
61c4b2cc73 Update some references to services_account that were missed. 2022-12-11 08:48:12 +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
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
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
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
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
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
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
e121ede0cc Make the ADMIN output more like other IRC servers.
- Remove our weird numeric prefixes.
- Merge the nick and name fields.
- Add a description field for ADMINLOC2.
2021-08-26 20:23:43 +01:00
Sadie Powell
8e7b90e491 Make the channel key length configurable in the <limits> tag. 2021-08-17 13:50:51 +01:00
Sadie Powell
f4c257e1b2 Merge branch 'insp3' into master. 2021-07-24 11:34:10 +01:00
Sadie Powell
36a2e06a85 Also increase maxquit from 255 to 300. 2021-07-24 11:30:29 +01:00
Sadie Powell
6369f4eab7 Update the default limits in the example config.
- Change maxchan from 64 to 60 (base 10 is more human friendly)
- Change maxreal from 128 to 130 (base 10 is more human friendly)
- Recalculate the maximum lengths of maxkick and maxtopic.

For maxkick:

':' <nick> '!' <user> '@' <host> ' KICK ' <channel> ' ' <nick> ' :' <REASON> "\r\n"
 1   [30]   1   [10]   1   [64]      6      [60]     1   [30]   2               2

1 + 30 + 1 + 10 + 1 + 64 + 6 + 60 + 1 + 30 + 2 + 2 = 208
512 - 208 = 304 (rounded down to 300)

For maxtopic:

':' <nick> '!' <user> '@' <host> ' TOPIC ' <channel> ' :' <TOPIC> "\r\n"
 1   [30]   1   [10]   1   [64]      7       [60]     2              2

1 + 30 + 1 + 10 + 1 + 64 + 7 + 60 + 2 + 2 = 178
512 - 178 = 334 (rounded down to 330)
2021-07-24 11:16:07 +01:00
Sadie Powell
dce2d6a255 Merge branch 'insp3' into master. 2021-06-19 20:07:35 +01:00
Sadie Powell
e047bcc98d Reorder <limits> alphabetically in the example config. 2021-06-19 14:21:13 +01:00
Sadie Powell
b2fde769b6 Merge branch 'insp3' into master. 2021-06-18 15:02:34 +01:00
Sadie Powell
1828ce7af9 Add a link to the list of predefined config variables. 2021-06-14 08:51:55 +01:00
Sadie Powell
e8c390e352 Demote the censor module to inspircd-contrib. 2021-06-01 02:56:44 +01:00
Sadie Powell
6d205fc3fb Rename the cgiirc module to gateway. 2021-04-11 18:34:08 +01:00
Sadie Powell
3c426be2a1 Refer to encryption as TLS instead of SSL in all messages. 2021-04-08 11:45:15 +01:00
Sadie Powell
ae997d0945 Merge branch 'insp3' into master. 2021-03-10 04:53:30 +00:00
Sadie Powell
e0dc7691c4 Rename <bind:ssl> to <bind:sslprofile>. 2021-03-10 04:23:11 +00:00
Sadie Powell
c22c7e5a99 Merge branch 'insp3' into master. 2021-02-28 19:16:40 +00:00
Sadie Powell
6f4aee365b Add a config option for exempting classes from connflood. 2021-02-21 04:09:59 +00:00
Sadie Powell
aa6cc72191 Rename <uline> to <service>. 2021-01-30 14:04:59 +00:00
Sadie Powell
61f3f350f2 Rename <security:hideulines> to <security:hideservices>. 2021-01-30 13:24:05 +00:00
Sadie Powell
589c4b80f4 Rename <security:hideulinekills> to <security:hideservicekills>. 2021-01-30 13:23:19 +00:00
Sadie Powell
bb35650b57 Merge branch 'insp3' into master. 2021-01-29 18:15:32 +00:00
Sadie Powell
05fe4bdd1d Allow disabling connectban for specific connect classes.
Ref: #1841.
2021-01-27 19:39:32 +00:00
Sadie Powell
db0052bcc2 Merge branch 'insp3' into master. 2021-01-18 11:42:25 +00:00
Sadie Powell
a59ed4b394 Add a new runtime directory and move the pid file to it.
The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.
2021-01-18 07:05:27 +00:00
Sadie Powell
4f68d162cc Merge branch 'insp3' into master. 2021-01-07 13:13:58 +00:00