aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Release v4.0.0 alpha 19. v4.0.0a19Gravatar Sadie Powell2023-02-011-1/+1
|
* Update module descriptions.Gravatar Sadie Powell2023-02-012-2/+2
|
* Rename some source files to match their recently renamed headers.Gravatar Sadie Powell2023-01-272-0/+0
|
* Fix clamping the size of the IOVector array.Gravatar Sadie Powell2023-01-271-10/+3
| | | | | Casting then clamping might result in a weird size here so instead clamp before casting.
* Make reading the core config less of a mess.Gravatar Sadie Powell2023-01-273-64/+70
|
* Don't log object culls unless built with RTTI.Gravatar Sadie Powell2023-01-251-2/+0
| | | | This is spammy and not very useful without type information.
* Move CheckExemption::Call to CheckExemption::EventProvider.Gravatar Sadie Powell2023-01-2515-18/+18
| | | | | Now FirstResult not a macro there's no need for this to be a free function.
* Fix using std::max instead of std::min when clamping NetBufferSize.Gravatar Sadie Powell2023-01-251-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-259-9/+16
|\
| * Work around a bug in reading the config for the Argon2 module.Gravatar Sadie Powell2023-01-251-0/+3
| | | | | | | | | | | | | | | | | | | | ProviderConfig::version is set to an argon2 version not a base 10 version so using it as a default for the config may result in the default being ignored. Luckily 0x10 and 0x12 are 16 and 18 respectively so we can just allow them as valid values until v4 where we can eradicate the SanitiseArgon2Version function and use getEnum instead.
| * Fix PackageInfo directives in extra modules.Gravatar Sadie Powell2023-01-199-7/+14
| |
| * Fix the nicklock module sending a notice instead of ERR_NOSUCHNICK.Gravatar Sadie Powell2023-01-181-2/+2
| |
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-2542-130/+115
| |
* | Fix using (unsigned) long instead of (s)size_t.Gravatar Sadie Powell2023-01-246-12/+11
| |
* | Slim down stdalgo by removing unused and duplicate functions.Gravatar Sadie Powell2023-01-242-14/+2
| |
* | Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-2461-201/+236
| |
* | Clean up some remaining old format string stuff.Gravatar Sadie Powell2023-01-241-5/+0
| |
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-2482-331/+335
| |
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-2369-297/+301
| |
* | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf.Gravatar Sadie Powell2023-01-237-56/+12
| |
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-2396-360/+349
| |
* | Vendor the fmtlib library.Gravatar Sadie Powell2023-01-232-0/+2
| |
* | Default more stuff inline in the InspIRCd class.Gravatar Sadie Powell2023-01-231-4/+0
| |
* | Move duration functions to their own header.Gravatar Sadie Powell2023-01-2330-78/+98
| |
* | Move NotifyRawIO to the Log namespace.Gravatar Sadie Powell2023-01-224-9/+9
| |
* | Replace ModeAction with bool.Gravatar Sadie Powell2023-01-2226-147/+143
| | | | | | | | This enum is functionally the same as bool but with weird semantics.
* | Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-2220-80/+83
| |
* | Make implementing OnStreamSocketClose optional in middle hooks.Gravatar Sadie Powell2023-01-212-9/+0
| |
* | Use the underlying transport method for pinging idle clients.Gravatar Sadie Powell2023-01-212-9/+49
| | | | | | | | Closes #1998.
* | Log the versions of third-party libraries used by modules.Gravatar Sadie Powell2023-01-1911-4/+78
| |
* | The cloak_md5 module needs the md5 module not the sha2 module.Gravatar Sadie Powell2023-01-181-1/+1
| |
* | Check the hashing modules are enabled when creating a cloak method.Gravatar Sadie Powell2023-01-182-0/+13
| |
* | Allow setting <cloak:{host,path}parts> to 0.Gravatar Sadie Powell2023-01-181-3/+3
| |
* | Allow setting a different hostparts option for UNIX sockets.Gravatar Sadie Powell2023-01-181-5/+9
| | | | | | | | | | This defaults to 1 as it doesn't really make sense to expose more than just this.
* | Refactor the ListenSocket constructor to be less of a mess.Gravatar Sadie Powell2023-01-171-60/+93
| | | | | | | | Also clear up the error handling.
* | Replace SocketEngine::SetReuse with SocketEngine::SetOption.Gravatar Sadie Powell2023-01-173-8/+2
| |
* | Add a helper method for determining if a sockaddrs is an IP endpoint.Gravatar Sadie Powell2023-01-175-8/+5
| |
* | Allow creating a FailedPort without a bindspec.Gravatar Sadie Powell2023-01-173-19/+48
| |
* | Store the actual error in FailedPort instead of an error code.Gravatar Sadie Powell2023-01-163-4/+4
| |
* | Fix some testing changes that snuck in to the previous commit.Gravatar Sadie Powell2023-01-162-2/+1
| |
* | Add support for linking servers over SCTP sockets.Gravatar Sadie Powell2023-01-164-5/+14
| |
* | Add support for SCTP listeners.Gravatar Sadie Powell2023-01-163-10/+39
| |
* | Move enforcing channel join limits to core_channel.Gravatar Sadie Powell2023-01-162-26/+24
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-162-6/+33
|\|
| * Fix the cycle module sending a notice instead of ERR_BANNEDFROMCHAN.Gravatar Sadie Powell2023-01-161-1/+1
| |
| * Fix building the pgsql connection DSN in some rare cases.Gravatar Sadie Powell2023-01-141-5/+32
| | | | | | | | | | | | These values need to be escaped or they will be malformed. Ref: https://www.postgresql.org/docs/15/libpq-connect.html#id-1.7.3.8.3.5
* | Convert the setidle module to use standard replies.Gravatar Sadie Powell2023-01-161-10/+13
| |
* | Fix some issues reported by scan-build.Gravatar Sadie Powell2023-01-155-8/+31
| | | | | | | | All of these are harmless and should never cause an issue in practise.
* | Fix cloaking users with a non-IP hostname when using hmac-sha256-ip.Gravatar Sadie Powell2023-01-152-5/+6
| |
* | Constify config fields in cloak_sha256.Gravatar Sadie Powell2023-01-151-6/+6
| |