Sadie Powell
de2392833e
Default allow_empty_last_param to false.
2022-09-07 22:36:02 +01:00
Sadie Powell
2a0cce9d46
Fix more warnings discovered with -Weverything.
2022-09-05 21:14:36 +01:00
Sadie Powell
6bdf1ad525
Make the temporary filenames used by modules more unique.
...
This prevents zombie files from causing problems.
2022-09-05 02:59:56 +01:00
Sadie Powell
7076a766db
Use auto in places where it is really obvious what the type is.
2022-09-04 11:28:10 +01:00
Sadie Powell
ef594e2f9e
Fix unnecessarily using c_str in parameters that take a std::string.
2022-09-04 01:26:58 +01:00
Sadie Powell
9203f40f41
Fix some warnings noticed by the readability-* clang-tidy checkers.
2022-09-03 23:17:05 +01:00
Sadie Powell
c4aa1e81aa
Fix some warnings noticed by the bugprone-* clang-tidy checkers.
2022-09-03 21:31:33 +01:00
Sadie Powell
ab8202da3c
Fix another case of fd < 0
instead of calling HasFd.
2022-09-03 20:48:02 +01:00
Sadie Powell
85ed0405df
Initialize some variables inline instead of in the constructor.
2022-09-03 20:47:42 +01:00
Sadie Powell
5718433432
Clean up the Windows build process and remove some legacy code.
2022-09-03 15:48:34 +01:00
Sadie Powell
367f5893c3
Merge branch 'insp3' into master.
2022-09-03 13:58:01 +01:00
Sadie Powell
0ebc1b90b3
Encourage people to submit patches for weird platforms.
2022-09-03 13:51:24 +01:00
Sadie Powell
8e7cd45902
We no longer provide Debian 10 packages.
2022-09-03 13:48:13 +01:00
Sadie Powell
217b3125f1
We also have Rocky Linux 9 (el9) packages now.
2022-09-03 13:47:26 +01:00
dependabot[bot]
5ea3153758
Bump turtlebrowser/get-conan from 1.0 to 1.1
...
Bumps [turtlebrowser/get-conan](https://github.com/turtlebrowser/get-conan ) from 1.0 to 1.1.
- [Release notes](https://github.com/turtlebrowser/get-conan/releases )
- [Commits](https://github.com/turtlebrowser/get-conan/compare/v1.0...v1.1 )
---
updated-dependencies:
- dependency-name: turtlebrowser/get-conan
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 15:40:31 +01:00
Sadie Powell
2a412a5a3c
Improve the usability of the macOS CI.
...
[skip alpine ci]
[skip ubuntu ci]
[skip windows ci]
2022-09-01 12:14:18 +01:00
Sadie Powell
859f7a71d3
Fix the name of the compiler flags attribute in the ldap module.
2022-09-01 12:14:01 +01:00
Sadie Powell
2cfc79bfcb
Rip out the extensible/user serialisation system.
...
This was part of a failed attempt to implement zero downtime
restarts in v3. This can be implemented in a better way but for
now its just slowing down build times so lets kill it.
2022-09-01 11:53:47 +01:00
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