]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Peter Powell [Sat, 5 Jan 2019 13:28:07 +0000 (13:28 +0000)]
Fix the websocket origin config example.
linuxdaemon [Fri, 4 Jan 2019 20:31:08 +0000 (14:31 -0600)]
Merge m_restrictchans and m_regonlycreate due to converging functionality (#1541).
Peter Powell [Fri, 4 Jan 2019 20:01:38 +0000 (20:01 +0000)]
Update the names in the /INFO credits.
- Add linuxdaemon to Active Contributors.
- Move Sheogorath to Active Contributors.
Peter Powell [Thu, 3 Jan 2019 22:36:42 +0000 (22:36 +0000)]
Improve the spanningtree "unknown command" error message.
Peter Powell [Thu, 3 Jan 2019 13:19:07 +0000 (13:19 +0000)]
Fix building modules which depend on vendor libs on Windows.
linuxdaemon [Thu, 3 Jan 2019 13:17:23 +0000 (07:17 -0600)]
Add the ability to disable console colors in stdout logging (#1539).
Peter Powell [Wed, 2 Jan 2019 20:21:21 +0000 (20:21 +0000)]
Fix a crash when trying to use ROUTE_TYPE_MESSAGE with no message.
Peter Powell [Wed, 2 Jan 2019 17:31:31 +0000 (17:31 +0000)]
Fix message tags not being broadcast across the network.
Peter Powell [Wed, 2 Jan 2019 16:55:20 +0000 (16:55 +0000)]
Strip message tags when talking with 1202 protocol servers.
Peter Powell [Wed, 2 Jan 2019 16:42:31 +0000 (16:42 +0000)]
Remove spanningtree check for lines sent without a source.
We don't send any of these anymore.
Peter Powell [Tue, 1 Jan 2019 14:11:06 +0000 (14:11 +0000)]
Update the vendored http_parser library to v1.3.
linuxdaemon [Fri, 21 Dec 2018 18:37:22 +0000 (12:37 -0600)]
Only parse valid durations, don't treat invalid multipliers as seconds (#1538)
Peter Powell [Thu, 20 Dec 2018 13:48:24 +0000 (14:48 +0100)]
Fix thinking that 1202 protocol servers have not finished bursting.
A server introduction is only a burst if all of the parent servers
of it are not bursting.
Fixes #1527.
Peter Powell [Wed, 19 Dec 2018 10:06:46 +0000 (10:06 +0000)]
Fix docs referring to channel mode e using the wrong name.
Peter Powell [Wed, 19 Dec 2018 09:02:09 +0000 (09:02 +0000)]
Add the <maxlist> tag and switch ListModeBase to always use it.
The old method of doing this was:
1. Extremely inconsistently used. Some list modes used <banlist>
and some used their own config tag.
2. Not documented in the slightest. There was a small reference to
<maxbans> for the ban mode but nothing else.
3. In some cases conflicting with other config tags. The chanfilter
module defined a <chanfilter> tag for general config whilst also
using it for the max list settings.
The new <maxlist> tag avoids these issues entirely.
linuxdaemon [Wed, 19 Dec 2018 01:06:56 +0000 (19:06 -0600)]
Make more modules rehash atomically (#1535)
Have each module validate the values it loads before setting them, so
any errors don't result in partial application of the configs
Peter Powell [Mon, 17 Dec 2018 19:08:41 +0000 (19:08 +0000)]
Fix not propagating rehashes properly across the network.
The REHASH command is not routed like a normal command. When a
rehash that needs to be forwarded is received the local server
forwards it indirectly by calling the local REHASH handler which
then calls the OnPreRehash hook. This results in the OnPreRehash
hook being called whilst loopCall is true.
The bug which this check was added to fix seems to no longer be
present so no alternate fix for that seems necessary.
Closes #1537.
Peter Powell [Mon, 17 Dec 2018 14:02:20 +0000 (14:02 +0000)]
Alphabetically sort the modes in MAXLIST tokens.
This isn't strictly necessary but we do it for other modes in 005
so lets do it for MAXLIST too.
Peter Powell [Sun, 16 Dec 2018 01:26:04 +0000 (01:26 +0000)]
Fix ParamModeBase::OnUnset() not being virtual.
Closes #1536.
Peter Powell [Sat, 15 Dec 2018 13:38:08 +0000 (13:38 +0000)]
Fix a typo in core_user.
Peter Powell [Thu, 13 Dec 2018 16:58:39 +0000 (16:58 +0000)]
Update the cloaks of connected users when their IP address changes.
Peter Powell [Thu, 13 Dec 2018 14:01:17 +0000 (14:01 +0000)]
Store durations as unsigned long not long in XLine and m_filter.
Peter Powell [Wed, 12 Dec 2018 20:34:46 +0000 (20:34 +0000)]
Fix conversion issues by replacing ConvToInt with ConvToNum<T>.
The former was a thin wrapper around atol and brought with it all
of the weird parsing logic of atol which is almost never what is
actually wanted. It also almost never returned the numeric type
which is actually wanted which can cause weird issues when casting.
Peter Powell [Wed, 12 Dec 2018 20:59:19 +0000 (20:59 +0000)]
Fix not rejecting invalid durations in DCCALLOW.
Peter Powell [Wed, 12 Dec 2018 13:54:31 +0000 (13:54 +0000)]
Reject setting modes which are null or not registered.
Peter Powell [Wed, 12 Dec 2018 13:51:26 +0000 (13:51 +0000)]
Fix a crash when the core_oper module is not loaded.
Peter Powell [Mon, 10 Dec 2018 17:27:19 +0000 (17:27 +0000)]
Fix overly escaping MOTDs if they are in more than one connect class.
Peter Powell [Sun, 9 Dec 2018 15:57:42 +0000 (15:57 +0000)]
Move some config parser-internal types out of the public header.
Peter Powell [Sun, 9 Dec 2018 08:09:23 +0000 (08:09 +0000)]
Fix the example help files using the wrong name for <helpmsg:nohelp>.
Thanks to @genius3000 for pointing this out.
Peter Powell [Sun, 9 Dec 2018 06:43:55 +0000 (06:43 +0000)]
Use consistent numerics when a mode already exists or doesn't exist.
Peter Powell [Sun, 9 Dec 2018 06:27:44 +0000 (06:27 +0000)]
Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.
Peter Powell [Sun, 9 Dec 2018 06:15:07 +0000 (06:15 +0000)]
Fix a numeric collision with UnrealIRCd's help numerics.
We were not using these correctly and the ircd-ratbox numerics are
more widely supported so using those is better.
Peter Powell [Sun, 9 Dec 2018 04:28:25 +0000 (04:28 +0000)]
Allow users on an accept list to bypass the +R user mode.
As implemented in ircd-seven and possibly other servers.
Peter Powell [Sun, 9 Dec 2018 04:28:20 +0000 (04:28 +0000)]
Allow modules to check if a user is on a callerid accept list.
Peter Powell [Sun, 9 Dec 2018 02:19:42 +0000 (02:19 +0000)]
Clean up the callerid documentation slightly.
Peter Powell [Sun, 9 Dec 2018 02:12:46 +0000 (02:12 +0000)]
Raise the default max number of ACCEPT entries from 16 to 30.
Peter Powell [Tue, 4 Dec 2018 19:04:09 +0000 (19:04 +0000)]
Add an option for changing the allowed server clock drift.
Peter Powell [Mon, 26 Nov 2018 15:15:18 +0000 (15:15 +0000)]
Fix detecting secure clients connecting through HAProxy/WEBIRC.
Peter Powell [Mon, 26 Nov 2018 14:33:44 +0000 (14:33 +0000)]
Only check if a SSL cert is usable if we're getting the fp.
Peter Powell [Sat, 24 Nov 2018 23:27:49 +0000 (23:27 +0000)]
Use the default if an invalid duration is found in getDuration.
Peter Powell [Sat, 24 Nov 2018 23:27:16 +0000 (23:27 +0000)]
Move IsValidDuration into the core.
Peter Powell [Sat, 24 Nov 2018 19:03:55 +0000 (19:03 +0000)]
Fix some incorrect conditions in the showfile module.
Thanks to @genius3000 for pointing this out.
Peter Powell [Sat, 24 Nov 2018 18:57:28 +0000 (18:57 +0000)]
Improve the description of the maphide module.
Peter Powell [Sat, 24 Nov 2018 17:37:14 +0000 (17:37 +0000)]
Improve the output of the showfile module.
- Omit the starting numeric if a zero numeric is specified.
- Omit the ending numeric if a zero numeric is specified or if the
end message is empty.
Peter Powell [Wed, 21 Nov 2018 13:22:22 +0000 (13:22 +0000)]
Kill users that fail a WEBIRC auth instead of penalising them.
This behaviour is specified in the IRCv3 WebIRC specification.
Peter Powell [Wed, 21 Nov 2018 12:59:02 +0000 (12:59 +0000)]
Only try to parse the WebIRC IP if the user matches a host.
Robby [Wed, 21 Nov 2018 00:53:03 +0000 (01:53 +0100)]
m_filter: Add a warn action for notifying opers while still allowing the message through.
Thanks to @H7-25 (Simos) for the idea.
Robby [Wed, 21 Nov 2018 00:32:41 +0000 (01:32 +0100)]
m_blockcolor: Check for colors the same way InspIRCd::StripColor() does.
Robby [Tue, 20 Nov 2018 22:32:19 +0000 (23:32 +0100)]
Add missing special character for reversing color.
Peter Powell [Mon, 19 Nov 2018 02:25:05 +0000 (02:25 +0000)]
Add support for multiple cloak configurations.
The first will be used for cloaking and the rest will be used for
checking bans.
Peter Powell [Mon, 19 Nov 2018 02:49:32 +0000 (02:49 +0000)]
Exclude the vendor directory from Doxygen-generated documentation.
Peter Powell [Sun, 18 Nov 2018 13:12:07 +0000 (13:12 +0000)]
Fix single backslashes in the MOTD erroneously being removed.
Peter Powell [Fri, 16 Nov 2018 23:42:49 +0000 (23:42 +0000)]
Fix sending DNSBL error snotices when a user isn't DNSBLed.
Peter Powell [Fri, 16 Nov 2018 22:13:11 +0000 (22:13 +0000)]
Fix an inverted condition in the cgiirc module.
Peter Powell [Wed, 14 Nov 2018 15:01:21 +0000 (15:01 +0000)]
Fix the OnSendWhoLine event being completely broken with WHOX.
Michael Hazell [Mon, 12 Nov 2018 00:39:53 +0000 (19:39 -0500)]
m_filter: add Z-Line support
Adam [Mon, 12 Nov 2018 00:03:28 +0000 (19:03 -0500)]
win: update CPACK_RESOURCE_FILE_LICENSE path
Peter Powell [Sun, 11 Nov 2018 19:20:15 +0000 (19:20 +0000)]
Fix the syntax description for the WHO command.
Thanks to @KoraggKnightWolf for reporting this.
Peter Powell [Wed, 7 Nov 2018 10:58:42 +0000 (10:58 +0000)]
Merge tag 'v2.0.27' into master.
Peter Powell [Mon, 5 Nov 2018 22:59:02 +0000 (22:59 +0000)]
Release v2.0.27
Peter Powell [Sun, 15 Oct 2017 17:42:58 +0000 (18:42 +0100)]
Implement support for WEBIRC attributes.
Peter Powell [Wed, 26 Sep 2018 22:53:29 +0000 (23:53 +0100)]
Fix exposing the ban reason when an xline is found in the bancache.
Peter Powell [Wed, 31 Oct 2018 05:11:41 +0000 (05:11 +0000)]
WebSocket: send messages as text by default.
This requires all messages to be UTF-8. If you are using a UTF-8
incompatible text encoding then you can disable this by setting
<websocket:sendastext> to false.
Peter Powell [Wed, 31 Oct 2018 02:45:05 +0000 (02:45 +0000)]
WebSocket: use one WebSocket message per IRC message.
This makes more sense for WebSocket clients than CR+LF termination
as the protocol already understands the concept of messages.
Peter Powell [Wed, 31 Oct 2018 04:27:56 +0000 (04:27 +0000)]
Fix the ordering of libraries in the vendor readme.
Peter Powell [Sun, 28 Oct 2018 13:01:33 +0000 (13:01 +0000)]
Also synchronise the prefix rank between servers.
Peter Powell [Sat, 27 Oct 2018 13:18:52 +0000 (14:18 +0100)]
Remove deprecated config checker and make <die> actually useful.
- Remove the deprecated config tag checker. This checker is neither
exhaustive nor is it particularly accurate. Instead the new docs
site will contain a page detailing the breaking changes between
releases.
- Remove the insulting <die> tags in inspircd.conf.example and add
some descriptive ones in files that it is critical for the user
to edit correctly.
- Show the message from the <die> tag so the user actually knows
what they did wrong.
Peter Powell [Sat, 27 Oct 2018 17:17:08 +0000 (18:17 +0100)]
Fix a shadowing warning in the spanningtree module.
Peter Powell [Sat, 27 Oct 2018 17:13:29 +0000 (18:13 +0100)]
Improve CAPAB negotiation in the spanningtree module.
- Remove the CHANMODES, USERMODES, and PREFIX tokens in the 1205
protocol. These have entirely been superceded by the CHANMODES
and USERMODES CAPAB commands.
- Only compare the 1202 PREFIX tokens if the remote server did not
send CAPAB CHANMODES. This replicates the existing behaviour
used for the CHANMODES token.
- Fix checking whether the remote server has an appropriate case
mapping. If it is not sent we assume it is the same as the local
server as always. This should prevent issues with people using
services packages that do not send this token yet.
- Fix checking if the user modes are mismatched and then promptly
overwriting the error message with mismatched channel modes.
- Fix servers not being able to tell whether a mode on the remote
server is a prefixless prefix mode. Requires the 1205 protocol.
- Fix servers that receive CAPAB CHANMODES or CAPAB USERMODES not
checking the type of those modes. Requires the 1205 protocol.
Peter Powell [Sat, 27 Oct 2018 03:27:16 +0000 (04:27 +0100)]
Enable as many extra modules as possible when running configure.
Peter Powell [Fri, 26 Oct 2018 21:41:12 +0000 (22:41 +0100)]
Fix ircv3_capnotify being defined twice in modules.conf.example.
Peter Powell [Fri, 26 Oct 2018 13:18:42 +0000 (14:18 +0100)]
Fix "smartmatch is experimental" warning from the helper script.
Peter Powell [Fri, 26 Oct 2018 01:57:13 +0000 (02:57 +0100)]
Tell the user to check out the latest tag rather than the branch.
When the InspIRCd 3.x branch forks this will tell the user to go
back to the latest tag on the branch.
Peter Powell [Fri, 26 Oct 2018 00:18:54 +0000 (01:18 +0100)]
Fix a bunch of harmless compiler warnings on recent GCC releases.
Peter Powell [Thu, 25 Oct 2018 22:29:55 +0000 (23:29 +0100)]
Change the branch version from InspIRCd-3.0 to InspIRCd-3.
Under the new versioning scheme when a new branch is forked the
major version number will be reset. The minor version number will
now be used to mark a release as containing backwards compatible
additions and the patch version number will be used to mark a
release as containing just bug fixes.
Peter Powell [Tue, 16 Oct 2018 13:57:28 +0000 (14:57 +0100)]
Allow HAProxy to specify that a client is connecting with SSL.
Peter Powell [Tue, 16 Oct 2018 13:53:27 +0000 (14:53 +0100)]
Store the type of a StreamSocket within itself.
Similar to with IOHooks this allows you to convert StreamSocket to
a UserIOHandler quickly.
Peter Powell [Thu, 25 Oct 2018 12:34:26 +0000 (13:34 +0100)]
Fix the censor module sending the wrong numeric in some cases.
The appropriate numeric response when a user has the censor mode
enabled is ERR_CANTSENDTOUSER not ERR_CANTSENDTOUSER.
Peter Powell [Sun, 21 Oct 2018 18:18:08 +0000 (19:18 +0100)]
Fix warnings from Doxygen.
Peter Powell [Thu, 18 Oct 2018 09:54:06 +0000 (10:54 +0100)]
Fix unregistered user modes thinking they are enabled.
Robby [Sun, 14 Oct 2018 05:23:06 +0000 (07:23 +0200)]
Show reasons in xline expiry messages.
Peter Powell [Sat, 13 Oct 2018 12:15:25 +0000 (13:15 +0100)]
Implement support for IPv6 GeoIP lookups.
Peter Powell [Wed, 10 Oct 2018 15:45:35 +0000 (16:45 +0100)]
Require WebSocket origins to be whitelisted in order to connect.
Fixes #1281.
Peter Powell [Tue, 9 Oct 2018 18:53:37 +0000 (19:53 +0100)]
Fix sending malformed ERR_BANLISTFULL numerics in some contexts.
Fixes ircdocs/irc-defs#37.
edef [Tue, 1 May 2018 16:45:21 +0000 (18:45 +0200)]
Use nodejs/http_parser instead of a homebrew parser.
Peter Powell [Thu, 6 Sep 2018 09:59:30 +0000 (10:59 +0100)]
Convert m_sha256 to use a vendored library instead of bundling.
The require_compiler("GCC") directive is required to work around
some GCCs ignoring the GCC pragma for disabling warnings.
Peter Powell [Thu, 4 Oct 2018 12:16:25 +0000 (14:16 +0200)]
Add a directive for requiring a specific compiler.
Peter Powell [Thu, 4 Oct 2018 12:15:47 +0000 (14:15 +0200)]
Avoid using relative paths in make::configure.
Peter Powell [Mon, 1 Oct 2018 20:58:45 +0000 (21:58 +0100)]
Release v3.0.0 alpha 10.
Peter Powell [Mon, 1 Oct 2018 15:53:27 +0000 (16:53 +0100)]
Move <security:userstats> into core_stats.
Peter Powell [Mon, 1 Oct 2018 15:41:18 +0000 (16:41 +0100)]
Move <security:hidesplits> to the spanningtree module.
Peter Powell [Mon, 1 Oct 2018 15:35:00 +0000 (16:35 +0100)]
Move <security:genericoper> into core_whois.
Peter Powell [Mon, 1 Oct 2018 15:31:36 +0000 (16:31 +0100)]
Move <security:hideulinekills> into core_oper.
Peter Powell [Mon, 1 Oct 2018 15:31:15 +0000 (16:31 +0100)]
Move <security:hidekills> into core_oper.
Peter Powell [Mon, 1 Oct 2018 15:09:45 +0000 (16:09 +0100)]
Document ServerConfig::Conf{Tags,Value} better.
Peter Powell [Mon, 1 Oct 2018 13:08:32 +0000 (14:08 +0100)]
Get rid of DummyMessageDetails in the delayjoin module.
Peter Powell [Mon, 1 Oct 2018 13:08:31 +0000 (14:08 +0100)]
Fix the delayjoin module not hiding JOIN messages properly.
Peter Powell [Sat, 29 Sep 2018 15:19:26 +0000 (16:19 +0100)]
Fix the chanhistory module being inconsistent across servers.
Closes #331.
Peter Powell [Thu, 27 Sep 2018 11:51:53 +0000 (12:51 +0100)]
Fix SQL modules using "provider" in <database> instead of "module".
This fixes a regression introduced in
97a1d642 .
Peter Powell [Wed, 26 Sep 2018 20:56:51 +0000 (21:56 +0100)]
Move the SQL tables to docs/sql and install them on `make install`.