]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
6 years agoAdd the override keyword in places that it is missing.
Peter Powell [Tue, 21 Nov 2017 13:05:17 +0000 (13:05 +0000)]
Add the override keyword in places that it is missing.

GCCs warnings for this are much better than Clangs.

6 years agoInherit non-core connect class settings properly.
Peter Powell [Sat, 21 Oct 2017 21:48:29 +0000 (22:48 +0100)]
Inherit non-core connect class settings properly.

Based partially on a patch by Attila.

6 years agoImprove LIST and implement more extended list features.
Peter Powell [Wed, 15 Nov 2017 02:35:15 +0000 (02:35 +0000)]
Improve LIST and implement more extended list features.

- Move the ISUPPORT token from the core into core_user and start
  sending the SAFELIST token to let clients know that they can
  safely run LIST on big servers.

- Add support for the channel creation time (C), topic set time
  (T), and inverted glob match (N) filters as specified in the
  draft-hardy-irc-isupport-00 specification.

- Clean up the logic for filtering channels by user count.

6 years agoFix a ton of -Wsign-conversion warnings.
Peter Powell [Fri, 17 Nov 2017 00:02:03 +0000 (00:02 +0000)]
Fix a ton of -Wsign-conversion warnings.

6 years agoAdd events which are fired when a service is added or deleted.
Attila Molnar [Fri, 18 Nov 2016 16:30:38 +0000 (17:30 +0100)]
Add events which are fired when a service is added or deleted.

6 years agoAdd a class which encapsulates the concept of token lists.
Peter Powell [Thu, 17 Aug 2017 17:32:19 +0000 (18:32 +0100)]
Add a class which encapsulates the concept of token lists.

6 years agoRelease v3.0.0 alpha 3.
Peter Powell [Mon, 13 Nov 2017 17:55:59 +0000 (17:55 +0000)]
Release v3.0.0 alpha 3.

6 years agoUnite SSL service providers and SSL profile classes
Attila Molnar [Tue, 10 Jan 2017 19:21:57 +0000 (20:21 +0100)]
Unite SSL service providers and SSL profile classes

6 years agoOnly subclass Simple{Channel,User}ModeHandler when necessary.
Peter Powell [Sun, 12 Nov 2017 20:53:24 +0000 (20:53 +0000)]
Only subclass Simple{Channel,User}ModeHandler when necessary.

6 years agoAdd the m_ircv3_sts module which implements the IRCv3 STS spec.
Peter Powell [Sun, 29 Oct 2017 05:58:16 +0000 (05:58 +0000)]
Add the m_ircv3_sts module which implements the IRCv3 STS spec.

6 years agoMerge tag 'v2.0.25' into master.
Peter Powell [Sun, 12 Nov 2017 17:33:21 +0000 (17:33 +0000)]
Merge tag 'v2.0.25' into master.

6 years agoRelease v2.0.25
Peter Powell [Sun, 12 Nov 2017 15:55:01 +0000 (15:55 +0000)]
Release v2.0.25

6 years agoDon't mess with the encoding of extras modules in modulemanager.
Peter Powell [Sun, 12 Nov 2017 14:33:08 +0000 (14:33 +0000)]
Don't mess with the encoding of extras modules in modulemanager.

This fixes installing extras modules such as m_qrcode which contain
characters from outside of the Unicode Basic Multilingual Plane.

6 years agoVarious minor documentation fixes.
Peter Powell [Sun, 12 Nov 2017 11:58:49 +0000 (11:58 +0000)]
Various minor documentation fixes.

- Remind admins that not setting a DIE/RESTART password does not
  disable use of those commands.
- Remove references to 1.2 and modules being able to create custom
  logging methods. This was never implemented in the 2.0 branch.
- Remove references to an SASL improvement that was reverted.
- Update various InspIRCd website links to use HTTPS over HTTP.
- Update a link to the IRCv3 website to point to the new website.

6 years agoWork around removing shuns on nicks when the nick is online.
Peter Powell [Tue, 7 Nov 2017 18:18:35 +0000 (18:18 +0000)]
Work around removing shuns on nicks when the nick is online.

