]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
8 years agoMerge insp20
Attila Molnar [Mon, 22 Feb 2016 11:52:18 +0000 (12:52 +0100)]
Merge insp20

8 years agoMerge pull request #1139 from johanna-a/master
Attila Molnar [Mon, 22 Feb 2016 11:32:51 +0000 (12:32 +0100)]
Merge pull request #1139 from johanna-a/master

Adds <commandlist> tag with command usage to httpd_stats.

8 years agoAdds <commandlist> tag with command usage to httpd_stats.
Johanna A [Fri, 19 Feb 2016 22:30:56 +0000 (23:30 +0100)]
Adds <commandlist> tag with command usage to httpd_stats.

8 years agoMerge pull request #1142 from SaberUK/master+fixes
Attila Molnar [Sat, 20 Feb 2016 15:29:55 +0000 (16:29 +0100)]
Merge pull request #1142 from SaberUK/master+fixes

Fix various build problems on CentOS, OpenBSD, and Solaris.

8 years agoFix GCC 6 warning about auto_ptr via a different method.
Peter Powell [Sat, 20 Feb 2016 14:36:49 +0000 (14:36 +0000)]
Fix GCC 6 warning about auto_ptr via a different method.

The previous method was causing build errors on CentOS and Solaris.

8 years agoFix build errors on CentOS 6 and OpenBSD.
Peter Powell [Sat, 20 Feb 2016 11:29:50 +0000 (11:29 +0000)]
Fix build errors on CentOS 6 and OpenBSD.

8 years agoFix not having a CPU count when the lookup command is missing.
Peter Powell [Sat, 20 Feb 2016 10:34:41 +0000 (10:34 +0000)]
Fix not having a CPU count when the lookup command is missing.

8 years agoMerge pull request #1127 from SaberUK/master+testnet
Attila Molnar [Sat, 20 Feb 2016 13:47:22 +0000 (14:47 +0100)]
Merge pull request #1127 from SaberUK/master+testnet

Remove the useless testnet module.

8 years agoRemove the useless testnet module.
Peter Powell [Mon, 11 Jan 2016 06:23:39 +0000 (06:23 +0000)]
Remove the useless testnet module.

8 years agoMerge pull request #1135 from SaberUK/master+starttls
Attila Molnar [Fri, 19 Feb 2016 20:03:57 +0000 (21:03 +0100)]
Merge pull request #1135 from SaberUK/master+starttls

Remove the STARTTLS token from ISUPPORT.

8 years agoMerge pull request #1133 from SaberUK/master+tempfix
Attila Molnar [Fri, 19 Feb 2016 20:03:42 +0000 (21:03 +0100)]
Merge pull request #1133 from SaberUK/master+tempfix

Fix the temporary fix for finding SSL libraries.

8 years agoMerge pull request #1130 from SaberUK/master+capnew
Attila Molnar [Fri, 19 Feb 2016 20:03:21 +0000 (21:03 +0100)]
Merge pull request #1130 from SaberUK/master+capnew

Fix cap-notify sending ADD instead of NEW.

8 years agoMerge pull request #1126 from SaberUK/master+gcc6
Attila Molnar [Fri, 19 Feb 2016 20:02:57 +0000 (21:02 +0100)]
Merge pull request #1126 from SaberUK/master+gcc6

Fix warnings when building under GCC 6.

8 years agoRemove the STARTTLS token from ISUPPORT.
Peter Powell [Sun, 14 Feb 2016 20:53:52 +0000 (20:53 +0000)]
Remove the STARTTLS token from ISUPPORT.

This is an InspIRCd-specific token which is pointless because:

1. You can't STARTTLS after registration is complete.
2. You can already discover STARTTLS support via cap `tls`.

8 years agoFix the temporary fix for finding SSL libraries.
Peter Powell [Mon, 8 Feb 2016 01:47:59 +0000 (01:47 +0000)]
Fix the temporary fix for finding SSL libraries.

8 years agoFix cap-notify sending ADD instead of NEW.
Peter Powell [Fri, 22 Jan 2016 15:27:29 +0000 (15:27 +0000)]
Fix cap-notify sending ADD instead of NEW.

