aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-0141-51/+41
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-3042-52/+42
* | Use delete_zero in place that it makes sense to.Gravatar Sadie Powell2022-12-271-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-251-4/+4
|\|
* | Refactor SocketEngine slightly.•••- Remove pointless shutdown() wrapper. - Remove pointless bounds checking function. - Make Bind and Listen take an EventHandler instead of a fd. - Add nullability attributes to every method. Gravatar Sadie Powell2022-12-251-1/+1
* | Pass the client/server sockaddr around as a ref instead of a ptr.Gravatar Sadie Powell2022-12-251-1/+1
* | Remove the string_view utility header from the global header.Gravatar Sadie Powell2022-12-231-0/+1
* | Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-192-0/+2
* | Use in_port_t instead of int/unsigned int/long.Gravatar Sadie Powell2022-12-181-3/+4
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-182-4/+4
* | Update /MOTD to match /OPERMOTD.Gravatar Sadie Powell2022-12-181-2/+2
* | Move <oper:autologin> from m_sslinfo to core_oper and rework.•••- Promote autologin to a core concept with visibility in events. - Replace the binary yes/no value with strict/relaxed/never. This intentionally breaks v3 oper block autologin as admins will need to review them for the security implications of the new behaviour. Gravatar Sadie Powell2022-12-111-7/+27
* | Improve the oper login flow and error messages.Gravatar Sadie Powell2022-12-112-24/+32
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-107-17/+32
|\|
| * Tell an oper when the X-line they were trying to match is too wide.•••Also move the snotice for an overwide X-line to snomask 'X' which should have been done when it was added. Gravatar Sadie Powell2022-12-107-8/+12
| * Allow specifying multiple masks when adding an X-line.•••The only exemptions for this are RLINE (a real name might contains commas) and SVSHOLD (sent by services only). Closes #1972. Gravatar Sadie Powell2022-12-105-9/+20
* | Move password checking from core_oper into OperAccount.Gravatar Sadie Powell2022-12-101-2/+1
* | Remove the unused Extensible* parameter to PassCompare/OnPassCompare.Gravatar Sadie Powell2022-12-101-1/+1
* | Slightly improve the logging in cmd_oper.Gravatar Sadie Powell2022-12-101-4/+3
* | Move <oper:host> check into OnPreOperLogin.Gravatar Sadie Powell2022-12-102-5/+10
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-092-9/+23
|\|