aboutsummaryrefslogtreecommitdiff
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-17/+26
* Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-271-2/+2
* Fix a bunch of Doxygen warnings.Gravatar Peter Powell2017-08-261-1/+2
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-12/+12
* Clean up User::FormatModes(), rename to GetModeLetters()•••Prefix the returned string with '+' Gravatar Attila Molnar2016-12-301-3/+5
* Make all User::IsModeSet() methods const, accept const ModeHandlerGravatar Attila Molnar2016-12-301-6/+6
* Deduplicate nickname overruling code•••Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree Gravatar Attila Molnar2016-12-301-0/+6
* Allow classes to take a port range.Gravatar Peter Powell2016-10-251-0/+5
* Pass the ModeHandler to User::HasModePermission()•••Mark the method as const Gravatar Attila Molnar2016-08-301-6/+4
* Remove User::SendText() and overrides completelyGravatar Attila Molnar2016-03-301-12/+1
* Make User::WriteRemoteNumeric() virtual, implement it in SpanningTree::Remote...Gravatar Attila Molnar2016-03-291-1/+1
* Remove now unused overload of User::SendText()Gravatar Attila Molnar2016-03-221-6/+0
* Add User::WriteRemoteNotice()•••Sends a NOTICE from the local server to the user which can be local or remote Gravatar Attila Molnar2016-03-011-0/+11
* Add User::WriteRemoteNumeric() and switch code using SendText() to send numer...Gravatar Attila Molnar2016-02-251-0/+51
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-2/+51
* Move already sent id rollover handling and static LocalUser::already_sent_id ...Gravatar Attila Molnar2015-11-031-1/+0
* Rewrite invite system•••- 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 Gravatar Attila Molnar2015-11-021-22/+1
* Implement User::WriteCommonQuit() using ForEachNeighbor() in UserManagerGravatar Attila Molnar2015-01-241-7/+0
* Add User::ForEachNeighbor()Gravatar Attila Molnar2015-01-241-0/+23
* Move the intrusive list containers into the insp namespaceGravatar Attila Molnar2014-08-301-2/+2
* Rename UserChanList to User::ChanList, remove UCListIterGravatar Attila Molnar2014-07-141-1/+4
* User::ChangeNick() cannot fail if the new nick is the uuid, document this and...Gravatar Attila Molnar2014-07-031-1/+1
* Remove now needless User::ForceNickChange()•••Change call sites to call ChangeNick() Gravatar Attila Molnar2014-07-031-11/+1
* Remove unused User::WriteCommonExcept()•••WriteCommonRaw(msg, false) has similiar functionality with a std::string parameter Gravatar Attila Molnar2014-04-021-6/+0
* Move User::SendAll() into core_privmsg•••This functionality is only used by the PRIVMSG and NOTICE handlers Gravatar Attila Molnar2014-04-021-10/+0
* Remove User::WriteTo() functions; use User::WriteFrom() instead•••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(). Gravatar Attila Molnar2014-04-021-13/+0
* Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterGravatar Attila Molnar2014-03-031-2/+2
* Index Channel::modes and User::modes with the id of the mode instead of its l...Gravatar Attila Molnar2014-02-211-8/+6
* Fix various cases of UUID exposure.•••- 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. Gravatar Peter Powell2014-02-061-1/+7
* Convert InviteBase::invites to an intrusively linked listGravatar Attila Molnar2014-01-241-1/+1
* Convert LocalUserList to an intrusively linked listGravatar Attila Molnar2014-01-241-5/+1
* Move server description field from TreeServer into Server; remove OnGetServer...Gravatar Attila Molnar2014-01-051-2/+2
* Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-5/+11
* 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-4/+0
* Rename <connect:nouserdns> to <connect:resolvehostnames>.•••This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers. Gravatar Peter Powell2013-08-101-1/+1
* Remove virtual User::GetClass() (but keep LocalUser::GetClass())Gravatar attilamolnar2013-08-091-6/+4
* Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and Chan...•••Pass the string itself to IsIdent() instead of string.c_str() Gravatar attilamolnar2013-08-091-3/+3
* Move host cycle logic into m_hostcycleGravatar attilamolnar2013-08-091-12/+4
* Get rid of enum UserModes and mark User::modes as privateGravatar attilamolnar2013-07-191-25/+8
* Replace hardcoded mode letters, part 3•••This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-191-1/+0
* Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the U...Gravatar attilamolnar2013-07-191-19/+8
* Allow for skipping clone checking before DNS is complete.Gravatar Daniel Vassdal2013-07-021-1/+1
* Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-0/+15
* Fix Doxygen comments.Gravatar Peter Powell2013-06-211-4/+4
* Convert User::SendText to use std::string.Gravatar Peter Powell2013-06-061-1/+1
* Convert User::FormatNoticeMasks() to use std::string.Gravatar Peter Powell2013-06-061-1/+1
* Replace some C string operations with the + operator.Gravatar Peter Powell2013-06-061-6/+0
* Change the signature of User::ForceNickChange() to accept const std::string& ...Gravatar attilamolnar2013-05-181-1/+1
* Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-141-0/+5
* Move <performance:nouserdns> to <connect:nouserdns>.Gravatar Peter Powell2013-04-271-0/+4