14958 Commits

Author SHA1 Message Date
Sadie Powell
b74fec4c1e Add a workaround for a bug in GitHub Actions. 2021-05-27 21:08:09 +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
d60c1fdec1 Refactor the population of exceptions in delayjoin. 2021-05-22 15:38:48 +01:00
Sadie Powell
b08e70f0bf Merge branch 'insp3' into master. 2021-05-22 06:39:47 +01:00
Sadie Powell
c7b9385022 Only check for a join time if a user is actually in the channel. 2021-05-22 06:29:50 +01:00
Sadie Powell
061d54f38e Send the correct join timestamp on a delayed join message. 2021-05-22 04:58:41 +01:00
Sadie Powell
59c9b9dba4 Default to file logging if a log type is not specified. 2021-05-20 22:12:57 +01:00
Sadie Powell
7c589aacc8 Remove the empty handler for linking stats from core_stats. 2021-05-19 19:33:45 +01:00
Sadie Powell
12afc2be87 Get rid of even more pointless copy/paste comments. 2021-05-19 19:23:46 +01:00
Sadie Powell
467459de02 Kill the gecosban module which snuck back in during the merge. 2021-05-19 19:23:19 +01:00
Sadie Powell
991bd9e4ae Remove bsd.mk; this file only existed for ease of v3 migration. 2021-05-19 18:54:31 +01:00
Sadie Powell
c80a4e8ca9 Kill an outdated XXX comment in spanningtree. 2021-05-19 18:26:12 +01:00
Sadie Powell
dd930143a1 Update the Doxygen config for the new version. 2021-05-16 02:42:35 +01:00
Sadie Powell
94ddba020c Enable Doxygen XML generation. 2021-05-16 01:23:10 +01:00
Sadie Powell
3adf2b7643 Create the runtime directory at install time if it does not exist. 2021-05-14 18:42:43 +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. 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
3bfb046d28 Refactor the DNSBL config storage class. 2021-05-13 18:43:43 +01:00
Sadie Powell
38379634e6 Kill some useless comments. 2021-05-13 17:47:16 +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
8332bab7e0 Improve DNS exception messages slightly. 2021-05-11 08:06:41 +01:00
Sadie Powell
3ca912ad71 Merge branch 'insp3' into master. 2021-05-11 04:07:45 +01:00
Sadie Powell
1e6461033b Optimise building the link data string. 2021-05-11 03:21:25 +01:00
Sadie Powell
2061edda66 Fix building the link data string. 2021-05-11 02:57:43 +01:00
Sadie Powell
1876283bb1 Use CompareLinkData for comparing v4 link data & make errors cleaner. 2021-05-11 02:31:25 +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
af023bead1 Use the contents of the link data map when using the 1206 protocol.
Still to do:
- Extract URL encoding to inspstring.
- Use CompareLinkData when using the 1206 protocol.
- Show friendlier messages when a link compatibility is encountered.
2021-05-10 15:15:51 +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
8933c4b9ff Switch Channel::ChanModes to use the channel mode map. 2021-05-08 17:50:24 +01:00
Sadie Powell
1288e9e593 Send ERR_BADCHANMASK when trying to OJOIN/SAJOIN an invalid channel. 2021-05-08 17:21:04 +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
a1db12cb2e Fix the Ubuntu package name for ssl_gnutls. 2021-05-07 21:17:48 +01:00
Sadie Powell
d848034590 Switch from the Ubuntu 16.04 image to the 18.04 Ubuntu image.
The Argon2 PPA is broken again and I don't want to deal with the
stress of working out why. The 16.04 image is EOL soon (see
actions/virtual-environments/#1084) so switching off it is just
easier.
2021-05-07 20:13:55 +01:00
Sadie Powell
876d6d3afe Send 400 Bad Request if a WebSocket client doesn't send an origin. 2021-05-07 16:09:02 +01:00
Sadie Powell
e4560ecec4 Only vendor the bits of utfcpp that we actually use. 2021-05-05 00:38:05 +01:00
Sadie Powell
96e059d2ec Remove the v2 doc links from the issue templates. 2021-05-04 23:17:48 +01:00
Adam
030eaf9e57 core_dns: skip unknown resource record types 2021-05-04 17:53:57 -04:00
Sadie Powell
de648cb16d Skip clients on ulined servers in SSLINFO <#chan>. 2021-05-03 00:51:12 +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