]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
3 years agoFix warning about unknown sections in the contrib module manifest.
Sadie Powell [Tue, 2 Mar 2021 05:22:07 +0000 (05:22 +0000)]
Fix warning about unknown sections in the contrib module manifest.

3 years agoFix sending Q-line notices to snomask `a` instead of snomask `x`.
Sadie Powell [Mon, 1 Mar 2021 16:21:15 +0000 (16:21 +0000)]
Fix sending Q-line notices to snomask `a` instead of snomask `x`.

3 years agoFix print_warning using print instead of say.
Sadie Powell [Sun, 28 Feb 2021 19:55:31 +0000 (19:55 +0000)]
Fix print_warning using print instead of say.

3 years agoWarn users of old compiler versions about the upcoming version bump.
Sadie Powell [Sun, 28 Feb 2021 19:54:12 +0000 (19:54 +0000)]
Warn users of old compiler versions about the upcoming version bump.

3 years agoWarn users of old Perl versions about the upcoming version bump.
Sadie Powell [Sun, 28 Feb 2021 19:32:33 +0000 (19:32 +0000)]
Warn users of old Perl versions about the upcoming version bump.

3 years agoFix running configure on systems with old versions of Perl.
Sadie Powell [Sun, 28 Feb 2021 18:46:56 +0000 (18:46 +0000)]
Fix running configure on systems with old versions of Perl.

Closes #1852.

3 years agoFix not sending ERR_INVALIDMODEPARAM when a parameter is malformed.
Sadie Powell [Sat, 27 Feb 2021 01:30:45 +0000 (01:30 +0000)]
Fix not sending ERR_INVALIDMODEPARAM when a parameter is malformed.

Closes #1850.

3 years agoRelease v3.9.0.
Sadie Powell [Fri, 26 Feb 2021 07:00:33 +0000 (07:00 +0000)]
Release v3.9.0.

3 years agoUpdate copyright headers.
InspIRCd Robot [Fri, 26 Feb 2021 06:58:13 +0000 (06:58 +0000)]
Update copyright headers.

3 years agoImplement support for multi-prefix on WHOIS.
Sadie Powell [Thu, 25 Feb 2021 20:06:46 +0000 (20:06 +0000)]
Implement support for multi-prefix on WHOIS.

3 years agoAllow a statusmsg to have multiple statuses and pick the lowest.
Sadie Powell [Thu, 25 Feb 2021 06:47:34 +0000 (06:47 +0000)]
Allow a statusmsg to have multiple statuses and pick the lowest.

This is pretty much useless but other implementations support it
so we have to also support it for compatibility.

3 years agoRefactor OnUserPostMessage in the chanhistory module.
Sadie Powell [Wed, 24 Feb 2021 18:08:15 +0000 (18:08 +0000)]
Refactor OnUserPostMessage in the chanhistory module.

3 years agoFix a grammar issue in the helpop config.
Sadie Powell [Mon, 22 Feb 2021 22:22:25 +0000 (22:22 +0000)]
Fix a grammar issue in the helpop config.

3 years agoAdd snomask permissions to the oper check output.
Sadie Powell [Mon, 22 Feb 2021 04:16:24 +0000 (04:16 +0000)]
Add snomask permissions to the oper check output.

3 years agoAdd a human-readable serialiser to the geolocation extensible.
Sadie Powell [Mon, 22 Feb 2021 03:10:50 +0000 (03:10 +0000)]
Add a human-readable serialiser to the geolocation extensible.

3 years agoFix checking the wrong user in SERVLIST.
Sadie Powell [Sun, 21 Feb 2021 07:51:43 +0000 (07:51 +0000)]
Fix checking the wrong user in SERVLIST.

3 years agoAdd a config option for exempting classes from connflood.
Sadie Powell [Sun, 21 Feb 2021 04:09:59 +0000 (04:09 +0000)]
Add a config option for exempting classes from connflood.

