-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix: Get rid of ajax endpoints in user_ldap #55518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2dea21a
chore: Get rid of unused user_ldap AJAX endpoints
come-nc e842874
fix(user_ldap): Add OCS endpoint for testing configurations
come-nc 36475f2
fix(user_ldap): Add OCS endpoint for copying configurations
come-nc a0e5548
feat(user_ldap): Add a wizard OCS API
come-nc 777c729
feat(user_ldap): Adapt frontend to call new endpoints
artonge 9d41d81
fix(ldap): Fix wizard controller action route
come-nc ac078b6
chore: Fix typing in WizardResult
come-nc c414a7b
fix: Fix documentation for controllers and update openapi.json
come-nc 28cef3e
fix(ldap): Add OCS route for clearing mapping without using ajax
come-nc c621662
chore(user_ldap): Remove ajax endpoints
come-nc aed0e82
fix(user_ldap): Remove last ajax call from frontend
come-nc 92efa01
chore: Update psalm baseline
come-nc f9abfe0
fix(tests): Use testing application for testing ajax endpoints, not u…
come-nc 00349e6
chore: npm run lint:fix
come-nc 1afa2a5
chore: remove unused imports
come-nc 687fa0a
fix(user_ldap): Call config API instead of wizard save action
come-nc 3906998
feat(user_ldap): Save base on detect
artonge f57fb6e
feat(user_ldap): Disable countInBaseDN button when base is empty
artonge ac690ea
fix(user_ldap): Properly handle new wizard OCS endpoint error
artonge e9b1e7a
chore: Compile assets
artonge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| /** | ||
| * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors | ||
| * SPDX-License-Identifier: AGPL-3.0-or-later | ||
| */ | ||
|
|
||
| // Fake ajax endpoint for testing url generator |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed, do the tests still make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, no idea, but I guess so. Any application could still use php endpoints and rely on the url generator, no?