Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 Oct 2, 2025
e842874
fix(user_ldap): Add OCS endpoint for testing configurations
come-nc Oct 2, 2025
36475f2
fix(user_ldap): Add OCS endpoint for copying configurations
come-nc Oct 2, 2025
a0e5548
feat(user_ldap): Add a wizard OCS API
come-nc Oct 2, 2025
777c729
feat(user_ldap): Adapt frontend to call new endpoints
artonge Oct 2, 2025
9d41d81
fix(ldap): Fix wizard controller action route
come-nc Oct 6, 2025
ac078b6
chore: Fix typing in WizardResult
come-nc Oct 7, 2025
c414a7b
fix: Fix documentation for controllers and update openapi.json
come-nc Oct 7, 2025
28cef3e
fix(ldap): Add OCS route for clearing mapping without using ajax
come-nc Oct 7, 2025
c621662
chore(user_ldap): Remove ajax endpoints
come-nc Oct 7, 2025
aed0e82
fix(user_ldap): Remove last ajax call from frontend
come-nc Oct 7, 2025
92efa01
chore: Update psalm baseline
come-nc Oct 7, 2025
f9abfe0
fix(tests): Use testing application for testing ajax endpoints, not u…
come-nc Oct 7, 2025
00349e6
chore: npm run lint:fix
come-nc Oct 7, 2025
1afa2a5
chore: remove unused imports
come-nc Oct 7, 2025
687fa0a
fix(user_ldap): Call config API instead of wizard save action
come-nc Oct 7, 2025
3906998
feat(user_ldap): Save base on detect
artonge Nov 21, 2025
f57fb6e
feat(user_ldap): Disable countInBaseDN button when base is empty
artonge Nov 21, 2025
ac690ea
fix(user_ldap): Properly handle new wizard OCS endpoint error
artonge Nov 21, 2025
e9b1e7a
chore: Compile assets
artonge Nov 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: npm run lint:fix
Signed-off-by: Côme Chilliet <[email protected]>
Signed-off-by: Louis Chmn <[email protected]>
  • Loading branch information
come-nc authored and artonge committed Nov 21, 2025
commit 00349e674da4d4e10ebd34cce0a2d1b4d41af942
6 changes: 2 additions & 4 deletions apps/user_ldap/src/services/ldapConfigService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ export async function deleteConfig(configId: string): Promise<boolean> {
export async function testConfiguration(configId: string) {
const params = new FormData()

const response = await axios.post(
generateOcsUrl('apps/user_ldap/api/v1/config/{configId}/test', { configId }),
) as AxiosResponse<OCSResponse<{ success: boolean, message: string }>>
const response = await axios.post(generateOcsUrl('apps/user_ldap/api/v1/config/{configId}/test', { configId })) as AxiosResponse<OCSResponse<{ success: boolean, message: string }>>

logger.debug(`Configuration is ${response.data.ocs.data.success ? 'valide' : 'invalide'}`, { configId, params, response })

Expand All @@ -143,7 +141,7 @@ export async function clearMapping(subject: 'user' | 'group') {
try {
const response = await axios.post(
generateOcsUrl('apps/user_ldap/api/v1/wizard/clearMappings'),
{ subject: subject },
{ subject },
) as AxiosResponse<OCSResponse>

logger.debug('Cleared mapping', { subject, params, response })
Expand Down
2 changes: 1 addition & 1 deletion core/src/files/fileinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import _ from 'underscore'
* @class OC.Files.FileInfo
* @classdesc File information
*
* @param {Object} data file data, see attributes for details
* @param {object} data file data, see attributes for details
*
* @since 8.2
*/
Expand Down