nextcloud/core
Christoph Wurst 20fcfb5739
feat(app framework)!: Inject services into controller methods
Usually Nextcloud DI goes through constructor injection. This has the
implication that each instance of a class builds the full DI tree. That
is the injected services, their services, etc. Occasionally there is a
service that is only needed for one controller method. Then the DI tree
is build regardless if used or not.

If services are injected into the method, we only build the DI tree if
that method gets executed.

This is also how Laravel allows injection.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 14:00:38 +01:00
..
ajax Flag repair errors as error level in eventSource->send 2022-08-25 18:32:20 +02:00
BackgroundJobs also use updatedir for cleanup of backups 2022-10-01 17:01:28 +02:00
Command Fix API breakage by using a new method instead 2023-01-12 17:18:59 +01:00
Controller feat(app framework)!: Inject services into controller methods 2023-01-18 14:00:38 +01:00
css Fix failed revert for #35071 2023-01-17 14:21:11 +01:00
Data Update php licenses 2021-06-04 22:02:41 +02:00
Db Profile backend 2021-10-19 04:59:35 +00:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
Events Add password reset typed events 2022-06-10 16:41:41 +02:00
Exception Update php licenses 2021-06-04 22:02:41 +02:00
fonts Include additional scripts in Noto fonts 2021-03-01 19:15:01 +01:00
img fix(ui): Fix and optimize more SVGs 2023-01-05 11:01:14 +01:00
js Focus trap contacts menu with NcHeaderMenu port 2023-01-13 23:19:28 +00:00
l10n Fix(l10n): 🔠 Update translations from Transifex 2023-01-18 02:25:23 +00:00
Listener Only check unsupported browsers on user rendering 2022-10-28 12:23:02 +02:00
Middleware Enable strict types for the 2FA middleware 2021-12-16 13:58:25 +01:00
Migrations PublickKeyTokenProvider: Fix password update routine with password hash 2023-01-04 08:30:53 +01:00
Notification update notifications for one-click instances 2022-10-24 18:28:00 +02:00
Service Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
src Focus trap contacts menu with NcHeaderMenu port 2023-01-13 23:19:28 +00:00
templates Revert "Add alt to the logo, adapt css for logo" 2023-01-17 14:19:23 +01:00
vendor Remove jstz usage from server 2023-01-04 17:40:40 +00:00
.l10nignore Add core/js/dist/ to l10nignore 2019-06-13 13:55:22 +02:00
Application.php Only check unsupported browsers on user rendering 2022-10-28 12:23:02 +02:00
register_command.php move share owner repair to occ command 2022-11-08 17:13:33 +01:00
routes.php Use proper error pages instead of always redirecting 2022-10-21 15:12:21 +02:00
shipped.json set theming app to alwaysEnabled 2022-10-17 17:51:39 +02:00
strings.php core: add more strict_types 2021-04-26 12:44:37 +02:00