aboutsummaryrefslogtreecommitdiff
path: root/include/modules.h
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-311-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2026-03-311-1/+1
* | Replace some C-style array usage with Modern C++.Gravatar Sadie Powell2026-03-291-7/+10
* | Fix various minor Doxygen issues.Gravatar Sadie Powell2026-03-291-2/+4
* | Move service types to their own namespace.•••- ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them. Gravatar Sadie Powell2026-03-291-36/+19
* | Switch modules from reference<> to shared_ptr<> and weak_ptr<>.Gravatar Sadie Powell2026-03-291-23/+35
* | Move CUList to be declared inside User.Gravatar Sadie Powell2026-03-261-4/+4
* | Switch typedefs to using statements.Gravatar Sadie Powell2026-03-261-1/+1
* | Clean up the casemapping checking and comparison code.Gravatar Sadie Powell2026-03-131-5/+5
* | Move <options:defaultmodes> to <channels> and rework.•••- The default prefix modes are now separate from the default channel modes. This should result in less accidentally broken configs. - The privs are now pre-parsed to a list of mode references. This should improve performance slightly as the repeated mode lookups are gone. It also allows us to write warnings to the debug log when the default privs are invalid. - Channels can now have a default topic. Gravatar Sadie Powell2026-03-121-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-091-1/+7
|\|
| * Add the VF_DEPRECATED flag and warn on load about deprecation.Gravatar Sadie Powell2026-03-091-1/+7
* | Make the ban checking functions able to check any list mode.Gravatar Sadie Powell2026-03-081-8/+8
* | Fix various minor Doxygen issues.Gravatar Sadie Powell2026-03-081-1/+4
* | Add the old connect class to OnPostChangeConnectClass.Gravatar Sadie Powell2026-03-061-1/+2
* | Clean up ModuleManager somewhat.Gravatar Sadie Powell2026-03-041-12/+16
* | Massive rework of how internal service providers work.•••- ServiceType is dead. All modules use RegisterService now. - Modules can implement UnregisterService which is called from DelService now. - Split the service type prefix into its own field. - Renamed Service::name to Service::service_name. This revealed a few bugs. Gravatar Sadie Powell2026-03-021-6/+18
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2026-01-041-0/+1
|\|
| * Allow specifying a module name in SetPriority.Gravatar Sadie Powell2025-12-311-0/+1
* | Add <security:banrealmask>.Gravatar Sadie Powell2025-04-161-2/+2
* | Delete the old hashing interface and modules.Gravatar Sadie Powell2025-04-061-10/+0
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-02-141-2/+2
|\|
| * Convert debug logging from string concatenation to format strings.•••When running in normal mode this will prevent a bunch of expensive string concatenation. Gravatar Sadie Powell2025-01-231-2/+2
* | Remove support for the v3 server protocol.Gravatar Sadie Powell2024-07-231-2/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-07-221-0/+13
|\|
| * Allow contrib modules to specify their own module version.Gravatar Sadie Powell2024-07-221-0/+13
* | Adjust the build system for the new module structure.Gravatar Sadie Powell2024-07-171-1/+0
|/
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-2/+2
* 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