8 years agoFix warnings when building under GCC 6.
Peter Powell [Mon, 11 Jan 2016 06:11:16 +0000 (06:11 +0000)]
Fix warnings when building under GCC 6.

8 years agoRelease v2.0.21
Attila Molnar [Sat, 13 Feb 2016 18:46:59 +0000 (19:46 +0100)]
Release v2.0.21

8 years agom_namedmodes Only show chan key to members and opers with channels/auspex
Attila Molnar [Sat, 13 Feb 2016 18:35:17 +0000 (19:35 +0100)]
m_namedmodes Only show chan key to members and opers with channels/auspex

8 years agom_callerid Free old extension data before unserializing the new data
Attila Molnar [Sat, 13 Feb 2016 18:30:05 +0000 (19:30 +0100)]
m_callerid Free old extension data before unserializing the new data

8 years agoLimit DNS cache size
Attila Molnar [Sat, 13 Feb 2016 18:23:07 +0000 (19:23 +0100)]
Limit DNS cache size

8 years agoCap TTL of DNS cache entries
Attila Molnar [Sat, 13 Feb 2016 18:21:30 +0000 (19:21 +0100)]
Cap TTL of DNS cache entries

8 years agoGarbage collect DNS cache more often
Attila Molnar [Sat, 13 Feb 2016 18:20:12 +0000 (19:20 +0100)]
Garbage collect DNS cache more often

8 years agom_dccallow Add config option to control max entries on a list
Attila Molnar [Fri, 12 Feb 2016 17:30:01 +0000 (18:30 +0100)]
m_dccallow Add config option to control max entries on a list

Default to 20

8 years agom_ircv3 Fix AWAY being sent on join to the joining user if it has away-notify enabled...
Attila Molnar [Fri, 12 Feb 2016 17:20:07 +0000 (18:20 +0100)]
m_ircv3 Fix AWAY being sent on join to the joining user if it has away-notify enabled and is away

8 years agoMerge pull request #1071 from SaberUK/insp20+fix-lusers
Attila Molnar [Fri, 12 Feb 2016 16:35:55 +0000 (17:35 +0100)]
Merge pull request #1071 from SaberUK/insp20+fix-lusers

[2.0] Fix hidden operators being shown in LUSERS.

8 years agoFix hidden operators being shown in LUSERS.
Peter Powell [Sat, 4 Jul 2015 10:56:15 +0000 (11:56 +0100)]
Fix hidden operators being shown in LUSERS.

8 years agoUpdate m_ssl_gnutls to use libgnutls-30 for gnutls 3.4
Adam [Thu, 11 Feb 2016 13:14:07 +0000 (08:14 -0500)]
Update m_ssl_gnutls to use libgnutls-30 for gnutls 3.4

8 years agoAdd rewritten m_watch module
Attila Molnar [Wed, 6 Jan 2016 18:49:50 +0000 (19:49 +0100)]
Add rewritten m_watch module

Code is shared with m_monitor

8 years agoAdd m_monitor which implements the MONITOR command and notifications
Attila Molnar [Wed, 6 Jan 2016 18:28:19 +0000 (19:28 +0100)]
Add m_monitor which implements the MONITOR command and notifications

8 years agoNuke m_watch
Attila Molnar [Wed, 6 Jan 2016 17:59:41 +0000 (18:59 +0100)]
Nuke m_watch

8 years agom_spanningtree Ignore SVSWATCH from 2.0 servers
Attila Molnar [Wed, 6 Jan 2016 17:58:00 +0000 (18:58 +0100)]
m_spanningtree Ignore SVSWATCH from 2.0 servers

8 years agom_spanningtree Add compatibility hack that allows modules to drop the VF_COMMON/VF_OP...
Attila Molnar [Wed, 6 Jan 2016 17:52:12 +0000 (18:52 +0100)]
m_spanningtree Add compatibility hack that allows modules to drop the VF_COMMON/VF_OPTCOMMON flags

Include m_watch in the list

