aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
Commit message (Expand)AuthorAgeFilesLines
* Allow using the long duration format in the xline message.Gravatar Sadie Powell2025-03-181-8/+10
* Rename ToHuman to ToLongString.•••This name is used by functions in too many places already. Gravatar Sadie Powell2025-03-181-1/+1
* Add Duration::ToHuman and update messages to use it.Gravatar Sadie Powell2025-03-031-1/+1
* 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-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+1
* Move TokenList back to its own header and move INSP_FORMAT to compat.•••This allows making stringutils an optional header given that most of it is not used by most of the codebase. Gravatar Sadie Powell2023-09-031-0/+1
* Fix some cases missed in the previous commit.Gravatar Sadie Powell2023-07-251-3/+2
* Add the %created% and %fulltype% variables for the X-line reason.Gravatar Sadie Powell2023-07-251-0/+2
* Make the X-line quit message format a lot more flexible.Gravatar Sadie Powell2023-07-211-12/+17
* 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-14/+14
* Misc XLine cleanup.Gravatar Sadie Powell2023-06-051-17/+5
* Make XLine::Matches const.Gravatar Sadie Powell2023-06-051-11/+11
* Make XLine::Displayable const.Gravatar Sadie Powell2023-06-051-5/+5
* Remove unnecessary prefix from bancache log messages.Gravatar Sadie Powell2023-06-041-1/+1
* Convert DelLine from const char* to const std::string&.Gravatar Sadie Powell2023-05-301-1/+1
* Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-1/+1
* Allow customising the message shown when hiding an X-line ban.Gravatar Sadie Powell2023-04-181-6/+12
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-6/+6
* Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-2/+3
* Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-2/+3
* Fix calling various static functions through a type instance.Gravatar Sadie Powell2023-01-111-3/+3
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-7/+22
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-181-0/+1
|\|
| * Clear the ban cache when an xline is expired as well as removed.Gravatar Sadie Powell2022-10-151-0/+1
| * Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-041-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-19/+19
* | Use auto in places where it is really obvious what the type is.Gravatar Sadie Powell2022-09-041-1/+0
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-21/+9
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-3/+2
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-6/+6
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-1/+1
* | 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-04-051-1/+1
|\|
| * Fix some more grammar errors in xline messages.Gravatar Sadie Powell2022-04-051-1/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-5/+5
* | Add a quick method for adding a generic RPL_STATS row.Gravatar Sadie Powell2021-12-241-1/+1
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-5/+10
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-281-0/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-8/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-1/+1
|\|
| * Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-1/+1
| * Code refactor and minor fix (#1879)Gravatar Herman2021-06-121-2/+3
* | 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