]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
6 years agoMerge pull request #1320 from SaberUK/master+autoperm
Attila Molnar [Sun, 9 Jul 2017 19:15:49 +0000 (21:15 +0200)]
Merge pull request #1320 from SaberUK/master+autoperm

Automatically apply +P to all permanent channels.

6 years agoMerge pull request #1335 from SaberUK/master+se
Attila Molnar [Sun, 9 Jul 2017 19:15:01 +0000 (21:15 +0200)]
Merge pull request #1335 from SaberUK/master+se

Tidy up the socket engine selection code.

6 years agoMerge pull request #1334 from SaberUK/master+md5
Attila Molnar [Sun, 9 Jul 2017 19:14:28 +0000 (21:14 +0200)]
Merge pull request #1334 from SaberUK/master+md5

Remove some dead code from m_md5.

6 years agoMerge pull request #1319 from SaberUK/master+compiler-detection
Attila Molnar [Sun, 9 Jul 2017 19:14:01 +0000 (21:14 +0200)]
Merge pull request #1319 from SaberUK/master+compiler-detection

Switch compiler detection to use a more reliable method.

7 years agoTidy up the socket engine selection code.
Peter Powell [Fri, 19 May 2017 16:28:37 +0000 (17:28 +0100)]
Tidy up the socket engine selection code.

7 years agoRemove some dead code from m_md5.
Peter Powell [Fri, 19 May 2017 11:39:01 +0000 (12:39 +0100)]
Remove some dead code from m_md5.

This is left over from the old hashing system that allowed you to
customise these values.

7 years agoAutomatically apply +P to all permanent channels.
Peter Powell [Tue, 11 Apr 2017 22:13:26 +0000 (23:13 +0100)]
Automatically apply +P to all permanent channels.

7 years agoSwitch compiler detection to use a more reliable method.
Peter Powell [Wed, 22 Mar 2017 17:44:33 +0000 (17:44 +0000)]
Switch compiler detection to use a more reliable method.

Its clear that parsing version output is not reliable enough so
switch to using a method which is less likely to break.

7 years agoMerge pull request #1311 from SaberUK/master+mm-cleanup
Adam [Tue, 4 Apr 2017 22:26:03 +0000 (18:26 -0400)]
Merge pull request #1311 from SaberUK/master+mm-cleanup

Initial ModuleManager cleanup.

7 years agoMerge pull request #1307 from GLolol/patch-1
Attila Molnar [Fri, 31 Mar 2017 13:30:27 +0000 (15:30 +0200)]
Merge pull request #1307 from GLolol/patch-1

Fix wrong service name for /infoserv in atheme.conf.example

7 years agoAdapt modulemanager for the API added in the previous commit.
Peter Powell [Fri, 24 Mar 2017 23:20:28 +0000 (23:20 +0000)]
Adapt modulemanager for the API added in the previous commit.

7 years agoAdd a nice API for command line interfaces to make::console.
Peter Powell [Fri, 24 Mar 2017 23:11:40 +0000 (23:11 +0000)]
Add a nice API for command line interfaces to make::console.

7 years agoUse the standard Perl prelude in ModuleManager.
Peter Powell [Fri, 24 Mar 2017 22:00:00 +0000 (22:00 +0000)]
Use the standard Perl prelude in ModuleManager.

7 years agoReplace module_installed with eval.
Peter Powell [Fri, 24 Mar 2017 21:55:29 +0000 (21:55 +0000)]
Replace module_installed with eval.

7 years agoAmend modulemanager to use {read,write}_config_file.
Peter Powell [Fri, 24 Mar 2017 21:48:17 +0000 (21:48 +0000)]
Amend modulemanager to use {read,write}_config_file.

7 years agoExtract core logic of write_configure_cache to write_config_file.
Peter Powell [Fri, 24 Mar 2017 21:44:33 +0000 (21:44 +0000)]
Extract core logic of write_configure_cache to write_config_file.

7 years agoRename read_configure_cache to read_config_file and move to common.
Peter Powell [Fri, 24 Mar 2017 21:00:01 +0000 (21:00 +0000)]
Rename read_configure_cache to read_config_file and move to common.