8 years agoMerge branch 'master+numericbuilder'
Attila Molnar [Sun, 3 Jan 2016 13:50:25 +0000 (14:50 +0100)]
Merge branch 'master+numericbuilder'

8 years agocore_whois Switch to Numeric::Builder
Attila Molnar [Wed, 30 Dec 2015 12:41:20 +0000 (13:41 +0100)]
core_whois Switch to Numeric::Builder

8 years agocmd_names Switch to Numeric::Builder
Attila Molnar [Wed, 30 Dec 2015 12:34:33 +0000 (13:34 +0100)]
cmd_names Switch to Numeric::Builder

8 years agocmd_names Inherit handler from SplitCommand
Attila Molnar [Wed, 30 Dec 2015 12:28:49 +0000 (13:28 +0100)]
cmd_names Inherit handler from SplitCommand

8 years agocore_ison Switch to Numeric::Builder
Attila Molnar [Wed, 30 Dec 2015 12:27:02 +0000 (13:27 +0100)]
core_ison Switch to Numeric::Builder

8 years agocore_ison Inherit handler from SplitCommand
Attila Molnar [Wed, 30 Dec 2015 12:23:42 +0000 (13:23 +0100)]
core_ison Inherit handler from SplitCommand

8 years agocore_ison Simplify handler
Attila Molnar [Wed, 30 Dec 2015 12:22:01 +0000 (13:22 +0100)]
core_ison Simplify handler

8 years agoAdd Numeric::Builder
Attila Molnar [Wed, 30 Dec 2015 12:20:21 +0000 (13:20 +0100)]
Add Numeric::Builder

8 years agoConvert remaining NOTICEs implemented using WriteServ() to WriteNotice()
Attila Molnar [Tue, 29 Dec 2015 11:45:02 +0000 (12:45 +0100)]
Convert remaining NOTICEs implemented using WriteServ() to WriteNotice()

8 years agoFix InspIRCd::StripColor() stripping characters that shouldn't be stripped
Attila Molnar [Tue, 29 Dec 2015 11:40:20 +0000 (12:40 +0100)]
Fix InspIRCd::StripColor() stripping characters that shouldn't be stripped

8 years agocmd_part Send ERR_NOTONCHANNEL if the user is not on the channel
Attila Molnar [Mon, 28 Dec 2015 16:29:00 +0000 (17:29 +0100)]
cmd_part Send ERR_NOTONCHANNEL if the user is not on the channel

Fixes issue #1117 reported by @ProgVal

8 years agoReturn true from Channel::PartUser() if the user was on the channel
Attila Molnar [Mon, 28 Dec 2015 16:27:40 +0000 (17:27 +0100)]
Return true from Channel::PartUser() if the user was on the channel

8 years agoInvert if in Channel::PartUser()
Attila Molnar [Mon, 28 Dec 2015 16:25:30 +0000 (17:25 +0100)]
Invert if in Channel::PartUser()

8 years agoFix some whitespace issues
Attila Molnar [Mon, 28 Dec 2015 15:59:03 +0000 (16:59 +0100)]
Fix some whitespace issues

8 years agom_cap Fix incorrect syntax of empty CAP LIST reply
Attila Molnar [Mon, 28 Dec 2015 15:50:49 +0000 (16:50 +0100)]
m_cap Fix incorrect syntax of empty CAP LIST reply

Fixes issue #1120 reported by @ProgVal

8 years agom_xline_db Don't flush database when an xline expires
Attila Molnar [Fri, 18 Dec 2015 08:35:39 +0000 (09:35 +0100)]
m_xline_db Don't flush database when an xline expires

8 years agoStrip all control codes except \001 in InspIRCd::StripColor()
Attila Molnar [Tue, 8 Dec 2015 15:32:50 +0000 (16:32 +0100)]
Strip all control codes except \001 in InspIRCd::StripColor()

Fixes issue #1100 reported by @uecasm

8 years agoMerge pull request #1110 from SaberUK/insp20+cap
Attila Molnar [Mon, 7 Dec 2015 09:53:53 +0000 (10:53 +0100)]
Merge pull request #1110 from SaberUK/insp20+cap

[2.0] Fix CAP REQ to be atomic like the standard dictates.

