]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

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.