6 years agoRevert the code changes to m_sasl made in commit 9d4b4344b4.
Peter Powell [Thu, 9 Nov 2017 11:04:52 +0000 (11:04 +0000)]
Revert the code changes to m_sasl made in commit 9d4b4344b4.

This is causing problems such as duplicate 904 messages.

6 years agoAllow spaces in the network name now it doesn't cause problems.
Peter Powell [Thu, 9 Nov 2017 10:05:09 +0000 (10:05 +0000)]
Allow spaces in the network name now it doesn't cause problems.

This will not cause any compatibility issues as we do not rely on
this attribute internally.

6 years agoImplement support for draft-brocklesby-irc-isupport-03 escapes.
Peter Powell [Thu, 9 Nov 2017 10:04:58 +0000 (10:04 +0000)]
Implement support for draft-brocklesby-irc-isupport-03 escapes.

6 years agoMerge pull request #1255 from genius3000/insp20+timedbans
Peter Powell [Tue, 7 Nov 2017 14:15:50 +0000 (14:15 +0000)]
Merge pull request #1255 from genius3000/insp20+timedbans

2.0: Fix various inconsistencies in m_timedbans.

6 years agoImprove (synchronize) the notices in m_timedbans
genius3000 [Tue, 22 Nov 2016 05:00:27 +0000 (22:00 -0700)]
Improve (synchronize) the notices in m_timedbans

* Send to remote servers upon setting
* Send to halfop if available upon expiry

6 years agoMerge pull request #1359 from genius3000/insp20+sasl_no_server
Peter Powell [Mon, 6 Nov 2017 11:11:22 +0000 (11:11 +0000)]
Merge pull request #1359 from genius3000/insp20+sasl_no_server

2.0: Inform the client when a SASL message cannot be sent

6 years agoEnable using m_customprefix to alter core prefix modes.
Peter Powell [Fri, 20 Oct 2017 07:01:27 +0000 (08:01 +0100)]
Enable using m_customprefix to alter core prefix modes.

This replaces the devoice module which has now been removed. If you
want users to be able to devoice themselves then you can load the
customprefix module add the following config tag:

    <customprefix name="voice" depriv="yes">

If you wish to keep identical behaviour rather than allowing users
to use "MODE #YourChannel -v TheirNick" then you can load the alias
module and add the following config tag:

    <alias text="DEVOICE" format="#*" replace="MODE $2 -v $nick">

6 years agoClean up the configuration reading in m_customprefix.
Peter Powell [Fri, 20 Oct 2017 06:07:49 +0000 (07:07 +0100)]
Clean up the configuration reading in m_customprefix.

- Rework the code flow to be more readable.
- Ensure that the name is well formed.
- Allow prefix modes with a rank of zero.

6 years agoMove depriv from m_customprefix into PrefixMode.
Peter Powell [Fri, 20 Oct 2017 05:24:19 +0000 (06:24 +0100)]
Move depriv from m_customprefix into PrefixMode.

6 years agoAdd support for setting the unset rank in ModeHandler.
Peter Powell [Wed, 18 Oct 2017 02:40:31 +0000 (03:40 +0100)]
Add support for setting the unset rank in ModeHandler.

6 years agoInform the client when a SASL message cannot be sent
genius3000 [Thu, 27 Jul 2017 09:05:44 +0000 (03:05 -0600)]
Inform the client when a SASL message cannot be sent

When SASL is properly configured with a 'target' server, we are able
to inform the client when the message fails to send.
Currently if a target is configured and it is offline, no response is
sent. This can cause some clients to time out while waiting for a response.

If a target isn't configured, behaviour will not change with this commit.
The default of '*' will still send to all servers.
Updated example config with 'target' variable.

6 years agoFix an unhandled exception crash when rehashing modules.
Peter Powell [Mon, 6 Nov 2017 00:29:51 +0000 (00:29 +0000)]
Fix an unhandled exception crash when rehashing modules.

Previously we used FOREACH_MOD to call OnRehash which handled any
thrown exceptions. When we switched to ReadConfig this stopped
being the case.

