aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* test: Fix tests/lib/App*Joas Schilling2025-05-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-134-72/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Fix tests following OC_App migrations to IAppManagerCôme Chilliet2024-04-221-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(app-framework): Add support for global middlewaresChristoph Wurst2023-01-261-1/+1
| | | | | | | This allows apps to register middlewares that always register, not just for the app's own requests Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* perf(app-framework): Make the app middleware registration lazyChristoph Wurst2023-01-251-18/+11
| | | | | | | | | Before this patch, app middlewares were registered on the dispatcher for every app loaded in a Nextcloud process. With the patch, only middlewares belonging to the same app of a dispatcher instance are loaded. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* composer run cs:fixCôme Chilliet2023-01-204-4/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add event logging to app loadingJulius Härtl2022-02-281-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add testChristopher Ng2022-02-111-0/+27
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix warnings about logExceptionJoas Schilling2021-06-042-7/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit testsJoas Schilling2021-04-272-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix code styleMorris Jobke2020-10-121-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix typo 'shared'Robin Windey2020-10-121-3/+13
|
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move to lazy panel registration during registration contextJulius Härtl2020-07-151-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Delegate bootstrap registration lazilyChristoph Wurst2020-07-141-6/+0
| | | | | | | | | | * Keep the registration context * Expose the context object for other components * Ensure registration is only run once Search providers are migrated for demonstration. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Callable parameter injectionChristoph Wurst2020-07-031-0/+84
| | | | | | | | | | | | | | This is like what we have to DI and classes, but for callables. The motivating factor is to get rid of *service locators* in the `boot` method of apps as a new pattern is about to emerge where we have lots of `query` calls on the app or server container in order to fetch some services. With this little helper it's possible to call another (public) method and magically have everything injected. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add unified search APIChristoph Wurst2020-06-241-0/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow crash reporters registration during app bootstrapChristoph Wurst2020-06-191-0/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add dedicated API for apps' bootstrapping processChristoph Wurst2020-06-173-0/+345
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>