15007 Commits

Author SHA1 Message Date
Sadie Powell
1203f3ae15 Update Doxygen config for the latest version. 2022-12-03 21:22:45 +00:00
Sadie Powell
1c68f3d2e2 Mark the entire client protocol namespace as CoreExport. 2022-11-30 21:11:40 +00:00
Sadie Powell
43b5c69523 Switch the Ubuntu CI to use ubuntu-latest. 2022-11-30 20:44:48 +00:00
Sadie Powell
97201322ec Fix using C++11 features in code that was backported from master. 2022-11-30 20:40:45 +00:00
Sadie Powell
894e9d8ddc Add a method for quickly escaping a tag value. 2022-11-30 10:46:26 +00:00
Sadie Powell
d2c6858e87 Use gnutls_digest_get_id if supported by the GnuTLS library. 2022-11-29 22:41:06 +00:00
Sadie Powell
6182ee6072 Fix asserting when building against libstdc++ in debug mode.
This code was safe as the pointer was never actually dereferenced
but libstdc++ would assert on it anyway.
2022-11-28 10:59:49 +00:00
Sadie Powell
ee41348dbd Avoid sending an +o mode change when the mode isn't available.
This is generally fine but may cause problems if an oper unloads
the core_oper module.
2022-11-28 03:22:08 +00:00
Sadie Powell
38b70b9e98 Fix various edge cases in testssl.
- Ignore SIGPIPE to work around IO::Socket::SSL having its socket
  closed from under it and terminating the program.

- Improve detection of servers that close the TCP connection right
  after it is opened. This usually means the IP address the tool is
  connecting from has been banned so suggest that as well.

