icingaweb2/application/controllers
Johannes Rauh 15b3d07482 Qualify 2FA method identifiers with their providing module
Two modules registering a method with the same `getName()` value would
previously collide. The second silently overwrote the first.
`getCanonicalName()` qualifies each method as `module/name`, giving
every registration a globally unique key regardless of the short name.
For hook classes not part of a module namespace, it falls back to the
plain `getName()`.

This identifier now flows through `all()`, `yieldMethods()` (select
option values), `fromCanonicalName()` (renamed from `fromName()`), the
enrollment form's fieldset name and element lookup, and all log
messages. The `TwoFactor` interface doc is updated to reflect that
`getName()` only needs to be unique within a single module.
2026-07-02 17:04:50 +02:00
..
AboutController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
AccountController.php Add enrollment UI and two-factor tab to account navigation 2026-07-02 17:04:50 +02:00
AnnouncementsController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
ApplicationStateController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
AuthenticationController.php Avoid storing full remember-me cookie in session during 2FA challenge 2026-07-02 17:04:50 +02:00
ConfigController.php Add dedicated Security configuration page with a CSP editor 2026-07-02 11:18:22 +02:00
DashboardController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
ErrorController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
GroupController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
HealthController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
IframeController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
IndexController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
LayoutController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
ListController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
ManageUserDevicesController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
MigrationsController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
MyDevicesController.php Add enrollment UI and two-factor tab to account navigation 2026-07-02 17:04:50 +02:00
NavigationController.php Add enrollment UI and two-factor tab to account navigation 2026-07-02 17:04:50 +02:00
RoleController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
SearchController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
StaticController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00
TwoFactorController.php Qualify 2FA method identifiers with their providing module 2026-07-02 17:04:50 +02:00
UserController.php Replace array() with [] (#5509) 2026-07-01 14:19:02 +02:00
UsergroupbackendController.php License source files as GPL-3.0-or-later 2026-03-26 17:49:26 +01:00