8 years agoWork around irc::spacesepstream not stripping extraneous spaces.
Peter Powell [Mon, 7 Dec 2015 09:48:33 +0000 (09:48 +0000)]
Work around irc::spacesepstream not stripping extraneous spaces.

8 years agoFix CAP REQ to be atomic like the standard dictates.
Peter Powell [Thu, 26 Nov 2015 04:07:50 +0000 (04:07 +0000)]
Fix CAP REQ to be atomic like the standard dictates.

Reported by @dequis on IRC.

8 years agoDeduplicate code in InspIRCd::FindNick()
Attila Molnar [Mon, 7 Dec 2015 09:19:02 +0000 (10:19 +0100)]
Deduplicate code in InspIRCd::FindNick()

8 years agoRemove some IS_SERVER() checks
Attila Molnar [Mon, 7 Dec 2015 09:17:49 +0000 (10:17 +0100)]
Remove some IS_SERVER() checks

- InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless
- m_dccallow is calling FindNickOnly() so it had the check needlessly

8 years agoDo not insert FakeUsers into UserManager::uuidlist
Attila Molnar [Mon, 7 Dec 2015 09:11:09 +0000 (10:11 +0100)]
Do not insert FakeUsers into UserManager::uuidlist

Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want

8 years agom_spanningtree Try FindServerID() first if the prefix looks like a sid in TreeSocket...
Attila Molnar [Mon, 7 Dec 2015 09:07:03 +0000 (10:07 +0100)]
m_spanningtree Try FindServerID() first if the prefix looks like a sid in TreeSocket::FindSource()

8 years agom_spanningtree Change allocation of ModuleSpanningTree::commands to be physically...
Attila Molnar [Sun, 6 Dec 2015 11:19:06 +0000 (12:19 +0100)]
m_spanningtree Change allocation of ModuleSpanningTree::commands to be physically part of the object containing it

8 years agom_spanningtree Implement ServerCommand::RegisterService()
Attila Molnar [Sun, 6 Dec 2015 11:16:37 +0000 (12:16 +0100)]
m_spanningtree Implement ServerCommand::RegisterService()

8 years agoMerge branch 'master+echomessage-invitenotify'
Attila Molnar [Sun, 6 Dec 2015 11:01:02 +0000 (12:01 +0100)]
Merge branch 'master+echomessage-invitenotify'

8 years agoAdd m_ircv3_invitenotify which implements the IRCv3.2 invite-notify extension
Attila Molnar [Sun, 6 Dec 2015 10:30:13 +0000 (11:30 +0100)]
Add m_ircv3_invitenotify which implements the IRCv3.2 invite-notify extension

8 years agoAdd minimum channel rank and exception list parameters to the OnUserInvite hook
Attila Molnar [Sun, 6 Dec 2015 10:24:39 +0000 (11:24 +0100)]
Add minimum channel rank and exception list parameters to the OnUserInvite hook

8 years agocmd_invite Fire the OnUserInvite event before announcing the invite
Attila Molnar [Sun, 6 Dec 2015 10:20:45 +0000 (11:20 +0100)]
cmd_invite Fire the OnUserInvite event before announcing the invite

8 years agocmd_invite Extend scope of the prefix character variable
Attila Molnar [Sun, 6 Dec 2015 10:20:00 +0000 (11:20 +0100)]
cmd_invite Extend scope of the prefix character variable

8 years agoAdd m_ircv3_echomessage which implements the IRCv3.2 echo-message extension
Attila Molnar [Sun, 6 Dec 2015 10:14:17 +0000 (11:14 +0100)]
Add m_ircv3_echomessage which implements the IRCv3.2 echo-message extension

8 years agoRemove <options:ircumsgprefix> entirely
Attila Molnar [Sun, 6 Dec 2015 10:09:03 +0000 (11:09 +0100)]
Remove <options:ircumsgprefix> entirely

8 years agoMerge branch 'master+cap'
Attila Molnar [Sun, 6 Dec 2015 10:00:12 +0000 (11:00 +0100)]
Merge branch 'master+cap'

