14339 Commits

Author SHA1 Message Date
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
Sadie Powell
4ce16000d3 Bump the ABI version. 2020-01-31 12:42:54 +00:00
Sadie Powell
8eeb48ab21 The labeled response spec is no longer a draft. 2020-01-31 10:37:14 +00:00
Sadie Powell
823f5b3ee0 Fix the chanhistory module not storing CTCP ACTIONs. 2020-01-31 10:32:28 +00:00
Sadie Powell
ef61e7b19c Use the default OnParameterMissing in ModeUserServerNoticeMask. 2020-01-30 14:41:25 +00:00
Sadie Powell
4edae17902 The KNOCK command is broadcast so we should only send local notices.
See also: #1749.
2020-01-29 14:15:23 +00:00
Sadie Powell
6597fe5d4f Add Channel::WriteRemoteNotice and revert WriteNotice changes.
This is a partial reversion of 687778b72e.

See also: #1749.
2020-01-29 12:00:32 +00:00
Sadie Powell
64df216836 Fix "control reaches end of non-void function" warning.
This is harmless because it will always be set to one of the items
in the TargetType enum.
2020-01-28 18:56:46 +00:00
Sadie Powell
c2a3321540 Implement support for the IRCv3 labeled-response specification. 2020-01-28 16:29:06 +00:00
Sadie Powell
0256a41f6f Add a vendor cap which rejects any attempts to enable it.
This is similar to the oragono.io/nope capability only instead of
killing the connection it just rejects the request. This should be
less intrusive for users.
2020-01-28 14:31:40 +00:00