]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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.
Peter Powell [Sun, 17 Nov 2019 22:23:51 +0000 (22:23 +0000)]
Make rehashing messages more consistent.
Peter Powell [Sun, 17 Nov 2019 22:06:36 +0000 (22:06 +0000)]
Allow Channel::WriteNotice send to other servers and status ranks.
Peter Powell [Sat, 16 Nov 2019 22:04:08 +0000 (22:04 +0000)]
Close connections when an I/O hook is configured but not loaded.
Peter Powell [Fri, 15 Nov 2019 12:38:10 +0000 (12:38 +0000)]
Only show classbase ctor/dtor/cull messages in debug builds.
Peter Powell [Fri, 15 Nov 2019 11:33:09 +0000 (11:33 +0000)]
Improve reading xlines from the server configuration.
Peter Powell [Wed, 13 Nov 2019 17:00:11 +0000 (17:00 +0000)]
Refactor the MySQL code slightly.
Matt Schatz [Wed, 13 Nov 2019 14:28:12 +0000 (07:28 -0700)]
SSL modules: send SNOTICE upon successful rehash.
Peter Powell [Wed, 13 Nov 2019 15:55:18 +0000 (15:55 +0000)]
Refactor the MySQL query and result queue classes.
Peter Powell [Wed, 13 Nov 2019 16:20:18 +0000 (16:20 +0000)]
Get rid of some dead code in the MySQL module.
Peter Powell [Wed, 13 Nov 2019 13:26:58 +0000 (13:26 +0000)]
Improve the logic around connecting to a MySQL server.
- The connection timeout can now be customised with <database:timeout>.
- <database:port> is now limited to the 1-65535 range.
- The MySQL library will now not install a SIGPIPE handler as it
would override the default InspIRCd ignore behavopur.
- Errors caused by setting the default character set and executing
the initial query are now no longer ignored.
Peter Powell [Wed, 13 Nov 2019 12:58:18 +0000 (12:58 +0000)]
Add GetId() to the SQL::Provider class.
Peter Powell [Mon, 28 Oct 2019 13:17:32 +0000 (13:17 +0000)]
Use case insensitive comparisons when checking for SSL rehashes.
Peter Powell [Fri, 25 Oct 2019 10:40:44 +0000 (11:40 +0100)]
Release v3.4.0.
Peter Powell [Fri, 25 Oct 2019 08:50:48 +0000 (09:50 +0100)]
Add a workaround for connectban hitting gateway IP addresses.
Peter Powell [Fri, 25 Oct 2019 08:26:18 +0000 (09:26 +0100)]
Extract connectban's range checking code to a function.
Robby [Wed, 18 Sep 2019 14:08:12 +0000 (16:08 +0200)]
m_noctcp: Fix noctcp user mode not applying to exempted channel ops.
Peter Powell [Thu, 24 Oct 2019 14:44:53 +0000 (15:44 +0100)]
Exempt the KiwiIRC.com servers from X-lines.
Peter Powell [Thu, 24 Oct 2019 14:43:33 +0000 (15:43 +0100)]
Fix a typo in the KiwiIRC.com server IPs.
Peter Powell [Thu, 24 Oct 2019 14:22:46 +0000 (15:22 +0100)]
Raise <connflood:bootwait> from 10 seconds to 2 minutes.
Many clients don't reconnect automatically and it can take a while
for them to reconnect.
Peter Powell [Thu, 24 Oct 2019 14:19:20 +0000 (15:19 +0100)]
Disable DNS/DNSBL/ident lookups for unregistered KiwiIRC.com users.
Peter Powell [Thu, 24 Oct 2019 14:14:35 +0000 (15:14 +0100)]
Ignore DNSBL responses if the user's IP address has changed.
Peter Powell [Thu, 24 Oct 2019 09:25:29 +0000 (10:25 +0100)]
Fix respecting the deprecated <channels:users> tag.
Matt Schatz [Thu, 24 Oct 2019 14:48:28 +0000 (08:48 -0600)]
Improve the timed ban notices (#1722).
- Save the nick of the setter to use in the expiry message.
- Change both notice messages to a standard and informative style.
Peter Powell [Tue, 22 Oct 2019 21:27:07 +0000 (22:27 +0100)]
Fix some compiler errors in core_hostname_lookup.
No thanks to SourceTree's diff view for causing this.
Peter Powell [Tue, 22 Oct 2019 14:15:59 +0000 (15:15 +0100)]
Handle more error cases in core_hostname_lookup.
Peter Powell [Tue, 22 Oct 2019 09:09:17 +0000 (10:09 +0100)]
On DNS fail reset connecting users hostname to their IP.
Closes #1713.
Peter Powell [Mon, 21 Oct 2019 12:45:40 +0000 (13:45 +0100)]
Improve the core_hostname_lookup result log message.
- Add the type of request.
- Add whether the request was cached.
Peter Powell [Mon, 21 Oct 2019 12:34:09 +0000 (13:34 +0100)]
Remove duplicate code in core_hostname_lookup.
- The lookup type is already stored in the question.
- core_dns validates hostnames by IsHost already.
Peter Powell [Mon, 21 Oct 2019 11:21:11 +0000 (12:21 +0100)]
Fire the OnSetUserIP event after the connect class change.
Peter Powell [Mon, 21 Oct 2019 09:50:52 +0000 (10:50 +0100)]
Get rid of the ptrHosts extension item.
This is unnecessary as the resolved value is already stored in the
question in the request class.
Peter Powell [Sat, 19 Oct 2019 16:26:30 +0000 (17:26 +0100)]
Allow event providers to know when a listener subs or unsubs.
Matt Schatz [Sat, 21 Sep 2019 06:33:53 +0000 (00:33 -0600)]
Update examples directory when paths are changed interactively.
Matt Schatz [Sun, 20 Oct 2019 02:35:55 +0000 (20:35 -0600)]
Add oper exemption to hidemode.
Peter Powell [Fri, 18 Oct 2019 12:53:51 +0000 (13:53 +0100)]
Fix a shadowing warning in LocalUser.
Peter Powell [Fri, 18 Oct 2019 12:49:05 +0000 (13:49 +0100)]
Fix a shadowing warning in the serialisation code.
Peter Powell [Fri, 18 Oct 2019 11:36:55 +0000 (12:36 +0100)]
Switch ChildMap and EntryMap to insp::flat_map.
Peter Powell [Thu, 17 Oct 2019 18:11:25 +0000 (19:11 +0100)]
SQuit all servers when a shutdown happens.
Peter Powell [Thu, 17 Oct 2019 16:17:39 +0000 (17:17 +0100)]
Add an event which is fired when the server shuts down.
Peter Powell [Wed, 16 Oct 2019 10:55:14 +0000 (11:55 +0100)]
Use separate build dirs when rebuilding with a different compiler.
Peter Powell [Mon, 13 May 2019 16:24:25 +0000 (17:24 +0100)]
Implement serialisation of users.
This allows for various things which will be coming in the future.
e.g. Transferring users to another server on upgrade.
Peter Powell [Sat, 12 Oct 2019 11:53:04 +0000 (12:53 +0100)]
Add GetTypeStr to the DNS API.
Peter Powell [Fri, 11 Oct 2019 11:21:16 +0000 (12:21 +0100)]
Convert a bunch of LocalUser* casts to IS_LOCAL.
This is a lot safer and handles users changing servers properly.
Robby [Mon, 7 Oct 2019 21:30:40 +0000 (23:30 +0200)]
Add repeat to the list of possible restriction types to exempt in helpop.conf.example.
Fixes #1714.
Peter Powell [Sun, 6 Oct 2019 11:14:42 +0000 (12:14 +0100)]
Update the new issue URL in the readme.
Peter Powell [Sun, 6 Oct 2019 11:05:51 +0000 (12:05 +0100)]
Add a feature request issue template.
Peter Powell [Sat, 5 Oct 2019 21:26:09 +0000 (22:26 +0100)]
Add a GitHub security policy.
Peter Powell [Sat, 5 Oct 2019 20:57:24 +0000 (21:57 +0100)]
Add a pull request template.
Peter Powell [Sat, 5 Oct 2019 19:29:53 +0000 (20:29 +0100)]
Tweak the workaround for NetBSD's kqueue using intptr_t for udata.
Thanks to @niacat for getting this fixed upstream.
Peter Powell [Tue, 1 Oct 2019 11:27:17 +0000 (12:27 +0100)]
Show the list modes which have variable list lengths in 005.
Peter Powell [Mon, 30 Sep 2019 09:19:29 +0000 (10:19 +0100)]
Fix an shadowing warning in the spanningtree module.
Peter Powell [Mon, 30 Sep 2019 09:11:43 +0000 (10:11 +0100)]
Stop GCC warnings about the deprecated OnServerSplit event.
Peter Powell [Mon, 30 Sep 2019 08:49:08 +0000 (09:49 +0100)]
Fix a compiler error in the LDAP module.
Peter Powell [Sun, 29 Sep 2019 18:52:05 +0000 (19:52 +0100)]
Add null pointer checks to IS_{LOCAL,REMOTE,SERVER}.
I don't know of any places this causes issues but its better to be
safe than sorry.
Peter Powell [Fri, 27 Sep 2019 21:39:56 +0000 (22:39 +0100)]
Deduplicate code for handling with setting LDAP options.
Peter Powell [Mon, 23 Sep 2019 11:44:42 +0000 (12:44 +0100)]
Add the OnServerBurst hook and fix the docs for OnServerLink.
Peter Powell [Mon, 23 Sep 2019 10:51:09 +0000 (11:51 +0100)]
Add whether the server split with an error to OnServerSplit.
Peter Powell [Mon, 23 Sep 2019 10:49:26 +0000 (11:49 +0100)]
Add the server id to the Server class.
Peter Powell [Fri, 20 Sep 2019 14:13:42 +0000 (15:13 +0100)]
Lower the acceptable drift for clocks on link.
Peter Powell [Mon, 16 Sep 2019 21:46:17 +0000 (22:46 +0100)]
Fix the example tag for changing the voice ranks.
Peter Powell [Mon, 16 Sep 2019 12:43:29 +0000 (13:43 +0100)]
Fix cloaking not ignoring the case of a user's hostname.
This new mode is recommended but disabled by default for compat
reasons.
Closes #480.
Closes #1419.
Co-Authored-By: B00mX0r <b00mx0r@aureus.pw>
Peter Powell [Mon, 16 Sep 2019 11:22:28 +0000 (12:22 +0100)]
Fix the noctcp user mode not applying to channel CTCPs.
Closes #1704.
linuxdaemon [Sat, 14 Sep 2019 18:11:01 +0000 (13:11 -0500)]
Document <alias:stripcolor>
linuxdaemon [Sat, 14 Sep 2019 18:00:44 +0000 (13:00 -0500)]
m_alias: Add option to strip colors when matching
linuxdaemon [Sat, 14 Sep 2019 15:36:48 +0000 (10:36 -0500)]
m_chanfilter: Apply filters to part messages (#1702)
Peter Powell [Sat, 7 Sep 2019 13:43:14 +0000 (14:43 +0100)]
Install the provider configs.
Peter Powell [Sat, 7 Sep 2019 13:30:32 +0000 (14:30 +0100)]
Replace the gdbargs file with the --eval-command flag.
Peter Powell [Sat, 7 Sep 2019 11:54:29 +0000 (12:54 +0100)]
Respect indentation in configure template declarations.
Peter Powell [Tue, 3 Sep 2019 11:27:14 +0000 (12:27 +0100)]
Add internal serialisations of the DCC allow and silence lists.
Peter Powell [Tue, 3 Sep 2019 11:17:48 +0000 (12:17 +0100)]
Add GetNumericToken to sepstream.
This removes some boilerplate when retrieving numeric types.
iwalkalone [Mon, 2 Sep 2019 22:52:20 +0000 (00:52 +0200)]
When silence mask is prefixed by + or -, it should only remove the first character, not the entire string (#1698).
Peter Powell [Mon, 2 Sep 2019 14:17:30 +0000 (15:17 +0100)]
Document ConfigStatus and add a way to detect the initial load.
Peter Powell [Mon, 26 Aug 2019 08:43:23 +0000 (09:43 +0100)]
Fix the haproxy module losing initial data in some circumstances.
Peter Powell [Fri, 23 Aug 2019 22:57:16 +0000 (23:57 +0100)]
Upgrade the Doxygen config file with "doxygen -u".
Peter Powell [Fri, 23 Aug 2019 10:14:07 +0000 (11:14 +0100)]
Release v3.3.0.
Peter Powell [Fri, 23 Aug 2019 09:42:38 +0000 (10:42 +0100)]
Silence some GCC warnings.
Peter Powell [Thu, 1 Aug 2019 12:28:27 +0000 (13:28 +0100)]
Add -Werror to the Travis build flags.
Peter Powell [Tue, 20 Aug 2019 14:04:54 +0000 (15:04 +0100)]
Improve escaping strings in the MySQL module.
Peter Powell [Tue, 20 Aug 2019 15:17:18 +0000 (16:17 +0100)]
Initialise and deallocate the MySQL library correctly.
Peter Powell [Tue, 13 Aug 2019 19:11:11 +0000 (20:11 +0100)]
Fix some remaining uses of ato[il].
Peter Powell [Tue, 13 Aug 2019 12:35:05 +0000 (13:35 +0100)]
Free StringExtItem and SimpleExtItem values correctly.
Peter Powell [Tue, 13 Aug 2019 13:03:51 +0000 (14:03 +0100)]
Convert LocalExtItem to a typedef and deprecate it.