158 Commits

Author SHA1 Message Date
Sadie Powell
6646c9fbea Use CXX11_OVERRIDE instead of the override keyword. 2021-09-22 20:49:32 +01:00
Sadie Powell
5bd0a93976 Add an API for checking if I/O hooks are ready or not. 2021-09-22 20:43:49 +01:00
InspIRCd Robot
4540162276 Update copyright headers. 2021-08-27 09:38:22 +01:00
Sadie Powell
c935e5e89c Allow retrieving the already sent id from WriteNeighborsWithCap. 2021-07-24 19:07:25 +01:00
Sadie Powell
38351efa8d Deduplicate all whois numerics to the whois module header. 2021-07-05 16:50:14 +01:00
Sadie Powell
4350050a82 Fix some "targ" usages which were missed in the earlier commit. 2021-07-03 13:58:34 +01:00
Josh Soref
de6d4dbd1e
Fix various spelling issues (#1883).
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-06-21 21:47:06 +01:00
InspIRCd Robot
e94b673532 Update copyright headers. 2021-05-14 14:48:39 +01:00
Sadie Powell
c24a7435b8 Fix an off by one error in various bitsets. 2021-05-14 14:26:46 +01:00
Sadie Powell
b4a174ee9c Fix a bunch of weird indentation and spacing issues. 2021-04-27 16:41:14 +01:00
Sadie Powell
8a5a1c799e Fix SendNoticeInternal not having a NULL command variant. 2021-04-27 02:47:47 +01:00
Sadie Powell
fc3c650e8d Add support for per-DNSBL timeouts.
This should fix the issue of some DNSBLs being slower than others.
2021-03-31 13:41:55 +01:00
Sadie Powell
952ee5cc60 Fix various documentation comments. 2021-03-31 10:51:51 +01:00
Sadie Powell
8fcb8ee6d6 Add support for sending a standard reply with no command name. 2021-03-11 05:37:15 +00:00
Sadie Powell
6c2b6fa23d Add a subclass of IOHookProvider for SSL modules. 2021-03-09 01:00:16 +00:00
Sadie Powell
2ba32afa9a Fix a bunch of really obvious unnecessary includes. 2021-03-05 09:17:13 +00:00
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +00:00
Sadie Powell
0db24252fd Implement support for multi-prefix on WHOIS. 2021-02-25 20:10:34 +00:00
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
6cfabb0064 Hide the server name/desc better when <options:hideserver> is set. 2020-12-20 03:05:29 +00: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
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
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
235a986964 Add support for sending a standard reply with no command name. 2020-04-02 20:55:53 +01:00
Sadie Powell
9ebda853f5 Fix various documentation and formatting issues. 2020-03-30 17:24:12 +01:00
Sadie Powell
906e44f687 Add a CapReference class for the message-tags capability. 2020-03-12 05:23:04 +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
895fbdece7 Fix a copy/paste error in IRCv3::Replies::Reply. 2020-02-19 00:39:10 +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
60d4b6a3a7 Standard replies have been ratified. 2020-02-03 11:04:05 +00:00
InspIRCd Robot
8f62016f16 Update copyright headers. 2020-01-31 12:48:25 +00:00
Sadie Powell
b7382a9138 Use PushParam instead of PushParamRef in TagMessage#PushTarget.
This could be a temporary string so copy it instead of risking a
crash and/or dumping the contents of memory into messages.

This fixes a crash introduced last week.
2020-01-22 11:47:20 +00:00
Sadie Powell
2bf0722dde Fix a GCC shadowing warning. 2020-01-16 17:37:51 +00:00
Sadie Powell
8df3d792bc Fix STATUSMSG tag messages not including the status in the target. 2020-01-16 15:23:40 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
56375392ba Update my name and email address. 2019-12-31 20:55:17 +01:00
Peter Powell
bef13bcae3 Add some overloads of IRCv3::Replies::Reply#Send. 2019-11-25 14:10:42 +00:00
Peter Powell
43fb2f9972 Add GetId() to the SQL::Provider class. 2019-11-13 12:58:18 +00:00
Peter Powell
51b9b4c9b4 Add GetTypeStr to the DNS API. 2019-10-13 22:05:19 +01:00
Peter Powell
65f74be719 Add the OnServerBurst hook and fix the docs for OnServerLink. 2019-09-23 13:18:21 +01:00
Peter Powell
cf5d382b82 Add whether the server split with an error to OnServerSplit. 2019-09-23 13:18:19 +01:00
Peter Powell
714284aa30 Convert all core ExtensionItem code away from {un,}serialize. 2019-08-07 19:37:27 +01:00
Peter Powell
8fe455f1da Add support for the IRCv3 standard replies extension.
This extension provides a framework for other extensions to send
standard replies to clients as an alternative to numerics.
2019-07-25 14:32:47 +01:00
Peter Powell
438a088b51 Add the time tag on the server the message originates from. 2019-07-22 12:40:37 +01:00
Peter Powell
e2fcf7b3b1 Add an event for adding tags to S2S messages. 2019-07-19 14:17:10 +01:00
Peter Powell
06e2961a86 Split ServerEventListener into {Broadcast,Link,Sync}EventListener.
There is no reason to have these events in one big handler and it
causes unnecessary event hooks to be created by having them like
this.

The ServerEventListener class still exists for compatibility
2019-07-15 12:55:48 +01:00