7 years agom_ldapauth: use username provided in PASS if available
Adam [Mon, 20 Mar 2017 17:10:07 +0000 (13:10 -0400)]
m_ldapauth: use username provided in PASS if available

7 years agoFix wrong service name for /infoserv in atheme.conf.example
James Lu [Mon, 20 Mar 2017 01:49:37 +0000 (18:49 -0700)]
Fix wrong service name for /infoserv in atheme.conf.example

Fixes #1306.

7 years agoMerge pull request #1292 from SaberUK/master+flush
Attila Molnar [Sun, 5 Mar 2017 20:32:11 +0000 (21:32 +0100)]
Merge pull request #1292 from SaberUK/master+flush

Allow <log> tags to specify how often logs should be flushed.

7 years agoAllow <log> tags to specify how often logs should be flushed.
Peter Powell [Sun, 5 Feb 2017 19:05:27 +0000 (19:05 +0000)]
Allow <log> tags to specify how often logs should be flushed.

Also use the behaviour behind this to fix #1290.

7 years agoMerge pull request #1287 from SaberUK/master+filter-docs
Attila Molnar [Tue, 14 Feb 2017 17:46:37 +0000 (18:46 +0100)]
Merge pull request #1287 from SaberUK/master+filter-docs

Fix some minor problems with the filter docs.

7 years agoFix some minor problems with the filter docs.
Peter Powell [Sat, 28 Jan 2017 16:48:13 +0000 (16:48 +0000)]
Fix some minor problems with the filter docs.

7 years agocmd_mode Switch to a numeric for showing modes of other users
Attila Molnar [Fri, 30 Dec 2016 18:05:00 +0000 (19:05 +0100)]
cmd_mode Switch to a numeric for showing modes of other users

7 years agoClean up User::FormatModes(), rename to GetModeLetters()
Attila Molnar [Fri, 30 Dec 2016 17:58:31 +0000 (18:58 +0100)]
Clean up User::FormatModes(), rename to GetModeLetters()

Prefix the returned string with '+'

7 years agoMake ModeHandler::GetUserParameter() const, accept const User
Attila Molnar [Fri, 30 Dec 2016 17:53:04 +0000 (18:53 +0100)]
Make ModeHandler::GetUserParameter() const, accept const User

7 years agoMake all User::IsModeSet() methods const, accept const ModeHandler
Attila Molnar [Fri, 30 Dec 2016 17:51:56 +0000 (18:51 +0100)]
Make all User::IsModeSet() methods const, accept const ModeHandler

7 years agoDeduplicate nickname overruling code
Attila Molnar [Fri, 30 Dec 2016 17:44:39 +0000 (18:44 +0100)]
Deduplicate nickname overruling code

Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree

7 years agoRemove remaining doxygen doc for "pcnt" parameters
Attila Molnar [Fri, 30 Dec 2016 16:36:20 +0000 (17:36 +0100)]
Remove remaining doxygen doc for "pcnt" parameters

7 years agoPenalize commands that had 0 penalty
Attila Molnar [Fri, 30 Dec 2016 16:32:01 +0000 (17:32 +0100)]
Penalize commands that had 0 penalty

7 years agoFix the default xline.db path in modules.conf.example.
Peter Powell [Tue, 20 Sep 2016 04:35:11 +0000 (05:35 +0100)]
Fix the default xline.db path in modules.conf.example.

7 years agoMerge pull request #1273 from SaberUK/master+bs
Attila Molnar [Thu, 29 Dec 2016 15:05:19 +0000 (16:05 +0100)]
Merge pull request #1273 from SaberUK/master+bs

Fix the clock_gettime() test on macOS Sierra

7 years agoMerge pull request #1274 from SaberUK/master+cxx
Attila Molnar [Thu, 29 Dec 2016 14:51:04 +0000 (15:51 +0100)]
Merge pull request #1274 from SaberUK/master+cxx

Add interactive-mode support for setting the compiler binary.

7 years agoAdd interactive-mode support for setting the compiler binary.
Peter Powell [Mon, 26 Dec 2016 05:42:04 +0000 (05:42 +0000)]
Add interactive-mode support for setting the compiler binary.

