Sadie Powell
591cb8e0b9
Const correct the xline header.
2024-09-03 11:09:54 +01:00
Sadie Powell
42b46e794f
Use auto in GetLevelRequired and GetSyntax.
2024-08-29 14:15:02 +01:00
Sadie Powell
3f7a7df740
Deprecate the raw overload of GenRandomStr in favour of GenRandom.
...
The raw overload was almost always misused where GenRandom would
be better.
While we're making changes to this code switch the printable mode
to use a static array like Anope does.
2024-08-27 16:31:38 +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
d2b09b931d
Close loggers and notify opers if they throw any exceptions.
2024-08-23 19:47:58 +01:00
Sadie Powell
05cea6f835
Fix formatting strings on C++20 compilers.
2024-08-22 09:41:36 +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
dd7544a9f0
Release 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
b514f826a9
Add ExtensionItem::OnSync which is called when an ext is synchronised.
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
4e947b8733
Allow contrib modules to specify their own module version.
2024-07-22 16:49:41 +01:00
InspIRCd Robot
a3b0aa484b
Update copyright headers.
2024-07-14 11:58:57 +01:00
Sadie Powell
2302d6f99c
Don't broadcast a ListExtItem when setting it in FromInternal.
2024-07-14 11:34:23 +01:00
Sadie Powell
9fcad237a1
Const correct numerichelper.
2024-07-13 15:11:41 +01:00
Sadie Powell
a5f902ec71
Avoid allocating in ListExtItem when its obviously not necessary.
2024-07-07 17:16:48 +01:00
Sadie Powell
87f66dda48
Shrink the geo_maxmind storage after garbage collection.
2024-07-07 16:56:36 +01:00
Sadie Powell
6ae6ad176e
Unregister extbans when the providing module is unloaded.
2024-07-06 03:08:13 +01:00
Sadie Powell
58d775b2b1
Release v4.0.0.
2024-06-29 09:43:32 +01:00
InspIRCd Robot
5b1dd4cfa5
Update copyright headers.
2024-06-29 09:43:32 +01:00
Sadie Powell
f7194cb8b3
Tell people to use the main ChatSpike domain not our alias.
2024-06-28 10:14:26 +01:00
InspIRCd Robot
fd4c5e3840
Update copyright headers.
2024-06-21 10:36:09 +01:00
InspIRCd Robot
d4da9eeff9
Update copyright headers.
2024-06-14 09:13:03 +01:00
Sadie Powell
ba19a3259b
Update Doxygen config and fix some warnings.
2024-06-11 20:29:04 +01:00
Sadie Powell
be0ad350c1
Remove an extraneous semicolon in the SQL module header.
2024-06-07 12:04:00 +01:00
InspIRCd Robot
ae3e2db109
Update copyright headers.
2024-06-07 10:37:56 +01:00
Sadie Powell
e597d7fb41
Replace std::aligned_storage with a non-deprecated alternative.
2024-06-04 13:14:43 +01:00
Sadie Powell
89f1c853f7
Add nullability attributes to module functions.
2024-06-04 12:40:16 +01:00
Sadie Powell
84b7583107
Merge branch 'insp3' into master.
2024-06-03 19:57:01 +01:00
Sadie Powell
c3cff63dca
Make passwords for oper accounts optional.
...
This allows restricting an oper account based on other data such
as TLS fingerprint or services account but without logging them in
automatically like autologin.
2024-05-16 12:29:32 +01:00
Sadie Powell
4b6af49b43
Allow mutating the status message type in OnUserPre(Tag)Message.
2024-05-06 17:18:07 +01:00
Sadie Powell
e576498408
Add --protocoldebug, make --debug default to DEBUG not RAWIO.
2024-05-01 13:44:14 +01:00
Sadie Powell
91bcc80d29
Rename OnBroadcastMessage to OnRouteMessage.
...
This is more descriptive of what it actually does.
2024-03-08 19:37:12 +00:00
Sadie Powell
5f6bf28684
Rename some of the Module member variables.
2024-03-04 13:18:04 +00:00
Sadie Powell
25bf927365
Rework SQL::PopulateUserInfo.
2024-02-19 19:18:27 +00:00
Sadie Powell
ebd03383f8
Allow using multiple SSL fingerprint algorithms.
...
Closes #1804 .
2024-02-19 18:46:05 +00:00
Sadie Powell
57368bd981
If a user has an oper connect class then reset it when de-opering.
2024-02-19 12:27:28 +00:00
Sadie Powell
3b1e4f1b5f
Split ExtBan::Acting from ExtBan::ActingBase.
2024-02-15 14:53:52 +00:00
Sadie Powell
a23392459d
Move DataProvider to base.
2024-01-22 17:22:38 +00:00
Sadie Powell
0086b162aa
Add Hex::Decode as a complement for Hex::Encode.
2024-01-13 17:45:42 +00:00
Sadie Powell
c5cc071611
Fix the string overload of Hex::Encode not passing on the separator.
2024-01-13 17:24:28 +00:00