| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add <security:banrealmask>. | 2025-04-16 | 1 | -2/+2 | |
| | | |||||
| * | Delete the old hashing interface and modules. | 2025-04-06 | 1 | -1/+0 | |
| | | |||||
| * | Replace stalgo::erase with C++20 std::erase. | 2024-08-25 | 1 | -2/+2 | |
| | | |||||
| * | Remove support for the v3 server protocol. | 2024-07-23 | 1 | -3/+2 | |
| | | |||||
| * | Revert module flags to the way they worked in v3. | 2024-07-22 | 1 | -1/+1 | |
| | | |||||
| * | Allow contrib modules to specify their own module version. | 2024-07-22 | 1 | -0/+15 | |
| | | |||||
| * | Update copyright headers. | 2024-06-21 | 1 | -1/+1 | |
| | | |||||
| * | Update copyright headers. | 2024-06-07 | 1 | -4/+2 | |
| | | |||||
| * | Allow mutating the status message type in OnUserPre(Tag)Message. | 2024-05-06 | 1 | -1/+1 | |
| | | |||||
| * | Rename some of the Module member variables. | 2024-03-04 | 1 | -9/+9 | |
| | | |||||
| * | Rename the error log level to critical. | 2023-08-11 | 1 | -3/+3 | |
| | | | | | | "ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions. | ||||
| * | Simplify the codes that InspIRCd can exit with. | 2023-07-13 | 1 | -5/+4 | |
| | | | | | | | | 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. | ||||
| * | Remove rang and use fmtlib for printing coloured messages. | 2023-07-12 | 1 | -7/+11 | |
| | | | | | | | | | | 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. | ||||
| * | Avoid culling DLLManager instances twice. | 2023-07-05 | 1 | -0/+3 | |
| | | |||||
| * | Remove OnPreChange{Host,RealName} events and deboolify methods. | 2023-06-29 | 1 | -2/+0 | |
| | | | | | These have not ever been used as far as I can see. | ||||
| * | Retain the "real" username properly like we do for hostnames. | 2023-06-29 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | 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. | ||||
| * | Fix casing of metadata in function and event names. | 2023-05-30 | 1 | -1/+1 | |
| | | | | | Metadata is one word not two so it shouldn't be capitalised like this. | ||||
| * | Allow modules to provide an error for when a class doesn't match. | 2023-03-24 | 1 | -1/+1 | |
| | | |||||
| * | Refactor the password checking API. | 2023-02-28 | 1 | -1/+1 | |
| | | | | | | | | | | | - 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. | ||||
| * | Convert log calls to use fmtlib format strings | 2023-01-24 | 1 | -7/+7 | |
| | | |||||
| * | Fix some issues reported by scan-build. | 2023-01-15 | 1 | -5/+15 | |
| | | | | | All of these are harmless and should never cause an issue in practise. | ||||
| * | Qualify auto correctly in all cases. | 2023-01-10 | 1 | -1/+1 | |
| | | |||||
| * | Rework how users are assigned to connect classes. | 2023-01-08 | 1 | -1/+3 | |
| | | | | | | | | | | | | - 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. | ||||
| * | Merge branch 'insp3' into master. | 2023-01-01 | 1 | -2/+1 | |
| |\ | |||||
| | * | Update copyright headers. | 2022-12-30 | 1 | -2/+1 | |
| | | | |||||
| * | | Use delete_zero in place that it makes sense to. | 2022-12-27 | 1 | -4/+1 | |
| | | | |||||
| * | | Pass the client/server sockaddr around as a ref instead of a ptr. | 2022-12-25 | 1 | -1/+1 | |
| | | | |||||
| * | | Rework the levels things are logged at to make more sense. | 2022-12-18 | 1 | -5/+4 | |
| | | | |||||
| * | | Move <oper:autologin> from m_sslinfo to core_oper and rework. | 2022-12-11 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | - 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. | ||||
| * | | Remove the unused Extensible* parameter to PassCompare/OnPassCompare. | 2022-12-10 | 1 | -1/+1 | |
| | | | |||||
| * | | Avoid copying a shared_ptr where not actually necessary. | 2022-12-01 | 1 | -1/+1 | |
| | | | |||||
| * | | Yet more stylistic fixes. | 2022-12-01 | 1 | -2/+7 | |
| | | | |||||
| * | | Refactor the internals of the oper system. | 2022-11-28 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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. | ||||
| * | | Clean up the typedefs for OnBuildNeighborList. | 2022-10-29 | 1 | -1/+1 | |
| | | | |||||
| * | | More const correctness. | 2022-10-23 | 1 | -4/+4 | |
| | | | |||||
| * | | Handle renamed modules when reading the modules to load. | 2022-10-18 | 1 | -5/+1 | |
| | | | |||||
| * | | Rename user_hash to UserMap and move to usermanager. | 2022-10-07 | 1 | -2/+2 | |
| | | | |||||
| * | | Fix various cases of the &* being next to the name instead of type. | 2022-09-29 | 1 | -3/+3 | |
| | | | |||||
| * | | Clean up the Windows build process and remove some legacy code. | 2022-09-03 | 1 | -3/+2 | |
| | | | |||||
| * | | Rename OnSetUserIP to OnChangeRemoteAddress. | 2022-08-10 | 1 | -1/+1 | |
| | | | |||||
| * | | Add support for clearing the target of a dynamic_reference. | 2022-07-30 | 1 | -0/+6 | |
| | | | |||||
| * | | Switch from NULL to nullptr. | 2022-07-22 | 1 | -7/+7 | |
| | | | |||||
| * | | Make dynamic a non-default header. | 2022-06-26 | 1 | -0/+1 | |
| | | | |||||
| * | | Fix various bugs relating to platform-native module extensions. | 2022-06-26 | 1 | -1/+1 | |
| | | | |||||
| * | | Add a typedef for a mode rank. | 2022-05-17 | 1 | -1/+1 | |
| | | | |||||
| * | | Remove unnecessary arguments to On(Post)Oper. | 2022-05-07 | 1 | -2/+2 | |
| | | | | | | | | | These are already accessible from the user object. | ||||
| * | | Rewrite logging calls to use the new APIs. | 2022-05-01 | 1 | -10/+10 | |
| | | | |||||
| * | | Move stdalgo::map::difference to its own utility header. | 2022-01-31 | 1 | -1/+2 | |
| | | | |||||
| * | | Replace consolecolors with a vendored library. | 2022-01-26 | 1 | -5/+7 | |
| | | | | | | | | | | | This library supports much more than consolecolors including the Windows 8 console API. | ||||
| * | | Slim the included headers down more. | 2022-01-26 | 1 | -1/+3 | |
| | | | |||||
