14203 Commits

Author SHA1 Message Date
Sadie Powell
aed712ba8e Make loading modules considerably more robust and user friendly. 2020-02-02 20:32:49 +00:00
Sadie Powell
fda43fc0ff Fix GitHub Actions building on macOS.
For some reason Homebrew is imploding on upgrade and this is making
our builds fail. Let's not upgrade for now.
2020-02-02 17:43:58 +00:00
Sadie Powell
c2769b58d2 Fix being able to see the modes of private/secret channels. 2020-02-02 15:52:41 +00:00
Sadie Powell
fd6b8bd7bd Release v3.5.0. v3.5.0 2020-01-31 12:49:58 +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
8eeb48ab21 The labeled response spec is no longer a draft. 2020-01-31 10:37:14 +00:00
Sadie Powell
823f5b3ee0 Fix the chanhistory module not storing CTCP ACTIONs. 2020-01-31 10:32:28 +00:00
Sadie Powell
ef61e7b19c Use the default OnParameterMissing in ModeUserServerNoticeMask. 2020-01-30 14:41:25 +00:00
Sadie Powell
4edae17902 The KNOCK command is broadcast so we should only send local notices.
See also: #1749.
2020-01-29 14:15:23 +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
Sadie Powell
c2a3321540 Implement support for the IRCv3 labeled-response specification. 2020-01-28 16:29:06 +00:00
Sadie Powell
0256a41f6f Add a vendor cap which rejects any attempts to enable it.
This is similar to the oragono.io/nope capability only instead of
killing the connection it just rejects the request. This should be
less intrusive for users.
2020-01-28 14:31:40 +00:00
Sadie Powell
868dc21ffb Remove the preceding - in messages sent by opermotd and showfile. 2020-01-24 21:14:35 +00:00
Sadie Powell
3620749d7d dccallow: use IsCTCP instead of parsing the message manually. 2020-01-23 19:25:37 +00:00
Sadie Powell
5612c4314e dccallow: Use irc::equals for messages received over IRC. 2020-01-23 19:24:26 +00:00
Sadie Powell
a697104a8c Add a method for getting the name of a MessageTarget.
This fixes a minor bug in the filter module where the target would
be blank in messages when a server-targetted message matches a
filter.
2020-01-23 17:22: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
b759870d74 Add an event for when a command is blocked before execution. 2020-01-22 10:22:02 +00:00
Sadie Powell
ec66b397b0 Remove unnecessary copies of CommandBase::Params in LoopCall. 2020-01-22 10:13:06 +00:00
Sadie Powell
a8b8cfe99e Make the dynref bool operator constant. 2020-01-22 10:13:06 +00:00
Sadie Powell
c83a670c19 Tweak the default motd/opermotd slightly.
Also, remove the - at the start of the MOTD field. This is cargo
culted from irc2 and theres no real reason to actually do this.
2020-01-22 10:13:01 +00:00
Sadie Powell
62483525bb Move DeleteZero to stdalgo::delete_zero. 2020-01-19 15:41:23 +00:00
Sadie Powell
5d1ff2971a Use irc::equals instead of transforming to upper case in CAP. 2020-01-18 20:48:53 +00:00
Sadie Powell
f1e02b3c0a Use case insensitive comparisons in getBool. 2020-01-18 20:39:12 +00:00
Sadie Powell
87471ab92d Add a function for showing a command whilst executing it. 2020-01-18 14:25:03 +00:00
Sadie Powell
04b5090a2f Disable auto extras when TEST_BUILD_MODULES is set in test-build. 2020-01-18 13:32:41 +00:00
Sadie Powell
2c33a3027b Improve manually enabling extra modules.
- Allow modules to be specified without their prefix and extensions
  in --{disable,enable}-extras.
- Allow modules to be space delimited in --{disable,enable}-extras.
2020-01-18 13:27:24 +00:00
Sadie Powell
47fe6c5540 Add a tool for updating the vendored libaries. 2020-01-17 23:37:32 +00:00
Sadie Powell
1158a67676 Improve the DNS cache expiration log message.
Instead of constantly spamming the log file only show the message
when an entry is actually expired and show how many entries were
expired.
2020-01-17 16:13:32 +00:00
Sadie Powell
2e91d9b2e1 Migrate from Travis CI to GitHub Actions.
This brings shiny new GitHub integrations as well as allowing us to
bring back the macOS builds which were disabled because of the very
broken Travis CI macOS infrastructure.
2020-01-17 15:35:20 +00:00
Sadie Powell
ca452cca52 Fix a harmless warning in the ssl_mbedtls module. 2020-01-17 15:35:20 +00:00
Sadie Powell
19cdd93861 Fix Perl tools not using the correct directory name in 'use lib'. 2020-01-17 15:35:20 +00:00
Sadie Powell
5ae6524522 Fix the ordering of custom event handlers.
Closes #1742.
2020-01-17 11:27:31 +00:00
Sadie Powell
72286cca74 Use irc::equals instead of strcasecmp where appropriate. 2020-01-17 10:55:18 +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
Sadie Powell
130e4e9b43 Check tag list after checking if the message-tag cap is enabled.
This fixes a confusion created in c299adb31a where users without
the message-tags cap would get errors instead of being silently
ignored.
2020-01-16 15:18:17 +00:00
Sadie Powell
b0faa27567 Add support for setting the help topic in helpop. 2020-01-15 12:56:41 +00:00
Sadie Powell
c299adb31a Prevent users from sending an empty TAGMSG. 2020-01-15 12:12:03 +00:00
Sadie Powell
88d1811905 Various improvements for the helpop module.
- Ensure that the config is actually valid. This found an invalid
  entry in the default helpop configs.
- Columize the index page and build it whilst reading the config
  instead of at request time.
2020-01-13 14:32:49 +00:00
Sadie Powell
a0176191c9 Remove whitespace between the shebang and the copyright header. 2020-01-11 22:53:07 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
f1dc582f3d Add a script for updating the copyright headers. 2020-01-11 21:56:54 +00:00
Sadie Powell
34e33342d5 Rebuild the 005 numeric after changing the case mapping. 2020-01-08 11:53:29 +00:00
Sadie Powell
0ff2d05ba6 Minor improvements to the codepage module.
- Cache the codepage name on load and restore on unload.
- Make origisnick constant.
- Fix the size of the casemap in memcmp call.
2020-01-07 23:45:10 +00:00
Sadie Powell
3dd446de41 Add a replacement for the nationalchars module. 2020-01-07 18:55:35 +00:00
Sadie Powell
1e819280ee Explicitly reject nicks beginning with a number in nationalchars.
Closes #1745.
2020-01-07 10:06:28 +00:00
Sadie Powell
33bf99090f Fix linking servers that are using the nationalchars module.
Closes #1744.
2020-01-06 11:40:02 +00:00