]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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 agoMerge pull request #1170 from SaberUK/insp20+travis
Attila Molnar [Fri, 22 Apr 2016 14:40:49 +0000 (16:40 +0200)]
Merge pull request #1170 from SaberUK/insp20+travis

Add configuration for building with Travis-CI.

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 agoAdd configuration for building with Travis-CI.
Peter Powell [Fri, 10 Oct 2014 14:24:05 +0000 (15:24 +0100)]
Add configuration for building with Travis-CI.

8 years agoMerge pull request #1169 from SaberUK/insp20+fix-makefile
Attila Molnar [Sun, 10 Apr 2016 15:42:13 +0000 (17:42 +0200)]
Merge pull request #1169 from SaberUK/insp20+fix-makefile

[2.0] Fix extraneous quotes in makefile template.

8 years agoFix extraneous quotes in makefile template.
Peter Powell [Sun, 10 Apr 2016 03:33:20 +0000 (04:33 +0100)]
Fix extraneous quotes in makefile template.

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 agoMerge pull request #1162 from SaberUK/insp20+fix-deinstall
Attila Molnar [Tue, 29 Mar 2016 10:55:02 +0000 (12:55 +0200)]
Merge pull request #1162 from SaberUK/insp20+fix-deinstall

[2.0] Delete modules cautiously when doing a deinstall.

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 agoDelete modules cautiously when doing a deinstall.
Peter Powell [Fri, 25 Mar 2016 11:44:51 +0000 (11:44 +0000)]
Delete modules cautiously when doing a deinstall.

8 years agoPartially revert "Quote paths in the makefile".
Peter Powell [Fri, 25 Mar 2016 11:38:54 +0000 (11:38 +0000)]
Partially revert "Quote paths in the makefile".

There is no need to quote BASE and {BIN,CON,DAT,MOD,LOG}PATH
because they are alreaady quoted. {BUILD,SOURCE}PATH however
are unquoted so their usages still need to be quoted.

This reverts commit dbcbf9647d0abb421f8a84b41e674f403c91ce8f.

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 agoMerge pull request #1157 from SaberUK/insp20+fix-cron-restart
Attila Molnar [Tue, 22 Mar 2016 13:40:01 +0000 (14:40 +0100)]
Merge pull request #1157 from SaberUK/insp20+fix-cron-restart

[2.0] Fix 'cron' and 'restart' in the helper not forwarding arguments.

8 years agoFix 'cron' and 'restart' in the helper not forwarding arguments.
Peter Powell [Sat, 19 Mar 2016 20:00:37 +0000 (20:00 +0000)]
Fix 'cron' and 'restart' in the helper not forwarding arguments.

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 agoRemove embarrassing negative comments about some clients from the code
Attila Molnar [Mon, 29 Feb 2016 13:40:02 +0000 (14:40 +0100)]
Remove embarrassing negative comments about some clients from the code

8 years agoMerge pull request #1147 from SaberUK/insp20+gcc6
Attila Molnar [Mon, 29 Feb 2016 11:40:21 +0000 (12:40 +0100)]
Merge pull request #1147 from SaberUK/insp20+gcc6

[2.0] Fix GCC 6 warning about null checking this.

8 years agoMerge pull request #1148 from guikcd/spelling-error
Attila Molnar [Mon, 29 Feb 2016 11:38:29 +0000 (12:38 +0100)]
Merge pull request #1148 from guikcd/spelling-error

Minor spelling errors in m_spanningtree.so

8 years agoMerge pull request #1146 from SaberUK/insp20+quote
Attila Molnar [Mon, 29 Feb 2016 11:38:01 +0000 (12:38 +0100)]
Merge pull request #1146 from SaberUK/insp20+quote

[2.0] Quote paths in the makefile.

8 years agoMerge pull request #1145 from Adam-/insp20+ulinekill
Attila Molnar [Mon, 29 Feb 2016 11:37:49 +0000 (12:37 +0100)]
Merge pull request #1145 from Adam-/insp20+ulinekill

Don't show snotices for kills from ulined clients

8 years agoMinor spelling errors in m_spanningtree.so
Guillaume Delacour [Sun, 28 Feb 2016 09:47:34 +0000 (10:47 +0100)]
Minor spelling errors in m_spanningtree.so

8 years agoFix GCC 6 warning about null checking this.
Peter Powell [Fri, 26 Feb 2016 20:44:10 +0000 (20:44 +0000)]
Fix GCC 6 warning about null checking this.

As with 402a1bb010522a35600325c1a3084e092b40ca22 this is known to
be undefined behaviour but changing it is too risky for the 2.0
branch.

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 agoQuote paths in the makefile.
Peter Powell [Fri, 26 Feb 2016 09:52:35 +0000 (09:52 +0000)]
Quote paths in the makefile.

This prevents problems caused by paths with spaces in them.

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'