]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
8 years agoRemove unused ProtocolInterface::SendTopic()
Attila Molnar [Wed, 30 Mar 2016 10:40:12 +0000 (12:40 +0200)]
Remove unused ProtocolInterface::SendTopic()

8 years agoRemove ProtocolInterface::PushToClient()
Attila Molnar [Wed, 30 Mar 2016 10:38:36 +0000 (12:38 +0200)]
Remove ProtocolInterface::PushToClient()

8 years agoRemove User::SendText() and overrides completely
Attila Molnar [Wed, 30 Mar 2016 10:37:29 +0000 (12:37 +0200)]
Remove User::SendText() and overrides completely

8 years agom_showfile Replace User::SendText() call with WriteCommand()
Attila Molnar [Wed, 30 Mar 2016 10:34:41 +0000 (12:34 +0200)]
m_showfile Replace User::SendText() call with WriteCommand()

8 years agom_spanningtree Remove PUSH handler
Attila Molnar [Wed, 30 Mar 2016 10:32:02 +0000 (12:32 +0200)]
m_spanningtree Remove PUSH handler

8 years agoMerge branch 'master+stnum'
Attila Molnar [Wed, 30 Mar 2016 10:30:26 +0000 (12:30 +0200)]
Merge branch 'master+stnum'

8 years agoMake User::WriteRemoteNumeric() virtual, implement it in SpanningTree::RemoteUser
Attila Molnar [Tue, 29 Mar 2016 14:43:30 +0000 (16:43 +0200)]
Make User::WriteRemoteNumeric() virtual, implement it in SpanningTree::RemoteUser

8 years agom_spanningtree Add CommandNum::Builder
Attila Molnar [Tue, 29 Mar 2016 14:39:06 +0000 (16:39 +0200)]
m_spanningtree Add CommandNum::Builder

8 years agom_spanningtree Translate NUM to PUSH and PUSH to NUM, NOTICE or PRIVMSG for 1202...
Attila Molnar [Tue, 29 Mar 2016 14:36:22 +0000 (16:36 +0200)]
m_spanningtree Translate NUM to PUSH and PUSH to NUM, NOTICE or PRIVMSG for 1202 protocol servers

8 years agom_spanningtree Add NUM command handler
Attila Molnar [Tue, 29 Mar 2016 14:28:01 +0000 (16:28 +0200)]
m_spanningtree Add NUM command handler

8 years agom_spanningtree Add class SpanningTree::RemoteUser
Attila Molnar [Tue, 29 Mar 2016 14:23:39 +0000 (16:23 +0200)]
m_spanningtree Add class SpanningTree::RemoteUser

8 years agoHandle numerics with a source other than the local server in User::WriteNumeric()
Attila Molnar [Tue, 29 Mar 2016 14:22:07 +0000 (16:22 +0200)]
Handle numerics with a source other than the local server in User::WriteNumeric()

8 years agoMerge branch 'master+stroute'
Attila Molnar [Tue, 29 Mar 2016 14:17:37 +0000 (16:17 +0200)]
Merge branch 'master+stroute'

8 years agoMerge pull request #1165 from Adam-/master+dnssource
Attila Molnar [Tue, 29 Mar 2016 13:58:56 +0000 (15:58 +0200)]
Merge pull request #1165 from Adam-/master+dnssource

core_dns: allow configuring source address

8 years agocore_dns: allow configuring source address
Adam [Mon, 28 Mar 2016 00:25:16 +0000 (20:25 -0400)]
core_dns: allow configuring source address

8 years agoSimplify GetRouting() methods doing unicast
Attila Molnar [Tue, 29 Mar 2016 10:54:02 +0000 (12:54 +0200)]
Simplify GetRouting() methods doing unicast

8 years agom_spanningtree Use SpanningTreeUtilities::FindRouteTarget() in RouteCommand()
Attila Molnar [Tue, 29 Mar 2016 10:50:00 +0000 (12:50 +0200)]
m_spanningtree Use SpanningTreeUtilities::FindRouteTarget() in RouteCommand()

This makes ROUTE_UNICAST() accept nicks and uuids

8 years agom_spanningtree Add SpanningTreeUtilities::FindRouteTarget()
Attila Molnar [Tue, 29 Mar 2016 10:49:25 +0000 (12:49 +0200)]
m_spanningtree Add SpanningTreeUtilities::FindRouteTarget()