7 years agoFix the clock_gettime() test on macOS Sierra.
Peter Powell [Mon, 26 Dec 2016 05:17:41 +0000 (05:17 +0000)]
Fix the clock_gettime() test on macOS Sierra.

macOS now supports clock_gettime() but it is part of libSystem
rather than librt which does not exist on macOS.

7 years agoDon't suppress error output when INSPIRCD_VERBOSE is set.
Peter Powell [Mon, 26 Dec 2016 05:07:40 +0000 (05:07 +0000)]
Don't suppress error output when INSPIRCD_VERBOSE is set.

7 years agoMerge pull request #1261 from SaberUK/master+genssl
Attila Molnar [Mon, 19 Dec 2016 20:08:40 +0000 (21:08 +0100)]
Merge pull request #1261 from SaberUK/master+genssl

Make genssl use STDERR and the real binary name for error messages.

7 years agoMake genssl use STDERR and the real binary name for error messages.
Peter Powell [Tue, 22 Nov 2016 12:18:47 +0000 (12:18 +0000)]
Make genssl use STDERR and the real binary name for error messages.

7 years agoMerge pull request #1260 from SaberUK/master+libressl
Attila Molnar [Fri, 25 Nov 2016 14:17:37 +0000 (15:17 +0100)]
Merge pull request #1260 from SaberUK/master+libressl

Fix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.

7 years agoMerge pull request #1252 from SaberUK/master+distribution
Attila Molnar [Fri, 25 Nov 2016 14:17:09 +0000 (15:17 +0100)]
Merge pull request #1252 from SaberUK/master+distribution

Fix the distribution label not showing up since b8d85c6251.

7 years agoFix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.
Peter Powell [Wed, 23 Nov 2016 17:24:28 +0000 (17:24 +0000)]
Fix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.

7 years agoFix the distribution label not showing up since b8d85c6251.
Peter Powell [Wed, 12 Oct 2016 19:10:43 +0000 (20:10 +0100)]
Fix the distribution label not showing up since b8d85c6251.

7 years agoMerge pull request #1234 from SaberUK/master+config2
Attila Molnar [Wed, 16 Nov 2016 10:58:03 +0000 (11:58 +0100)]
Merge pull request #1234 from SaberUK/master+config2

Rework the example services aliases.

7 years agoRework the example services aliases.
Peter Powell [Thu, 13 Oct 2016 07:41:57 +0000 (08:41 +0100)]
Rework the example services aliases.

- Split common stuff into a generic configuration file.
- Reserve all nicknames used by services by default.
- Exempt all services clients from filtering.
- Add missing aliases for services pseudoclients.

7 years agoMerge pull request #1248 from SaberUK/master+listen
Attila Molnar [Wed, 16 Nov 2016 10:54:43 +0000 (11:54 +0100)]
Merge pull request #1248 from SaberUK/master+listen

Allow listeners to be able to listen on unavailable addresses.

7 years agoMerge pull request #1216 from SaberUK/master+tls
Attila Molnar [Wed, 16 Nov 2016 10:41:12 +0000 (11:41 +0100)]
Merge pull request #1216 from SaberUK/master+tls

Update SSL config documentation for SSL profiles and m_ssl_mbedtls.

7 years agoUpdate SSL config documentation for SSL profiles and m_ssl_mbedtls.
Peter Powell [Sun, 11 Sep 2016 00:09:00 +0000 (01:09 +0100)]
Update SSL config documentation for SSL profiles and m_ssl_mbedtls.

7 years agoMerge pull request #1241 from SaberUK/master+helpop
Attila Molnar [Tue, 15 Nov 2016 12:00:47 +0000 (13:00 +0100)]
Merge pull request #1241 from SaberUK/master+helpop

Update helpop for recent LOCKSERV and <connect:port> changes.

7 years agoAllow listeners to be able to listen on unavailable addresses.
Peter Powell [Sat, 12 Nov 2016 16:04:16 +0000 (16:04 +0000)]
Allow listeners to be able to listen on unavailable addresses.

