14803 Commits

Author SHA1 Message Date
Sadie Powell
9306d5474d Add support for forwarding a password from the second nick param. 2021-12-28 14:20:14 +00:00
Sadie Powell
42970ad974 We only care about the first parameter to the nick command.
Nicknames can't have spaces so the trailing concatenation logic
here is not what users will expect.
2021-12-28 13:49:20 +00:00
Sadie Powell
4c931b6f6a Send an account id tag when account-tag & message-tags are enabled. 2021-12-28 13:19:22 +00:00
Sadie Powell
e8e7a57492 Fix not being able to look up hostnames that point to multiple IPs. 2021-12-27 10:21:10 +00:00
Sadie Powell
71c62ea7cb Make packing PTR queries a bit more robust.
There is no first party modules which could be compromised before
this check was added but its better to be safe wherever possible.
2021-12-25 11:25:18 +00:00
Sadie Powell
ba82306465 Fix not looking up IPv4 addresses when a server has an IPv6 address.
Closes #1811.
2021-12-25 09:34:12 +00:00
Sadie Powell
6d0c400a49 Allow unsetting uniqueusername with metadata too. 2021-12-20 11:01:59 +00:00
Sadie Powell
2998fd178b Only show the tls cap if there is a TLS provider available. 2021-12-15 09:37:13 +00:00
Sadie Powell
15a68932b6 If a user has a unique username then include it in bans. 2021-12-14 15:55:06 +00:00
Sadie Powell
64340dc509 Sync uniqueusername from the connect class to the user.
This is a massive hack for now but should be made to sync properly
in v4 when we have extensibles that don't suck.
2021-12-14 15:48:57 +00:00
Sadie Powell
901e092c21 Add a build time check that OpenLDAP is reentrant. 2021-12-14 14:55:06 +00:00
Sadie Powell
889cbf8753 Fix the ldap module on OpenLDAP 2.5. 2021-12-14 09:58:49 +00:00
Sadie Powell
1a49cc8be3 Fix sending ERR_CHANOPRIVSNEEDED where ERR_RESTRICTED should be used. 2021-12-11 09:24:12 +00:00
InspIRCd Robot
2412c33826 Update author list. 2021-12-10 10:25:57 +00:00
Sadie Powell
78d987f70b Add a script for updating the author list. 2021-12-10 10:24:24 +00:00
Sadie Powell
1578e1f3b0 Only emit an email address into a copyright header if one exists. 2021-12-10 10:23:24 +00:00
Sadie Powell
e27c9a223b Add dummy email addresses for uncontactable people in the mailmap. 2021-12-10 09:39:14 +00:00
Sadie Powell
01c4c20dc8 Update satmd's email address in the mailmap. 2021-12-10 09:29:44 +00:00
Sadie Powell
a2e8ff12c5 Add KNOCK and CYCLE to the list of sanitisable shun commands. 2021-12-02 03:05:30 +00:00
Sadie Powell
791129def0 Fix LDAPCompare checking against the wrong return code.
Better fix for #1946.
2021-12-01 22:20:41 +00:00
Sadie Powell
c42e6e9a97 Fix the default server name on non-macOS. 2021-11-26 19:27:48 +00:00
Sadie Powell
047473426b Make parsing websocket proxy headers more robust. 2021-11-24 06:00:12 +00:00
Sadie Powell
167df45be9 Escape the IP address in httpd_stats. 2021-11-24 05:57:55 +00:00
Sadie Powell
1953470737 Escape the real and displayed hostnames in httpd_stats. 2021-11-24 04:58:46 +00:00
Sadie Powell
303c792607 Remind users about the selfsigned option to inspircd-testssl. 2021-11-23 23:05:06 +00:00
Sadie Powell
f776f92371 Add the <connect:uniqueusername> option. 2021-11-23 23:05:06 +00:00
Sadie Powell
16e5f4889f Switch mkdescriptions from YAML::Tiny to YAML. 2021-11-21 08:23:37 +00:00
Sadie Powell
b716590fa0 Switch mkdescriptions from Hoedown to CommonMark. 2021-11-21 00:51:28 +00:00
Sadie Powell
ce88f60a55 Fix the SSLINFO helpop not describing SSLINFO on channels. 2021-11-16 19:45:10 +00:00
Sadie Powell
5ccf421cbf Use a mode reference in the timedbans module. 2021-11-16 19:41:16 +00:00
Sadie Powell
b8fc612f43 Use a mode reference in the repeat module. 2021-11-16 19:39:43 +00:00
Sadie Powell
1044dce33d Clean up the banredirect module. 2021-11-16 19:37:51 +00:00
Sadie Powell
23b4b24bed Use a mode reference in the anticaps module. 2021-11-16 19:35:15 +00:00
Sadie Powell
4aac3532f5 Use a mode reference in the messageflood module. 2021-11-16 19:17:35 +00:00
Sadie Powell
2cdd311735 Document ConnectClass and reorder it to avoid unnecessary padding. 2021-11-16 18:59:18 +00:00
Sadie Powell
87d3512de5 Allow configuring which options to trust from a WebIRC gateway. 2021-11-10 18:22:31 +00:00
Sadie Powell
6cee85e732 Fix TokenList not initializing permissive to false on creation. 2021-11-10 18:19:05 +00:00
Sadie Powell
fddef325ba Implement support for WebIRC gateways sending client fingerprints. 2021-11-10 13:10:40 +00:00
Sadie Powell
e504cbd413 Update Windows dependencies. 2021-11-08 21:10:09 +00:00
Sadie Powell
52a9950c09 Fix use of auto_ptr in the ssl_gnutls module on C++17 compilers. 2021-11-04 21:17:13 +00:00
Sadie Powell
a999503a39 Switch -std=c++14 for -std=c++17 in CI.
This better matches with the master branch which uses C++17.
2021-11-04 20:45:00 +00:00
Sadie Powell
16ca375652 Show more build environment information when running configure. 2021-11-04 20:30:55 +00:00
Sadie Powell
a6f83a305b Run CI once per week to check for issues with updated packages. 2021-11-04 20:18:24 +00:00
Sadie Powell
94e1a29af5 Fix the versions we provide Debian packages for. 2021-10-27 18:17:54 +01:00
Sadie Powell
11fc0638b5 Silence a warning in the mysql module on MySQL 8.0.27. 2021-10-25 23:29:49 +01:00
Sadie Powell
beaae760bd Add Server::GetPublicName(), fix not respecting <security:hideserver>. 2021-10-25 23:02:28 +01:00
Sadie Powell
edda305a0a Respect <security:hideserver> in the 005 numeric. 2021-10-25 22:32:34 +01:00
Sadie Powell
9caacf8e96 Make reading DNs more consistent across modules.
- If the DN contains a new line character then replace it with a
  space instead of killing the entire DN in the ssl_gnutls and
  ssl_openssl modules.

- Apply the same logic to ssl_mbedtls which previously did not
  handle spaces in DNs.
2021-10-14 13:42:21 +01:00
Sadie Powell
037964ba96 Use the OVERRIDE 005 token for showing the override user mode char. 2021-10-13 21:14:15 +01:00
Sadie Powell
4a01be0d15 Fix showing the address of a custom title instead of the title. 2021-10-06 00:41:56 +01:00