This bug was introduced in c202dea024.

6 years agoUse InvalidateCache in the sockaddrs overload of OnSetClientIP.
Peter Powell [Sun, 22 Oct 2017 22:51:15 +0000 (23:51 +0100)]
Use InvalidateCache in the sockaddrs overload of OnSetClientIP.

This was done to the string variant in d3b82b2f7f.

6 years agoMerge pull request #1410 from jcjordyn130/insp20
Peter Powell [Sun, 5 Nov 2017 22:43:36 +0000 (22:43 +0000)]
Merge pull request #1410 from jcjordyn130/insp20

Fix CMD_RESTART with relative paths as argv[0].

6 years agoFix CMD_RESTART with relative paths as argv[0].
Jordyn/The Linux Geek [Sat, 4 Nov 2017 23:13:41 +0000 (18:13 -0500)]
Fix CMD_RESTART with relative paths as argv[0].

6 years agoFix some SSL module issues.
Peter Powell [Wed, 1 Nov 2017 17:23:00 +0000 (17:23 +0000)]
Fix some SSL module issues.

- Use the same dhparams name in m_ssl_openssl as in other modules.
- Fix building m_ssl_mbedtls.

6 years agoMake core_hostname_lookup redo the lookup when a user's IP changes.
Peter Powell [Mon, 30 Oct 2017 19:34:56 +0000 (19:34 +0000)]
Make core_hostname_lookup redo the lookup when a user's IP changes.

This removes the need to do lookups in the cgiirc module. This is
useful as relying on gateways to do proper DNS checks is unreliable
and has resulted in issues like 5fc4403f62. Its more sane if we do
our own lookups.

This change has been okayed by multiple WEBIRC gateway authors so
I don't think it will cause many problems.

6 years agoAdd support to IOHook for retrieving the hostname sent via SNI.
Peter Powell [Sun, 29 Oct 2017 11:15:47 +0000 (11:15 +0000)]
Add support to IOHook for retrieving the hostname sent via SNI.

6 years agoHide User#host and User#dhost and use accessors to modify them.
Peter Powell [Sun, 22 Oct 2017 20:53:24 +0000 (21:53 +0100)]
Hide User#host and User#dhost and use accessors to modify them.

This removes the need to invalidate the cache after changing a
user's hostname.

6 years agoChange SetClientIP to take a C++ string instead of a char array.
Peter Powell [Fri, 27 Oct 2017 18:15:23 +0000 (19:15 +0100)]
Change SetClientIP to take a C++ string instead of a char array.

6 years agoConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()
Adam [Fri, 27 Oct 2017 00:23:24 +0000 (20:23 -0400)]
ConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()

See: 66f82ccf926aac39273bfc652c85c08080cc9a46

Fixes inspircd/inspircd-extras#110

6 years agoMove Shutter to former contributors & thank genius3000, Sheogorath.
Peter Powell [Sun, 22 Oct 2017 16:13:02 +0000 (17:13 +0100)]
Move Shutter to former contributors & thank genius3000, Sheogorath.

6 years agoDeduplicate error handling in the socket engines.
Peter Powell [Sun, 22 Oct 2017 02:10:48 +0000 (03:10 +0100)]
Deduplicate error handling in the socket engines.

6 years agoConvert GetMaxFds() to size_t and deduplicate setting code.
Peter Powell [Sun, 22 Oct 2017 01:27:25 +0000 (02:27 +0100)]
Convert GetMaxFds() to size_t and deduplicate setting code.

6 years agoRemove support for the Solaris IOCP socket engine.
Peter Powell [Sun, 22 Oct 2017 14:10:49 +0000 (15:10 +0100)]
Remove support for the Solaris IOCP socket engine.

After discussing this with Adam we have decided that there is very
little point in keeping this now that Solaris has been killed. Any
legacy Solaris users will have to make do with poll.

This change does not affect users of Solaris forks like Illumos as
they have support for epoll which will have already been selected
over Solaris IOCP by configure.

