3706 Commits

Author SHA1 Message Date
Sadie Powell
e8d302911f Fix xline matching on WebIRC connections. 2021-06-17 11:10:28 +01:00
Sadie Powell
8f2595e807 Add predefined config variables for the build time directories. 2021-06-13 21:05:16 +01:00
Sadie Powell
cefae0ed22 Fix MSVC compatibility issues. 2021-06-07 10:40:18 +01:00
Sadie Powell
10e9e9a5be Rename Simple{Channel,User}ModeHandler to match other mode handlers. 2021-06-01 02:36:13 +01:00
Dominic Hamon
02340285c5
Added -Wshorten-64-to-32 and fixed all warnings. 2021-05-30 20:37:54 +01:00
Sadie Powell
ee1325cf9d Fire OnUserPreJoin regardless of whether the join is an override. 2021-05-23 01:58:34 +01:00
Sadie Powell
7a712456f1 Merge branch 'insp3' into master. 2021-05-14 16:54:33 +01:00
Sadie Powell
6ff8f38a6d Release v3.10.0. 2021-05-14 14:49:07 +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
4350a11c66 Fix sending malformed pong messages in some cases. 2021-05-14 13:56:32 +01:00
Sadie Powell
c6c4bcf952 Make ServerConfig::{ApplyModules, Fill} private. 2021-05-13 15:29:39 +01:00
Sadie Powell
448b04076e Implement support for looking up SRV records in core_dns. 2021-05-11 08:08:06 +01:00
Sadie Powell
3ca912ad71 Merge branch 'insp3' into master. 2021-05-11 04:07:45 +01:00
Sadie Powell
7b92cf2866 Extract percent encoding logic from spanningtree to inspstring. 2021-05-10 22:54:16 +01:00
Sadie Powell
23493b7d3d Refactor the hex encoding function. 2021-05-10 20:40:21 +01:00
Sadie Powell
73695c4fde Refactor the Base64 encoding and decoding functions. 2021-05-10 20:09:55 +01:00
Sadie Powell
b42fa13259 Fix the to_string implementation of ConvToStr.
I have no idea how I didn't notice this bug when it was originally
written.
2021-05-10 14:15:01 +01:00
Sadie Powell
ecabf153d0 Add a new map-based method for building link data.
The new link data is not currently used but will be in the near
future.
2021-05-10 01:46:51 +01:00
Sadie Powell
6a2f6331ed Add ChannelManager::IsPrefix. 2021-05-08 17:16:11 +01:00
Sadie Powell
5ec128be87 Constify ChannelManager::Find. 2021-05-08 15:59:32 +01:00
Sadie Powell
0c750c0608 Move channel logic from InspIRCd to the new ChannelManager class. 2021-05-08 15:31:50 +01:00
Sadie Powell
b4a174ee9c Fix a bunch of weird indentation and spacing issues. 2021-04-27 16:41:14 +01:00
Sadie Powell
8526836cf5 Merge branch 'insp3' into master. 2021-04-27 10:37:04 +01:00
Sadie Powell
86cfb2375b Use parameter pack expansion instead of recursive calls. 2021-04-27 02:54:56 +01:00
Sadie Powell
07272195de Remove the SASL fallback event.
Nothing has ever used this and we can do better than this.
2021-04-27 02:54:56 +01:00
Sadie Powell
8a5a1c799e Fix SendNoticeInternal not having a NULL command variant. 2021-04-27 02:47:47 +01:00
Sadie Powell
ba6332b8ec Rip out the SwapInternals method.
This never really worked correctly and will now be replaced with
something better.
2021-04-19 00:14:53 +01:00
Sadie Powell
e701bd0305 Rip out the OnConnectionFail event.
This never really worked correctly and will now be replaced with
something better.
2021-04-19 00:14:53 +01:00
Sadie Powell
569324feee Migrate collections from insert to emplace. 2021-04-18 04:58:28 +01:00
Sadie Powell
e5b586315b Make the reason parameter to PartUser const. 2021-04-18 04:58:28 +01:00
Sadie Powell
d8019f87b3 Fix various uses of the _t suffix which is reserved by POSIX. 2021-04-17 22:44:13 +01:00
Sadie Powell
e414f10a6a Clean up the ConvTo functions.
- Add a default parameter to ConvToNum.
- Use std::to_string for types that implement it.
- Document the functions properly.
2021-04-15 15:35:57 +01:00
Sadie Powell
60a66c8749 Add an initializer_list constructor to the flat types. 2021-04-14 23:35:51 +01:00
Sadie Powell
1d9936943e Move ssl_cert::GetMetaLine into the sslinfo module. 2021-04-12 14:10:20 +01:00
Sadie Powell
e33114954c Constify the members of ssl_cert. 2021-04-12 14:09:55 +01:00
Sadie Powell
6d205fc3fb Rename the cgiirc module to gateway. 2021-04-11 18:34:08 +01:00
Sadie Powell
4232adcb5a Replace interfacebase with deleted operator new. 2021-04-09 01:18:06 +01:00
Sadie Powell
ee643ad2a5 Migrate IOHookProvider from reference<> to std::shared_ptr<>. 2021-04-09 01:03:30 +01:00
Sadie Powell
5dc87c938a Remove usecountbase from ExtensionItem and refer to using pointers.
At one point (1.2?) this was actually useful but nowadays its not.
2021-04-09 00:16:02 +01:00
Sadie Powell
77802d96ca Use string_view in IsCTCP. 2021-04-08 20:00:46 +01:00
Sadie Powell
a6f81edcdb Take a string_view in irc::equals. 2021-04-08 18:48:52 +01:00
Sadie Powell
3c426be2a1 Refer to encryption as TLS instead of SSL in all messages. 2021-04-08 11:45:15 +01:00
Sadie Powell
942fd2bcfd Switch simple iterator loops to use range-based for loops. 2021-04-07 10:36:11 +01:00
Sadie Powell
34169ed0a7 Constify their_param in ResolveModeConflict.
There's no reason for this to be mutable.
2021-04-06 10:37:00 +01:00
Sadie Powell
7d84e4900f Fix a ton of pedantic compiler warnings. 2021-04-04 23:42:15 +01:00
Sadie Powell
131e570621 Remove the unused ExitCodes array. 2021-04-02 00:26:44 +01:00
Sadie Powell
834c11f6e9 Add support for syncing metadata set on memberships.
No compat logic is required here as existing servers will just drop
the unknown METADATA message when they can't find the target.
2021-04-01 19:03:40 +01:00
Sadie Powell
0194f799b9 Merge branch 'insp3' into master. 2021-03-31 15:04:15 +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