aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Bootstrap
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-211-5/+5
| | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make the bootstrap context return ContainerInterface instancesChristoph Wurst2020-07-212-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to register AlternativeLogin on RegistrationContextJoas Schilling2020-07-161-0/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move to lazy panel registration during registration contextJulius Härtl2020-07-152-0/+42
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #21812 from ↵Morris Jobke2020-07-141-1/+7
|\ | | | | | | | | nextcloud/feature/noid/app-bootstrap-without-app.php Do not load app.php if Application implements IBootstrap
| * Do not load app.php if Application implements IBootstrapMorris Jobke2020-07-141-1/+7
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Delegate bootstrap registration lazilyChristoph Wurst2020-07-142-28/+22
|/ | | | | | | | | | * 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-032-0/+73
| | | | | | | | | | | | | | 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-242-0/+42
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21469 from ↵Roeland Jago Douma2020-06-191-1/+1
|\ | | | | | | | | nextcloud/bugfix/noid/event-service-listener-registration Fix event service listener registration
| * Fix event service listener registrationJoas Schilling2020-06-181-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow crash reporters registration during app bootstrapChristoph Wurst2020-06-192-0/+42
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Continue with next app when one errors during registerChristoph Wurst2020-06-181-1/+1
| | | | | | | | | My patch at #21461 had a little error in that it exits the method when a query exception is encountered during the register step of an app. What we actually want is to continue with the next app and finish the overall registration procedure. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Catch all exceptions when an app is registering or bootingChristoph Wurst2020-06-171-1/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add dedicated API for apps' bootstrapping processChristoph Wurst2020-06-173-0/+473
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>