6 years agoMerge pull request #1407 from genius3000/master+update_helpop_extbans
Peter Powell [Sun, 22 Oct 2017 14:19:11 +0000 (15:19 +0100)]
Merge pull request #1407 from genius3000/master+update_helpop_extbans

Helpop Updates

6 years agoHelpop: Move extban 'U' from acting to matching
genius3000 [Sun, 22 Oct 2017 00:59:24 +0000 (18:59 -0600)]
Helpop: Move extban 'U' from acting to matching

6 years agoHelpop: Add extban 'n' - connect class ban
genius3000 [Sun, 22 Oct 2017 00:56:29 +0000 (18:56 -0600)]
Helpop: Add extban 'n' - connect class ban

Commit a54497e added m_classban, this updates the helpop files.

6 years agosocketengine_poll: fix initialization fd_mappings
Adam [Sun, 22 Oct 2017 00:27:10 +0000 (20:27 -0400)]
socketengine_poll: fix initialization fd_mappings

6 years agoRemove CMD_EPERM as it is not used anywhere.
Peter Powell [Sat, 21 Oct 2017 21:13:15 +0000 (22:13 +0100)]
Remove CMD_EPERM as it is not used anywhere.

6 years agoTweak the module flags in MODULES slightly.
Peter Powell [Wed, 18 Oct 2017 00:52:51 +0000 (01:52 +0100)]
Tweak the module flags in MODULES slightly.

Using unique letters for each flag makes it easier to read when
using fonts which have similar glyphs for upper and lower case
characters.

6 years agoAdd PackageInfo directives for Debian.
Peter Powell [Fri, 11 Aug 2017 16:24:30 +0000 (17:24 +0100)]
Add PackageInfo directives for Debian.

6 years agoAdd a helper function for calling the OnCheckExemption event.
Peter Powell [Sat, 21 Oct 2017 15:34:48 +0000 (16:34 +0100)]
Add a helper function for calling the OnCheckExemption event.

6 years agoSwitch the default datetime format to something easier to read.
Peter Powell [Fri, 20 Oct 2017 03:50:36 +0000 (04:50 +0100)]
Switch the default datetime format to something easier to read.

6 years agoSwitch from std::stringstream to irc::spacesepstream.
Peter Powell [Thu, 19 Oct 2017 10:55:17 +0000 (11:55 +0100)]
Switch from std::stringstream to irc::spacesepstream.

The latter is more suited to the things we have previously been
using std::stringstream for.

6 years agoAdd a constructor to OperInfo and use it to set the type name.
Peter Powell [Mon, 16 Oct 2017 01:37:57 +0000 (02:37 +0100)]
Add a constructor to OperInfo and use it to set the type name.

6 years agoClean up OnCleanup.
Peter Powell [Wed, 18 Oct 2017 11:41:37 +0000 (12:41 +0100)]
Clean up OnCleanup.

- Switch to using ExtensionItem::ExtensibleType for the type instead
of TargetTypeFlags.
- Pass the extensible to OnCleanup as an Extensible pointer
instead of a void pointer.
- Call OnCleanup for memberships as well as channels and users.
- Rewrite event documentation to remove outdated references.

6 years agoIgnore <module> tags for modules that are already loaded.
Peter Powell [Wed, 18 Oct 2017 03:00:04 +0000 (04:00 +0100)]
Ignore <module> tags for modules that are already loaded.

This allows us to do user friendly things like loading the alias
module in the example alias files.

6 years agoFix sending a malformed 410 numeric when sent empty CAP commands.
Peter Powell [Tue, 17 Oct 2017 23:36:26 +0000 (00:36 +0100)]
Fix sending a malformed 410 numeric when sent empty CAP commands.

6 years agoClean up the command disabling logic.
Peter Powell [Mon, 16 Oct 2017 03:14:37 +0000 (04:14 +0100)]
Clean up the command disabling logic.

- Read the disabled command list in ApplyDisabledCommands() instead
  of storing it in a global which is only accessed on rehash.
- Write debug messages to the log when disabling commands.
- Use irc::spacesepstream instead of std::stringstream.