8 years agom_spanningtree Remove unused SpanningTreeUtilities::BestRouteTo()
Attila Molnar [Tue, 29 Mar 2016 10:46:12 +0000 (12:46 +0200)]
m_spanningtree Remove unused SpanningTreeUtilities::BestRouteTo()

8 years agom_spanningtree Remove unused SpanningTreeUtilities::DoOneToOne() overload accepting...
Attila Molnar [Tue, 29 Mar 2016 10:45:37 +0000 (12:45 +0200)]
m_spanningtree Remove unused SpanningTreeUtilities::DoOneToOne() overload accepting a string

8 years agom_spanningtree Remove unused CommandBuilder::Unicast() overload accepting a string
Attila Molnar [Tue, 29 Mar 2016 10:45:02 +0000 (12:45 +0200)]
m_spanningtree Remove unused CommandBuilder::Unicast() overload accepting a string

8 years agoEnsure server names passed to some commands are really server names
Attila Molnar [Tue, 29 Mar 2016 10:38:41 +0000 (12:38 +0200)]
Ensure server names passed to some commands are really server names

8 years agocore_info Deduplicate code by inheriting some commands from ServerTargetCommand
Attila Molnar [Tue, 29 Mar 2016 10:32:16 +0000 (12:32 +0200)]
core_info Deduplicate code by inheriting some commands from ServerTargetCommand

8 years agocore_info Add class ServerTargetCommand
Attila Molnar [Tue, 29 Mar 2016 10:29:38 +0000 (12:29 +0200)]
core_info Add class ServerTargetCommand

8 years agoMerge pull request #1149 from SaberUK/master+sasl
Attila Molnar [Thu, 24 Mar 2016 09:57:11 +0000 (10:57 +0100)]
Merge pull request #1149 from SaberUK/master+sasl

Add support for SASL reauthentication.

8 years agoAdd support for SASL reauthentication.
Peter Powell [Sun, 28 Feb 2016 11:18:35 +0000 (11:18 +0000)]
Add support for SASL reauthentication.

8 years agoMerge pull request #1159 from SaberUK/master+configure
Attila Molnar [Thu, 24 Mar 2016 09:20:07 +0000 (10:20 +0100)]
Merge pull request #1159 from SaberUK/master+configure

Improvements to ./configure file generation.

8 years agoDon't prepend ":<nick>" to raw input log
Attila Molnar [Wed, 23 Mar 2016 15:17:17 +0000 (16:17 +0100)]
Don't prepend ":<nick>" to raw input log

8 years agoSimplify the configure cache file format.
Peter Powell [Tue, 22 Mar 2016 23:21:24 +0000 (23:21 +0000)]
Simplify the configure cache file format.

This prevents the need to implement escaping of values which was
a bug in the previous format.

8 years agoMove the configure cache to the .configure directory too.
Peter Powell [Tue, 22 Mar 2016 23:14:22 +0000 (23:14 +0000)]
Move the configure cache to the .configure directory too.

8 years agoWrite generated templates to the .configure directory.
Peter Powell [Tue, 22 Mar 2016 22:40:59 +0000 (22:40 +0000)]
Write generated templates to the .configure directory.

8 years agoFix a typo in parse_templates.
Peter Powell [Tue, 22 Mar 2016 22:15:53 +0000 (22:15 +0000)]
Fix a typo in parse_templates.

8 years agoExtract directory creation code to its own subroutine.
Peter Powell [Tue, 22 Mar 2016 22:14:35 +0000 (22:14 +0000)]
Extract directory creation code to its own subroutine.

8 years agoRemove now unused overload of User::SendText()
Attila Molnar [Tue, 22 Mar 2016 17:41:30 +0000 (18:41 +0100)]
Remove now unused overload of User::SendText()

8 years agoMerge branches 'master+check' and 'master+namedmodes'
Attila Molnar [Tue, 22 Mar 2016 17:38:17 +0000 (18:38 +0100)]
Merge branches 'master+check' and 'master+namedmodes'

8 years agom_namedmodes Switch to Numeric::ParamBuilder
Attila Molnar [Tue, 22 Mar 2016 15:46:15 +0000 (16:46 +0100)]
m_namedmodes Switch to Numeric::ParamBuilder

8 years agom_namedmodes Inherit command handler from SplitCommand
Attila Molnar [Tue, 22 Mar 2016 15:44:45 +0000 (16:44 +0100)]
m_namedmodes Inherit command handler from SplitCommand

Pass a LocalUser pointer to DisplayList()

8 years agoAdd Numeric::ParamBuilder
Attila Molnar [Tue, 22 Mar 2016 15:40:05 +0000 (16:40 +0100)]
Add Numeric::ParamBuilder