7 years agoMerge pull request #1246 from SaberUK/master+perl
Attila Molnar [Tue, 8 Nov 2016 13:47:04 +0000 (14:47 +0100)]
Merge pull request #1246 from SaberUK/master+perl

Update build system for the removal of . from @INC.

7 years agoUpdate build system for the removal of . from @INC.
Peter Powell [Tue, 8 Nov 2016 09:28:29 +0000 (09:28 +0000)]
Update build system for the removal of . from @INC.

7 years agoUpdate helpop for recent LOCKSERV and <connect:port> changes.
Peter Powell [Tue, 1 Nov 2016 15:08:17 +0000 (15:08 +0000)]
Update helpop for recent LOCKSERV and <connect:port> changes.

7 years agoMerge pull request #1238 from SaberUK/master+openssl
Attila Molnar [Tue, 1 Nov 2016 14:55:20 +0000 (15:55 +0100)]
Merge pull request #1238 from SaberUK/master+openssl

Fix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.

7 years agoMerge pull request #1236 from SaberUK/master+port
Attila Molnar [Tue, 1 Nov 2016 14:42:28 +0000 (15:42 +0100)]
Merge pull request #1236 from SaberUK/master+port

Allow classes to take a port range.

7 years agoMerge pull request #1215 from SaberUK/master+config
Attila Molnar [Tue, 1 Nov 2016 14:40:38 +0000 (15:40 +0100)]
Merge pull request #1215 from SaberUK/master+config

Strip carriage returns in the config parser.

7 years agoMerge pull request #1185 from SaberUK/master+lockserv
Attila Molnar [Tue, 1 Nov 2016 14:18:21 +0000 (15:18 +0100)]
Merge pull request #1185 from SaberUK/master+lockserv

Allow the reason for locking to be specified in m_lockserv.

7 years agoMerge pull request #1184 from SaberUK/master+flood
Attila Molnar [Tue, 1 Nov 2016 14:16:29 +0000 (15:16 +0100)]
Merge pull request #1184 from SaberUK/master+flood

Improvements to flood modules

7 years agoFix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.
Peter Powell [Mon, 24 Oct 2016 19:08:48 +0000 (20:08 +0100)]
Fix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.

7 years agoAllow classes to take a port range.
Peter Powell [Sun, 23 Oct 2016 14:23:14 +0000 (15:23 +0100)]
Allow classes to take a port range.

7 years agoMerge pull request #1228 from SaberUK/master+directive-env
Attila Molnar [Wed, 21 Sep 2016 12:35:34 +0000 (14:35 +0200)]
Merge pull request #1228 from SaberUK/master+directive-env

Fix the directive parser using invalid environment variables.

7 years agoFix the directive parser using invalid environment variables.
Peter Powell [Fri, 16 Sep 2016 21:15:08 +0000 (22:15 +0100)]
Fix the directive parser using invalid environment variables.

7 years agoStrip carriage returns in the config parser.
Peter Powell [Fri, 9 Sep 2016 09:50:12 +0000 (10:50 +0100)]
Strip carriage returns in the config parser.

This prevents problems when configuration files have been edited
on a Windows machine.

7 years agoMerge pull request #1225 from SaberUK/master+cppflags
Attila Molnar [Tue, 20 Sep 2016 16:39:43 +0000 (18:39 +0200)]
Merge pull request #1225 from SaberUK/master+cppflags

Use the environment's CPPFLAGS as well as its CXXFLAGS.

7 years agoMerge pull request #1226 from SaberUK/master+fix-insp20-channels-compat
Attila Molnar [Tue, 20 Sep 2016 16:39:10 +0000 (18:39 +0200)]
Merge pull request #1226 from SaberUK/master+fix-insp20-channels-compat

Fix compatibility with the legacy <channels> tag.

7 years agoFix compatibility with the legacy <channels> tag.
Peter Powell [Tue, 20 Sep 2016 04:38:03 +0000 (05:38 +0100)]
Fix compatibility with the legacy <channels> tag.

We should only use OperMaxChans if they have the right privilege.

7 years agoUse the environment's CPPFLAGS as well as its CXXFLAGS.
Peter Powell [Sat, 17 Sep 2016 02:04:20 +0000 (03:04 +0100)]
Use the environment's CPPFLAGS as well as its CXXFLAGS.

