aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Release v3.0.0 alpha 3. v3.0.0a3Gravatar Peter Powell2017-11-131-1/+1
* Unite SSL service providers and SSL profile classesGravatar Attila Molnar2017-11-134-157/+217
* Only subclass Simple{Channel,User}ModeHandler when necessary.Gravatar Peter Powell2017-11-1313-158/+40
* Add the m_ircv3_sts module which implements the IRCv3 STS spec.Gravatar Peter Powell2017-11-131-0/+181
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-128-16/+23
|\
| * Release v2.0.25 v2.0.25Gravatar Peter Powell2017-11-121-1/+1
| * Work around removing shuns on nicks when the nick is online.Gravatar Peter Powell2017-11-091-2/+6
| * Revert the code changes to m_sasl made in commit 9d4b4344b4.•••This is causing problems such as duplicate 904 messages. Gravatar Peter Powell2017-11-091-4/+0
| * Improve (synchronize) the notices in m_timedbans•••* Send to remote servers upon setting * Send to halfop if available upon expiry Gravatar genius30002017-11-061-4/+10
| * Merge pull request #1359 from genius3000/insp20+sasl_no_server•••2.0: Inform the client when a SASL message cannot be sentGravatar Peter Powell2017-11-061-0/+4
| |\
| | * 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. Gravatar genius30002017-11-051-0/+4
| * | Use InvalidateCache in the sockaddrs overload of OnSetClientIP.•••This was done to the string variant in d3b82b2f7f. Gravatar Peter Powell2017-11-051-2/+1
| * | Fix CMD_RESTART with relative paths as argv[0].Gravatar Jordyn/The Linux Geek2017-11-041-2/+2
| * | ConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()•••See: 66f82ccf926aac39273bfc652c85c08080cc9a46 Fixes inspircd/inspircd-extras#110 Gravatar Adam2017-10-261-3/+6
| * | Fix sending a malformed 410 numeric when sent empty CAP commands.Gravatar Peter Powell2017-10-181-1/+1
| * | 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. Gravatar Peter Powell2017-10-153-4/+2
* | | 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. Gravatar Peter Powell2017-11-091-3/+0
* | | Implement support for draft-brocklesby-irc-isupport-03 escapes.Gravatar Peter Powell2017-11-091-4/+22
* | | 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"> Gravatar Peter Powell2017-11-063-69/+37
* | | 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. Gravatar Peter Powell2017-11-061-15/+19
* | | Move depriv from m_customprefix into PrefixMode.Gravatar Peter Powell2017-11-062-10/+11
* | | Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-0611-16/+24
* | | 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. Gravatar Peter Powell2017-11-061-1/+11
* | | Fix some SSL module issues.•••- Use the same dhparams name in m_ssl_openssl as in other modules. - Fix building m_ssl_mbedtls. Gravatar Peter Powell2017-11-012-1/+7
* | | 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. Gravatar Peter Powell2017-10-312-102/+13
* | | Add support to IOHook for retrieving the hostname sent via SNI.Gravatar Peter Powell2017-10-293-1/+33
* | | 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. Gravatar Peter Powell2017-10-2837-86/+113
* | | Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-273-6/+6
* | | Move Shutter to former contributors & thank genius3000, Sheogorath.Gravatar Peter Powell2017-10-221-3/+4
* | | Deduplicate error handling in the socket engines.Gravatar Peter Powell2017-10-224-20/+12
* | | Convert GetMaxFds() to size_t and deduplicate setting code.Gravatar Peter Powell2017-10-226-36/+30
* | | 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. Gravatar Peter Powell2017-10-221-173/+0
* | | socketengine_poll: fix initialization fd_mappingsGravatar Adam2017-10-211-1/+1
* | | 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. Gravatar Peter Powell2017-10-211-1/+1
* | | Add PackageInfo directives for Debian.Gravatar Peter Powell2017-10-2111-0/+12
* | | Add a helper function for calling the OnCheckExemption event.Gravatar Peter Powell2017-10-2114-31/+17
* | | Switch the default datetime format to something easier to read.Gravatar Peter Powell2017-10-201-1/+1
* | | Switch from std::stringstream to irc::spacesepstream.•••The latter is more suited to the things we have previously been using std::stringstream for. Gravatar Peter Powell2017-10-194-8/+8
* | | Add a constructor to OperInfo and use it to set the type name.Gravatar Peter Powell2017-10-183-8/+8
* | | 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. Gravatar Peter Powell2017-10-186-13/+16
* | | 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. Gravatar Peter Powell2017-10-182-3/+11
* | | 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. Gravatar Peter Powell2017-10-172-13/+17
* | | 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. Gravatar Peter Powell2017-10-161-4/+4
* | | Clean up the initialization of ConnectClass and ServerConfig.Gravatar attilamolnar2017-10-152-15/+5
* | | Rewrite the configuration documentation for m_cgiirc.Gravatar Peter Powell2017-10-151-1/+1
* | | Add support for WEBIRC blocks authenticating using client certs.Gravatar Peter Powell2017-10-151-6/+14
* | | 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. Gravatar Peter Powell2017-10-151-2/+26
* | | Clean up the WEBIRC command handler.•••- Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators. Gravatar Peter Powell2017-10-151-44/+41
* | | Add support for hashed WebIRC passwords to m_cgiirc.Gravatar Peter Powell2017-10-151-3/+5
* | | Rewrite the m_cgiirc configuration handling.•••- Store ident hosts separately to WebIRC hosts. - Throw exceptions when the configuration is invalid. Gravatar Peter Powell2017-10-151-59/+67