8 years agoAdd m_ircv3_chghost which implements the IRCv3.2 chghost extension
Attila Molnar [Sat, 5 Dec 2015 15:55:09 +0000 (16:55 +0100)]
Add m_ircv3_chghost which implements the IRCv3.2 chghost extension

8 years agom_ircv3 Make WriteNeighborsWithCap() available for use in other modules
Attila Molnar [Sat, 5 Dec 2015 15:47:41 +0000 (16:47 +0100)]
m_ircv3 Make WriteNeighborsWithCap() available for use in other modules

8 years agom_cap Make Capability objects compatible with dynamic_references, add Cap::Reference
Attila Molnar [Sat, 5 Dec 2015 15:42:17 +0000 (16:42 +0100)]
m_cap Make Capability objects compatible with dynamic_references, add Cap::Reference

8 years agoAdd m_ircv3_capnotify which implements the IRCv3.2 cap-notify extension
Attila Molnar [Sat, 5 Dec 2015 15:38:51 +0000 (16:38 +0100)]
Add m_ircv3_capnotify which implements the IRCv3.2 cap-notify extension

8 years agom_cap Save and restore the cap state of a module when it is reloaded
Attila Molnar [Sat, 5 Dec 2015 15:24:12 +0000 (16:24 +0100)]
m_cap Save and restore the cap state of a module when it is reloaded

8 years agom_cap Specialize extension item
Attila Molnar [Sat, 5 Dec 2015 15:16:49 +0000 (16:16 +0100)]
m_cap Specialize extension item

8 years agom_sasl Advertise SASL mechanism list to supporting clients
Attila Molnar [Sat, 5 Dec 2015 15:01:30 +0000 (16:01 +0100)]
m_sasl Advertise SASL mechanism list to supporting clients

8 years agom_cap Provide the OnCapValueChange event and add Cap::Manager::NotifyValueChange()
Attila Molnar [Sat, 5 Dec 2015 14:58:48 +0000 (15:58 +0100)]
m_cap Provide the OnCapValueChange event and add Cap::Manager::NotifyValueChange()

8 years agom_cap Provide the OnCapAddDel() event
Attila Molnar [Sat, 5 Dec 2015 14:57:00 +0000 (15:57 +0100)]
m_cap Provide the OnCapAddDel() event

8 years agom_cap Add Capability::GetCapValue(), list capabilities with values
Attila Molnar [Sat, 5 Dec 2015 14:50:07 +0000 (15:50 +0100)]
m_cap Add Capability::GetCapValue(), list capabilities with values

8 years agom_cap Reject CAP CLEAR from clients newer than 3.1
Attila Molnar [Sat, 5 Dec 2015 14:45:59 +0000 (15:45 +0100)]
m_cap Reject CAP CLEAR from clients newer than 3.1

8 years agom_cap Learn the supported capability negotiation protocol of a client from CAP LS
Attila Molnar [Sat, 5 Dec 2015 14:45:20 +0000 (15:45 +0100)]
m_cap Learn the supported capability negotiation protocol of a client from CAP LS

Let modules implementing caps query this information

8 years agom_cap Add Capability::OnList() hook
Attila Molnar [Sat, 5 Dec 2015 14:42:04 +0000 (15:42 +0100)]
m_cap Add Capability::OnList() hook

8 years agom_sasl Create SASLCap which subclasses Cap::Capability and implements OnRequest()
Attila Molnar [Sat, 5 Dec 2015 14:39:52 +0000 (15:39 +0100)]
m_sasl Create SASLCap which subclasses Cap::Capability and implements OnRequest()

8 years agom_cap Add Capability::OnRequest() hook
Attila Molnar [Sat, 5 Dec 2015 14:35:05 +0000 (15:35 +0100)]
m_cap Add Capability::OnRequest() hook

8 years agoAdd rewritten m_cap module
Attila Molnar [Sat, 5 Dec 2015 14:29:01 +0000 (15:29 +0100)]
Add rewritten m_cap module

- Caps are now managed by m_cap
- Each cap uses one bit in an extension item shared with other caps

