summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2017-10-15Clean up the initialization of ConnectClass and ServerConfig.attilamolnar
2017-10-04Fix RPL_SERVERVERSION treating the modes as a single parameter.Peter Powell
2017-09-12Get rid of irc::sockets::satoap().Peter Powell
This function is being misused in all but one scenario. It isn't really worth keeping IMO.
2017-09-03Move <dns:timeout> out of the core.Peter Powell
2017-08-26Make the build reproducible by removing time related macros.Peter Powell
The compile time on boot is not accurate as it will only change when the translation unit containing it is edited. The startup time in RPL_SERVERCREATED is a lot more useful than the compilation time. ngIRCd also implements this behaviour.
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-05-17Merge pull request #1230 from SaberUK/insp20+ipcacheAttila Molnar
[2.0] Invalidate the caches properly when User::SetClientIP is called.
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-12-05Fix users receiving a QUIT with themselves as source when host cycling in ↵Attila Molnar
certain cases The OnBuildNeighborList handler in m_auditorium can add the cycling user to the exceptions as an always send exception. To fix, remove the user from the exceptions before processing them. Reported by @genius3000 on IRC
2016-10-25Allow classes to take a port range.Peter Powell
2016-09-25Invalidate the caches properly when User::SetClientIP is called.Peter Powell
2016-08-30Pass the ModeHandler to User::HasModePermission()Attila Molnar
Mark the method as const
2016-08-29Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolAttila Molnar
2016-08-10Initialize more User and LocalUser fields using the init listAttila Molnar
2016-08-10Update style of initializer lists in User and LocalUser constructorsAttila Molnar
2016-03-30Remove User::SendText() and overrides completelyAttila Molnar
2016-03-29Make User::WriteRemoteNumeric() virtual, implement it in ↵Attila Molnar
SpanningTree::RemoteUser
2016-03-29Handle numerics with a source other than the local server in ↵Attila Molnar
User::WriteNumeric()
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-25Remove unnecessary std::string::c_str() callsAttila Molnar
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
2016-02-25Add Numeric::NumericAttila Molnar
2015-12-07Do not insert FakeUsers into UserManager::uuidlistAttila Molnar
Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want
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-02-27Fix oversights in substr() conversionAttila Molnar
Thanks to @StevenVanAcker for reporting and testing this
2015-01-24Remove needless checks from User::WriteCommon()/WriteCommonRaw()Attila Molnar
2015-01-24Implement User::WriteCommonRaw() using ForEachNeighbor()Attila Molnar
2015-01-24Implement User::WriteCommonQuit() using ForEachNeighbor() in UserManagerAttila Molnar
2015-01-24Add User::ForEachNeighbor()Attila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2014-10-13Replace dodgy use of const char* and memcpy with std::string.Peter Powell
This was backported from commit e01df63 in master.
2014-09-05Unset oper-only modes in User::UnOper() in a more sensible wayAttila Molnar
Get the user mode list from the ModeParser instead of trying all possible mode letters
2014-09-03Replace irc::modestacker usage with the new ModeParser::Process()Attila Molnar
2014-07-28Do not attempt to detect non-culled users at destruction by looking for ↵Attila Molnar
their uuid, leave it to Extensible This does not take uuid/sid reuse into consideration and Extensible implements this detection already in a proper way
2014-07-28Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Attila Molnar
the netsplit is handled, not in cull()
2014-07-25Merge insp20Attila Molnar
2014-07-19Erase local users from UserManager::local_list in QuitUser()Attila Molnar
2014-07-16Move typedef ClassVector to ServerConfig::ClassVectorAttila Molnar
2014-07-14Rename UserChanList to User::ChanList, remove UCListIterAttila Molnar
2014-07-14Rename UserMembList to Channel::MemberMap, switch all code to use itAttila Molnar
2014-07-14Change return type of Channel::GetUsers() to reference from pointer as it is ↵Attila Molnar
never NULL
2014-07-03Get rid of irc::strings (assign()) in User::ChangeNick()Attila Molnar
2014-07-03Deduplicate code in User::ChangeNick()Attila Molnar
2014-07-03Remove now needless User::ForceNickChange()Attila Molnar
Change call sites to call ChangeNick()