summaryrefslogtreecommitdiff
path: root/include/users.h
AgeCommit message (Collapse)Author
2018-07-30Replace most usages of "name" with "real" or "real name".Peter Powell
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
2018-07-26Add a module which implements the HAProxy PROXY v2 protocol.Peter Powell
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
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.
2017-10-27Change SetClientIP to take a C++ string instead of a char array.Peter Powell
2017-08-26Fix a bunch of Doxygen warnings.Peter Powell
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-12-30Clean up User::FormatModes(), rename to GetModeLetters()Attila Molnar
Prefix the returned string with '+'
2016-12-30Make all User::IsModeSet() methods const, accept const ModeHandlerAttila Molnar
2016-12-30Deduplicate nickname overruling codeAttila Molnar
Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
2016-10-25Allow classes to take a port range.Peter Powell
2016-08-30Pass the ModeHandler to User::HasModePermission()Attila Molnar
Mark the method as const
2016-03-30Remove User::SendText() and overrides completelyAttila Molnar
2016-03-29Make User::WriteRemoteNumeric() virtual, implement it in ↵Attila Molnar
SpanningTree::RemoteUser
2016-03-22Remove now unused overload of User::SendText()Attila Molnar
2016-03-01Add User::WriteRemoteNotice()Attila Molnar
Sends a NOTICE from the local server to the user which can be local or remote
2016-02-25Add User::WriteRemoteNumeric() and switch code using SendText() to send ↵Attila Molnar
numerics to it
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-11-03Move already sent id rollover handling and static LocalUser::already_sent_id ↵Attila Molnar
into UserManager
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-01-24Implement User::WriteCommonQuit() using ForEachNeighbor() in UserManagerAttila Molnar
2015-01-24Add User::ForEachNeighbor()Attila Molnar
2014-08-30Move the intrusive list containers into the insp namespaceAttila Molnar
2014-07-14Rename UserChanList to User::ChanList, remove UCListIterAttila Molnar
2014-07-03User::ChangeNick() cannot fail if the new nick is the uuid, document this ↵Attila Molnar
and rely on it
2014-07-03Remove now needless User::ForceNickChange()Attila Molnar
Change call sites to call ChangeNick()
2014-04-02Remove unused User::WriteCommonExcept()Attila Molnar
WriteCommonRaw(msg, false) has similiar functionality with a std::string parameter
2014-04-02Move User::SendAll() into core_privmsgAttila Molnar
This functionality is only used by the PRIVMSG and NOTICE handlers
2014-04-02Remove User::WriteTo() functions; use User::WriteFrom() insteadAttila Molnar
The removed functions were rarely used and all they did was to call User::WriteFrom() with swapped arguments. On call sites, WriteTo() hardly offers any readability improvement over WriteFrom().
2014-03-03Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterAttila Molnar
2014-02-21Index Channel::modes and User::modes with the id of the mode instead of its ↵Attila Molnar
letter
2014-02-06Fix various cases of UUID exposure.Peter Powell
- Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration.
2014-01-24Convert InviteBase::invites to an intrusively linked listAttila Molnar
2014-01-24Convert LocalUserList to an intrusively linked listAttila 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-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-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-09Remove virtual User::GetClass() (but keep LocalUser::GetClass())attilamolnar
2013-08-09Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵attilamolnar
ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
2013-08-09Move host cycle logic into m_hostcycleattilamolnar
2013-07-19Get rid of enum UserModes and mark User::modes as privateattilamolnar
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-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler
2013-07-02Allow for skipping clone checking before DNS is complete.Daniel Vassdal
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-06-21Fix Doxygen comments.Peter Powell
2013-06-06Convert User::SendText to use std::string.Peter Powell