3 years agoAdd a command to the cgiirc module for encoding/decoding hex idents.
Sadie Powell [Sun, 21 Feb 2021 01:59:44 +0000 (01:59 +0000)]
Add a command to the cgiirc module for encoding/decoding hex idents.

3 years agoRename the cmd variable to cmdwebirc in the cgiirc module.
Sadie Powell [Sun, 21 Feb 2021 01:04:57 +0000 (01:04 +0000)]
Rename the cmd variable to cmdwebirc in the cgiirc module.

3 years agoFix the numeric sent when a U-lined alias target is not online.
Sadie Powell [Thu, 18 Feb 2021 04:10:14 +0000 (04:10 +0000)]
Fix the numeric sent when a U-lined alias target is not online.

3 years agoFix the message sent when SSL profiles are rehashed.
Sadie Powell [Thu, 18 Feb 2021 00:42:32 +0000 (00:42 +0000)]
Fix the message sent when SSL profiles are rehashed.

3 years agoMove linuxdaemon and Sheogorath to former contributors.
Sadie Powell [Wed, 10 Feb 2021 23:59:27 +0000 (23:59 +0000)]
Move linuxdaemon and Sheogorath to former contributors.

3 years agoFix the system-wide paths to not violate the Linux FHS.
Sadie Powell [Mon, 8 Feb 2021 12:35:47 +0000 (12:35 +0000)]
Fix the system-wide paths to not violate the Linux FHS.

3 years agoImprovements and updates to misspell-fixer.
Matt Schatz [Sun, 7 Feb 2021 05:46:35 +0000 (22:46 -0700)]
Improvements and updates to misspell-fixer.

- Update to v3 of the create-pull-request action.
- Improve the whitelist for directive.pm 'atleast'.
- Whitelist 'eiter' in source and header files.

3 years agoShow the name of the WebIRC gateway in the IP changing notice.
Sadie Powell [Fri, 5 Feb 2021 23:34:14 +0000 (23:34 +0000)]
Show the name of the WebIRC gateway in the IP changing notice.

3 years agoDuplicate the stdout file handle when used for logging.
Sadie Powell [Mon, 1 Feb 2021 18:10:53 +0000 (18:10 +0000)]
Duplicate the stdout file handle when used for logging.

Failure to do this may result in a crash on shutdown when started
in debug mode.

3 years agoFix using the TR1 headers on compilers that support C++17.
Sadie Powell [Mon, 1 Feb 2021 17:00:19 +0000 (17:00 +0000)]
Fix using the TR1 headers on compilers that support C++17.

3 years agoMove SSLINFO code for users to its own function and refactor.
Sadie Powell [Mon, 1 Feb 2021 14:13:36 +0000 (14:13 +0000)]
Move SSLINFO code for users to its own function and refactor.

3 years agoAllow using SSLINFO on channels.
Sadie Powell [Mon, 1 Feb 2021 14:11:12 +0000 (14:11 +0000)]
Allow using SSLINFO on channels.

3 years agoConvert SSLINFO to SplitCommand.
Sadie Powell [Mon, 1 Feb 2021 13:02:07 +0000 (13:02 +0000)]
Convert SSLINFO to SplitCommand.

3 years agoRead <sslinfo:operonly> once at load time.
Sadie Powell [Mon, 1 Feb 2021 12:59:06 +0000 (12:59 +0000)]
Read <sslinfo:operonly> once at load time.

3 years agoFix the base path being used for more than just the install prefix.
Sadie Powell [Sun, 31 Jan 2021 14:33:53 +0000 (14:33 +0000)]
Fix the base path being used for more than just the install prefix.

3 years agoFix bitshift in INSPIRCD_VERSION_SINCE.
Sadie Powell [Sat, 30 Jan 2021 17:31:40 +0000 (17:31 +0000)]
Fix bitshift in INSPIRCD_VERSION_SINCE.

3 years agoFix an oversight in the previous commit.
Sadie Powell [Sat, 30 Jan 2021 16:46:23 +0000 (16:46 +0000)]
Fix an oversight in the previous commit.

