]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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.
Sadie Powell [Mon, 20 Jan 2020 20:36:39 +0000 (20:36 +0000)]
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.
Sadie Powell [Sun, 19 Jan 2020 15:41:23 +0000 (15:41 +0000)]
Move DeleteZero to stdalgo::delete_zero.
Sadie Powell [Sat, 18 Jan 2020 20:48:53 +0000 (20:48 +0000)]
Use irc::equals instead of transforming to upper case in CAP.
Sadie Powell [Sat, 18 Jan 2020 20:38:57 +0000 (20:38 +0000)]
Use case insensitive comparisons in getBool.
Sadie Powell [Sat, 18 Jan 2020 14:03:18 +0000 (14:03 +0000)]
Add a function for showing a command whilst executing it.
Sadie Powell [Sat, 18 Jan 2020 13:32:41 +0000 (13:32 +0000)]
Disable auto extras when TEST_BUILD_MODULES is set in test-build.
Sadie Powell [Sat, 18 Jan 2020 13:27:09 +0000 (13:27 +0000)]
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.
Sadie Powell [Fri, 17 Jan 2020 22:45:56 +0000 (22:45 +0000)]
Add a tool for updating the vendored libaries.
Sadie Powell [Fri, 17 Jan 2020 16:13:32 +0000 (16:13 +0000)]
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.
Sadie Powell [Fri, 17 Jan 2020 12:50:42 +0000 (12:50 +0000)]
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.
Sadie Powell [Fri, 17 Jan 2020 15:22:34 +0000 (15:22 +0000)]
Fix a harmless warning in the ssl_mbedtls module.
Sadie Powell [Fri, 17 Jan 2020 14:40:44 +0000 (14:40 +0000)]
Fix Perl tools not using the correct directory name in 'use lib'.
Sadie Powell [Fri, 17 Jan 2020 10:50:26 +0000 (10:50 +0000)]
Fix the ordering of custom event handlers.
Closes #1742.
Sadie Powell [Thu, 16 Jan 2020 18:33:18 +0000 (18:33 +0000)]
Use irc::equals instead of strcasecmp where appropriate.
Sadie Powell [Thu, 16 Jan 2020 17:37:51 +0000 (17:37 +0000)]
Fix a GCC shadowing warning.
Sadie Powell [Thu, 16 Jan 2020 15:23:40 +0000 (15:23 +0000)]
Fix STATUSMSG tag messages not including the status in the target.
Sadie Powell [Thu, 16 Jan 2020 15:18:17 +0000 (15:18 +0000)]
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.
Sadie Powell [Wed, 15 Jan 2020 12:56:41 +0000 (12:56 +0000)]
Add support for setting the help topic in helpop.
Sadie Powell [Wed, 15 Jan 2020 12:09:05 +0000 (12:09 +0000)]
Prevent users from sending an empty TAGMSG.
Sadie Powell [Mon, 13 Jan 2020 14:32:49 +0000 (14:32 +0000)]
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.
Sadie Powell [Sat, 11 Jan 2020 22:53:07 +0000 (22:53 +0000)]
Remove whitespace between the shebang and the copyright header.
InspIRCd Robot [Sat, 11 Jan 2020 22:02:47 +0000 (22:02 +0000)]
Update copyright headers.
Sadie Powell [Sat, 11 Jan 2020 21:56:54 +0000 (21:56 +0000)]
Add a script for updating the copyright headers.
Sadie Powell [Wed, 8 Jan 2020 11:53:29 +0000 (11:53 +0000)]
Rebuild the 005 numeric after changing the case mapping.
Sadie Powell [Tue, 7 Jan 2020 23:45:10 +0000 (23:45 +0000)]
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.
Sadie Powell [Tue, 7 Jan 2020 16:55:25 +0000 (16:55 +0000)]
Add a replacement for the nationalchars module.
Sadie Powell [Tue, 7 Jan 2020 10:06:28 +0000 (10:06 +0000)]
Explicitly reject nicks beginning with a number in nationalchars.
Closes #1745.
Sadie Powell [Mon, 6 Jan 2020 11:40:02 +0000 (11:40 +0000)]
Fix linking servers that are using the nationalchars module.
Closes #1744.
Sadie Powell [Sun, 5 Jan 2020 15:22:40 +0000 (15:22 +0000)]
Add an oper only parameter to Simple{Channel,User}ModeHandler.
Sadie Powell [Sun, 5 Jan 2020 15:15:16 +0000 (15:15 +0000)]
Rename the modes in the services_account module to be less confusable.
Sadie Powell [Fri, 3 Jan 2020 22:35:25 +0000 (22:35 +0000)]
Rename <chanhistory:notice> to <chanhistory:prefixmsg>.
This name is a lot lessambiguous.
Sadie Powell [Fri, 3 Jan 2020 22:22:21 +0000 (22:22 +0000)]
Make chanhistory skip CTCPs when storing messages.
Sending historic CTCPs to clients can only end badly.
Sadie Powell [Fri, 3 Jan 2020 22:21:39 +0000 (22:21 +0000)]
Make chanhistory replay notices as well as privmsgs.
Sadie Powell [Fri, 3 Jan 2020 20:54:24 +0000 (20:54 +0000)]
Fix the chanhistory module not replaying message tags.
Sadie Powell [Fri, 3 Jan 2020 20:48:07 +0000 (20:48 +0000)]
Add an event provider class for the event/messagetag event.
Sadie Powell [Fri, 3 Jan 2020 12:51:23 +0000 (12:51 +0000)]
Bind ports before loading modules.
This fixes a defect introduced in
ce7979bd7d where the ircv3_sts
module was unable to find the SSL listener.
Sadie Powell [Wed, 1 Jan 2020 00:00:00 +0000 (00:00 +0000)]
Update my name and email address.
Peter Powell [Sun, 29 Dec 2019 22:17:48 +0000 (23:17 +0100)]
Fix the previous commit on C++11 compilers.
Peter Powell [Sun, 29 Dec 2019 18:23:06 +0000 (19:23 +0100)]
Mark messages from ulined clients with the inspircd.org/service tag.
Peter Powell [Sat, 28 Dec 2019 16:08:06 +0000 (17:08 +0100)]
Ignore clients on ulined servers when reporting stats in LUSERS.
Peter Powell [Sat, 21 Dec 2019 05:37:55 +0000 (05:37 +0000)]
Use FindNickOnly for finding the required nick for an alias.
Peter Powell [Mon, 16 Dec 2019 14:22:26 +0000 (14:22 +0000)]
Use FindUUID in place of FindNick in places that only get a UUID.
Peter Powell [Wed, 11 Dec 2019 12:31:21 +0000 (12:31 +0000)]
Extract port binding code to a function and improve output.
Matt Schatz [Mon, 9 Dec 2019 07:09:25 +0000 (00:09 -0700)]
Update the mailmap for myself.
Peter Powell [Mon, 9 Dec 2019 01:34:02 +0000 (01:34 +0000)]
Make BindPorts return size_t instead of int.
Peter Powell [Mon, 9 Dec 2019 01:26:33 +0000 (01:26 +0000)]
Make ForkIntoBackground handle exiting by itself.
Peter Powell [Mon, 9 Dec 2019 01:15:31 +0000 (01:15 +0000)]
Extract command line option parsing to a function.
Peter Powell [Mon, 9 Dec 2019 00:10:59 +0000 (00:10 +0000)]
Fix indentation of CheckRoot() and error in non-interactive mode.
Peter Powell [Sun, 8 Dec 2019 23:08:57 +0000 (23:08 +0000)]
Improve behaviour when running as root.
- Only give the annoying message about root if --runasroot is not
specified.
- If --runasroot is specified then assume the user knows what they
are doing.
- Move CheckRoot to a static function in inspircd.cpp.
Peter Powell [Sun, 8 Dec 2019 22:29:49 +0000 (22:29 +0000)]
Show the header before checking if the config file exists.
Peter Powell [Sun, 8 Dec 2019 22:27:45 +0000 (22:27 +0000)]
Initialise Winsock from inside the socket engine.
Peter Powell [Sun, 8 Dec 2019 22:26:33 +0000 (22:26 +0000)]
Extract config file finding code to a function.
Peter Powell [Sun, 8 Dec 2019 22:08:41 +0000 (22:08 +0000)]
Extract performance stat code to a function.
Peter Powell [Sun, 8 Dec 2019 21:57:11 +0000 (21:57 +0000)]
Move XLine garbage collection to core_xline.
Peter Powell [Sun, 8 Dec 2019 21:41:56 +0000 (21:41 +0000)]
Increase the core dump size earlier in the process lifetime.
According to `man 2 getrlimit` resource limits are inherited by
the child when a process forks.
Peter Powell [Sun, 8 Dec 2019 21:36:19 +0000 (21:36 +0000)]
Call RecoverFromFork from ForkIntoBackground.
Peter Powell [Sun, 8 Dec 2019 21:23:22 +0000 (21:23 +0000)]
Convert InspIRCd::SetSignals to a static function.
Peter Powell [Sun, 8 Dec 2019 21:19:47 +0000 (21:19 +0000)]
Move forking code into a function and remove DaemonSeed.
Peter Powell [Sun, 8 Dec 2019 20:53:19 +0000 (20:53 +0000)]
Extract the core dump size increasing code to a function.
Peter Powell [Sun, 8 Dec 2019 20:39:46 +0000 (20:39 +0000)]
Make the UpdateTime function easier to read.
Peter Powell [Sun, 8 Dec 2019 20:39:28 +0000 (20:39 +0000)]
Extract root dropping code to a function.
Peter Powell [Sun, 8 Dec 2019 19:39:02 +0000 (19:39 +0000)]
Replace our Windows getopt_long wrapper with ya_getopt.
Closes #546.
Peter Powell [Sun, 8 Dec 2019 19:12:56 +0000 (19:12 +0000)]
Use meaningful variable names in consolecolors.
Peter Powell [Sun, 8 Dec 2019 19:05:01 +0000 (19:05 +0000)]
Extract rng initialisation code to a function.
Peter Powell [Sun, 8 Dec 2019 18:44:27 +0000 (18:44 +0000)]
Move various static functions into an anonymous namespace.
Peter Powell [Sun, 8 Dec 2019 17:26:58 +0000 (17:26 +0000)]
Clean up the initialisation of the InspIRCd class.
Peter Powell [Fri, 6 Dec 2019 19:33:55 +0000 (19:33 +0000)]
Get rid of the platform tests in the Travis build script.
We only build on Xenial nowadays so this check is unnecessary.
iwalkalone [Fri, 6 Dec 2019 17:07:49 +0000 (18:07 +0100)]
Fixing MatchCIDR call when checking proxy range
Peter Powell [Tue, 3 Dec 2019 12:25:12 +0000 (12:25 +0000)]
Bump the InspIRCd ABI version.
Peter Powell [Tue, 3 Dec 2019 12:08:46 +0000 (12:08 +0000)]
Add a note to the issue template about the security policy.
Peter Powell [Tue, 3 Dec 2019 12:02:41 +0000 (12:02 +0000)]
Send * for empty targets in the no such nick/channel message.
Peter Powell [Sat, 30 Nov 2019 16:17:32 +0000 (16:17 +0000)]
Use network-online instead of network in the systemd service.
As recommended at https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/.
Closes #1729.
Peter Powell [Fri, 29 Nov 2019 13:46:24 +0000 (13:46 +0000)]
Change the default for <waitpong:sendsnotice> to false.
This message exists for an incredibly rare issue and just confuses
the vast majority of people.
Peter Powell [Fri, 29 Nov 2019 13:43:49 +0000 (13:43 +0000)]
Minor cleanup of the conn_umodes module.
Peter Powell [Fri, 29 Nov 2019 11:11:11 +0000 (11:11 +0000)]
WebSocket: move the OriginList typedef inside WebSocketConfig.
Peter Powell [Fri, 29 Nov 2019 11:09:36 +0000 (11:09 +0000)]
WebSocket: replace the behindproxy switch with a proxy IP list.
Peter Powell [Thu, 28 Nov 2019 17:59:35 +0000 (17:59 +0000)]
Implement support for websocket connections via a proxy like nginx.
Peter Powell [Thu, 28 Nov 2019 17:06:11 +0000 (17:06 +0000)]
Move WebSocket config to its own class.
Peter Powell [Mon, 25 Nov 2019 14:10:42 +0000 (14:10 +0000)]
Add some overloads of IRCv3::Replies::Reply#Send.
Peter Powell [Fri, 22 Nov 2019 14:13:45 +0000 (14:13 +0000)]
Rename ldapoper class to LDAPOper.
This might be causing issues for some people?
Matt Schatz [Mon, 18 Nov 2019 10:21:19 +0000 (03:21 -0700)]
Split the channel mode and extban replies.
Tell the user when they are extbanned rather than incorrectly say
that the channel mode is set.
Refactored the logic in m_nonotice to match that of the others.
Matt Schatz [Sun, 17 Nov 2019 12:06:48 +0000 (05:06 -0700)]
Change Config->CaseMapping back when unloading.
Now that casemapping is configurable in the core and we set that
Config variable rather than just modifying the ISupport output each
time, we need to change the variable back when being unloaded. So we
save the current value when loading and set it back when being
unloaded. We also need to call the ISupport builder a second time as
the core calls it before we destruct.
Matt Schatz [Sun, 17 Nov 2019 12:06:33 +0000 (05:06 -0700)]
Allow options:casemapping to remain defined when using m_nationalchars.
Peter Powell [Sun, 17 Nov 2019 22:37:24 +0000 (22:37 +0000)]
Deprecate Send{Channel,User}Notice; use SendMessage instead.