14248 Commits

Author SHA1 Message Date
Sadie Powell
feaceb2b03 Fix unnecessary inlining in command handler constructors. 2020-03-09 22:50:48 +00:00
Sadie Powell
0643ce085c Fix not assigning bits to capabilities correctly.
This makes it correctly throw when the capability limit is reached
and allows up to 64 capabilities to be created instead of 32.
2020-03-09 13:57:06 +00:00
Sadie Powell
bfefabfb0f Implement support for multi-line CAP responses. 2020-03-09 13:44:07 +00:00
Sadie Powell
32abc31869 Fix <connect:requiressl> being case sensitive. 2020-03-09 04:41:29 +00:00
Sadie Powell
5960cbcde3 Fix get_cpu_count not being evaluated as a scalar.
This fixes a bug where the changes in 0c34d28447 did not work.
2020-03-09 03:44:41 +00:00
Sadie Powell
5c01f7c08f Standardise the characters allowed in config identifiers. 2020-03-05 20:47:18 +00:00
Sadie Powell
8d1255a82c Move command stuff to a more appropriate source file. 2020-03-05 20:47:18 +00:00
Sadie Powell
600ea3b38f Clean up the documentation of the Command and SplitCommand classes. 2020-03-05 20:47:18 +00:00
Sadie Powell
1899ce4e21 Move user command stuff from CommandBase to Command. 2020-03-05 20:47:18 +00:00
Sadie Powell
9a0046a709 Allow modules to prevent a message from updating the idle time. 2020-03-05 20:47:18 +00:00
Matt Schatz
d05695e5cb
Improve the description of the sslinfo module (#1755). 2020-02-26 05:11:50 +00:00
Sadie Powell
e861d5bfca Use "yes" instead of "true" in the example configs. 2020-02-21 20:37:00 +00:00
Sadie Powell
b31a4aea1b Add support for requiring users to use SSL in order to use SASL. 2020-02-21 20:27:05 +00:00
Sadie Powell
77a2f04c41 Improve the documentation of <sasl:server>. 2020-02-21 20:26:23 +00:00
Sadie Powell
82c89d40cc Add support for using environment variables in the config. 2020-02-20 18:02:51 +00:00
Sadie Powell
89f36a6f1c Fix a memory leak in the httpd module when sockets are closed late. 2020-02-20 13:31:53 +00:00
Sadie Powell
327bacd368 Lower <sts:duration> to 5m to prevent misconfigs denying access. 2020-02-19 10:03:23 +00:00
Sadie Powell
a3df29ba49 Extract time skip warning code to a static function. 2020-02-19 08:24:40 +00:00
Sadie Powell
59d2dab8a1 Convert some things to HasFd that were previously missed. 2020-02-19 05:12:53 +00:00
Sadie Powell
d1a29d72b9 Bump the module ABI version. 2020-02-19 00:39:53 +00:00
Sadie Powell
895fbdece7 Fix a copy/paste error in IRCv3::Replies::Reply. 2020-02-19 00:39:10 +00:00
Sadie Powell
815ab93a9a Fix the syntax of the filter module's stats. 2020-02-18 20:23:43 +00:00
Sadie Powell
042617e97f Add enum constants for list mode numerics. 2020-02-18 18:56:14 +00:00
Sadie Powell
df17d47b6a Use ircd-hybrid's numerics for the "pending invites" list.
This fixes a conflict with the numerics used by the invite
exception mode.
2020-02-18 18:56:14 +00:00
Sadie Powell
9822a57460 Send RPL_KNOCKDLVR when <knock:notify> is set to numeric. 2020-02-18 18:56:14 +00:00
Sadie Powell
2e0cc3684d Generalise XLine stats numerics using RPL_STATS from aircd. 2020-02-18 18:56:14 +00:00
Sadie Powell
5ddbcd3f56 Add support for the IRCv3 extensions to the SETNAME command. 2020-02-18 14:26:35 +00:00
Sadie Powell
24f1224f77 Add HasFd to EventHandler and switch code to use it. 2020-02-15 06:25:12 +00:00
Sadie Powell
f9b4c280f8 Fix leaking the dccallow list instead of setting it in FromInternal. 2020-02-15 06:25:12 +00:00
Sadie Powell
169b194788 Fix logic calling OnList when sending a cap notification.
It is possible for the cap to be null when a DEL for an unloaded
module is sent out so we should not blindly call it.
2020-02-15 06:25:12 +00:00
Sadie Powell
a018818635 GitHub Actions: ensure that all packages are up to date on macOS.
This ensures that Homebrew does not explode when installing new
packages because thats apparently a challenge for it.
2020-02-15 04:30:28 +00:00
Sadie Powell
45d5e5c752 Marginally improve the error pages created by httpd and httpd_acl. 2020-02-14 06:25:06 +00:00
Sadie Powell
7324001939 Add overloads of SendIfCap to the standard replies API. 2020-02-14 04:05:54 +00:00
Sadie Powell
98b470674b Only register the sts capability when we have a valid config.
This avoids announcing a bare sts cap when the config is wrong.
2020-02-14 03:20:25 +00:00
Sadie Powell
8d5adb667f Clean up ModuleDLLManager from the Module::cull() method.
This avoids a leak which happens in some rare circumstances.
2020-02-14 01:36:35 +00:00
Sadie Powell
c0f75dd4f5 Fix GitHub Actions on macOS for real this time. 2020-02-13 22:47:23 +00:00
Sadie Powell
0d33e174a4 Update modules.conf.example to use the new --enable-extras syntax. 2020-02-13 22:22:33 +00:00
Sadie Powell
5ea4b66f68 Update the vendored http_parser library to v2.9.3. 2020-02-13 03:00:34 +00:00
Sadie Powell
0c34d28447 Tell people to run make with the number of CPU cores plus 1.
This results in faster builds as there's always one job waiting.
2020-02-10 11:59:15 +00:00
Sadie Powell
b30c385ce5 Update the pull request template for recent module changes. 2020-02-10 01:56:56 +00:00
Akinwale Ariwodola
d0eb201d10 Remove a mistakenly repeated word in the README (#1753). 2020-02-10 01:54:34 +00:00
Sadie Powell
1315f79752 Initialise batchendmsg to NULL. 2020-02-06 11:36:32 +00:00
Sadie Powell
0c5b85df8c Include the ABI version with the incompatible module error message. 2020-02-04 11:56:00 +00:00
Sadie Powell
60d4b6a3a7 Standard replies have been ratified. 2020-02-03 11:04:05 +00:00
Wade Cline
74fa2e5b3d Clean special chars from module conf example 2020-02-03 09:03:24 +00:00
Sadie Powell
aed712ba8e Make loading modules considerably more robust and user friendly. 2020-02-02 20:32:49 +00:00
Sadie Powell
fda43fc0ff Fix GitHub Actions building on macOS.
For some reason Homebrew is imploding on upgrade and this is making
our builds fail. Let's not upgrade for now.
2020-02-02 17:43:58 +00:00
Sadie Powell
c2769b58d2 Fix being able to see the modes of private/secret channels. 2020-02-02 15:52:41 +00:00
Sadie Powell
fd6b8bd7bd Release v3.5.0. v3.5.0 2020-01-31 12:49:58 +00:00
InspIRCd Robot
8f62016f16 Update copyright headers. 2020-01-31 12:48:25 +00:00