7 years agoAdd CentOS PackageInfo
Adam [Fri, 16 Sep 2016 21:59:34 +0000 (17:59 -0400)]
Add CentOS PackageInfo

7 years agoMake the duration of nickflood and joinflood configurable.
Peter Powell [Mon, 2 May 2016 23:33:05 +0000 (00:33 +0100)]
Make the duration of nickflood and joinflood configurable.

7 years agoAllow the reason for locking to be specified in m_lockserv.
Peter Powell [Wed, 11 May 2016 12:48:21 +0000 (13:48 +0100)]
Allow the reason for locking to be specified in m_lockserv.

7 years agoMerge pull request #1223 from SaberUK/master+travis
Attila Molnar [Fri, 16 Sep 2016 08:55:58 +0000 (10:55 +0200)]
Merge pull request #1223 from SaberUK/master+travis

Speed up Travis builds.

7 years agoMerge pull request #1222 from SaberUK/master+warnings
Attila Molnar [Fri, 16 Sep 2016 08:55:29 +0000 (10:55 +0200)]
Merge pull request #1222 from SaberUK/master+warnings

Fix various compiler warnings

7 years agoMerge pull request #1219 from SaberUK/master+directive
Attila Molnar [Fri, 16 Sep 2016 08:54:15 +0000 (10:54 +0200)]
Merge pull request #1219 from SaberUK/master+directive

Rewrite the build system directive parser.

7 years agoMerge pull request #1176 from SaberUK/master+format
Attila Molnar [Fri, 16 Sep 2016 08:53:19 +0000 (10:53 +0200)]
Merge pull request #1176 from SaberUK/master+format

Replace snprintf usage with InspIRCd::Format.

7 years agoRewrite the build system directive parser.
Peter Powell [Sun, 11 Sep 2016 20:19:28 +0000 (21:19 +0100)]
Rewrite the build system directive parser.

7 years agoSpeed up Travis builds.
Peter Powell [Tue, 13 Sep 2016 01:56:14 +0000 (02:56 +0100)]
Speed up Travis builds.

- Switch Linux builds to Ubuntu 14.04 from 12.04.
- Split dynamic and static builds into different jobs.
- Remove OS X builds as the infrastructure is slow and unreliable.

7 years agoFix m_ldap warning about OpenLDAP being deprecated on OS X.
Peter Powell [Wed, 14 Sep 2016 23:11:22 +0000 (00:11 +0100)]
Fix m_ldap warning about OpenLDAP being deprecated on OS X.

7 years agoFix m_geoip warning about the use of C++11 features.
Peter Powell [Mon, 12 Sep 2016 23:10:30 +0000 (00:10 +0100)]
Fix m_geoip warning about the use of C++11 features.

7 years agoFix print_format breaking when formatting empty strings.
Peter Powell [Mon, 12 Sep 2016 03:17:55 +0000 (04:17 +0100)]
Fix print_format breaking when formatting empty strings.

7 years agoAllow print_error and print_warning to take multiple lines.
Peter Powell [Thu, 28 May 2015 10:58:02 +0000 (11:58 +0100)]
Allow print_error and print_warning to take multiple lines.

7 years agoMerge pull request #1220 from SaberUK/master+isupport
Attila Molnar [Wed, 14 Sep 2016 15:07:53 +0000 (17:07 +0200)]
Merge pull request #1220 from SaberUK/master+isupport

Improve the default ISUPPORT tokens.

7 years agoImprove the default ISUPPORT tokens.
Peter Powell [Wed, 14 Sep 2016 01:35:05 +0000 (02:35 +0100)]
Improve the default ISUPPORT tokens.

- Replace the deprecated MAXCHANNELS token with CHANLIMIT.
- Remove the deprecated FNC token (other implementations can force
  a nick change without sending this token so informing clients of
  that we might force a nick change is pointless)

7 years agom_shun Add support for shunning CIDR masks
Attila Molnar [Mon, 12 Sep 2016 16:28:00 +0000 (18:28 +0200)]
m_shun Add support for shunning CIDR masks

Issue #1195

