aboutsummaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-7/+7
|
* Fix some issues reported by scan-build.Gravatar Sadie Powell2023-01-151-5/+15
| | | | All of these are harmless and should never cause an issue in practise.
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
|
* Rework how users are assigned to connect classes.Gravatar Sadie Powell2023-01-081-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.Gravatar Sadie Powell2023-01-011-2/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
| |
* | Use delete_zero in place that it makes sense to.Gravatar Sadie Powell2022-12-271-4/+1
| |
* | Pass the client/server sockaddr around as a ref instead of a ptr.Gravatar Sadie Powell2022-12-251-1/+1
| |
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-5/+4
| |
* | Move <oper:autologin> from m_sslinfo to core_oper and rework.Gravatar Sadie Powell2022-12-111-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.Gravatar Sadie Powell2022-12-101-1/+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-2/+7
| |
* | Refactor the internals of the oper system.Gravatar Sadie Powell2022-11-281-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.Gravatar Sadie Powell2022-10-291-1/+1
| |
* | More const correctness.Gravatar Sadie Powell2022-10-231-4/+4
| |
* | Handle renamed modules when reading the modules to load.Gravatar Sadie Powell2022-10-181-5/+1
| |
* | Rename user_hash to UserMap and move to usermanager.Gravatar Sadie Powell2022-10-071-2/+2
| |
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-3/+3
| |
* | Clean up the Windows build process and remove some legacy code.Gravatar Sadie Powell2022-09-031-3/+2
| |
* | Rename OnSetUserIP to OnChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-1/+1
| |
* | Add support for clearing the target of a dynamic_reference.Gravatar Sadie Powell2022-07-301-0/+6
| |
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-7/+7
| |
* | Make dynamic a non-default header.Gravatar Sadie Powell2022-06-261-0/+1
| |
* | Fix various bugs relating to platform-native module extensions.Gravatar Sadie Powell2022-06-261-1/+1
| |
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-1/+1
| |
* | Remove unnecessary arguments to On(Post)Oper.Gravatar Sadie Powell2022-05-071-2/+2
| | | | | | | | These are already accessible from the user object.
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-10/+10
| |
* | Move stdalgo::map::difference to its own utility header.Gravatar Sadie Powell2022-01-311-1/+2
| |
* | Replace consolecolors with a vendored library.Gravatar Sadie Powell2022-01-261-5/+7
| | | | | | | | | | This library supports much more than consolecolors including the Windows 8 console API.
* | Slim the included headers down more.Gravatar Sadie Powell2022-01-261-1/+3
| |
* | Revert "Allow setting extension data on connect classes".Gravatar Sadie Powell2022-01-161-6/+0
| | | | | | | | | | | | | | This can't reasonably be implemented safely with the current way that extensibles work. This reverts commit b867007d201b1a3b130186c54e41481c0374a7f6.
* | 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-0/+6
| |
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-4/+4
| |
* | Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-4/+4
| |
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-1/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-08-271-1/+1
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Fix the Detach method which got borked during a rebase.Gravatar Sadie Powell2021-08-171-0/+7
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-7/+6
|\|
| * Fix various spelling issues (#1883).Gravatar Josh Soref2021-06-211-7/+7
| | | | | | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-06-181-0/+1
|\|
| * Fix xline matching on WebIRC connections.Gravatar Sadie Powell2021-06-171-0/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-06-011-1/+2
|\|
| * Avoid registering services as their unprefixed name.Gravatar Sadie Powell2021-05-281-1/+2
| | | | | | | | This fixes SSL profiles overriding the websocket module.
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
| |
* | Fire OnUserPreJoin regardless of whether the join is an override.Gravatar Sadie Powell2021-05-231-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\|