aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* Release v4.0.0 alpha 17. v4.0.0a17Gravatar Sadie Powell2022-12-011-1/+1
* Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-0112-17/+16
* Yet more stylistic fixes.Gravatar Sadie Powell2022-12-0199-212/+445
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-304-26/+26
|\
| * Mark the entire client protocol namespace as CoreExport.Gravatar Sadie Powell2022-11-304-26/+26
| * Switch the Ubuntu CI to use ubuntu-latest.Gravatar Sadie Powell2022-11-301-1/+1
| * Fix using C++11 features in code that was backported from master.Gravatar Sadie Powell2022-11-301-1/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-304-11/+16
|\|
| * Add a method for quickly escaping a tag value.Gravatar Sadie Powell2022-11-302-0/+36
| * Use gnutls_digest_get_id if supported by the GnuTLS library.Gravatar Sadie Powell2022-11-291-1/+4
| * Fix asserting when building against libstdc++ in debug mode.•••This code was safe as the pointer was never actually dereferenced but libstdc++ would assert on it anyway. Gravatar Sadie Powell2022-11-281-1/+1
| * Avoid sending an +o mode change when the mode isn't available.•••This is generally fine but may cause problems if an oper unloads the core_oper module. Gravatar Sadie Powell2022-11-281-1/+1
| * Fix various edge cases in testssl.•••- Ignore SIGPIPE to work around IO::Socket::SSL having its socket closed from under it and terminating the program. - Improve detection of servers that close the TCP connection right after it is opened. This usually means the IP address the tool is connecting from has been banned so suggest that as well. - Show more debug information when a connection fails. Gravatar Sadie Powell2022-11-261-1/+10
| * Fix some broken links in testssl.•••MkDocs changed the anchor format a while back which broke this. Gravatar Sadie Powell2022-11-261-3/+2
* | Fix GetSnomasks returning unregistered snomasks.Gravatar Sadie Powell2022-11-301-1/+1
* | Add stats tags for `/STATS O` and `/STATS o`.Gravatar Sadie Powell2022-11-301-18/+35
* | Allow attaching tags with extra info to stats rows.•••Stats responses are incredibly non-standard and no clients render them correctly. This makes using /STATS a massive pain in the ass for users. However, now we have message tags we have a way to fix this. We can send a <trailing> with the message details and for clients (probably bots) that need to parse the response we can include the specific details in message tags enabled by the new inspircd.org/stats-tags capability. The average user will get this: :<server> 210 <nick> <stats-char> :<stats-message> If however they enable the newcapability they will get this instead: @inspircd.org/stats-foo=bar;inspircd.org/stats-baz=bax :<server> 210 <nick> <stats-char> :<stats-message> Gravatar Sadie Powell2022-11-302-7/+67
* | Add a method for quickly escaping a tag value.Gravatar Sadie Powell2022-11-302-0/+37
* | Make it easier to add tags to a numeric.Gravatar Sadie Powell2022-11-301-0/+21
* | Use `T&&` instead of `T` or `const T&`.Gravatar Sadie Powell2022-11-295-7/+7
* | Fix a typo in core_oper.Gravatar Sadie Powell2022-11-291-1/+2
* | Extract the logic for tags that need message-tags to its own type.Gravatar Sadie Powell2022-11-295-33/+31
* | Move the oper statistics to core_oper and rewrite.•••The numerics we used previously were not being used according to the RFC and every implementation has their own behaviour here which makes it hard for clients to do anything reasonable. Instead of this using the generic stats numeric makes a lot more sense. Gravatar Sadie Powell2022-11-296-96/+152
* | Refactor the internals of the oper system.•••- Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. Gravatar Sadie Powell2022-11-2840-370/+455
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-245-10/+22
|\|
| * Add a workaround for the replies API not working with a cap reference.•••A Cap::Reference can not be cast to a Cap::Capability& because it may not be available and that would create a null reference. In v4 we can change the API to take a Cap::Capability* but for now this is the best we can do. Gravatar Sadie Powell2022-11-241-0/+47
| * Allow silence flag metadata to contain unknown flags.•••This prevents breaking link compatibility if we ever add more silence flags in the future. Gravatar Sadie Powell2022-11-231-3/+5
| * Fix matching partially expanded IPv6 addresses.Gravatar Sadie Powell2022-11-181-2/+2
| * Avoid using a CIDR range when it only represents a single IP.Gravatar Sadie Powell2022-11-181-1/+11
* | Use string_view in IsNick/IsIdent/IsChannel.Gravatar Sadie Powell2022-11-216-18/+18
* | Fix iterator_range when the range points to a string_view.Gravatar Sadie Powell2022-11-211-1/+1
* | Update the vendored libraries.Gravatar Sadie Powell2022-11-165-132/+128
* | Fix a compiler error on Alpine and macOS.Gravatar Sadie Powell2022-11-161-0/+2
* | Add a typedef for sa_family_t on Windows.Gravatar Sadie Powell2022-11-164-14/+15
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-169-11/+153
|\|
| * Update the Windows dependencies.Gravatar Sadie Powell2022-11-161-3/+2
| * Fix cidr_range::str() on a UNIX socket returning an uninit value.•••This isn't an ideal fix but its the best we can do for now. In v4 we can change the struct internals to do this properly. Gravatar Sadie Powell2022-11-161-1/+2
| * Fix the previous commit on Windows.Gravatar Sadie Powell2022-11-091-2/+4
| * Log when the uid/gid of config files might be wrong.Gravatar Sadie Powell2022-11-081-2/+29
| * The extended-monitor spec has been ratified now.Gravatar Sadie Powell2022-11-021-1/+1
| * Add support for the IRCv3 extended-monitor specification.•••Co-authored-by: Sadie Powell <sadie@witchery.services>Gravatar delthas2022-11-025-6/+132
| * Bump microsoft/setup-msbuild from 1.0.2 to 1.1.3•••Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.0.2 to 1.1.3. - [Release notes](https://github.com/microsoft/setup-msbuild/releases) - [Changelog](https://github.com/microsoft/setup-msbuild/blob/master/building-release.md) - [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.0.2...v1.1.3) --- updated-dependencies: - dependency-name: microsoft/setup-msbuild dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>Gravatar dependabot[bot]2022-11-011-1/+1
* | Release v4.0.0 alpha 16. v4.0.0a16Gravatar Sadie Powell2022-11-011-1/+1
* | Fix some types which were missed when making stuff final.Gravatar Sadie Powell2022-10-3011-18/+17
* | Slim down the forward declarations in typedefs.Gravatar Sadie Powell2022-10-291-11/+2
* | Clean up the typedefs for OnBuildNeighborList.Gravatar Sadie Powell2022-10-299-19/+21
* | Move xline-related typedefs from typedefs to the xline header.Gravatar Sadie Powell2022-10-292-28/+29
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-293-8/+24
|\|
| * Add a workaround for a conflict between libmysqlclient and pcre.•••[skip alpine ci] [skip macos ci] [skip ubuntu ci] Gravatar Sadie Powell2022-10-291-0/+1
| * Fix the documentation of <options:defaultmodes>.Gravatar Sadie Powell2022-10-291-2/+2