Sadie Powell
ef8e631be2
Add a config variable for the example dir.
...
This makes including example files easier on system-wide installs.
2024-08-30 15:31:47 +01:00
Sadie Powell
af6a690f52
Add MOTD escape sequences for { and }.
2024-08-30 09:32:44 +01:00
Sadie Powell
baad39b85c
Allow using color codes by name in MOTD files.
2024-08-29 23:23:30 +01:00
Sadie Powell
7a59ed2a90
Refactor InspIRCd::ProcessColors.
2024-08-29 22:12:32 +01:00
Sadie Powell
42b46e794f
Use auto in GetLevelRequired and GetSyntax.
2024-08-29 14:15:02 +01:00
Sadie Powell
31e3dfddf5
Fix the missing <nick> field in whowas RPL_WHOISACTUALY.
2024-08-29 13:50:31 +01:00
Sadie Powell
0094675b77
Remove the needless cast of <whowas:maxkeep> in core_whowas.
2024-08-28 23:55:47 +01:00
Sadie Powell
c0a68cea9c
Tweak the whowas config defaults
...
- Decrease the default number of nick groups.
- Increase the days to keep records for.
- Enable update on nick change by default.
- Remove the upper bounds on the fields.
2024-08-28 23:55:25 +01:00
Sadie Powell
a84010cd64
Ensure the AUTHENTICATE command always returns a response.
2024-08-27 18:28:57 +01:00
Sadie Powell
bb189aecb7
Avoid adding UUID users to the whowas database.
2024-08-27 18:18:13 +01:00
Sadie Powell
e6ff406b06
Fix the whowas database not being updated on nick change.
2024-08-27 18:16:26 +01:00
Sadie Powell
f4b650b4a9
Slightly reduce the memory usage of the WHOWAS database.
2024-08-27 18:02:50 +01:00
Sadie Powell
5209cc71d5
Store the actual server name rather than the public name for WHOWAS.
...
We check hideserver when sending the numeric anyway.
2024-08-27 17:57:17 +01:00
Sadie Powell
f634f614d2
Replace the InspIRCd-specific RPL_WHOWASIP with RPL_WHOISACTUALLY.
...
This makes us more compatible with other server implementations.
2024-08-27 17:55:32 +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
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