16144 Commits

Author SHA1 Message Date
Sadie Powell
788bcd29cf IPv6 addresses should be partially expanded with '0' not 0x0. 2023-04-29 12:03:05 +01:00
Sadie Powell
c7da7c67c6 Fix a copy/paste error in GetUserAddress. 2023-04-29 11:51:52 +01:00
Sadie Powell
472c76132d Fix binding to IPv6 endpoints on Windows.
sockaddr_in6 has additional members on Windows that need to be
zeroed.
2023-04-28 19:14:59 +01:00
Sadie Powell
b44dacf08c Remove a renamed module that snuck back in during a merge. 2023-04-28 19:42:31 +01:00
Sadie Powell
8900f17231 Merge branch 'insp3' into master. 2023-04-28 19:30:25 +01:00
Sadie Powell
2950bc7a2f Release v3.16.0. v3.16.0 2023-04-28 10:22:59 +01:00
InspIRCd Robot
f2c74267ac Update copyright headers. 2023-04-28 10:21:39 +01:00
Sadie Powell
4be5cf3342 Fix narrowing of the config in the messageflood module. 2023-04-27 12:21:13 +01:00
Sadie Powell
323855e59d Restore the last socket error properly on Windows. 2023-04-27 12:12:41 +01:00
Sadie Powell
c65fbcb571 Use the correct socket error messages on Windows. 2023-04-27 11:53:55 +01:00
Sadie Powell
3c056d489c Merge branch 'insp3' into master. 2023-04-27 11:00:42 +01:00
Sadie Powell
222a2d8bb8 When building the PACKAGE project we don't need to specify a target. 2023-04-27 10:42:37 +01:00
Sadie Powell
0506da775a Update the Windows dependencies. 2023-04-22 12:42:16 +01:00
Sadie Powell
1745f865be Allow using rmode on a prefix char and mode name. 2023-04-21 13:19:40 +01:00
Sadie Powell
e4bbe486c1 Allow also using a prefix chat in autoop and exemptchanops. 2023-04-21 13:01:13 +01:00
Sadie Powell
45b871b789 Fix an off by one error in the rmode module. 2023-04-21 12:36:10 +01:00
Sadie Powell
f0962e0b34 Replace <sqlauth:allowpattern> with <sqlexemption>.
Partially implements #2030.
2023-04-20 11:59:22 +01:00
Sadie Powell
87f8c35e03 Merge <ldapauth:allowpattern> and <ldapwhitelist>.
Closes #1478.
2023-04-20 11:52:03 +01:00
Sadie Powell
42313bb836 <link:sctp> is for outgoing connections not incoming connections. 2023-04-20 10:18:38 +01:00
Sadie Powell
a1dd6128ba Allow limiting chanhistory only by the number of lines or duration. 2023-04-20 10:16:39 +01:00
Sadie Powell
1bbda87e47 Fix parsing <chanhistory:maxduration>.
Closes #2032.
2023-04-20 08:26:06 +01:00
Sadie Powell
f8614ea985 Allow customising the message shown when hiding an X-line ban. 2023-04-18 14:21:11 +01:00
Sadie Powell
719bec8636 Marginally improve the performance of JSON logging. 2023-03-24 17:46:14 +00:00
Sadie Powell
dbc70acf7a The services module does not require an account API instance. 2023-03-24 15:44:04 +00:00
Sadie Powell
8621712361 Send ERR_NOPERMFORHOST when a user hits a deny class. 2023-03-24 12:16:19 +00:00
Sadie Powell
6465ff70e5 Fix a segfault when sending data to a user without a connect class. 2023-03-24 12:01:33 +00:00
Sadie Powell
97a507310a Send ERR_PASSWDMISMATCH when the user specifies the wrong password.
Closes #1099.
2023-03-24 12:01:20 +00:00
Sadie Powell
054fd8de79 Allow modules to provide an error for when a class doesn't match. 2023-03-24 12:01:03 +00:00
Sadie Powell
1e2d479ad4 Add a script for doing the Windows build. 2023-03-23 09:54:15 +00:00
Matt Schatz
a3533ecbdb
[workflow] Fix misspell-fixer exceptions.
Closes #2028.
2023-03-14 21:57:58 -06:00
Sadie Powell
42b6633c87 Fix a typo in the misspell-fixer config.
Closes #2024.
2023-03-06 11:56:11 +00:00
Sadie Powell
4e1d7b84f5 Warn users when their client certificate is about to expire.
Closes #1938.
2023-03-01 20:45:07 +00:00
Sadie Powell
5a24fb0f61 Add client cert activation/expiration times to the ssl_cert class. 2023-03-01 20:45:07 +00:00
Sadie Powell
26a1c1955f Fix destroying duplicate channels when the casemapping changes. 2023-03-01 19:23:52 +00:00
Sadie Powell
352e24cba9 Fix renicking duplicate users when the casemapping changes. 2023-03-01 19:23:52 +00:00
dependabot[bot]
4b130cdeeb Bump microsoft/setup-msbuild from 1.1.3 to 1.3.1
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.1.3 to 1.3.1.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.1.3...v1.3.1)

---
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>
2023-03-01 16:30:33 +00:00
Sadie Powell
e146a7bd89 Release v4.0.0 alpha 20. v4.0.0a20 2023-03-01 10:18:13 +00:00
Sadie Powell
6c1ce514b1 Update the module descriptions. 2023-02-28 20:51:49 +00:00
Sadie Powell
8df84921d8 Refactor InspIRCd::SignalHandler. 2023-02-28 17:15:11 +00:00
Sadie Powell
3eb572691f Merge branch 'insp3' into master. 2023-02-28 16:55:26 +00:00
Sadie Powell
6469d11678 Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2023-02-28 16:45:23 +00:00
Sadie Powell
166a47ac68 Remove GetSID, rename sid to ServerId. 2023-02-28 16:32:27 +00:00
Sadie Powell
b96422961d Remove an unnecessary function call in the pbkdf2 module. 2023-02-28 15:49:51 +00:00
Sadie Powell
8685129c52 Fix missing a Doxygen parameter comment. 2023-02-28 14:38:44 +00:00
Sadie Powell
1c6d20e73c Refactor the password checking API.
- Rename from (On)PassCompare to (On)CheckPassword.

- Fix the order of the arguments to be password, hash, value. This
  makes more sense than what it was previously.

- Fix the code documentation to not be complete nonsense and not
  reference ancient outdated APIs.
2023-02-28 14:38:44 +00:00
Sadie Powell
80720f4ef1 Fix some unnecessary boolean explicit checks. 2023-02-28 13:54:33 +00:00
Sadie Powell
8efe8fac9a Fix a typo in the example module config. 2023-02-28 13:54:33 +00:00
Sadie Powell
45d68e95c9 Sort opers alphabetically in /STATS P. 2023-02-27 22:11:52 +00:00
Sadie Powell
f72b30c9fa Allow differentiating non-oper helpers from opers. 2023-02-27 21:53:58 +00:00
Sadie Powell
2597dcd153 Refer to users with +h (helpop) as helpers not (help)opers. 2023-02-27 21:47:32 +00:00