3 years agoFix a few issues with SERVLIST.
Sadie Powell [Sat, 30 Jan 2021 16:29:01 +0000 (16:29 +0000)]
Fix a few issues with SERVLIST.

- Implement support for service type matching based on the service
  oper type. This isn't the same as irc2 but its close enough.
- Fix erroneously sending the mask in the <mask> field. This field
  is for the service name mask not the service distribution mask.

3 years agoRemove unnecessary chdirs in the helper script.
Sadie Powell [Fri, 29 Jan 2021 15:01:37 +0000 (15:01 +0000)]
Remove unnecessary chdirs in the helper script.

3 years agoFix some minor oversights introduced in 859a799 and 3e557e8.
Sadie Powell [Fri, 29 Jan 2021 14:22:04 +0000 (14:22 +0000)]
Fix some minor oversights introduced in 859a799 and 3e557e8.

3 years agoImprove the `./configure --help` output
Sadie Powell [Fri, 29 Jan 2021 14:09:28 +0000 (14:09 +0000)]
Improve the `./configure --help` output

- Document --portable, --runtime-dir, and INSPIRCD_VERBOSE.
- Make the output coloured on supporting terminals.
- Fix the description of --data-dir.
- Wrap all lines at 80 charactrs.
- Upper case the value names and wrap in <> not [].

3 years agoAlways use for in Perl modules.
Sadie Powell [Fri, 29 Jan 2021 13:46:37 +0000 (13:46 +0000)]
Always use for in Perl modules.

3 years agoPurge all remaining uses of print_format.
Sadie Powell [Fri, 29 Jan 2021 13:39:13 +0000 (13:39 +0000)]
Purge all remaining uses of print_format.

3 years agoUpdate the mailmap.
Sadie Powell [Thu, 28 Jan 2021 11:54:41 +0000 (11:54 +0000)]
Update the mailmap.

3 years agoExempt IRCCloud users from connectban and DNSBL lookups.
Sadie Powell [Wed, 27 Jan 2021 19:33:09 +0000 (19:33 +0000)]
Exempt IRCCloud users from connectban and DNSBL lookups.

3 years agoAllow disabling connectban for specific connect classes.
Sadie Powell [Wed, 27 Jan 2021 19:31:48 +0000 (19:31 +0000)]
Allow disabling connectban for specific connect classes.

Ref: #1841.

3 years agoMigrate some stuff away from print_format.
Sadie Powell [Wed, 27 Jan 2021 16:47:08 +0000 (16:47 +0000)]
Migrate some stuff away from print_format.

3 years agoFix unnecessary begin blocks in Perl source files.
Sadie Powell [Mon, 25 Jan 2021 12:13:54 +0000 (12:13 +0000)]
Fix unnecessary begin blocks in Perl source files.

3 years agoMake the UNIX socket listener path relative to the runtime path.
Sadie Powell [Wed, 20 Jan 2021 11:50:41 +0000 (11:50 +0000)]
Make the UNIX socket listener path relative to the runtime path.

This is not a breaking change because unless the runtime path is
explicitly set it defaults to the same as the data path.

3 years agoAdd <dns:enabled>; allows disabling DNS lookups entirely.
Sadie Powell [Tue, 19 Jan 2021 08:42:44 +0000 (08:42 +0000)]
Add <dns:enabled>; allows disabling DNS lookups entirely.

Ref: #1839.

3 years agoAllow converting a Cap::Reference to a Cap::Capability*.
Sadie Powell [Tue, 19 Jan 2021 08:11:01 +0000 (08:11 +0000)]
Allow converting a Cap::Reference to a Cap::Capability*.

3 years agoSend ERR_CANTUNLOADMODULE when unloading a module on reload fails.
Sadie Powell [Tue, 19 Jan 2021 07:19:48 +0000 (07:19 +0000)]
Send ERR_CANTUNLOADMODULE when unloading a module on reload fails.

3 years agoRefactor the globalload module.
Sadie Powell [Tue, 19 Jan 2021 07:05:51 +0000 (07:05 +0000)]
Refactor the globalload module.