6 years agoFix the command table not being case insensitive.
Peter Powell [Mon, 16 Oct 2017 16:00:53 +0000 (17:00 +0100)]
Fix the command table not being case insensitive.

This is not an issue normally but in some circumstances (e.g. when
disabling commands) it can result in command lookups failing even
when they exist.

6 years agoUn-constify the private fields of WebIRCHost.
Peter Powell [Sun, 15 Oct 2017 23:10:02 +0000 (00:10 +0100)]
Un-constify the private fields of WebIRCHost.

These being constant causes problems on older compilers that don't
elide the temporary copy when adding to the host list.

6 years agoClean up the initialization of ConnectClass and ServerConfig.
attilamolnar [Tue, 18 Jun 2013 19:26:54 +0000 (21:26 +0200)]
Clean up the initialization of ConnectClass and ServerConfig.

6 years agoRewrite the configuration documentation for m_cgiirc.
Peter Powell [Sun, 15 Oct 2017 18:41:47 +0000 (19:41 +0100)]
Rewrite the configuration documentation for m_cgiirc.

6 years agoAdd support for WEBIRC blocks authenticating using client certs.
Peter Powell [Sun, 15 Oct 2017 15:43:12 +0000 (16:43 +0100)]
Add support for WEBIRC blocks authenticating using client certs.

6 years agoShow the gateway, realhost, and realip in WHOIS for cgiirc clients.
Peter Powell [Sun, 15 Oct 2017 15:19:03 +0000 (16:19 +0100)]
Show the gateway, realhost, and realip in WHOIS for cgiirc clients.

This mirrors a similar feature in ircd-hybrid but using a different
numeric that is not already taken in InspIRCd.

6 years agoClean up the WEBIRC command handler.
Peter Powell [Sun, 15 Oct 2017 13:00:29 +0000 (14:00 +0100)]
Clean up the WEBIRC command handler.

- Fix the extremely broken indentation.
- Simplify the HandleLocal code flow.
- Improve the notices sent to operators.

6 years agoAdd support for hashed WebIRC passwords to m_cgiirc.
Peter Powell [Sun, 15 Oct 2017 12:38:50 +0000 (13:38 +0100)]
Add support for hashed WebIRC passwords to m_cgiirc.

6 years agoRewrite the m_cgiirc configuration handling.
Peter Powell [Sun, 15 Oct 2017 11:50:28 +0000 (12:50 +0100)]
Rewrite the m_cgiirc configuration handling.

- Store ident hosts separately to WebIRC hosts.
- Throw exceptions when the configuration is invalid.

6 years agoUpdate wiki links to use HTTPS and point to the correct pages.
Peter Powell [Sun, 20 Aug 2017 16:47:38 +0000 (17:47 +0100)]
Update wiki links to use HTTPS and point to the correct pages.

When we release 3.0 these links will break as they will point to
the pages for 3.0 rather than 2.0.

6 years agoRemove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.
Peter Powell [Sun, 15 Oct 2017 01:15:35 +0000 (02:15 +0100)]
Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.

- INSPIRCD_SOCKETENGINE_NAME is not really something that needs to
  be user facing. If opers want to know this kind of internal info
  then they can look at the build configuration.

- INSPIRCD_SYSTEM causes problems for reproducible builds and is
  only accurate for the state of the system when InspIRCd is built
  which is not useful in the slightest.

6 years agotest-build: Pass the make jobs as a separate argument.
Peter Powell [Sun, 15 Oct 2017 02:55:53 +0000 (03:55 +0100)]
test-build: Pass the make jobs as a separate argument.

The old way was only necessary when we supported BSD Make.

6 years agoRemove an outdated comment in cmd_user.
Peter Powell [Sun, 15 Oct 2017 00:27:07 +0000 (01:27 +0100)]
Remove an outdated comment in cmd_user.

We don't use C strings for storing the ident anymore.

6 years agoRelease v3.0.0 alpha 2.
Peter Powell [Thu, 12 Oct 2017 16:14:16 +0000 (17:14 +0100)]
Release v3.0.0 alpha 2.