8 years agom_sasl Enforce usage of uuids in server-to-server SASL command
Attila Molnar [Sat, 5 Dec 2015 14:04:29 +0000 (15:04 +0100)]
m_sasl Enforce usage of uuids in server-to-server SASL command

8 years agoNuke m_cap
Attila Molnar [Sat, 5 Dec 2015 14:04:00 +0000 (15:04 +0100)]
Nuke m_cap

8 years agom_ircv3 Change signature of WriteNeighboursWithExt to accept a cap, rename
Attila Molnar [Sat, 5 Dec 2015 14:02:20 +0000 (15:02 +0100)]
m_ircv3 Change signature of WriteNeighboursWithExt to accept a cap, rename

8 years agoMerge branch 'master+serviceinit'
Attila Molnar [Wed, 2 Dec 2015 12:30:24 +0000 (13:30 +0100)]
Merge branch 'master+serviceinit'

8 years agoMerge branch 'master+reloadmod'
Attila Molnar [Tue, 1 Dec 2015 11:23:50 +0000 (12:23 +0100)]
Merge branch 'master+reloadmod'

8 years agoMerge branch 'master+whowas-purge-empty'
Attila Molnar [Tue, 1 Dec 2015 11:21:21 +0000 (12:21 +0100)]
Merge branch 'master+whowas-purge-empty'

8 years agocore_reloadmodule Allow modules to handle reload failures of other mods
Attila Molnar [Thu, 26 Nov 2015 14:14:07 +0000 (15:14 +0100)]
core_reloadmodule Allow modules to handle reload failures of other mods

8 years agocore_reloadmodule Allow modules to save and restore their own data when reloading...
Attila Molnar [Thu, 26 Nov 2015 14:10:00 +0000 (15:10 +0100)]
core_reloadmodule Allow modules to save and restore their own data when reloading another mod

8 years agocore_reloadmodule Save and restore module state (modes, extensions) on reload
Attila Molnar [Thu, 26 Nov 2015 13:58:18 +0000 (14:58 +0100)]
core_reloadmodule Save and restore module state (modes, extensions) on reload

8 years agoAdd LocalIntExt and LocalStringExt::unserialize() for non-FORMAT_NETWORK
Attila Molnar [Thu, 26 Nov 2015 12:53:01 +0000 (13:53 +0100)]
Add LocalIntExt and LocalStringExt::unserialize() for non-FORMAT_NETWORK

8 years agoFix FORMAT_INTERNAL handling in LocalIntExt::serialize() and LocalStringExt::serialize()
Attila Molnar [Thu, 26 Nov 2015 12:50:28 +0000 (13:50 +0100)]
Fix FORMAT_INTERNAL handling in LocalIntExt::serialize() and LocalStringExt::serialize()

8 years agoAdd ExtensionManager::GetExts()
Attila Molnar [Thu, 26 Nov 2015 12:40:44 +0000 (13:40 +0100)]
Add ExtensionManager::GetExts()

8 years agoAdd typedef ExtensionManager::ExtMap
Attila Molnar [Thu, 26 Nov 2015 12:39:56 +0000 (13:39 +0100)]
Add typedef ExtensionManager::ExtMap

8 years agom_services_account Handle FORMAT_INTERNAL when unserializing the accountname
Attila Molnar [Thu, 26 Nov 2015 12:38:20 +0000 (13:38 +0100)]
m_services_account Handle FORMAT_INTERNAL when unserializing the accountname

Skip sending the numeric and firing the OnAccountChange event

8 years agoHandle module reloading in core_reloadmodule entirely
Attila Molnar [Thu, 26 Nov 2015 12:36:44 +0000 (13:36 +0100)]
Handle module reloading in core_reloadmodule entirely

8 years agoAdd SERVICE_CUSTOM for services managed by a module
Attila Molnar [Mon, 23 Nov 2015 11:52:24 +0000 (12:52 +0100)]
Add SERVICE_CUSTOM for services managed by a module

8 years agoImplement ExtensionItem::RegisterService()
Attila Molnar [Mon, 23 Nov 2015 11:52:03 +0000 (12:52 +0100)]
Implement ExtensionItem::RegisterService()