]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
8 years agoDeduplicate code for on connect SSL ciphersuite NOTICE by moving it into m_sslinfo
Attila Molnar [Thu, 28 Apr 2016 15:10:10 +0000 (17:10 +0200)]
Deduplicate code for on connect SSL ciphersuite NOTICE by moving it into m_sslinfo

8 years agoExport the GetCiphersuite() method from the SSL modules
Attila Molnar [Thu, 28 Apr 2016 15:06:16 +0000 (17:06 +0200)]
Export the GetCiphersuite() method from the SSL modules

8 years agoAdd SSLIOHook::IsSSL() to determine whether a socket is using SSL or not
Attila Molnar [Thu, 28 Apr 2016 15:04:33 +0000 (17:04 +0200)]
Add SSLIOHook::IsSSL() to determine whether a socket is using SSL or not

Use it in a few places

8 years agoMerge branch 'master+sasloffline'
Attila Molnar [Tue, 26 Apr 2016 13:02:50 +0000 (15:02 +0200)]
Merge branch 'master+sasloffline'

8 years agom_sasl Advertise the sasl capability only if the target server is online
Attila Molnar [Mon, 25 Apr 2016 11:24:40 +0000 (13:24 +0200)]
m_sasl Advertise the sasl capability only if the target server is online

Issue #812

8 years agom_sasl Add ServerTracker class for tracking sasl_target
Attila Molnar [Mon, 25 Apr 2016 11:23:29 +0000 (13:23 +0200)]
m_sasl Add ServerTracker class for tracking sasl_target

8 years agom_spanningtree Call the OnServerLink hook from TreeServer constructor
Attila Molnar [Mon, 25 Apr 2016 11:18:02 +0000 (13:18 +0200)]
m_spanningtree Call the OnServerLink hook from TreeServer constructor

8 years agom_spanningtree Call the OnServerSplit hook from TreeServer::SQuitInternal() so it...
Attila Molnar [Mon, 25 Apr 2016 11:16:40 +0000 (13:16 +0200)]
m_spanningtree Call the OnServerSplit hook from TreeServer::SQuitInternal() so it runs for all lost servers

8 years agom_spanningtree Call the OnServerSplit hook from the OnUnloadModule() handler on unload
Attila Molnar [Mon, 25 Apr 2016 11:15:06 +0000 (13:15 +0200)]
m_spanningtree Call the OnServerSplit hook from the OnUnloadModule() handler on unload

8 years agom_spanningtree Don't try to call the OnServerSplit hook when the module is being...
Attila Molnar [Mon, 25 Apr 2016 11:12:03 +0000 (13:12 +0200)]
m_spanningtree Don't try to call the OnServerSplit hook when the module is being unloaded

8 years agom_spanningtree Ignore incoming BURST command in CONNECTED state
Attila Molnar [Wed, 13 Apr 2016 10:05:48 +0000 (12:05 +0200)]
m_spanningtree Ignore incoming BURST command in CONNECTED state

8 years agom_spanningtree Fix FJOIN forwarding
Attila Molnar [Wed, 13 Apr 2016 09:50:06 +0000 (11:50 +0200)]
m_spanningtree Fix FJOIN forwarding

8 years agom_spanningtree Resync servers when they recreate a channel outside of burst
Attila Molnar [Wed, 13 Apr 2016 09:46:55 +0000 (11:46 +0200)]
m_spanningtree Resync servers when they recreate a channel outside of burst

8 years agom_spanningtree Allow IJOIN with lower TS
Attila Molnar [Wed, 13 Apr 2016 09:46:35 +0000 (11:46 +0200)]
m_spanningtree Allow IJOIN with lower TS

8 years agoRefactor topic setting logic to go through Channel::SetTopic() in all cases
Attila Molnar [Mon, 11 Apr 2016 13:53:01 +0000 (15:53 +0200)]
Refactor topic setting logic to go through Channel::SetTopic() in all cases

- Pass topic set time and optionally the setter to SetTopic()
- Don't do anything if the topic is changed by a local user to what it is currently

8 years agoMerge pull request #1168 from SaberUK/master+fix-configure-cache-parser
Attila Molnar [Mon, 4 Apr 2016 17:33:37 +0000 (19:33 +0200)]
Merge pull request #1168 from SaberUK/master+fix-configure-cache-parser

Fix "use of uninitialized value $key in hash element" error.

8 years agoFix "use of uninitialized value $key in hash element" error.
Peter Powell [Mon, 4 Apr 2016 12:49:56 +0000 (13:49 +0100)]
Fix "use of uninitialized value $key in hash element" error.

8 years agoMerge pull request #1167 from SaberUK/master+collision
Attila Molnar [Mon, 4 Apr 2016 12:31:04 +0000 (14:31 +0200)]
Merge pull request #1167 from SaberUK/master+collision

Rename vague build environment variables to prevent collisions.

8 years agoRename M to INSPIRCD_MODULE.
Peter Powell [Thu, 31 Mar 2016 14:23:10 +0000 (15:23 +0100)]
Rename M to INSPIRCD_MODULE.

8 years agoRename T to INSPIRCD_TARGET.
Peter Powell [Thu, 31 Mar 2016 14:12:35 +0000 (15:12 +0100)]
Rename T to INSPIRCD_TARGET.

8 years agoRename D to INSPIRCD_DEBUG.
Peter Powell [Thu, 31 Mar 2016 14:06:49 +0000 (15:06 +0100)]
Rename D to INSPIRCD_DEBUG.

8 years agoRename V to INSPIRCD_VERBOSE.
Peter Powell [Thu, 31 Mar 2016 13:59:44 +0000 (14:59 +0100)]
Rename V to INSPIRCD_VERBOSE.

8 years agoRename PURE_STATIC to INSPIRCD_STATIC.
Peter Powell [Fri, 26 Feb 2016 13:12:09 +0000 (13:12 +0000)]
Rename PURE_STATIC to INSPIRCD_STATIC.

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.