6 years agoMerge the latest changes from insp20 into master.
Peter Powell [Thu, 12 Oct 2017 14:55:21 +0000 (15:55 +0100)]
Merge the latest changes from insp20 into master.

6 years agoMerge pull request #1361 from genius3000/master+rline_IP
Peter Powell [Thu, 12 Oct 2017 14:09:03 +0000 (15:09 +0100)]
Merge pull request #1361 from genius3000/master+rline_IP

Make RLines match against IP as well as host

6 years agoMerge pull request #1353 from SISheogorath/master+domainpart-cloaking
Peter Powell [Thu, 12 Oct 2017 14:07:45 +0000 (15:07 +0100)]
Merge pull request #1353 from SISheogorath/master+domainpart-cloaking

Make domainparts in m_cloaking configureable.

6 years agoFix a broken distro constraint in the m_ssl_gnutls PackageInfo.
Peter Powell [Thu, 12 Oct 2017 14:03:52 +0000 (15:03 +0100)]
Fix a broken distro constraint in the m_ssl_gnutls PackageInfo.

6 years agoClean up m_sasl slightly by making SendSASL take common params.
Peter Powell [Wed, 11 Oct 2017 11:00:44 +0000 (12:00 +0100)]
Clean up m_sasl slightly by making SendSASL take common params.

Also, fix a minor issue caused by the last insp20 merge.

6 years agoSend ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.
Peter Powell [Wed, 11 Oct 2017 10:27:07 +0000 (11:27 +0100)]
Send ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.

6 years agoInclude connection security with the SASL host information.
Peter Powell [Wed, 11 Oct 2017 11:15:05 +0000 (12:15 +0100)]
Include connection security with the SASL host information.

See atheme/atheme@b41753f740 for more details.

6 years agoDon't abort the SASL authentication in OnUserConnect.
Peter Powell [Tue, 10 Oct 2017 23:15:14 +0000 (00:15 +0100)]
Don't abort the SASL authentication in OnUserConnect.

SASL-3.2 allows SASL auth to happen post-registration so this is
no longer correct.

6 years agoGet rid of ReadCGIIRCExt() in m_sasl.
Peter Powell [Tue, 10 Oct 2017 23:11:26 +0000 (00:11 +0100)]
Get rid of ReadCGIIRCExt() in m_sasl.

This is unnecessary since 852dd0337a.

6 years agoMake domainparts configureable
Sheogorath [Tue, 27 Jun 2017 20:41:07 +0000 (22:41 +0200)]
Make domainparts configureable

6 years agoMake RLines match against IP as well as host
genius3000 [Sat, 5 Aug 2017 07:10:32 +0000 (01:10 -0600)]
Make RLines match against IP as well as host

6 years agoConvert the AUTHENTICATE handler to use SplitCommand.
Peter Powell [Tue, 10 Oct 2017 23:10:29 +0000 (00:10 +0100)]
Convert the AUTHENTICATE handler to use SplitCommand.

6 years agoAdd a constant for the 477 numeric (ERR_NEEDREGGEDNICK).
Peter Powell [Wed, 11 Oct 2017 00:02:03 +0000 (01:02 +0100)]
Add a constant for the 477 numeric (ERR_NEEDREGGEDNICK).

6 years agoSend RPL_LOGGEDOUT to clients when they log out of their account.
Peter Powell [Wed, 11 Oct 2017 00:01:30 +0000 (01:01 +0100)]
Send RPL_LOGGEDOUT to clients when they log out of their account.

6 years agoFix the casemap name not being copied to the new ServerConfig.
Peter Powell [Thu, 5 Oct 2017 16:27:04 +0000 (17:27 +0100)]
Fix the casemap name not being copied to the new ServerConfig.

6 years agoFix a minor typo in the init script.
Peter Powell [Thu, 5 Oct 2017 15:51:16 +0000 (16:51 +0100)]
Fix a minor typo in the init script.

6 years agoFix RPL_SERVERVERSION treating the modes as a single parameter.
Peter Powell [Wed, 4 Oct 2017 13:10:19 +0000 (14:10 +0100)]
Fix RPL_SERVERVERSION treating the modes as a single parameter.

