aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
* Allow an event hook for after messages are sent to a client.Gravatar Sadie Powell2026-06-171-0/+1
* Add a WriteNumeric overload that takes a vector of numerics.Gravatar Sadie Powell2026-06-171-2/+30
* Update copyright headers.Gravatar InspIRCd Robot2026-06-051-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2026-03-311-1/+1
* Only increase the connection counter when a user is fully connected.Gravatar Sadie Powell2026-02-251-1/+1
* Fix truncating user/host/real names.Gravatar Sadie Powell2026-01-201-19/+24
* Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
* Convert debug logging from string concatenation to format strings.•••When running in normal mode this will prevent a bunch of expensive string concatenation. Gravatar Sadie Powell2025-01-231-2/+2
* All core numerics should be in numeric.h not in .cpp files.Gravatar Sadie Powell2024-10-261-9/+0
* Normalise the case of MOD_RESULT variables.Gravatar Sadie Powell2024-08-311-3/+3
* Log when a user has an unknown socket type in User::GetCIDRMask.Gravatar Sadie Powell2024-07-291-0/+9
* Avoid sending blank messages to users.Gravatar Sadie Powell2024-07-191-4/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-9/+4
* Make passwords for oper accounts optional.•••This allows restricting an oper account based on other data such as TLS fingerprint or services account but without logging them in automatically like autologin. Gravatar Sadie Powell2024-05-161-3/+7
* If a user has an oper connect class then reset it when de-opering.Gravatar Sadie Powell2024-02-191-1/+4
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-12-221-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-12-221-1/+1
* | Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-7/+7
* | Move stdalgo::string::join to utility/string and templatise separator.Gravatar Sadie Powell2023-08-111-1/+2
* | Rework how away state is stored internally.•••This will be necessary for implementing pre-away as well as some changes for WATCH compatibility with Unreal. Gravatar Sadie Powell2023-08-041-0/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-07-221-0/+3
|\|
| * Fix a rare case where the hostname cache was not invalidated.Gravatar Sadie Powell2023-07-171-0/+3
* | Normalise the case of ServerStats.Gravatar Sadie Powell2023-07-131-3/+3
* | Minor improvements to cull logging.•••- CULLLIST has been renamed to CULL which is easier to spell. - Some log messages have been improved slightly. Gravatar Sadie Powell2023-07-051-1/+1
* | Refactor Change{Displayed,Real}Host to match other Change* methods.Gravatar Sadie Powell2023-06-301-10/+10
* | Remove OnPreChange{Host,RealName} events and deboolify methods.•••These have not ever been used as far as I can see. Gravatar Sadie Powell2023-06-291-27/+7
* | Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-15/+55
* | Inline various User methods.Gravatar Sadie Powell2023-06-251-20/+0
* | Avoid using too much memory for storing user data.Gravatar Sadie Powell2023-06-251-0/+6
* | Make internal bug messages more consistent.Gravatar Sadie Powell2023-06-121-1/+1
* | Log when encountering an erroneous user cull without a quit.Gravatar Sadie Powell2023-06-121-0/+4
* | Remove unnecessary prefix from bancache log messages.Gravatar Sadie Powell2023-06-041-1/+1
* | IPv6 addresses should be partially expanded with '0' not 0x0.Gravatar Sadie Powell2023-04-291-1/+1
* | Fix a copy/paste error in GetUserAddress.Gravatar Sadie Powell2023-04-291-1/+1
* | Fix a segfault when sending data to a user without a connect class.Gravatar Sadie Powell2023-03-241-2/+3
* | Allow modules to provide an error for when a class doesn't match.Gravatar Sadie Powell2023-03-241-1/+5
* | Refactor the password checking API.•••- Rename from (On)PassCompare to (On)CheckPassword. - Fix the order of the arguments to be password, hash, value. This makes more sense than what it was previously. - Fix the code documentation to not be complete nonsense and not reference ancient outdated APIs. Gravatar Sadie Powell2023-02-281-1/+1
* | Make reading the core config less of a mess.Gravatar Sadie Powell2023-01-271-2/+2
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-9/+9
* | Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-62/+98
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-16/+16
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-5/+5
* | Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-9/+9
* | Fix calling various static functions through a type instance.Gravatar Sadie Powell2023-01-111-1/+1
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-4/+4
* | Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-3/+3
* | Rework how users are assigned to connect classes.•••- Move core connect class checks and <performance:clonesonconnect> to the core_user module. - Add pre-change and post-change events for when a connect class changes. - Split explicit class changing out into its own method. - Remove the need to almost always call CheckClass after SetClass. - Add use counting to the connect class instead of relying on the shared_ptr use count. Gravatar Sadie Powell2023-01-081-178/+69
* | Fix CanUseSnomask checking the wrong snomask index.•••We reuse the mode index packing here to avoid duplication. Gravatar Sadie Powell2023-01-021-1/+1
* | Fix getting the full snomask and mode lists.Gravatar Sadie Powell2023-01-021-7/+12
* | Get rid of the virtual Has*Permission methods.•••These are no longer needed now we store privs for the remote oper. Gravatar Sadie Powell2023-01-021-46/+0