aboutsummaryrefslogtreecommitdiff
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* Implement serialisation of users.•••This allows for various things which will be coming in the future. e.g. Transferring users to another server on upgrade. Gravatar Peter Powell2019-10-141-0/+14
* Add null pointer checks to IS_{LOCAL,REMOTE,SERVER}.•••I don't know of any places this causes issues but its better to be safe than sorry. Gravatar Peter Powell2019-09-291-3/+3
* Add the server id to the Server class.Gravatar Peter Powell2019-09-231-2/+3
* Add a method for swapping user I/O handlers.Gravatar Peter Powell2019-07-211-0/+5
* Rename HasPermission to HasCommandPermission.Gravatar Peter Powell2019-04-191-2/+2
* Remove the 'noisy' mode for HasPrivPermission.•••This was only used in one place. Gravatar Peter Powell2019-04-191-4/+2
* Replace GetServerPort() with server_sa.port().Gravatar Peter Powell2019-02-151-5/+0
* Rename User::nping to nextping for consistency with lastping.Gravatar Peter Powell2019-02-151-3/+2
* Implement support for the extended tag space for client tags.Gravatar Peter Powell2019-01-241-0/+3
* Redo OnSetEndPoint logic to fix duplicate clones (#1549).Gravatar linuxdaemon2019-01-141-5/+5
* Improve X-line text consistency.•••- 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> Gravatar Matt Schatz2019-01-091-4/+4
* Reject setting modes which are null or not registered.Gravatar Peter Powell2018-12-121-1/+2
* Store the type of a StreamSocket within itself.•••Similar to with IOHooks this allows you to convert StreamSocket to a UserIOHandler quickly. Gravatar Peter Powell2018-10-251-1/+5
* Fix unregistered user modes thinking they are enabled.Gravatar Peter Powell2018-10-181-1/+1
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-56/+34
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-301-7/+6
* Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-301-1/+1
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-3/+3
* Add a module which implements the HAProxy PROXY v2 protocol.Gravatar Peter Powell2018-07-261-0/+1
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-6/+6
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
* 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