16290 Commits

Author SHA1 Message Date
Sadie Powell
2b8a7a2db9 Remove unnecessary prefix from bancache log messages. 2023-06-04 10:56:50 +01:00
Sadie Powell
db03b58d1c Fix extracting data from the 1205 version/fullversion SINFO keys. 2023-06-04 00:44:18 +01:00
Sadie Powell
4c7d45b551 Fix rewriting commands in the 1205 compat layer. 2023-06-03 20:25:57 +01:00
Sadie Powell
21a33e9ec7 Fix an inverted condition in the cloak module. 2023-06-03 19:53:06 +01:00
Sadie Powell
f78f5c873f Fix an inverted condition in the DNSBL module. 2023-06-03 19:19:10 +01:00
Sadie Powell
ca2c063feb Remove docs for a config option that was removed in v4. 2023-06-03 18:59:41 +01:00
Sadie Powell
0498e9ad20 Fix calling c_str() for parameters that can take a std::string. 2023-05-31 16:46:48 +01:00
Sadie Powell
c4858e2a11 Convert DelLine from const char* to const std::string&. 2023-05-30 20:37:48 +01:00
Sadie Powell
66fb6285fa Merge branch 'insp3' into master. 2023-05-30 02:59:39 +01:00
Sadie Powell
ea85c0c6ba Fix casing of metadata in function and event names.
Metadata is one word not two so it shouldn't be capitalised like this.
2023-05-30 02:38:25 +01:00
Sadie Powell
92ba1f3f79 Log when a server sends an unexpected command post-authentication. 2023-05-29 23:37:20 +01:00
Sadie Powell
3ac627f3ba If no DNS bindport is specified then randomise it on rehash. 2023-05-29 18:58:02 +01:00
Sadie Powell
e607175dfa Fix ssl_openssl on OpenSSL versions older than 1.1.1.
Fixes a regression introduced in commit eba5cb9dc9.
2023-05-28 11:53:53 +01:00
Sadie Powell
24d5d53df0 Make it clear that <link:port> is only required for IP listeners. 2023-05-26 13:09:43 +01:00
Sadie Powell
22b499fc7b Merge branch 'insp3' into master. 2023-05-20 02:10:24 +01:00
Sadie Powell
d9855d6747 Add an undocumented build option for unlimiting the main loop.
This should never be used normally but is useful for irctest.
2023-05-20 02:09:49 +01:00
Sadie Powell
ad02b418fd We can't explicitly specify the signedness here as it causes issues.
This reverts commit 023ca96054191b66643425d673acb66c08fa1048.
2023-05-17 13:18:50 +01:00
Sadie Powell
67c37b43de Merge branch 'insp3' into master. 2023-05-16 09:52:22 +01:00
Sadie Powell
e64d14f4f7 Fix some minor Doxygen issues. 2023-05-16 09:51:14 +01:00
Sadie Powell
023ca96054 Fix some issues with ConvToNum<char> and ConvToStr<char>. 2023-05-16 09:12:44 +01:00
Sadie Powell
40791847e0 Release v4.0.0 alpha 21. v4.0.0a21 2023-05-15 11:13:49 +01:00
Sadie Powell
fe4c512839 Rename duration to timeutils and relocate InspIRCd::TimeString. 2023-05-10 11:57:48 +01:00
Sadie Powell
e196ef967c Show more details about unactivated/expired client certificates. 2023-05-10 10:59:27 +01:00
Wade Cline
eba5cb9dc9 Fix cert expiration for dates after year 2049 2023-05-10 02:01:21 +01:00
Sadie Powell
6860279094 Work around Homebrew MySQL being broken.
[skip alpine ci]
[skip ubuntu ci]
[skip windows ci]
2023-05-10 01:56:59 +01:00
Sadie Powell
4fcda809ef Rename threadsocket to thread. 2023-05-08 13:49:57 +01:00
Sadie Powell
e2cd71b706 Move the contents of thread to threadsocket. 2023-05-08 13:49:54 +01:00
Sadie Powell
4bbe6717cb Rename command_parse to commands. 2023-05-08 12:53:00 +01:00
Sadie Powell
863daf942c Move the contents of commands to command_parse. 2023-05-08 12:52:51 +01:00
Sadie Powell
b6db18bd12 Move CheckPassword to helperfuncs. 2023-05-08 12:50:42 +01:00
Sadie Powell
1aead0066a Fix some uses of NULL that have snuck back in during a merge. 2023-05-07 19:27:59 +01:00
Sadie Powell
1b7026e2e1 Use GetPrintable in more places in the codepage module. 2023-05-07 19:23:34 +01:00
Sadie Powell
4159051722 Fix narrowing unsigned long to uint32_t in the codepage module. 2023-05-07 18:34:26 +01:00
Sadie Powell
00e4b08b4d Improve the config error messages in the codepage module. 2023-05-07 18:32:50 +01:00
Sadie Powell
1d1abb11c3 Tighten up the rules for nicknames to match the Modern IRC spec. 2023-05-07 16:23:08 +01:00
Sadie Powell
15fcf2c761 Allow customising who can receive the joinflood close notification.
Closes #1747.
2023-05-07 12:14:43 +01:00
Sadie Powell
9f70663094 Work around Homebrew MySQL being broken.
[skip alpine ci]
[skip ubuntu ci]
[skip windows ci]
2023-05-07 11:00:23 +01:00
Sadie Powell
c330aa6250 Check whether IPPROTO_SCTP works before trying to implicitly multistack.
Fixes bind warnings on platforms which have IPPROTO_SCTP defined but
don't actually have support at runtime.
2023-05-04 16:36:27 +01:00
Sadie Powell
cc2244e7ba Fix the cloak modules on Clang and MSVC. 2023-05-03 17:47:41 +01:00
Sadie Powell
7c51e3cce9 Remove the now-obsolete hostchange module.
Closes #2025.
2023-05-02 14:12:32 +01:00
Sadie Powell
906142676e Add the cloak_static module to cloak using a fixed value. 2023-05-02 14:10:43 +01:00
Sadie Powell
96eab46e44 Add the cloak_nick module to cloak based on a nickname. 2023-05-02 14:10:27 +01:00
Sadie Powell
9f9714c202 Add the cloak_account module to cloak based on an account name/id. 2023-05-02 14:10:07 +01:00
Sadie Powell
8f898fd901 Redocument the cloak_md5 module. 2023-05-02 13:39:35 +01:00
Sadie Powell
aae97bda3e Add <cloak:class> to limit cloaks to a specific connect class. 2023-05-02 13:33:31 +01:00
dependabot[bot]
4b38b6ea67 Bump peter-evans/create-pull-request from 4 to 5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 20:51:27 +01:00
Sadie Powell
788bcd29cf IPv6 addresses should be partially expanded with '0' not 0x0. 2023-04-29 12:03:05 +01:00
Sadie Powell
c7da7c67c6 Fix a copy/paste error in GetUserAddress. 2023-04-29 11:51:52 +01:00
Sadie Powell
472c76132d Fix binding to IPv6 endpoints on Windows.
sockaddr_in6 has additional members on Windows that need to be
zeroed.
2023-04-28 19:14:59 +01:00
Sadie Powell
b44dacf08c Remove a renamed module that snuck back in during a merge. 2023-04-28 19:42:31 +01:00