15270 Commits

Author SHA1 Message Date
Sadie Powell
9059147974 Replace uses of the FileSystem class with std::filesystem. 2022-01-15 23:20:45 +00:00
Sadie Powell
3cc263858e Merge branch 'insp3' into master. 2022-01-15 19:50:32 +00:00
Sadie Powell
b52983b268 Improve CI scripts.
- Add support for skipping CI on specific platforms with commit comments.
- Add support for testing on Alpine (which uses musl instead of glibc).
- Rename "Linux CI" to "Ubuntu CI" now we test other Linux distros.
- Properly add packages to the PATH and LD_LIBRARY_PATH on macOS.
2022-01-15 18:36:51 +00:00
Sadie Powell
6c13a6c6de Fix a warning when building with the poll socket engine on Alpine. 2022-01-15 18:07:13 +00:00
Sadie Powell
581304f95d Add the ATTR_NOT_NULL define for marking arguments that can't be null. 2022-01-15 15:52:35 +00:00
Sadie Powell
94d42ad3ba Rename CUSTOM_PRINTF to ATTR_PRINTF.
ATTR_* matches the naming scheme which will be used for function
attributes from now on.

Also, redocument it to have a better description and allow Doxygen
to parse it.
2022-01-15 15:15:42 +00:00
Sadie Powell
cb5083af6d Fix a spanningtree linker error on FreeBSD armv7. 2022-01-15 10:16:12 +00:00
Sadie Powell
abeddc4f83 Merge branch 'insp3' into master. 2022-01-14 18:49:06 +00:00
Sadie Powell
ec37d6bb31 Fix accessing the /stats/general and /stats/users sub-routes. 2022-01-12 17:45:40 +00:00
Sadie Powell
dbfcc74e23 Always catch exceptions as a constant reference. 2022-01-09 14:38:01 +00:00
Sadie Powell
75eb209539 Replace some references to "SSL" that snuck in during the merge. 2022-01-09 14:26:48 +00:00
Sadie Powell
8dfea30730 Fix ssl_openssl on OpenSSL 1.0. 2022-01-07 17:20:33 +00:00
Sadie Powell
52cc8a4183 Refactor CoreException and ModuleException. 2022-01-07 17:16:50 +00:00
Sadie Powell
b96af051c2 Merge branch 'insp3' into master. 2022-01-03 15:14:36 +00:00
James Wheare
1fa8c6c1ad Update IRCCloud IP ranges 2021-12-31 00:43:48 +00:00
Sadie Powell
11b09c10e7 Release v3.12.0. v3.12.0 2021-12-31 00:01:02 +00:00
InspIRCd Robot
adbe149c56 Update copyright headers. 2021-12-30 18:52:08 +00:00
Sadie Powell
997cec0ac5 Update module descriptions. 2021-12-30 18:49:37 +00:00
Sadie Powell
9306d5474d Add support for forwarding a password from the second nick param. 2021-12-28 14:20:14 +00:00
Sadie Powell
42970ad974 We only care about the first parameter to the nick command.
Nicknames can't have spaces so the trailing concatenation logic
here is not what users will expect.
2021-12-28 13:49:20 +00:00
Sadie Powell
4c931b6f6a Send an account id tag when account-tag & message-tags are enabled. 2021-12-28 13:19:22 +00:00
Andrio Celos
408c7334bd
Fix PREFIX in RPL_ISUPPORT (#1955).
Co-authored-by: Andrio Celos <AndrioCelos@users.noreply.github.com>
2021-12-27 11:10:10 +00:00
Sadie Powell
cdab76406f Merge branch 'insp3' into master. 2021-12-27 10:53:36 +00:00
Sadie Powell
e8e7a57492 Fix not being able to look up hostnames that point to multiple IPs. 2021-12-27 10:21:10 +00:00
Sadie Powell
9fafbf633b Make all extensibles use kebab-case for names where possible. 2021-12-26 00:40:53 +00:00
Sadie Powell
71c62ea7cb Make packing PTR queries a bit more robust.
There is no first party modules which could be compromised before
this check was added but its better to be safe wherever possible.
2021-12-25 11:25:18 +00:00
Sadie Powell
ba82306465 Fix not looking up IPv4 addresses when a server has an IPv6 address.
Closes #1811.
2021-12-25 09:34:12 +00:00
Sadie Powell
bab4ce4d57 Convert the geoclass module to use generic stats instead of its own numeric.
This numeric is non-standard and no software handles it so it is
pretty pointless.
2021-12-24 22:41:21 +00:00
Sadie Powell
7bd48c5310 Convert the dnsbl module to use generic stats instead of RPL_TEXT. 2021-12-24 15:41:01 +00:00
Sadie Powell
d571752b21 Move RPL_STATS to the stats header. 2021-12-24 15:34:46 +00:00
Sadie Powell
04bdbae4a6 Add a quick method for adding a generic RPL_STATS row. 2021-12-24 15:34:42 +00:00
Sadie Powell
723a36ec39 Move DNS stats to core_dns. 2021-12-24 11:30:24 +00:00
Sadie Powell
6282e1f287 Promote ExtensionItem::ExtensibleType to a top level enum class. 2021-12-23 21:34:53 +00:00
Sadie Powell
c39a2b4c59 Fix an unintentionally inverted condition in the dnsbl module. 2021-12-20 21:00:07 +00:00
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
Sadie Powell
e34f345e3b Deduplicate xline adding code in the dnsbl module. 2021-12-20 15:02:26 +00:00
Sadie Powell
3fb0ecf2e9 Refactor the DNSBL config types slightly. 2021-12-20 13:40:09 +00:00
Sadie Powell
6d0c400a49 Allow unsetting uniqueusername with metadata too. 2021-12-20 11:01:59 +00:00
Sadie Powell
029e047f99 Mark Regex::Engine::Create{Human,} as const. 2021-12-16 14:17:56 +00:00
Sadie Powell
226c316866 Make upper case regex flags remove the flag if previously set. 2021-12-16 14:13:42 +00:00
Sadie Powell
2998fd178b Only show the tls cap if there is a TLS provider available. 2021-12-15 09:37:13 +00:00
Sadie Powell
b17e005e73 Release v4.0.0 alpha 7. v4.0.0a7 2021-12-15 08:30:07 +00:00
InspIRCd Robot
79bd267d12 Update author list. 2021-12-15 08:27:55 +00:00
Sadie Powell
d4eed99de7 Update module descriptions. 2021-12-15 08:27:44 +00:00
Sadie Powell
e9d54724e6 Merge branch 'insp3' into master. 2021-12-14 16:56:48 +00:00
Sadie Powell
64dacce892 Revert "Remove support for defaults in find_{compiler,linker}_flags()".
This is needed for compat with older versions of some libraries.

This reverts commit 83327a1978eddef854cad9e937263f80bf25f056.
2021-12-14 16:26:41 +00:00
Sadie Powell
15a68932b6 If a user has a unique username then include it in bans. 2021-12-14 15:55:06 +00:00
Sadie Powell
64340dc509 Sync uniqueusername from the connect class to the user.
This is a massive hack for now but should be made to sync properly
in v4 when we have extensibles that don't suck.
2021-12-14 15:48:57 +00:00
Sadie Powell
901e092c21 Add a build time check that OpenLDAP is reentrant. 2021-12-14 14:55:06 +00:00
Sadie Powell
889cbf8753 Fix the ldap module on OpenLDAP 2.5. 2021-12-14 09:58:49 +00:00