- Require that a non-empty last parameter is given to the commands.
- Use WriteRemoteNumeric instead of WriteNumeric so opers actually see the response.
- Store <security:allowcoreunload> instead of looking it up every time.

3 years agoFix the DNS socket not being closed when core_dns is unloaded.
Sadie Powell [Tue, 19 Jan 2021 01:43:24 +0000 (01:43 +0000)]
Fix the DNS socket not being closed when core_dns is unloaded.

3 years agoAdded <module name="codepage"> to modules.conf.example.
R-V6 [Mon, 18 Jan 2021 23:46:32 +0000 (23:46 +0000)]
Added <module name="codepage"> to modules.conf.example.

3 years agoAdd a separate stats class for DNSBL errors.
Sadie Powell [Mon, 18 Jan 2021 10:22:05 +0000 (10:22 +0000)]
Add a separate stats class for DNSBL errors.

3 years agoImprove the robustness of the DNSBL module.
Sadie Powell [Mon, 18 Jan 2021 09:39:00 +0000 (09:39 +0000)]
Improve the robustness of the DNSBL module.

- Handle DNSBLs that return invalid lookup results.
- Fix DNSBLs that return non-local addresses blocking connections.
- Fix silently failing when a DNSBL returns no IPv4 results.
- General code cleanup.

