aboutsummaryrefslogtreecommitdiff
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-011-3/+3
* Use `T&&` instead of `T` or `const T&`.Gravatar Sadie Powell2022-11-291-2/+2
* Move the oper statistics to core_oper and rewrite.•••The numerics we used previously were not being used according to the RFC and every implementation has their own behaviour here which makes it hard for clients to do anything reasonable. Instead of this using the generic stats numeric makes a lot more sense. Gravatar Sadie Powell2022-11-291-0/+11
* Refactor the internals of the oper system.•••- Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. Gravatar Sadie Powell2022-11-281-10/+104
* Clean up the typedefs for OnBuildNeighborList.Gravatar Sadie Powell2022-10-291-0/+6
* Rename session registration to connection to avoid a semantic conflict.•••We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works. Gravatar Sadie Powell2022-10-291-27/+28
* Allow UserManager::Find{Nick,UUID,} to ignore unregistered users.Gravatar Sadie Powell2022-10-291-0/+4
* More const correctness.Gravatar Sadie Powell2022-10-231-5/+5
* Assign more class members inline instead of in the constructor.Gravatar Sadie Powell2022-10-211-2/+1
* Rename User::age to User::nickchanged and fix the docs.Gravatar Sadie Powell2022-10-111-3/+2
* Mark User::Has{Command,Priv}Permission as const.Gravatar Sadie Powell2022-10-071-4/+4
* Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-3/+3
* Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* Rip out the extensible/user serialisation system.•••This was part of a failed attempt to implement zero downtime restarts in v3. This can be implemented in a better way but for now its just slowing down build times so lets kill it. Gravatar Sadie Powell2022-09-011-13/+0
* Update some code that uses "endpoint" to use "socket address" instead.Gravatar Sadie Powell2022-09-011-2/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-271-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-08-251-1/+1
* | Rename SetClientIP to ChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-6/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-101-4/+1
|\|
| * Deprecate the string variant of SetClientIP.•••Nothing uses this anymore. Gravatar Sadie Powell2022-08-101-4/+5
* | Remove some unnecessary getters in ConnectClass.•••All of these members are public anyway. Gravatar Sadie Powell2022-07-221-62/+0
* | Format enums with an underlying type like classes.Gravatar Sadie Powell2022-04-301-2/+4
* | Add a typedef for the mode status bitset.Gravatar Sadie Powell2022-03-271-1/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-9/+9
* | Revert "Allow setting extension data on connect classes".•••This can't reasonably be implemented safely with the current way that extensibles work. This reverts commit b867007d201b1a3b130186c54e41481c0374a7f6. Gravatar Sadie Powell2022-01-161-1/+0
* | Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.Gravatar Sadie Powell2022-01-161-4/+7
* | Allow setting extension data on connect classes.Gravatar Sadie Powell2022-01-161-0/+1
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-5/+11
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-141-0/+6
|\|
| * If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-141-0/+3
| * Sync uniqueusername from the connect class to the user.•••This is a massive hack for now but should be made to sync properly in v4 when we have extensibles that don't suck. Gravatar Sadie Powell2021-12-141-0/+3
* | Move configuration of connect classes to the ConnectClass class.Gravatar Sadie Powell2021-11-241-0/+3
* | Refactor the ClassTypes enum and move into ConnectClass.Gravatar Sadie Powell2021-11-241-15/+17
* | Add sensible defaults and limits to ConnectClass.Gravatar Sadie Powell2021-11-241-18/+18
* | Fix ConnectClass inheriting from refcountbase.•••This snuck back in during the v3 merge. Closes #1944. Gravatar Sadie Powell2021-11-241-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-11-241-66/+50
|\|
| * Add the <connect:uniqueusername> option.Gravatar Sadie Powell2021-11-231-0/+3
| * Document ConnectClass and reorder it to avoid unnecessary padding.Gravatar Sadie Powell2021-11-161-67/+54
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-011-1/+1
|\|
| * Change ForEachNeighbour to return the already sent id.Gravatar Sadie Powell2021-07-241-3/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-5/+5
|\|
| * Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-5/+5
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-14/+14
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-3/+3
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-3/+3
* | Rip out the SwapInternals method.•••This never really worked correctly and will now be replaced with something better. Gravatar Sadie Powell2021-04-191-5/+0
* | Fix various uses of the _t suffix which is reserved by POSIX.Gravatar Sadie Powell2021-04-171-3/+1
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-3/+0