Sadie Powell
6c34d4e8ea
Update some code that uses "endpoint" to use "socket address" instead.
2022-09-01 11:53:47 +01:00
Sadie Powell
f9379b37fa
Release v4.0.0 alpha 14.
v4.0.0a14
2022-09-01 10:15:08 +01:00
Sadie Powell
28a7f1f0c8
Merge branch 'insp3' into master.
2022-08-27 14:48:19 +01:00
Sadie Powell
e147b46117
Release v3.14.0.
v3.14.0
2022-08-25 20:49:30 +01:00
InspIRCd Robot
96f355c2fa
Update copyright headers.
2022-08-25 20:46:11 +01:00
Sadie Powell
65d50f04c0
Use std::string in the Serializer constructor.
2022-08-24 17:56:41 +01:00
Sadie Powell
87fe3cae8a
Replace GetUserCounter() with GetUsers().size().
...
This method is legacy from when there was a manual user counter and
isn't much of a length saving over the unsugared version.
2022-08-24 04:52:45 +01:00
Sadie Powell
d124f8c4db
Fix the last modified dates of the man pages.
...
The Linux man-pages project recommends using YYYY-MM-DD. Some dates
had also not been updated since they were added.
2022-08-24 04:04:49 +01:00
Sadie Powell
23f5fbc6b5
Kill some unnecessary misspell-fixer ignore entries.
2022-08-24 00:27:11 +01:00
Sadie Powell
cf47e0f3f8
Add support for logging JSON to stdout and stderr.
2022-08-24 00:13:14 +01:00
Sadie Powell
a5c2a94bd8
Fix cached log messages not having the correct timestamp.
2022-08-23 23:18:55 +01:00
Sadie Powell
61283b949d
Refactor the core event macros.
2022-08-20 18:24:56 +01:00
Sadie Powell
03c16db018
Merge branch 'insp3' into master.
2022-08-20 13:17:38 +01:00
Sadie Powell
db43d4aa89
Fix some warnings in core_who on newer GCC.
2022-08-17 15:54:36 +01:00
Sadie Powell
017c9e608b
Backport fix for types removed in C++17 from master.
2022-08-16 00:15:00 +01:00
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