It builds numerics where the individual components are parameters of the numeric

8 years agom_check Move DumpExt() into CheckContext
Attila Molnar [Sat, 19 Mar 2016 15:33:23 +0000 (16:33 +0100)]
m_check Move DumpExt() into CheckContext

8 years agom_check Move DumpListMode() into CheckContext
Attila Molnar [Sat, 19 Mar 2016 15:33:00 +0000 (16:33 +0100)]
m_check Move DumpListMode() into CheckContext

8 years agom_check Refactor, move to the new RPL_CHECK numeric
Attila Molnar [Sat, 19 Mar 2016 15:32:25 +0000 (16:32 +0100)]
m_check Refactor, move to the new RPL_CHECK numeric

8 years agoFix oversights in the WriteNumeric() parameter conversion
Attila Molnar [Sat, 19 Mar 2016 15:20:01 +0000 (16:20 +0100)]
Fix oversights in the WriteNumeric() parameter conversion

8 years agoMerge branch 'master+chanwritenotice'
Attila Molnar [Sat, 5 Mar 2016 15:58:50 +0000 (16:58 +0100)]
Merge branch 'master+chanwritenotice'

8 years agoSend NOTICEs to local channel members with Channel::WriteNotice()
Attila Molnar [Sat, 5 Mar 2016 15:46:03 +0000 (16:46 +0100)]
Send NOTICEs to local channel members with Channel::WriteNotice()

8 years agoAdd Channel::WriteNotice()
Attila Molnar [Sat, 5 Mar 2016 15:41:24 +0000 (16:41 +0100)]
Add Channel::WriteNotice()

8 years agoMerge pull request #1150 from johanna-a/conname_extban
Attila Molnar [Fri, 4 Mar 2016 14:52:23 +0000 (15:52 +0100)]
Merge pull request #1150 from johanna-a/conname_extban

Adds classban module providing extban 'n' for connect class ban.

8 years agoAdds classban module providing extban 'n' for connect class ban.
Johanna A [Sun, 28 Feb 2016 14:22:29 +0000 (15:22 +0100)]
Adds classban module providing extban 'n' for connect class ban.

8 years agoMerge branch 'master+writeremotenotice'
Attila Molnar [Wed, 2 Mar 2016 14:20:21 +0000 (15:20 +0100)]
Merge branch 'master+writeremotenotice'

8 years agom_spanningtree Remove ModuleSpanningTree::RemoteMessage()
Attila Molnar [Tue, 1 Mar 2016 15:18:05 +0000 (16:18 +0100)]
m_spanningtree Remove ModuleSpanningTree::RemoteMessage()

This method is no longer used, replacement is User::WriteRemoteNotice()

8 years agoSend NOTICEs that can go to both local and remote users with User::WriteRemoteNotice()
Attila Molnar [Tue, 1 Mar 2016 15:17:14 +0000 (16:17 +0100)]
Send NOTICEs that can go to both local and remote users with User::WriteRemoteNotice()

8 years agoAdd User::WriteRemoteNotice()
Attila Molnar [Tue, 1 Mar 2016 15:15:59 +0000 (16:15 +0100)]
Add User::WriteRemoteNotice()

Sends a NOTICE from the local server to the user which can be local or remote

8 years agoMerge branch 'master+writenumeric-who'
Attila Molnar [Fri, 26 Feb 2016 15:31:05 +0000 (16:31 +0100)]
Merge branch 'master+writenumeric-who'

8 years agoAdd RPL_WHOREPLY to the list of numerics
Attila Molnar [Fri, 26 Feb 2016 15:03:00 +0000 (16:03 +0100)]
Add RPL_WHOREPLY to the list of numerics

Use it instead of the raw number

8 years agoSend WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric objects...
Attila Molnar [Fri, 26 Feb 2016 14:59:20 +0000 (15:59 +0100)]
Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric objects to the OnSendWhoLine hook

8 years agom_hideoper Reorder checks in OnSendWhoLine()
Attila Molnar [Fri, 26 Feb 2016 14:44:39 +0000 (15:44 +0100)]
m_hideoper Reorder checks in OnSendWhoLine()

Check if the entire line should be hidden first

8 years agoReturn ModResult from the OnSendWhoLine hook
Attila Molnar [Fri, 26 Feb 2016 14:40:22 +0000 (15:40 +0100)]
Return ModResult from the OnSendWhoLine hook

