aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_anticaps.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Retain the "real" username properly like we do for hostnames.Gravatar Sadie Powell2023-06-291-1/+1
| | | | | | | | | | | | | | 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.
* Move CheckExemption::Call to CheckExemption::EventProvider.Gravatar Sadie Powell2023-01-251-1/+1
| | | | | Now FirstResult not a macro there's no need for this to be a free function.
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-2/+2
|
* Replace ModeAction with bool.Gravatar Sadie Powell2023-01-221-3/+3
| | | | This enum is functionally the same as bool but with weird semantics.
* Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-21/+22
|
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-3/+3
|
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
|
* Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-0/+1
|
* Use a global typedef for representing a character set.Gravatar Sadie Powell2022-09-301-2/+2
|
* Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-4/+4
|
* Move numeric helper classes to their own header.Gravatar Sadie Powell2022-06-261-0/+1
|
* Modernize the syntax of various templates.Gravatar Sadie Powell2022-06-231-1/+1
|
* Slim the included headers down more.Gravatar Sadie Powell2022-01-261-0/+2
|
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-5/+5
|
* Fix various edge cases in extensible synchronisation.Gravatar Sadie Powell2022-01-211-1/+1
| | | | | | | | - Fix not forwarding the accountid extensible if it is set. - Rename the variadic Set() overload to SetFwd(). - Re-add the `const T&` overload of Set(). - Move `bool synced` to SimpleExtItem from StringExtItem. - Only sync extensibles if their instance is marked as syncable.
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-141-2/+3
|\
| * If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-141-2/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-11-241-2/+4
|\|
| * Use a mode reference in the anticaps module.Gravatar Sadie Powell2021-11-161-2/+4
| |
* | Mark more mode classes as final.Gravatar Sadie Powell2021-10-011-1/+1
| |
* | Mark all mode classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-3/+3
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
| |
| * Fix an off by one error in various bitsets.Gravatar Sadie Powell2021-05-141-2/+2
| |
* | Clean up the ConvTo functions.Gravatar Sadie Powell2021-04-151-1/+1
| | | | | | | | | | | | - Add a default parameter to ConvToNum. - Use std::to_string for types that implement it. - Document the functions properly.
* | Use string_view in IsCTCP.Gravatar Sadie Powell2021-04-081-2/+2
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-10/+7
| |
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-4/+0
| |
* | Add a forwarding overload of SimpleExtItem#Set.Gravatar Sadie Powell2021-03-171-1/+1
| |
* | Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-1/+1
| |
* | Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-1/+1
| |
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-2/+2
|\|
| * Set the minimum length to 1 for most config items with a default.Gravatar Sadie Powell2020-04-091-1/+1
| |
| * Add the Numerics::CannotSendTo class and switch stuff to use it.Gravatar Sadie Powell2020-04-041-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-1/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-011-1/+1
|\|
| * Update my name and email address.Gravatar Sadie Powell2019-12-311-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-2/+3
|\|
| * Show the mode syntax in ERR_INVALIDMODEPARAM.Gravatar Peter Powell2019-06-121-1/+2
| |
| * Fix showing the anticaps channel name in ERR_CANNOTSENDTOCHAN.Gravatar Peter Powell2019-06-041-1/+1
| | | | | | | | Closes #1652.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-1/+1
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
| |