]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
linuxdaemon [Wed, 15 May 2019 21:16:11 +0000 (16:16 -0500)]
Fix space separation for CAPAB module list
Peter Powell [Wed, 15 May 2019 09:57:02 +0000 (10:57 +0100)]
Document the --disable-auto-extras configure option.
Peter Powell [Wed, 15 May 2019 09:47:46 +0000 (10:47 +0100)]
Comment out all of the includes in the inspircd example configs.
This allows users to use the example config without any special
configuration.
Peter Powell [Wed, 15 May 2019 09:33:42 +0000 (10:33 +0100)]
Add support for the IRCv3 message id specification.
Peter Powell [Tue, 14 May 2019 14:51:25 +0000 (15:51 +0100)]
Resize the event sets to 2x the CurrentSetSize in ResizeDouble().
Peter Powell [Tue, 14 May 2019 14:55:54 +0000 (15:55 +0100)]
epoll: use a default list size of 16 to match other socket engines.
Peter Powell [Tue, 14 May 2019 13:06:54 +0000 (14:06 +0100)]
Fix an inverted condition in the commonchans module.
Peter Powell [Mon, 13 May 2019 23:30:56 +0000 (00:30 +0100)]
Add an enumeration for known protocol versions.
Peter Powell [Mon, 13 May 2019 18:32:39 +0000 (19:32 +0100)]
If a parent server is hidden then also hide its child servers.
This should fix #851.
Peter Powell [Mon, 13 May 2019 16:49:26 +0000 (17:49 +0100)]
Fix an unnecessary string copy when reading the <link> tags.
Peter Powell [Mon, 13 May 2019 23:51:31 +0000 (00:51 +0100)]
Replace ModuleSpanningTree::TimeToStr with InspIRCd::DurationStr.
Peter Powell [Mon, 13 May 2019 14:22:14 +0000 (15:22 +0100)]
Clean up and document the config header file.
Peter Powell [Mon, 13 May 2019 13:26:16 +0000 (14:26 +0100)]
Allow SSLIOHook instances to override Get{Certificate,Fingerprint}.
Peter Powell [Sun, 12 May 2019 10:45:37 +0000 (11:45 +0100)]
Fix configure not failing when invalid flags are passed to it.
Peter Powell [Sat, 11 May 2019 15:34:22 +0000 (16:34 +0100)]
modulemanager: use get_version to get the InspIRCd version.
Peter Powell [Sat, 11 May 2019 14:55:14 +0000 (15:55 +0100)]
Add a configure flag for disabling automatically enabling extras.
Requested by @niacat.
Peter Powell [Sat, 11 May 2019 13:55:20 +0000 (14:55 +0100)]
Move message access checks to OnUserPre{Tag,}Message.
This allows modules to override them if necessary.
Fixes #1619.
Peter Powell [Sat, 11 May 2019 13:29:54 +0000 (14:29 +0100)]
Allow disabling a STS policy for users in specific connect classes.
Fixes #1634.
Peter Powell [Fri, 10 May 2019 08:48:43 +0000 (09:48 +0100)]
Release v3.0.1.
Robby [Thu, 9 May 2019 17:18:15 +0000 (19:18 +0200)]
Add umode O (override) to helpop.
Peter Powell [Thu, 9 May 2019 15:17:24 +0000 (16:17 +0100)]
Improve handling of list mode limits.
- Fix not being able to set a zero limit.
- Fix MAXLIST not reflecting the true lower limit.
- Fix not treating an empty <maxlist:limit> as equivalent to *.
Peter Powell [Thu, 9 May 2019 11:37:44 +0000 (12:37 +0100)]
Delete some obsolete comments.
Peter Powell [Thu, 9 May 2019 11:02:57 +0000 (12:02 +0100)]
Silence a fallthrough warning in the pgsql module on newer GCCs.
Peter Powell [Mon, 6 May 2019 16:35:45 +0000 (17:35 +0100)]
m_geo_maxmind: fix building on older libc versions.
nia [Mon, 6 May 2019 14:53:22 +0000 (15:53 +0100)]
Re-order the includes to fix C++03 builds.
inspircd.h defines __STDC_LIMIT_MACROS to ensure that C99 int type
limits are defined, however, if <stdint.h> is included implicitly
before inspircd.h, the build fails due to the C99 integer type
limits being undefined.
Robby [Mon, 6 May 2019 14:37:13 +0000 (16:37 +0200)]
Update the exemptchanops module section in modules.conf.example with missing exemptions.
Robby [Mon, 6 May 2019 03:14:05 +0000 (05:14 +0200)]
Document the anticaps exemption.
Peter Powell [Mon, 6 May 2019 00:56:28 +0000 (01:56 +0100)]
Fix building against older versions of glibc.
Peter Powell [Sun, 5 May 2019 19:47:12 +0000 (20:47 +0100)]
Fix relying on PWD being set in the makefile.
This may not be set in some circumstances.
Adam [Sun, 5 May 2019 18:06:31 +0000 (14:06 -0400)]
win: change ssize_t typedef to SSIZE_T
libmaxminddb redefines this when building under MSVC and breaks the
build otherwise due to the redefinition of ssize_t
Peter Powell [Sun, 5 May 2019 13:52:32 +0000 (14:52 +0100)]
Fix the <wsorigin> example.
Peter Powell [Sun, 5 May 2019 12:45:15 +0000 (13:45 +0100)]
Add the test network to the readme.
Peter Powell [Sun, 5 May 2019 11:33:55 +0000 (12:33 +0100)]
Raise the connection timeout in the example configs to 20s.
This should give more time for clients on slow connections that
want to do a lot of things (request caps, do SASL auth, etc) on
connect.
Reported by @ensra.
Robby [Sun, 5 May 2019 04:25:44 +0000 (06:25 +0200)]
cmd_names: Fix the syntax.
Peter Powell [Sat, 4 May 2019 20:20:48 +0000 (21:20 +0100)]
Fix the permissions files are installed with.
Reported by @ensra.
Peter Powell [Fri, 3 May 2019 14:56:39 +0000 (15:56 +0100)]
Update the issue template for the new release.
Peter Powell [Fri, 3 May 2019 14:37:25 +0000 (15:37 +0100)]
Work around NetBSD's EV_SET using intptr_t instead of void*.
Reported by @ensra.
Peter Powell [Fri, 3 May 2019 14:17:15 +0000 (15:17 +0100)]
Fix --distribution-label erroneously requiring --development.
Reported by @ensra.
Peter Powell [Wed, 1 May 2019 11:30:18 +0000 (12:30 +0100)]
Release v3.0.0.
Robby [Fri, 3 May 2019 13:04:00 +0000 (15:04 +0200)]
Clarify the require* connect block options and document the sslinfo module operonly option.
Peter Powell [Fri, 3 May 2019 08:46:19 +0000 (09:46 +0100)]
Fix the ctctags module being marked as a draft.
Peter Powell [Wed, 1 May 2019 14:25:23 +0000 (15:25 +0100)]
Merge branch 'insp20' into insp3.
Peter Powell [Tue, 30 Apr 2019 09:05:10 +0000 (10:05 +0100)]
Remove the copyright year from the Windows resource file.
Robby [Sun, 28 Apr 2019 21:26:50 +0000 (23:26 +0200)]
Some more text fixes and improvements (#1618).
Peter Powell [Sun, 28 Apr 2019 16:40:00 +0000 (17:40 +0100)]
Raise the maximum time period for the conn_join module to 15m.
Vitor Luis [Sun, 28 Apr 2019 13:03:40 +0000 (15:03 +0200)]
Fixed a missing quotation mark in the repeat module config.
Robby [Sun, 28 Apr 2019 08:14:21 +0000 (10:14 +0200)]
Textual improvements and fixes such as typos, casing, etc. (#1612)
B00mX0r [Fri, 19 Apr 2019 22:28:19 +0000 (15:28 -0700)]
Fix compatibility issues between sqloper and postgres
Robby [Sat, 27 Apr 2019 01:43:48 +0000 (03:43 +0200)]
m_connectban and m_svshold: Use DurationString() in X-line messages.
linuxdaemon [Sat, 27 Apr 2019 22:35:31 +0000 (17:35 -0500)]
m_spanningtree: Parse and copy message tags for all cmds
Don't ignore message tags on ServerCommands, and avoid creating
duplicate CommandBase::Params instances
linuxdaemon [Sat, 27 Apr 2019 21:41:48 +0000 (16:41 -0500)]
m_spanningtree: Ensure tags are sent in forwarded cmds
When a user (U1) sends a PRIVMSG to a server (S1), which sends it to S2, which finally
sends it to S3 to send to U2, S2 doesn't send the tags it received on
the command from S1 to S3.
Peter Powell [Sat, 27 Apr 2019 22:31:45 +0000 (23:31 +0100)]
Add a Travis build matrix option for C++14.
Peter Powell [Fri, 26 Apr 2019 18:10:54 +0000 (19:10 +0100)]
Fix hiding ERR_NOOPERMOTD response when an operator logs in.
Peter Powell [Fri, 26 Apr 2019 22:20:40 +0000 (23:20 +0100)]
Update documentation links.
Peter Powell [Fri, 26 Apr 2019 17:35:17 +0000 (18:35 +0100)]
Fix the numerics used by the opermotd module.
- Use ERR_NOOPERMOTD from UnrealIRCd and RPL_OMOTDSTART, RPL_OMOTD,
and RPL_ENDOFOMOTD from ircd-ratbox.
- Only send ERR_NOOPERMOTD in response to the command.
Peter Powell [Thu, 25 Apr 2019 18:20:07 +0000 (19:20 +0100)]
Fix broken linking over IPv4 on IPv6 capable systems.
If no bind address was specified then one would be
created which had an incompatible address family to
the address that the server was trying to connect to.
Peter Powell [Wed, 24 Apr 2019 23:50:19 +0000 (00:50 +0100)]
Update vendored utfcpp library to commit
ad27c7d5e0 .
Peter Powell [Wed, 24 Apr 2019 23:42:34 +0000 (00:42 +0100)]
Update vendored http_parser library to v2.9.2.
iwalkalone [Mon, 22 Apr 2019 00:35:55 +0000 (02:35 +0200)]
Link flags must be after compiled objects.
Robby [Sun, 21 Apr 2019 21:10:18 +0000 (23:10 +0200)]
Fix grammar in unknown mode/snomask character messages.
Peter Powell [Sun, 21 Apr 2019 09:46:38 +0000 (10:46 +0100)]
HasModePermission: fix inverted condition.
Peter Powell [Fri, 19 Apr 2019 13:31:43 +0000 (14:31 +0100)]
Fall back to the most recent version supported on "CAP LS".
This ensures compliance with the behaviour specified in ircv3/ircv3-specifications#371.
Peter Powell [Fri, 19 Apr 2019 12:47:36 +0000 (13:47 +0100)]
Bump the API revision for the previous commits.
Peter Powell [Fri, 19 Apr 2019 12:03:15 +0000 (13:03 +0100)]
Improve the descriptions of various core modules.
Peter Powell [Fri, 19 Apr 2019 11:39:37 +0000 (12:39 +0100)]
Demote core_ison and core_userhost to commands in core_user.
These are not important enough for their own module.
Peter Powell [Fri, 19 Apr 2019 11:29:30 +0000 (12:29 +0100)]
Promote cmd_mode to its own core module.
core_user was an inappropriate location for this as it contains
mode changing code which is used by channels as well as users.
Peter Powell [Fri, 19 Apr 2019 11:23:53 +0000 (12:23 +0100)]
Fix namedmodes exposing non-key secret parameters to outsiders.
Peter Powell [Fri, 19 Apr 2019 10:51:42 +0000 (11:51 +0100)]
Remove the OnNamesListItem event out of the core.
Peter Powell [Fri, 19 Apr 2019 09:42:17 +0000 (10:42 +0100)]
HasModePermission: use IsModeChar.
Peter Powell [Fri, 19 Apr 2019 08:30:45 +0000 (09:30 +0100)]
Rename HasPermission to HasCommandPermission.
Peter Powell [Thu, 18 Apr 2019 23:39:57 +0000 (00:39 +0100)]
Remove the 'noisy' mode for HasPrivPermission.
This was only used in one place.
Peter Powell [Thu, 18 Apr 2019 22:16:10 +0000 (23:16 +0100)]
Remove CXX11_OVERRIDE from some non-overrides.
Peter Powell [Thu, 18 Apr 2019 16:57:20 +0000 (17:57 +0100)]
Add the new implementation of the silence module.
This module has significant improvements on the previous one:
* Flags which actually make sense.
* Better compatibility with other SILENCE implementations.
* Support for blocking CTCPs.
* Support for blocking TAGMSGs.
Peter Powell [Tue, 16 Apr 2019 21:58:15 +0000 (22:58 +0100)]
Remove m_silence pending a complete rewrite.
Peter Powell [Thu, 18 Apr 2019 19:34:16 +0000 (20:34 +0100)]
Fix some bugs in LIST constraint parsing.
1. Allow flags to be specified in lower case. This behaviour is
required by the draft-hardy-irc-isupport-00 specification.
2. Allow more than one constraint to be specified.
Peter Powell [Tue, 16 Apr 2019 15:19:55 +0000 (16:19 +0100)]
Update trivially-modifiable modules to handle tag messages.
Peter Powell [Tue, 16 Apr 2019 10:22:25 +0000 (11:22 +0100)]
Omit debug symbols when doing CI builds.
This provides a significant build time improvement.
Peter Powell [Tue, 16 Apr 2019 09:59:09 +0000 (10:59 +0100)]
Fix building m_geo_maxmind with older versions of libmaxminddb.
Peter Powell [Tue, 16 Apr 2019 09:01:37 +0000 (10:01 +0100)]
Upgrade Travis CI system to Xenial.
Peter Powell [Mon, 11 Mar 2019 00:21:16 +0000 (00:21 +0000)]
Replace the geoip module with geo_maxmind, geoban, and geoclass.
MaxMind have EOL'd the library that the geoip module uses and have
replaced it with libmaxminddb.
The geoip module has been split into geo_maxmind which provides
geolocation data, geoban which provides location-based channel
bans, and geoclass which is used to filter a user into a connect
class based on location.
Peter Powell [Mon, 15 Apr 2019 11:23:43 +0000 (12:23 +0100)]
Bump the API revision for the previous commit.
Peter Powell [Thu, 7 Feb 2019 15:34:41 +0000 (15:34 +0000)]
Fix linking servers with UNIX sockets.
- Remove the address/port overloads of BeginConnect.
- Change DoConnect to take a sockaddrs instead of an address/port.
Peter Powell [Sat, 13 Apr 2019 00:29:47 +0000 (01:29 +0100)]
commonchans: HandleMessage should not be marked as override.
Peter Powell [Thu, 4 Apr 2019 16:22:28 +0000 (17:22 +0100)]
General code cleanup for the commonchans module.
- Restructure the code to be more readable.
- Add support for tag messages.
Peter Powell [Thu, 4 Apr 2019 14:09:23 +0000 (15:09 +0100)]
Use a consistent naming scheme for operator privileges.
- users/callerid-override is now users/ignore-callerid.
- users/privdeaf-override is now users/ignore-privdeaf.
Peter Powell [Thu, 4 Apr 2019 13:36:45 +0000 (14:36 +0100)]
Fix various typos.
Peter Powell [Thu, 4 Apr 2019 11:21:52 +0000 (12:21 +0100)]
Bump the API revision for the previous commit.
Peter Powell [Wed, 3 Apr 2019 14:25:00 +0000 (15:25 +0100)]
Document OnUserInit properly and add OnUserPostInit.
Peter Powell [Tue, 2 Apr 2019 13:43:28 +0000 (14:43 +0100)]
Use SQUERY instead of PRIVMSG in alias/passforward config.
Matt Schatz [Tue, 2 Apr 2019 06:11:27 +0000 (00:11 -0600)]
Merge extras/m_privdeaf into m_deaf and update documentation.
- Merge the 2.0 extras module m_privdeaf (usermode +D for deaf to
user messages and notices) as they have a similar purpose.
- Improve the channel deaf logic where a known case of bypassing
still looped the channel userlist building an empty exemption list.
- Improve the comments within the code.
- Update the documentation with the previously undocumented
configuration to deaf and the new privdeaf configuration.
Robby [Tue, 2 Apr 2019 03:11:26 +0000 (05:11 +0200)]
m_commonchans: Replace IsOper() with HasPrivPermission() instead.
Peter Powell [Sat, 30 Mar 2019 11:53:51 +0000 (11:53 +0000)]
Rename OnClientProtocolPopulateTags to OnPopulateTags.
Peter Powell [Sat, 30 Mar 2019 11:52:36 +0000 (11:52 +0000)]
Mark messages with inspircd.org/bot if the user has +B set.
Peter Powell [Mon, 25 Mar 2019 13:23:50 +0000 (13:23 +0000)]
m_permchannels: validate channel names properly.
Robby [Sat, 23 Mar 2019 22:14:45 +0000 (23:14 +0100)]
Add the User and Group options to the systemd service unit template file.
Peter Powell [Wed, 20 Mar 2019 18:25:17 +0000 (18:25 +0000)]
Strip message tags correctly in the 1202 spanningtree compat layer.
Peter Powell [Thu, 14 Mar 2019 11:36:24 +0000 (11:36 +0000)]
Fix the link to the http_parser vendor page.
Robby [Tue, 12 Mar 2019 14:37:18 +0000 (15:37 +0100)]
Update most URLs to use HTTPS and fix some dead links.
Peter Powell [Thu, 14 Mar 2019 10:49:19 +0000 (10:49 +0000)]
Generate the ssl_cert metadata before bursting a connecting user.
Matt Schatz [Thu, 14 Mar 2019 08:07:20 +0000 (02:07 -0600)]
Check perms for removal of oper-only channel modes.
Oper-only channel modes are currently unsettable by any channel
op, oper or not. Correct this by checking both directions of an
oper-only channel mode and continue only checking the setting of
an oper-only user mode. As anyone should be able to unset their
own user modes and UnOper() removes all oper-only user modes
automatically.