aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treeserver.cpp
Commit message (Expand)AuthorAgeFilesLines
* m_spanningtree Keep track of whether servers are behind a bursting server, us...Gravatar Attila Molnar2014-07-271-4/+13
* m_spanningtree Only mark one server as finished bursting on ENDBURST (or PONG...Gravatar Attila Molnar2014-07-271-3/+6
* m_spanningtree Sync bursting state of servers in SERVER•••Also send the time when they started bursting Gravatar Attila Molnar2014-07-271-2/+4
* m_spanningtree Add TreeServer::BeginBurst() that marks a server as bursting•••Don't mark servers as bursting in the constructor Gravatar Attila Molnar2014-07-271-5/+9
* m_spanningtree Use the value of StartBurst to determine whether a server is b...Gravatar Attila Molnar2014-07-271-4/+5
* m_spanningtree Add newly created TreeServers to the parent's list in the cons...Gravatar Attila Molnar2014-07-271-0/+1
* Access local user list via new UserManager::GetLocalUsers() and make local_us...Gravatar Attila Molnar2014-07-191-1/+1
* 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 OnGetServer...Gravatar Attila Molnar2014-01-051-9/+4
* Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-7/+21
* m_spanningtree Remove vector from TreeServer::QuitUsers()Gravatar Attila Molnar2014-01-051-15/+10
* 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 Gravatar Attila Molnar2014-01-051-8/+2
* m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and G...Gravatar attilamolnar2013-08-221-24/+2
* m_spanningtree Change TreeServer::GetSocket() to always return the socket tha...•••The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers Gravatar attilamolnar2013-08-221-2/+2
* m_spanningtree Minor cleanup of functionsGravatar attilamolnar2013-08-191-2/+2
* m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-5/+5
* Remove $ModDep commentsGravatar attilamolnar2013-08-151-2/+0
* Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-1/+1
* m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-241-10/+5
* m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionGravatar attilamolnar2013-07-241-49/+12
* Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-2/+2
* m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-1/+0
* m_spanningtree Remove encapsulation on UserCount/OperCountGravatar attilamolnar2013-04-121-22/+2
* Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-1/+1
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
* m_spanningtree Use iterators in CAPAB handler and when generating reply to sp...Gravatar attilamolnar2012-10-021-6/+4
* m_spanningtree Return const references from several TreeServer getter functionsGravatar attilamolnar2012-09-301-3/+3
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Remove excessive gettimeofday system calls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-181-6/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Properly cull TreeServer objects when quitting several of them•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-13/+9
* Make User::uuid and User::server const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-2/+11
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-3/+3
* Fix valgrind issues and crashes on exit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-021-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-8/+8
* Make end of netburst SNOMASK REMOTELINK unless servers are directly linked [j...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11731 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-151-1/+1
* Change cmd_*.so to use the Module object API•••Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-031-2/+0
* Remove now-unused quitmsg/operquitmsg fields from User•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-3/+3
* Move user quit logic out of cull list•••This changes the cull list from a list of User* that ran special cleanup to a list of classbase* that simply deletes the objects. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11636 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-1/+1
* Remove unneeded Extensible inheritance and remove "age" field from classbase•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+2
* Fix build of m_spanningtree and display of dependency regeneration•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-3/+3
* Fix some incorrect STL iterations (using < end() instead of != end())•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-05-141-2/+2
* Addendum to previous ping patch: NextPingTime was not being set at endburst, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-221-2/+4
* Fix PingFlag not being set correctly for servers whose burst takes longer tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-221-18/+5
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Mark children of remote servers as bursting while their parent is bursting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-141-1/+11
* Fix crash when services (or a misbehaving remote server) introduces a server ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-051-13/+4