summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2018-09-24Merge branch 'insp20' into master.Peter Powell
2018-08-22Send the 001-004 numerics and MOTD/LUSERS from core_info.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-14Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Peter Powell
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-10Move message parsing to ProcessBuffer and fix edge cases in it.Peter Powell
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
2018-07-30Rename User::fullname to realname and make it private.Peter Powell
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-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-07-26Add a module which implements the HAProxy PROXY v2 protocol.Peter Powell
2018-07-24Make more config stuff case insensitive.Peter Powell
2018-07-20Remove Log() calls made unnecessary by the previous commit.Peter Powell
2018-07-18Add the family() member to the sockaddrs union.Peter Powell
2018-04-22Merge tag 'v2.0.26' into master.Peter Powell
2018-04-09Remove swhois messages set in the oper block on deoper.Peter Powell
Closes #1240.
2018-04-09Optimize some behaviour in the core (#1476).Dylan Frank
2018-01-25Improve performance under load of OnDataReady and remove C-isms.systocrat
Re-use variables initialized within loop, const-ify config variables accessed repeatedly, remove eol_found label. Merges #1451.
2018-01-20Remove duplicated code in LocalUser::GetServerPort().Peter Powell
2017-12-23Fix User::ChangeRealHost() to change the real host properly.Peter Powell
2017-12-22Rename <security:hidewhois> to <security:hideserver>.Peter Powell
The previous name was horrible and didn't describe what the setting actually does.
2017-11-20Inherit non-core connect class settings properly.Peter Powell
Based partially on a patch by Attila.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-13Add a class which encapsulates the concept of token lists.Peter Powell
2017-11-12Merge tag 'v2.0.25' into master.Peter Powell
2017-11-05Use InvalidateCache in the sockaddrs overload of OnSetClientIP.Peter Powell
This was done to the string variant in d3b82b2f7f.
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-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