]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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 [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 [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.
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.
Peter Powell [Fri, 13 Dec 2013 10:39:22 +0000 (10:39 +0000)]
Add a warning that the user is using a development version.
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.
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.
attilamolnar [Tue, 3 Sep 2013 12:13:21 +0000 (14:13 +0200)]
Remove redundant parameter.clear()s from mode handlers
attilamolnar [Tue, 3 Sep 2013 12:10:54 +0000 (14:10 +0200)]
m_services_account Remove OnDecodeMetaData handler
Override StringExtItem::unserialize() instead
attilamolnar [Mon, 2 Sep 2013 11:41:16 +0000 (13:41 +0200)]
Pass an interface to the OnSync hooks
Remove Module::ProtoSendMetaData()
attilamolnar [Mon, 2 Sep 2013 11:17:24 +0000 (13:17 +0200)]
Split ProtocolInterface::SendMetaData() into multiple functions
attilamolnar [Mon, 2 Sep 2013 11:01:41 +0000 (13:01 +0200)]
Send ListModeBase modes implicitly on channel sync
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
attilamolnar [Mon, 2 Sep 2013 10:33:28 +0000 (12:33 +0200)]
Keep lists of mode handlers by type
attilamolnar [Mon, 2 Sep 2013 10:25:54 +0000 (12:25 +0200)]
Add ModeHandler::IsListModeBase() and MC_LIST
attilamolnar [Sun, 1 Sep 2013 13:00:01 +0000 (15:00 +0200)]
m_modenotice Use WriteNotice()
attilamolnar [Sun, 1 Sep 2013 12:58:02 +0000 (14:58 +0200)]
Convert cmd_modenotice into an optional module
attilamolnar [Sun, 1 Sep 2013 12:38:41 +0000 (14:38 +0200)]
Move prefix mode specific fields and getters into PrefixMode
Add ModeHandler::IsPrefixMode()
attilamolnar [Sun, 1 Sep 2013 12:25:15 +0000 (14:25 +0200)]
Create a base class for prefix modes
Move Channel::SetPrefix() into Membership
attilamolnar [Sun, 1 Sep 2013 12:17:04 +0000 (14:17 +0200)]
Add a type id field to ModeHandler
attilamolnar [Tue, 10 Sep 2013 12:07:08 +0000 (14:07 +0200)]
m_spanningtree Minor fixes
- Handle the case when servers SQUIT themselves
- Fix extra space in channel messages
attilamolnar [Tue, 10 Sep 2013 11:55:20 +0000 (13:55 +0200)]
m_spanningtree Handle ERROR when fully connected
attilamolnar [Tue, 10 Sep 2013 11:54:01 +0000 (13:54 +0200)]
m_spanningtree Move c2s commands out of SpanningTreeCommands to auto register them
attilamolnar [Sun, 8 Sep 2013 16:00:22 +0000 (18:00 +0200)]
Change allocation of a few services to make use of auto registration
attilamolnar [Fri, 23 Aug 2013 09:13:09 +0000 (11:13 +0200)]
Hide all symbols that aren't exported explicitly
In addition to reducing the sizes of all binaries this also helps the optimizer
attilamolnar [Sun, 8 Sep 2013 15:21:01 +0000 (17:21 +0200)]
Remove InspIRCd::HandleRehash functor
Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler
attilamolnar [Sun, 26 May 2013 17:44:13 +0000 (19:44 +0200)]
Automatically register ServiceProviders created by modules
attilamolnar [Sun, 8 Sep 2013 15:10:15 +0000 (17:10 +0200)]
Deduplicate code in modmanager_static and modmanager_dynamic
attilamolnar [Sun, 8 Sep 2013 14:57:03 +0000 (16:57 +0200)]
Remove ModuleManager::ModCount and GetCount()
attilamolnar [Sun, 8 Sep 2013 14:54:33 +0000 (16:54 +0200)]
Fix module loading in PURE_STATIC builds
Adam [Sun, 8 Sep 2013 08:00:00 +0000 (04:00 -0400)]
Fix compile warnings as seen on g++ 4.4.7
attilamolnar [Fri, 16 Aug 2013 10:20:06 +0000 (12:20 +0200)]
Remove ModuleManager::GetAllModuleNames(), use GetModules() instead
attilamolnar [Fri, 16 Aug 2013 10:10:55 +0000 (12:10 +0200)]
Replace OnRehash() with ReadConfig() that is called on boot, on module load and on rehash
This eliminates the need for calling OnRehash() in init()
attilamolnar [Fri, 30 Aug 2013 11:01:10 +0000 (13:01 +0200)]
Merge insp20
attilamolnar [Fri, 30 Aug 2013 10:10:01 +0000 (12:10 +0200)]
Don't CoreExport reference, fixes m_dnsbl on Windows
The explicit instantiations of reference are now useless; remove
attilamolnar [Wed, 28 Aug 2013 17:29:50 +0000 (19:29 +0200)]
Release 2.0.14
attilamolnar [Wed, 28 Aug 2013 17:27:14 +0000 (19:27 +0200)]
m_permchannels Fix empty topic setby
Christopher 'm4z' Holm [Sun, 25 Aug 2013 17:42:26 +0000 (19:42 +0200)]
Update COPYING file with new FSF address.
This should make rpmlint stop complaining about the incorrect FSF
address. All changes taken from:
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
attilamolnar [Mon, 19 Aug 2013 18:36:41 +0000 (20:36 +0200)]
m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync when two TOPIC messages cross
TOPIC is no longer accepted from servers using the new protocol
attilamolnar [Sun, 9 Jun 2013 12:11:41 +0000 (14:11 +0200)]
Fix fd and minor memory leak in threadengine_pthread on unload of m_mysql
attilamolnar [Tue, 27 Aug 2013 16:33:32 +0000 (18:33 +0200)]
Fix crash caused by passing a large integer to ctime()
In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds
Reported by @JDowny
attilamolnar [Tue, 9 Jul 2013 18:21:33 +0000 (20:21 +0200)]
m_permchannels Add the ability to save listmodes
attilamolnar [Tue, 9 Jul 2013 18:01:03 +0000 (20:01 +0200)]
m_permchannels Save channel TS, topic set time and set by information
When loading, ignore and log channels with a name longer than Limits.MaxChan
attilamolnar [Tue, 9 Jul 2013 17:49:10 +0000 (19:49 +0200)]
m_permchannels Construct the final line that will be saved in a std::string in WriteDatabase()
attilamolnar [Tue, 27 Aug 2013 16:30:59 +0000 (18:30 +0200)]
Update example configs, README.md and more
- Fix typos, remove misleading information, rephrase a few sentences
- Add info about hmac-<hash> hash types
- Remove <performance:maxwho> (the code which used this was removed in
96e4434 - @SaberUK)
- Change inspircd.github.org to inspircd.org
attilamolnar [Mon, 19 Aug 2013 18:22:15 +0000 (20:22 +0200)]
m_spanningtree Introduce command builders
attilamolnar [Mon, 19 Aug 2013 17:15:41 +0000 (19:15 +0200)]
m_spanningtree Changes to TreeSocket::WriteLine() to avoid string copies
- Change argument type to a reference to avoid copies of the string object
- If the std::string implementation is using copy-on-write then calling operator[] on a mutable string results in a copy; avoid this by calling .c_str() instead
attilamolnar [Tue, 27 Aug 2013 13:03:10 +0000 (15:03 +0200)]
Fix Windows build and a few more problems
attilamolnar [Tue, 27 Aug 2013 13:02:21 +0000 (15:02 +0200)]
Fix indentation
Daniel Vassdal [Mon, 26 Aug 2013 15:20:09 +0000 (08:20 -0700)]
Allow jmpsrv to handle SSL-connected clients correctly - also allow clients to use the port they're currently using.
Attila Molnar [Tue, 27 Aug 2013 12:28:15 +0000 (05:28 -0700)]
Merge pull request #619 from SaberUK/master+regex-dedupe
Various regex module improvements.
Peter Powell [Tue, 27 Aug 2013 06:54:16 +0000 (07:54 +0100)]
Fix various small issues.
- Add CXX11_OVERRIDE to *Regex::Matches and *RegexFactory::Create.
- Fix documentation comment on regex_string.
- Fix various code duplication/layout issues.
Peter Powell [Tue, 27 Aug 2013 06:29:13 +0000 (07:29 +0100)]
Make all regex modules throw the same exception on error.
attilamolnar [Mon, 19 Aug 2013 17:11:02 +0000 (19:11 +0200)]
m_spanningtree Allow server-to-server command handlers to specify whether they accept servers, remote users or both as the command source
To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer()
attilamolnar [Fri, 19 Jul 2013 11:55:02 +0000 (13:55 +0200)]
Clean up the protocol interface
Attila Molnar [Sat, 24 Aug 2013 14:50:02 +0000 (07:50 -0700)]
Merge pull request #616 from ShutterQuick/inspircd+chanhistbot
Option to select if chanhistory is on for bots
Daniel Vassdal [Sat, 24 Aug 2013 14:36:30 +0000 (07:36 -0700)]
Option to select if chanhistory is on for bots
attilamolnar [Fri, 19 Jul 2013 11:40:07 +0000 (13:40 +0200)]
m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and GetChild()
attilamolnar [Fri, 19 Jul 2013 11:32:41 +0000 (13:32 +0200)]
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
attilamolnar [Fri, 19 Jul 2013 11:24:36 +0000 (13:24 +0200)]
m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()
attilamolnar [Fri, 19 Jul 2013 11:10:18 +0000 (13:10 +0200)]
m_spanningtree Change TreeServer::GetSocket() to always return the socket that can be used to talk to the server
The only exception is the tree root (us) which has no associated socket (NULL)
Add TreeServer::IsRoot() and IsLocal() helpers
attilamolnar [Thu, 22 Aug 2013 11:41:11 +0000 (13:41 +0200)]
Fix a few problems
- Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK)
- Do not set Membership::modes in ForceJoin() incorrectly to privs
- Fix crash when spanningtree detects a configuration error on load