3 years agoImplemented configurable kick message for the repeat module (#1835).
iwalkalone [Mon, 18 Jan 2021 07:22:44 +0000 (08:22 +0100)]
Implemented configurable kick message for the repeat module (#1835).

3 years agoFix showing the start header when using --version.
Sadie Powell [Mon, 18 Jan 2021 07:07:50 +0000 (07:07 +0000)]
Fix showing the start header when using --version.

3 years agoAdd a new runtime directory and move the pid file to it.
Sadie Powell [Mon, 18 Jan 2021 06:56:18 +0000 (06:56 +0000)]
Add a new runtime directory and move the pid file to it.

The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.

3 years agoFix `./configure --update` with cache files generated before v3.2.
Sadie Powell [Mon, 18 Jan 2021 06:54:01 +0000 (06:54 +0000)]
Fix `./configure --update` with cache files generated before v3.2.

3 years agoAdd default empty openssl compiler flags.
Sadie Powell [Mon, 18 Jan 2021 05:38:11 +0000 (05:38 +0000)]
Add default empty openssl compiler flags.

This makes things easier for users who are using InspIRCd on OSes
where OpenSSL is part of the base system.

3 years agoFix not rejecting attempts to set snomasks with SAMODE/override.
Sadie Powell [Sat, 16 Jan 2021 04:48:16 +0000 (04:48 +0000)]
Fix not rejecting attempts to set snomasks with SAMODE/override.

3 years agoDelete the ISO 8859-1 locale files.
Sadie Powell [Thu, 14 Jan 2021 12:40:33 +0000 (12:40 +0000)]
Delete the ISO 8859-1 locale files.

These are all subsets of the latin1 codepage file which should be
used instead.

3 years agoAdd a shun option to only apply when users are fully connected.
Sadie Powell [Wed, 13 Jan 2021 00:05:17 +0000 (00:05 +0000)]
Add a shun option to only apply when users are fully connected.

Closes #1825.

3 years agoImprove parsing modes and snomasks in oper classes.
Sadie Powell [Tue, 12 Jan 2021 23:52:22 +0000 (23:52 +0000)]
Improve parsing modes and snomasks in oper classes.

- Deduplicate the code to one function.
- Fix defaulting snomasks when a user has more than one class.

3 years agoAdd a user mode which allows disabling receiving channel history.
Sadie Powell [Mon, 11 Jan 2021 10:07:11 +0000 (10:07 +0000)]
Add a user mode which allows disabling receiving channel history.

Closes #1830.

3 years agoImplement support for more XML and IRC colour code escapes.
Sadie Powell [Thu, 7 Jan 2021 11:36:34 +0000 (11:36 +0000)]
Implement support for more XML and IRC colour code escapes.

3 years agov2 is dead, long live v3!
Sadie Powell [Thu, 31 Dec 2020 00:12:58 +0000 (00:12 +0000)]
v2 is dead, long live v3!

3 years agoUse the builtin Perl kill function not system.
Sadie Powell [Mon, 28 Dec 2020 19:40:25 +0000 (19:40 +0000)]
Use the builtin Perl kill function not system.

3 years agoExport console_format from make::console and make it more robust.
Sadie Powell [Fri, 25 Dec 2020 05:12:11 +0000 (05:12 +0000)]
Export console_format from make::console and make it more robust.

Previously a module could do warning("<|INVALID wibble|>") in its
$CompilerFlags or $LinkerFLags and this would break the build.

3 years agoDisallow an empty last parameter in MAP.
Matt Schatz [Wed, 30 Dec 2020 16:55:28 +0000 (09:55 -0700)]
Disallow an empty last parameter in MAP.

3 years agoAvoid doing more work than necessary when checking the O: extban.
Sadie Powell [Fri, 25 Dec 2020 03:46:43 +0000 (03:46 +0000)]
Avoid doing more work than necessary when checking the O: extban.

3 years agoReplace spaces with underscores when checking for class bans.
Sadie Powell [Fri, 25 Dec 2020 03:42:11 +0000 (03:42 +0000)]
Replace spaces with underscores when checking for class bans.

3 years agoPush users towards using SSL profiles for SSL config.
Sadie Powell [Thu, 24 Dec 2020 20:55:10 +0000 (20:55 +0000)]
Push users towards using SSL profiles for SSL config.

3 years agoRemove example securelist exemptions for IRCDriven and IRCSource.
Sadie Powell [Wed, 23 Dec 2020 17:09:38 +0000 (17:09 +0000)]
Remove example securelist exemptions for IRCDriven and IRCSource.

Both of these are apparently dead.

3 years agoFix core message events not being fired.
Sadie Powell [Wed, 23 Dec 2020 15:39:31 +0000 (15:39 +0000)]
Fix core message events not being fired.

Third time lucky eh?

3 years agoAdd config files for popular DNSBL providers.
Sadie Powell [Tue, 22 Dec 2020 06:07:11 +0000 (06:07 +0000)]
Add config files for popular DNSBL providers.

3 years agoAdd support for multiple hostmasks in <cgiirc:mask>.
Sadie Powell [Tue, 22 Dec 2020 05:48:53 +0000 (05:48 +0000)]
Add support for multiple hostmasks in <cgiirc:mask>.

3 years agoAfter changing the codepage rename duplicate users to their UUID.
Sadie Powell [Tue, 22 Dec 2020 04:10:07 +0000 (04:10 +0000)]
After changing the codepage rename duplicate users to their UUID.

3 years agoSend RPL_SAVENICK from irc2 when renaming a user to their UUID.
Sadie Powell [Tue, 22 Dec 2020 03:53:00 +0000 (03:53 +0000)]
Send RPL_SAVENICK from irc2 when renaming a user to their UUID.

3 years agoReplace the SERVER stub command with something actually useful.
Sadie Powell [Sun, 20 Dec 2020 04:04:19 +0000 (04:04 +0000)]
Replace the SERVER stub command with something actually useful.

This will typically never be reached because the remote will wait
until it receives a CAPAB response before sending SERVER. Instead
replace it with a CAPAB stub command that quits servers with a
helpful message.

3 years agoHide the server name/desc better when <options:hideserver> is set.
Sadie Powell [Sun, 20 Dec 2020 03:04:21 +0000 (03:04 +0000)]
Hide the server name/desc better when <options:hideserver> is set.

3 years agoFix an inverted condition in the previous commit.
Sadie Powell [Sun, 20 Dec 2020 00:25:18 +0000 (00:25 +0000)]
Fix an inverted condition in the previous commit.

3 years agoDon't call events provided by dying or dead modules.
Sadie Powell [Fri, 18 Dec 2020 00:55:22 +0000 (00:55 +0000)]
Don't call events provided by dying or dead modules.

3 years agoFix MAP output on a dual v2/v3 network.
Sadie Powell [Wed, 16 Dec 2020 14:53:12 +0000 (14:53 +0000)]
Fix MAP output on a dual v2/v3 network.

3 years agoFix an inverted condition in cmd_modules.
Sadie Powell [Wed, 16 Dec 2020 13:04:54 +0000 (13:04 +0000)]
Fix an inverted condition in cmd_modules.

3 years agoUse !empty instead of size when checking if containers are empty.
Sadie Powell [Wed, 16 Dec 2020 03:46:36 +0000 (03:46 +0000)]
Use !empty instead of size when checking if containers are empty.

3 years agoUpdate the misspell-fixer ignores.
Sadie Powell [Tue, 15 Dec 2020 00:34:43 +0000 (00:34 +0000)]
Update the misspell-fixer ignores.

3 years agoMake people aware that they can get support on GitHub now.
Sadie Powell [Wed, 9 Dec 2020 02:02:36 +0000 (02:02 +0000)]
Make people aware that they can get support on GitHub now.

3 years agoFix issue where m_pbkdf2 was not aware of services loaded before it
Daniel Vassdal [Mon, 30 Nov 2020 20:12:52 +0000 (21:12 +0100)]
Fix issue where m_pbkdf2 was not aware of services loaded before it

3 years agoAdd a typedef for the data provider map.
Sadie Powell [Fri, 4 Dec 2020 17:43:47 +0000 (17:43 +0000)]
Add a typedef for the data provider map.

3 years agoImprove the logging of service adding/deleting.
Sadie Powell [Fri, 4 Dec 2020 15:55:28 +0000 (15:55 +0000)]
Improve the logging of service adding/deleting.

3 years agoFire service deregistration events properly.
Sadie Powell [Fri, 4 Dec 2020 15:32:02 +0000 (15:32 +0000)]
Fire service deregistration events properly.

3 years agoFix a copy/paste error in the http path normalising code.
Sadie Powell [Fri, 4 Dec 2020 15:56:14 +0000 (15:56 +0000)]
Fix a copy/paste error in the http path normalising code.

3 years agoFix the name of the sha1 provider.
Sadie Powell [Fri, 4 Dec 2020 14:18:33 +0000 (14:18 +0000)]
Fix the name of the sha1 provider.

3 years agoNormalise paths in the httpd module.
Sadie Powell [Fri, 4 Dec 2020 14:16:26 +0000 (14:16 +0000)]
Normalise paths in the httpd module.

3 years agoImprove HTTP logging.
Sadie Powell [Fri, 4 Dec 2020 14:16:19 +0000 (14:16 +0000)]
Improve HTTP logging.

3 years agoBe more specific when a HTTP parser error happens.
Sadie Powell [Thu, 3 Dec 2020 19:20:59 +0000 (19:20 +0000)]
Be more specific when a HTTP parser error happens.

3 years agoFix default linker flags in libargon2
Elizabeth Myers [Thu, 3 Dec 2020 02:03:24 +0000 (20:03 -0600)]
Fix default linker flags in libargon2

It's -largon2, not -llibargon2. I've experienced build failures due to this.

3 years agoAdvertise the available extbans for services.
Sadie Powell [Thu, 3 Dec 2020 02:05:45 +0000 (02:05 +0000)]
Advertise the available extbans for services.

3 years agoCheck the ident when checking against IP in ldapoper (#1823)
Christos Triantafyllidis [Thu, 3 Dec 2020 01:25:47 +0000 (01:25 +0000)]
Check the ident when checking against IP in ldapoper (#1823)

3 years agoWarn that v2 support ends soon.
Sadie Powell [Tue, 1 Dec 2020 21:12:00 +0000 (21:12 +0000)]
Warn that v2 support ends soon.