aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Fix showing command list when a user has the servers/auspex priv.Gravatar Sadie Powell2023-08-201-1/+1
* Fix list modes unintentionally being case sensitive.•••Closes #907. Gravatar Sadie Powell2023-08-123-0/+42
* Rename the error log level to critical.•••"ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions. Gravatar Sadie Powell2023-08-112-6/+6
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-1/+2
* Move stdalgo::string::join to utility/string and templatise separator.Gravatar Sadie Powell2023-08-113-6/+7
* Rename utility/string_view to utility/string.Gravatar Sadie Powell2023-08-111-1/+1
* Rework how away state is stored internally.•••This will be necessary for implementing pre-away as well as some changes for WATCH compatibility with Unreal. Gravatar Sadie Powell2023-08-046-14/+13
* Simplify the codes that InspIRCd can exit with.•••The custom codes that InspIRCd exits with are not very useful and can confuse init systems like systemd which assume that certain exit codes mean certain things. INSPIRCD_BINARY_EXIT was a workaround for this in v3 but considering thatsers have to check the logs anyway so we may as well just use EXIT_SUCCESS and EXIT_FAILURE. Gravatar Sadie Powell2023-07-131-3/+1
* Normalise the case of ServerStats.Gravatar Sadie Powell2023-07-131-10/+10
* Fix sending the wrong message when a user requests stats.•••Closes #2051. Gravatar Sadie Powell2023-07-121-1/+1
* Remove rang and use fmtlib for printing coloured messages.•••This supports more platforms (e.g. Haiku) and is actually still maintained unlike the former. All of this code should really be cleaned up for release (maybe by adding something like Anope's LOG_CONSOLE) but for now I've just replaced it with the fmtlib equivalent. Gravatar Sadie Powell2023-07-121-1/+0
* Remove an unnecessary check from core_user.Gravatar Sadie Powell2023-07-061-2/+1
* If a user is (mute)banned then also hide their part message.Gravatar Sadie Powell2023-07-061-0/+10
* Replace FileReader with something more sensible.Gravatar Sadie Powell2023-07-033-14/+10
* Refactor the ServerConfig class.•••All fields are now ordered in the most memory efficient way and all public fields use the correct case. Every member has been redocumented to match the current documentation style. Gravatar Sadie Powell2023-07-031-2/+2
* 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