| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove InValidMask as it only has one unnecessary use. | 2026-02-12 | 1 | -35/+0 | |
| | | |||||
| * | Delete the old hashing interface and modules. | 2025-04-06 | 1 | -20/+0 | |
| | | |||||
| * | Merge branch 'insp4' into master. | 2025-03-29 | 1 | -1/+1 | |
| |\ | |||||
| | * | Add constants for the common time formats. | 2025-03-23 | 1 | -1/+1 | |
| | | | |||||
| * | | Move DefaultIsNick/DefaultIsUser/IsNick/IsUser to UserManager. | 2025-03-23 | 1 | -47/+0 | |
| | | | |||||
| * | | Merge branch 'insp4' into master. | 2025-03-22 | 1 | -1/+1 | |
| |\| | |||||
| | * | Rename ToHuman to ToLongString. | 2025-03-18 | 1 | -1/+1 | |
| | | | | | | | | | This name is used by functions in too many places already. | ||||
| * | | Merge branch 'insp4' into master. | 2025-03-10 | 1 | -1/+19 | |
| |\| | |||||
| | * | Add an flag to ToHuman to shorten the output. | 2025-03-03 | 1 | -1/+19 | |
| | | | |||||
| * | | Merge branch 'insp4' into master. | 2025-03-03 | 1 | -0/+71 | |
| |\| | |||||
| | * | Add Duration::ToHuman and update messages to use it. | 2025-03-03 | 1 | -0/+71 | |
| | | | |||||
| * | | Merge branch 'insp4' into master. | 2025-03-02 | 1 | -3/+3 | |
| |\| | |||||
| | * | Fix a compiler error in helperfuncs. | 2025-03-02 | 1 | -1/+1 | |
| | | | |||||
| | * | Splat some unfinished code that made it into the previous commit. | 2025-03-01 | 1 | -2/+2 | |
| | | | |||||
| * | | Merge branch 'insp4' into master. | 2025-03-01 | 1 | -21/+50 | |
| |\| | |||||
| | * | Avoid the use of ConvToStr in string concatenation. | 2025-03-01 | 1 | -3/+3 | |
| | | | | | | | | | | | This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually. | ||||
| | * | Update copyright headers. | 2025-02-28 | 1 | -1/+1 | |
| | | | |||||
| | * | Improve the consistency of duration strings. | 2025-02-28 | 1 | -17/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately because of leap years we can't really make duration strings exact. Because of this we have always added 6 hours on to each year to make it correct over time. However, we did not do this in any kind of consistent way which resulted in weird roundtripped duration strings which made this very confusing for users While I'm touching the duration code I've also cleaned it up. | ||||
| * | | Merge branch 'insp4' into master. | 2024-12-01 | 1 | -0/+2 | |
| |\| | |||||
| | * | Fix stripping adjacent formatting codes. | 2024-11-27 | 1 | -0/+2 | |
| | | | |||||
| * | | Merge branch 'insp4' into master. | 2024-09-09 | 1 | -69/+132 | |
| |\| | |||||
| | * | Use string_view in InspIRCd::Is{FQDN,Host,SID}. | 2024-09-07 | 1 | -5/+5 | |
| | | | |||||
| | * | Update copyright headers. | 2024-09-07 | 1 | -2/+2 | |
| | | | |||||
| | * | Fix a regression in ProcessColors. | 2024-09-02 | 1 | -10/+2 | |
| | | | | | | | | | | | We should wait until v5 to be this aggressive with MOTD parsing so we dont break existing users in a minor release. | ||||
| | * | Minor performance improvement to ProcessColors. | 2024-08-31 | 1 | -1/+1 | |
| | | | |||||
| | * | Refactor InspIRCd::StripColor. | 2024-08-30 | 1 | -21/+41 | |
| | | | | | | | | | | | - Only strip characters we actually recognise. - Strip the value for hex color codes. | ||||
| | * | Add MOTD escape sequences for { and }. | 2024-08-30 | 1 | -0/+2 | |
| | | | |||||
| | * | Allow using color codes by name in MOTD files. | 2024-08-29 | 1 | -1/+62 | |
| | | | |||||
| | * | Refactor InspIRCd::ProcessColors. | 2024-08-29 | 1 | -44/+32 | |
| | | | |||||
| * | | Merge branch 'insp4' into master. | 2024-08-29 | 1 | -9/+15 | |
| |\| | |||||
| | * | Deprecate the raw overload of GenRandomStr in favour of GenRandom. | 2024-08-27 | 1 | -3/+21 | |
| | | | | | | | | | | | | | | | | | The raw overload was almost always misused where GenRandom would be better. While we're making changes to this code switch the printable mode to use a static array like Anope does. | ||||
| | * | Change InspIRCd::ProcessColors to take a string instead of a vector. | 2024-08-27 | 1 | -1/+6 | |
| |/ | | | | | | This is more useful for how MOTDs are processed now as we iterate through them anyway and this allows us to avoid a needless second iteration. | ||||
| * | Update copyright headers. | 2024-07-14 | 1 | -1/+1 | |
| | | |||||
| * | Fix using getentropy() on musl libc. | 2024-07-13 | 1 | -0/+4 | |
| | | |||||
| * | Use getentropy() from POSIX 2024 if it is available. | 2024-07-13 | 1 | -1/+5 | |
| | | |||||
| * | Update copyright headers. | 2024-06-07 | 1 | -6/+3 | |
| | | |||||
| * | Update usages of stdalgo::string::equalsci to use insp::equalsci. | 2023-08-11 | 1 | -1/+2 | |
| | | |||||
| * | Work around MSVC not implementing uniform_int_distribution<char>. | 2023-07-15 | 1 | -2/+2 | |
| | | |||||
| * | Replace rand/rand_s/random with the C++11 random number generator. | 2023-07-15 | 1 | -16/+6 | |
| | | |||||
| * | Retain the "real" username properly like we do for hostnames. | 2023-06-29 | 1 | -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. | 2023-05-10 | 1 | -2/+2 | |
| | | |||||
| * | Move CheckPassword to helperfuncs. | 2023-05-08 | 1 | -0/+20 | |
| | | |||||
| * | Merge branch 'insp3' into master. | 2023-04-28 | 1 | -1/+1 | |
| |\ | |||||
| | * | Update copyright headers. | 2023-04-28 | 1 | -1/+1 | |
| | | | |||||
| * | | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. | 2023-01-23 | 1 | -23/+0 | |
| | | | |||||
| * | | Replace InspIRCd::Format with fmt::format. | 2023-01-23 | 1 | -7/+0 | |
| | | | |||||
| * | | Move duration functions to their own header. | 2023-01-23 | 1 | -17/+13 | |
| | | | |||||
| * | | Merge branch 'insp3' into master. | 2023-01-13 | 1 | -2/+2 | |
| |\| | |||||
| | * | Fix core_dns rejecting simple hostnames. | 2023-01-13 | 1 | -2/+2 | |
| | | | |||||
| * | | Qualify auto correctly in all cases. | 2023-01-10 | 1 | -3/+3 | |
| | | | |||||
