aboutsummaryrefslogtreecommitdiff
path: root/include/modules.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-3/+1
* Add nullability attributes to module functions.Gravatar Sadie Powell2024-06-041-65/+65
* Allow mutating the status message type in OnUserPre(Tag)Message.Gravatar Sadie Powell2024-05-061-1/+1
* Rename some of the Module member variables.Gravatar Sadie Powell2024-03-041-8/+6
* Move DataProvider to base.Gravatar Sadie Powell2024-01-221-8/+0
* Remove OnPreChange{Host,RealName} events and deboolify methods.•••These have not ever been used as far as I can see. Gravatar Sadie Powell2023-06-291-18/+0
* 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-6/+18
* Fix casing of metadata in function and event names.•••Metadata is one word not two so it shouldn't be capitalised like this. Gravatar Sadie Powell2023-05-301-3/+3
* Allow modules to provide an error for when a class doesn't match.Gravatar Sadie Powell2023-03-241-1/+2
* 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-12/+10
* 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-7/+24
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
* | Pass the client/server sockaddr around as a ref instead of a ptr.Gravatar Sadie Powell2022-12-251-1/+1
* | Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-1/+1
* | Rework the levels things are logged at to make more sense.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-3/+6
* | Remove the unused Extensible* parameter to PassCompare/OnPassCompare.Gravatar Sadie Powell2022-12-101-2/+1
* | Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-011-1/+1
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-1/+1
* | Refactor the internals of the oper system.•••- Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. Gravatar Sadie Powell2022-11-281-23/+35
* | Clean up the typedefs for OnBuildNeighborList.Gravatar Sadie Powell2022-10-291-2/+2
* | Rename session registration to connection to avoid a semantic conflict.•••We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works. Gravatar Sadie Powell2022-10-291-3/+3
* | More const correctness.Gravatar Sadie Powell2022-10-231-2/+2
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-29/+29
* | Refactor the core event macros.Gravatar Sadie Powell2022-08-201-65/+49
* | Rename OnSetUserIP to OnChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-4/+4
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* | Make dynamic a non-default header.Gravatar Sadie Powell2022-06-261-6/+1
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-1/+1
* | Remove unnecessary arguments to On(Post)Oper.•••These are already accessible from the user object. Gravatar Sadie Powell2022-05-071-5/+2
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-111-1/+1
|\|
| * Fix various minor Doxygen warnings.Gravatar Sadie Powell2022-02-021-1/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-8/+8
* | Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.Gravatar Sadie Powell2022-01-161-1/+1
* | Allow setting extension data on connect classes.Gravatar Sadie Powell2022-01-161-3/+1
* | Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-1/+1
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-4/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-08-271-1/+1
* | Add a detach method that takes an Implementation array.Gravatar Sadie Powell2021-08-171-0/+9
* | Reorder some functions in the ModuleManager class.Gravatar Sadie Powell2021-08-171-12/+12
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-9/+9
|\|
| * Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-9/+9
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-06-181-1/+8
|\|
| * Fix xline matching on WebIRC connections.Gravatar Sadie Powell2021-06-171-2/+9
* | Fire OnUserPreJoin regardless of whether the join is an override.Gravatar Sadie Powell2021-05-231-1/+2