aboutsummaryrefslogtreecommitdiffstats
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* Convert UserType to be a uint8_t and move inside User.Gravatar Sadie Powell2020-11-101-14/+22
* Convert ConnectClass from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-11-031-5/+5
* Clean up a bunch of contructors and destructors.Gravatar Sadie Powell2020-11-011-1/+1
* Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-3/+3
* Convert OperInfo from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-3/+3
* Split OnSetEndPoint into two events.Gravatar Sadie Powell2020-07-201-1/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-5/+5
|\
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-2/+2
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-2/+2
| * Switch User::usertype back to an unsigned int.•••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". Gravatar Matt Schatz2020-04-191-1/+1
* | Revert "Convert UserType to an enum class".•••There's a bug in GCC with bitfields and enum class. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242 This reverts commit 44834a66a7e92c8979ae16421286c581a9cffbe9. Gravatar Sadie Powell2020-04-211-17/+10
* | Convert UserType to an enum class.Gravatar Sadie Powell2020-04-211-10/+17
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-141-0/+9
|\|
| * Add support for limiting what opers can subscribe to snomasks.Gravatar Sadie Powell2020-04-111-0/+9
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-4/+4
|\|
| * Fix various documentation and formatting issues.Gravatar Sadie Powell2020-03-301-4/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-0/+6
|\|
| * Warn if the server config contains an unhashed password.•••This will be made a hard failure in v4. Gravatar Sadie Powell2020-03-111-0/+6
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-24/+24
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-5/+14
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-5/+14
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-5/+20
|\|
| * 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-0/+5
|\|
| * Add a method for swapping user I/O handlers.Gravatar Peter Powell2019-07-211-0/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-6/+4
|\|
| * 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-02-151-8/+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
* | Convert repetitive functions to use C++11 variadic templates.Gravatar Sadie Powell2019-01-251-90/+6
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-14/+14
|/
* 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