2992 Commits

Author SHA1 Message Date
InspIRCd Robot
e73d011e68 Update copyright headers. 2020-10-30 12:01:10 +00:00
Sadie Powell
7ba36f5348 Don't kill cloaking users when hash/md5 is missing. 2020-10-27 00:42:32 +00:00
Sadie Powell
581d1d8fa0 Fix the behaviour of multi-value PING and PONG messages. 2020-10-26 18:02:23 +00:00
Sadie Powell
e81dcaec7f Recheck users for xlines when their real hostname changes. 2020-10-06 10:31:39 +01:00
Sadie Powell
5c06a0f335 Check that the values specified in <limits> are reasonable. 2020-09-30 17:21:52 +01:00
Sadie Powell
e79d4ec07d Make shun block client-only tags by default. 2020-09-27 11:37:22 +01:00
Sadie Powell
63dd77804f Silence some copy warnings on C++11 compilers. 2020-08-01 13:24:36 +01:00
Sadie Powell
279ad1616d Release v3.7.0. 2020-07-30 17:23:30 +01:00
InspIRCd Robot
2f12f76ec9 Update copyright headers. 2020-07-30 14:31:12 +01:00
Sadie Powell
2c9ebe040c Make the ERR_CANNOTSENDTOCHAN extban message less misleading. 2020-07-30 12:00:16 +01:00
Matt Schatz
30648e84ce Fix secure websocket users not being seen as secure.
Since a TLS (SSL) module will always be the last IOHook attached
to a socket, IsSSL() needs to ignore any Middle IOHooks that may
also be attached.
2020-07-27 09:38:11 +01:00
Sadie Powell
7823761cf3 Add a config option that forces bots to use NOTICEs. 2020-07-07 01:49:03 +01:00
Sadie Powell
1cb1430c70 ModResult is a class now. 2020-05-22 17:20:34 +01:00
Sadie Powell
3c9d53eadd Document ModResult and switch the underlying type to char. 2020-05-21 19:24:46 +01:00
InspIRCd Robot
44489ddf7e Update copyright headers. 2020-04-24 10:23:47 +01:00
InspIRCd Robot
4f9abe96a4 Fixes by misspell-fixer 2020-04-21 00:52:12 -06:00
Matt Schatz
3ed1cc27b1
Switch User::usertype back to an unsigned int.
Leaving it up to the compiler to set the underlying type of the enum
can result in this being a signed int. This variable will not work
as intended as a 2 bit signed int.
This fixes an issue with the Windows build(s) where a server trying
to link would fail with "Protocol violation: Invalid source".
2020-04-19 05:01:04 -06:00
Matt Schatz
ccebfe6e63
Update user-facing text and comments of SSL to TLS. 2020-04-14 06:08:31 -06:00
Sadie Powell
31897d26f2 Add the inspircd.org/standard-replies capability. 2020-04-13 18:36:21 +01:00
Sadie Powell
6fcbfc0723 Add support for limiting what opers can subscribe to snomasks. 2020-04-11 15:44:51 +01:00
Sadie Powell
ba30c383ba Fix Numerics::CannotSendTo sending the wrong numeric for users. 2020-04-06 20:34:44 +01:00
Sadie Powell
fe23e07f02 Squish the cmd_whowas header.
There's no reason for this to be in a header and it can't be used
by anything else.
2020-04-04 13:25:10 +01:00
Sadie Powell
cbe5b99314 Add the Numerics::CannotSendTo class and switch stuff to use it. 2020-04-04 12:31:14 +01:00
Sadie Powell
235a986964 Add support for sending a standard reply with no command name. 2020-04-02 20:55:53 +01:00
Sadie Powell
e19674d50a Document Module::Prioritize. 2020-04-01 14:32:02 +01:00
Sadie Powell
9ebda853f5 Fix various documentation and formatting issues. 2020-03-30 17:24:12 +01:00
Matt Schatz
998b407b2a Fix the signed-ness within ConvToNum char overloads.
It should be signed int with signed char and vice-versa.
Currently, anything over 127 as unsigned char would return 0.
2020-03-24 18:26:59 +00:00
Sadie Powell
c0703f66d7 Add a raw source/target PRIVMSG overload for sending a status msg. 2020-03-19 07:34:33 +00:00
Sadie Powell
92d83e9103 Allow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}. 2020-03-18 11:26:05 +00:00
Sadie Powell
1efc234a54 Implement support for the SERVLIST command. 2020-03-12 17:51:03 +00:00
Sadie Powell
906e44f687 Add a CapReference class for the message-tags capability. 2020-03-12 05:23:04 +00:00
Sadie Powell
0a67b8861a Warn if the server config contains an unhashed password.
This will be made a hard failure in v4.
2020-03-11 15:06:19 +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
Sadie Powell
e861d5bfca Use "yes" instead of "true" in the example configs. 2020-02-21 20:37:00 +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
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
2e0cc3684d Generalise XLine stats numerics using RPL_STATS from aircd. 2020-02-18 18:56:14 +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
7324001939 Add overloads of SendIfCap to the standard replies API. 2020-02-14 04:05:54 +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
Sadie Powell
aed712ba8e Make loading modules considerably more robust and user friendly. 2020-02-02 20:32:49 +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
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