7 years agoChange type of log messages to MODNAME in several modules
Attila Molnar [Mon, 12 Sep 2016 15:26:05 +0000 (17:26 +0200)]
Change type of log messages to MODNAME in several modules

7 years agoMerge pull request #1217 from SaberUK/master+die-restart
Attila Molnar [Mon, 12 Sep 2016 15:20:51 +0000 (17:20 +0200)]
Merge pull request #1217 from SaberUK/master+die-restart

Undocument <power> and set the default to the server name.

7 years agoMerge pull request #1214 from SaberUK/master+hash
Attila Molnar [Mon, 12 Sep 2016 14:44:30 +0000 (16:44 +0200)]
Merge pull request #1214 from SaberUK/master+hash

Update documentation for password hashing.

7 years agoUndocument <power> and set the default to the server name.
Peter Powell [Sun, 11 Sep 2016 00:15:44 +0000 (01:15 +0100)]
Undocument <power> and set the default to the server name.

7 years agoUpdate documentation for password hashing.
Peter Powell [Fri, 9 Sep 2016 09:20:16 +0000 (10:20 +0100)]
Update documentation for password hashing.

- Follow best current practises by using bcrypt almost everywhere
  in the example configuration files.
- Document the existence of new hashing modules in master.

7 years agoReplace snprintf usage with InspIRCd::Format.
Peter Powell [Sat, 7 May 2016 22:07:55 +0000 (23:07 +0100)]
Replace snprintf usage with InspIRCd::Format.

7 years agoRelease v3.0.0 alpha 1
Attila Molnar [Fri, 2 Sep 2016 20:15:31 +0000 (22:15 +0200)]
Release v3.0.0 alpha 1

7 years agoUpdate stuff for the new versioning system.
Peter Powell [Fri, 2 Sep 2016 18:43:53 +0000 (19:43 +0100)]
Update stuff for the new versioning system.

7 years agoBump version to 3.0 in comments and messages
Attila Molnar [Fri, 2 Sep 2016 19:51:19 +0000 (21:51 +0200)]
Bump version to 3.0 in comments and messages

7 years agoMerge insp20
Attila Molnar [Fri, 2 Sep 2016 18:58:58 +0000 (20:58 +0200)]
Merge insp20

7 years agom_dnsbl Use FindAnswerOfType
Adam [Fri, 2 Sep 2016 16:43:13 +0000 (12:43 -0400)]
m_dnsbl Use FindAnswerOfType

7 years agom_spanningtree Allow multiple valid ips for link blocks as a result of SecurityIPResolver
Adam [Fri, 2 Sep 2016 16:43:13 +0000 (12:43 -0400)]
m_spanningtree Allow multiple valid ips for link blocks as a result of SecurityIPResolver

7 years agoFix Windows build and most MSVC warnings
Attila Molnar [Fri, 2 Sep 2016 17:58:44 +0000 (19:58 +0200)]
Fix Windows build and most MSVC warnings

7 years agom_spanningtree Add workaround to make SVS* commands work when using ENCAP
Attila Molnar [Fri, 2 Sep 2016 17:26:51 +0000 (19:26 +0200)]
m_spanningtree Add workaround to make SVS* commands work when using ENCAP

7 years agom_spanningtree Refuse topic changes that would result in desync
Attila Molnar [Fri, 2 Sep 2016 17:22:50 +0000 (19:22 +0200)]
m_spanningtree Refuse topic changes that would result in desync

This is a workaround until the protocol is updated

7 years agom_jumpserver Prevent OnUserRegister from running in other modules for users we quit
Attila Molnar [Fri, 2 Sep 2016 15:08:41 +0000 (17:08 +0200)]
m_jumpserver Prevent OnUserRegister from running in other modules for users we quit

7 years agoFix whitespace issues
Attila Molnar [Fri, 2 Sep 2016 11:20:16 +0000 (13:20 +0200)]
Fix whitespace issues

7 years agoReturn std::string from Membership::GetAllPrefixChars()
Attila Molnar [Tue, 30 Aug 2016 14:33:46 +0000 (16:33 +0200)]
Return std::string from Membership::GetAllPrefixChars()