aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treeserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
|
* Use irc::equals instead of strcasecmp where appropriate.Gravatar Sadie Powell2020-01-171-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+5
|
* Fix an shadowing warning in the spanningtree module.Gravatar Peter Powell2019-09-301-2/+2
|
* Add the OnServerBurst hook and fix the docs for OnServerLink.Gravatar Peter Powell2019-09-231-0/+1
|
* Add whether the server split with an error to OnServerSplit.Gravatar Peter Powell2019-09-231-5/+5
|
* Add the server id to the Server class.Gravatar Peter Powell2019-09-231-11/+25
|
* Add an event for adding tags to S2S messages.Gravatar Peter Powell2019-07-191-1/+0
|
* Split ServerEventListener into {Broadcast,Link,Sync}EventListener.Gravatar Peter Powell2019-07-151-2/+2
| | | | | | | | 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
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
|
* Move <security:hidesplits> to the spanningtree module.Gravatar Peter Powell2018-10-011-1/+1
|
* Show server versions in /MAP for opersGravatar B00mX0r2017-12-191-0/+1
| | | | This resolves #1203
* Rename the spanningtree module header to server.Gravatar Peter Powell2017-12-031-3/+3
| | | | | In the future we will have server linking modules that are not the spanningtree module.
* m_spanningtree Call the OnServerLink hook from TreeServer constructorGravatar Attila Molnar2016-04-251-1/+2
|
* m_spanningtree Call the OnServerSplit hook from TreeServer::SQuitInternal() ↵Gravatar Attila Molnar2016-04-251-2/+3
| | | | so it runs for all lost servers
* m_spanningtree Don't try to call the OnServerSplit hook when the module is ↵Gravatar Attila Molnar2016-04-251-1/+2
| | | | being unloaded
* Do not insert FakeUsers into UserManager::uuidlistGravatar Attila Molnar2015-12-071-4/+0
| | | | Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want
* m_spanningtree Use uint64_t for the burst start time to avoid overflowsGravatar Attila Molnar2015-05-131-4/+4
|
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-3/+3
|
* Merge insp20Gravatar Attila Molnar2015-04-201-1/+1
|\
* | m_spanningtree Pass Server* to the OnServerLink/OnServerSplit eventsGravatar Attila Molnar2015-02-121-2/+2
| |
* | Convert the spanningtree events to use the new cross-module event systemGravatar Attila Molnar2015-02-111-2/+2
| |
* | m_spanningtree Rewrite PING logic to use TimersGravatar Attila Molnar2015-01-251-30/+6
| |
* | m_spanningtree Remove public TreeServer methods that are only called from ↵Gravatar Attila Molnar2015-01-201-12/+2
| | | | | | | | TreeServer
* | m_spanningtree Get rid of some boilerplateGravatar Attila Molnar2015-01-201-33/+0
| | | | | | | | Make methods const while at it
* | Add stdalgo::erase() and use it to simplify codeGravatar Attila Molnar2014-11-011-7/+1
| |
* | Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Gravatar Attila Molnar2014-07-281-0/+4
| | | | | | | | the netsplit is handled, not in cull()
* | m_spanningtree Remove the now needless SplitInProgress workaroundGravatar Attila Molnar2014-07-281-4/+0
| |
* | m_spanningtree Change type of num_lost_* to be unsignedGravatar Attila Molnar2014-07-281-5/+5
| |
* | m_spanningtree Quit all split users in one goGravatar Attila Molnar2014-07-281-6/+7
| |
* | m_spanningtree Mark servers awaiting destruction after being lost in a ↵Gravatar Attila Molnar2014-07-281-2/+6
| | | | | | | | netsplit, add TreeServer::IsDead()
* | m_spanningtree Remove now unused TreeServer::Tidy()Gravatar Attila Molnar2014-07-281-19/+0
| |
* | m_spanningtree Add the TreeServer that split to the cull list and destroy ↵Gravatar Attila Molnar2014-07-281-5/+14
| | | | | | | | everything under it recursively at cull time instead of at squit processing time
* | m_spanningtree Remove split servers from the hash maps in ↵Gravatar Attila Molnar2014-07-281-0/+4
| | | | | | | | TreeServer::SQuitInternal()
* | m_spanningtree Move squit logic into TreeServer from TreeSocketGravatar Attila Molnar2014-07-281-0/+52
| |
* | m_spanningtree Keep track of whether servers are behind a bursting server, ↵Gravatar Attila Molnar2014-07-271-4/+13
| | | | | | | | use it to implement quietbursts
* | m_spanningtree Only mark one server as finished bursting on ENDBURST (or ↵Gravatar Attila Molnar2014-07-271-3/+6
| | | | | | | | PONG), not all behind it
* | m_spanningtree Sync bursting state of servers in SERVERGravatar Attila Molnar2014-07-271-2/+4
| | | | | | | | Also send the time when they started bursting
* | m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingGravatar Attila Molnar2014-07-271-5/+9
| | | | | | | | Don't mark servers as bursting in the constructor
* | m_spanningtree Use the value of StartBurst to determine whether a server is ↵Gravatar Attila Molnar2014-07-271-4/+5
| | | | | | | | bursting, remove TreeServer::bursting
* | m_spanningtree Add newly created TreeServers to the parent's list in the ↵Gravatar Attila Molnar2014-07-271-0/+1
| | | | | | | | constructor
* | Access local user list via new UserManager::GetLocalUsers() and make ↵Gravatar Attila Molnar2014-07-191-1/+1
| | | | | | | | local_users private
* | m_spanningtree Add a field to TreeServer for storing full version stringsGravatar Attila Molnar2014-06-171-1/+3
| |
* | m_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructorGravatar Attila Molnar2014-06-141-1/+2
| |
* | Add UserManager::GetUsers()Gravatar Attila Molnar2014-03-151-1/+1
| |
* | Read uline state in spanningtree; remove ConfigReader::ulinesGravatar Attila Molnar2014-01-081-4/+17
| |
* | Move server description field from TreeServer into Server; remove ↵Gravatar Attila Molnar2014-01-051-9/+4
| | | | | | | | OnGetServerDescription hook
* | Introduce Server classGravatar Attila Molnar2014-01-051-7/+21
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | m_spanningtree Remove vector from TreeServer::QuitUsers()Gravatar Attila Molnar2014-01-051-15/+10
| |