summaryrefslogtreecommitdiff
path: root/include/users.h
AgeCommit message (Collapse)Author
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-04-19Switch User::usertype back to an unsigned int.Matt Schatz
Leaving it up to the compiler to set the underlying type of the enum can result in this being a signed int. This variable will not work as intended as a 2 bit signed int. This fixes an issue with the Windows build(s) where a server trying to link would fail with "Protocol violation: Invalid source".
2020-04-11Add support for limiting what opers can subscribe to snomasks.Sadie Powell
2020-03-30Fix various documentation and formatting issues.Sadie Powell
2020-03-11Warn if the server config contains an unhashed password.Sadie Powell
This will be made a hard failure in v4.
2020-01-11Update copyright headers.InspIRCd Robot
2019-10-14Implement serialisation of users.Peter Powell
This allows for various things which will be coming in the future. e.g. Transferring users to another server on upgrade.
2019-09-29Add null pointer checks to IS_{LOCAL,REMOTE,SERVER}.Peter Powell
I don't know of any places this causes issues but its better to be safe than sorry.
2019-09-23Add the server id to the Server class.Peter Powell
2019-07-21Add a method for swapping user I/O handlers.Peter Powell
2019-04-19Rename HasPermission to HasCommandPermission.Peter Powell
2019-04-19Remove the 'noisy' mode for HasPrivPermission.Peter Powell
This was only used in one place.
2019-02-15Replace GetServerPort() with server_sa.port().Peter Powell
2019-02-15Rename User::nping to nextping for consistency with lastping.Peter Powell
2019-01-24Implement support for the extended tag space for client tags.Peter Powell
2019-01-14Redo OnSetEndPoint logic to fix duplicate clones (#1549).linuxdaemon
2019-01-09Improve X-line text consistency.Matt Schatz
- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be>
2018-12-12Reject setting modes which are null or not registered.Peter Powell
2018-10-25Store the type of a StreamSocket within itself.Peter Powell
Similar to with IOHooks this allows you to convert StreamSocket to a UserIOHandler quickly.
2018-10-18Fix unregistered user modes thinking they are enabled.Peter Powell
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
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-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