app type extended_authentication

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/37680/head
Maxence Lange 2 years ago
parent 9edc3aa354
commit fc29b0d1b7
  1. 1
      lib/base.php
  2. 2
      lib/private/Updater.php
  3. 1
      ocs/v1.php
  4. 1
      public.php
  5. 1
      remote.php
  6. 1
      resources/app-info-shipped.xsd
  7. 1
      resources/app-info.xsd

@ -1027,6 +1027,7 @@ class OC {
// Always load authentication apps
OC_App::loadApps(['authentication']);
OC_App::loadApps(['extended_authentication']);
// Load minimum set of apps
if (!\OCP\Util::needUpgrade()

@ -331,7 +331,7 @@ class Updater extends BasicEmitter {
*/
protected function doAppUpgrade(): void {
$apps = \OC_App::getEnabledApps();
$priorityTypes = ['authentication', 'filesystem', 'logging'];
$priorityTypes = ['authentication', 'extended_authentication', 'filesystem', 'logging'];
$pseudoOtherType = 'other';
$stacks = [$pseudoOtherType => []];

@ -50,6 +50,7 @@ use Symfony\Component\Routing\Exception\MethodNotAllowedException;
try {
OC_App::loadApps(['session']);
OC_App::loadApps(['authentication']);
OC_App::loadApps(['extended_authentication']);
// load all apps to get all api routes properly setup
// FIXME: this should ideally appear after handleLogin but will cause

@ -66,6 +66,7 @@ try {
// Load all required applications
\OC::$REQUESTEDAPP = $app;
OC_App::loadApps(['authentication']);
OC_App::loadApps(['extended_authentication']);
OC_App::loadApps(['filesystem', 'logging']);
if (!\OC::$server->getAppManager()->isInstalled($app)) {

@ -153,6 +153,7 @@ try {
// Load all required applications
\OC::$REQUESTEDAPP = $app;
OC_App::loadApps(['authentication']);
OC_App::loadApps(['extended_authentication']);
OC_App::loadApps(['filesystem', 'logging']);
switch ($app) {

@ -340,6 +340,7 @@
<xs:element name="prelogin" minOccurs="0" maxOccurs="1"/>
<xs:element name="filesystem" minOccurs="0" maxOccurs="1"/>
<xs:element name="authentication" minOccurs="0" maxOccurs="1"/>
<xs:element name="extended_authentication" minOccurs="0" maxOccurs="1"/>
<xs:element name="logging" minOccurs="0" maxOccurs="1"/>
<xs:element name="dav" minOccurs="0" maxOccurs="1"/>
<xs:element name="prevent_group_restriction" minOccurs="0"

@ -336,6 +336,7 @@
<xs:element name="prelogin" minOccurs="0" maxOccurs="1"/>
<xs:element name="filesystem" minOccurs="0" maxOccurs="1"/>
<xs:element name="authentication" minOccurs="0" maxOccurs="1"/>
<xs:element name="extended_authentication" minOccurs="0" maxOccurs="1"/>
<xs:element name="logging" minOccurs="0" maxOccurs="1"/>
<xs:element name="dav" minOccurs="0" maxOccurs="1"/>
<xs:element name="prevent_group_restriction" minOccurs="0"

Loading…
Cancel
Save