aboutsummaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-07-141-1/+1
|
* Fix using getentropy() on musl libc.Gravatar Sadie Powell2024-07-131-0/+4
|
* Use getentropy() from POSIX 2024 if it is available.Gravatar Sadie Powell2024-07-131-1/+5
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-6/+3
|
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-1/+2
|
* Work around MSVC not implementing uniform_int_distribution<char>.Gravatar Sadie Powell2023-07-151-2/+2
|
* Replace rand/rand_s/random with the C++11 random number generator.Gravatar Sadie Powell2023-07-151-16/+6
|
* Retain the "real" username properly like we do for hostnames.Gravatar Sadie Powell2023-06-291-2/+2
| | | | | | | | | | | | | | 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.
* Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-2/+2
|
* Move CheckPassword to helperfuncs.Gravatar Sadie Powell2023-05-081-0/+20
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-04-281-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
| |
* | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf.Gravatar Sadie Powell2023-01-231-23/+0
| |
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-7/+0
| |
* | Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-17/+13
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-131-2/+2
|\|
| * Fix core_dns rejecting simple hostnames.Gravatar Sadie Powell2023-01-131-2/+2
| |
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-3/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | Use string_view in IsNick/IsIdent/IsChannel.Gravatar Sadie Powell2022-11-211-3/+3
| |
* | 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-7/+7
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-06-221-0/+1
|\|
| * Add support for escaping hex colour codesGravatar Sadie Powell2022-06-191-0/+1
| | | | | | | | This is not widely supported but we should have an escape regardless.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-111-8/+17
|\|
| * Handle negative times in InspIRCd::Duration.Gravatar Sadie Powell2022-02-141-8/+17
| |
* | Use vector<string> instead of file_cache in ProcessColors.Gravatar Sadie Powell2022-01-181-4/+2
| |
* | Add constexpr to the initialisation of various const static fields.Gravatar Sadie Powell2022-01-181-1/+1
| |
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-1/+1
| |
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-1/+1
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
| |
* | Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-36/+0
| |
* | Refer to encryption as TLS instead of SSL in all messages.Gravatar Sadie Powell2021-04-081-1/+1
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-16/+11
| |
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+0
|\|
| * Fix a bunch of really obvious unnecessary includes.Gravatar Sadie Powell2021-03-051-2/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
| |
* | Rename ChanMax to MaxChannel for consistency with the other limits.Gravatar Sadie Powell2020-11-271-1/+1
| |
* | Rename NickMax to MaxNick for consistency with the other limits.Gravatar Sadie Powell2020-11-271-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-11-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-10-301-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-09-271-8/+6
|\|
| * Refactor GenRandomStr for performance and readability.Gravatar Sadie Powell2020-09-231-8/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-2/+2
|\|