summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
AgeCommit message (Collapse)Author
2017-10-28Hide User#host and User#dhost and use accessors to modify them.Peter Powell
This removes the need to invalidate the cache after changing a user's hostname.
2016-08-24Update UserManager documentation and commentsAttila Molnar
2016-08-24Check for errors after calling IOHookProvider::OnAccept()Attila Molnar
2016-08-24Call IOHookProviders after the socket has been added to the SocketEngine in ↵Attila Molnar
UserManager::AddUser()
2016-08-24Add socket into the SocketEngine as soon as possible in UserManager::AddUser()Attila Molnar
2016-08-17Merge insp20Attila Molnar
2016-08-10Initialize more User and LocalUser fields using the init listAttila Molnar
2016-08-08Keep multiple IOHookProvider references in class ListenSocketAttila Molnar
This adds the <bind:hook> config option which works together with <bind:ssl>
2016-06-13Stop processing the new connection in UserManager::AddUser() when an ↵Attila Molnar
internal SocketEngine error happens and the user is quitted
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-11-03Remove UserManager::GarbageCollect()Attila Molnar
2015-11-03Move already sent id rollover handling and static LocalUser::already_sent_id ↵Attila Molnar
into UserManager
2015-11-03Add UserManager::NextAlreadySentId() and convert all code to use itAttila Molnar
2015-11-02Rewrite invite systemAttila Molnar
- Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
2015-05-22Remove dead code from UserManager::AddUser()Attila Molnar
2015-05-22Fix some oversightsAttila Molnar
2015-04-20Merge insp20Attila Molnar
2015-03-21Rebuild clone counts on rehashAdam
2015-02-05Merge pull request #971 from SaberUK/master+numeric-xlineAttila Molnar
Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.
2015-01-24Implement User::WriteCommonQuit() using ForEachNeighbor() in UserManagerAttila Molnar
2015-01-24Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.Peter Powell
This is specified in RFC 1459 so we should probably use it.
2014-12-30Fix signon time of clients being off by dns_timeout secondsAttila Molnar
2014-08-04Fix off by one in ping timeout.md-5
Been bugging me that users ping timeout at 121 rather than 120 seconds by default.
2014-07-19Move and rename typedef LocalUserList to UserManager::LocalListAttila Molnar
2014-07-19Erase local users from UserManager::local_list in QuitUser()Attila Molnar
2014-06-13Change allocation of InspIRCd::BanCache to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Pull in bancache.h from inspircd.hAttila Molnar
2014-06-07Relax fd bounds checkingAttila Molnar
We can cope with fds greater than SocketEngine::GetMaxFds() since 3752b3f59d5216d7dc6221a361efc76b9ad2273d
2014-03-17Rewrite clone counting to use one map instead of twoAttila Molnar
2014-03-15Change allocation of UserManager::clientlist to be physically part of the ↵Attila Molnar
object containing it
2014-03-14Change allocation of UserManager::uuidlist to be physically part of the ↵Attila Molnar
object containing it
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-04Fix ping timeout message seconds vs secondAdam
2014-01-25Destroy Memberships of a quitting user in QuitUser() instead of in cull()Attila Molnar
2014-01-24Convert LocalUserList to an intrusively linked listAttila 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-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
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-12-15Move stuff around a bit:Peter Powell
- Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
2013-08-10Rename <options:moronbanner> to <options:xlinemessage>.Peter Powell
This name is more descriptive of what is actually is used for.
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-07-19Replace hardcoded mode letters, part 3attilamolnar
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-02Allow for skipping clone checking before DNS is complete.Daniel Vassdal
2013-06-07Create IOHook interface (extracted from Module)attilamolnar
2013-06-06Move code between usermanager.(cpp|h), clarify commentsattilamolnar
Initialize clientlist and uuidlist in UserManager constructor
2013-06-06Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManagerattilamolnar
2013-06-06Merge insp20attilamolnar
2013-05-21Merge pull request #545 from SaberUK/master+logging-cleanupAttila Molnar
Clean up the logging system (part 1 of 2).
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
2013-05-18Replaced vsnprintf with VAFORMAT pretty much everywhere.Daniel Vassdal