summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treeserver.cpp
AgeCommit message (Collapse)Author
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-01-31Update copyright headers.InspIRCd Robot
2020-01-17Use irc::equals instead of strcasecmp where appropriate.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-09-30Fix an shadowing warning in the spanningtree module.Peter Powell
2019-09-23Add the OnServerBurst hook and fix the docs for OnServerLink.Peter Powell
2019-09-23Add whether the server split with an error to OnServerSplit.Peter Powell
2019-09-23Add the server id to the Server class.Peter Powell
2019-07-19Add an event for adding tags to S2S messages.Peter Powell
2019-07-15Split ServerEventListener into {Broadcast,Link,Sync}EventListener.Peter Powell
There is no reason to have these events in one big handler and it causes unnecessary event hooks to be created by having them like this. The ServerEventListener class still exists for compatibility
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2018-10-01Move <security:hidesplits> to the spanningtree module.Peter Powell
2017-12-19Show server versions in /MAP for opersB00mX0r
This resolves #1203
2017-12-03Rename the spanningtree module header to server.Peter Powell
In the future we will have server linking modules that are not the spanningtree module.
2016-04-25m_spanningtree Call the OnServerLink hook from TreeServer constructorAttila Molnar
2016-04-25m_spanningtree Call the OnServerSplit hook from TreeServer::SQuitInternal() ↵Attila Molnar
so it runs for all lost servers
2016-04-25m_spanningtree Don't try to call the OnServerSplit hook when the module is ↵Attila Molnar
being unloaded
2015-12-07Do not insert FakeUsers into UserManager::uuidlistAttila Molnar
Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want
2015-05-13m_spanningtree Use uint64_t for the burst start time to avoid overflowsAttila Molnar
2015-05-13m_spanningtree Clean up commentsAttila Molnar
2015-04-20Merge insp20Attila Molnar
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-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
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
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 Remove the now needless SplitInProgress workaroundAttila Molnar
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-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 Add TreeServer::BeginBurst() that marks a server as burstingAttila Molnar
Don't mark servers as bursting in the constructor
2014-07-27m_spanningtree Use the value of StartBurst to determine whether a server is ↵Attila Molnar
bursting, remove TreeServer::bursting
2014-07-27m_spanningtree Add newly created TreeServers to the parent's list in the ↵Attila Molnar
constructor
2014-07-19Access local user list via new UserManager::GetLocalUsers() and make ↵Attila Molnar
local_users private
2014-06-17m_spanningtree Add a field to TreeServer for storing full version stringsAttila Molnar
2014-06-14m_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructorAttila Molnar
2014-03-15Add UserManager::GetUsers()Attila Molnar
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila 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