- Show more debug information when a connection fails.
2022-11-26 08:17:24 +00:00
Sadie Powell
fff88188cd Fix some broken links in testssl.
MkDocs changed the anchor format a while back which broke this.
2022-11-26 05:57:02 +00:00
Sadie Powell
5a30466990 Add a workaround for the replies API not working with a cap reference.
A Cap::Reference can not be cast to a Cap::Capability& because it may
not be available and that would create a null reference. In v4 we can
change the API to take a Cap::Capability* but for now this is the best
we can do.
2022-11-24 19:01:22 +00:00
Sadie Powell
05ebc7fdaa Allow silence flag metadata to contain unknown flags.
This prevents breaking link compatibility if we ever add more silence
flags in the future.
2022-11-23 22:23:35 +00:00
Sadie Powell
bd260744ec Fix matching partially expanded IPv6 addresses. 2022-11-18 19:04:48 +00:00
Sadie Powell
25325ae75b Avoid using a CIDR range when it only represents a single IP. 2022-11-18 19:04:48 +00:00
Sadie Powell
571c229688 Update the Windows dependencies. 2022-11-16 15:53:00 +00:00
Sadie Powell
f01cae1a66 Fix cidr_range::str() on a UNIX socket returning an uninit value.
This isn't an ideal fix but its the best we can do for now. In v4
we can change the struct internals to do this properly.
2022-11-16 15:43:04 +00:00
Sadie Powell
783c2a0d06 Fix the previous commit on Windows. 2022-11-09 16:12:53 +00:00
Sadie Powell
6f58f0e1d4 Log when the uid/gid of config files might be wrong. 2022-11-08 21:43:44 +00:00
Sadie Powell
c2c270e1d5 The extended-monitor spec has been ratified now. 2022-11-02 12:20:20 +00:00
delthas
6939a79a67
Add support for the IRCv3 extended-monitor specification.
Co-authored-by: Sadie Powell <sadie@witchery.services>
2022-11-02 12:18:37 +00:00
dependabot[bot]
8c0eb6d523 Bump microsoft/setup-msbuild from 1.0.2 to 1.1.3
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.0.2 to 1.1.3.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/master/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.0.2...v1.1.3)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 13:50:26 +00:00
Sadie Powell
121668a0b9 Add a workaround for a conflict between libmysqlclient and pcre.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-10-29 16:26:30 +01:00
Sadie Powell
9b3ce29cc6 Fix the documentation of <options:defaultmodes>. 2022-10-29 16:22:10 +01:00
Sadie Powell
56aabd8b6c Allow using sts over a proxied hook like HAProxy.
Closes #1911.
2022-10-24 20:12:00 +01:00
Sadie Powell
bcf484016b Only store the topic in the permchannels database if one is set. 2022-10-23 15:01:35 +01:00
Sadie Powell
9554e7736e Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-10-22 15:24:08 +01:00
Sadie Powell
ad24454084 Fix an unintentional string copy in the geolocation API. 2022-10-18 12:30:15 +01:00
Sadie Powell
d2392598c2 Clear the ban cache when an xline is expired as well as removed. 2022-10-15 20:22:27 +01:00
Sadie Powell
5da227cf84 Document how DNS PTR record lookups work better. 2022-10-15 00:23:05 +01:00
Sadie Powell
d97a8f15de Fix the default case in GetFirstVisibleChannel and document it. 2022-10-13 08:17:33 +01:00
Sadie Powell
e8e99c6ee7 Add the inspircd.org/echo tag to echo message responses. 2022-10-12 08:50:40 +01:00
Sadie Powell
e37ee111a8 Fix channels with +D or +u set being picked for the /WHO response. 2022-10-12 08:50:06 +01:00
Sadie Powell
59ec1f6eb6 Allow modules to control the visible channel in a WHO request. 2022-10-12 08:50:06 +01:00
Sadie Powell
a54b78fb9d Add the matched channel to the WHO request data. 2022-10-12 08:50:06 +01:00
Sadie Powell
d24b04308b Fix generating self-signed certificates on newer versions of GnuTLS. 2022-10-11 13:03:15 +01:00
Sadie Powell
c853673b79 Prevent having the dccallow module loaded with a zero list size.
This doesn't make sense.
2022-10-10 07:57:33 +01:00
Sadie Powell
45cfe11c98 Fix saving the database identifier in SQL::Provider. 2022-10-07 19:41:07 +01:00
Sadie Powell
5812f5cfbf Drop attempts to send a tag message to a server. 2022-09-24 22:52:14 +01:00
Sadie Powell
1e29546b16 Remove error prone missing include logic in calcdep.
[skip windows ci]
2022-09-24 17:41:44 +01:00
Sadie Powell
13e429445f Add Windows extra modules to the module list instead of copying.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-09-22 09:08:41 +01:00
Sadie Powell
c2e6c819bc Allow building regex_posix against PCRE on Windows for link compat. 2022-09-21 22:01:17 +01:00
Sadie Powell
9b8eb0f8c2 Avoid packaging unnecessary .lib files on Windows.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-09-21 16:24:24 +01:00
Sadie Powell
d03385aaa1 Fix the ldap module when building against Windows LDAP. 2022-09-21 15:10:50 +01:00
Sadie Powell
b7f59e33ee Add the protocol serializer to the check output. 2022-09-21 02:41:31 +01:00
Sadie Powell
b6de89b4d2 Fix forwarding tags when sending a numeric to a remote user. 2022-09-19 23:42:08 +01:00
Sadie Powell
72802fac3f Fix not adding tags when converting a Numeric to a Message. 2022-09-18 21:15:34 +01:00
Sadie Powell
1fc7742a5d Send ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS. 2022-09-12 23:06:03 +01:00
Sadie Powell
6bdf1ad525 Make the temporary filenames used by modules more unique.
This prevents zombie files from causing problems.
2022-09-05 02:59:56 +01:00
Sadie Powell
ef594e2f9e Fix unnecessarily using c_str in parameters that take a std::string. 2022-09-04 01:26:58 +01:00
Sadie Powell
0ebc1b90b3 Encourage people to submit patches for weird platforms. 2022-09-03 13:51:24 +01:00