8 years agoRemove unnecessary std::string::c_str() calls
Attila Molnar [Thu, 25 Feb 2016 18:23:46 +0000 (19:23 +0100)]
Remove unnecessary std::string::c_str() calls

8 years agoFix oversight in the last Stats::Context:AddRow() method
Attila Molnar [Thu, 25 Feb 2016 18:19:04 +0000 (19:19 +0100)]
Fix oversight in the last Stats::Context:AddRow() method

8 years agoAdd RPL_ISON, RPL_USERIP and RPL_USERHOST to the list of numerics
Attila Molnar [Thu, 25 Feb 2016 17:21:07 +0000 (18:21 +0100)]
Add RPL_ISON, RPL_USERIP and RPL_USERHOST to the list of numerics

Use them instead of the raw numbers

8 years agom_clones Send numeric with User::WriteNumeric()
Attila Molnar [Thu, 25 Feb 2016 17:18:22 +0000 (18:18 +0100)]
m_clones Send numeric with User::WriteNumeric()

8 years agom_userip Send numeric with User::WriteNumeric()
Attila Molnar [Thu, 25 Feb 2016 17:17:02 +0000 (18:17 +0100)]
m_userip Send numeric with User::WriteNumeric()

8 years agocore_userhost Send numeric with User::WriteNumeric()
Attila Molnar [Thu, 25 Feb 2016 17:15:18 +0000 (18:15 +0100)]
core_userhost Send numeric with User::WriteNumeric()

8 years agocmd_commands Send the RPL_COMMANDS numeric with User::WriteNumeric()
Attila Molnar [Thu, 25 Feb 2016 17:13:09 +0000 (18:13 +0100)]
cmd_commands Send the RPL_COMMANDS numeric with User::WriteNumeric()

8 years agoMerge branch 'master+writenumeric'
Attila Molnar [Thu, 25 Feb 2016 17:05:04 +0000 (18:05 +0100)]
Merge branch 'master+writenumeric'

8 years agoIntroduce Stats::Context, pass it to the OnStats hook and switch all code to it
Attila Molnar [Thu, 25 Feb 2016 16:02:03 +0000 (17:02 +0100)]
Introduce Stats::Context, pass it to the OnStats hook and switch all code to it

8 years agoAdd User::WriteRemoteNumeric() and switch code using SendText() to send numerics...
Attila Molnar [Thu, 25 Feb 2016 15:40:50 +0000 (16:40 +0100)]
Add User::WriteRemoteNumeric() and switch code using SendText() to send numerics to it

8 years agoMake source server settable in Numeric::Numeric
Attila Molnar [Thu, 25 Feb 2016 15:28:58 +0000 (16:28 +0100)]
Make source server settable in Numeric::Numeric

8 years agoConvert WhoisContext::SendLine() calls to pass the parameters of the numeric as metho...
Attila Molnar [Thu, 25 Feb 2016 15:27:30 +0000 (16:27 +0100)]
Convert WhoisContext::SendLine() calls to pass the parameters of the numeric as method parameters

8 years agoConvert WriteNumeric() calls to pass the parameters of the numeric as method parameters
Attila Molnar [Thu, 25 Feb 2016 15:12:09 +0000 (16:12 +0100)]
Convert WriteNumeric() calls to pass the parameters of the numeric as method parameters

8 years agoAdd Numeric::Numeric
Attila Molnar [Thu, 25 Feb 2016 14:25:02 +0000 (15:25 +0100)]
Add Numeric::Numeric

8 years agoAdd no-op ConvToStr(const std::string&)
Attila Molnar [Thu, 25 Feb 2016 14:18:39 +0000 (15:18 +0100)]
Add no-op ConvToStr(const std::string&)

8 years agoMove implementation of ConvTo*() and related functions into convto.h
Attila Molnar [Thu, 25 Feb 2016 14:15:00 +0000 (15:15 +0100)]
Move implementation of ConvTo*() and related functions into convto.h

8 years agoInclude stdint.h from inspircd.h
Attila Molnar [Thu, 25 Feb 2016 14:02:01 +0000 (15:02 +0100)]
Include stdint.h from inspircd.h

8 years agom_dccallow Call WriteNumeric() in a loop when displaying help
Attila Molnar [Wed, 24 Feb 2016 11:44:19 +0000 (12:44 +0100)]
m_dccallow Call WriteNumeric() in a loop when displaying help

8 years agoFix some numerics
Attila Molnar [Wed, 24 Feb 2016 11:40:05 +0000 (12:40 +0100)]
Fix some numerics

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