summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2014-01-26Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵Attila Molnar
forwarding ENCAPs
2014-01-26ProtocolInterface::SendEncapsulatedData() changesAttila Molnar
- Pass command name and destination as real parameters - Allow callers to specify the command source - Send a SID instead of a server name if the target is a single server
2014-01-25Omit the server name internally when building a /STATS reply and prepend it ↵Attila Molnar
later
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
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.
2014-01-21Merge insp20Attila Molnar
2014-01-21m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messagesAttila Molnar
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila Molnar
2014-01-06Unset all extensions and the topic when lowering TS on a channelAttila Molnar
2014-01-05Move server description field from TreeServer into Server; remove ↵Attila Molnar
OnGetServerDescription hook
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2014-01-05m_spanningtree Remove vector from TreeServer::QuitUsers()Attila Molnar
2014-01-05Improve UserManager::QuitUser() and related codeAttila Molnar
- 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
2014-01-04Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()Attila Molnar
2014-01-04Fix some Windows-related problems.Peter Powell
- 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.
2013-12-18Add m_showfile, remove cmd_rulesAttila Molnar
2013-12-18m_spanningtree Fix clang warning and wrong operator in ifAttila Molnar
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-12-15m_spanningtree Fix nick TS desync on SVSNICKAttila Molnar
Don't accept invalid timestamps
2013-12-15Make various self contained methods static.Peter Powell
- InspIRCd::IsValidMask - InspIRCd::TimeString
2013-11-21Fix a few issuesattilamolnar
- 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
2013-11-21Allow multiple allowmasks in link blocks, #679Adam
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-11-09Use case insensitive comparison for server names for (auto)connects, issue #662Adam
2013-11-09Fix parsing ADDLINE with expiration or creation dates past ~2038 probablyAdam
2013-11-09Fix issue #657, fix sending FNAME with spacesAdam
2013-09-13Pass an interface to the OnSync hooksattilamolnar
Remove Module::ProtoSendMetaData()
2013-09-13Split ProtocolInterface::SendMetaData() into multiple functionsattilamolnar
2013-09-12Send ListModeBase modes implicitly on channel syncattilamolnar
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
2013-09-11Convert cmd_modenotice into an optional moduleattilamolnar
2013-09-11Move prefix mode specific fields and getters into PrefixModeattilamolnar
Add ModeHandler::IsPrefixMode()
2013-09-10m_spanningtree Minor fixesattilamolnar
- Handle the case when servers SQUIT themselves - Fix extra space in channel messages
2013-09-10m_spanningtree Handle ERROR when fully connectedattilamolnar
2013-09-10m_spanningtree Move c2s commands out of SpanningTreeCommands to auto ↵attilamolnar
register them
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-09-08Fix compile warnings as seen on g++ 4.4.7Adam
2013-08-31m_spanningtree Fix timestamp in AWAYattilamolnar
2013-08-30Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-30Merge insp20attilamolnar
2013-08-28m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync ↵attilamolnar
when two TOPIC messages cross TOPIC is no longer accepted from servers using the new protocol
2013-08-27m_spanningtree Introduce command buildersattilamolnar
2013-08-27m_spanningtree Changes to TreeSocket::WriteLine() to avoid string copiesattilamolnar
- 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
2013-08-27Fix Windows build and a few more problemsattilamolnar
2013-08-27Fix indentationattilamolnar
2013-08-25m_spanningtree Allow server-to-server command handlers to specify whether ↵attilamolnar
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()
2013-08-25Clean up the protocol interfaceattilamolnar
2013-08-22m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and ↵attilamolnar
GetChild()
2013-08-22m_spanningtree Remove duplicate code for sending channel messages from ↵attilamolnar
RouteCommand()
2013-08-22m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()attilamolnar