aboutsummaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move DefaultIsNick/DefaultIsUser/IsNick/IsUser to UserManager.Gravatar Sadie Powell2025-03-231-0/+38
|
* Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-221-1/+1
|\
| * Rename ToHuman to ToLongString.Gravatar Sadie Powell2025-03-181-1/+1
| | | | | | | | This name is used by functions in too many places already.
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-031-1/+2
|\|
| * Use Duration::ToHuman instead of seconds in various messages.Gravatar Sadie Powell2025-03-031-1/+2
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-011-2/+2
|\|
| * Avoid the use of ConvToStr in string concatenation.Gravatar Sadie Powell2025-03-011-1/+1
| | | | | | | | | | This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually.
| * Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-02-141-5/+5
|\|
| * Convert debug logging from string concatenation to format strings.Gravatar Sadie Powell2025-01-231-5/+5
| | | | | | | | | | When running in normal mode this will prevent a bunch of expensive string concatenation.
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-11-011-0/+11
|\|
| * Merge branch 'insp3' into insp4.Gravatar Sadie Powell2024-10-101-0/+11
| |\
| | * When a server stops being ulined remove its users from the uline list.Gravatar Sadie Powell2024-10-101-0/+13
| | |
* | | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-09-091-4/+4
|\| |
| * | Update copyright headers.Gravatar InspIRCd Robot2024-09-071-1/+1
| | |
| * | Normalise the case of MOD_RESULT variables.Gravatar Sadie Powell2024-08-311-3/+3
| | |
* | | Use C++20 <format> instead of fmtlib when available.Gravatar Sadie Powell2024-08-221-2/+2
| | |
* | | Always use fmtlib directly.Gravatar Sadie Powell2024-06-071-2/+2
|/ /
* | Update copyright headers.Gravatar InspIRCd Robot2024-06-071-4/+2
| |
* | Make the X-line quit message format a lot more flexible.Gravatar Sadie Powell2023-07-211-11/+3
| |
* | Make internal bug messages more consistent.Gravatar Sadie Powell2023-06-121-3/+3
| |
* | Remove unnecessary prefix from bancache log messages.Gravatar Sadie Powell2023-06-041-2/+2
| |
* | Allow customising the message shown when hiding an X-line ban.Gravatar Sadie Powell2023-04-181-3/+11
| |
* | Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-6/+6
| |
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-4/+4
| |
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-3/+3
| |
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-2/+2
| |
* | Move NotifyRawIO to the Log namespace.Gravatar Sadie Powell2023-01-221-1/+1
| |
* | Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-1/+1
| |
* | Use the underlying transport method for pinging idle clients.Gravatar Sadie Powell2023-01-211-3/+16
| | | | | | | | Closes #1998.
* | Make some functions that don't use `this` static.Gravatar Sadie Powell2023-01-111-1/+1
| |
* | Deduplicate sending the raw I/O logging warning.Gravatar Sadie Powell2023-01-091-1/+1
| |
* | Rework how users are assigned to connect classes.Gravatar Sadie Powell2023-01-081-6/+4
| | | | | | | | | | | | | | | | | | | | | | - 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.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
| |
* | Pass the client/server sockaddr around as a ref instead of a ptr.Gravatar Sadie Powell2022-12-251-1/+1
| |
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-4/+4
| |
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-4/+7
| |
* | Refactor the internals of the oper system.Gravatar Sadie Powell2022-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Rename session registration to connection to avoid a semantic conflict.Gravatar Sadie Powell2022-10-291-12/+12
| | | | | | | | | | | | 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.
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-2/+2
| |
* | Allow UserManager::Find{Nick,UUID,} to ignore unregistered users.Gravatar Sadie Powell2022-10-291-7/+15
| |
* | Revert the previous commit slightly to work around a bug in Clang.Gravatar Sadie Powell2022-10-221-0/+5
| |
* | Assign more class members inline instead of in the constructor.Gravatar Sadie Powell2022-10-211-6/+0
| |
* | Rename user_hash to UserMap and move to usermanager.Gravatar Sadie Powell2022-10-071-2/+2
| |
* | Inline the one use of ServerNoticeAll and rm the function.Gravatar Sadie Powell2022-10-011-11/+0
| |
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
| |
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-271-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-08-251-1/+1
| |