wizardDetectorTestConfiguration.js 848 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. OCA = OCA || {};
  7. (function() {
  8. /**
  9. * @classdesc a Port Detector. It executes the auto-detection of the port
  10. * by the Nextcloud server, if requirements are met.
  11. *
  12. * @constructor
  13. */
  14. var WizardDetectorTestConfiguration = OCA.LDAP.Wizard.WizardDetectorTestAbstract.subClass({
  15. /** @inheritdoc */
  16. init: function() {
  17. // given, it is not a configuration key
  18. this.setTargetKey('ldap_action_test_connection');
  19. this.testName = 'TestConfiguration';
  20. this.isLegacy = true;
  21. this.legacyDestination = 'testConfiguration.php';
  22. this.runsOnRequest = true;
  23. }
  24. });
  25. OCA.LDAP.Wizard.WizardDetectorTestConfiguration = WizardDetectorTestConfiguration;
  26. })();