aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_gateway.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-5/+4
* Allow using multiple SSL fingerprint algorithms.•••Closes #1804. Gravatar Sadie Powell2024-02-191-3/+18
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-3/+3
* Misc grammar fixes.Gravatar Sadie Powell2023-06-291-14/+14
* 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-32/+32
* Allow modules to provide an error for when a class doesn't match.Gravatar Sadie Powell2023-03-241-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
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-8/+8
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-10/+10
* Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-9/+8
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-6/+5
* Fix calling various static functions through a type instance.Gravatar Sadie Powell2023-01-111-1/+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-081-6/+6
* Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-0/+1
* Use in_port_t instead of int/unsigned int/long.Gravatar Sadie Powell2022-12-181-2/+2
* Remove the unused Extensible* parameter to PassCompare/OnPassCompare.Gravatar Sadie Powell2022-12-101-1/+1
* Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-011-1/+1
* Add a typedef for sa_family_t on Windows.Gravatar Sadie Powell2022-11-161-2/+2
* Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-1/+1
* Make internal penalty be specified in millisecs instead of seconds.•••This removes the need to multiply it later. Gravatar Sadie Powell2022-09-091-1/+1
* Default allow_empty_last_param to false.Gravatar Sadie Powell2022-09-071-2/+0
* Move aptosa/untosa into the sockaddrs union and add from/from_ip.•••The struct will also now always be zero-initialized by default which removes the footgun which has happened previously where the union has been accessed before being initialized leading to it containing weird values. Gravatar Sadie Powell2022-08-111-4/+4
* Rename SetClientIP to ChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-2/+2
* Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-2/+2
* Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-5/+5
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-9/+9
* Add constructors to the TokenList class.Gravatar Sadie Powell2022-01-181-1/+1
* Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.Gravatar Sadie Powell2022-01-161-1/+1
* Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-3/+3
* Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-3/+3
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-11-101-8/+24
* Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-4/+4
* Mark all command classes as final.Gravatar Sadie Powell2021-10-011-2/+4
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-171-6/+0
* Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+5
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-04-171-2/+7
* Fix a compiler error in the gateway module.Gravatar Sadie Powell2021-04-121-2/+2
* Rename the cgiirc module to gateway.Gravatar Sadie Powell2021-04-111-0/+534