summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2015-02-22capab: m_kicknorejoin: Don't advertise upper bound to 2.0 serversDaniel Vassdal
2015-02-12m_spanningtree Pass Server* to the OnServerLink/OnServerSplit eventsAttila Molnar
2015-02-11Convert the spanningtree events to use the new cross-module event systemAttila Molnar
2015-01-25m_spanningtree Rewrite PING logic to use TimersAttila Molnar
2015-01-22Merge branch 'master+exttype' into master+no-rttiAttila Molnar
2015-01-20m_spanningtree Remove public TreeServer methods that are only called from ↵Attila Molnar
TreeServer
2015-01-20m_spanningtree Get rid of some boilerplateAttila Molnar
Make methods const while at it
2015-01-18m_spanningtree Only unserialize() METADATA if the object type matches ↵Attila Molnar
ExtensionItem::type
2015-01-14Merge branch 'master+stfjoinforward'Attila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2015-01-09m_spanningtree Increase maximum generated FJOIN line size to 510Attila Molnar
2015-01-09m_spanningtree Forward FJOINs with correct TS, modes and userlistAttila Molnar
2015-01-09m_spanningtree Change name and scope of commait in FJOIN handlerAttila Molnar
2015-01-09m_spanningtree Add overload for add() and has_room(), giving more ↵Attila Molnar
flexibility to subclasses of CommandFJoin::Builder
2015-01-09m_spanningtree Add CmdBuilder::push_raw() overload for rangesAttila Molnar
2015-01-09m_spanningtree Add source server parameter to CommandFJOIN::Builder constructorAttila Molnar
Default it to this server
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-26Remove some dead code found by CoverityAttila Molnar
2014-10-13m_spanningtree Rebuild serverlist and sidlist when receiving a specific RequestAttila Molnar
Issue #923
2014-10-13Fix various warnings when building with LLVM 3.5.Peter Powell
- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
2014-09-04m_spanningtree Simplify processing non-prefix modes in FJOINsAttila Molnar
Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
2014-09-04m_spanningtree Apply FMODE mode changes using the new ModeParser functionsAttila Molnar
2014-09-03m_spanningtree Remove CommandFJoin::ApplyModeStack()Attila Molnar
2014-09-03Use Modes::ChangeList in ModeHandler::RemoveMode()Attila Molnar
2014-09-03Replace irc::modestacker usage with the new ModeParser::Process()Attila Molnar
2014-09-03Remove ProtocolInterface::SendMode()Attila Molnar
2014-09-03m_spanningtree Send MODE/FMODE from the OnMode hookAttila Molnar
If the MODE_LOCALONLY flag is set the mode change is not propagated
2014-09-03m_spanningtree Add function to serialize parameters in a ↵Attila Molnar
Modes::ChangeList::List into MODE/FMODE format
2014-09-01m_spanningtree Add optional key parameter to SVSJOIN and allow it to do ↵Attila Molnar
override joins Slightly more readable version of #892 by @ShutterQuick
2014-08-06m_spanningtree Remove redundant checks from HandleRemoteWhois()Attila Molnar
The size of the vector is checked in OnPreCommand() and that hook only runs for local users
2014-07-28Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Attila Molnar
the netsplit is handled, not in cull()
2014-07-28m_spanningtree Throw a ProtocolException if a server SQUITs a server it ↵Attila Molnar
shouldn't
2014-07-28m_spanningtree Squit dead servers immediately when they die, not at the next ↵Attila Molnar
timer tick
2014-07-28m_spanningtree Remove the now needless SplitInProgress workaroundAttila Molnar
2014-07-28m_spanningtree Check TreeServer::IsDead() to learn whether a user is being ↵Attila Molnar
quit due to a netsplit in OnUserQuit()
2014-07-28m_spanningtree Change type of num_lost_* to be unsignedAttila Molnar
2014-07-28m_spanningtree Quit all split users in one goAttila Molnar
2014-07-28m_spanningtree Mark servers awaiting destruction after being lost in a ↵Attila Molnar
netsplit, add TreeServer::IsDead()
2014-07-28m_spanningtree Remove now unused TreeServer::Tidy()Attila Molnar
2014-07-28m_spanningtree Add the TreeServer that split to the cull list and destroy ↵Attila Molnar
everything under it recursively at cull time instead of at squit processing time
2014-07-28m_spanningtree Remove split servers from the hash maps in ↵Attila Molnar
TreeServer::SQuitInternal()
2014-07-28m_spanningtree Move squit logic into TreeServer from TreeSocketAttila Molnar
2014-07-28m_spanningtree Remove now needless TreeSocket::ConnectionFailureShownAttila Molnar
2014-07-28m_spanningtree Ensure that TreeSocket::Close() only runs onceAttila Molnar
2014-07-27m_spanningtree Keep track of whether servers are behind a bursting server, ↵Attila Molnar
use it to implement quietbursts
2014-07-27m_spanningtree Only mark one server as finished bursting on ENDBURST (or ↵Attila Molnar
PONG), not all behind it
2014-07-27m_spanningtree Sync bursting state of servers in SERVERAttila Molnar
Also send the time when they started bursting
2014-07-27m_spanningtree Parse additional information present in SERVER messagesAttila Molnar
Format: <key>[=<value>]
2014-07-27m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingAttila Molnar
Don't mark servers as bursting in the constructor