]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Sadie Powell [Sat, 4 Apr 2020 11:28:39 +0000 (12:28 +0100)]
Don't filter mass-messages sent by server operators.
This matches the behaviour of the censor module.
Sadie Powell [Sat, 4 Apr 2020 10:49:06 +0000 (11:49 +0100)]
Add the Numerics::CannotSendTo class and switch stuff to use it.
Matt Schatz [Sat, 4 Apr 2020 08:58:59 +0000 (02:58 -0600)]
Ignore clients on ulined servers when counting invisible users.
This is in addition to
4cc992f .
Sadie Powell [Thu, 5 Mar 2020 12:22:45 +0000 (12:22 +0000)]
Add support for sending a standard reply with no command name.
Sadie Powell [Thu, 2 Apr 2020 19:53:23 +0000 (20:53 +0100)]
Add constants for the uninvite numerics.
Sadie Powell [Thu, 2 Apr 2020 10:36:25 +0000 (11:36 +0100)]
Fix the log message in the disable module.
Modes are set and unset not executed.
Sadie Powell [Wed, 1 Apr 2020 19:34:50 +0000 (20:34 +0100)]
Clear the entire DNS cache on rehash.
Sadie Powell [Wed, 1 Apr 2020 13:32:02 +0000 (14:32 +0100)]
Document Module::Prioritize.
Sadie Powell [Tue, 31 Mar 2020 16:30:46 +0000 (17:30 +0100)]
Add a comment for packagers who delete the --{uid,gid} checks.
Matt Schatz [Tue, 31 Mar 2020 14:15:47 +0000 (08:15 -0600)]
Add back the prefix on a server target message.
The prefix is dropped when building the message. We add it back here
so that the remote servers can recognize it as a server target.
Sadie Powell [Mon, 30 Mar 2020 22:41:46 +0000 (23:41 +0100)]
Fix clock skip warnings being inverted.
Sadie Powell [Mon, 30 Mar 2020 22:38:42 +0000 (23:38 +0100)]
Make showing the channel modes in /LIST configurable.
Sadie Powell [Mon, 30 Mar 2020 16:24:12 +0000 (17:24 +0100)]
Fix various documentation and formatting issues.
Sadie Powell [Sun, 29 Mar 2020 11:06:06 +0000 (12:06 +0100)]
Add support for the servers/ignore-shun privilege.
Sadie Powell [Sun, 29 Mar 2020 10:58:09 +0000 (11:58 +0100)]
Include ADMIN and OPER in the default for <shun:enabledcmds>.
Sadie Powell [Sun, 29 Mar 2020 10:57:09 +0000 (11:57 +0100)]
Clean up the parsing logic for <shun:enabledcmds>.
Matt Schatz [Sun, 29 Mar 2020 05:28:53 +0000 (23:28 -0600)]
Correct a typo in the example config.
Sadie Powell [Fri, 27 Mar 2020 14:25:09 +0000 (14:25 +0000)]
Fix expanding module names.
Sadie Powell [Fri, 27 Mar 2020 13:32:46 +0000 (13:32 +0000)]
Update the credits.
- Move Attila to former developers (RIP).
- Move genius3000 to core developers.
- Add Robby to contributors.
- Add prawnsalad to thanks.
Sadie Powell [Thu, 26 Mar 2020 15:55:18 +0000 (15:55 +0000)]
Alphabetically sort names in the credits.
Sadie Powell [Wed, 25 Mar 2020 14:28:01 +0000 (14:28 +0000)]
Improve the issue templates slightly.
Matt Schatz [Tue, 24 Mar 2020 06:25:33 +0000 (00:25 -0600)]
Only send a local X-line SNOTICE.
Spanningtree sends a local SNOTICE to 'X' when adding
a line. No need to send a global SNOTICE from here.
Matt Schatz [Tue, 24 Mar 2020 17:50:14 +0000 (11:50 -0600)]
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.
Matt Schatz [Tue, 24 Mar 2020 06:21:01 +0000 (00:21 -0600)]
Correct a module name typo.
Sadie Powell [Thu, 19 Mar 2020 07:34:04 +0000 (07:34 +0000)]
Add a raw source/target PRIVMSG overload for sending a status msg.
Sadie Powell [Wed, 18 Mar 2020 10:54:37 +0000 (10:54 +0000)]
Allow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}.
Sadie Powell [Fri, 13 Mar 2020 07:58:34 +0000 (07:58 +0000)]
Force people to use an issue template.
Sadie Powell [Thu, 12 Mar 2020 18:24:50 +0000 (18:24 +0000)]
Move CHANMODES to core_mode and add USERMODES.
Sadie Powell [Thu, 12 Mar 2020 17:27:11 +0000 (17:27 +0000)]
Implement support for the SERVLIST command.
Sadie Powell [Wed, 11 Mar 2020 19:51:26 +0000 (19:51 +0000)]
Add a CapReference class for the message-tags capability.
Joel Sing [Thu, 12 Mar 2020 05:20:46 +0000 (16:20 +1100)]
Improve logging for the m_ldap and m_ldapauth modules (#1757).
Currently, it is difficult to diagnose LDAP authentication failures,
since the logs do not provide sufficient information about what is
actually being queried and what actually failed.
This increases logging details so that information about the LDAP query
is included, for example:
Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP
server: Invalid credentials (bind dn=cn=adminz,dc=nodomain)
Rather than:
Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP
server: Invalid credentials
Same with connection logging:
Fri Mar 06 2020 07:59:53 CONNECT: Forbidden connection from
jsing!jsing@192.168.200.1 (Invalid credentials (bind
dn=uid=jsing,dc=nodomain))
Fri Mar 06 2020 08:01:19 CONNECT: Successful connection from
jsing!jsing@192.168.200.1 (dn=uid=jsing,dc=nodomain)
Sadie Powell [Wed, 11 Mar 2020 14:32:46 +0000 (14:32 +0000)]
Warn if the server config contains an unhashed password.
This will be made a hard failure in v4.
Sadie Powell [Wed, 11 Mar 2020 13:58:45 +0000 (13:58 +0000)]
Fix detection of the "plaintext" pseudo-hash being case sensitive.
Sadie Powell [Mon, 9 Mar 2020 22:50:48 +0000 (22:50 +0000)]
Fix unnecessary inlining in command handler constructors.
Sadie Powell [Mon, 9 Mar 2020 13:57:06 +0000 (13:57 +0000)]
Fix not assigning bits to capabilities correctly.
This makes it correctly throw when the capability limit is reached
and allows up to 64 capabilities to be created instead of 32.
Sadie Powell [Mon, 9 Mar 2020 13:44:07 +0000 (13:44 +0000)]
Implement support for multi-line CAP responses.
Sadie Powell [Mon, 9 Mar 2020 04:34:11 +0000 (04:34 +0000)]
Fix <connect:requiressl> being case sensitive.
Sadie Powell [Mon, 9 Mar 2020 03:44:41 +0000 (03:44 +0000)]
Fix get_cpu_count not being evaluated as a scalar.
This fixes a bug where the changes in
0c34d28447 did not work.
Sadie Powell [Thu, 27 Feb 2020 18:52:00 +0000 (18:52 +0000)]
Standardise the characters allowed in config identifiers.
Sadie Powell [Thu, 27 Feb 2020 12:16:25 +0000 (12:16 +0000)]
Move command stuff to a more appropriate source file.
Sadie Powell [Thu, 27 Feb 2020 11:50:30 +0000 (11:50 +0000)]
Clean up the documentation of the Command and SplitCommand classes.
Sadie Powell [Thu, 27 Feb 2020 11:01:32 +0000 (11:01 +0000)]
Move user command stuff from CommandBase to Command.
Sadie Powell [Mon, 24 Feb 2020 02:10:36 +0000 (02:10 +0000)]
Allow modules to prevent a message from updating the idle time.
Matt Schatz [Wed, 26 Feb 2020 05:11:50 +0000 (22:11 -0700)]
Improve the description of the sslinfo module (#1755).
Sadie Powell [Fri, 21 Feb 2020 20:37:00 +0000 (20:37 +0000)]
Use "yes" instead of "true" in the example configs.
Sadie Powell [Fri, 21 Feb 2020 20:27:05 +0000 (20:27 +0000)]
Add support for requiring users to use SSL in order to use SASL.
Sadie Powell [Fri, 21 Feb 2020 20:26:23 +0000 (20:26 +0000)]
Improve the documentation of <sasl:server>.
Sadie Powell [Thu, 20 Feb 2020 18:02:51 +0000 (18:02 +0000)]
Add support for using environment variables in the config.
Sadie Powell [Wed, 19 Feb 2020 18:00:36 +0000 (18:00 +0000)]
Fix a memory leak in the httpd module when sockets are closed late.
Sadie Powell [Wed, 19 Feb 2020 09:58:47 +0000 (09:58 +0000)]
Lower <sts:duration> to 5m to prevent misconfigs denying access.
Sadie Powell [Wed, 19 Feb 2020 08:24:40 +0000 (08:24 +0000)]
Extract time skip warning code to a static function.
Sadie Powell [Wed, 19 Feb 2020 05:12:53 +0000 (05:12 +0000)]
Convert some things to HasFd that were previously missed.
Sadie Powell [Wed, 19 Feb 2020 00:39:53 +0000 (00:39 +0000)]
Bump the module ABI version.
Sadie Powell [Wed, 19 Feb 2020 00:39:10 +0000 (00:39 +0000)]
Fix a copy/paste error in IRCv3::Replies::Reply.
Sadie Powell [Tue, 18 Feb 2020 20:23:43 +0000 (20:23 +0000)]
Fix the syntax of the filter module's stats.
Sadie Powell [Tue, 18 Feb 2020 18:03:46 +0000 (18:03 +0000)]
Add enum constants for list mode numerics.
Sadie Powell [Tue, 18 Feb 2020 18:02:13 +0000 (18:02 +0000)]
Use ircd-hybrid's numerics for the "pending invites" list.
This fixes a conflict with the numerics used by the invite
exception mode.
Sadie Powell [Tue, 18 Feb 2020 18:00:26 +0000 (18:00 +0000)]
Send RPL_KNOCKDLVR when <knock:notify> is set to numeric.
Sadie Powell [Tue, 18 Feb 2020 17:49:32 +0000 (17:49 +0000)]
Generalise XLine stats numerics using RPL_STATS from aircd.
Sadie Powell [Mon, 3 Feb 2020 10:47:44 +0000 (10:47 +0000)]
Add support for the IRCv3 extensions to the SETNAME command.
Sadie Powell [Sat, 15 Feb 2020 05:58:19 +0000 (05:58 +0000)]
Add HasFd to EventHandler and switch code to use it.
Sadie Powell [Sat, 15 Feb 2020 05:43:02 +0000 (05:43 +0000)]
Fix leaking the dccallow list instead of setting it in FromInternal.
Sadie Powell [Sat, 15 Feb 2020 05:24:24 +0000 (05:24 +0000)]
Fix logic calling OnList when sending a cap notification.
It is possible for the cap to be null when a DEL for an unloaded
module is sent out so we should not blindly call it.
Sadie Powell [Sat, 15 Feb 2020 03:53:16 +0000 (03:53 +0000)]
GitHub Actions: ensure that all packages are up to date on macOS.
This ensures that Homebrew does not explode when installing new
packages because thats apparently a challenge for it.
Sadie Powell [Fri, 14 Feb 2020 06:25:06 +0000 (06:25 +0000)]
Marginally improve the error pages created by httpd and httpd_acl.
Sadie Powell [Fri, 14 Feb 2020 04:04:44 +0000 (04:04 +0000)]
Add overloads of SendIfCap to the standard replies API.
Sadie Powell [Fri, 14 Feb 2020 03:20:25 +0000 (03:20 +0000)]
Only register the sts capability when we have a valid config.
This avoids announcing a bare sts cap when the config is wrong.
Sadie Powell [Fri, 14 Feb 2020 01:25:09 +0000 (01:25 +0000)]
Clean up ModuleDLLManager from the Module::cull() method.
This avoids a leak which happens in some rare circumstances.
Sadie Powell [Thu, 13 Feb 2020 22:39:05 +0000 (22:39 +0000)]
Fix GitHub Actions on macOS for real this time.
Sadie Powell [Thu, 13 Feb 2020 22:22:33 +0000 (22:22 +0000)]
Update modules.conf.example to use the new --enable-extras syntax.
Sadie Powell [Thu, 13 Feb 2020 03:00:34 +0000 (03:00 +0000)]
Update the vendored http_parser library to v2.9.3.
Sadie Powell [Mon, 10 Feb 2020 11:59:15 +0000 (11:59 +0000)]
Tell people to run make with the number of CPU cores plus 1.
This results in faster builds as there's always one job waiting.
Sadie Powell [Mon, 10 Feb 2020 01:56:56 +0000 (01:56 +0000)]
Update the pull request template for recent module changes.
Akinwale Ariwodola [Mon, 10 Feb 2020 01:54:34 +0000 (02:54 +0100)]
Remove a mistakenly repeated word in the README (#1753).
Sadie Powell [Thu, 6 Feb 2020 11:36:32 +0000 (11:36 +0000)]
Initialise batchendmsg to NULL.
Sadie Powell [Mon, 3 Feb 2020 21:43:15 +0000 (21:43 +0000)]
Include the ABI version with the incompatible module error message.
Sadie Powell [Mon, 3 Feb 2020 10:55:38 +0000 (10:55 +0000)]
Standard replies have been ratified.
Wade Cline [Mon, 3 Feb 2020 03:57:14 +0000 (19:57 -0800)]
Clean special chars from module conf example
Sadie Powell [Sun, 2 Feb 2020 17:07:34 +0000 (17:07 +0000)]
Make loading modules considerably more robust and user friendly.
Sadie Powell [Sun, 2 Feb 2020 17:07:34 +0000 (17:07 +0000)]
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.
Sadie Powell [Sun, 2 Feb 2020 15:52:41 +0000 (15:52 +0000)]
Fix being able to see the modes of private/secret channels.
Sadie Powell [Fri, 31 Jan 2020 12:49:58 +0000 (12:49 +0000)]
Release v3.5.0.
InspIRCd Robot [Fri, 31 Jan 2020 12:48:25 +0000 (12:48 +0000)]
Update copyright headers.
Sadie Powell [Fri, 31 Jan 2020 12:42:54 +0000 (12:42 +0000)]
Bump the ABI version.
Sadie Powell [Fri, 31 Jan 2020 10:37:14 +0000 (10:37 +0000)]
The labeled response spec is no longer a draft.
Sadie Powell [Fri, 31 Jan 2020 10:32:28 +0000 (10:32 +0000)]
Fix the chanhistory module not storing CTCP ACTIONs.
Sadie Powell [Thu, 30 Jan 2020 14:41:25 +0000 (14:41 +0000)]
Use the default OnParameterMissing in ModeUserServerNoticeMask.
Sadie Powell [Wed, 29 Jan 2020 14:14:25 +0000 (14:14 +0000)]
The KNOCK command is broadcast so we should only send local notices.
See also: #1749.
Sadie Powell [Wed, 29 Jan 2020 11:44:50 +0000 (11:44 +0000)]
Add Channel::WriteRemoteNotice and revert WriteNotice changes.
This is a partial reversion of
687778b72e .
See also: #1749.
Sadie Powell [Tue, 28 Jan 2020 16:55:06 +0000 (16:55 +0000)]
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.
Sadie Powell [Fri, 3 Jan 2020 14:55:04 +0000 (14:55 +0000)]
Implement support for the IRCv3 labeled-response specification.
Sadie Powell [Tue, 28 Jan 2020 14:31:40 +0000 (14:31 +0000)]
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.
Sadie Powell [Fri, 24 Jan 2020 21:14:35 +0000 (21:14 +0000)]
Remove the preceding - in messages sent by opermotd and showfile.
Sadie Powell [Thu, 23 Jan 2020 19:25:37 +0000 (19:25 +0000)]
dccallow: use IsCTCP instead of parsing the message manually.
Sadie Powell [Thu, 23 Jan 2020 19:24:26 +0000 (19:24 +0000)]
dccallow: Use irc::equals for messages received over IRC.
Sadie Powell [Thu, 23 Jan 2020 17:16:17 +0000 (17:16 +0000)]
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.
Sadie Powell [Wed, 22 Jan 2020 11:47:20 +0000 (11:47 +0000)]
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.
Sadie Powell [Wed, 22 Jan 2020 01:20:08 +0000 (01:20 +0000)]
Add an event for when a command is blocked before execution.
Sadie Powell [Wed, 22 Jan 2020 10:04:35 +0000 (10:04 +0000)]
Remove unnecessary copies of CommandBase::Params in LoopCall.
Sadie Powell [Mon, 20 Jan 2020 21:59:17 +0000 (21:59 +0000)]
Make the dynref bool operator constant.