16730 Commits

Author SHA1 Message Date
Sadie Powell
21fc51ab7c Use GenRandom instead of GenRandomInt to populate Bcrypt entropy. 2024-08-27 15:17:11 +01:00
Sadie Powell
1302f6ee6d Fix the argument to BindPorts not being documented. 2024-08-27 15:09:40 +01:00
Sadie Powell
491d82677d Fix measuring the CPU load on Windows. 2024-08-27 14:48:28 +01:00
Sadie Powell
56b9a4e48e Redocument ServerStats and switch members to use size_t. 2024-08-27 14:47:35 +01:00
Sadie Powell
e6ea9f7d4a Change InspIRCd::ProcessColors to take a string instead of a vector.
This is more useful for how MOTDs are processed now as we iterate
through them anyway and this allows us to avoid a needless second
iteration.
2024-08-27 14:29:56 +01:00
Sadie Powell
8b02fef312 Fix a minor doxygen warning. 2024-08-27 13:32:30 +01:00
Sadie Powell
1bf5137a9d Use sa_family_t instead of int. 2024-08-27 13:27:17 +01:00
Sadie Powell
5176f8b1ba Refactor the InspIRCd class to be actually readable.
This has been long overdue as most of the comments were outdated
and members were shoved into the class in no logical way.
2024-08-27 13:25:12 +01:00
Sadie Powell
4bb5382840 Remove prototype for the now removed SendLegacyListModes function. 2024-08-25 10:39:41 +01:00
Sadie Powell
35723862e8 Fix broadcasting mode lists to remote v3 servers. 2024-08-24 17:03:54 +01:00
Sadie Powell
cf01291da8 Fix broadcasting server information to remote v3 servers. 2024-08-24 16:26:58 +01:00
Sadie Powell
d2b09b931d Close loggers and notify opers if they throw any exceptions. 2024-08-23 19:47:58 +01:00
Sadie Powell
448c3342d9 Allow building log_json against yyjson.
This is the default if available. RapidJSON has not had a release
in years and has known security vulnerabilities so we should really
not be using it.
2024-08-23 19:47:58 +01:00
Sadie Powell
5399861e1e Allow inverted matches in require_* functions. 2024-08-23 17:29:53 +01:00
Sadie Powell
eb9b758c2e Modernise the contrib filenames in configure. 2024-08-22 09:50:30 +01:00
Sadie Powell
05cea6f835 Fix formatting strings on C++20 compilers. 2024-08-22 09:41:36 +01:00
Sadie Powell
41bc99c614 Make it clear which is the current client fingerprint. 2024-08-19 00:07:00 +01:00
Sadie Powell
15e7db5a21 Add Numeric::push_fmt(...) as shorthand for push(INSP_FORMAT(...)). 2024-08-18 16:30:55 +01:00
Sadie Powell
d95be0a516 Add a formatting overload to {Membership,User}::Write(Remote)Notice. 2024-08-18 16:19:12 +01:00
Sadie Powell
ca78bc4a0e Document Write* members in the User type correctly. 2024-08-18 15:53:01 +01:00
Sadie Powell
729cccac30 Update my nick in the INFO output. 2024-08-12 11:26:00 +01:00
Sadie Powell
0b86e6ef33 Use 1 as the first membership id not 0.
This doesn't change anything in the protocol but makes identifying
whether a user has been assigned a membership id easier while
debugging.
2024-08-11 19:11:29 +01:00
Sadie Powell
506d6f2edf Add an email address for an SVN-only committer. 2024-08-10 16:43:37 +01:00
Sadie Powell
7b6b3b9f35 Make the Perl helper script somewhat cleaner.
- Avoid duplicate check* methods.
- Remove some broken valgrind behaviour.
- Call executable instead of hardcoding the version.
- Simplify $binpath/$executable code.
2024-08-10 03:01:48 +01:00
Sadie Powell
e28ba1739c Make the slogan in the example MOTDs less bland. 2024-08-09 10:40:53 +01:00
Sadie Powell
424b5f6bf3 Add a helper template for checking MySQL errors. 2024-08-06 09:51:19 +01:00
Sadie Powell
2206a44270 Fix the pgsql module showing duplicate packages on Ubuntu.
This is covered by the debian-like constraint above.
2024-08-04 12:13:18 +01:00
Sadie Powell
6e2f3cef2e Fix trying to fetch more MySQL rows than are available.
MySQL returns -1 on error in an unsigned field which was breaking
this.
2024-08-04 11:29:49 +01:00
Sadie Powell
3ad07f7082 Fix bursting server metadata. 2024-08-03 21:27:09 +01:00
Sadie Powell
dd7544a9f0 Release v4.2.0. v4.2.0 2024-08-03 12:40:05 +01:00
InspIRCd Robot
0c6f97d7e9 Update copyright headers. 2024-08-03 12:39:33 +01:00
Sadie Powell
b14209fe6a Update the Windows dependencies. 2024-08-03 12:34:06 +01:00
Sadie Powell
3479a556d0 Update the vendored libraries. 2024-08-03 12:32:14 +01:00
Sadie Powell
5c09bb5b67 Only allow the IRCv3 WebSocket subprotocols on client connections. 2024-07-31 14:27:10 +01:00
Sadie Powell
e965d1c3d0 Improve the paths picked up by Doxygen. 2024-07-29 22:36:47 +01:00
Sadie Powell
6d956cbed6 Fix some minor bugs in EscapeTag/UnescapeTag. 2024-07-29 18:37:37 +01:00
Sadie Powell
a5503a9f5e Avoid passing malformed socket addresses to sa2cidr. 2024-07-29 15:44:01 +01:00
Sadie Powell
2366e56d43 Log when a user has an unknown socket type in User::GetCIDRMask. 2024-07-29 14:10:10 +01:00
Sadie Powell
c8e40cb7c4 Merge branch 'insp3' into insp4. 2024-07-24 19:42:05 +01:00
Sadie Powell
1db96cf4f9 Update irctest. 2024-07-24 19:40:11 +01:00
Sadie Powell
caab65a831 Move 1205 UID compatibility code to PreProcessOldProtocolMessage.
This should make it more reliable.
2024-07-24 19:26:54 +01:00
Sadie Powell
c7866e1e6c Run irctest against Anope 2.1.
[skip alpine ci]
[skip ubuntu ci]
[skip macos ci]
[skip windows ci]
2024-07-24 10:22:44 +01:00
Sadie Powell
8da9c519b7 Tell people to use insp4 not insp3. 2024-07-24 03:16:41 +01:00
Sadie Powell
2f716375bf Synchronise extensibles in Sync even if they have no value. 2024-07-24 00:31:34 +01:00
Sadie Powell
b514f826a9 Add ExtensionItem::OnSync which is called when an ext is synchronised. 2024-07-24 00:31:34 +01:00
Sadie Powell
62f3278a4a Don't resync the silence list when it comes from the network.
This isn't presently networked but it should prevent future issues.
2024-07-24 00:31:34 +01:00
Sadie Powell
a4bee21ab5 Update all usages of ProtocolServer to use Server. 2024-07-24 00:31:34 +01:00
Sadie Powell
4175ba7833 Add SendMetadata methods to Server. 2024-07-24 00:03:27 +01:00
Sadie Powell
5d2f760e4d Fix shadowing messages in pgsql and regex_pcre2. 2024-07-22 17:11:07 +01:00
Sadie Powell
d5fc385bf7 Show the right config option when not forking. 2024-07-22 17:10:44 +01:00