-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow configure different policies per password context in the UI
* Add support for multiple password policies (per context) * Split Vue files into components * Use Typescript (also for the script part of Vue files) Signed-off-by: Ferdinand Thiessen <[email protected]>
- Loading branch information
Showing
15 changed files
with
456 additions
and
182 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
"appName": true | ||
}, | ||
"extends": [ | ||
"@nextcloud" | ||
"@nextcloud/eslint-config/typescript" | ||
] | ||
} |
This file contains 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 |
---|---|---|
|
@@ -5,8 +5,16 @@ SPDX-PackageName = "external" | |
SPDX-PackageSupplier = "Nextcloud <[email protected]>" | ||
SPDX-PackageDownloadLocation = "https://github.com/nextcloud/external" | ||
|
||
# Dependency management | ||
[[annotations]] | ||
path = ["package-lock.json", "package.json", ".l10nignore", "composer.json", "composer.lock", "vendor-bin/**/composer.json", "vendor-bin/**/composer.lock", ".tx/config", "js/vendor.LICENSE.txt", ".github/CODEOWNERS", ".eslintrc.json", "tests/psalm-baseline.xml"] | ||
path = ["package-lock.json", "package.json", "composer.json", "composer.lock", "vendor-bin/**/composer.json", "vendor-bin/**/composer.lock", "js/vendor.LICENSE.txt"] | ||
precedence = "aggregate" | ||
SPDX-FileCopyrightText = "none" | ||
SPDX-License-Identifier = "CC0-1.0" | ||
|
||
# Build config files | ||
[[annotations]] | ||
path = [".l10nignore", "tsconfig.json", ".tx/config", ".github/CODEOWNERS", ".eslintrc.json", "tests/psalm-baseline.xml"] | ||
precedence = "aggregate" | ||
SPDX-FileCopyrightText = "none" | ||
SPDX-License-Identifier = "CC0-1.0" | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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,16 @@ | ||
/*! | ||
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
|
||
import type { IPasswordPolicies } from './types.d.ts' | ||
|
||
interface ICapabilities { | ||
password_policy: { | ||
policies: IPasswordPolicies | ||
} | ||
} | ||
|
||
declare module '@nextcloud/capabilities' { | ||
function getCapabilities(): ICapabilities; | ||
} |
Oops, something went wrong.