15599 Commits

Author SHA1 Message Date
Sadie Powell
f88fbaa2fe Move aptosa/untosa into the sockaddrs union and add from/from_ip.
The struct will also now always be zero-initialized by default which
removes the footgun which has happened previously where the union has
been accessed before being initialized leading to it containing weird
values.
2022-08-11 15:40:57 +01:00
Sadie Powell
19efaf163c Clean up the sockaddrs documentation comments. 2022-08-10 22:43:23 +01:00
Sadie Powell
5c751696d6 Rename OnSetUserIP to OnChangeRemoteAddress. 2022-08-10 22:18:06 +01:00
Sadie Powell
d4125ff12d Rename SetClientIP to ChangeRemoteAddress. 2022-08-10 22:16:06 +01:00
Sadie Powell
2dc07dbc06 Merge branch 'insp3' into master. 2022-08-10 22:04:19 +01:00
Sadie Powell
bbdbbc64d5 Deprecate the string variant of SetClientIP.
Nothing uses this anymore.
2022-08-10 19:37:07 +01:00
Sadie Powell
8f5993e0ec Fix remote users with UNIX socket paths as their sockaddr. 2022-08-10 19:36:33 +01:00
Sadie Powell
ff28fd38e5 Fix some harmless debug messages when initializing remote users. 2022-08-10 14:46:05 +01:00
Sadie Powell
d74c70a364 Merge branch 'insp3' into master. 2022-08-04 18:52:55 +01:00
Sadie Powell
960a5da631 Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-08-04 18:35:31 +01:00
Sadie Powell
f2db2e44cb Fix a pedantic C++98 warning in the websocket module. 2022-08-04 18:20:14 +01:00
Sadie Powell
88b882fcd2 Expose WebSocket error messages to clients. 2022-08-04 18:13:01 +01:00
Sadie Powell
3eda1aa7fa WebSockets are a HTTP feature not a HTML5 feature. 2022-08-04 17:31:57 +01:00
Sadie Powell
cce5451945 Release v4.0.0 alpha 13. v4.0.0a13 2022-08-01 00:16:47 +01:00
Sadie Powell
4776f39b1a Fix the namesx module allocating memory before its needed. 2022-07-31 15:14:48 +01:00
Sadie Powell
3c455a8511 Modernize various minor legacy C++isms. 2022-07-30 19:15:41 +01:00
Sadie Powell
451e718489 Add support for clearing the target of a dynamic_reference. 2022-07-30 16:47:48 +01:00
Sadie Powell
1371162170 Fix insp::intrusive_list on libc++. 2022-07-26 21:36:07 +01:00
Sadie Powell
ad2aecf191 Remove some unnecessary getters in ConnectClass.
All of these members are public anyway.
2022-07-22 20:44:47 +01:00
Sadie Powell
9b12fa63ac Remove use of the deprecated std::iterator type. 2022-07-22 19:21:50 +01:00
Sadie Powell
648f813f8c Switch from NULL to nullptr. 2022-07-22 18:53:21 +01:00
InspIRCd Robot
c16bbeb0a6 Update author list. 2022-07-22 16:46:26 +01:00
Sadie Powell
ddbe4574f4 Fix mkauthors mishandling coauthor tags with periods at the end. 2022-07-22 16:45:39 +01:00
Sadie Powell
816af8c8cf Merge branch 'insp3' into master. 2022-07-22 16:41:53 +01:00
Sadie Powell
51a2948e7b Improve the performance of AddCommand slightly. 2022-07-22 16:18:45 +01:00
Sadie Powell
5f8e7fc4b2 Kill a now unused field in the showwhois module. 2022-07-22 14:37:28 +01:00
Sadie Powell
7c089c0eac Update the Alpine container to the latest release. 2022-07-22 14:35:04 +01:00
Sadie Powell
46be9aec2e Replace <showwhois:showfromopers> with an operator privilege. 2022-07-21 18:27:53 +01:00
InspIRCd Robot
1fcbbe66e3 Update author list. 2022-07-20 18:04:34 +01:00
Sadie Powell
fe326f6d55 Also list coauthors in the author file. 2022-07-20 18:02:19 +01:00
Sadie Powell
b763b1e69e Merge branch 'insp3' into master. 2022-07-19 17:00:23 +01:00
Sadie Powell
42b1429b37 Also use binary exit codes in places that terminate abruptly.
This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd.
2022-07-19 16:47:02 +01:00
Sadie Powell
f3fa07f776 Allow forcing binary exit codes at compile time.
This is useful with some init systems that handle our exit codes
strangely.
2022-07-19 16:30:23 +01:00
Wade Cline
af78050297
Allow logrotate to rotate logs with just a pid file.
Ref: #1991
2022-07-19 10:21:17 +01:00
Wade Cline
5384fb3e2d
Fix the logrotate config rotating already rotated log files.
Ref: #1990.
2022-07-11 01:16:02 +01:00
Sadie Powell
aa731daad1 Allow remote servers to specify the context of a message. 2022-07-01 15:18:44 +01:00
Sadie Powell
f347f5caf4 Release v4.0.0 alpha 12. v4.0.0a12 2022-07-01 11:27:34 +01:00
Sadie Powell
c8028f6cd6 Add version constraints to the default module enabling code. 2022-06-30 13:04:51 +01:00
Sadie Powell
30252bdc65 Drop support for ancient unsupported versions of OpenSSL. 2022-06-30 13:04:51 +01:00
Sadie Powell
c3cc5fc825 Drop support for ancient unsupported versions of GnuTLS. 2022-06-30 12:57:52 +01:00
Sadie Powell
a0850bc53f Add methods for extracting specific regex captures. 2022-06-28 14:00:14 +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
696fd30209 Move config xline reading and rehashing to core_xline. 2022-06-26 17:34:32 +01:00
Sadie Powell
968bf77eb4 Make dynamic a non-default header. 2022-06-26 17:06:22 +01:00
Sadie Powell
dc3df03406 Fix various bugs relating to platform-native module extensions. 2022-06-26 17:01:54 +01:00
Sadie Powell
68fd81b319 Make clientprotocol{msg,event} and numericbuilder non-default headers. 2022-06-26 16:34:21 +01:00
Sadie Powell
8c59961acc Move numeric helper classes to their own header. 2022-06-26 15:56:55 +01:00
Sadie Powell
89712e2e84 Move numerics to the source files where they are actually used. 2022-06-26 15:29:29 +01:00
Sadie Powell
8b39c9046a Merge branch 'insp3' into master. 2022-06-25 21:18:56 +01:00
Sadie Powell
2bbd2bc1a2 Prevent writing to loggers whilst deleting a logger. 2022-06-25 21:08:58 +01:00