aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-15/+8
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-071-0/+1
|\|
| * Send RPL_SAVENICK from irc2 when renaming a user to their UUID.Gravatar Sadie Powell2020-12-221-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-07-291-19/+19
|\|
| * Replace all erroneous space indentation with tab indentation.Gravatar Sadie Powell2020-07-291-19/+19
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-3/+3
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-2/+2