Compare commits
16
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11137c5f83 | ||
|
|
6855942f49 | ||
|
|
f6030095f7 | ||
|
|
796e3959a9 | ||
|
|
c14cf38cc9 | ||
|
|
79b380aba5 | ||
|
|
e4d15f3027 | ||
|
|
97bd638de4 | ||
|
|
a404012dfc | ||
|
|
87d1aaebdd | ||
|
|
01f58dabcd | ||
|
|
ef24492d15 | ||
|
|
fe82975868 | ||
|
|
2a242aab39 | ||
|
|
01107973b3 | ||
|
|
cf7ee8a8b8 |
No files matched your search
+3
-3
@@ -1,3 +1,3 @@
|
||||
services/settings/ @lukashirt
|
||||
services/web/ @lukashirt
|
||||
assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf @kobergj @hodyroff
|
||||
# Managed by owncloud/admin — edit codeowners/ownership.yml, not this file.
|
||||
# Generated by scripts/sync-codeowners.py. Last matching pattern wins.
|
||||
* @owncloud/ocis-maintainers
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -91,6 +91,7 @@ jobs:
|
||||
make govulncheck > /tmp/govulncheck.log 2>&1 & PIDS+=($!)
|
||||
make ci-node-generate > /tmp/node-gen.log 2>&1 & PIDS+=($!)
|
||||
make ci-go-generate > /tmp/go-gen.log 2>&1 & PIDS+=($!)
|
||||
make changelog-lint > /tmp/changelog-lint.log 2>&1 & PIDS+=($!)
|
||||
|
||||
FAILED=0
|
||||
for PID in "${PIDS[@]}"; do wait "$PID" || FAILED=1; done
|
||||
@@ -113,9 +114,19 @@ jobs:
|
||||
echo "=== govulncheck ===" && cat /tmp/govulncheck.log
|
||||
echo "=== ci-node-generate ===" && cat /tmp/node-gen.log
|
||||
echo "=== ci-go-generate ===" && cat /tmp/go-gen.log
|
||||
echo "=== changelog-lint ===" && cat /tmp/changelog-lint.log
|
||||
|
||||
exit $FAILED
|
||||
|
||||
- name: Trivy scan
|
||||
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
with:
|
||||
scan-type: fs
|
||||
format: table
|
||||
exit-code: 1
|
||||
severity: CRITICAL,HIGH
|
||||
trivy-config: .trivy.yaml
|
||||
|
||||
- name: Build, lint and test
|
||||
run: |
|
||||
# Phase 2 — all three are CPU-bound Go compilation on 2 vCPU.
|
||||
@@ -209,7 +220,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -280,7 +291,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -323,7 +334,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -621,7 +632,7 @@ jobs:
|
||||
run: python3 tests/acceptance/run-wopi.py --type cs3
|
||||
|
||||
all-acceptance-tests:
|
||||
needs: [detect-changes, local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
|
||||
needs: [detect-changes, build-and-test, local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
steps:
|
||||
@@ -632,6 +643,6 @@ jobs:
|
||||
echo "Docs-only change — skipping tests is expected."
|
||||
exit 0
|
||||
fi
|
||||
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
|
||||
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}" == "true" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
repository: owncloud/ocis
|
||||
|
||||
- name: Set up Docker Compose
|
||||
uses: docker/setup-compose-action@8cccb8c14b6500aaffebff1aa49c502c34d2e5e6 # v2.1.0
|
||||
uses: docker/setup-compose-action@16feee727cbdc83b6a014e6cc26fec4a79bcf30c # v2.2.0
|
||||
|
||||
- name: Prepare hosts entry
|
||||
run: |
|
||||
|
||||
@@ -4,12 +4,14 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
branches:
|
||||
- 'feat/release-pipeline**'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version_override:
|
||||
description: 'Version (required, e.g. 8.1.0-rc.3)'
|
||||
description: 'Version override (leave empty to auto-detect from latest tag)'
|
||||
type: string
|
||||
required: true
|
||||
default: ''
|
||||
|
||||
env:
|
||||
PRODUCTION_RELEASE_TAGS: '5.0,7,8'
|
||||
@@ -27,10 +29,33 @@ jobs:
|
||||
is_prerelease: ${{ steps.info.outputs.is_prerelease }}
|
||||
docker_repos: ${{ steps.info.outputs.docker_repos }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
if: ${{ github.ref_type == 'branch' || (github.event_name == 'workflow_dispatch' && inputs.version_override == '') }}
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- id: info
|
||||
run: |
|
||||
next_dev() {
|
||||
# If latest tag is already a pre-release (e.g. v8.0.2-dev.1), reuse its base
|
||||
# version (8.0.2-dev.1) so repeated branch runs don't bump the patch counter.
|
||||
# If latest tag is a production release (e.g. v8.0.1), increment patch (8.0.2-dev.1).
|
||||
local tag=$(git tag --sort=-version:refname | grep -m1 '^v' || echo "v0.0.0")
|
||||
local ver="${tag#v}"
|
||||
if [[ "$ver" == *"-"* ]]; then
|
||||
echo "${ver%%-*}-dev.1"
|
||||
else
|
||||
IFS='.' read -r M m p <<< "$ver"
|
||||
echo "${M}.${m}.$((p + 1))-dev.1"
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
|
||||
VERSION="${{ inputs.version_override }}"
|
||||
[[ -z "$VERSION" ]] && VERSION=$(next_dev)
|
||||
elif [[ "${{ github.ref_type }}" == "branch" ]]; then
|
||||
VERSION=$(next_dev)
|
||||
else
|
||||
VERSION="${GITHUB_REF#refs/tags/v}"
|
||||
fi
|
||||
@@ -58,14 +83,14 @@ jobs:
|
||||
needs: [determine-release-type]
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: npm install --silent -g yarn npx --force
|
||||
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v4
|
||||
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v4
|
||||
with:
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- run: pnpm config set store-dir ./.pnpm-store && make ci-node-generate
|
||||
@@ -100,13 +125,13 @@ jobs:
|
||||
with:
|
||||
name: generated-code
|
||||
path: .
|
||||
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
|
||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- id: goversion
|
||||
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: |
|
||||
@@ -127,7 +152,7 @@ jobs:
|
||||
printf "tags<<EOF\n%s\nEOF\n" \
|
||||
"${REPO}:${VERSION}-linux-${ARCH}" >> $GITHUB_OUTPUT
|
||||
- id: build
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
|
||||
with:
|
||||
context: ocis
|
||||
file: ocis/docker/Dockerfile.linux.${{ matrix.arch }}
|
||||
@@ -199,7 +224,7 @@ jobs:
|
||||
matrix:
|
||||
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
|
||||
steps:
|
||||
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -245,7 +270,7 @@ jobs:
|
||||
with:
|
||||
name: generated-code
|
||||
path: .
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: |
|
||||
@@ -284,7 +309,7 @@ jobs:
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: npm install --silent -g yarn npx "pnpm@$PNPM_VERSION" --force
|
||||
@@ -304,19 +329,11 @@ jobs:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: |
|
||||
VERSION="${{ needs.determine-release-type.outputs.version }}"
|
||||
# For prereleases (e.g. 8.1.0-rc.2), pass the full version so calens finds
|
||||
# changelog/8.1.0-rc.2_*/ rather than falling through to the missing 8.1.0_*/ dir.
|
||||
if [[ "$VERSION" == *-* ]]; then
|
||||
CHANGELOG_VERSION="$VERSION"
|
||||
else
|
||||
CHANGELOG_VERSION=$(echo "$VERSION" | cut -d'-' -f1)
|
||||
fi
|
||||
make changelog CHANGELOG_VERSION="$CHANGELOG_VERSION"
|
||||
make changelog CHANGELOG_VERSION=$(echo "${{ needs.determine-release-type.outputs.version }}" | cut -d'-' -f1)
|
||||
# calens produces empty output when no versioned changelog directory exists (e.g. dev builds).
|
||||
# Fall back to a pointer to the unreleased entries.
|
||||
if [[ $(wc -l < ocis/dist/CHANGELOG.md) -lt 5 ]]; then
|
||||
@@ -348,7 +365,7 @@ jobs:
|
||||
with:
|
||||
name: changelog
|
||||
path: .
|
||||
- uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
|
||||
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
|
||||
with:
|
||||
tag_name: v${{ needs.determine-release-type.outputs.version }}
|
||||
name: v${{ needs.determine-release-type.outputs.version }}
|
||||
@@ -388,7 +405,7 @@ jobs:
|
||||
python3 scripts/audit-release.py \
|
||||
--version "${{ needs.determine-release-type.outputs.version }}" \
|
||||
--dir release-assets/ \
|
||||
--github-release
|
||||
--github-release --docker
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -328,6 +328,17 @@ endif
|
||||
mkdir -p ocis/dist
|
||||
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
|
||||
|
||||
.PHONY: changelog-lint
|
||||
changelog-lint:
|
||||
@FAILED=0; \
|
||||
while IFS= read -r -d '' f; do \
|
||||
title=$$(head -1 "$$f"); \
|
||||
if [ $${#title} -gt 80 ]; then \
|
||||
echo "$$f: title too long ($${#title}/80)"; FAILED=1; \
|
||||
fi; \
|
||||
done < <(find changelog -mindepth 2 -name "*.md" -print0); \
|
||||
exit $$FAILED
|
||||
|
||||
.PHONY: changelog-csv
|
||||
changelog-csv: $(CALENS)
|
||||
mkdir -p ocis/dist
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Enhancement: Use a default protocol parameter instead of explicitly disabling tus
|
||||
Enhancement: Use default upload protocol instead of explicitly disabling tus
|
||||
|
||||
https://github.com/cs3org/reva/pull/1331
|
||||
https://github.com/owncloud/ocis/pull/1374
|
||||
@@ -1,4 +1,4 @@
|
||||
Enhancement: Added `share_jail` and `projects` feature flags in spaces capability
|
||||
Enhancement: Added share_jail and projects feature flags in spaces capability
|
||||
|
||||
We've added feature flags to the `spaces` capability to indicate to clients which features are supposed to be shown to users.
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Bugfix: Always set an audit action for share updates
|
||||
|
||||
Share-update audit events were written with an empty `action` and a message of
|
||||
`updated field ''`, because the conversion read the deprecated
|
||||
`ShareUpdated.Updated` field, which reva no longer populates (it now sets
|
||||
`UpdateMask`). Received-share declines were also not audited correctly because
|
||||
the conversion matched `SHARE_STATE_DECLINED`, which is not a CS3 share state
|
||||
(the enum value is `SHARE_STATE_REJECTED`), again producing an empty action and
|
||||
message.
|
||||
|
||||
The conversion now derives the updated field and action from `UpdateMask`
|
||||
(falling back to the deprecated field), maps `SHARE_STATE_REJECTED` to the
|
||||
declined action, and uses a generic, non-empty action for any unrecognized
|
||||
update field or share state, so every audit entry carries a meaningful,
|
||||
countable action.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7661
|
||||
https://github.com/owncloud/ocis/pull/12423
|
||||
@@ -0,0 +1,18 @@
|
||||
Bugfix: Do not disable the personal space when the Drives.Create permission check is inconclusive
|
||||
|
||||
When a user's role is (re-)assigned, both the proxy (on OIDC login) and the graph
|
||||
appRoleAssignment handler check the `Drives.Create` permission to decide whether to
|
||||
restore or disable the user's personal space. The permission check collapsed two very
|
||||
different outcomes into a single `false`: the user genuinely lacks the permission, and
|
||||
the permission could not be determined (a transport error, or a non-OK status such as
|
||||
`CODE_INTERNAL` returned by the settings/gateway service). In the second case the code
|
||||
proceeded to disable the personal space, moving it to the trash, even though the user's
|
||||
entitlement was never actually denied.
|
||||
|
||||
`utils.CheckPermission` now distinguishes the three cases at the root: a transport error
|
||||
or a non-OK status other than `PERMISSION_DENIED` is surfaced as an error and the callers
|
||||
fail closed. The personal space is left untouched, and the graph appRoleAssignment handler
|
||||
additionally reverts the role assignment it just persisted so the user is not left in a
|
||||
half-applied state. The role transition is retried on the next login.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12429
|
||||
@@ -1,4 +1,4 @@
|
||||
Bugfix: Prevent panic in presigned URL authentication when the signing key is missing
|
||||
Bugfix: Prevent panic in presigned URL auth when signing key is missing
|
||||
|
||||
The presigned-URL authenticator read the per-user signing key from a store and
|
||||
indexed the first record without checking that the result was non-empty. When
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
Change: Deprecate the owncloudsql storage driver option
|
||||
|
||||
The value `owncloudsql` in the `STORAGE_USERS_DRIVER` environment variable is no
|
||||
longer a valid option and has been marked for deprecation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12486
|
||||
@@ -0,0 +1,15 @@
|
||||
Enhancement: Add `ocis shares clean-corrupt-public-shares` maintenance command
|
||||
|
||||
A single public-share entry with a nil/empty `resource_id` makes the json
|
||||
public-share manager's `ListPublicShares` panic with a nil-pointer dereference.
|
||||
Because the manager reads all entries and filters them in memory, that one bad
|
||||
entry poisons the endpoint for the whole tenant: every Members/permissions panel
|
||||
load and every password-protected link creation fails.
|
||||
|
||||
The new `ocis shares clean-corrupt-public-shares` command detects and removes
|
||||
such corrupt entries. It reads the raw persistence (so it never triggers the
|
||||
panic itself) and writes back through the same metadata storage path the manager
|
||||
uses, recomputing blob size, mtime and etag automatically. It defaults to
|
||||
`--dry-run` and supports the `jsoncs3` and `json` public-share drivers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12494
|
||||
@@ -1,4 +1,4 @@
|
||||
Bugfix: DELETE /graph/v1.0/education/users/{id} no longer 404s while leaving the LDAP entry behind
|
||||
Bugfix: Education user DELETE no longer 404s while leaving LDAP entry behind
|
||||
|
||||
The education user delete handler used `user.GetExternalID()` for the backend
|
||||
DELETE, while the regular `/users` handler and the pre-v8.0 code path used
|
||||
|
||||
@@ -13732,7 +13732,7 @@ STORAGE_USERS_DRIVER:
|
||||
defaultValue: ocis
|
||||
type: string
|
||||
description: 'The storage driver which should be used by the service. Defaults to
|
||||
''ocis'', Supported values are: ''ocis'', ''s3ng'' and ''owncloudsql''. The ''ocis''
|
||||
''ocis'', Supported values are: ''ocis'', ''s3ng'' and ''owncloudsql'' (deprecated). The ''ocis''
|
||||
driver stores all data (blob and meta data) in an POSIX compliant volume. The
|
||||
''s3ng'' driver stores metadata in a POSIX compliant volume and uploads blobs
|
||||
to the s3 bucket.'
|
||||
|
||||
@@ -13,7 +13,7 @@ require (
|
||||
github.com/beevik/etree v1.6.0
|
||||
github.com/blevesearch/bleve/v2 v2.6.0
|
||||
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||
github.com/coreos/go-oidc/v3 v3.18.0
|
||||
github.com/coreos/go-oidc/v3 v3.19.0
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
|
||||
github.com/davidbyttow/govips/v2 v2.18.0
|
||||
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
|
||||
@@ -86,7 +86,7 @@ require (
|
||||
github.com/urfave/cli/v2 v2.27.7
|
||||
github.com/xhit/go-simple-mail/v2 v2.16.0
|
||||
go-micro.dev/v4 v4.11.0
|
||||
go.etcd.io/bbolt v1.4.3
|
||||
go.etcd.io/bbolt v1.5.0
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.69.0
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0
|
||||
go.opentelemetry.io/contrib/zpages v0.69.0
|
||||
@@ -184,7 +184,7 @@ require (
|
||||
github.com/felixge/httpsnoop v1.0.4 // indirect
|
||||
github.com/fsnotify/fsnotify v1.10.1 // indirect
|
||||
github.com/gdexlab/go-render v1.0.1 // indirect
|
||||
github.com/go-acme/lego/v4 v4.25.2 // indirect
|
||||
github.com/go-acme/lego/v4 v4.34.0 // indirect
|
||||
github.com/go-asn1-ber/asn1-ber v1.5.8-0.20250403174932-29230038a667 // indirect
|
||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
||||
github.com/go-git/go-billy/v5 v5.9.0 // indirect
|
||||
@@ -201,7 +201,7 @@ require (
|
||||
github.com/go-playground/locales v0.14.1 // indirect
|
||||
github.com/go-playground/universal-translator v0.18.1 // indirect
|
||||
github.com/go-redis/redis/v8 v8.11.5 // indirect
|
||||
github.com/go-resty/resty/v2 v2.16.5 // indirect
|
||||
github.com/go-resty/resty/v2 v2.17.2 // indirect
|
||||
github.com/go-sql-driver/mysql v1.10.0 // indirect
|
||||
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
|
||||
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
|
||||
@@ -219,7 +219,7 @@ require (
|
||||
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
||||
github.com/golang/snappy v1.0.0 // indirect
|
||||
github.com/gomodule/redigo v1.9.3 // indirect
|
||||
github.com/google/go-querystring v1.1.0 // indirect
|
||||
github.com/google/go-querystring v1.2.0 // indirect
|
||||
github.com/google/go-tpm v0.9.8 // indirect
|
||||
github.com/google/pprof v0.0.0-20260402051712-545e8a4df936 // indirect
|
||||
github.com/google/renameio/v2 v2.0.2 // indirect
|
||||
@@ -236,7 +236,7 @@ require (
|
||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
||||
github.com/jonboulle/clockwork v0.5.0 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/json-iterator/go v1.1.13-0.20220915233716-71ac16282d12 // indirect
|
||||
github.com/juliangruber/go-intersect v1.1.0 // indirect
|
||||
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
||||
github.com/klauspost/compress v1.18.6 // indirect
|
||||
@@ -257,12 +257,12 @@ require (
|
||||
github.com/longsleep/rndm v1.2.0 // indirect
|
||||
github.com/mattermost/xml-roundtrip-validator v0.1.0 // indirect
|
||||
github.com/mattn/go-colorable v0.1.14 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
github.com/mattn/go-isatty v0.0.21 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.23 // indirect
|
||||
github.com/mattn/go-sqlite3 v1.14.44 // indirect
|
||||
github.com/maxymania/go-system v0.0.0-20170110133659-647cc364bf0b // indirect
|
||||
github.com/mendsley/gojwk v0.0.0-20141217222730-4d5ec6e58103 // indirect
|
||||
github.com/miekg/dns v1.1.68 // indirect
|
||||
github.com/miekg/dns v1.1.72 // indirect
|
||||
github.com/mileusna/useragent v1.3.5 // indirect
|
||||
github.com/minio/crc64nvme v1.1.1 // indirect
|
||||
github.com/minio/highwayhash v1.0.4 // indirect
|
||||
@@ -311,7 +311,7 @@ require (
|
||||
github.com/skeema/knownhosts v1.3.1 // indirect
|
||||
github.com/spacewander/go-suffix-tree v0.0.0-20191010040751-0865e368c784 // indirect
|
||||
github.com/spf13/pflag v1.0.10 // indirect
|
||||
github.com/stretchr/objx v0.5.2 // indirect
|
||||
github.com/stretchr/objx v0.5.3 // indirect
|
||||
github.com/studio-b12/gowebdav v0.9.0 // indirect
|
||||
github.com/tchap/go-patricia/v2 v2.3.3 // indirect
|
||||
github.com/tidwall/match v1.1.1 // indirect
|
||||
|
||||
@@ -190,8 +190,8 @@ github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJ
|
||||
github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8=
|
||||
github.com/cloudflare/circl v1.6.3/go.mod h1:2eXP6Qfat4O/Yhh8BznvKnJ+uzEoTQ6jVKJRn81BiS4=
|
||||
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
|
||||
github.com/coreos/go-oidc/v3 v3.18.0 h1:V9orjXynvu5wiC9SemFTWnG4F45v403aIcjWo0d41+A=
|
||||
github.com/coreos/go-oidc/v3 v3.18.0/go.mod h1:DYCf24+ncYi+XkIH97GY1+dqoRlbaSI26KVTCI9SrY4=
|
||||
github.com/coreos/go-oidc/v3 v3.19.0 h1:F/xyOi3x1UnG1U27YVnM1N6bHiL1K2upi6U/0qr8r+I=
|
||||
github.com/coreos/go-oidc/v3 v3.19.0/go.mod h1:DYCf24+ncYi+XkIH97GY1+dqoRlbaSI26KVTCI9SrY4=
|
||||
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
|
||||
github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec=
|
||||
github.com/coreos/go-systemd/v22 v22.7.0 h1:LAEzFkke61DFROc7zNLX/WA2i5J8gYqe0rSj9KI28KA=
|
||||
@@ -284,8 +284,8 @@ github.com/gkampitakis/go-snaps v0.5.15 h1:amyJrvM1D33cPHwVrjo9jQxX8g/7E2wYdZ+01
|
||||
github.com/gkampitakis/go-snaps v0.5.15/go.mod h1:HNpx/9GoKisdhw9AFOBT1N7DBs9DiHo/hGheFGBZ+mc=
|
||||
github.com/gliderlabs/ssh v0.3.8 h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c=
|
||||
github.com/gliderlabs/ssh v0.3.8/go.mod h1:xYoytBv1sV0aL3CavoDuJIQNURXkkfPA/wxQ1pL1fAU=
|
||||
github.com/go-acme/lego/v4 v4.25.2 h1:+D1Q+VnZrD+WJdlkgUEGHFFTcDrwGlE7q24IFtMmHDI=
|
||||
github.com/go-acme/lego/v4 v4.25.2/go.mod h1:OORYyVNZPaNdIdVYCGSBNRNZDIjhQbPuFxwGDgWj/yM=
|
||||
github.com/go-acme/lego/v4 v4.34.0 h1:oRsIuPJ4ORX7ufviXvelUpBSez2XxeKGwo5pNG9BVeY=
|
||||
github.com/go-acme/lego/v4 v4.34.0/go.mod h1:gsmdlx/ZS6OUeXbOj0U+VnCLLfEFj4WCYRkcGpZw+pc=
|
||||
github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
|
||||
github.com/go-asn1-ber/asn1-ber v1.4.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
|
||||
github.com/go-asn1-ber/asn1-ber v1.5.8-0.20250403174932-29230038a667 h1:BP4M0CvQ4S3TGls2FvczZtj5Re/2ZzkV9VwqPHH/3Bo=
|
||||
@@ -365,8 +365,8 @@ github.com/go-playground/validator/v10 v10.30.3 h1:4MU6YkEwx7GbcPJOZxrtbu+QfF3pJ
|
||||
github.com/go-playground/validator/v10 v10.30.3/go.mod h1:4Axh7oCNGcoGkqLoE4YWt6n20mcEIsPRlB7vPk3lpyc=
|
||||
github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI=
|
||||
github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo=
|
||||
github.com/go-resty/resty/v2 v2.16.5 h1:hBKqmWrr7uRc3euHVqmh1HTHcKn99Smr7o5spptdhTM=
|
||||
github.com/go-resty/resty/v2 v2.16.5/go.mod h1:hkJtXbA2iKHzJheXYvQ8snQES5ZLGKMwQ07xAwp/fiA=
|
||||
github.com/go-resty/resty/v2 v2.17.2 h1:FQW5oHYcIlkCNrMD2lloGScxcHJ0gkjshV3qcQAyHQk=
|
||||
github.com/go-resty/resty/v2 v2.17.2/go.mod h1:kCKZ3wWmwJaNc7S29BRtUhJwy7iqmn+2mLtQrOyQlVA=
|
||||
github.com/go-sql-driver/mysql v1.10.0 h1:Q+1LV8DkHJvSYAdR83XzuhDaTykuDx0l6fkXxoWCWfw=
|
||||
github.com/go-sql-driver/mysql v1.10.0/go.mod h1:M+cqaI7+xxXGG9swrdeUIoPG3Y3KCkF0pZej+SK+nWk=
|
||||
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
|
||||
@@ -454,16 +454,16 @@ github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
|
||||
github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
||||
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
||||
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
|
||||
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
|
||||
github.com/google/go-querystring v1.2.0 h1:yhqkPbu2/OH+V9BfpCVPZkNmUXhb2gBxJArfhIxNtP0=
|
||||
github.com/google/go-querystring v1.2.0/go.mod h1:8IFJqpSRITyJ8QhQ13bmbeMBDfmeEJZD5A0egEOmkqU=
|
||||
github.com/google/go-tika v0.3.1 h1:l+jr10hDhZjcgxFRfcQChRLo1bPXQeLFluMyvDhXTTA=
|
||||
github.com/google/go-tika v0.3.1/go.mod h1:DJh5N8qxXIl85QkqmXknd+PeeRkUOTbvwyYf7ieDz6c=
|
||||
github.com/google/go-tpm v0.9.8 h1:slArAR9Ft+1ybZu0lBwpSmpwhRXaa85hWtMinMyRAWo=
|
||||
@@ -561,8 +561,9 @@ github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX
|
||||
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
|
||||
github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
|
||||
github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
|
||||
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
|
||||
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
|
||||
github.com/json-iterator/go v1.1.13-0.20220915233716-71ac16282d12 h1:9Nu54bhS/H/Kgo2/7xNSUuC5G28VR8ljfrLKU2G4IjU=
|
||||
github.com/json-iterator/go v1.1.13-0.20220915233716-71ac16282d12/go.mod h1:TBzl5BIHNXfS9+C35ZyJaklL7mLDbgUkcgXzSLa8Tk0=
|
||||
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
|
||||
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
|
||||
github.com/juliangruber/go-intersect v1.1.0 h1:sc+y5dCjMMx0pAdYk/N6KBm00tD/f3tq+Iox7dYDUrY=
|
||||
@@ -647,8 +648,8 @@ github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHP
|
||||
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
|
||||
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
|
||||
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
|
||||
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
||||
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
||||
github.com/mattn/go-isatty v0.0.21 h1:xYae+lCNBP7QuW4PUnNG61ffM4hVIfm+zUzDuSzYLGs=
|
||||
github.com/mattn/go-isatty v0.0.21/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
|
||||
github.com/mattn/go-runewidth v0.0.23 h1:7ykA0T0jkPpzSvMS5i9uoNn2Xy3R383f9HDx3RybWcw=
|
||||
github.com/mattn/go-runewidth v0.0.23/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
|
||||
github.com/mattn/go-sqlite3 v1.14.44 h1:3VSe+xafpbzsLbdr2AWlAZk9yRHiBhTBakioXaCKTF8=
|
||||
@@ -660,8 +661,8 @@ github.com/mendsley/gojwk v0.0.0-20141217222730-4d5ec6e58103 h1:Z/i1e+gTZrmcGeZy
|
||||
github.com/mendsley/gojwk v0.0.0-20141217222730-4d5ec6e58103/go.mod h1:o9YPB5aGP8ob35Vy6+vyq3P3bWe7NQWzf+JLiXCiMaE=
|
||||
github.com/mfridman/tparse v0.18.0 h1:wh6dzOKaIwkUGyKgOntDW4liXSo37qg5AXbIhkMV3vE=
|
||||
github.com/mfridman/tparse v0.18.0/go.mod h1:gEvqZTuCgEhPbYk/2lS3Kcxg1GmTxxU7kTC8DvP0i/A=
|
||||
github.com/miekg/dns v1.1.68 h1:jsSRkNozw7G/mnmXULynzMNIsgY2dHC8LO6U6Ij2JEA=
|
||||
github.com/miekg/dns v1.1.68/go.mod h1:fujopn7TB3Pu3JM69XaawiU0wqjpL9/8xGop5UrTPps=
|
||||
github.com/miekg/dns v1.1.72 h1:vhmr+TF2A3tuoGNkLDFK9zi36F2LS+hKTRW0Uf8kbzI=
|
||||
github.com/miekg/dns v1.1.72/go.mod h1:+EuEPhdHOsfk6Wk5TT2CzssZdqkmFhf8r+aVyDEToIs=
|
||||
github.com/mileusna/useragent v1.3.5 h1:SJM5NzBmh/hO+4LGeATKpaEX9+b4vcGg2qXGLiNGDws=
|
||||
github.com/mileusna/useragent v1.3.5/go.mod h1:3d8TOmwL/5I8pJjyVDteHtgDGcefrFUX4ccGOMKNYYc=
|
||||
github.com/minio/crc64nvme v1.1.1 h1:8dwx/Pz49suywbO+auHCBpCtlW1OfpcLN7wYgVR6wAI=
|
||||
@@ -863,8 +864,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
|
||||
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
||||
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
|
||||
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
||||
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
||||
github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4=
|
||||
github.com/stretchr/objx v0.5.3/go.mod h1:rDQraq+vQZU7Fde9LOZLr8Tax6zZvy4kuNKF+QYS+U0=
|
||||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||
@@ -944,8 +946,8 @@ github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
|
||||
github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
|
||||
github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs=
|
||||
github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s=
|
||||
go.etcd.io/bbolt v1.4.3 h1:dEadXpI6G79deX5prL3QRNP6JB8UxVkqo4UPnHaNXJo=
|
||||
go.etcd.io/bbolt v1.4.3/go.mod h1:tKQlpPaYCVFctUIgFKFnAlvbmB3tpy1vkTnDWohtc0E=
|
||||
go.etcd.io/bbolt v1.5.0 h1:S7GAl7Fxv12yohbwFfIbQCGDWbQbtDGPET4P/bD4lxU=
|
||||
go.etcd.io/bbolt v1.5.0/go.mod h1:mkltfYE5aUHQxUct9N9V+Kp7aSjFqjgrhcXIS70Lrdk=
|
||||
go.etcd.io/etcd/api/v3 v3.6.11 h1:XFGTgrJ8nak3kB4NgMG8t7NT+lEeuuvKQAqUHKVgkWQ=
|
||||
go.etcd.io/etcd/api/v3 v3.6.11/go.mod h1:HYfTh0jyh+uFgp6gMbxJteIDYY97yMuYz85Rnw6Gy9o=
|
||||
go.etcd.io/etcd/client/pkg/v3 v3.6.11 h1:e41mp315Yn3QMGPmEzCyLsMINgJXTY/dX8kM++1csxU=
|
||||
|
||||
@@ -24,21 +24,21 @@ var (
|
||||
ErrNotFound = errors.New("personal space not found")
|
||||
)
|
||||
|
||||
// DisablePersonalSpace disables (deletes) the personal storage space for the given userID.
|
||||
// DisablePersonalSpace disables (trashes) the personal storage space for the given userID.
|
||||
// If the personal space is already deleted (trashed), it is a no-op.
|
||||
// Returns an error if the space cannot be found or the deletion fails.
|
||||
func DisablePersonalSpace(ctx context.Context, client gateway.GatewayAPIClient, userID string) error {
|
||||
logger := appctx.GetLogger(ctx)
|
||||
sp, err := getPersonalSpace(ctx, client, userID)
|
||||
if err == ErrNotFound {
|
||||
logger.Debug().Str("userID", userID).Msg("no personal space found to delete")
|
||||
logger.Debug().Str("userID", userID).Msg("no personal space found to disable")
|
||||
return nil
|
||||
}
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to retrieve personal space: %w", err)
|
||||
}
|
||||
if isTrashed(sp) {
|
||||
logger.Debug().Str("userID", userID).Msg("the personal space already deleted")
|
||||
logger.Debug().Str("userID", userID).Msg("the personal space is already disabled, skipping deletion")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,196 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
link "github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1"
|
||||
"github.com/owncloud/reva/v2/pkg/publicshare/manager/json/persistence"
|
||||
pcs3 "github.com/owncloud/reva/v2/pkg/publicshare/manager/json/persistence/cs3"
|
||||
pfile "github.com/owncloud/reva/v2/pkg/publicshare/manager/json/persistence/file"
|
||||
metadatacs3 "github.com/owncloud/reva/v2/pkg/storage/utils/metadata"
|
||||
"github.com/owncloud/reva/v2/pkg/utils"
|
||||
"github.com/urfave/cli/v2"
|
||||
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/config"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/config/parser"
|
||||
mregistry "github.com/owncloud/ocis/v2/ocis-pkg/registry"
|
||||
sharingparser "github.com/owncloud/ocis/v2/services/sharing/pkg/config/parser"
|
||||
)
|
||||
|
||||
// cleanCorruptPublicSharesCmd removes corrupt public-share entries (those with a
|
||||
// missing/nil resource_id) from the public-share manager persistence.
|
||||
//
|
||||
// Background: a single public-share row with a nil resource_id makes the json
|
||||
// public-share manager's ListPublicShares panic with a nil-pointer dereference,
|
||||
// because it builds a cache key from resource_id without a nil-check. As the
|
||||
// manager reads all rows and filters in memory, that one bad row poisons the
|
||||
// endpoint for the whole tenant: every Members/permissions panel load and every
|
||||
// link-with-password creation fails. This command removes the offending rows so
|
||||
// affected deployments can be unblocked until the code fix is rolled out.
|
||||
//
|
||||
// It reads the raw persistence (it does NOT call ListPublicShares, so it never
|
||||
// hits the panic) and writes back through the same metadata storage path the
|
||||
// manager uses, so blob size, mtime and etag are recomputed automatically and no
|
||||
// on-disk metadata surgery is required.
|
||||
func cleanCorruptPublicSharesCmd(cfg *config.Config) *cli.Command {
|
||||
return &cli.Command{
|
||||
Name: "clean-corrupt-public-shares",
|
||||
Usage: `Remove corrupt public-share entries (nil resource_id) that crash ListPublicShares.`,
|
||||
Flags: []cli.Flag{
|
||||
&cli.BoolFlag{
|
||||
Name: "dry-run",
|
||||
Value: true,
|
||||
Usage: "Only report corrupt entries, do not modify anything",
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "verbose",
|
||||
Aliases: []string{"v"},
|
||||
Usage: "Verbose logging enabled",
|
||||
},
|
||||
},
|
||||
Before: func(c *cli.Context) error {
|
||||
if err := parser.ParseConfig(cfg, true); err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
cfg.Sharing.Commons = cfg.Commons
|
||||
return configlog.ReturnError(sharingparser.ParseConfig(cfg.Sharing))
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
return cleanCorruptPublicShares(c, cfg)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func cleanCorruptPublicShares(c *cli.Context, cfg *config.Config) error {
|
||||
dryRun := c.Bool("dry-run")
|
||||
verbose := c.Bool("verbose")
|
||||
|
||||
// Initialize the service registry so the jsoncs3 driver can resolve the
|
||||
// storage-system provider via service discovery.
|
||||
_ = mregistry.GetRegistry()
|
||||
|
||||
driver := cfg.Sharing.PublicSharingDriver
|
||||
p, err := publicSharePersistence(driver, cfg)
|
||||
if err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
if err := p.Init(ctx); err != nil {
|
||||
return configlog.ReturnError(fmt.Errorf("failed to initialize public-share persistence: %w", err))
|
||||
}
|
||||
|
||||
db, err := p.Read(ctx)
|
||||
if err != nil {
|
||||
return configlog.ReturnError(fmt.Errorf("failed to read public shares: %w", err))
|
||||
}
|
||||
|
||||
if dryRun {
|
||||
fmt.Print("Dry run mode enabled: no entries will be removed\n\n")
|
||||
}
|
||||
fmt.Printf("Scanning %d public-share entries (driver=%s)\n", len(db), driver)
|
||||
|
||||
corrupt := findCorruptPublicShares(db)
|
||||
for _, f := range corrupt {
|
||||
fmt.Printf(" CORRUPT id=%s token=%s: %s\n", f.ID, f.Token, f.Reason)
|
||||
}
|
||||
if verbose {
|
||||
for id, raw := range db {
|
||||
share, ok := decodePublicShare(raw)
|
||||
if ok && share.GetResourceId() != nil && share.GetResourceId().GetStorageId() != "" {
|
||||
fmt.Printf(" ok id=%s token=%s resource_id=%s\n", id, share.GetToken(), share.GetResourceId().GetOpaqueId())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if len(corrupt) == 0 {
|
||||
fmt.Println("\nNo corrupt public-share entries found. Nothing to do.")
|
||||
return nil
|
||||
}
|
||||
|
||||
if dryRun {
|
||||
fmt.Printf("\nDry run: found %d corrupt entr(y/ies). Re-run with --dry-run=false to remove them.\n", len(corrupt))
|
||||
return nil
|
||||
}
|
||||
|
||||
for _, f := range corrupt {
|
||||
delete(db, f.ID)
|
||||
}
|
||||
if err := p.Write(ctx, db); err != nil {
|
||||
return configlog.ReturnError(fmt.Errorf("failed to write public shares: %w", err))
|
||||
}
|
||||
|
||||
fmt.Printf("\nRemoved %d corrupt public-share entr(y/ies). %d entr(y/ies) remaining.\n", len(corrupt), len(db))
|
||||
return nil
|
||||
}
|
||||
|
||||
// corruptShare identifies a public-share persistence entry that would crash the
|
||||
// json public-share manager (or that the manager cannot decode at all).
|
||||
type corruptShare struct {
|
||||
ID string
|
||||
Token string
|
||||
Reason string
|
||||
}
|
||||
|
||||
// findCorruptPublicShares returns the entries that must be removed: those whose
|
||||
// stored value is not a decodable public-share record, and those with a nil or
|
||||
// empty resource_id (the condition that makes ListPublicShares panic).
|
||||
func findCorruptPublicShares(db persistence.PublicShares) []corruptShare {
|
||||
var out []corruptShare
|
||||
for id, raw := range db {
|
||||
share, ok := decodePublicShare(raw)
|
||||
if !ok {
|
||||
out = append(out, corruptShare{ID: id, Reason: "entry is not a valid public-share record"})
|
||||
continue
|
||||
}
|
||||
if share.GetResourceId() == nil || share.GetResourceId().GetStorageId() == "" {
|
||||
out = append(out, corruptShare{ID: id, Token: share.GetToken(), Reason: "nil/empty resource_id"})
|
||||
}
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
// decodePublicShare extracts the cs3 PublicShare from a raw persistence entry.
|
||||
// The persistence stores each entry as map{"share": <json-encoded-PublicShare>, "password": <string>}.
|
||||
// It returns ok=false when the entry does not match that shape.
|
||||
func decodePublicShare(raw interface{}) (*link.PublicShare, bool) {
|
||||
m, ok := raw.(map[string]interface{})
|
||||
if !ok {
|
||||
return nil, false
|
||||
}
|
||||
s, ok := m["share"].(string)
|
||||
if !ok {
|
||||
return nil, false
|
||||
}
|
||||
var ps link.PublicShare
|
||||
if err := utils.UnmarshalJSONToProtoV1([]byte(s), &ps); err != nil {
|
||||
return nil, false
|
||||
}
|
||||
return &ps, true
|
||||
}
|
||||
|
||||
// publicSharePersistence builds the persistence backend for the configured public-share
|
||||
// driver, mirroring how reva's json public-share manager constructs it. Only the file-backed
|
||||
// ("json") and cs3-backed ("jsoncs3") drivers store data in a way this command can repair.
|
||||
func publicSharePersistence(driver string, cfg *config.Config) (persistence.Persistence, error) {
|
||||
switch driver {
|
||||
case "jsoncs3":
|
||||
d := cfg.Sharing.PublicSharingDrivers.JSONCS3
|
||||
s, err := metadatacs3.NewCS3Storage(d.ProviderAddr, d.ProviderAddr, d.SystemUserID, d.SystemUserIDP, d.SystemUserAPIKey)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return pcs3.New(s), nil
|
||||
case "json":
|
||||
file := cfg.Sharing.PublicSharingDrivers.JSON.File
|
||||
if file == "" {
|
||||
file = "/var/tmp/reva/publicshares"
|
||||
}
|
||||
return pfile.New(file), nil
|
||||
default:
|
||||
return nil, errors.New("clean-corrupt-public-shares is only implemented for the 'jsoncs3' and 'json' public-share drivers, got: " + driver)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
link "github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1"
|
||||
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
|
||||
"github.com/owncloud/reva/v2/pkg/publicshare/manager/json/persistence"
|
||||
"github.com/owncloud/reva/v2/pkg/utils"
|
||||
)
|
||||
|
||||
// encodeEntry builds a persistence entry the same way the reva json public-share
|
||||
// manager does: map{"share": <json-encoded PublicShare>, "password": <string>}.
|
||||
func encodeEntry(t *testing.T, ps *link.PublicShare) map[string]interface{} {
|
||||
t.Helper()
|
||||
enc, err := utils.MarshalProtoV1ToJSON(ps)
|
||||
if err != nil {
|
||||
t.Fatalf("failed to marshal public share: %v", err)
|
||||
}
|
||||
return map[string]interface{}{
|
||||
"share": string(enc),
|
||||
"password": "",
|
||||
}
|
||||
}
|
||||
|
||||
func validShare(id, token string) *link.PublicShare {
|
||||
return &link.PublicShare{
|
||||
Id: &link.PublicShareId{OpaqueId: id},
|
||||
Token: token,
|
||||
ResourceId: &provider.ResourceId{
|
||||
StorageId: "storage-1",
|
||||
SpaceId: "space-1",
|
||||
OpaqueId: "node-1",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func TestFindCorruptPublicShares(t *testing.T) {
|
||||
t.Run("nil resource_id is corrupt", func(t *testing.T) {
|
||||
ps := validShare("bad-nil", "tok-nil")
|
||||
ps.ResourceId = nil
|
||||
db := persistence.PublicShares{
|
||||
"good": encodeEntry(t, validShare("good", "tok-good")),
|
||||
"bad-nil": encodeEntry(t, ps),
|
||||
}
|
||||
|
||||
got := findCorruptPublicShares(db)
|
||||
if len(got) != 1 {
|
||||
t.Fatalf("expected 1 corrupt entry, got %d (%v)", len(got), got)
|
||||
}
|
||||
if got[0].ID != "bad-nil" {
|
||||
t.Errorf("expected corrupt id 'bad-nil', got %q", got[0].ID)
|
||||
}
|
||||
if got[0].Token != "tok-nil" {
|
||||
t.Errorf("expected token 'tok-nil', got %q", got[0].Token)
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("empty storage_id is corrupt", func(t *testing.T) {
|
||||
ps := validShare("bad-empty", "tok-empty")
|
||||
ps.ResourceId = &provider.ResourceId{StorageId: "", SpaceId: "s", OpaqueId: "o"}
|
||||
db := persistence.PublicShares{
|
||||
"bad-empty": encodeEntry(t, ps),
|
||||
}
|
||||
|
||||
got := findCorruptPublicShares(db)
|
||||
if len(got) != 1 {
|
||||
t.Fatalf("expected 1 corrupt entry, got %d", len(got))
|
||||
}
|
||||
if got[0].ID != "bad-empty" {
|
||||
t.Errorf("expected corrupt id 'bad-empty', got %q", got[0].ID)
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("undecodable entry is corrupt", func(t *testing.T) {
|
||||
db := persistence.PublicShares{
|
||||
"not-a-record": "just a string",
|
||||
"missing-share": map[string]interface{}{"password": ""},
|
||||
"bad-json": map[string]interface{}{"share": "{not json", "password": ""},
|
||||
}
|
||||
|
||||
got := findCorruptPublicShares(db)
|
||||
if len(got) != 3 {
|
||||
t.Fatalf("expected 3 corrupt entries, got %d (%v)", len(got), got)
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("all valid yields none", func(t *testing.T) {
|
||||
db := persistence.PublicShares{
|
||||
"a": encodeEntry(t, validShare("a", "tok-a")),
|
||||
"b": encodeEntry(t, validShare("b", "tok-b")),
|
||||
}
|
||||
|
||||
got := findCorruptPublicShares(db)
|
||||
if len(got) != 0 {
|
||||
t.Fatalf("expected 0 corrupt entries, got %d (%v)", len(got), got)
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("empty db yields none", func(t *testing.T) {
|
||||
if got := findCorruptPublicShares(persistence.PublicShares{}); len(got) != 0 {
|
||||
t.Fatalf("expected 0 corrupt entries, got %d", len(got))
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("only corrupt entries are removed, valid ones preserved", func(t *testing.T) {
|
||||
bad := validShare("bad", "tok-bad")
|
||||
bad.ResourceId = nil
|
||||
db := persistence.PublicShares{
|
||||
"keep-1": encodeEntry(t, validShare("keep-1", "tok-1")),
|
||||
"bad": encodeEntry(t, bad),
|
||||
"keep-2": encodeEntry(t, validShare("keep-2", "tok-2")),
|
||||
}
|
||||
|
||||
for _, f := range findCorruptPublicShares(db) {
|
||||
delete(db, f.ID)
|
||||
}
|
||||
|
||||
if len(db) != 2 {
|
||||
t.Fatalf("expected 2 entries remaining, got %d", len(db))
|
||||
}
|
||||
if _, ok := db["bad"]; ok {
|
||||
t.Error("corrupt entry 'bad' was not removed")
|
||||
}
|
||||
if _, ok := db["keep-1"]; !ok {
|
||||
t.Error("valid entry 'keep-1' was removed")
|
||||
}
|
||||
if _, ok := db["keep-2"]; !ok {
|
||||
t.Error("valid entry 'keep-2' was removed")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
func TestDecodePublicShare(t *testing.T) {
|
||||
t.Run("valid entry decodes", func(t *testing.T) {
|
||||
entry := encodeEntry(t, validShare("x", "tok-x"))
|
||||
ps, ok := decodePublicShare(entry)
|
||||
if !ok {
|
||||
t.Fatal("expected decode to succeed")
|
||||
}
|
||||
if ps.GetToken() != "tok-x" {
|
||||
t.Errorf("expected token 'tok-x', got %q", ps.GetToken())
|
||||
}
|
||||
if ps.GetResourceId().GetStorageId() != "storage-1" {
|
||||
t.Errorf("expected storage_id 'storage-1', got %q", ps.GetResourceId().GetStorageId())
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("non-map entry fails", func(t *testing.T) {
|
||||
if _, ok := decodePublicShare("not a map"); ok {
|
||||
t.Error("expected decode to fail for non-map entry")
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("missing share key fails", func(t *testing.T) {
|
||||
if _, ok := decodePublicShare(map[string]interface{}{"password": ""}); ok {
|
||||
t.Error("expected decode to fail when 'share' key is missing")
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("invalid json fails", func(t *testing.T) {
|
||||
if _, ok := decodePublicShare(map[string]interface{}{"share": "{broken"}); ok {
|
||||
t.Error("expected decode to fail for invalid json")
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -66,6 +66,7 @@ func SharesCommand(cfg *config.Config) *cli.Command {
|
||||
cleanupCmd(cfg),
|
||||
cleanOrphanedGrantsCmd(cfg),
|
||||
moveStuckUploadBlobsCmd(cfg),
|
||||
cleanCorruptPublicSharesCmd(cfg),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Catalan (https://app.transifex.com/owncloud-org/teams/6149/ca/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: English (United States) (https://app.transifex.com/owncloud-org/teams/6149/en_US/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Victor Vinuela <vinuela.victor@dissectio.com>, 2026\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-08 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-29 03:23+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Domainmasteri, 2026\n"
|
||||
"Language-Team: Finnish (Finland) (https://app.transifex.com/owncloud-org/teams/6149/fi_FI/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Cesare Capoferri, 2026\n"
|
||||
"Language-Team: Italian (https://app.transifex.com/owncloud-org/teams/6149/it/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Japanese (https://app.transifex.com/owncloud-org/teams/6149/ja/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: BoneNI, 2026\n"
|
||||
"Language-Team: Lao (https://app.transifex.com/owncloud-org/teams/6149/lo/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Portuguese (https://app.transifex.com/owncloud-org/teams/6149/pt/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-12 03:22+0000\n"
|
||||
"POT-Creation-Date: 2026-07-03 03:14+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Miha Podobnik, 2026\n"
|
||||
"Language-Team: Slovenian (https://app.transifex.com/owncloud-org/teams/6149/sl/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-12 03:22+0000\n"
|
||||
"POT-Creation-Date: 2026-07-03 03:14+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
|
||||
|
||||
@@ -5,15 +5,16 @@
|
||||
#
|
||||
# Translators:
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
# 振东 刘, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-19 03:23+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Last-Translator: 振东 刘, 2026\n"
|
||||
"Language-Team: Chinese Traditional (https://app.transifex.com/owncloud-org/teams/6149/zh-Hant/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -27,7 +28,7 @@ msgstr "描述"
|
||||
|
||||
#: pkg/service/response.go:43
|
||||
msgid "display name"
|
||||
msgstr ""
|
||||
msgstr "显示名称"
|
||||
|
||||
#: pkg/service/response.go:42
|
||||
msgid "expiration date"
|
||||
@@ -35,7 +36,7 @@ msgstr "設置到期日期"
|
||||
|
||||
#: pkg/service/response.go:41
|
||||
msgid "password"
|
||||
msgstr ""
|
||||
msgstr "密码"
|
||||
|
||||
#: pkg/service/response.go:40
|
||||
msgid "permission"
|
||||
|
||||
@@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Language-Team: Chinese (https://app.transifex.com/owncloud-org/teams/6149/zh/)\n"
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# guanu244, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
# 振东 刘, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-19 03:23+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Last-Translator: 振东 刘, 2026\n"
|
||||
"Language-Team: Chinese (China) (https://app.transifex.com/owncloud-org/teams/6149/zh_CN/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -29,31 +29,31 @@ msgstr "描述"
|
||||
|
||||
#: pkg/service/response.go:43
|
||||
msgid "display name"
|
||||
msgstr "顯示名稱"
|
||||
msgstr "显示名称"
|
||||
|
||||
#: pkg/service/response.go:42
|
||||
msgid "expiration date"
|
||||
msgstr "設置到期日期"
|
||||
msgstr "过期日期"
|
||||
|
||||
#: pkg/service/response.go:41
|
||||
msgid "password"
|
||||
msgstr "密碼"
|
||||
msgstr "密码"
|
||||
|
||||
#: pkg/service/response.go:40
|
||||
msgid "permission"
|
||||
msgstr "權限"
|
||||
msgstr "权限"
|
||||
|
||||
#: pkg/service/response.go:45
|
||||
msgid "shared-with-me"
|
||||
msgstr "與我共享"
|
||||
msgstr "已与我共享"
|
||||
|
||||
#: pkg/service/response.go:39
|
||||
msgid "some field"
|
||||
msgstr "部分欄位"
|
||||
msgstr "部分字段"
|
||||
|
||||
#: pkg/service/response.go:26
|
||||
msgid "{resource} was downloaded via public link {token}"
|
||||
msgstr "{resource} 透過公開連結{token} 被下載了"
|
||||
msgstr "{resource} 已通过公开链接 {token} 下载"
|
||||
|
||||
#: pkg/service/response.go:24
|
||||
msgid "{user} added {resource} to {folder}"
|
||||
@@ -97,7 +97,7 @@ msgstr "{user} 通过 {sharee} 共享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:34
|
||||
msgid "{user} updated {field} for a link {token} on {resource}"
|
||||
msgstr "{user} 更新了 {resource} 連結 {token} 的 {field} 欄位"
|
||||
msgstr "{user} 修改了 {resource} 上链接 {token} 的 {field} 属性"
|
||||
|
||||
#: pkg/service/response.go:31
|
||||
msgid "{user} updated {field} for the {resource}"
|
||||
|
||||
@@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Language-Team: Chinese (Hong Kong) (https://app.transifex.com/owncloud-org/teams/6149/zh_HK/)\n"
|
||||
|
||||
@@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/owncloud-org/teams/6149/zh_TW/)\n"
|
||||
|
||||
@@ -252,7 +252,7 @@ var testCases = []struct {
|
||||
GranteeGroupID: nil,
|
||||
Sharer: userID("sharing-userid"),
|
||||
MTime: timestamp(10e8),
|
||||
State: "SHARE_STATE_DECLINED",
|
||||
State: "SHARE_STATE_REJECTED",
|
||||
},
|
||||
},
|
||||
CheckAuditEvent: func(t *testing.T, b []byte) {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -95,7 +94,7 @@ func LinkCreated(ev events.LinkCreated) AuditEventShareCreated {
|
||||
func ShareUpdated(ev events.ShareUpdated) AuditEventShareUpdated {
|
||||
uid := ev.Sharer.OpaqueId
|
||||
with, typ := extractGrantee(ev.GranteeUserID, ev.GranteeGroupID)
|
||||
base := BasicAuditEvent(uid, formatTime(ev.MTime), MessageShareUpdated(uid, ev.ShareID.OpaqueId, ev.Updated), updateType(ev.Updated))
|
||||
base := BasicAuditEvent(uid, formatTime(ev.MTime), MessageShareUpdated(uid, ev.ShareID.OpaqueId, shareUpdateField(ev.Updated, ev.UpdateMask)), shareUpdateAction(ev.Updated, ev.UpdateMask))
|
||||
return AuditEventShareUpdated{
|
||||
AuditEventSharing: SharingAuditEvent(ev.ShareID.GetOpaqueId(), ev.ItemID.OpaqueId, uid, base),
|
||||
ShareOwner: uid,
|
||||
@@ -115,7 +114,7 @@ func ShareUpdated(ev events.ShareUpdated) AuditEventShareUpdated {
|
||||
func LinkUpdated(ev events.LinkUpdated) AuditEventShareUpdated {
|
||||
uid := ev.Sharer.OpaqueId
|
||||
with, typ := "", _linktype
|
||||
base := BasicAuditEvent(uid, formatTime(ev.MTime), MessageLinkUpdated(uid, ev.ShareID.GetOpaqueId(), ev.FieldUpdated), updateType(ev.FieldUpdated))
|
||||
base := BasicAuditEvent(uid, formatTime(ev.MTime), MessageLinkUpdated(uid, ev.ShareID.GetOpaqueId(), ev.FieldUpdated), shareUpdateAction(ev.FieldUpdated, nil))
|
||||
return AuditEventShareUpdated{
|
||||
AuditEventSharing: SharingAuditEvent(ev.ShareID.GetOpaqueId(), ev.ItemID.OpaqueId, uid, base),
|
||||
ShareOwner: uid,
|
||||
@@ -181,14 +180,21 @@ func ReceivedShareUpdated(ev events.ReceivedShareUpdated) AuditEventReceivedShar
|
||||
with, typ := extractGrantee(ev.GranteeUserID, ev.GranteeGroupID)
|
||||
itemID := ev.ItemID.GetOpaqueId()
|
||||
|
||||
msg, utype := "", ""
|
||||
var msg, utype string
|
||||
switch ev.State {
|
||||
case "SHARE_STATE_ACCEPTED":
|
||||
msg = MessageShareAccepted(with, sid, uid)
|
||||
utype = ActionShareAccepted
|
||||
case "SHARE_STATE_DECLINED":
|
||||
// the CS3 share state enum is SHARE_STATE_REJECTED; "SHARE_STATE_DECLINED"
|
||||
// is not a valid value and never matched, so declines were not audited.
|
||||
case "SHARE_STATE_REJECTED":
|
||||
msg = MessageShareDeclined(with, sid, uid)
|
||||
utype = ActionShareDeclined
|
||||
default:
|
||||
// keep the action non-empty for any other state (e.g. pending) so the
|
||||
// event remains attributable instead of producing an empty record.
|
||||
msg = MessageShareStateChanged(with, sid, uid, ev.State)
|
||||
utype = ActionShareStateChanged
|
||||
}
|
||||
base := BasicAuditEvent(with, formatTime(ev.MTime), msg, utype)
|
||||
return AuditEventReceivedShareUpdated{
|
||||
@@ -552,24 +558,39 @@ func formatTime(t *types.Timestamp) string {
|
||||
return time.Unix(int64(t.Seconds), int64(t.Nanos)).UTC().Format(time.RFC3339)
|
||||
}
|
||||
|
||||
func updateType(u string) string {
|
||||
switch u {
|
||||
case "permissions":
|
||||
return ActionSharePermissionUpdated
|
||||
case "displayname":
|
||||
return ActionShareDisplayNameUpdated
|
||||
case "TYPE_PERMISSIONS":
|
||||
return ActionSharePermissionUpdated
|
||||
case "TYPE_DISPLAYNAME":
|
||||
return ActionShareDisplayNameUpdated
|
||||
case "TYPE_PASSWORD":
|
||||
return ActionSharePasswordUpdated
|
||||
case "TYPE_EXPIRATION":
|
||||
return ActionShareExpirationUpdated
|
||||
default:
|
||||
fmt.Println("Unknown update type", u)
|
||||
return ""
|
||||
// shareUpdateField resolves the name of the updated field for the audit message.
|
||||
// reva deprecated the single Updated field in favour of UpdateMask, so prefer
|
||||
// the mask when Updated is empty.
|
||||
func shareUpdateField(updated string, updateMask []string) string {
|
||||
if updated != "" {
|
||||
return updated
|
||||
}
|
||||
return strings.Join(updateMask, ", ")
|
||||
}
|
||||
|
||||
// shareUpdateAction resolves the audit action for a share or link update. It
|
||||
// prefers the deprecated Updated field and falls back to the UpdateMask, mapping
|
||||
// the first recognized field to its specific action. Unknown or empty updates
|
||||
// map to the generic ActionShareUpdated so every update stays attributable
|
||||
// (an empty action cannot be counted for telemetry).
|
||||
func shareUpdateAction(updated string, updateMask []string) string {
|
||||
candidates := updateMask
|
||||
if updated != "" {
|
||||
candidates = []string{updated}
|
||||
}
|
||||
for _, c := range candidates {
|
||||
switch c {
|
||||
case "permissions", "TYPE_PERMISSIONS":
|
||||
return ActionSharePermissionUpdated
|
||||
case "displayname", "TYPE_DISPLAYNAME":
|
||||
return ActionShareDisplayNameUpdated
|
||||
case "TYPE_PASSWORD":
|
||||
return ActionSharePasswordUpdated
|
||||
case "expiration", "TYPE_EXPIRATION":
|
||||
return ActionShareExpirationUpdated
|
||||
}
|
||||
}
|
||||
return ActionShareUpdated
|
||||
}
|
||||
|
||||
// normalizeString tries to create a somewhat stable string
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
|
||||
collaboration "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1"
|
||||
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
|
||||
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
|
||||
"github.com/owncloud/reva/v2/pkg/events"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// TestShareUpdateAction ensures every share/link update maps to a non-empty,
|
||||
// countable audit action, including the case where reva only sets the
|
||||
// UpdateMask (the single Updated field is deprecated and no longer populated).
|
||||
func TestShareUpdateAction(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
updated string
|
||||
mask []string
|
||||
want string
|
||||
}{
|
||||
{"share permissions", "permissions", nil, ActionSharePermissionUpdated},
|
||||
{"link permissions", "TYPE_PERMISSIONS", nil, ActionSharePermissionUpdated},
|
||||
{"link password", "TYPE_PASSWORD", nil, ActionSharePasswordUpdated},
|
||||
{"share expiration", "expiration", nil, ActionShareExpirationUpdated},
|
||||
{"share displayname", "displayname", nil, ActionShareDisplayNameUpdated},
|
||||
{"deprecated empty, mask permissions", "", []string{"permissions"}, ActionSharePermissionUpdated},
|
||||
{"deprecated empty, mask expiration", "", []string{"expiration"}, ActionShareExpirationUpdated},
|
||||
{"empty updated and empty mask", "", nil, ActionShareUpdated},
|
||||
{"unknown field", "somethingelse", nil, ActionShareUpdated},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
got := shareUpdateAction(tt.updated, tt.mask)
|
||||
require.Equal(t, tt.want, got)
|
||||
require.NotEmpty(t, got, "audit action must never be empty")
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// TestShareUpdatedDerivesActionFromUpdateMask reproduces the reported bug:
|
||||
// reva populates UpdateMask (not the deprecated Updated field), so the audit
|
||||
// event must still carry a specific action and a meaningful field in the
|
||||
// message rather than an empty action and "updated field ''".
|
||||
func TestShareUpdatedDerivesActionFromUpdateMask(t *testing.T) {
|
||||
ev := events.ShareUpdated{
|
||||
Sharer: &user.UserId{OpaqueId: "sharer"},
|
||||
ShareID: &collaboration.ShareId{OpaqueId: "shareid"},
|
||||
ItemID: &provider.ResourceId{OpaqueId: "itemid"},
|
||||
GranteeUserID: &user.UserId{OpaqueId: "grantee"},
|
||||
Permissions: &collaboration.SharePermissions{},
|
||||
MTime: &types.Timestamp{Seconds: 1},
|
||||
// reva sets the mask; the deprecated Updated field stays empty
|
||||
UpdateMask: []string{"permissions"},
|
||||
}
|
||||
|
||||
out := ShareUpdated(ev)
|
||||
require.Equal(t, ActionSharePermissionUpdated, out.Action)
|
||||
require.NotEmpty(t, out.Action)
|
||||
require.Contains(t, out.Message, "permissions")
|
||||
}
|
||||
|
||||
// TestReceivedShareUpdatedStates ensures the received-share state changes map to
|
||||
// non-empty actions, including the rejected case (CS3 uses SHARE_STATE_REJECTED,
|
||||
// which previously did not match "SHARE_STATE_DECLINED") and a generic fallback.
|
||||
func TestReceivedShareUpdatedStates(t *testing.T) {
|
||||
build := func(state string) events.ReceivedShareUpdated {
|
||||
return events.ReceivedShareUpdated{
|
||||
Sharer: &user.UserId{OpaqueId: "sharer"},
|
||||
ShareID: &collaboration.ShareId{OpaqueId: "shareid"},
|
||||
ItemID: &provider.ResourceId{OpaqueId: "itemid"},
|
||||
GranteeUserID: &user.UserId{OpaqueId: "grantee"},
|
||||
MTime: &types.Timestamp{Seconds: 1},
|
||||
State: state,
|
||||
}
|
||||
}
|
||||
|
||||
accepted := ReceivedShareUpdated(build("SHARE_STATE_ACCEPTED"))
|
||||
require.Equal(t, ActionShareAccepted, accepted.Action)
|
||||
|
||||
rejected := ReceivedShareUpdated(build("SHARE_STATE_REJECTED"))
|
||||
require.Equal(t, ActionShareDeclined, rejected.Action)
|
||||
require.NotEmpty(t, rejected.Message)
|
||||
|
||||
pending := ReceivedShareUpdated(build("SHARE_STATE_PENDING"))
|
||||
require.Equal(t, ActionShareStateChanged, pending.Action)
|
||||
require.NotEmpty(t, pending.Message)
|
||||
}
|
||||
@@ -12,6 +12,7 @@ import (
|
||||
const (
|
||||
// Sharing
|
||||
ActionShareCreated = "file_shared"
|
||||
ActionShareUpdated = "share_updated"
|
||||
ActionSharePermissionUpdated = "share_permission_updated"
|
||||
ActionShareDisplayNameUpdated = "share_name_updated"
|
||||
ActionSharePasswordUpdated = "share_password_updated"
|
||||
@@ -19,6 +20,7 @@ const (
|
||||
ActionShareRemoved = "file_unshared"
|
||||
ActionShareAccepted = "share_accepted"
|
||||
ActionShareDeclined = "share_declined"
|
||||
ActionShareStateChanged = "share_state_changed"
|
||||
ActionLinkAccessed = "public_link_accessed"
|
||||
|
||||
// Files
|
||||
@@ -96,6 +98,12 @@ func MessageShareDeclined(userid, shareID, sharerID string) string {
|
||||
return fmt.Sprintf("user '%s' declined share '%s' from user '%s'", userid, shareID, sharerID)
|
||||
}
|
||||
|
||||
// MessageShareStateChanged returns the human-readable string that describes a
|
||||
// received-share state change that is neither an accept nor a decline.
|
||||
func MessageShareStateChanged(userid, shareID, sharerID, state string) string {
|
||||
return fmt.Sprintf("user '%s' changed the state of share '%s' from user '%s' to '%s'", userid, shareID, sharerID, state)
|
||||
}
|
||||
|
||||
// MessageLinkAccessed returns the human-readable string that describes the action
|
||||
func MessageLinkAccessed(token string, success bool) string {
|
||||
return fmt.Sprintf("link with token '%s' was accessed. Success: %v", token, success)
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Ivan Fustero, 2026\n"
|
||||
"Language-Team: Catalan (https://app.transifex.com/owncloud-org/teams/6149/ca/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: David Walter, 2026\n"
|
||||
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Jesús Recio <jrecio@izertis.com>, 2026\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-08 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-29 03:23+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Domainmasteri, 2026\n"
|
||||
"Language-Team: Finnish (Finland) (https://app.transifex.com/owncloud-org/teams/6149/fi_FI/)\n"
|
||||
|
||||
@@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-07-01 03:21+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Cesare Capoferri, 2026\n"
|
||||
"Language-Team: Italian (https://app.transifex.com/owncloud-org/teams/6149/it/)\n"
|
||||
@@ -81,7 +81,7 @@ msgstr "Può modificare con versioni e mostrare gli invitati"
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid "Can edit with versions and trash bin"
|
||||
msgstr ""
|
||||
msgstr "Può modificare con accesso a versioni e cestino"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
@@ -178,6 +178,8 @@ msgstr ""
|
||||
#: pkg/unifiedrole/roles.go:210
|
||||
msgid "View, download, upload, edit, add, delete and restore from trash bin."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, elimina e ripristina dal "
|
||||
"cestino."
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:158
|
||||
@@ -192,6 +194,8 @@ msgid ""
|
||||
"View, download, upload, edit, add, delete, show all versions and restore "
|
||||
"from trash bin."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, elimina, mostra tutte le "
|
||||
"versioni e ripristina dal cestino."
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:242
|
||||
@@ -199,6 +203,8 @@ msgid ""
|
||||
"View, download, upload, edit, add, delete, show all versions, restore from "
|
||||
"trash bin, empty the trash bin and manage members."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, elimina, mostra tutte le "
|
||||
"versioni, ripristina dal cestino, svuota il cestino e gestisci i membri."
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: BoneNI, 2026\n"
|
||||
"Language-Team: Lao (https://app.transifex.com/owncloud-org/teams/6149/lo/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2026\n"
|
||||
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-12 03:22+0000\n"
|
||||
"POT-Creation-Date: 2026-07-03 03:14+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Roman Perekhod, 2026\n"
|
||||
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
|
||||
|
||||
@@ -5,15 +5,16 @@
|
||||
#
|
||||
# Translators:
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
# 振东 刘, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-20 03:19+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Last-Translator: 振东 刘, 2026\n"
|
||||
"Language-Team: Chinese Traditional (https://app.transifex.com/owncloud-org/teams/6149/zh-Hant/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -79,7 +80,7 @@ msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid "Can edit with versions and trash bin"
|
||||
msgstr ""
|
||||
msgstr "可以使用版本和垃圾桶进行编辑"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
@@ -171,7 +172,7 @@ msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:210
|
||||
msgid "View, download, upload, edit, add, delete and restore from trash bin."
|
||||
msgstr ""
|
||||
msgstr "“查看、下载、上传、编辑、添加、删除以及从垃圾桶恢复。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:158
|
||||
|
||||
@@ -6,15 +6,16 @@
|
||||
# Translators:
|
||||
# Benedikt Kulmann <benedikt@kulmann.biz>, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
# 振东 刘, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-20 03:19+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Last-Translator: 振东 刘, 2026\n"
|
||||
"Language-Team: Chinese (https://app.transifex.com/owncloud-org/teams/6149/zh/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -80,7 +81,7 @@ msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid "Can edit with versions and trash bin"
|
||||
msgstr ""
|
||||
msgstr "可以使用版本和垃圾桶进行编辑"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
@@ -172,7 +173,7 @@ msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:210
|
||||
msgid "View, download, upload, edit, add, delete and restore from trash bin."
|
||||
msgstr ""
|
||||
msgstr "查看、下载、上传、编辑、添加、删除以及从垃圾桶恢复。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:158
|
||||
|
||||
@@ -8,15 +8,16 @@
|
||||
# fnoopv <fnoopv@outlook.com>, 2026
|
||||
# Shouyuan, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
# 振东 刘, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-20 03:19+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Last-Translator: 振东 刘, 2026\n"
|
||||
"Language-Team: Chinese (China) (https://app.transifex.com/owncloud-org/teams/6149/zh_CN/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -82,7 +83,7 @@ msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid "Can edit with versions and trash bin"
|
||||
msgstr ""
|
||||
msgstr "可以使用版本和垃圾桶进行编辑"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
@@ -174,7 +175,7 @@ msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:210
|
||||
msgid "View, download, upload, edit, add, delete and restore from trash bin."
|
||||
msgstr ""
|
||||
msgstr "“查看、下载、上传、编辑、添加、删除以及从垃圾桶恢复。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:158
|
||||
|
||||
@@ -8,15 +8,16 @@
|
||||
# fnoopv <fnoopv@outlook.com>, 2026
|
||||
# Shouyuan, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
# 振东 刘, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-20 03:19+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Last-Translator: 振东 刘, 2026\n"
|
||||
"Language-Team: Chinese (Hong Kong) (https://app.transifex.com/owncloud-org/teams/6149/zh_HK/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -82,7 +83,7 @@ msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid "Can edit with versions and trash bin"
|
||||
msgstr ""
|
||||
msgstr "可以使用版本和垃圾桶进行编辑"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
@@ -174,7 +175,7 @@ msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:210
|
||||
msgid "View, download, upload, edit, add, delete and restore from trash bin."
|
||||
msgstr ""
|
||||
msgstr "“查看、下载、上传、编辑、添加、删除以及从垃圾桶恢复。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:158
|
||||
|
||||
@@ -7,15 +7,16 @@
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# Shouyuan, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
# 振东 刘, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-20 03:19+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 2026\n"
|
||||
"Last-Translator: 振东 刘, 2026\n"
|
||||
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/owncloud-org/teams/6149/zh_TW/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -81,7 +82,7 @@ msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid "Can edit with versions and trash bin"
|
||||
msgstr ""
|
||||
msgstr "可以使用版本和垃圾桶进行编辑"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
@@ -173,7 +174,7 @@ msgstr "查看、下載、上傳、編輯、新增及顯示所有版本。"
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:210
|
||||
msgid "View, download, upload, edit, add, delete and restore from trash bin."
|
||||
msgstr ""
|
||||
msgstr "“查看、下载、上传、编辑、添加、删除以及从垃圾桶恢复。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:158
|
||||
|
||||
@@ -100,7 +100,17 @@ func (g Graph) CreateAppRoleAssignment(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
canCreateDrives := g.checkPermission(r.Context(), "Drives.Create", userID, client)
|
||||
canCreateDrives, err := g.checkUserPermission(r.Context(), "Drives.Create", userID, client)
|
||||
if err != nil {
|
||||
// The permission could not be determined. Fail closed: leave the personal
|
||||
// space untouched rather than disabling (trashing) it on an indeterminate
|
||||
// result, and revert the role assignment so the user is not left in a
|
||||
// half-applied state (new role persisted but space reconciliation skipped).
|
||||
logger.Error().Any("userID", userID).Err(err).Msg("could not determine Drives.Create permission, reverting role assignment and leaving personal space unchanged")
|
||||
g.revertRoleAssignment(r.Context(), userID, oldRole, artur.GetAssignment().GetId())
|
||||
errorcode.RenderError(w, r, err)
|
||||
return
|
||||
}
|
||||
if canCreateDrives {
|
||||
err = shared.RestorePersonalSpace(r.Context(), client, userID)
|
||||
if err != nil {
|
||||
@@ -192,17 +202,34 @@ func (g Graph) assignmentToAppRoleAssignment(assignment *settingsmsg.UserRoleAss
|
||||
return *appRoleAssignment
|
||||
}
|
||||
|
||||
func (g Graph) checkPermission(ctx context.Context, perm string, userID string, gwc gateway.GatewayAPIClient) bool {
|
||||
func (g Graph) checkUserPermission(ctx context.Context, perm string, userID string, gwc gateway.GatewayAPIClient) (bool, error) {
|
||||
u, err := utils.GetUserWithContext(ctx, &userv1beta1.UserId{OpaqueId: userID}, gwc)
|
||||
if err != nil {
|
||||
g.logger.Error().Err(err).Msg("could not get user")
|
||||
return false
|
||||
return false, err
|
||||
}
|
||||
|
||||
if ok, err := utils.CheckPermission(revactx.ContextSetUser(context.Background(), u), perm, gwc); ok {
|
||||
return true
|
||||
} else if err != nil {
|
||||
g.logger.Error().Err(err).Msg("error checking permission")
|
||||
}
|
||||
return false
|
||||
return utils.CheckPermission(revactx.ContextSetUser(context.Background(), u), perm, gwc)
|
||||
}
|
||||
|
||||
// revertRoleAssignment best-effort restores the user's previous role after a
|
||||
// failed reconciliation, so the user is not left with the new role applied but
|
||||
// the personal space unreconciled. A user has exactly one role, so this means
|
||||
// re-assigning the previous role, or removing the new assignment if there was
|
||||
// none. Failures are only logged; the next login reconciles idempotently.
|
||||
func (g Graph) revertRoleAssignment(ctx context.Context, userID, oldRoleID, newAssignmentID string) {
|
||||
logger := g.logger.SubloggerWithRequestID(ctx)
|
||||
if oldRoleID != "" {
|
||||
if _, err := g.roleService.AssignRoleToUser(ctx, &settingssvc.AssignRoleToUserRequest{
|
||||
AccountUuid: userID,
|
||||
RoleId: oldRoleID,
|
||||
}); err != nil {
|
||||
logger.Error().Any("userID", userID).Str("roleID", oldRoleID).Err(err).Msg("could not revert role assignment to previous role")
|
||||
}
|
||||
return
|
||||
}
|
||||
if _, err := g.roleService.RemoveRoleFromUser(ctx, &settingssvc.RemoveRoleFromUserRequest{
|
||||
Id: newAssignmentID,
|
||||
}); err != nil {
|
||||
logger.Error().Any("userID", userID).Str("assignmentID", newAssignmentID).Err(err).Msg("could not revert role assignment by removing the new assignment")
|
||||
}
|
||||
}
|
||||
@@ -472,7 +472,7 @@ var _ = Describe("AppRoleAssignments", func() {
|
||||
Expect(rr.Code).To(Equal(http.StatusInternalServerError))
|
||||
})
|
||||
|
||||
It("returns error when GetUser fails for non-UserLight role", func() {
|
||||
It("fails closed and reverts the role assignment when GetUser fails", func() {
|
||||
userRoleAssignment := &settingsmsg.UserRoleAssignment{
|
||||
Id: "some-appRoleAssignment-ID",
|
||||
AccountUuid: "user1",
|
||||
@@ -480,6 +480,7 @@ var _ = Describe("AppRoleAssignments", func() {
|
||||
}
|
||||
roleService.On("ListRoleAssignments", mock.Anything, mock.Anything, mock.Anything).Return(&settings.ListRoleAssignmentsResponse{Assignments: []*settingsmsg.UserRoleAssignment{}}, nil)
|
||||
roleService.On("AssignRoleToUser", mock.Anything, mock.Anything, mock.Anything).Return(&settings.AssignRoleToUserResponse{Assignment: userRoleAssignment}, nil)
|
||||
roleService.On("RemoveRoleFromUser", mock.Anything, mock.Anything, mock.Anything).Return(&empty.Empty{}, nil)
|
||||
|
||||
// Reset the mock and make GetUser fail
|
||||
gatewayClient.ExpectedCalls = nil
|
||||
@@ -511,7 +512,74 @@ var _ = Describe("AppRoleAssignments", func() {
|
||||
r = r.WithContext(context.WithValue(revactx.ContextSetUser(ctx, currentUser), chi.RouteCtxKey, rctx))
|
||||
svc.CreateAppRoleAssignment(rr, r)
|
||||
|
||||
Expect(rr.Code).To(Equal(http.StatusCreated))
|
||||
// The user lookup failed, so the Drives.Create permission could not be
|
||||
// determined. The handler must fail closed: surface the error, leave the
|
||||
// personal space untouched, and revert the just-persisted role assignment
|
||||
// (the user had no previous role, so the new assignment is removed).
|
||||
Expect(rr.Code).To(Equal(http.StatusInternalServerError))
|
||||
gatewayClient.AssertNotCalled(GinkgoT(), "DeleteStorageSpace", mock.Anything, mock.Anything)
|
||||
roleService.AssertCalled(GinkgoT(), "RemoveRoleFromUser", mock.Anything, mock.MatchedBy(func(req *settings.RemoveRoleFromUserRequest) bool {
|
||||
return req.GetId() == "some-appRoleAssignment-ID"
|
||||
}), mock.Anything)
|
||||
})
|
||||
|
||||
It("fails closed and reverts to the previous role when the permission check is inconclusive", func() {
|
||||
previousAssignment := &settingsmsg.UserRoleAssignment{
|
||||
Id: "old-appRoleAssignment-ID",
|
||||
AccountUuid: "user1",
|
||||
RoleId: "old-appRole-ID",
|
||||
}
|
||||
newAssignment := &settingsmsg.UserRoleAssignment{
|
||||
Id: "new-appRoleAssignment-ID",
|
||||
AccountUuid: "user1",
|
||||
RoleId: "some-appRole-ID",
|
||||
}
|
||||
roleService.On("ListRoleAssignments", mock.Anything, mock.Anything, mock.Anything).Return(&settings.ListRoleAssignmentsResponse{Assignments: []*settingsmsg.UserRoleAssignment{previousAssignment}}, nil)
|
||||
roleService.On("AssignRoleToUser", mock.Anything, mock.Anything, mock.Anything).Return(&settings.AssignRoleToUserResponse{Assignment: newAssignment}, nil)
|
||||
|
||||
// CheckPermission returns a non-OK status that is NOT PERMISSION_DENIED
|
||||
// (here: an internal error in the settings service). The permission
|
||||
// therefore could not be authoritatively determined, so the handler must
|
||||
// fail closed and must NOT delete (trash) the personal space.
|
||||
gatewayClient.ExpectedCalls = nil
|
||||
gatewayClient.On("GetUser", mock.Anything, mock.Anything).Return(&userv1beta1.GetUserResponse{
|
||||
Status: &rpc.Status{Code: rpc.Code_CODE_OK},
|
||||
User: currentUser,
|
||||
}, nil)
|
||||
gatewayClient.On("CheckPermission", mock.Anything, mock.Anything).Return(&permissions.CheckPermissionResponse{
|
||||
Status: &rpc.Status{Code: rpc.Code_CODE_INTERNAL, Message: "settings unavailable"},
|
||||
}, nil)
|
||||
gatewayClient.On("ListStorageSpaces", mock.Anything, mock.Anything).Return(&storageprovider.ListStorageSpacesResponse{
|
||||
Status: &rpc.Status{Code: rpc.Code_CODE_OK},
|
||||
StorageSpaces: []*storageprovider.StorageSpace{
|
||||
{Id: &storageprovider.StorageSpaceId{OpaqueId: "ps1"}},
|
||||
},
|
||||
}, nil)
|
||||
gatewayClient.On("DeleteStorageSpace", mock.Anything, mock.Anything).Return(&storageprovider.DeleteStorageSpaceResponse{
|
||||
Status: &rpc.Status{Code: rpc.Code_CODE_OK},
|
||||
}, nil)
|
||||
|
||||
ara := libregraph.NewAppRoleAssignmentWithDefaults()
|
||||
ara.SetAppRoleId("some-appRole-ID")
|
||||
ara.SetPrincipalId("user1")
|
||||
ara.SetResourceId(cfg.Application.ID)
|
||||
|
||||
araJson, err := json.Marshal(ara)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
r := httptest.NewRequest(http.MethodPost, "/graph/v1.0/users/user1/appRoleAssignments", bytes.NewBuffer(araJson))
|
||||
rctx := chi.NewRouteContext()
|
||||
rctx.URLParams.Add("userID", "user1")
|
||||
r = r.WithContext(context.WithValue(revactx.ContextSetUser(ctx, currentUser), chi.RouteCtxKey, rctx))
|
||||
svc.CreateAppRoleAssignment(rr, r)
|
||||
|
||||
// The permission was inconclusive: fail closed (500), do not trash the
|
||||
// space, and revert the role assignment back to the previous role.
|
||||
Expect(rr.Code).To(Equal(http.StatusInternalServerError))
|
||||
gatewayClient.AssertNotCalled(GinkgoT(), "DeleteStorageSpace", mock.Anything, mock.Anything)
|
||||
roleService.AssertCalled(GinkgoT(), "AssignRoleToUser", mock.Anything, mock.MatchedBy(func(req *settings.AssignRoleToUserRequest) bool {
|
||||
return req.GetRoleId() == "old-appRole-ID"
|
||||
}), mock.Anything)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "./static/css/main.46162c75.css",
|
||||
"main.js": "./static/js/main.77f24f3e.js",
|
||||
"runtime-main.js": "./static/js/runtime-main.b6fe9609.js",
|
||||
"all-i18n-data.js": "./static/js/all-i18n-data.65cce477.chunk.js",
|
||||
"identifier-main.js": "./static/js/identifier-main.3fe82d6b.chunk.js",
|
||||
"containers-login.js": "./static/js/containers-login.823a6154.chunk.js",
|
||||
"containers-welcome.js": "./static/js/containers-welcome.e5f2cbd1.chunk.js",
|
||||
"containers-goodbye.js": "./static/js/containers-goodbye.0b76d7de.chunk.js",
|
||||
"static/js/682.b726a241.chunk.js": "./static/js/682.b726a241.chunk.js",
|
||||
"static/js/327.d3a97703.js": "./static/js/327.d3a97703.js",
|
||||
"static/js/111.775cff4a.chunk.js": "./static/js/111.775cff4a.chunk.js",
|
||||
"static/js/797.9c9790e5.chunk.js": "./static/js/797.9c9790e5.chunk.js",
|
||||
"static/media/inter.ttf": "./static/media/inter.aadb65ac..ttf",
|
||||
"workbox-96c553ab.js.map": "./workbox-96c553ab.js.map",
|
||||
"static/media/background.jpg": "./static/media/background.7296b9ab..jpg",
|
||||
"static/media/inter.woff2": "./static/media/inter.d5c51099..woff2",
|
||||
"workbox-96c553ab.js": "./workbox-96c553ab.js",
|
||||
"service-worker.js.map": "./service-worker.js.map",
|
||||
"service-worker.js": "./service-worker.js",
|
||||
"index.html": "./index.html",
|
||||
"main.46162c75.css.map": "./static/css/main.46162c75.css.map",
|
||||
"main.77f24f3e.js.map": "./static/js/main.77f24f3e.js.map",
|
||||
"runtime-main.b6fe9609.js.map": "./static/js/runtime-main.b6fe9609.js.map",
|
||||
"identifier-main.3fe82d6b.chunk.js.map": "./static/js/identifier-main.3fe82d6b.chunk.js.map",
|
||||
"containers-login.823a6154.chunk.js.map": "./static/js/containers-login.823a6154.chunk.js.map",
|
||||
"containers-welcome.e5f2cbd1.chunk.js.map": "./static/js/containers-welcome.e5f2cbd1.chunk.js.map",
|
||||
"containers-goodbye.0b76d7de.chunk.js.map": "./static/js/containers-goodbye.0b76d7de.chunk.js.map",
|
||||
"682.b726a241.chunk.js.map": "./static/js/682.b726a241.chunk.js.map",
|
||||
"327.d3a97703.js.map": "./static/js/327.d3a97703.js.map",
|
||||
"111.775cff4a.chunk.js.map": "./static/js/111.775cff4a.chunk.js.map",
|
||||
"797.9c9790e5.chunk.js.map": "./static/js/797.9c9790e5.chunk.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/js/runtime-main.b6fe9609.js",
|
||||
"static/js/327.d3a97703.js",
|
||||
"static/css/main.46162c75.css",
|
||||
"static/js/main.77f24f3e.js"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
if(!self.define){let i,s={};const e=(e,n)=>(e=new URL(e+".js",n).href,s[e]||new Promise(s=>{if("document"in self){const i=document.createElement("script");i.src=e,i.onload=s,document.head.appendChild(i)}else i=e,importScripts(e),s()}).then(()=>{let i=s[e];if(!i)throw new Error(`Module ${e} didn’t register its module`);return i}));self.define=(n,t)=>{const l=i||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let r={};const c=i=>e(i,l),u={module:{uri:l},exports:r,require:c};s[l]=Promise.all(n.map(i=>u[i]||c(i))).then(i=>(t(...i),r))}}define(["./workbox-96c553ab"],function(i){"use strict";self.addEventListener("message",i=>{i.data&&"SKIP_WAITING"===i.data.type&&self.skipWaiting()}),i.clientsClaim(),i.precacheAndRoute([{url:"./index.html",revision:"da5fa7a7d9e066ee7efca127fae48ce1"},{url:"./static/css/main.46162c75.css",revision:null},{url:"./static/js/111.775cff4a.chunk.js",revision:null},{url:"./static/js/111.775cff4a.chunk.js.LICENSE.txt",revision:"fd7525d544dd9c67d07855cb8778e590"},{url:"./static/js/327.d3a97703.js",revision:null},{url:"./static/js/327.d3a97703.js.LICENSE.txt",revision:"d6d0023127db73c1a7f533d02f4b232a"},{url:"./static/js/682.b726a241.chunk.js",revision:null},{url:"./static/js/682.b726a241.chunk.js.LICENSE.txt",revision:"f7b599e3f88bf94d2af5d3f60873a311"},{url:"./static/js/797.9c9790e5.chunk.js",revision:null},{url:"./static/js/all-i18n-data.65cce477.chunk.js",revision:null},{url:"./static/js/containers-goodbye.0b76d7de.chunk.js",revision:null},{url:"./static/js/containers-login.823a6154.chunk.js",revision:null},{url:"./static/js/containers-welcome.e5f2cbd1.chunk.js",revision:null},{url:"./static/js/identifier-main.3fe82d6b.chunk.js",revision:null},{url:"./static/js/main.77f24f3e.js",revision:null},{url:"./static/js/runtime-main.b6fe9609.js",revision:null},{url:"./static/media/background.7296b9ab..jpg",revision:null},{url:"./static/media/inter.aadb65ac..ttf",revision:null},{url:"./static/media/inter.d5c51099..woff2",revision:null}],{}),i.registerRoute(new i.NavigationRoute(i.createHandlerBoundToURL("./index.html"),{denylist:[/^\/_/,/\/[^/?]+\.[^/]+$/]}))});
|
||||
//# sourceMappingURL=service-worker.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"service-worker.js","sources":["../../../../../../../private/var/folders/rg/nt5v7f4x0s91n3284nl77rtw0000gp/T/e2312853e6842bedca8390ddcc0432bf/service-worker.js"],"sourcesContent":["import {clientsClaim as workbox_core_clientsClaim} from '/Users/roman.perekhod/projects/owncloud/ocis/services/idp/node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/clientsClaim.mjs';\nimport {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/roman.perekhod/projects/owncloud/ocis/services/idp/node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/precacheAndRoute.mjs';\nimport {registerRoute as workbox_routing_registerRoute} from '/Users/roman.perekhod/projects/owncloud/ocis/services/idp/node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/registerRoute.mjs';\nimport {NavigationRoute as workbox_routing_NavigationRoute} from '/Users/roman.perekhod/projects/owncloud/ocis/services/idp/node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/NavigationRoute.mjs';\nimport {createHandlerBoundToURL as workbox_precaching_createHandlerBoundToURL} from '/Users/roman.perekhod/projects/owncloud/ocis/services/idp/node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/createHandlerBoundToURL.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.addEventListener('message', (event) => {\n if (event.data && event.data.type === 'SKIP_WAITING') {\n self.skipWaiting();\n }\n});\n\nworkbox_core_clientsClaim();\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"./index.html\",\n \"revision\": \"da5fa7a7d9e066ee7efca127fae48ce1\"\n },\n {\n \"url\": \"./static/css/main.46162c75.css\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/111.775cff4a.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/111.775cff4a.chunk.js.LICENSE.txt\",\n \"revision\": \"fd7525d544dd9c67d07855cb8778e590\"\n },\n {\n \"url\": \"./static/js/327.d3a97703.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/327.d3a97703.js.LICENSE.txt\",\n \"revision\": \"d6d0023127db73c1a7f533d02f4b232a\"\n },\n {\n \"url\": \"./static/js/682.b726a241.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/682.b726a241.chunk.js.LICENSE.txt\",\n \"revision\": \"f7b599e3f88bf94d2af5d3f60873a311\"\n },\n {\n \"url\": \"./static/js/797.9c9790e5.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/all-i18n-data.65cce477.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/containers-goodbye.0b76d7de.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/containers-login.823a6154.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/containers-welcome.e5f2cbd1.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/identifier-main.3fe82d6b.chunk.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/main.77f24f3e.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/js/runtime-main.b6fe9609.js\",\n \"revision\": null\n },\n {\n \"url\": \"./static/media/background.7296b9ab..jpg\",\n \"revision\": null\n },\n {\n \"url\": \"./static/media/inter.aadb65ac..ttf\",\n \"revision\": null\n },\n {\n \"url\": \"./static/media/inter.d5c51099..woff2\",\n \"revision\": null\n }\n], {});\n\nworkbox_routing_registerRoute(new workbox_routing_NavigationRoute(workbox_precaching_createHandlerBoundToURL(\"./index.html\"), {\n \n denylist: [/^\\/_/,/\\/[^/?]+\\.[^/]+$/],\n}));\n\n\n\n\n\n\n"],"names":["self","addEventListener","event","data","type","skipWaiting","workbox_core_clientsClaim","workbox_precaching_precacheAndRoute","url","revision","workbox","registerRoute","workbox_routing_NavigationRoute","NavigationRoute","workbox_precaching_createHandlerBoundToURL","denylist"],"mappings":"inBAuBAA,KAAKC,iBAAiB,UAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,gBAITC,EAAAA,eAQAC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,eACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,MAEd,CACED,IAAO,oCACPC,SAAY,MAEd,CACED,IAAO,gDACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,MAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,MAEd,CACED,IAAO,gDACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,MAEd,CACED,IAAO,8CACPC,SAAY,MAEd,CACED,IAAO,mDACPC,SAAY,MAEd,CACED,IAAO,iDACPC,SAAY,MAEd,CACED,IAAO,mDACPC,SAAY,MAEd,CACED,IAAO,gDACPC,SAAY,MAEd,CACED,IAAO,+BACPC,SAAY,MAEd,CACED,IAAO,uCACPC,SAAYLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
body,html{height:100%}body{margin:0;padding:0}#bg{background:#fff;bottom:0;left:0;position:fixed;right:0;top:0}#loader{bottom:6%;color:#666;font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;left:50%;position:absolute;transform:translate(-50%,-50%)}#loader>a{color:#1e98d7}#font-preloader{color:#fff;font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;position:absolute;top:-500px}#font-preloader>span{font-weight:500}#root{display:flex;height:100%}*{scrollbar-color:#ddd #f5f5f5;scrollbar-width:thin}body:hover *{scrollbar-color:#bdbdbd #f5f5f5}::-webkit-scrollbar{background:#0000;height:8px;overflow:visible;width:8px}::-webkit-scrollbar-corner{background:#f5f5f5;display:none}::-webkit-scrollbar-button{display:none;height:0;width:0}::-webkit-scrollbar-button:end:increment,::-webkit-scrollbar-button:start:decrement{display:block}::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{display:none}::-webkit-scrollbar-track{-moz-background-clip:border;-webkit-background-clip:border;background-clip:padding-box;background-color:#f5f5f5}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#ddd;border-radius:4px;min-height:40px;padding-top:100px}::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-track:vertical{border-left-width:0;border-right-width:0}::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-track:vertical{border-color:#0000;border-style:solid}::-webkit-scrollbar-thumb:hover{background-color:#bdbdbd}::-webkit-scrollbar-thumb:active{background-color:#989898}::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-thumb:vertical{border-width:0}body:hover ::-webkit-scrollbar-thumb{background-color:#bdbdbd}@font-face{font-family:Inter;font-style:oblique 0deg 12deg;font-weight:100 900;src:url(../../static/media/inter.d5c51099..woff2) format("woff2"),url(../../static/media/inter.aadb65ac..ttf) format("truetype")}html{font-feature-settings:"cv11"}body{font-family:Inter,sans-serif}strong{font-weight:600}.oc-login-bg{background-image:url(../../static/media/background.7296b9ab..jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;display:flex;width:100%;z-index:0}#loader{color:#fff;text-shadow:#000 0 0 1px}.oc-logo{height:80px;left:50%;position:absolute;top:-130px;transform:translateX(-50%)}.oc-progress{background-color:#4e85c8cc!important;height:4px;width:100px}.oc-progress>div{background-color:#4a76ac!important}.oc-input{background-color:#fff;border:1px solid #fff;border-radius:3px;box-sizing:border-box;font-size:1rem;height:40px;padding:16px;width:300px}.oc-label{color:#fff;display:inline-block;margin-bottom:5px}.oc-input.error{border:1px solid #fe4600;outline:none}.MuiTypography-colorError{color:#fe4600!important}.oc-input:focus{border:1px solid #fff;outline:none}.oc-input+.oc-input{margin-top:15px}.MuiTouchRipple-root{display:none!important}.oc-button{font-size:1.0625rem!important}.oc-button-primary{background:linear-gradient(90deg,#2c588e,#4e85c8) -1px;background-size:103%!important;border:1px solid #0000!important;width:100%}.oc-checkbox-dark svg{fill:#fff!important}.oc-footer-message{color:#fff;font-size:.8rem;padding:10px}@media only screen and (max-width:768px){.oc-logo{height:60px;top:-90px}}.oc-mt-l{margin-top:24px!important}.oc-mb-m{margin-bottom:20px!important}.oc-light{color:#fff!important}.oc-login-form div:not(:last-of-type){margin-bottom:15px}.oc-invisible-sr{border:0!important;clip:rect(1px,1px,1px,1px)!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;top:0;white-space:nowrap;width:1px!important}
|
||||
/*# sourceMappingURL=main.46162c75.css.map*/
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/css/main.46162c75.css","mappings":"AACA,UAEE,WACF,CAEA,KACE,QAAS,CACT,SACF,CAEA,IAME,eAAiB,CAHjB,QAAS,CACT,MAAO,CAHP,cAAe,CAIf,OAAQ,CAHR,KAKF,CAEA,QAEE,SAAU,CAIV,UAAW,CADX,6CAAuD,CADvD,eAAgB,CADhB,QAAS,CAFT,iBAAkB,CAMlB,8BACF,CAEA,UACE,aACF,CAEA,gBAIE,UAAY,CACZ,6CAAuD,CAFvD,eAAgB,CAFhB,iBAAkB,CAClB,UAIF,CAEA,qBACE,eACF,CAEA,MAEE,YAAa,CADb,WAEF,CAIA,EAEE,4BAA6B,CAD7B,oBAEF,CAEA,aACE,+BACF,CAIA,oBAGE,gBAAuB,CAFvB,UAAW,CAGX,gBAAiB,CAFjB,SAGF,CAEA,2BAEE,kBAAmB,CADnB,YAEF,CAEA,2BACE,YAAa,CACb,QAAS,CACT,OACF,CAEA,oFAEE,aACF,CAEA,sGAEE,YACF,CAEA,0BACE,2BAA4B,CAC5B,8BAA+B,CAC/B,2BAA4B,CAC5B,wBACF,CAEA,0BACE,2BAA4B,CAC5B,qBAAsB,CAGtB,iBAAkB,CAFlB,eAAgB,CAChB,iBAEF,CAEA,wEAEE,mBAAoB,CACpB,oBACF,CAEA,gJASE,kBAAyB,CADzB,kBAEF,CAEA,gCACE,wBACF,CAEA,iCACE,wBACF,CAEA,wEAIE,cACF,CAEA,qCACE,wBACF,CAGA,WACE,iBAAkB,CAGlB,6BAA8B,CAD9B,mBAAoB,CADpB,gIAGF,CAEA,KACE,4BACF,CAEA,KACE,4BACF,CAEA,OACE,eACF,CAEA,aACE,iEAA8C,CAG9C,uBAA2B,CAD3B,2BAA4B,CAD5B,qBAAsB,CAItB,YAAa,CACb,UAAW,CAFX,SAGF,CAEA,QAEE,UAAY,CACZ,wBACF,CAEA,SAIE,WAAY,CADZ,QAAS,CAFT,iBAAkB,CAClB,UAAW,CAGX,0BACF,CAEA,aAEE,oCAAoD,CACpD,UAAW,CACX,WACF,CAEA,iBAEE,kCACF,CAEA,UACE,qBAAsB,CACtB,qBAAsB,CACtB,iBAAkB,CAIlB,qBAAsB,CACtB,cAAe,CAJf,WAAY,CAEZ,YAAa,CADb,WAIF,CAEA,UACE,UAAW,CACX,oBAAqB,CACrB,iBACF,CAEA,gBAEE,wBAAyB,CADzB,YAEF,CAEA,0BACE,uBACF,CAEA,gBAEE,qBAAsB,CADtB,YAEF,CAEA,oBACE,eACF,CAEA,qBACE,sBACF,CAEA,WAEE,6BACF,CAEA,mBAGE,sDAA4D,CAC5D,8BAAgC,CAChC,gCAAwC,CAHxC,UAIF,CAEA,sBAEE,mBACF,CAEA,mBACE,UAAY,CAEZ,eAAiB,CADjB,YAEF,CAEA,yCACE,SACE,WAAY,CACZ,SACF,CACF,CAGA,SACE,yBACF,CAEA,SACE,4BACF,CAEA,UACE,oBACF,CAEA,sCACE,kBACF,CAMA,iBACE,kBAAoB,CACpB,oCAAyC,CACzC,oBAAsB,CACtB,yBAA2B,CAC3B,mBAAqB,CAErB,2BAA6B,CAC7B,KAAM,CACN,kBAAmB,CACnB,mBACF","sources":["app.css"],"sourcesContent":["/* Kopano styles */\nhtml,\nbody {\n height: 100%;\n}\n\nbody {\n margin: 0;\n padding: 0;\n}\n\n#bg {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: white;\n}\n\n#loader {\n position: absolute;\n bottom: 6%;\n left: 50%;\n font-weight: 400;\n font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;\n color: #666;\n transform: translate(-50%, -50%);\n}\n\n#loader > a {\n color: #1e98d7; /* KopanoBlue700 */\n}\n\n#font-preloader {\n position: absolute;\n top: -500px;\n font-weight: 400;\n color: white;\n font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;\n}\n\n#font-preloader > span {\n font-weight: 500;\n}\n\n#root {\n height: 100%;\n display: flex;\n}\n\n/* CSS Scrollbars, currently only Firefox: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars */\n\n* {\n scrollbar-width: thin;\n scrollbar-color: #ddd #f5f5f5;\n}\n\nbody:hover * {\n scrollbar-color: #bdbdbd #f5f5f5;\n}\n\n/* Webkit specific scrollbars, works in Chrome and Safari */\n\n::-webkit-scrollbar {\n height: 8px;\n width: 8px;\n background: transparent;\n overflow: visible;\n}\n\n::-webkit-scrollbar-corner {\n display: none;\n background: #f5f5f5;\n}\n\n::-webkit-scrollbar-button {\n display: none;\n height: 0;\n width: 0;\n}\n\n::-webkit-scrollbar-button:start:decrement,\n::-webkit-scrollbar-button:end:increment {\n display: block;\n}\n\n::-webkit-scrollbar-button:vertical:start:increment,\n::-webkit-scrollbar-button:vertical:end:decrement {\n display: none;\n}\n\n::-webkit-scrollbar-track {\n -moz-background-clip: border;\n -webkit-background-clip: border;\n background-clip: padding-box;\n background-color: #f5f5f5;\n}\n\n::-webkit-scrollbar-thumb {\n background-clip: padding-box;\n background-color: #ddd;\n min-height: 40px;\n padding-top: 100px;\n border-radius: 4px;\n}\n\n::-webkit-scrollbar-track:vertical,\n::-webkit-scrollbar-track:horizontal {\n border-left-width: 0;\n border-right-width: 0;\n}\n\n::-webkit-scrollbar-track:vertical,\n::-webkit-scrollbar-track:horizontal,\n::-webkit-scrollbar-thumb:vertical,\n::-webkit-scrollbar-thumb:horizontal,\n::-webkit-scrollbar-track:vertical,\n::-webkit-scrollbar-track:horizontal,\n::-webkit-scrollbar-thumb:vertical,\n::-webkit-scrollbar-thumb:horizontal {\n border-style: solid;\n border-color: transparent;\n}\n\n::-webkit-scrollbar-thumb:hover {\n background-color: #bdbdbd;\n}\n\n::-webkit-scrollbar-thumb:active {\n background-color: #989898;\n}\n\n::-webkit-scrollbar-thumb:vertical,\n::-webkit-scrollbar-thumb:horizontal {\n border-width: 0;\n border-left-width: 0;\n border-right-width: 0;\n}\n\nbody:hover ::-webkit-scrollbar-thumb {\n background-color: #bdbdbd;\n}\n\n/* additional css on top of kpop */\n@font-face {\n font-family: Inter;\n src: url(./fonts/inter.woff2) format('woff2'), url(./fonts/inter.ttf) format('truetype');\n font-weight: 100 900;\n font-style: oblique 0deg 12deg;\n}\n\nhtml {\n font-feature-settings: 'cv11';\n}\n\nbody {\n font-family: Inter, sans-serif;\n}\n\nstrong {\n font-weight: 600;\n}\n\n.oc-login-bg {\n background-image: url(./images/background.jpg);\n background-size: cover;\n background-repeat: no-repeaLine truncated
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! For license information please see 111.775cff4a.chunk.js.LICENSE.txt */
|
||||
"use strict";(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[111],{1769(e,t,n){n.d(t,{A:()=>d});var o=n(8621),r=n(4680),i=n(1189),a=n(4335),s=n(9259);const c=(0,n(7662).A)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=i.forwardRef(function(e,t){var n=e.alt,s=e.children,l=e.classes,d=e.className,u=e.component,p=void 0===u?"div":u,f=e.imgProps,m=e.sizes,h=e.src,v=e.srcSet,g=e.variant,b=void 0===g?"circular":g,y=(0,r.A)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),w=null,A=function(e){var t=e.src,n=e.srcSet,o=i.useState(!1),r=o[0],a=o[1];return i.useEffect(function(){if(t||n){a(!1);var e=!0,o=new Image;return o.src=t,o.srcSet=n,o.onload=function(){e&&a("loaded")},o.onerror=function(){e&&a("error")},function(){e=!1}}},[t,n]),r}({src:h,srcSet:v}),x=h||v,E=x&&"error"!==A;return w=E?i.createElement("img",(0,o.A)({alt:n,src:h,srcSet:v,sizes:m,className:l.img},f)):null!=s?s:x&&n?n[0]:i.createElement(c,{className:l.fallback}),i.createElement(p,(0,o.A)({className:(0,a.A)(l.root,l.system,l[b],d,!E&&l.colorDefault),ref:t},y),w)});const d=(0,s.A)(function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}},{name:"MuiAvatar"})(l)},2493(e,t,n){n.d(t,{A:()=>o});const o=n(1189).createContext({})},2912(e,t,n){n.d(t,{A:()=>f});var o=n(8621),r=n(4680),i=n(1189),a=n(4335),s=n(4949),c=n(9259),l=n(1606),d=n(207),u=n(7922),p=i.forwardRef(function(e,t){var n=e.classes,c=e.className,p=e.color,f=void 0===p?"primary":p,m=e.component,h=void 0===m?"a":m,v=e.onBlur,g=e.onFocus,b=e.TypographyClasses,y=e.underline,w=void 0===y?"hover":y,A=e.variant,x=void 0===A?"inherit":A,E=(0,r.A)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),T=(0,l.A)(),k=T.isFocusVisible,C=T.onBlurVisible,S=T.ref,N=i.useState(!1),O=N[0],R=N[1],M=(0,d.A)(t,S);return i.createElement(u.A,(0,o.A)({className:(0,a.A)(n.root,n["underline".concat((0,s.A)(w))],c,O&&n.focusVisible,"button"===h&&n.button),classes:b,color:f,component:h,onBlur:function(e){O&&(C(),R(!1)),v&&v(e)},onFocus:function(e){k(e)&&R(!0),g&&g(e)},ref:M,variant:x},E))});const f=(0,c.A)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(p)},4724(e,t,n){n.d(t,{Ay:()=>je});var o=n(8621),r=n(1543),i=n(4680),a=n(6328),s=n(1189),c=n(8205),l=n(4335),d=n(4870),u=n(6219),p=n(9259),f=n(4949),m=n(7850),h=n(5030),v=n(6755),g=n(207);function b(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var y={entering:{opacity:1,transform:b(1)},entered:{opacity:1,transform:"none"}},w=s.forwardRef(function(e,t){var n=e.children,a=e.disableStrictModeCompat,c=void 0!==a&&a,l=e.in,d=e.onEnter,u=e.onEntered,p=e.onEntering,f=e.onExit,w=e.onExited,A=e.onExiting,x=e.style,E=e.timeout,T=void 0===E?"auto":E,k=e.TransitionComponent,C=void 0===k?m.Ay:k,S=(0,i.A)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),N=s.useRef(),O=s.useRef(),R=(0,h.A)(),M=R.unstable_strictMode&&!c,L=s.useRef(null),P=(0,g.A)(n.ref,t),F=(0,g.A)(M?L:void 0,P),B=function(e){return function(t,n){if(e){var o=M?[L.current,t]:[t,n],i=(0,r.A)(o,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},D=B(p),I=B(function(e,t){(0,v.q)(e);var n,o=(0,v.c)({style:x,timeout:T},{mode:"enter"}),r=o.duration,i=o.delay;"auto"===T?(n=R.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=r,e.style.transition=[R.transitions.create("opacity",{duration:n,delay:i}),R.transitions.create("transform",{duration:.666*n,delay:i})].join(","),d&&d(e,t)}),z=B(u),H=B(A),W=B(function(e){var t,n=(0,v.c)({style:x,timeout:T},{mode:"exit"}),o=n.duration,r=n.delay;"auto"===T?(t=R.transitions.getAutoHeightDuration(e.clientHeight),O.current=t):t=o,e.style.transition=[R.transitions.create("opacity",{durationLine truncated
|
||||
//# sourceMappingURL=111.775cff4a.chunk.js.map
|
||||
@@ -0,0 +1,24 @@
|
||||
/**!
|
||||
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
||||
* @version 1.16.1-lts
|
||||
* @license
|
||||
* Copyright (c) 2016 Federico Zivolo and contributors
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOF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kI,EAAQrI,EAAAA,SACRsI,EAActI,EAAAA,SACd0C,GAAQ6F,EAAAA,EAAAA,KACRC,EAAyB9F,EAAM+F,sBAAwBnB,EACvDoB,EAAU1I,EAAAA,OAAa,MACvB2I,GAAalD,EAAAA,EAAAA,GAAWlF,EAASH,IAAKA,GACtCwI,GAAYnD,EAAAA,EAAAA,GAAW+C,EAAyBE,OAAUG,EAAWF,GAErEG,EAA+B,SAAsCC,GACvE,OAAO,SAAUC,EAAiBC,GAChC,GAAIF,EAAU,CACZ,IAAIzH,EAAOkH,EAAyB,CAACE,EAAQQ,QAASF,GAAmB,CAACA,EAAiBC,GACvFE,GAAQC,EAAAA,EAAAA,GAAe9H,EAAM,GAC7B+H,EAAOF,EAAM,GACbG,EAAcH,EAAM,QAGJN,IAAhBS,EACFP,EAASM,GAETN,EAASM,EAAMC,EAEnB,CACF,CACF,EAEIC,EAAiBT,EAA6BnB,GAC9C6B,EAAcV,EAA6B,SAAUO,EAAMC,IAC7DG,EAAAA,EAAAA,GAAOJ,GAEP,IASIK,EATAC,GAAsBC,EAAAA,EAAAA,GAAmB,CAC3C7B,MAAOA,EACPE,QAASA,GACR,CACD4B,KAAM,UAEJC,EAAqBH,EAAoBD,SACzCK,EAAQJ,EAAoBI,MAIhB,SAAZ9B,GACFyB,EAAWhH,EAAMsH,YAAYC,sBAAsBZ,EAAKa,cACxD5B,EAAYY,QAAUQ,GAEtBA,EAAWI,EAGbT,EALine truncated
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! For license information please see 327.d3a97703.js.LICENSE.txt */
|
||||
(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[327],{207(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(1189),o=n(3222);function i(e,t){return r.useMemo(function(){return null==e&&null==t?null:function(n){(0,o.A)(e,n),(0,o.A)(t,n)}},[e,t])}},251(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(3715);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},299(e,t,n){"use strict";var r=n(1189),o=n(2327),i=n(7355);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},g={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){y[e]=new m(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];y[t]=new m(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){y[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){y[e]=new m(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){y[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){y[e]=new m(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){y[e]=new m(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){y[e]=new m(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){y[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o=y.hasOwnProperty(t)?y[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(g,e)||!p.call(h,e)&&(d.test(e)?g[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoiLine truncated
|
||||
//# sourceMappingURL=327.d3a97703.js.map
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim/with-selector.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* A better abstraction over CSS.
|
||||
*
|
||||
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
||||
* @website https://github.com/cssinjs/jss
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/** @license React v0.20.2
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v17.0.2
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v17.0.2
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/327.d3a97703.js","mappings":";4IAEe,SAASA,EAAWC,EAAMC,GAMvC,OAAOC,EAAAA,QAAc,WACnB,OAAY,MAARF,GAAwB,MAARC,EACX,KAGF,SAAUE,IACfC,EAAAA,EAAAA,GAAOJ,EAAMG,IACbC,EAAAA,EAAAA,GAAOH,EAAME,EACf,CACF,EAAG,CAACH,EAAMC,GACZ,C,yDChBA,SAASI,EAAcC,GACrB,IAAIC,ECFN,SAAqBD,EAAGE,GACtB,GAAI,WAAY,OAAQF,KAAOA,EAAG,OAAOA,EACzC,IAAIG,EAAIH,EAAEI,OAAOC,aACjB,QAAI,IAAWF,EAAG,CAChB,IAAIF,EAAIE,EAAEG,KAAKN,EAAGE,GAAK,WACvB,GAAI,WAAY,OAAQD,GAAI,OAAOA,EACnC,MAAM,IAAIM,UAAU,+CACtB,CACA,OAAQ,WAAaL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K,GAAG,EAAG,GAE5L,IAAIgB,EAAG5D,EAAG6D,mDAAmDC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAAMC,EAAG,MAChN,GAAG,oBAAoBpF,QAAQA,OAAOqF,IAAI,CAAC,IAAIC,EAAEtF,OAAOqF,IAAIjB,EAAGkB,EAAE,iBAAiBjB,EAAGiB,EAAE,gBAAgBhB,EAAGgB,EAAELine truncated
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! For license information please see 682.b726a241.chunk.js.LICENSE.txt */
|
||||
(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[682],{586(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return function(t){return e?"function"===typeof t?t():t:null}},e.exports=t.default},1606(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(1189),o=n(8205),i=!0,a=!1,s=null,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!c[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){a=!0,window.clearTimeout(s),s=window.setTimeout(function(){a=!1},100)}function h(){return{isFocusVisible:f,onBlurVisible:p,ref:r.useCallback(function(e){var t,n=o.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))},[])}}},3920(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},4202(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(8621),o=n(4680),i=n(1189),a=n(4335),s=n(9259),c=i.forwardRef(function(e,t){var n=e.classes,s=e.className,c=e.dividers,l=void 0!==c&&c,u=(0,o.A)(e,["classes","className","dividers"]);return i.createElement("div",(0,r.A)({className:(0,a.A)(n.root,s,l&&n.dividers),ref:t},u))});const l=(0,s.A)(function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}},{name:"MuiDialogContent"})(c)},4760(e,t,n){"use strict";n.d(t,{A:()=>Et});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>Ee,hasStandardBrowserEnv:()=>Re,hasStandardBrowserWebWorkerEnv:()=>Se,navigator:()=>xe,origin:()=>Ae});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,{iterator:s,toStringTag:c}=Symbol,l=(u=Object.create(null),e=>{const t=i.call(e);return u[t]||(u[t]=t.slice(8,-1).toLowerCase())});var u;const d=e=>(e=e.toLowerCase(),t=>l(t)===e),f=e=>t=>typeof t===e,{isArray:p}=Array,h=f("undefined");function m(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&y(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const g=d("ArrayBuffer");const b=f("string"),y=f("function"),v=f("number"),w=e=>null!==e&&"object"===typeof e,E=e=>{if("object"!==l(e))return!1;const t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(c in e)&&!(s in e)},x=d("Date"),R=d("File"),S=d("Blob"),A=d("FileList");const O="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},C="undefined"!==typeof O.FormData?O.FormData:void 0,T=d("URLSearchParams"),[_,k,N,P]=["ReadableStream","Request","Response","Headers"].map(d);function j(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),p(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{if(m(e))return;const r=o?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let a;for(n=0;n<i;n++)a=r[n],t.call(null,e[a],a,e)}}function D(e,t){if(m(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const L="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:n.g,B=e=>!h(e)&&e!==L;const U=(F="undefined"!==typeof Uint8Array&&a(Uint8Array),e=>F&&e instanceof F);var F;const M=d("HTMLFormElement"),I=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),z=d("RegExp"),q=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};j(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const W=d("AsyncFunction"),V=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],L.addEventListener("message",e=>{let{source:t,data:o}=e;t===L&&o===n&&r.length&&r.shift()()},!1),e=>{r.push(e),L.postMessLine truncated
|
||||
//# sourceMappingURL=682.b726a241.chunk.js.map
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/682.b726a241.chunk.js","mappings":";iGAEAA,OAAOC,eAAeC,EAAS,aAAc,CAC3CC,OAAO,IAMTD,EAAAA,QAAkB,SAAUE,GAC1B,OAAO,SAAUC,GACf,OAAOD,EALe,oBAKQC,EAAeA,IAAgBA,EAAc,IAC7E,CACF,EAEAC,EAAOJ,QAAUA,EAAiB,O,oECZ9BK,GAAmB,EACnBC,GAA0B,EAC1BC,EAAiC,KACjCC,EAAsB,CACxBC,MAAM,EACNC,QAAQ,EACRC,KAAK,EACLC,KAAK,EACLC,OAAO,EACPC,UAAU,EACVC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,MAAM,EACNC,MAAM,EACNC,UAAU,EACV,kBAAkB,GAqCpB,SAASC,EAAcC,GACjBA,EAAMC,SAAWD,EAAME,QAAUF,EAAMG,UAI3CpB,GAAmB,EACrB,CAUA,SAASqB,IACPrB,GAAmB,CACrB,CAEA,SAASsB,IACsB,WAAzBC,KAAKC,iBAKHvB,IACFD,GAAmB,EAGzB,CAkBA,SAASyB,EAAeR,GACtB,IAAIS,EAAST,EAAMS,OAEnB,IACE,OAAOA,EAAOC,QAAQ,iBACxB,CAAE,MAAOC,GAAQ,CAQjB,OAAO5B,GAxFT,SAAuC6B,GACrC,IAAIC,EAAOD,EAAKC,KACZC,EAAUF,EAAKE,QAEnB,QAAgB,UAAZA,IAAuB5B,EAAoB2B,IAAUD,EAAKG,WAI9C,aAAZD,IAA2BF,EAAKG,YAIhCH,EAAKI,iBAKX,CAuE6BC,CAA8BR,EAC3D,C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ports.parse=i,n.exports.compile=function(n,t){return s(i(n,t),t)},n.exports.tokensToFunction=s,n.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(n,t){for(var e,r=[],i=0,c=0,u="",s=t&&t.delimiter||"/";null!=(e=o.exec(n));){var f=e[0],p=e[1],h=e.index;if(u+=n.slice(c,h),c=h+f.length,p)u+=p[1];else{var d=n[c],v=e[2],m=e[3],y=e[4],g=e[5],w=e[6],x=e[7];u&&(r.push(u),u="");var A=null!=v&&null!=d&&d!==v,b="+"===w||"*"===w,E="?"===w||"*"===w,C=v||s,O=y||g,P=v||("string"===typeof r[r.length-1]?r[r.length-1]:"");r.push({name:m||i++,prefix:v||"",delimiter:C,optional:E,repeat:b,partial:A,asterisk:!!x,pattern:O?l(O):x?".*":a(C,P)})}}return c<n.length&&(u+=n.substr(c)),u&&r.push(u),r}function a(n,t){return!t||t.indexOf(n)>-1?"[^"+f(n)+"]+?":f(t)+"|(?:(?!"+f(t)+")[^"+f(n)+"])+?"}function c(n){return encodeURI(n).replace(/[\/?#]/g,function(n){return"%"+n.charCodeAt(0).toString(16).toUpperCase()})}function u(n){return encodeURI(n).replace(/[?#]/g,function(n){return"%"+n.charCodeAt(0).toString(16).toUpperCase()})}function s(n,t){for(var e=new Array(n.length),o=0;o<n.length;o++)"object"===typeof n[o]&&(e[o]=new RegExp("^(?:"+n[o].pattern+")$",h(t)));return function(t,o){for(var i="",a=t||{},s=(o||{}).pretty?c:encodeURIComponent,f=0;f<n.length;f++){var l=n[f];if("string"!==typeof l){var p,h=a[l.name];if(null==h){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(h)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(p=s(h[d]),!e[f].test(p))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(0===d?l.prefix:l.delimiter)+p}}else{if(p=l.asterisk?u(h):s(h),!e[f].test(p))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+p+'"');i+=l.prefix+p}}else i+=l}return i}}function f(n){return n.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(n){return n.replace(/([=!:$\/()])/g,"\\$1")}function p(n,t){return n.keys=t,n}function h(n){return n&&n.sensitive?"":"i"}function d(n,t,e){r(t)||(e=t||e,t=[]);for(var o=(e=e||{}).strict,i=!1!==e.end,a="",c=0;c<n.length;c++){var u=n[c];if("string"===typeof u)a+=f(u);else{var s=f(u.prefix),l="(?:"+u.pattern+")";t.push(u),u.repeat&&(l+="(?:"+s+l+")*"),a+=l=u.optional?u.partial?s+"("+l+")?":"(?:"+s+"("+l+"))?":s+"("+l+")"}}var d=f(e.delimiter||"/"),v=a.slice(-d.length)===d;return o||(a=(v?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&v?"":"(?="+d+"|$)",p(new RegExp("^"+a,h(e)),t)}function v(n,t,e){return r(t)||(e=t||e,t=[]),e=e||{},n instanceof RegExp?function(n,t){var e=n.source.match(/\((?!\?)/g);if(e)for(var r=0;r<e.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return p(n,t)}(n,t):r(n)?function(n,t,e){for(var r=[],o=0;o<n.length;o++)r.push(v(n[o],t,e).source);return p(new RegExp("(?:"+r.join("|")+")",h(e)),t)}(n,t,e):function(n,t,e){return d(i(n,e),t,e)}(n,t,e)}},1961(n,t,e){"use strict";e.d(t,{A:()=>o});var r="Invariant failed";function o(n,t){if(!n)throw new Error(r)}},2438(n,t,e){"use strict";e.d(t,{zR:()=>E,TM:()=>R,yJ:()=>v,sC:()=>L,AO:()=>d,Fu:()=>m});var r=e(9346);function o(n){return"/"===n.charAt(0)}function i(n,t){for(var e=t,r=e+1,o=n.length;r<o;e+=1,r+=1)n[e]=n[r];n.pop()}const a=function(n,t){void 0===t&&(t="");var e,r=n&&n.split("/")||[],a=t&&t.split("/")||[],c=n&&o(n),u=t&&o(t),s=c||u;if(n&&o(n)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var f=a[a.length-1];e="."===f||".."===f||""===f}else e=!1;for(var l=0,p=a.length;p>=0;p--){var h=a[p];"."===h?i(a,p):".."===h?(i(a,p),l++):l&&(i(a,p),l--)}if(!s)for(;l--;l)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var d=a.join("/");return e&&"/"!==d.substr(-1)&&(d+="/"),d};function c(n){return n.valueOf?n.valueOf():Object.prototype.valueOf.call(n)}const u=function n(t,e){if(t===e)return!0;if(null==t||null==e)return!1;if(Array.isArray(t))return Array.isArray(e)&&t.length===e.length&&t.every(function(t,r){return n(t,e[r])});if("object"===typeof t||"object"===typeof e){var r=c(t),o=c(e);return r!==t||o!==e?n(r,o):Object.keys(Object.assign({},t,e)).every(function(r){return n(t[r],e[r])})}return!1};var s=e(1961);function f(n){return"/"===n.charAt(0)?n:"/"+n}function l(n){return"/"===n.charAt(0)?n.substr(1):n}function p(n,t){return function(n,t){return 0===n.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(t.length))}(n,t)?n.substr(t.length):n}function h(n){return"/"===n.charAt(n.length-1)?n.slice(0,-1):n}function d(n){var
Line truncated
|
||||
//# sourceMappingURL=797.9c9790e5.chunk.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/797.9c9790e5.chunk.js","mappings":"uFAAA,IAAIA,EAAUC,EAAQ,MAKtBC,EAAOC,QAAUC,EACjBF,EAAOC,QAAQE,MA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,UAAU,EACVK,QAAS,OAKf,OAAOiC,EAAWrD,EAAMuD,EAC1B,CA+HWS,CAAehE,EAA6BuD,GAGjDzE,EAAQkB,GAxHd,SAAwBA,EAAMuD,EAAMjE,GAGlC,IAFA,IAAI2E,EAAQ,GAEH5B,EAAI,EAAGA,EAAIrC,EAAKQ,OAAQ6B,IAC/B4B,EAAMjD,KAAK9B,EAAac,EAAKqC,GAAIkB,EAAMjE,GAASwE,QAKlD,OAAOT,EAFM,IAAI3D,OAAO,MAAQuE,EAAMtE,KAAK,KAAO,IAAK2C,EAAMhD,IAEnCiE,EAC5B,CA+GWW,CAAqClE,EAA8BuD,EAAOjE,GArGrF,SAAyBU,EAAMuD,EAAMjE,GACnC,OAAOE,EAAeL,EAAMa,EAAMV,GAAUiE,EAAMjE,EACpD,CAsGS6E,CAAsCnE,EAA8BuD,EAAOjE,EACpF,C,4CClbA,IACIoB,EAAS,mBACb,SAAS0D,EAAUC,EAAWC,GAC1B,IAAID,EAIA,MAAM,IAAIE,MAAM7D,EAKxB,C,wGCZA,SAAS8D,EAAWC,GAClB,MAA8B,MAAvBA,EAASC,OAAO,EACzB,CAGA,SAASC,EAAUC,EAAM7E,GACvB,IAAK,IAAIsC,EAAItC,EAAO8E,EAAIxC,ELine truncated
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[78],{1708(e){e.exports=JSON.parse('{"konnect":{"consent":{"allowButton":{},"cancelButton":{},"tooltip":{}},"chooseaccount":{"useOther":{"persona":{}}},"scopeDescription":{},"login":{"usernameField":{"placeholder":{}},"nextButton":{},"passwordField":{},"retryButton":{}},"error":{"login":{"validate":{}},"http":{}},"loading":{"error":{}},"goodbye":{"confirm":{},"message":{},"signoutButton":{}},"welcome":{"signoutButton":{}}}}')},6089(e){e.exports=JSON.parse('{"konnect":{"consent":{"allowButton":{},"cancelButton":{},"tooltip":{}},"chooseaccount":{"useOther":{"persona":{}}},"scopeDescription":{},"login":{"usernameField":{"placeholder":{}},"nextButton":{},"passwordField":{},"retryButton":{}},"error":{"login":{"validate":{}},"http":{}},"loading":{"error":{}},"goodbye":{"confirm":{},"message":{},"signoutButton":{}},"welcome":{"signoutButton":{}}}}')},6131(e){e.exports=JSON.parse('{"konnect":{"consent":{"message":"<0><0><0></0></0></0> wil","allowButton":{"label":"Toestaan"},"question":"<1><0></0></1> toestaan dit te doen?","consequence":"Door op Toestaan te klikken, krijgt deze app toestemming je informatie te gebruiken.","cancelButton":{"label":"Annuleren"},"tooltip":{"client":"Door op \\"Toestaan\\" te klikken word je doorverwezen naar: {{redirectURI}}"},"headline":"Hoi {{displayName}}"},"chooseaccount":{"useOther":{"persona":{"label":"?"},"label":"Gebruik een ander account"},"headline":"Account kiezen","subHeader":"aanmelden"},"scopeDescription":{"aliasBasic":"Basis accountgegevens weergeven","offlineAccess":"De toestemming voor altijd onthouden","scope":"Scope: {{scope}}"},"login":{"usernameField":{"placeholder":{"username":"Gebruikersnaam"}},"nextButton":{"label":"Volgende"},"passwordField":{"label":"Wachtwoord"},"retryButton":{"label":"Opnieuw"},"headline":"Aanmelden"},"error":{"login":{"validate":{"missingPassword":"Voer een wachtwoord in."},"failed":"Inloggen mislukt. Controleer logingegevens en probeer opnieuw."},"http":{"networkError":"Netwerk probleem. Controleer je verbinding en probeer opnieuw.","unexpectedResponseStatus":"Onverwachte HTTP respons: {{status}}. Controleer je verbinding en probeer opnieuw.","unexpectedResponseState":"Onverwachte respons status: {{state}}"}},"loading":{"error":{"headline":"Kon niet met server verbinden"}},"goodbye":{"headline":"Tot ziens","confirm":{"headline":"Hallo {{displayName}}","subHeader":"bevestig afmelden"},"message":{"confirm":"Klik op onderstaande knop om af te melden van je account.","close":"Dit venster kan nu worden gesloten."},"signoutButton":{"label":"Afmelden"},"subHeader":"je bent afgemeld van je account"},"welcome":{"signoutButton":{"label":"Afmelden"},"headline":"Welkom {{displayName}}","message":"Je bent aangemeld - fantastisch!"}}}')},7778(e){e.exports=JSON.parse('{"konnect":{"consent":{"message":"<0><0><0></0></0></0> m\xf6chte","allowButton":{"label":"Einverstanden"},"question":"<1><0></0></1> den Zugriff gestatten?","consequence":"Wenn Sie Einverstanden klicken, erh\xe4lt die App Zugriff auf Ihre Informationen.","cancelButton":{"label":"Abbrechen"},"tooltip":{"client":"Wenn Sie \\"Einverstanden\\" klicken werden Sie zu {{redirectURI}} weitergeleitet"},"headline":"Hallo {{displayName}}"},"chooseaccount":{"useOther":{"persona":{"label":"?"},"label":"Anderes Konto"},"headline":"Konto ausw\xe4hlen","subHeader":"das angemeldet werden soll"},"scopeDescription":{"aliasBasic":"Zugriff auf Ihre grundlegenden Benutzerinformationen","offlineAccess":"Dauerhaften Zugriff (l\xe4uft nicht ab)","scope":"Geltungsbereich: {{scope}}"},"login":{"usernameField":{"label":"Benutzername","placeholder":{"email":"E-Mail","identity":"Identit\xe4t","username":"Benutzername"}},"nextButton":{"label":"Weiter"},"passwordField":{"label":"Passwort"},"retryButton":{"label":"Wiederholen"},"headline":"Anmelden"},"error":{"login":{"validate":{"missingUsername":"Geben Sie einen g\xfcltigen Wert ein.","missingPassword":"Geben Sie ein Passwort ein."},"failed":"Anmeldung fehlgeschlagen. Bitte \xfcberpr\xfcfen Sie Ihre Eingabe und versuchen Sie es noch einmal."},"http":{"networkError":"Netzwerkfehler. Bitte pr\xfcfen Sie Ihre Verbindung und versuchen Sie es noch einmal.","unexpectedResponseStatus":"Unerwartete HTTP-Antwort: {{status}}. Bitte pr\xfcfen Sie Ihre Verbindung und versuchen Sie es noch einmal.","unexpectedResponseState":"Unerwarteter Antwort-Status: {{state}}"}},"loading":{"error":{"headline":"Verbindung zum Server fehlgeschlagen"}},"goodbye":{"headline":"Bis bald","confirm":{"headline":"Hallo {{displayName}}","subHeader":"Bitte best\xe4tigen Sie, dass Sie sich abmelden m\xf6chten"},"message":{"confirm":"Klicken Sie auf die Schaltfl\xe4che unten um sich aus Ihrem Konto abzumelden.","close":"Sie k\xf6nnen dieses Fenster jetzt schlie\xdfen."},"signoutButton":{"label":"Abmelden"},"subHeader":"sie sind jetzt abgemeldet"},"welcome":{"signoutButton":{"label":"Abmelden"},"headline":"Willkommen {{displayNLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
"use strict";(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[469],{3126(e,t,n){n.d(t,{A:()=>b});var r=n(1189),o=n(3920),a=n.n(o),s=n(6389),c=n(9259),i=n(8480),l=n(4202),u=n(1056),d=n(5996),p=n(7922),m=n(4964),g=n(586),h=n.n(g),f=n(6592),v=n(8733);class y extends r.PureComponent{render(){const{error:e,t:t}=this.props;return r.createElement(i.A,{item:!0,align:"center"},h()(null===e)(()=>r.createElement(d.A,{className:"oc-progress"})),h()(null!==e)(()=>r.createElement("div",null,r.createElement(p.A,{className:"oc-light",variant:"h5",gutterBottom:!0,align:"center"},t("konnect.loading.error.headline","Failed to connect to server")),r.createElement(p.A,{align:"center",color:"error"},r.createElement(v.Kw,{error:e})),r.createElement(m.A,{autoFocus:!0,color:"primary",variant:"outlined",className:"oc-button-primary oc-mt-l",onClick:e=>this.retry(e)},t("konnect.login.retryButton.label","Retry")))))}retry(e){e.preventDefault(),this.props.dispatch((0,f.hn)())}}const w=(0,u.Ng)(e=>{const{error:t}=e.common;return{error:t}})((0,s.CI)()(y));var k=n(7188);const E=e=>{var t;const{classes:n,withoutLogo:o,withoutPadding:c,loading:u,children:d,className:p,...m}=e,{theme:g}=(0,r.useContext)(k.O),h=g&&!o?r.createElement("img",{src:"/"+(null===(t=g.common)||void 0===t?void 0:t.logo),className:"oc-logo",alt:"ownCloud Logo"}):null,f=u?r.createElement(w,null):c?d:r.createElement(l.A,null,d);return r.createElement(i.A,Object.assign({container:!0,justifyContent:"center",alignItems:"center",direction:"column",spacing:0,className:a()(n.root,p)},m),r.createElement("div",{className:n.wrapper},r.createElement("div",{className:n.content},h,f)),r.createElement("footer",{className:"oc-footer-message"},r.createElement(s.x6,{i18nKey:"konnect.footer.slogan"},r.createElement("strong",null,"ownCloud")," - a safe home for all your data")))};E.defaultProps={withoutLogo:!1,withoutPadding:!1,loading:!1};const b=(0,c.A)(e=>({root:{display:"flex",flex:1},content:{position:"relative",width:"100%"},actions:{marginTop:-40,justifyContent:"flex-start",paddingLeft:e.spacing(3),paddingRight:e.spacing(3)},wrapper:{width:"100%",maxWidth:300,display:"flex",flex:1,alignItems:"center"}}))(E)},5524(e,t,n){function r(e,t){const n={};t.prompt&&(n.prompt=t.prompt);let r=e;switch(e){case"oauth":case"consent":case"oidc":n.scope=t.scope||"",n.client_id=t.client_id||"",n.redirect_uri=t.redirect_uri||"",t.id_token_hint&&(n.id_token_hint=t.id_token_hint),t.max_age&&(n.max_age=t.max_age),t.claims_scope&&(n.scope+=" "+t.claims_scope);break;default:r=null}return r&&(n.flow=r),n}n.d(t,{i:()=>r})},6023(e,t,n){function r(e){return e.state=function(e){var t=new Uint8Array((e||16)/2);return window.crypto.getRandomValues(t),Array.from(t,o).join("")}(16),e}function o(e){return e.toString(16).padStart(2,"0")}n.d(t,{k:()=>r})},6276(e,t,n){n.d(t,{r:()=>o});var r=n(8733);function o(e){return e.request&&(e=e.response?new r.Eg(r.Rg,e.response):new r.Eg(r.Sr)),e}},6592(e,t,n){n.d(t,{Du:()=>g,E7:()=>p,hn:()=>m,we:()=>d});var r=n(4760),o=n(5524),a=n(6023),s=n(8733),c=n(6276),i=n(8808);function l(e){return{type:i.l3,error:e}}function u(){return{type:i.fg}}function d(e){const{success:t,username:n,displayName:r}=e;return{type:i.FK,state:!0===t,username:n,displayName:r,hello:e}}function p(){return function(e,t){e(u());const{flow:n,query:i}=t().common,p=(0,a.k)((0,o.i)(n,i));return r.A.post("./identifier/_/hello",p,{headers:{"Kopano-Konnect-XSRF":"1"}}).then(e=>{switch(e.status){case 200:return e.data;case 204:return{success:!1,state:e.headers["kopano-konnect-state"]};default:throw new s.Eg(s.Rg,e)}}).then(t=>{if(t.state!==p.state)throw new s.Eg(s.ov,t);return e(d(t)),Promise.resolve(t)}).catch(t=>{t=(0,c.r)(t),e(l(t))})}}function m(){return function(e){return e(l(null)),e(p())}}function g(){return function(e){e(u()),e({type:i.MX});const t=(0,a.k)({});return r.A.post("./identifier/_/logoff",t,{headers:{"Kopano-Konnect-XSRF":"1"}}).then(e=>{if(200===e.status)return e.data;throw new s.Eg(s.Rg,e)}).then(n=>{if(n.state!==t.state)throw new s.Eg(s.ov,n);var r;return e((r=!0===n.success,{type:i.uK,state:r})),Promise.resolve(n)}).catch(t=>{t=(0,c.r)(t),e(l(t))})}}},6839(e,t,n){n.r(t),n.d(t,{default:()=>h});var r=n(1189),o=n(1056),a=n(6389),s=n(586),c=n.n(s),i=n(9259),l=n(4964),u=n(7922),d=n(5162),p=n(3126),m=n(6592);class g extends r.PureComponent{componentDidMount(){this.props.dispatch((0,m.E7)())}render(){const{classes:e,branding:t,hello:n,t:o}=this.props,a=null===n;return r.createElement(p.A,{loading:a,branding:t},c()(null!==n&&!n.state)(()=>r.createElement("div",null,r.createElement(u.A,{variant:"h5",component:"h3"},o("konnect.goodbye.headline","Goodbye")),r.createElement(u.A,{variant:"subtitle1",className:e.subHeader},o("konnect.goodbye.subHeader","you have been signed out from your account")),r.createElement(u.A,{gutterBottom:!0},o("konnect.goodbye.message.close","You can close this window now.")))),c()(null!==n&&!0===n.state)(()=>r.createElement("div",null,r.createElement(u.A,{vaLine truncated
|
||||
//# sourceMappingURL=containers-goodbye.0b76d7de.chunk.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/containers-goodbye.0b76d7de.chunk.js","mappings":"4QAeA,MAAMA,UAAgBC,EAAAA,cACpBC,MAAAA,GACE,MAAM,MAAEC,EAAK,EAAEC,GAAMC,KAAKC,MAE1B,OACIL,EAAAA,cAACM,EAAAA,EAAI,CAACC,MAAI,EAACC,MAAM,UACdC,IAAmB,OAAVP,EAATO,CAAyB,IACxBT,EAAAA,cAACU,EAAAA,EAAc,CAACC,UAAU,iBAE3BF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,EAAAA,EAAU,CAACC,QAAQ,KAAKkH,UAAU,MAChC5H,EAAE,2BAA4B,YAEjCH,EAAAA,cAACY,EAAAA,EAAU,CAACC,QAAQ,YAAYF,UAAWoB,EAAQiG,WAChD7H,EAAE,4BAA6B,+CAElCH,EAAAA,cAACY,EAAAA,EAAU,CAACE,cAAY,GACrBX,EAAE,gCAAiC,qCAIzCM,IAAmB,OAAVkG,IAAkC,IAAhBA,EAAMjF,MAAjCjB,CAAiD,IAChDT,EAAAA,cAAA,WACEA,EAAAA,cAACY,EAAAA,EAAU,CAACC,QAAQ,KAAKkH,UAAU,MAChC5H,EAAE,mCAAoC,wBAAyB,CAAE2G,YAAaH,EAAMG,eAEvF9G,EAAAA,cAACY,EAAAA,EAAU,CAACC,QAAQ,YAAYF,UAAWoB,EAAQiG,WAChD7HLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
"use strict";(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[587],{1589(e,t,n){n.r(t),n.d(t,{default:()=>W});var r=n(1189),o=n(1056),a=n(2626),s=n(9259),c=n(3126),i=n(1470),l=n(6592),u=n(6389),m=n(586),d=n.n(m),p=n(4964),h=n(6272),g=n(7973),f=n(7922),w=n(2912);const E=e=>{const t=e.label,n=e.extraClassName;return delete e.label,delete e.extraClassName,r.createElement("div",null,r.createElement("label",{className:"oc-label",htmlFor:e.id},t),r.createElement("input",Object.assign({className:`oc-input ${n||""}`},e,{placeholder:e.placeholder?e.placeholder:null})))};var v=n(4760),b=n(8467),k=n(5524),y=n(6023),A=n(8733),N=n(8808),x=n(6276);function C(e){return{type:N.tG,errors:e}}function _(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"1";return function(r,o){r(function(e,t){return{type:N.Gz,username:e,password:t}}(e,t)),r((0,l.we)({username:e}));const{flow:a,query:s}=o().common,c=[];switch(n){case"1":c.push(e,t,n);break;case"0":c.push(e,"",n)}const i=(0,y.k)({params:c,hello:(0,k.i)(a,s)});return v.A.post("./identifier/_/logon",i,{headers:{"Kopano-Konnect-XSRF":"1"}}).then(e=>{switch(e.status){case 200:return e.data;case 204:return{success:!1,state:e.headers["kopano-konnect-state"],errors:{http:new Error(A.vV)}};default:throw new A.Eg(A.Rg,e)}}).then(t=>{if(t.state!==i.state)throw new A.Eg(A.ov,t);let{hello:n}=t;return n||(n={success:t.success,username:e}),r((0,l.we)(n)),r(function(e){const{success:t,errors:n}=e;return{type:N.US,success:t,errors:n}}(t)),Promise.resolve(t)}).catch(e=>{const t={http:e=(0,x.r)(e)};return r(C(t)),{success:!1,errors:t}})}}function P(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(n,r){n(function(){return{type:arguments.length>0&&void 0!==arguments[0]&&arguments[0]?N.HF:N.Ag}}(e));const{query:o}=r().common,a=(0,y.k)({allow:e,scope:t,client_id:o.client_id||"",redirect_uri:o.redirect_uri||"",ref:o.state||"",flow_nonce:o.nonce||""});return v.A.post("./identifier/_/consent",a,{headers:{"Kopano-Konnect-XSRF":"1"}}).then(e=>{switch(e.status){case 200:return e.data;case 204:return{success:!0,state:e.headers["kopano-konnect-state"]};default:throw new A.Eg(A.Rg,e)}}).then(e=>{if(e.state!==a.state)throw new A.Eg(A.ov,e);return n(function(e){const{success:t,errors:n}=e;return{type:N.pT,success:t,errors:n}}(e)),Promise.resolve(e)}).catch(e=>{const t={http:e=(0,x.r)(e)};return n(C(t)),{success:!1,errors:t}})}}function R(e,t,n){return r=>r(function(e,t,n){return function(r){return new Promise((o,a)=>{const s={};e||(s.username=new Error(A.L$)),t||n||(s.password=new Error(A.MX)),r(C(s)),0===Object.keys(s).length?o(s):a(s)})}}(e,t,n)).then(()=>r(_(e,t,n?"0":"1"))).catch(e=>({success:!1,errors:e}))}function L(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(o,a)=>{if(!e)return;const{flow:s,query:c,hello:i}=a().common,l=Object.assign({},c,r);switch(s){case"oauth":case"consent":case"oidc":if(i.details.flow!==s)break;if(!n&&"consent"===i.details.next)return void t.replace(`/consent${t.location.search}${t.location.hash}`);if(i.details.continue_uri)return l.prompt="none",void window.location.replace(i.details.continue_uri+"?"+b.A.stringify(l));break;default:if(l.continue&&0===l.continue.indexOf(document.location.origin))return void window.location.replace(l.continue)}let u="/welcome";"REPLACE"===t.action&&(u=u+t.location.search+t.location.hash),o(C({})),t.push(u)}}const S=(0,o.Ng)(e=>{const{loading:t,username:n,password:r,errors:o}=e.login,{branding:a,hello:s,query:c,passwordResetLink:i}=e.common;return{loading:t,username:n,password:r,errors:o,branding:a,hello:s,query:c,passwordResetLink:i}})((0,s.A)(e=>({buttonProgress:{color:g.A[500],position:"absolute",top:"50%",left:"50%",marginTop:-12,marginLeft:-12},subHeader:{marginBottom:e.spacing(3)},wrapper:{position:"relative",width:"100%",textAlign:"center"},message:{marginTop:5,marginBottom:5}}))(function(e){const{hello:t,query:n,dispatch:o,history:a,loading:s,errors:c,classes:i,username:l,password:m,passwordResetLink:d}=e,{t:g}=(0,u.Bd)(),v=c.http,b=c.http||c.username||c.password,k=c.http?r.createElement(A.Kw,{error:c.http}):c.username?r.createElement(A.Kw,{error:c.username}):r.createElement(A.Kw,{error:c.password}),y={"aria-invalid":c.username||c.http?"true":"false"},x={"aria-invalid":c.password||c.http?"true":"false"};(c.username||c.http)&&(y.extraClassName="error",y["aria-describedby"]="oc-login-error-message"),(c.password||c.http)&&(x.extraClassName="error",x["aria-describedby"]="oc-login-error-message"),(0,r.useEffect)(()=>{if(t&&t.state&&"PUSH"!==a.action)return n.prompt&&-1!==n.prompt.indexOf("select_account")?void a.replace(`/chooseaccount${a.location.search}${a.location.hash}`):void o(L(!0,a))});const C=e=>t=>{o(function(e,t){return{type:N.h1,name:e,value:t}}(e,t.target.value))},_=e=>{e.preventDefault(),o(R(l,m,!1)).then(e=>{e.success&&oLine truncated
|
||||
//# sourceMappingURL=containers-login.823a6154.chunk.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/containers-login.823a6154.chunk.js","mappings":"0RAIA,MAuBA,EAvBmBA,IACf,MAAMC,EAAQD,EAAMC,MACdC,EAAiBF,EAAME,eAK7B,cAHOF,EAAMC,aACND,EAAME,eAGTC,EAAAA,cAAA,WACIA,EAAAA,cAAA,SAAOC,UAAU,WACVC,QAASL,EAAMM,IAAKL,GAC3BE,EAAAA,cAAA,QAAAI,OAAAC,OAAA,CAAOJ,UAAW,YAAYF,GAAkC,MAAUF,EAAK,CACxES,YAAaT,EAAMS,YAAcT,EAAMS,YAAc,U,0ECcjE,SAASC,EAAqBC,GACnC,MAAO,CACLC,KAAMC,EAAAA,GACNF,SAEJ,CAoCO,SAASG,EAAaC,EAAUC,GAA2C,IAAjCC,EAAIC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAnDZ,IAoDvC,OAAO,SAASG,EAAUC,GACxBD,EApCG,SAAsBN,EAAUC,GACrC,MAAO,CACLJ,KAAMC,EAAAA,GACNE,WACAC,WAEJ,CA8BaO,CAAaR,EAAUC,IAChCK,GAASG,EAAAA,EAAAA,IAAa,CACpBT,cAGF,MAAM,KAAEU,EAAI,MAAEC,GAAUJ,IAAWK,OAG7BC,EAAS,GACf,OAAQX,GACN,IA/DmC,IAiEjCW,EAAOC,KAAKd,EAAUC,EAAUC,GAChC,MAEF,IArE8C,IAuE5CW,EAAOC,KAAKd,EAAU,GAAIE,GAM9B,MAAMa,GAAIC,EAAAA,EAAAA,GAAuB,CAC/BH,OAAQA,EACRI,OAAOC,EAAAA,EAAAA,GAAgBR,EAAMC,KAE/B,OAAOQ,EAAAA,EAAMC,KAAK,uBAAwBL,EAAG,CAC3CM,QAAS,CACP,sBAAuB,OAExBC,KAAKC,IACN,OAAQA,EAASC,QACf,KAAK,IAEH,OAAOD,EAASE,KAClB,KAAK,IAEH,MAAO,CACLC,SAAS,EACTC,MAA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IAAK,CAClBC,eAAgB,CACdC,MAAOC,EAAAA,EAAM,KACbC,SAAU,WACVC,IAAK,MACLC,KAAM,MACNC,WAAY,GACZC,YAAa,IAEfC,UAAW,CACTC,aAAcV,EAAMW,QAAQ,IAE9BC,QAAS,CACPR,SAAU,WACVS,MAAO,OACPC,UAAW,UAEbC,QAAS,CACPR,UAAW,EACXG,aAAc,KAoKsBX,CAhKxC,SAAepG,GACb,MAAM,MACJgC,EAAK,MACLN,EAAK,SACLL,EAAQ,QACRqD,EAAO,QACPsB,EAAO,OACPrF,EAAM,QACN0G,EAAO,SACPtG,EAAQ,SACRC,EAAQ,kBACRmF,GACEnG,GAEE,EAAEsH,IAAMC,EAAAA,EAAAA,MACRC,EAAc7G,EAAOgC,KACrB8E,EAAW9G,EAAOgC,MAAQhC,EAAOI,UAAYJ,EAAOK,SACpD0G,EAAe/G,EAAOgC,KACxBxC,EAAAA,cAACwH,EAAAA,GAAY,CAACrE,MAAO3C,EAAOgC,OAC3BhC,EAAOI,SACNZ,EAAAA,cAACwH,EAAAA,GAAY,CAACrE,MAAO3C,EAAOI,WAC5BZ,EAAAA,cAACwH,EAAAA,GAAY,CAACrE,MAAO3C,EAAOK,WAC5B4G,EAAqB,CACzB,eAAkBjH,EAAOI,UAAYJ,EAAOgC,KAAQ,OAAS,SAEzDkF,EAAqB,CACzB,eAAkBlH,EAAOK,UAAYL,EAAOgC,KAAQ,OAAS,UAG5DhCLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
"use strict";(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[256],{1743(e,t,n){n.r(t),n.d(t,{default:()=>p});var r=n(1189),o=n(1056),a=n(6389),s=n(9259),c=n(4964),i=n(7922),l=n(5162),u=n(3126),d=n(6592);class m extends r.PureComponent{render(){const{classes:e,branding:t,hello:n,t:o}=this.props,a=null===n;return r.createElement(u.A,{loading:a,branding:t},r.createElement(i.A,{variant:"h5",component:"h3",className:"oc-light"},o("konnect.welcome.headline","Welcome {{displayName}}",{displayName:n.displayName})),r.createElement(i.A,{variant:"subtitle1",className:e.subHeader+" oc-light"},n.username),r.createElement(i.A,{gutterBottom:!0,className:"oc-light"},o("konnect.welcome.message","You are signed in - awesome!")),r.createElement(l.A,null,r.createElement(c.A,{color:"secondary",className:e.button,variant:"contained",onClick:e=>this.logoff(e)},o("konnect.welcome.signoutButton.label","Sign out"))))}logoff(e){e.preventDefault(),this.props.dispatch((0,d.Du)()).then(e=>{const{history:t}=this.props;e.success&&t.push("/identifier")})}}const p=(0,o.Ng)(e=>{const{branding:t,hello:n}=e.common;return{branding:t,hello:n}})((0,s.A)(e=>({button:{margin:e.spacing(1),minWidth:100},subHeader:{marginBottom:e.spacing(5)}}))((0,a.CI)()(m)))},3126(e,t,n){n.d(t,{A:()=>N});var r=n(1189),o=n(3920),a=n.n(o),s=n(6389),c=n(9259),i=n(8480),l=n(4202),u=n(1056),d=n(5996),m=n(7922),p=n(4964),g=n(586),h=n.n(g),f=n(6592),v=n(8733);class w extends r.PureComponent{render(){const{error:e,t:t}=this.props;return r.createElement(i.A,{item:!0,align:"center"},h()(null===e)(()=>r.createElement(d.A,{className:"oc-progress"})),h()(null!==e)(()=>r.createElement("div",null,r.createElement(m.A,{className:"oc-light",variant:"h5",gutterBottom:!0,align:"center"},t("konnect.loading.error.headline","Failed to connect to server")),r.createElement(m.A,{align:"center",color:"error"},r.createElement(v.Kw,{error:e})),r.createElement(p.A,{autoFocus:!0,color:"primary",variant:"outlined",className:"oc-button-primary oc-mt-l",onClick:e=>this.retry(e)},t("konnect.login.retryButton.label","Retry")))))}retry(e){e.preventDefault(),this.props.dispatch((0,f.hn)())}}const k=(0,u.Ng)(e=>{const{error:t}=e.common;return{error:t}})((0,s.CI)()(w));var y=n(7188);const E=e=>{var t;const{classes:n,withoutLogo:o,withoutPadding:c,loading:u,children:d,className:m,...p}=e,{theme:g}=(0,r.useContext)(y.O),h=g&&!o?r.createElement("img",{src:"/"+(null===(t=g.common)||void 0===t?void 0:t.logo),className:"oc-logo",alt:"ownCloud Logo"}):null,f=u?r.createElement(k,null):c?d:r.createElement(l.A,null,d);return r.createElement(i.A,Object.assign({container:!0,justifyContent:"center",alignItems:"center",direction:"column",spacing:0,className:a()(n.root,m)},p),r.createElement("div",{className:n.wrapper},r.createElement("div",{className:n.content},h,f)),r.createElement("footer",{className:"oc-footer-message"},r.createElement(s.x6,{i18nKey:"konnect.footer.slogan"},r.createElement("strong",null,"ownCloud")," - a safe home for all your data")))};E.defaultProps={withoutLogo:!1,withoutPadding:!1,loading:!1};const N=(0,c.A)(e=>({root:{display:"flex",flex:1},content:{position:"relative",width:"100%"},actions:{marginTop:-40,justifyContent:"flex-start",paddingLeft:e.spacing(3),paddingRight:e.spacing(3)},wrapper:{width:"100%",maxWidth:300,display:"flex",flex:1,alignItems:"center"}}))(E)},5524(e,t,n){function r(e,t){const n={};t.prompt&&(n.prompt=t.prompt);let r=e;switch(e){case"oauth":case"consent":case"oidc":n.scope=t.scope||"",n.client_id=t.client_id||"",n.redirect_uri=t.redirect_uri||"",t.id_token_hint&&(n.id_token_hint=t.id_token_hint),t.max_age&&(n.max_age=t.max_age),t.claims_scope&&(n.scope+=" "+t.claims_scope);break;default:r=null}return r&&(n.flow=r),n}n.d(t,{i:()=>r})},6023(e,t,n){function r(e){return e.state=function(e){var t=new Uint8Array((e||16)/2);return window.crypto.getRandomValues(t),Array.from(t,o).join("")}(16),e}function o(e){return e.toString(16).padStart(2,"0")}n.d(t,{k:()=>r})},6276(e,t,n){n.d(t,{r:()=>o});var r=n(8733);function o(e){return e.request&&(e=e.response?new r.Eg(r.Rg,e.response):new r.Eg(r.Sr)),e}},6592(e,t,n){n.d(t,{Du:()=>g,E7:()=>m,hn:()=>p,we:()=>d});var r=n(4760),o=n(5524),a=n(6023),s=n(8733),c=n(6276),i=n(8808);function l(e){return{type:i.l3,error:e}}function u(){return{type:i.fg}}function d(e){const{success:t,username:n,displayName:r}=e;return{type:i.FK,state:!0===t,username:n,displayName:r,hello:e}}function m(){return function(e,t){e(u());const{flow:n,query:i}=t().common,m=(0,a.k)((0,o.i)(n,i));return r.A.post("./identifier/_/hello",m,{headers:{"Kopano-Konnect-XSRF":"1"}}).then(e=>{switch(e.status){case 200:return e.data;case 204:return{success:!1,state:e.headers["kopano-konnect-state"]};default:throw new s.Eg(s.Rg,e)}}).then(t=>{if(t.state!==m.state)throw new s.Eg(s.ov,t);return e(d(t)),Promise.resolve(t)}).catch(t=>{t=(0,c.r)(t),e(l(t))})}}function p(){return function(e){return e(l(null)),e(m())}}function g(){return function(e){e(u()),e({type:i.MX})Line truncated
|
||||
//# sourceMappingURL=containers-welcome.e5f2cbd1.chunk.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/containers-welcome.e5f2cbd1.chunk.js","mappings":"gOAwBA,MAAMA,UAAsBC,EAAAA,cAC1BC,MAAAA,GACE,MAAM,QAAEC,EAAO,SAAEC,EAAQ,MAAEC,EAAK,EAAEC,GAAMC,KAAKC,MAEvCC,EAAoB,OAAVJ,EAChB,OACEJ,EAAAA,cAACS,EAAAA,EAAgB,CAACD,QAASA,EAASL,SAAUA,GAC5CH,EAAAA,cAACU,EAAAA,EAAU,CAACC,QAAQ,KAAKC,UAAU,KAAKC,UAAU,YAC/CR,EAAE,2BAA4B,0BAA2B,CAACS,YAAaV,EAAMU,eAEhFd,EAAAA,cAACU,EAAAA,EAAU,CAACC,QAAQ,YAAYE,UAAWX,EAAQa,UAAY,aAC5DX,EAAMY,UAGThB,EAAAA,cAACU,EAAAA,EAAU,CAACO,cAAY,EAACJ,UAAU,YAChCR,EAAE,0BAA2B,iCAGhCL,EAAAA,cAACkB,EAAAA,EAAa,KACZlB,EAAAA,cAACmB,EAAAA,EAAM,CACLC,MAAM,YACNP,UAAWX,EAAQmB,OACnBV,QAAQ,YACRW,QAAUC,GAAUjB,KAAKkB,OAAOD,IAE/BlB,EAAE,sCAAuC,cAKpD,CAEAmB,MAAAA,CAAOD,GACLA,EAAME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AA,GAAuCzF,KAElED,KAAKC,IACN,GLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
"use strict";(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[316],{1470(e,t,n){n.d(t,{A:()=>r});var a=n(1189),l=n(2626);const r=(0,l.y)(e=>{let{target:t,location:n,...r}=e;const o={pathname:t,search:n.search,hash:n.hash};return a.createElement(l.rd,Object.assign({to:o},r))})},2048(e,t,n){n.r(t),n.d(t,{default:()=>u});var a=n(1189),l=n(1056),r=n(6797),o=n(2626),c=n(1470);const h=e=>{let{component:t,hello:n,...l}=e;return a.createElement(o.qh,Object.assign({},l,{render:e=>n?a.createElement(t,e):a.createElement(c.A,{target:"/identifier"})}))},i=(0,a.lazy)(()=>Promise.all([n.e(682),n.e(111),n.e(587)]).then(n.bind(n,1589))),s=(0,a.lazy)(()=>Promise.all([n.e(682),n.e(256)]).then(n.bind(n,1743))),m=(0,a.lazy)(()=>Promise.all([n.e(682),n.e(469)]).then(n.bind(n,6839))),d=e=>{let{hello:t}=e;return a.createElement(o.dO,null,a.createElement(h,{path:"/welcome",exact:!0,component:s,hello:t}),a.createElement(o.qh,{path:"/goodbye",exact:!0,component:m}),a.createElement(o.qh,{path:"/",component:i}))};class p extends a.PureComponent{render(){const{hello:e,pathPrefix:t}=this.props;return a.createElement(r.Kd,{basename:t},a.createElement(d,{hello:e}))}reload(e){e.preventDefault(),window.location.reload()}}const u=(0,l.Ng)(e=>{const{hello:t,updateAvailable:n,pathPrefix:a}=e.common;return{hello:t,updateAvailable:n,pathPrefix:a}})(p)}}]);
|
||||
//# sourceMappingURL=identifier-main.3fe82d6b.chunk.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/identifier-main.3fe82d6b.chunk.js","mappings":"6IAKA,MAiBA,GAAeA,EAAAA,EAAAA,GAjBWC,IAAkC,IAAjC,OAACC,EAAM,SAAEC,KAAaC,GAAKH,EACpD,MAAMI,EAAK,CACTC,SAAUJ,EACVK,O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main.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router';\nimport { Redirect } from 'react-router-dom';\n\nconst RedirectWithQuery = ({target, location, ...rest}) => {\n const to = {\n pathname: target,\n search: location.search,\n hash: location.hash\n };\n\n return (\n <Redirect to={to} {...rest}></Redirect>\n );\n};\n\nRedirectWithQuery.propTypes = {\n target: PropTypes.string.isRequired,\n location: PropTypes.object.isRequired\n};\n\nexport default withRouter(RedirectWithQuery);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Route } from 'react-router-dom';\n\nimport RedirectWithQuery from './RedirectWithQuery';\n\nconst PrivateRoute = ({ component: Target, hello, ...rest }) => (\n <Route {...rest} render={props => (\n hello ? (\n <Target {...props}/>\n ) : (\n <RedirectWithQuery target='/identifier' />\n )\n )}/>\n);\n\nPrivateRoute.propTypes = {\n component: PropTypes.elementType.isRequired,\n hello: PropTypes.object\n};\n\nexport default PrivateRoute;\n","import React, { ReactElement, lazy } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Route, Switch } from 'react-router-dom';\n\nimport PrivateRoute from './components/PrivateRoute';\n\nconst AsyncLogin = lazy(() =>\n import(/* webpackChunkName: \"containers-login\" */ './containers/Login'));\nconst AsyncWelcome = lazy(() =>\n import(/* webpackChunkName: \"containers-welcome\" */ './containers/Welcome'));\nconst AsyncGoodbye = lazy(() =>\n import(/* webpackChunkName: \"containers-goodbye\" */ './containers/Goodbye'));\n\nconst Routes = ({ hello }: {hello: PropTypes.object}): ReactElement => (\n <Switch>\n <PrivateRoute\n path=\"/welcome\"\n exact\n component={AsyncWelcome}\n hello={hello}\n />\n <Route\n path=\"/goodbye\"\n exact\n component={AsyncGoodbye}\n />\n <Route\n path=\"/\"\n component={AsyncLogin}\n />\n </Switch>\n);\n\nRoutes.propTypes = {\n hello: PropTypes.object\n};\n\nexport default Routes;\n","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\n\nimport { BrowserRouter } from 'react-router-dom';\n\nimport Routes from './Routes';\n\nclass Main extends PureComponent {\n render() {\n const { hello, pathPrefix } = this.props;\n\n return (\n <BrowserRouter basename={pathPrefix}>\n <Routes hello={hello}/>\n </BrowserRouter>\n );\n }\n\n reload(event) {\n event.preventDefault();\n\n window.location.reload();\n }\n}\n\nMain.propTypes = {\n classes: PropTypes.object.isRequired,\n\n hello: PropTypes.object,\n updateAvailable: PropTypes.bool.isRequired,\n pathPrefix: PropTypes.string.isRequired\n};\n\nconst mapStateToProps = (state) => {\n const { hello, updateAvailable, pathPrefix } = state.common;\n\n return {\n hello,\n updateAvailable,\n pathPrefix\n };\n};\n\nexport default connect(mapStateToProps)(Main);\n"],"names":["withRouter","_ref","target","location","rest","to","pathname","search","hash","React","Redirect","Object","assign","component","Target","hello","Route","render","props","RedirectWithQuery","AsyncLogin","lazy","AsyncWelcome","AsyncGoodbye","Switch","PrivateRoute","path","exact","Main","PureComponent","pathPrefix","this","BrowserRouter","basename","Routes","reload","event","preventDefault","window","connect","state","updateAvailable","common"],"ignoreList":[],"sourceRoot":""}
|
||||
@@ -0,0 +1,2 @@
|
||||
(this.webpackChunkidentifier=this.webpackChunkidentifier||[]).push([[792],{6444(e,t,n){"use strict";var r=n(1189),a=n(8205),o=n(1056),l=n(7518),i=n(6389),s=n(7399),c=n(9699),u=n(8467);const d="ui_locales",m="ui_locale",E="lico.identifier_ui_locale",g=["en-GB","en",...JSON.parse('[{"locale":"de","name":"German","nativeName":"Deutsch","orientation":{"characterOrder":"left-to-right","lineOrder":"top-to-bottom"}},{"locale":"en-GB","name":"English","nativeName":"English","orientation":{"characterOrder":"left-to-right","lineOrder":"top-to-bottom"}},{"locale":"es","name":"Spanish","nativeName":"Espa\xf1ol","orientation":{"characterOrder":"left-to-right","lineOrder":"top-to-bottom"}},{"locale":"fr","name":"French","nativeName":"Fran\xe7ais","orientation":{"characterOrder":"left-to-right","lineOrder":"top-to-bottom"}},{"locale":"it","name":"Italian","nativeName":"Italiano","orientation":{"characterOrder":"left-to-right","lineOrder":"top-to-bottom"}},{"locale":"nl","name":"Dutch","nativeName":"Nederlands","orientation":{"characterOrder":"left-to-right","lineOrder":"top-to-bottom"}},{"locale":"zh-CN","name":"Simplified Chinese","nativeName":"\u7b80\u4f53\u4e2d\u6587","orientation":{"characterOrder":"left-to-right","lineOrder":"top-to-bottom"},"ietf":"zh_hans"}]').map(e=>e.locale)],h={name:"queryUiLocales",lookup:e=>{const t=u.A.parse(document.location.search)[d];if(t)return Array.isArray(t)?t:t.split(" ")}},f=new c.A;f.addDetector(h),l.Ay.use((0,s.A)((e,t,r)=>{n(8281)(`./${e}/${t}.json`).then(e=>{r(null,e)}).catch(e=>{r(e,null)})})).use(f).use(i.r9).init({fallbackLng:"en-GB",supportedLngs:[...g],cleanCode:!0,returnEmptyString:!1,debug:!1,detection:{order:[h.name,"cookie","localStorage","navigator"],lookupCookie:m,lookupLocalStorage:E,caches:["localStorage"]},interpolation:{escapeValue:!1}});var O=n(589),p=n(748),_=n(6272);const b=(0,n(3790).A)(()=>({root:{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})),N=()=>{const e=b();return r.createElement("div",{className:e.root},r.createElement(p.A,{in:!0,style:{transitionDelay:"800ms"},unmountOnExit:!0},r.createElement(_.A,{size:70,thickness:1})))},A={NODE_ENV:"production",PUBLIC_URL:"."}.REACT_APP_KOPANO_BUILD||"0.0.0-no-proper-build";var v=n(7188),S=n(9544),y=n(6607),C=n(4853);const L={50:"#e5f7fd",100:"#ccf0fc",200:"#99e1f9",300:"#66d1f6",400:"#33c2f3",500:"#00b3f0",600:"#14a9e7",700:"#1e98d7",800:"#188cc8",900:"#0d74b6",A100:"#96e8ff",A200:"#6ddaff",A400:"#56cbff",A700:"#48acf0"},R=y.A,T=C.A,I=(0,S.D)({palette:{primary:L,secondary:R,error:T,contrastThreshold:2.4,tonalOffset:.2},typography:{useNextVariants:!0,button:{textTransform:"none",fontSize:"1rem"}}}),w=(0,r.lazy)(()=>Promise.all([n.e(797),n.e(316)]).then(n.bind(n,2048)));console.info(`Kopano Identifier build version: ${A}`);const j=e=>{let{bgImg:t}=e;const[n,a]=(0,r.useState)(null),[o,l]=(0,r.useState)(null),[i,s]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{(async()=>{try{const e=await fetch("/config.json"),t=await e.json();l(t);const n=await fetch(t.theme),r=await n.json();a(r)}catch(e){console.error("Error fetching config/theme data:",e)}finally{s(!1)}})()},[]),i?r.createElement(N,null):r.createElement(v.O.Provider,{value:{theme:n,config:o}},r.createElement("div",{className:"oc-login-bg",style:{backgroundImage:t?`url(${t})`:void 0}},r.createElement(O.A,{theme:I},r.createElement(r.Suspense,{fallback:r.createElement(N,null)},r.createElement(w,null)))))};var k=n(8770),G=n(4540),U=(n(4418),n(8808));const D=u.A.parse(document.location.search),P=D.flow||"";delete D.flow;const F=(()=>{const e=document.getElementById("root");let t=e?e.getAttribute("data-path-prefix"):null;return t&&"__PATH_PREFIX__"!==t||(t="/signin/v1"),t})(),V=(()=>{const e=document.getElementById("root");let t=e?e.getAttribute("passwort-reset-link"):null;return t&&"__PASSWORD_RESET_LINK__"!==t||(t=""),t})(),z={hello:null,branding:null,error:null,flow:P,query:D,updateAvailable:!1,pathPrefix:F,passwordResetLink:V};const K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case U.l3:return Object.assign({},e,{error:t.error});case U.fg:return Object.assign({},e,{hello:null,branding:null});case U.FK:return Object.assign({},e,{hello:{state:t.state,username:t.username,displayName:t.displayName,details:t.hello},branding:t.hello.branding?t.hello.branding:e.branding});case U.Gm:return Object.assign({},e,{updateAvailable:!0});default:return e}};const x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{loading:"",username:"",password:"",errors:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case U.tG:return Object.assign({},e,{errors:t.errors,loading:""});case U.HF:case U.Ag:case U.Gz:return Object.assign({},e,{loading:t.type,errors:{}});case U.pT:case U.US:return Object.assign({},e,{errors:!t.success&&t.errors?t.errors:{},loading:""});case U.uK:return Object.assign({},e,{username:"",password:""});case U.h1:return delete e.Line truncated
|
||||
//# sourceMappingURL=main.77f24f3e.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/main.77f24f3e.js","mappings":"wLAYO,MCFDA,EACgB,aADhBA,EAEgB,YAFhBA,EAGsB,4BAGtBC,EAAqB,CAAC,QAAS,Q,6+BAAiBC,IAAKC,GAClDA,EAAOA,SAGVC,EAAyC,CAC7CC,KAAM,iBACNC,OAASC,IACP,MACMC,EADQC,EAAAA,EAAYC,MAAMC,SAASC,SAASC,QACzBb,GACzB,GAAKQ,EAGL,OAAIM,MAAMC,QAAQP,GACTA,EAEAA,EAAWQ,MAAM,OAKxBC,EAAmB,IAAIC,EAAAA,EAC7BD,EAAiBE,YAAYf,GAE7BgB,EAAAA,GAAAA,KACOC,EAAAA,EAAAA,GAAmB,CAACC,EAAUC,EAAWC,KAC5C,QAKE,KAAaF,KAAYC,UAExBE,KAAMC,IACLF,EAAS,KAAME,KAEhBC,MAAOC,IACNJ,EAASI,EAAO,WAGrBC,IAAIZ,GACJY,IAAIC,EAAAA,IAGJC,KAAK,CACJC,YAAa,QACbC,cAAe,IAAIhC,GACnBiC,WAAW,EACXC,mBAAmB,EACnBC,OAAO,EAEPC,UAAW,CAETC,MAAO,CAAClC,EAAuBC,KAAM,SAAU,eAAgB,aAC/DkC,aAAcvC,EACdwC,mBAAoBxC,EACpByC,OAAQ,CAAC,iBAGXC,cAAe,CACbC,aAAa,K,gCCnElB,MAAMC,GAAYC,E,QAAAA,GAAW,MAC5BC,KAAM,CACJC,SAAU,QACVC,IAAK,MACLC,KAAM,MACNC,UAAW,4BAoBf,EAhBgBC,KACd,MAAMC,EAAUR,IAEhB,OAAOS,EAAAA,cAAA,OAAKC,UAAWF,EAAQN,MAC7BO,EAAAA,cAACE,EAAAA,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,EACRC,MAAOC,ICDHC,EAAc,CAClBC,EAAAA,GAOF,MAAMC,EAAmBC,OAAOC,sCAAwCC,EAAAA,GASxE,GAPcC,EAAAA,EAAAA,IACZC,EACAL,GAAiBM,EAAAA,EAAAA,OACZR,KCRDlH,EAAOnC,SAAS6G,eAAe,QAG/B5B,EAAQ9C,EAAK4E,aAAa,eAEhC+C,EAAAA,OACEpH,EAAAA,cAACA,EAAAA,WAAgB,KACfA,EAAAA,cAACwD,EAAAA,GAAQ,CAAC6D,MAAOA,GACfrH,EAAAA,cAACsH,EAAG,CAAC/E,MAAOA,MAGhB9C,E,4CCpBK,MAAM8D,GAAuBgE,E,QAAAA,eAAc,CAC9C/E,MAAO,KACP7F,OAAQ,M,cCJZ,IAAIE,EAAM,CACT,wBAAyB,KACzB,wBAAyB,KACzB,wBAAyB,KACzB,wBAAyB,KACzB,wBAAyB,KACzB,2BAA4B,MAI7B,SAAS2K,EAAoBC,GAC5B,OAAOC,EAA2BD,GAAKrJ,KAAKuJ,GACpCC,EAAoBC,EAAEF,EAAI,IAEnC,CACA,SAASD,EAA2BD,GACnC,OAAOG,EAAoBE,EAA0C,IAAI1J,KAAK,KAC7E,IAAIwJ,EAAoBG,EAAElL,EAAK4K,GAAM,CACpC,IAAIK,EAAI,IAAIE,MAAM,uBAAyBP,EAAM,KAEjD,MADAK,EAAEG,KAAO,mBACHH,CACP,CACA,OAAOjL,EAAI4K,IAEb,CACAD,EAAoBU,KAAO,IAAO/C,OAAO+C,KAAKrL,GAC9C2K,EAAoBW,QAAUT,EAC9BF,EAAoBG,GAAK,KACzBS,EAAOC,QAAUb,C,yJC5BV,MAAMtC,EAAgB,gBAEhBG,EAAc,cAEdC,EAAgB,gBALine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
(()=>{"use strict";var e={},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.m=e,(()=>{var e=[];r.O=(t,n,o,i)=>{if(!n){var a=1/0;for(f=0;f<e.length;f++){for(var[n,o,i]=e[f],c=!0,l=0;l<n.length;l++)(!1&i||a>=i)&&Object.keys(r.O).every(e=>r.O[e](n[l]))?n.splice(l--,1):(c=!1,i<a&&(a=i));if(c){e.splice(f--,1);var u=o();void 0!==u&&(t=u)}}return t}i=i||0;for(var f=e.length;f>0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[n,o,i]}})(),r.F={},r.E=e=>{Object.keys(r.F).map(t=>{r.F[t](e)})},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"===typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"===typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&n;("object"==typeof c||"function"==typeof c)&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,r.d(i,a),i}})(),r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"static/js/"+({78:"all-i18n-data",256:"containers-welcome",316:"identifier-main",469:"containers-goodbye",587:"containers-login"}[e]||e)+"."+{78:"65cce477",111:"775cff4a",256:"e5f2cbd1",316:"3fe82d6b",469:"0b76d7de",587:"823a6154",682:"b726a241",797:"9c9790e5"}[e]+".chunk.js",r.miniCssF=e=>{},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="identifier:";r.l=(n,o,i,a)=>{if(e[n])e[n].push(o);else{var c,l;if(void 0!==i)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var d=u[f];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==t+i){c=d;break}}c||(l=!0,(c=document.createElement("script")).charset="utf-8",r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",t+i),c.src=n),e[n]=[o];var s=(t,r)=>{c.onerror=c.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(e=>e(r)),t)return t(r)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),l&&document.head.appendChild(c)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="./",(()=>{var e={577:0};r.f.j=(t,n)=>{var o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else if(577!=t){var i=new Promise((r,n)=>o=e[t]=[r,n]);n.push(o[2]=i);var a=r.p+r.u(t),c=new Error;r.l(a,n=>{if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,o[1](c)}},"chunk-"+t,t)}else e[t]=0},r.F.j=t=>{if((!r.o(e,t)||void 0===e[t])&&577!=t){e[t]=null;var n=document.createElement("link");n.charset="utf-8",r.nc&&n.setAttribute("nonce",r.nc),n.rel="prefetch",n.as="script",n.href=r.p+r.u(t),document.head.appendChild(n)}},r.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[a,c,l]=n,u=0;if(a.some(t=>0!==e[t])){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(l)var f=l(r)}for(t&&t(n);u<a.length;u++)i=a[u],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(f)},n=this.webpackChunkidentifier=this.webpackChunkidentifier||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})()})();
|
||||
//# sourceMappingURL=runtime-main.b6fe9609.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/js/runtime-main.b6fe9609.js","mappings":"4BACIA,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUM,KAAKF,EAAOD,QAASC,EAAQA,EAAOD,QAASJ,GAGpEK,EAAOD,OACf,CAGAJ,EAAoBQ,EAAIF,E,MCzBxB,IAAIG,EAAW,GACfT,EAAoBU,EAAI,CAACC,EAAQC,EAAUC,EAAIC,KAC9C,IAAGF,EAAH,CAMA,IAAIG,EAAeC,IACnB,IAASC,EAAI,EAAGA,EAAIR,EAASS,OAAQD,IAAK,CAGzC,IAFA,IAAKL,EAAUC,EAAIC,GAAYL,EAASQ,GACpCE,GAAY,EACPC,EAAI,EAAGA,EAAIR,EAASM,OAAQE,MACpB,EAAXN,GAAsBC,GAAgBD,IAAaO,OAAOC,KAAKtB,EAAoBU,GAAGa,MAAOC,GAASxB,EAAoBU,EAAEc,GAAKZ,EAASQ,KAC9IR,EAASa,OAAOL,IAAK,IAErBD,GAAY,EACTL,EAAWC,IAAcA,EAAeD,IAG7C,GAAGK,EAAW,CACbV,EAASgB,OAAOR,IAAK,GACrB,IAAIS,EAAIb,SACEV,IAANuB,IAAiBf,EAASe,EAC/B,CACD,CACA,OAAOf,CAnBP,CAJCG,EAAWA,GAAY,EACvB,IAAI,IAAIG,EAAIR,EAASS,OAAQD,EAAI,GAAKR,EAASQ,EAAI,GAAG,GAAKH,EAAUG,IAAKR,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AQ,CAACqD,EAASC,IAAYH,EAAqBD,EAAgBhF,GAAW,CAACmF,EAASC,IAC1GnD,EAASe,KAAKiC,EAAmB,GAAKC,GAGtC,IAAIpC,EAAM3E,EAAoB4G,EAAI5G,EAAoB+D,EAAElC,GAEpDqF,EAAQ,IAAIC,MAgBhBnH,EAAoB0E,EAAEC,EAfFiB,IACnB,GAAG5F,EAAoBqD,EAAEwD,EAAiBhF,KAEf,KAD1BiF,EAAqBD,EAAgBhF,MACRgF,EAAgBhF,QAAW1B,GACrD2G,GAAoB,CACtB,IAAIM,EAAYxB,IAAyB,SAAfA,EAAMU,KAAkB,UAAYV,EAAMU,MAChEe,EAAUzB,GAASA,EAAMW,QAAUX,EAAMW,OAAOd,IACpDyB,EAAMI,QAAU,iBAAmBzF,EAAU,cAAgBuF,EAAY,KAAOC,EAAU,IAC1FH,EAAMK,KAAO,iBACbL,EAAMZ,KAAOc,EACbF,EAAMM,QAAUH,EAChBP,EAAmB,GAAGI,EACvB,GAGuC,SAAWrF,EAASA,EAC9D,MAAOgF,EAAgBhF,GAAW,GAKtC7B,EAAoB2B,EAAEP,EAAKS,IAC1B,KAAK7B,EAAoBqD,EAAEwD,EAAiBhF,SAAyC1B,IAA7B0G,EAAgBhF,KAA2B,KAAOA,EAAS,CAClHgF,EAAgBhF,GAAW,KAC3B,IAAI4F,EAAOxC,SAASI,cAAc,QAClCoC,EAAKnC,QAAU,QAEXtF,EAAoBuF,IACvBkC,EAAKjC,aAAa,QAASxF,EAAoBuF,IAEhDkC,EAAKC,IAAM,WACXD,EAAKE,GAAK,SACVF,EAAKG,KAAO5H,EAAoB4G,EAAI5G,EAAoB+D,EAAElC,GAC1DoD,SAASuB,KAAKC,YAAYgB,EAC3B,GASDzH,EAALine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
define(["exports"],function(t){"use strict";try{self["workbox:core:7.0.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.0.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super(({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)},e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch(async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i(({url:t})=>t.href===s.href,e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter(t=>t&&t.length>0).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:7.0.0"]&&_()}catch(t){}function p(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===R){const t=new Response("");if("body"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(c,o)}function v(t,e){const s=new URL(t);for(const t ofLine truncated
|
||||
//# sourceMappingURL=workbox-96c553ab.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"workbox-96c553ab.js","sources":["node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_version.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/logger.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/WorkboxError.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/_version.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/utils/constants.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/Route.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/RegExpRoute.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/Router.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/registerRoute.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/cacheNames.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/waitUntil.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/_version.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/copyResponse.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/Deferred.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/.pnpm/workbox-strategies@7.1.0/node_modules/workbox-strategies/_version.js","node_modules/.pnpm/workbox-strategies@7.1.0/node_modules/workbox-strategies/StrategyHandler.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/timeout.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/.pnpm/workbox-strategies@7.1.0/node_modules/workbox-strategies/Strategy.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/PrecacheController.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/.pnpm/workbox-routing@7.1.0/node_modules/workbox-routing/NavigationRoute.js","node_modules/.pnpm/workbox-core@7.1.0/node_modules/workbox-core/clientsClaim.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/createHandlerBoundToURL.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/precache.js","node_modules/.pnpm/workbox-precaching@7.1.0/node_modules/workbox-precaching/addRoute.js"],"sourcesContent":["\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:core:7.0.0'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst logger = (process.env.NODE_ENV === 'production'\n ? null\n : (() => {\n // Don't overwrite this value if it's already set.\n // See https://github.com/GoogleChrome/workbox/pull/2284#issuecomment-560470923\n if (!('__WB_DISABLE_DEV_LOGS' in globalThis)) {\n self.__WB_DISABLE_DEV_LOGS = false;\n }\n let inGroup = false;\n const methodToColorMap = {\n debug: `#7f8c8d`,\n log: `#2ecc71`,\n warn: `#f39c12`,\n error: `#c0392b`,\n groupCollapsed: `#3498db`,\n groupEnd: null, // No colored prefix on groupEnd\n };\n const print = function (method, args) {\n if (seLine truncated
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Ivan Fustero, 2026\n"
|
||||
"Language-Team: Catalan (https://app.transifex.com/owncloud-org/teams/6149/ca/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: David Walter, 2026\n"
|
||||
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: English (United States) (https://app.transifex.com/owncloud-org/teams/6149/en_US/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-08 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-29 03:23+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Domainmasteri, 2026\n"
|
||||
"Language-Team: Finnish (Finland) (https://app.transifex.com/owncloud-org/teams/6149/fi_FI/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Cesare Capoferri, 2026\n"
|
||||
"Language-Team: Italian (https://app.transifex.com/owncloud-org/teams/6149/it/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: BoneNI, 2026\n"
|
||||
"Language-Team: Lao (https://app.transifex.com/owncloud-org/teams/6149/lo/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-06-03 03:23+0000\n"
|
||||
"POT-Creation-Date: 2026-06-24 03:20+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Portuguese (https://app.transifex.com/owncloud-org/teams/6149/pt/)\n"
|
||||
|
||||
Loaded 100 of 200 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user