6 years agoSwitch the WEBIRC command to use SplitCommand.
Peter Powell [Sun, 1 Oct 2017 08:46:37 +0000 (09:46 +0100)]
Switch the WEBIRC command to use SplitCommand.

6 years agoRemove support for the pass, passfirst, identfirst cgiirc types.
Peter Powell [Sat, 9 Sep 2017 10:32:14 +0000 (11:32 +0100)]
Remove support for the pass, passfirst, identfirst cgiirc types.

These methods are not supported by any widely used gateways that I
can find. If your gateway uses this then you should rewrite it to
use the webirc method. For more details see the IRCv3 WEBIRC
specification at http://ircv3.net/specs/extensions/webirc.html.

6 years agoMerge pull request #1401 from emersonveenstra/configure-fix
Peter Powell [Tue, 26 Sep 2017 12:11:56 +0000 (13:11 +0100)]
Merge pull request #1401 from emersonveenstra/configure-fix

Fix SCRIPT_DIR directory change

6 years agoFix SCRIPT_DIR directory change
emerson [Mon, 25 Sep 2017 18:24:08 +0000 (14:24 -0400)]
Fix SCRIPT_DIR directory change

SCRIPT_DIR didn't automatically change directory if the user specified a
non-default directory

6 years agoFix the regex for parsing the git version in get_version.
Peter Powell [Mon, 25 Sep 2017 13:53:05 +0000 (14:53 +0100)]
Fix the regex for parsing the git version in get_version.

6 years agoAllow the script directory to be set in interactive mode.
Peter Powell [Sun, 24 Sep 2017 09:35:38 +0000 (10:35 +0100)]
Allow the script directory to be set in interactive mode.

6 years agoMove the init scripts out of the prefix into the new script dir.
Peter Powell [Thu, 21 Sep 2017 17:44:29 +0000 (18:44 +0100)]
Move the init scripts out of the prefix into the new script dir.

The previous directory was okay for home directory installs but
was problematic for system wide installs.

6 years agoConvert Disabled[CU]Modes to use a bitset instead of a char array.
Peter Powell [Mon, 11 Sep 2017 14:38:26 +0000 (15:38 +0100)]
Convert Disabled[CU]Modes to use a bitset instead of a char array.

6 years agoAdd ModeParser::IsModeChar to standardise mode validation.
Peter Powell [Mon, 11 Sep 2017 14:22:40 +0000 (15:22 +0100)]
Add ModeParser::IsModeChar to standardise mode validation.

6 years agoRaise the default listmode limit to 100 from 64.
Peter Powell [Thu, 14 Sep 2017 13:14:53 +0000 (14:14 +0100)]
Raise the default listmode limit to 100 from 64.

64 is a rather restrictive limit especially considering how fast
channels can accumulate bans. In fact, #InspIRCd hit the ban limit
in just over a year.

Having a low limit might have made sense when memory was expensive
but the average IRC server should be able to handle this fine now.

6 years agoFix the command for enabling m_sqlite3 in modules.conf.example.
Peter Powell [Thu, 14 Sep 2017 13:52:42 +0000 (14:52 +0100)]
Fix the command for enabling m_sqlite3 in modules.conf.example.

6 years agoChange FailedPortList to store a sockaddrs/int instead of string.
Peter Powell [Mon, 28 Aug 2017 18:28:53 +0000 (19:28 +0100)]
Change FailedPortList to store a sockaddrs/int instead of string.

6 years agoStore the server endpoint as a sockaddrs in ListenSocket.
Peter Powell [Mon, 28 Aug 2017 14:37:15 +0000 (15:37 +0100)]
Store the server endpoint as a sockaddrs in ListenSocket.

6 years agoGet rid of irc::sockets::satoap().
Peter Powell [Mon, 28 Aug 2017 14:13:25 +0000 (15:13 +0100)]
Get rid of irc::sockets::satoap().

This function is being misused in all but one scenario. It isn't
really worth keeping IMO.