Skip to content

Commit e98864b

Browse files
authored
Merge pull request #55518 from nextcloud/fix/ldap-get-rid-of-ajax
fix: Get rid of ajax endpoints in user_ldap
2 parents ff5041f + e9b1e7a commit e98864b

30 files changed

+1709
-541
lines changed

apps/testing/ajax/endpoint.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
7+
* SPDX-License-Identifier: AGPL-3.0-or-later
8+
*/
9+
10+
// Fake ajax endpoint for testing url generator

apps/user_ldap/ajax/clearMappings.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

apps/user_ldap/ajax/deleteConfiguration.php

Lines changed: 0 additions & 24 deletions
This file was deleted.

apps/user_ldap/ajax/getConfiguration.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

apps/user_ldap/ajax/getNewServerConfigPrefix.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

apps/user_ldap/ajax/setConfiguration.php

Lines changed: 0 additions & 32 deletions
This file was deleted.

apps/user_ldap/ajax/testConfiguration.php

Lines changed: 0 additions & 76 deletions
This file was deleted.

apps/user_ldap/ajax/wizard.php

Lines changed: 0 additions & 120 deletions
This file was deleted.

apps/user_ldap/appinfo/routes.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@
77
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
88
* SPDX-License-Identifier: AGPL-3.0-only
99
*/
10-
$this->create('user_ldap_ajax_clearMappings', 'apps/user_ldap/ajax/clearMappings.php')
11-
->actionInclude('user_ldap/ajax/clearMappings.php');
12-
$this->create('user_ldap_ajax_deleteConfiguration', 'apps/user_ldap/ajax/deleteConfiguration.php')
13-
->actionInclude('user_ldap/ajax/deleteConfiguration.php');
14-
$this->create('user_ldap_ajax_getConfiguration', 'apps/user_ldap/ajax/getConfiguration.php')
15-
->actionInclude('user_ldap/ajax/getConfiguration.php');
16-
$this->create('user_ldap_ajax_getNewServerConfigPrefix', 'apps/user_ldap/ajax/getNewServerConfigPrefix.php')
17-
->actionInclude('user_ldap/ajax/getNewServerConfigPrefix.php');
18-
$this->create('user_ldap_ajax_setConfiguration', 'apps/user_ldap/ajax/setConfiguration.php')
19-
->actionInclude('user_ldap/ajax/setConfiguration.php');
20-
$this->create('user_ldap_ajax_testConfiguration', 'apps/user_ldap/ajax/testConfiguration.php')
21-
->actionInclude('user_ldap/ajax/testConfiguration.php');
22-
$this->create('user_ldap_ajax_wizard', 'apps/user_ldap/ajax/wizard.php')
23-
->actionInclude('user_ldap/ajax/wizard.php');
2410

2511
return [
2612
'routes' => [

0 commit comments

Comments
 (0)