]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Attila Molnar [Sat, 25 Jan 2014 11:40:21 +0000 (12:40 +0100)]
Add Channel* parameter to OnSendWhoLine
Attila Molnar [Sat, 25 Jan 2014 11:28:39 +0000 (12:28 +0100)]
Omit the server name internally when building a /STATS reply and prepend it later
Peter Powell [Sat, 18 Jan 2014 04:53:52 +0000 (04:53 +0000)]
Convert InspIRCd::PassCompare to return bool instead of int.
The insane behaviour of this method was due to an implementation
detail which has since become irrelevent.
Attila Molnar [Sat, 25 Jan 2014 11:15:01 +0000 (12:15 +0100)]
Destroy Memberships of a quitting user in QuitUser() instead of in cull()
Attila Molnar [Fri, 24 Jan 2014 12:20:11 +0000 (13:20 +0100)]
Convert InviteBase::invites to an intrusively linked list
Attila Molnar [Fri, 24 Jan 2014 12:12:40 +0000 (13:12 +0100)]
Remove classbase inheritance from Invitation
Attila Molnar [Fri, 24 Jan 2014 12:10:09 +0000 (13:10 +0100)]
cmd_invite Fix incorrect parameter being passed to InspIRCd::Duration()
Attila Molnar [Fri, 24 Jan 2014 12:08:13 +0000 (13:08 +0100)]
Convert LocalUserList to an intrusively linked list
Attila Molnar [Fri, 24 Jan 2014 11:58:01 +0000 (12:58 +0100)]
Convert UserChanList to an intrusively linked list
Attila Molnar [Fri, 24 Jan 2014 11:37:43 +0000 (12:37 +0100)]
Add intrusive list template
Attila Molnar [Thu, 23 Jan 2014 13:37:09 +0000 (14:37 +0100)]
Remove whitespace and minor style changes
Attila Molnar [Thu, 23 Jan 2014 13:15:01 +0000 (14:15 +0100)]
Globally #undef min and max on Windows
Attila Molnar [Thu, 23 Jan 2014 13:06:07 +0000 (14:06 +0100)]
Remove unneeded classbase inheritance from FileReader
Attila Molnar [Tue, 24 Sep 2013 18:40:20 +0000 (20:40 +0200)]
Split IOHook into IOHook and IOHookProvider
Create one IOHook instance for each hooked socket which contains all the
hook specific data and read/write/close functions, removing the need for
the "issl_session" array in SSL modules.
Register instances of the IOHookProvider class in the core and use them to
create specialized IOHook instances (OnConnect/OnAccept).
Remove the OnHookIO hook, add a dynamic reference to ListenSocket that
points to the hook provider (if any) to use for incoming connections on
that socket.
For outgoing connections modules still have to find the IOHookProvider
they want to use themselves but instead of calling AddIOHook(hookprov),
now they have to call IOHookProvider::OnConnect() after the connection
has been established.
Attila Molnar [Tue, 24 Sep 2013 17:43:20 +0000 (19:43 +0200)]
Add the ability to have multiple SSL profiles
SSL profiles are now used instead of fixed SSL settings for everything
SSL, making it possible to use completely different settings for each
listener and outgoing connection.
Outgoing connections are broken until the next commit.
Attila Molnar [Tue, 24 Sep 2013 16:50:59 +0000 (18:50 +0200)]
m_ssl_gnutls Create GNUTLS_NEW_CERT_CALLBACK_API and cert_cb_last_param_type
Attila Molnar [Tue, 21 Jan 2014 17:44:08 +0000 (18:44 +0100)]
Merge insp20
Attila Molnar [Tue, 21 Jan 2014 17:14:02 +0000 (18:14 +0100)]
m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messages
Adam [Thu, 16 Jan 2014 04:31:28 +0000 (23:31 -0500)]
Add m_starttls and remove it from m_ssl_gnutls, which allows it to work with both openssl and gnutls
Attila Molnar [Tue, 21 Jan 2014 13:13:25 +0000 (14:13 +0100)]
Release 2.0.15
Attila Molnar [Tue, 21 Jan 2014 13:13:02 +0000 (14:13 +0100)]
Attila Molnar [Tue, 21 Jan 2014 13:10:01 +0000 (14:10 +0100)]
m_httpd_stats Be more conservative when escaping data
Fix clang warning
Attila Molnar [Tue, 21 Jan 2014 13:04:45 +0000 (14:04 +0100)]
Increase the penalty for a few core commands
Attila Molnar [Mon, 20 Jan 2014 23:44:41 +0000 (00:44 +0100)]
m_joinflood Unset the mode on unload
Peter Powell [Wed, 11 Dec 2013 05:05:36 +0000 (05:05 +0000)]
Fix some logically dead code which was found by Coverity.
Attila Molnar [Mon, 20 Jan 2014 16:05:01 +0000 (17:05 +0100)]
m_svshold Add config option to hide snotices
Attila Molnar [Mon, 20 Jan 2014 15:57:30 +0000 (16:57 +0100)]
m_httpd Add timeout option; remove timed out connections
Attila Molnar [Mon, 20 Jan 2014 15:48:20 +0000 (16:48 +0100)]
Update example configs/helpop
Mantas Mikulėnas [Thu, 2 Jan 2014 14:52:51 +0000 (16:52 +0200)]
Use standard example addresses in configs
`2001:db8::/32` is the [standard][1] IPv6 example address range, using
it also makes it clear when the user has just copy-pasted the example
config and didn't actually whitelist 6BONE for some strange reason.
Similarly, there are example addresses for [IPv4][2] and [DNS][3].
[1]: http://tools.ietf.org/html/rfc3849
[2]: http://tools.ietf.org/html/rfc5737
[3]: http://tools.ietf.org/html/rfc2606
Attila Molnar [Mon, 20 Jan 2014 15:40:01 +0000 (16:40 +0100)]
m_services_account Add workaround for wrong host being displayed in numeric when cgiirc users log in using SASL
Attila Molnar [Mon, 20 Jan 2014 15:30:39 +0000 (16:30 +0100)]
m_dnsbl Don't send snotice when the {G|K|Z}line already exists
Fixes issue #717 reported by @Robby-
Attila Molnar [Sun, 19 Jan 2014 16:04:11 +0000 (17:04 +0100)]
m_joinflood Fix remote joins affecting local joinflood state when the channel is locked
Fixes issue #694 reported by @TurkDesk
Attila Molnar [Sun, 19 Jan 2014 15:48:41 +0000 (16:48 +0100)]
Use FindNickOnly() in a few more places if a local user is performing an action to prevent UID walking
Attila Molnar [Sun, 19 Jan 2014 15:42:10 +0000 (16:42 +0100)]
m_dccallow Increase penalty for /DCCALLOW help
Attila Molnar [Sun, 19 Jan 2014 15:39:46 +0000 (16:39 +0100)]
m_alias Fix out of bounds string access that happened with certain replace strings
Daniel Vassdal [Mon, 25 Nov 2013 00:46:04 +0000 (16:46 -0800)]
Fix OOB error in sa2cidr()
Attila Molnar [Thu, 16 Jan 2014 18:26:16 +0000 (10:26 -0800)]
Merge pull request #732 from grawity/saslfix
m_sasl: properly handle bad-mechanism failures
Attila Molnar [Tue, 14 Jan 2014 14:01:44 +0000 (15:01 +0100)]
m_sajoin Send global snotice when the join happens
Remove "sent remote SAJOIN" local snotice
Fixes issue #382 reported by @JDowny
Attila Molnar [Mon, 13 Jan 2014 14:20:01 +0000 (15:20 +0100)]
Don't send the "your unique ID" (numeric 042) message on connect
Attila Molnar [Mon, 13 Jan 2014 13:01:16 +0000 (14:01 +0100)]
m_mlock Only deny the mlocked mode from being changed instead of denying the entire mode change if it contains a single mlocked mode
Fixes issue #615 reported by @BlacklightShining
Mantas Mikulėnas [Sat, 11 Jan 2014 21:42:34 +0000 (23:42 +0200)]
Support SASL messages other than 'C' and 'D'
Mantas Mikulėnas [Sat, 11 Jan 2014 21:41:16 +0000 (23:41 +0200)]
Handle SASL failures during SASL_INIT (wrong mechanism, etc.)
Attila Molnar [Thu, 9 Jan 2014 12:33:33 +0000 (13:33 +0100)]
Stop null checking pointers that are always valid
Attila Molnar [Wed, 8 Jan 2014 11:52:07 +0000 (12:52 +0100)]
Remove PreText()-like functions
Do processing in OnUserPreMessage()
Attila Molnar [Wed, 8 Jan 2014 11:41:01 +0000 (12:41 +0100)]
Read uline state in spanningtree; remove ConfigReader::ulines
Attila Molnar [Mon, 6 Jan 2014 12:37:06 +0000 (13:37 +0100)]
Automatically register and unregister mode watchers
Attila Molnar [Mon, 6 Jan 2014 12:29:10 +0000 (13:29 +0100)]
Unset all extensions and the topic when lowering TS on a channel
Attila Molnar [Mon, 6 Jan 2014 12:17:06 +0000 (13:17 +0100)]
m_deaf Simplify logic
Attila Molnar [Sun, 5 Jan 2014 14:20:17 +0000 (15:20 +0100)]
Move server description field from TreeServer into Server; remove OnGetServerDescription hook
Attila Molnar [Sun, 5 Jan 2014 14:04:01 +0000 (15:04 +0100)]
Introduce Server class
- Replaces std::string server in User
- Replaces InspIRCd::ULine() and SilentULine()
Attila Molnar [Sun, 5 Jan 2014 13:27:30 +0000 (14:27 +0100)]
Remove useless ULine() checks
Attila Molnar [Sun, 5 Jan 2014 13:23:03 +0000 (14:23 +0100)]
m_spanningtree Remove vector from TreeServer::QuitUsers()
Attila Molnar [Sun, 5 Jan 2014 13:17:12 +0000 (14:17 +0100)]
Improve UserManager::QuitUser() and related code
- Make operreason optional; NULL means same as quitreason
- Remove User::quietquit, it is now handled internally in spanningtree
- Send snotice about quitting remote users from spanningtree
Attila Molnar [Sun, 5 Jan 2014 12:47:28 +0000 (13:47 +0100)]
Fix possible use of invalid iterator on module unload
When a module quits a user or destroys a channel in OnCleanup() the object is no longer in the container being iterated by the time OnCleanup() returns
Attila Molnar [Sat, 4 Jan 2014 18:43:04 +0000 (19:43 +0100)]
Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()
Attila Molnar [Thu, 19 Dec 2013 16:30:22 +0000 (17:30 +0100)]
Add functor that does strict weak ordering based on national_case_insensitive_map
Peter Powell [Mon, 16 Dec 2013 02:39:31 +0000 (02:39 +0000)]
Fix some Windows-related problems.
- Fix an error relating to the unavailability of std::back_inserter.
- Fix loading configuration files when using relative paths.
- Fix two methods in hashcomp being exported twice.
- Remove some unimportant error messages.
Attila Molnar [Sat, 4 Jan 2014 12:02:39 +0000 (13:02 +0100)]
Show +i users on a channel to opers having the channels/auspex priv who do /NAMES from outside of the chan
Discovered by @Cronus89
Attila Molnar [Sat, 28 Dec 2013 00:13:00 +0000 (16:13 -0800)]
Merge pull request #714 from SaberUK/insp20+fix-helpop
[2.0] Fix the HELPOP database being destroyed when a rehash fails.
Peter Powell [Thu, 26 Dec 2013 11:28:22 +0000 (11:28 +0000)]
Fix the HELPOP database being destroyed when a rehash fails.
Daniel Vassdal [Sat, 21 Dec 2013 03:10:48 +0000 (19:10 -0800)]
Allow ranges beginning with 0 in m_channames
Attila Molnar [Thu, 19 Dec 2013 16:02:41 +0000 (17:02 +0100)]
m_showwhois Update settings on rehash
Attila Molnar [Thu, 19 Dec 2013 15:57:09 +0000 (16:57 +0100)]
m_filter Remove ImplFilter and needless dynamic_cast
Adam [Thu, 10 Oct 2013 04:35:04 +0000 (00:35 -0400)]
Add m_ldap, and convert m_ldapoper and m_ldapauth to use it.
Attila Molnar [Wed, 18 Dec 2013 17:07:30 +0000 (18:07 +0100)]
Fix FileReader not working with files specified in <files>
Attila Molnar [Wed, 18 Dec 2013 17:01:19 +0000 (18:01 +0100)]
Add m_showfile, remove cmd_rules
Attila Molnar [Wed, 18 Dec 2013 15:32:22 +0000 (16:32 +0100)]
m_auditorium Switch to SimpleChannelModeHandler
Attila Molnar [Wed, 18 Dec 2013 15:31:09 +0000 (16:31 +0100)]
m_spanningtree Fix clang warning and wrong operator in if
Attila Molnar [Wed, 18 Dec 2013 15:20:40 +0000 (16:20 +0100)]
Clean up CoreException
- Remove default constructor
- Replace virtual functions returning C strings with functions returning const std::string refs
Daniel Vassdal [Mon, 25 Nov 2013 00:04:32 +0000 (16:04 -0800)]
Fix issues discovered by Coverity
- Fix resource leak in InspIRCd::Format()
- Explicitly set NewServices to NULL before the object it points to goes out of scope
Attila Molnar [Wed, 18 Dec 2013 15:07:50 +0000 (16:07 +0100)]
Remove unused motd and rules field from ServerConfig
Attila Molnar [Wed, 18 Dec 2013 14:51:17 +0000 (15:51 +0100)]
m_sakick Replace C string with C++ string
Attila Molnar [Wed, 18 Dec 2013 14:50:30 +0000 (15:50 +0100)]
Clean up error messages in a few SA commands
Daniel Vassdal [Tue, 10 Dec 2013 13:51:30 +0000 (05:51 -0800)]
Add a Flash Policy Daemon module
Attila Molnar [Mon, 16 Dec 2013 15:45:02 +0000 (07:45 -0800)]
Merge pull request #586 from SaberUK/master+test-build
Add a tool for running test builds.
Peter Powell [Sun, 7 Jul 2013 09:47:38 +0000 (10:47 +0100)]
Add a tool for running test builds.
Peter Powell [Sun, 15 Dec 2013 16:02:15 +0000 (17:02 +0100)]
Fix $config{UID} being set incorrectly
Fixes issue #697 reported by @Nowaker
Attila Molnar [Sun, 15 Dec 2013 15:32:47 +0000 (07:32 -0800)]
Merge pull request #708 from SaberUK/master+development-branch
Add a warning that the user is using a development version.
Attila Molnar [Sun, 15 Dec 2013 12:10:33 +0000 (13:10 +0100)]
m_spanningtree Fix nick TS desync on SVSNICK
Don't accept invalid timestamps
Adam [Sun, 15 Dec 2013 06:55:10 +0000 (22:55 -0800)]
Merge pull request #689 from SaberUK/master+cxxify
Clean up various things.
Peter Powell [Sun, 15 Dec 2013 05:34:00 +0000 (05:34 +0000)]
Make various self contained methods static.
- InspIRCd::IsValidMask
- InspIRCd::TimeString
Peter Powell [Sun, 24 Nov 2013 16:20:31 +0000 (16:20 +0000)]
Purge docs/rfc from the repository.
These are of no use to 99% of users and anyone who actually wants
to read them should be capable of using Google to find them.
Peter Powell [Sun, 24 Nov 2013 15:05:12 +0000 (15:05 +0000)]
Remove some pointless code:
- Remove the CHARSET entry from ISUPPORT.
CHARSET was removed in draft-brocklesby-irc-isupport-03 and we
always used the default value anyway. This has also been removed
in the latest version of Charybdis.
- Remove irc::sockets::satouser.
This helper method was longer than the code it replaced.
Peter Powell [Sat, 5 Oct 2013 03:55:11 +0000 (04:55 +0100)]
Move stuff around a bit:
- Create FileSystem class:
* Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite.
* Move ServerConfig::ExpandPath to FileSystem.
* Move ServerConfig::FileExists to FileSystem.
* Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem.
- Move FileReader to fileutils.cpp and fix documentation.
- Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
Daniel Vassdal [Thu, 12 Dec 2013 21:39:10 +0000 (13:39 -0800)]
Fix m_override refusing to override modes if the user holds halfop or higher in the channel
Peter Powell [Fri, 13 Dec 2013 10:39:22 +0000 (10:39 +0000)]
Add a warning that the user is using a development version.
Daniel Vassdal [Sat, 7 Dec 2013 20:44:10 +0000 (12:44 -0800)]
Fix ACCEPT propagation bug when it got a nick prefixed with +
Fixes #696
Does not apply to 2.2 due to Attila's rewrite of the module
Attila Molnar [Fri, 29 Nov 2013 21:14:45 +0000 (13:14 -0800)]
Merge pull request #693 from SaberUK/insp20+modulemanager-bugs
[2.0] Fix various problems with ModuleManager.
Peter Powell [Fri, 29 Nov 2013 20:23:57 +0000 (20:23 +0000)]
Fix various problems with ModuleManager.
- Fix downloading the module list on very new versions of Perl.
- Fix an off by one error caused by array sizing starting at -1
instead of 0 like in every single other language (!!).
- Fix vague error messages when LWP encounters an error.
- Fix LWP::Simple being used before we have checked whether it is
available.
attilamolnar [Thu, 21 Nov 2013 21:25:45 +0000 (22:25 +0100)]
m_cap Convert capability names in CAP REQ to lowercase before processing them
Requested in #686
attilamolnar [Wed, 18 Sep 2013 08:27:06 +0000 (10:27 +0200)]
Fix a few issues
- Rehash notices
- Modes in CAPAB
- GetTargetAndAction() not being static in m_callerid
- Loading custom configuration files using --config. (@SaberUK)
- ServerConfig::Read not using std::endl. (@SaberUK)
- Out of date comments in opers.conf.example, issue #624
Adam [Thu, 21 Nov 2013 20:52:38 +0000 (15:52 -0500)]
Allow multiple allowmasks in link blocks, #679
Daniel Vassdal [Tue, 12 Nov 2013 19:02:28 +0000 (11:02 -0800)]
Disallow remote /MODULES for non-opers.
Attila Molnar [Mon, 18 Nov 2013 16:05:29 +0000 (08:05 -0800)]
Merge pull request #685 from SaberUK/master+gnutls-rng
Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
Peter Powell [Mon, 18 Nov 2013 13:48:07 +0000 (13:48 +0000)]
Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
Also, fix a bug where eval() caused compile errors.
Daniel Vassdal [Tue, 12 Nov 2013 16:28:40 +0000 (08:28 -0800)]
Fix remote /MODULES bug
Adam [Tue, 12 Nov 2013 15:42:17 +0000 (10:42 -0500)]
These two numerics are supposed to use SentText() as they can go to remote users...
Adam [Tue, 12 Nov 2013 11:51:31 +0000 (06:51 -0500)]
Use WriteNumeric() everywhere we send numerics and include the user's nick automatically
Adam [Sat, 9 Nov 2013 16:52:36 +0000 (08:52 -0800)]
Merge pull request #672 from SaberUK/master+rt-link-err
Fix PrefixMode not being exported which caused runtime link errors.
Peter Powell [Sat, 9 Nov 2013 16:29:50 +0000 (16:29 +0000)]
Fix PrefixMode not being exported which caused runtime link errors.