aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
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-2910-37/+54
* Make internal bug messages more consistent.Gravatar Sadie Powell2023-06-121-1/+1
* Fix commands overflowing the message size in `/STATS Oo`.Gravatar Sadie Powell2023-06-041-2/+2
* Fix exposing oper hosts in `/STATS P`.Gravatar Sadie Powell2023-06-041-1/+1
* Fix calling c_str() for parameters that can take a std::string.Gravatar Sadie Powell2023-05-311-1/+1
* Convert DelLine from const char* to const std::string&.Gravatar Sadie Powell2023-05-305-5/+5
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-05-301-1/+1
|\
| * If no DNS bindport is specified then randomise it on rehash.Gravatar Sadie Powell2023-05-291-1/+1
* | Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-1012-14/+18
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-04-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
* | Send ERR_NOPERMFORHOST when a user hits a deny class.Gravatar Sadie Powell2023-03-241-1/+4
* | Send ERR_PASSWDMISMATCH when the user specifies the wrong password.•••Closes #1099. Gravatar Sadie Powell2023-03-241-0/+4
* | Allow modules to provide an error for when a class doesn't match.Gravatar Sadie Powell2023-03-241-1/+1
* | Remove GetSID, rename sid to ServerId.Gravatar Sadie Powell2023-02-281-1/+1
* | Refactor the password checking API.•••- Rename from (On)PassCompare to (On)CheckPassword. - Fix the order of the arguments to be password, hash, value. This makes more sense than what it was previously. - Fix the code documentation to not be complete nonsense and not reference ancient outdated APIs. Gravatar Sadie Powell2023-02-281-1/+1
* | Sort opers alphabetically in `/STATS P`.Gravatar Sadie Powell2023-02-271-0/+5
* | Make module classes specify their priority manually.Gravatar Sadie Powell2023-02-271-1/+1
* | Use the stats row count instead of counting opers manually.Gravatar Sadie Powell2023-02-271-3/+2
* | Expose the removed away message in OnUserBack.Gravatar Sadie Powell2023-02-031-1/+2
* | Allow bouncers to introduce a user as away.Gravatar Sadie Powell2023-02-031-0/+1
* | Move CheckExemption::Call to CheckExemption::EventProvider.•••Now FirstResult not a macro there's no need for this to be a free function. Gravatar Sadie Powell2023-01-251-1/+1
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-254-6/+6
* | Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-2416-35/+35
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-2411-42/+42
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-2317-59/+59
* | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf.Gravatar Sadie Powell2023-01-232-6/+6
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-2319-71/+67
* | Move duration functions to their own header.Gravatar Sadie Powell2023-01-239-14/+18
* | Move NotifyRawIO to the Log namespace.Gravatar Sadie Powell2023-01-221-1/+1
* | Replace ModeAction with bool.•••This enum is functionally the same as bool but with weird semantics. Gravatar Sadie Powell2023-01-226-24/+24
* | Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-223-6/+6
* | Replace SocketEngine::SetReuse with SocketEngine::SetOption.Gravatar Sadie Powell2023-01-171-1/+1
* | Add a helper method for determining if a sockaddrs is an IP endpoint.Gravatar Sadie Powell2023-01-171-1/+1
* | Fix some testing changes that snuck in to the previous commit.Gravatar Sadie Powell2023-01-161-1/+1
* | Add support for SCTP listeners.Gravatar Sadie Powell2023-01-161-1/+15
* | Move enforcing channel join limits to core_channel.Gravatar Sadie Powell2023-01-161-1/+24
* | Use insp::reverse_range in core_mode.Gravatar Sadie Powell2023-01-141-1/+1
* | Remove some more unnecessary things from the global headers.Gravatar Sadie Powell2023-01-141-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-131-2/+2
|\|
| * Fix core_dns rejecting simple hostnames.Gravatar Sadie Powell2023-01-131-1/+1
* | Make some functions that don't use `this` static.Gravatar Sadie Powell2023-01-112-2/+2
* | Fix calling various static functions through a type instance.Gravatar Sadie Powell2023-01-114-4/+4
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-1025-38/+38
* | Fix using std::move when not appropriate.Gravatar Sadie Powell2023-01-101-1/+1
* | Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-1010-14/+14
* | Deduplicate sending the raw I/O logging warning.Gravatar Sadie Powell2023-01-091-4/+1
* | Rework how users are assigned to connect classes.•••- Move core connect class checks and <performance:clonesonconnect> to the core_user module. - Add pre-change and post-change events for when a connect class changes. - Split explicit class changing out into its own method. - Remove the need to almost always call CheckClass after SetClass. - Add use counting to the connect class instead of relying on the shared_ptr use count. Gravatar Sadie Powell2023-01-084-6/+109
* | Add some overloads of Find{Nick,UUID,} for local/remote users.Gravatar Sadie Powell2023-01-071-3/+3
* | Add a helper class for creating a reference to a DNS manager.Gravatar Sadie Powell2023-01-051-2/+2