3005 Commits

Author SHA1 Message Date
Sadie Powell
a601cf2f0d Add <dns:enabled>; allows disabling DNS lookups entirely.
Ref: #1839.
2021-01-19 08:42:44 +00:00
Sadie Powell
ebe3e3f3cf Allow converting a Cap::Reference to a Cap::Capability*. 2021-01-19 08:11:01 +00:00
Sadie Powell
a59ed4b394 Add a new runtime directory and move the pid file to it.
The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.
2021-01-18 07:05:27 +00:00
Sadie Powell
8d6b550e0b Implement support for more XML and IRC colour code escapes. 2021-01-07 11:53:58 +00:00
Sadie Powell
2c789b7c32 Fix core message events not being fired.
Third time lucky eh?
2020-12-23 15:39:31 +00:00
Sadie Powell
96befc58f0 Send RPL_SAVENICK from irc2 when renaming a user to their UUID. 2020-12-22 04:13:56 +00:00
Sadie Powell
6cfabb0064 Hide the server name/desc better when <options:hideserver> is set. 2020-12-20 03:05:29 +00:00
Sadie Powell
029ff235e1 Fix an inverted condition in the previous commit. 2020-12-20 00:25:27 +00:00
Sadie Powell
b618b194f3 Don't call events provided by dying or dead modules. 2020-12-18 01:10:13 +00:00
Sadie Powell
ffacccbb6f Add a typedef for the data provider map. 2020-12-04 18:06:42 +00:00
Sadie Powell
eda0e5e2f0 Improve the logging of service adding/deleting. 2020-12-04 15:56:59 +00:00
Sadie Powell
a68424a611 Silence a harmless warning in newer versions of GCC. 2020-11-12 14:26:20 +00:00
Sadie Powell
d38595e7e1 Release v3.8.0. 2020-10-30 12:01:10 +00:00
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