Compare commits
50
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5fd2466e09 | ||
|
|
8e4374a226 | ||
|
|
5ca32e7292 | ||
|
|
fea5837840 | ||
|
|
48b8e198e3 | ||
|
|
43b64b12af | ||
|
|
b495d79bb3 | ||
|
|
80a04e5981 | ||
|
|
b384fc84ab | ||
|
|
bba26bd586 | ||
|
|
0b21a49dbd | ||
|
|
351db4fb2e | ||
|
|
a3a0b05b0d | ||
|
|
fdb6dc17c9 | ||
|
|
4b73534e41 | ||
|
|
ace72dc7db | ||
|
|
85b2e8b334 | ||
|
|
6f312d76bd | ||
|
|
693e907a10 | ||
|
|
f48fe015e1 | ||
|
|
a72f543def | ||
|
|
2f9c2b4b9f | ||
|
|
5ea1da9aba | ||
|
|
42a7c5f334 | ||
|
|
f8cf3429de | ||
|
|
de766759da | ||
|
|
55173be919 | ||
|
|
ec0f5fd496 | ||
|
|
03e7194f91 | ||
|
|
5e87222571 | ||
|
|
4c8039b6cd | ||
|
|
b965c883e2 | ||
|
|
0db1b6bf35 | ||
|
|
bd0e8f00f1 | ||
|
|
2526a4ff64 | ||
|
|
a18fb74da9 | ||
|
|
e35c524e3e | ||
|
|
32a7d1fdd4 | ||
|
|
0f3ce714f8 | ||
|
|
8898eb4ef7 | ||
|
|
55856cb722 | ||
|
|
aba9654f87 | ||
|
|
46d772f4f6 | ||
|
|
d0b41ea4a9 | ||
|
|
7234648e14 | ||
|
|
c49316b424 | ||
|
|
825838898d | ||
|
|
524cd79841 | ||
|
|
a7a5ed8a91 | ||
|
|
b620b5453a |
No files matched your search
@@ -19,4 +19,9 @@ updates:
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
open-pull-requests-limit: 2
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
||||
@@ -55,8 +55,7 @@ branches:
|
||||
require_code_owner_reviews: false
|
||||
required_status_checks:
|
||||
strict: false
|
||||
contexts:
|
||||
- continuous-integration/drone/pr
|
||||
contexts: []
|
||||
enforce_admins: null
|
||||
restrictions:
|
||||
apps: []
|
||||
@@ -74,8 +73,7 @@ branches:
|
||||
require_code_owner_reviews: false
|
||||
required_status_checks:
|
||||
strict: false
|
||||
contexts:
|
||||
- continuous-integration/drone/pr
|
||||
contexts: []
|
||||
enforce_admins: null
|
||||
restrictions:
|
||||
apps: []
|
||||
|
||||
@@ -0,0 +1,586 @@
|
||||
name: Acceptance Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
name: build-and-test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- name: Pre-checks and generate
|
||||
run: |
|
||||
# Phase 1 — I/O + light CPU, no contention between tasks.
|
||||
# PHP install (~40s) is moved inside the php-style subshell so it overlaps
|
||||
# with govulncheck (network I/O), node-gen, and go-gen instead of blocking
|
||||
# the entire job sequentially.
|
||||
# wa (I/O wait) will spike during apt-get/npm/pnpm downloads.
|
||||
# Expected avg load: ~50-60 % CPU on 2 vCPU.
|
||||
vmstat 2 > /tmp/vmstat-phase1.log & MONITOR_PID=$!
|
||||
|
||||
#TODO: use github action to setup/install/cache php
|
||||
(sudo add-apt-repository -y ppa:ondrej/php \
|
||||
&& sudo apt-get update -qq \
|
||||
&& sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd \
|
||||
&& sudo update-alternatives --set php /usr/bin/php8.4 \
|
||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& make vendor-bin-codestyle && make vendor-bin-codesniffer && make test-php-style && make check-env-var-annotations) > /tmp/php-style.log 2>&1 & PIDS=($!)
|
||||
(npm install -g @gherlint/gherlint@1.1.0 && make test-gherkin-lint) > /tmp/gherkin.log 2>&1 & PIDS+=($!)
|
||||
bash tests/acceptance/check-deleted-suites-in-expected-failure.sh > /tmp/suites.log 2>&1 & PIDS+=($!)
|
||||
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+=($!)
|
||||
|
||||
FAILED=0
|
||||
for PID in "${PIDS[@]}"; do wait "$PID" || FAILED=1; done
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
|
||||
# How to read the load line:
|
||||
# busy — % of time CPUs were doing work (100% = fully saturated)
|
||||
# runq — processes waiting for a CPU turn; runq >> nCPU means tasks
|
||||
# compete and each runs slower (runq 10 on 2 vCPU = ~5× slower)
|
||||
# wa — % waiting on disk/network; wa > 20% = I/O bound, not CPU bound
|
||||
# → high wa: add more parallel tasks; high runq: reduce them
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== phase 1 load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat-phase1.log
|
||||
|
||||
echo "=== php-style ===" && cat /tmp/php-style.log
|
||||
echo "=== gherkin ===" && cat /tmp/gherkin.log
|
||||
echo "=== suites ===" && cat /tmp/suites.log
|
||||
echo "=== govulncheck ===" && cat /tmp/govulncheck.log
|
||||
echo "=== ci-node-generate ===" && cat /tmp/node-gen.log
|
||||
echo "=== ci-go-generate ===" && cat /tmp/go-gen.log
|
||||
|
||||
exit $FAILED
|
||||
|
||||
- name: Build, lint and test
|
||||
run: |
|
||||
# Phase 2 — all three are CPU-bound Go compilation on 2 vCPU.
|
||||
# They compete for CPU (expect id < 10, load ~95 %) but share the
|
||||
# Go build cache within this runner, so make test reuses artifacts
|
||||
# from the ocis build. Critical path = ocis build (~300 s).
|
||||
vmstat 2 > /tmp/vmstat-phase2.log & MONITOR_PID=$!
|
||||
|
||||
make ci-golangci-lint > /tmp/golangci-lint.log 2>&1 & PIDS=($!)
|
||||
make -C ocis build > /tmp/ocis-build.log 2>&1 & PIDS+=($!)
|
||||
make test > /tmp/unit-tests.log 2>&1 & PIDS+=($!)
|
||||
|
||||
FAILED=0
|
||||
for PID in "${PIDS[@]}"; do wait "$PID" || FAILED=1; done
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
|
||||
# Signal: busy=saturated runq>>2=tasks competing(slows each) wa>20%=I/O bound
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== phase 2 load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat-phase2.log
|
||||
|
||||
echo "=== golangci-lint ==="&& cat /tmp/golangci-lint.log
|
||||
echo "=== ocis build ===" && cat /tmp/ocis-build.log
|
||||
echo "=== unit tests ===" && cat /tmp/unit-tests.log
|
||||
|
||||
exit $FAILED
|
||||
|
||||
local-api-tests:
|
||||
name: ${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
suite:
|
||||
# contractAndLock — parallel: 2 isolated OCIS instances (slot 0 :9200, slot 1 :9500)
|
||||
- "apiContract,apiLocks"
|
||||
# settings & notifications (needs email)
|
||||
- apiSettings
|
||||
- apiNotification
|
||||
- apiCors
|
||||
# graph
|
||||
- apiGraphUser
|
||||
- apiGraph
|
||||
- apiGraphGroup
|
||||
# spaces & dav
|
||||
- apiSpaces
|
||||
- apiSpacesShares
|
||||
- apiSpacesDavOperation
|
||||
- apiDownloads
|
||||
- apiAsyncUpload
|
||||
- apiDepthInfinity
|
||||
- apiArchiver
|
||||
- apiActivities
|
||||
# search
|
||||
- apiSearch1
|
||||
- apiSearch2
|
||||
- apiSearchContent # needs Tika
|
||||
# sharing
|
||||
- apiSharingNgShares
|
||||
- apiReshare
|
||||
- apiSharingNgPermissions
|
||||
- apiSharingNgAdditionalShareRole
|
||||
- apiSharingNgDriveInvitation
|
||||
- apiSharingNgItemInvitation
|
||||
- apiSharingNgDriveLinkShare
|
||||
- apiSharingNgItemLinkShare
|
||||
- apiSharingNgLinkShareManagement
|
||||
# auth
|
||||
- apiAuthApp
|
||||
# antivirus (needs ClamAV)
|
||||
- apiAntivirus
|
||||
# federation (needs email + federation ocis)
|
||||
- apiOcm
|
||||
# collaboration (needs WOPI)
|
||||
- apiCollaboration
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- name: Cache libcurl 8.12.0
|
||||
id: cache-libcurl
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
|
||||
with:
|
||||
path: /opt/libcurl
|
||||
key: libcurl-8.12.0-${{ runner.os }}
|
||||
|
||||
- name: Install libcurl 8.12.0 build dependencies
|
||||
# Always run: libvips-dev is needed at runtime (govips thumbnails) and for
|
||||
# pkg-config --exists vips to succeed so oCIS is built with ENABLE_VIPS=true.
|
||||
# Skipping this on cache hit would cause oCIS to fall back to the imaging library.
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libssl-dev libnghttp2-dev libpsl-dev libldap-dev libssh-dev zlib1g-dev libvips-dev
|
||||
|
||||
- name: Compile libcurl 8.12.0 from source
|
||||
if: steps.cache-libcurl.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cd /tmp
|
||||
curl -sLO https://curl.se/download/curl-8.12.0.tar.gz
|
||||
tar xzf curl-8.12.0.tar.gz
|
||||
cd curl-8.12.0
|
||||
./configure --with-ssl --with-zlib --with-nghttp2 --prefix=/opt/libcurl --enable-versioned-symbols --silent
|
||||
make -j$(nproc) --silent
|
||||
sudo make install --silent
|
||||
|
||||
- name: Restore libcurl ldconfig
|
||||
# Always run: on cache hit the .so files are restored to /opt/libcurl/lib but
|
||||
# /etc/ld.so.cache on the fresh runner doesn't know about them yet.
|
||||
# Without ldconfig, PHP's curl extension can't find libcurl even though it's present.
|
||||
run: |
|
||||
echo "/opt/libcurl/lib" | sudo tee /etc/ld.so.conf.d/libcurl-8.conf
|
||||
sudo ldconfig
|
||||
/opt/libcurl/bin/curl --version | head -1
|
||||
php -r '
|
||||
$v = curl_version()["version"];
|
||||
echo "PHP curl: $v\n";
|
||||
if (version_compare($v, "8.12.0", "<")) {
|
||||
fwrite(STDERR, "FATAL: PHP sees libcurl $v, need >= 8.12.0\n");
|
||||
exit(1);
|
||||
}
|
||||
'
|
||||
|
||||
- name: Install PHP 8.4
|
||||
run: |
|
||||
sudo add-apt-repository -y ppa:ondrej/php
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd
|
||||
sudo update-alternatives --set php /usr/bin/php8.4
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
php -v
|
||||
composer --version
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
|
||||
cli-tests:
|
||||
needs: [build-and-test]
|
||||
name: ${{ matrix.suite }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
suite:
|
||||
- cliCommands,apiServiceAvailability # grouped like drone; needs ClamAV + email
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- name: Install PHP 8.4
|
||||
run: |
|
||||
sudo add-apt-repository -y ppa:ondrej/php
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd
|
||||
sudo update-alternatives --set php /usr/bin/php8.4
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
php -v
|
||||
composer --version
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
|
||||
core-api-tests:
|
||||
name: ${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
suite:
|
||||
- "coreApiAuth,coreApiCapabilities,coreApiFavorites,coreApiMain,coreApiVersions"
|
||||
- "coreApiShareManagementBasicToShares,coreApiShareManagementToShares"
|
||||
- "coreApiSharees"
|
||||
- "coreApiSharePublicLink2"
|
||||
- "coreApiShareOperationsToShares1,coreApiShareOperationsToShares2,coreApiSharePublicLink1,coreApiShareCreateSpecialToShares1,coreApiShareCreateSpecialToShares2,coreApiShareUpdateToShares"
|
||||
- "coreApiTrashbin,coreApiTrashbinRestore,coreApiWebdavEtagPropagation1,coreApiWebdavEtagPropagation2"
|
||||
- "coreApiWebdavDelete,coreApiWebdavOperations,coreApiWebdavMove2"
|
||||
- "coreApiWebdavProperties"
|
||||
- "coreApiWebdavMove1,coreApiWebdavPreviews,coreApiWebdavUpload,coreApiWebdavUploadTUS"
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- name: Cache libcurl 8.12.0
|
||||
id: cache-libcurl
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
|
||||
with:
|
||||
path: /opt/libcurl
|
||||
key: libcurl-8.12.0-${{ runner.os }}
|
||||
|
||||
- name: Install libcurl 8.12.0 build dependencies
|
||||
# Always run: libvips-dev is needed at runtime (govips thumbnails) and for
|
||||
# pkg-config --exists vips to succeed so oCIS is built with ENABLE_VIPS=true.
|
||||
# Skipping this on cache hit would cause oCIS to fall back to the imaging library.
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libssl-dev libnghttp2-dev libpsl-dev libldap-dev libssh-dev zlib1g-dev libvips-dev
|
||||
|
||||
- name: Compile libcurl 8.12.0 from source
|
||||
if: steps.cache-libcurl.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cd /tmp
|
||||
curl -sLO https://curl.se/download/curl-8.12.0.tar.gz
|
||||
tar xzf curl-8.12.0.tar.gz
|
||||
cd curl-8.12.0
|
||||
./configure --with-ssl --with-zlib --with-nghttp2 --prefix=/opt/libcurl --enable-versioned-symbols --silent
|
||||
make -j$(nproc) --silent
|
||||
sudo make install --silent
|
||||
|
||||
- name: Restore libcurl ldconfig
|
||||
# Always run: on cache hit the .so files are restored to /opt/libcurl/lib but
|
||||
# /etc/ld.so.cache on the fresh runner doesn't know about them yet.
|
||||
# Without ldconfig, PHP's curl extension can't find libcurl even though it's present.
|
||||
run: |
|
||||
echo "/opt/libcurl/lib" | sudo tee /etc/ld.so.conf.d/libcurl-8.conf
|
||||
sudo ldconfig
|
||||
/opt/libcurl/bin/curl --version | head -1
|
||||
php -r '
|
||||
$v = curl_version()["version"];
|
||||
echo "PHP curl: $v\n";
|
||||
if (version_compare($v, "8.12.0", "<")) {
|
||||
fwrite(STDERR, "FATAL: PHP sees libcurl $v, need >= 8.12.0\n");
|
||||
exit(1);
|
||||
}
|
||||
'
|
||||
|
||||
- name: Install PHP 8.4
|
||||
run: |
|
||||
sudo add-apt-repository -y ppa:ondrej/php
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd
|
||||
sudo update-alternatives --set php /usr/bin/php8.4
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
BEHAT_SUITES="${{ matrix.suite }}" ACCEPTANCE_TEST_TYPE=core-api WITH_REMOTE_PHP=true \
|
||||
python3 tests/acceptance/run-github.py
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
|
||||
e2e-tests:
|
||||
name: e2e-${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- suite: part-1
|
||||
args: "--total-parts 4 --xsuites search,app-provider,ocm,keycloak --run-part 1"
|
||||
- suite: part-2
|
||||
args: "--total-parts 4 --xsuites search,app-provider,ocm,keycloak --run-part 2"
|
||||
- suite: part-3
|
||||
args: "--total-parts 4 --xsuites search,app-provider,ocm,keycloak --run-part 3"
|
||||
- suite: part-4
|
||||
args: "--total-parts 4 --xsuites search,app-provider,ocm,keycloak --run-part 4"
|
||||
- suite: search
|
||||
args: "--suites search"
|
||||
tika: true
|
||||
- suite: keycloak
|
||||
args: "--suites journeys,keycloak"
|
||||
keycloak: true
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
- name: Generate code
|
||||
run: |
|
||||
pnpm config set store-dir ./.pnpm-store
|
||||
make ci-node-generate
|
||||
env:
|
||||
CHROMEDRIVER_SKIP_DOWNLOAD: "true"
|
||||
|
||||
- name: Cache Playwright Chromium
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
|
||||
with:
|
||||
path: ~/.cache/ms-playwright
|
||||
key: playwright-chromium-${{ hashFiles('.drone.env') }}
|
||||
|
||||
# --- Tika (search suite only) ---
|
||||
- name: Start Tika
|
||||
if: matrix.tika == true
|
||||
run: |
|
||||
docker run -d --name tika --network host apache/tika:3.2.2.0-full
|
||||
timeout 120 bash -c 'until curl -sf http://localhost:9998; do sleep 2; done'
|
||||
echo "tika ready."
|
||||
|
||||
# --- Keycloak (keycloak suite only) ---
|
||||
- name: Generate Keycloak certs
|
||||
if: matrix.keycloak == true
|
||||
run: |
|
||||
mkdir -p keycloak-certs
|
||||
openssl req -x509 -newkey rsa:2048 \
|
||||
-keyout keycloak-certs/keycloakkey.pem \
|
||||
-out keycloak-certs/keycloakcrt.pem \
|
||||
-nodes -days 365 -subj '/CN=keycloak'
|
||||
chmod -R 777 keycloak-certs
|
||||
|
||||
- name: Start Postgres
|
||||
if: matrix.keycloak == true
|
||||
run: |
|
||||
docker run -d --name postgres --network host \
|
||||
-e POSTGRES_DB=keycloak \
|
||||
-e POSTGRES_USER=keycloak \
|
||||
-e POSTGRES_PASSWORD=keycloak \
|
||||
postgres:alpine3.18
|
||||
timeout 30 bash -c 'until docker exec postgres pg_isready -U keycloak; do sleep 1; done'
|
||||
|
||||
- name: Start Keycloak
|
||||
if: matrix.keycloak == true
|
||||
run: |
|
||||
# Patch realm: replace Drone Docker hostname with localhost IP
|
||||
sed 's|https://ocis-server:9200|https://127.0.0.1:9200|g' \
|
||||
tests/config/drone/ocis-ci-realm.dist.json > /tmp/ocis-realm.json
|
||||
docker run -d --name keycloak --network host \
|
||||
-e OCIS_DOMAIN=https://127.0.0.1:9200 \
|
||||
-e KC_HOSTNAME=localhost \
|
||||
-e KC_PORT=8443 \
|
||||
-e KC_DB=postgres \
|
||||
-e "KC_DB_URL=jdbc:postgresql://localhost:5432/keycloak" \
|
||||
-e KC_DB_USERNAME=keycloak \
|
||||
-e KC_DB_PASSWORD=keycloak \
|
||||
-e KC_FEATURES=impersonation \
|
||||
-e KC_BOOTSTRAP_ADMIN_USERNAME=admin \
|
||||
-e KC_BOOTSTRAP_ADMIN_PASSWORD=admin \
|
||||
-e KC_HTTPS_CERTIFICATE_FILE=/keycloak-certs/keycloakcrt.pem \
|
||||
-e KC_HTTPS_CERTIFICATE_KEY_FILE=/keycloak-certs/keycloakkey.pem \
|
||||
-v "$(pwd)/keycloak-certs:/keycloak-certs:ro" \
|
||||
-v "/tmp/ocis-realm.json:/opt/keycloak/data/import/oCIS-realm.json:ro" \
|
||||
quay.io/keycloak/keycloak:26.2.5 \
|
||||
start-dev --proxy-headers xforwarded \
|
||||
--spi-connections-http-client-default-disable-trust-manager=true \
|
||||
--import-realm --health-enabled=true
|
||||
timeout 300 bash -c 'until curl -skf https://localhost:9000/health/ready; do sleep 3; done' \
|
||||
|| (echo "=== keycloak logs ===" && docker logs keycloak --tail 80 && exit 1)
|
||||
echo "keycloak ready."
|
||||
|
||||
- name: Run e2e-${{ matrix.suite }}
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
E2E_ARGS="${{ matrix.args }}" python3 tests/acceptance/run-e2e.py
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
env:
|
||||
TIKA_NEEDED: ${{ matrix.tika == true && 'true' || 'false' }}
|
||||
KEYCLOAK_NEEDED: ${{ matrix.keycloak == true && 'true' || 'false' }}
|
||||
|
||||
litmus:
|
||||
name: litmus
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
- name: Run litmus
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
python3 tests/acceptance/run-litmus.py
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
|
||||
cs3api:
|
||||
name: cs3api
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
- name: Run cs3api validator
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
python3 tests/acceptance/run-cs3api.py
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
|
||||
wopi-builtin:
|
||||
name: wopi-builtin
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
- name: Run WOPI validator (builtin)
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
python3 tests/acceptance/run-wopi.py --type builtin
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
|
||||
wopi-cs3:
|
||||
name: wopi-cs3
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
- name: Run WOPI validator (cs3)
|
||||
run: |
|
||||
vmstat 2 > /tmp/vmstat.log & MONITOR_PID=$!
|
||||
python3 tests/acceptance/run-wopi.py --type cs3
|
||||
EXIT=$?
|
||||
kill $MONITOR_PID 2>/dev/null; wait $MONITOR_PID 2>/dev/null || true
|
||||
awk '/^[ ]*[0-9]/ { busy=100-$15; sum_b+=busy; if(busy>pk_b)pk_b=busy;
|
||||
sum_r+=$1; if($1>pk_r) pk_r=$1; sum_wa+=$16; n++ }
|
||||
END { printf "=== load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat.log
|
||||
exit $EXIT
|
||||
|
||||
all-acceptance-tests:
|
||||
needs: [local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
steps:
|
||||
- name: Check all jobs passed
|
||||
run: |
|
||||
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
name: Remove Stale Branches
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: fpicalausa/remove-stale-branches@v1.6.0
|
||||
- uses: fpicalausa/remove-stale-branches@v2.4.0
|
||||
with:
|
||||
ignore-unknown-authors: true
|
||||
default-recipient: "kobergj"
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
name: Translation Sync
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
uses: owncloud/reusable-workflows/.github/workflows/translation-sync.yml@main
|
||||
with:
|
||||
mode: make
|
||||
sub_path: .
|
||||
secrets:
|
||||
TX_TOKEN: ${{ secrets.TX_TOKEN }}
|
||||
TRANSLATION_APP_ID: ${{ secrets.TRANSLATION_APP_ID }}
|
||||
TRANSLATION_APP_PRIVATE_KEY: ${{ secrets.TRANSLATION_APP_PRIVATE_KEY }}
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
container: golang:1.25-alpine
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Run CI Reporter
|
||||
working-directory: tools/ci-reporter
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# The following grep will filter out every line containing an `env` annotation.
|
||||
# It will ignore every line that already has a valid `introductionVersion` annotation.
|
||||
# the following grep will filter out every line containing an `env` annotation
|
||||
# and prints all entries found that are invalid. this is required to see where CI might fail
|
||||
|
||||
RED=$(echo -e "\033[0;31m")
|
||||
GREEN=$(echo -e "\033[0;32m")
|
||||
@@ -14,48 +14,64 @@ print_introduction_version_examples() {
|
||||
${GREEN}Valid examples:${NORM}
|
||||
|
||||
introductionVersion:"pre5.0"
|
||||
introductionVersion:"5.0"
|
||||
introductionVersion:"5.0" deprecationVersion:"7.0.0"
|
||||
introductionVersion:"4.9.3-rc5"
|
||||
introductionVersion:"5.0.1-cheesecake"
|
||||
introductionVersion:"5.10.100.15"
|
||||
introductionVersion:"0.0"
|
||||
introductionVersion:"releaseX" # acceptable alphabetical version
|
||||
introductionVersion:"Addams" # another alphabetical example such as a release name
|
||||
introductionVersion:"release" deprecationVersion:"7.0.0"
|
||||
introductionVersion:"releaseX" deprecationVersion:"7.0.0"
|
||||
introductionVersion:"Addams" deprecationVersion:"7.0.0"
|
||||
|
||||
${RED}Invalid examples:${NORM}
|
||||
|
||||
introductionVersion:"5.0cheesecake"
|
||||
introductionVersion:"5"
|
||||
introductionVersion:"5blueberry"
|
||||
introductionVersion:""
|
||||
introductionVersion:" "
|
||||
introductionVersion:"-"
|
||||
introductionVersion:"--"
|
||||
introductionVersion:"51.0cheesecake" deprecationVersion:"7.0.0"
|
||||
introductionVersion:"50..0.1-cheesecake"
|
||||
introductionVersion:"15"
|
||||
introductionVersion:"54blueberry"
|
||||
introductionVersion:"5-lasagna"
|
||||
introductionVersion:"4.9.3rc5"
|
||||
introductionVersion:"5.lasagna-rc1"
|
||||
introductionVersion:"4.9.3rc-5" deprecationVersion:"7.0.0"
|
||||
introductionVersion:"5B-rc1" deprecationVersion:"7.0.0"
|
||||
|
||||
See the dev docs for more details: https://owncloud.dev/services/general-info/envvars/envvar-naming-scopes/
|
||||
See the envvar life cycle in the dev docs for more details:
|
||||
https://owncloud.dev/services/general-info/envvars/envvar-naming-scopes/
|
||||
EOL
|
||||
}
|
||||
|
||||
ERROR=0
|
||||
|
||||
SEMVER_REGEX="([0-9]|[1-9][0-9]*)(\.([0-9]|[1-9][0-9]*)){1,2}(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?"
|
||||
ALPHA_REGEX="[A-Za-z]+[A-Za-z0-9-]*"
|
||||
# note that our semver is not fully compliant because we do not have a patch version for new envvars
|
||||
# if you want to test, use the examples above and take the blocks separated by `|` (or)
|
||||
SEMVER_REGEX='(?:introductionVersion:\")(?:(?:[^\dA-Za-z]*?)\"|(?:\d+[A-z]+).*?\"|(?:\d*?\")|(?:\d*?[-\.]+\D.*?\")|(?:\d*?[\.]{2,}.*?\")|(?:\d+\.\d+[A-z]+\")|(?:(?:\d+\.)+\d+[A-z]+.*?\"))'
|
||||
|
||||
QI=$(git grep -n "env:" -- '*.go' |grep -v -P "introductionVersion:\"($SEMVER_REGEX|(pre5\\.0)|($ALPHA_REGEX))\""|grep -v "_test.go"|grep -v "vendor/")
|
||||
# filter out the the following paths
|
||||
EXCLUDE_PATHS='_test.go|vendor/'
|
||||
|
||||
# query the code
|
||||
QI=$(git grep -n "env:" -- '*.go' | grep -v -E "${EXCLUDE_PATHS}" | grep --color=always -P "${SEMVER_REGEX}")
|
||||
|
||||
# count the results found
|
||||
RESULTS_INTRO=$(echo "${QI}"|wc -l)
|
||||
|
||||
# add a new line after each hit, eol identified via "´ which only appears at the end of each envvar string definition
|
||||
QUERY_INTRO=$(echo "${QI}" | sed "s#\"\`#\"\`\n#g")
|
||||
|
||||
RESULTS_INTRO=$(echo "${QUERY_INTRO}"|wc -l)
|
||||
|
||||
echo "Checking introductionVersion annotations"
|
||||
|
||||
if [ "${QUERY_INTRO}" != "" ] && [ "${RESULTS_INTRO}" -gt 0 ]; then
|
||||
echo
|
||||
echo "==============================================================================================="
|
||||
echo ${RED}"The following ${RESULTS_INTRO} items contain invalid or missing introductionVersion annotation(s):"${NORM}
|
||||
echo ${RED}"The following item(s) contain invalid or missing introductionVersion annotation(s):"${NORM}
|
||||
echo "==============================================================================================="
|
||||
echo
|
||||
echo "$QUERY_INTRO"
|
||||
echo
|
||||
echo ${GREEN}"${RESULTS_INTRO} items found"${NORM}
|
||||
echo
|
||||
print_introduction_version_examples
|
||||
echo
|
||||
ERROR=1
|
||||
@@ -64,11 +80,13 @@ else
|
||||
echo
|
||||
fi
|
||||
|
||||
# The following grep will filter out every line containing an `env` annotation
|
||||
# it will ignore every line that has allready a valid `desc` annotation
|
||||
# the following grep will filter out every line containing an `env` annotation and
|
||||
# will print each line that has an invalid `desc` annotation.
|
||||
|
||||
QUERY_DESC=$(git grep -n "env:" -- '*.go' |grep -v -P "desc:\".{10,}\""|grep -v "_test.go"|grep -v "vendor/")
|
||||
# query the code
|
||||
QUERY_DESC=$(git grep -n "env:" -- '*.go' | grep -v -E "${EXCLUDE_PATHS}" | grep -v --color=always -P "desc:\".{10,}\"")
|
||||
|
||||
# count the results found
|
||||
RESULTS_DESC=$(echo "${QUERY_DESC}"|wc -l)
|
||||
|
||||
echo "Checking description annotations"
|
||||
@@ -76,9 +94,11 @@ echo "Checking description annotations"
|
||||
if [ "${QUERY_DESC}" != "" ] && [ "${RESULTS_DESC}" -gt 0 ]; then
|
||||
echo
|
||||
echo "==============================================================================================="
|
||||
echo ${RED}"The following ${RESULTS_DESC} items contain invalid or missing description annotation:"${NORM}
|
||||
echo ${RED}"The following item(s) contain invalid or missing description annotation:"${NORM}
|
||||
echo "==============================================================================================="
|
||||
echo "$QUERY_DESC"
|
||||
echo
|
||||
echo ${GREEN}"${RESULTS_DESC} items found"${NORM}
|
||||
ERROR=1
|
||||
else
|
||||
echo "All description annotations are valid"
|
||||
|
||||
@@ -333,7 +333,7 @@ changelog-csv: $(CALENS)
|
||||
|
||||
.PHONY: govulncheck
|
||||
govulncheck: $(GOVULNCHECK)
|
||||
$(GOVULNCHECK) ./...
|
||||
scripts/govulncheck-wrapper.sh $(GOVULNCHECK)
|
||||
|
||||
.PHONY: l10n-push
|
||||
l10n-push:
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
Bugfix: Avoid superfluous GetPublicShare call when deleting space permissions
|
||||
|
||||
We fixed `DeletePermission` to recognise space permission IDs (prefixed with
|
||||
`u:` or `g:`) by their format before making any gateway calls. Previously,
|
||||
deleting a space member always triggered a `GetPublicShare` lookup that was
|
||||
guaranteed to fail, producing a confusing error log.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12122
|
||||
https://github.com/owncloud/ocis/issues/12012
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
#!/bin/bash
|
||||
|
||||
# this script can run from everywhere in the ocis repo because it uses git grep
|
||||
|
||||
# The following grep will filter out every line containing an `env` annotation AND
|
||||
# containing a non semver `introductionVersion` annotation that is used as placeholder.
|
||||
# note that invalid `introductionVersion` annotations are already covered via:
|
||||
# /.make/check-env-var-annotations.sh as part of the CI
|
||||
|
||||
RED=$(echo -e "\033[0;31m")
|
||||
GREEN=$(echo -e "\033[0;32m")
|
||||
NORM=$(echo -e "\033[0m")
|
||||
|
||||
|
||||
# build the correct regex
|
||||
IV_REGEX='(?:introductionVersion:\")(?!pre5\.0)(?:[^\d].*?\")'
|
||||
IV_NAME=introductionVersion
|
||||
|
||||
RV_REGEX='(?:removalVersion:\")(?!pre5\.0)(?:[^\d].*?\")'
|
||||
RV_NAME=removalVersion
|
||||
|
||||
EXCLUDE_PATHS='_test.go|vendor/'
|
||||
|
||||
# create a here doc function to be printed when the option is selected
|
||||
# note that tabs are used intentionally. they are removed by cat but are required to make the code readable.
|
||||
print_version_examples() {
|
||||
cat <<-EOL
|
||||
${GREEN}Valid $1 examples:${NORM}
|
||||
|
||||
$1:"releaseX" # acceptable alphabetical version
|
||||
$1:"Addams" # another alphabetical example such as a release name
|
||||
$1:"Addams.8" # another alphabetical example such as a release name plus a version
|
||||
$1:"%%NEXT%%" # a dummy placeholder as release name
|
||||
|
||||
See the dev docs for more details: https://owncloud.dev/services/general-info/envvars/envvar-naming-scopes/
|
||||
EOL
|
||||
}
|
||||
|
||||
# ask what the script should search for
|
||||
echo "Select one of the following keys to search for:"
|
||||
echo
|
||||
echo " 1) introductionVersion"
|
||||
echo " 2) removalVersion"
|
||||
echo " 3) Print valid matching search pattern examples"
|
||||
echo
|
||||
read -s -n 1 n
|
||||
case $n in
|
||||
1) USEREGEX="${IV_REGEX}"
|
||||
NAME="${IV_NAME}"
|
||||
;;
|
||||
2) USEREGEX="${RV_REGEX}"
|
||||
NAME="${RV_NAME}"
|
||||
;;
|
||||
3) echo
|
||||
print_version_examples "${IV_NAME}"
|
||||
echo
|
||||
print_version_examples "${RV_NAME}"
|
||||
echo
|
||||
exit
|
||||
;;
|
||||
*) echo "Invalid option"
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
|
||||
# query the code
|
||||
QS=$(git grep -n "env:" -- '*.go' | grep -v -E "${EXCLUDE_PATHS}" | grep --color=always -P "${USEREGEX}")
|
||||
|
||||
# count the results found
|
||||
RESULTS_COUNT=$(echo "${QS}"|wc -l)
|
||||
|
||||
# add a new line after each hit, eol identified via "´ which only appears at the end of each envvar string definition
|
||||
QUERY_RESULT=$(echo "${QS}" | sed "s#\"\`#\"\`\n#g")
|
||||
|
||||
echo "Checking ${NAME} annotations"
|
||||
|
||||
if [ "${QUERY_RESULT}" != "" ] && [ "${RESULTS_COUNT}" -gt 0 ]; then
|
||||
echo
|
||||
echo "==============================================================================================="
|
||||
echo ${GREEN}"The following items contain placeholder ${NAME} annotation(s):"${NORM}
|
||||
echo "==============================================================================================="
|
||||
echo
|
||||
echo "$QUERY_RESULT"
|
||||
echo
|
||||
echo ${GREEN}"${RESULTS_COUNT} items found"${NORM}
|
||||
echo
|
||||
else
|
||||
echo ${GREEN}"No matching placeholders for ${NAME} annotations found."${NORM}
|
||||
echo
|
||||
fi
|
||||
@@ -549,7 +549,7 @@ From the `Run and Debug` panel of VSCode, select `Fed oCIS Server` and start the
|
||||
source tests/config/local/.env-federation && ocis/bin/ocis init
|
||||
|
||||
# run oCIS
|
||||
ocis/bin/ocis server
|
||||
source tests/config/local/.env-federation && ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The second oCIS instance should be available at: <https://localhost:10200/>
|
||||
@@ -567,7 +567,7 @@ Run the acceptance test with the following command:
|
||||
```bash
|
||||
TEST_SERVER_URL="https://localhost:9200" \
|
||||
TEST_SERVER_FED_URL="https://localhost:10200" \
|
||||
BEHAT_FEATURE="tests/acceptance/features/apiOcm/ocm.feature" \
|
||||
BEHAT_SUITE=apiOcm \
|
||||
make test-acceptance-api
|
||||
```
|
||||
|
||||
|
||||
@@ -52,24 +52,25 @@ The envvar struct tag contains at maximum the following key/value pairs to docum
|
||||
|
||||
### Introduce new Envvars
|
||||
|
||||
If a new envvar is introduced, the complete struct needs to be added, but only the `introductionVersion` requires data.
|
||||
* If a **new** envvar is introduced, the entire structure must be added, including the `introductionVersion` field. Note that 'introduced' means, that the new envvar was not present in any of the services.
|
||||
|
||||
{{< hint info >}}
|
||||
* During development, set `introductionVersion` to a short, **alphabetic code name** that represents the upcoming release (e.g. `releaseX`).
|
||||
* This identifier stays constant until the release receives its final production semantic-version number.
|
||||
{{< /hint >}}
|
||||
{{< hint info >}}
|
||||
* During development, set the `introductionVersion` to a short, **alphabetic code name** that represents the upcoming release such as `releaseX` or the project name for that release such as `Daledda`.
|
||||
* This identifier stays constant until the release receives its final production semantic-version number.
|
||||
* Although the pipeline checks the semver string when a PR is created, you can perform this check upfront manually by entering the following command from the ocis root:
|
||||
|
||||
The docs helper scripts render these alphabetic identifiers verbatim. They appear in the next (master) branch of the admin docs as rendered here.
|
||||
```bash
|
||||
.make/check-env-var-annotations.sh
|
||||
```
|
||||
{{< /hint >}}
|
||||
|
||||
Once the release is cut, before tagging, replace them with the actual semantic version (e.g. `releaseX` → `7.2.0`).
|
||||
The doc helper scripts render these alphabetic identifiers verbatim. They appear in the next (master) branch of the admin documentation exactly as they are entered.
|
||||
|
||||
{{< hint info >}}
|
||||
A new production version **MUST NOT** contain any alphabetic identifyers but the semantic version only.
|
||||
{{< /hint >}}
|
||||
* See the [Set the Correct IntroductionVersion]({{< ref "./new-release-process/" >}}) documentation before starting a new release candidate.
|
||||
|
||||
### Adding Envvars to Existing Ones
|
||||
|
||||
If an envvar has been introduced with a particular version, the `introductionVersion` gets a value accordingly. If an additional envvar like a global one is added to this existing envvar later on, the introduction version will *not* be changed.
|
||||
If an envvar has been introduced with a particular release, the `introductionVersion` got a semver value accordingly. If an additional envvar is added to this existing one such as a global envvar, the introduction version **must not** be changed.
|
||||
|
||||
### Deprecate Existing Envvars
|
||||
|
||||
|
||||
@@ -23,13 +23,26 @@ Ask the developers if envvars of this type have been changed (added or removed).
|
||||
* From the ocis root run:\
|
||||
`sudo make docs-clean`\
|
||||
`make docs-generate`\
|
||||
Drop any changes in `env_vars.yaml`!
|
||||
Discard any changes in `env_vars.yaml`!
|
||||
* Check if there is a change in the `extended-envars.yaml` output.\
|
||||
If so, process [Extended Envvars - Fixing Changed Item]({{< ref "./special-envvars.md#fixing-changed-items" >}}).
|
||||
If so, process [Extended Envvars - Fixing Changed Items]({{< ref "./special-envvars.md#fixing-changed-items" >}}).
|
||||
* When done, re-run `make docs-generate` and check if the output matches the expectations in `./docs/services/_includes/adoc/extended_configvars.adoc`.
|
||||
|
||||
## Ordinary Envvars
|
||||
|
||||
### Set the Correct IntroductionVersion
|
||||
|
||||
* Once the release is cut, **before** creating the first release candidate, replace them with the actual semantic version (e.g. `releaseX` → `8.1.0`). To find these placeholders in `introductionVersion` keys, you can run a helper script by issuing the following command:
|
||||
```bash
|
||||
docs/ocis/helpers/identify_envvar_placeholder_names.sh
|
||||
```
|
||||
|
||||
{{< hint info >}}
|
||||
A new production version **MUST NOT** contain any alphabetic identifyers but the semantic version only, using **major, minor and a patch version, which is always 0!**.
|
||||
{{< /hint >}}
|
||||
|
||||
* Create a PR and merge it **before** taking the next step maintaining the `env_vars.yaml` file! Do not forget to rebase your local git repo.
|
||||
|
||||
### Maintain the 'env_vars.yaml' File
|
||||
|
||||
This is **mandatory for a new release** !
|
||||
@@ -38,17 +51,13 @@ This is **mandatory for a new release** !
|
||||
`sudo make docs-clean`\
|
||||
`make docs-generate`\
|
||||
Any changes in `env_vars.yaml` are now considered.
|
||||
* This file will most likely show changes and merging them is **essential** as base for **added/removed or deprecated envvars**. Note that this file will get additions/updates only, but items never get deleted automatically !!\
|
||||
* This file will most likely show changes and merging them is **essential** as base for **added/removed or deprecated envvars** (envvar deltas). Note that this file will get additions/updates only, but items never get deleted automatically !!\
|
||||
{{< hint info >}}
|
||||
Note that due to how the code is currently designed, **things may get shifted** around though no real changes have been introduced.
|
||||
{{< /hint >}}
|
||||
* First, check if any **alphabetic code names** are present in the changes. See [Introduce new Envvars]({{< ref "./envvar-naming-scopes.md/#introduce-new-envvars" >}}).
|
||||
* If so, create a new branch and replace them in the **service containing the source** with the actual semantic version (e.g. `releaseX` → `7.2.0`) first. Note that ALL of major, minor and patch numbers must be present, including patch versions == `0`.
|
||||
* If all changes are applied, rerun `make docs-generate` and check if all changes are incorporated in the yaml file.
|
||||
* Create a PR and merge these changes, dont forget to do a local pull of master afterwards...
|
||||
* With a new branch, remove all envvars from the `env_vars.yaml` file manually that have formerly been deprecated and removed from the code.
|
||||
* With a new branch, remove all envvars from the `env_vars.yaml` file manually that have formerly been deprecated **and removed** from the code.
|
||||
* Commit the changes and merge it.\
|
||||
Now `env_vars.yaml` is up to date on the repo in master, next steps are based on this state!
|
||||
Now, `env_vars.yaml` is up to date in the repo in master. Next steps depend on this updated file!
|
||||
|
||||
### Create Envvar Delta Files
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/owncloud/ocis/v2
|
||||
|
||||
go 1.25.7
|
||||
go 1.25.9
|
||||
|
||||
require (
|
||||
dario.cat/mergo v1.0.2
|
||||
@@ -55,8 +55,8 @@ require (
|
||||
github.com/mitchellh/mapstructure v1.5.0
|
||||
github.com/mna/pigeon v1.3.0
|
||||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
|
||||
github.com/nats-io/nats-server/v2 v2.12.4
|
||||
github.com/nats-io/nats.go v1.48.0
|
||||
github.com/nats-io/nats-server/v2 v2.12.6
|
||||
github.com/nats-io/nats.go v1.49.0
|
||||
github.com/olekukonko/tablewriter v1.1.0
|
||||
github.com/onsi/ginkgo v1.16.5
|
||||
github.com/onsi/ginkgo/v2 v2.28.1
|
||||
@@ -89,21 +89,21 @@ require (
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.65.0
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0
|
||||
go.opentelemetry.io/contrib/zpages v0.64.0
|
||||
go.opentelemetry.io/otel v1.40.0
|
||||
go.opentelemetry.io/otel v1.43.0
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0
|
||||
go.opentelemetry.io/otel/sdk v1.40.0
|
||||
go.opentelemetry.io/otel/trace v1.40.0
|
||||
golang.org/x/crypto v0.48.0
|
||||
go.opentelemetry.io/otel/sdk v1.43.0
|
||||
go.opentelemetry.io/otel/trace v1.43.0
|
||||
golang.org/x/crypto v0.49.0
|
||||
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
|
||||
golang.org/x/image v0.36.0
|
||||
golang.org/x/net v0.49.0
|
||||
golang.org/x/image v0.38.0
|
||||
golang.org/x/net v0.51.0
|
||||
golang.org/x/oauth2 v0.35.0
|
||||
golang.org/x/sync v0.19.0
|
||||
golang.org/x/term v0.40.0
|
||||
golang.org/x/text v0.34.0
|
||||
golang.org/x/sync v0.20.0
|
||||
golang.org/x/term v0.41.0
|
||||
golang.org/x/text v0.35.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409
|
||||
google.golang.org/grpc v1.79.1
|
||||
google.golang.org/grpc v1.79.3
|
||||
google.golang.org/protobuf v1.36.11
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
gotest.tools/v3 v3.5.2
|
||||
@@ -125,7 +125,7 @@ require (
|
||||
github.com/ajg/form v1.5.1 // indirect
|
||||
github.com/alexedwards/argon2id v1.0.0 // indirect
|
||||
github.com/amoghe/go-crypt v0.0.0-20220222110647-20eada5f5964 // indirect
|
||||
github.com/antithesishq/antithesis-sdk-go v0.5.0-default-no-op // indirect
|
||||
github.com/antithesishq/antithesis-sdk-go v0.6.0-default-no-op // indirect
|
||||
github.com/armon/go-radix v1.0.0 // indirect
|
||||
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
||||
github.com/aws/aws-sdk-go v1.55.8 // indirect
|
||||
@@ -155,7 +155,7 @@ require (
|
||||
github.com/ceph/go-ceph v0.38.0 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||
github.com/cevaris/ordered_map v0.0.0-20190319150403-3adeae072e73 // indirect
|
||||
github.com/cloudflare/circl v1.6.1 // indirect
|
||||
github.com/cloudflare/circl v1.6.3 // indirect
|
||||
github.com/coreos/go-semver v0.3.1 // indirect
|
||||
github.com/coreos/go-systemd/v22 v22.6.0 // indirect
|
||||
github.com/cornelk/hashmap v1.0.8 // indirect
|
||||
@@ -183,11 +183,11 @@ require (
|
||||
github.com/go-acme/lego/v4 v4.25.2 // 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.6.2 // indirect
|
||||
github.com/go-git/go-git/v5 v5.16.5 // indirect
|
||||
github.com/go-git/go-billy/v5 v5.8.0 // indirect
|
||||
github.com/go-git/go-git/v5 v5.17.1 // indirect
|
||||
github.com/go-ini/ini v1.67.0 // indirect
|
||||
github.com/go-jose/go-jose/v3 v3.0.4 // indirect
|
||||
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
|
||||
github.com/go-jose/go-jose/v3 v3.0.5 // indirect
|
||||
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|
||||
github.com/go-kit/log v0.2.1 // indirect
|
||||
github.com/go-logfmt/logfmt v0.5.1 // indirect
|
||||
github.com/go-logr/logr v1.4.3 // indirect
|
||||
@@ -237,7 +237,7 @@ require (
|
||||
github.com/json-iterator/go v1.1.12 // 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.3 // indirect
|
||||
github.com/klauspost/compress v1.18.4 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.2.11 // indirect
|
||||
github.com/klauspost/crc32 v1.3.0 // indirect
|
||||
github.com/kovidgoyal/go-parallel v1.1.1 // indirect
|
||||
@@ -273,8 +273,8 @@ require (
|
||||
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
|
||||
github.com/mschoch/smat v0.2.0 // indirect
|
||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
||||
github.com/nats-io/jwt/v2 v2.8.0 // indirect
|
||||
github.com/nats-io/nkeys v0.4.12 // indirect
|
||||
github.com/nats-io/jwt/v2 v2.8.1 // indirect
|
||||
github.com/nats-io/nkeys v0.4.15 // indirect
|
||||
github.com/nats-io/nuid v1.0.1 // indirect
|
||||
github.com/nxadm/tail v1.4.8 // indirect
|
||||
github.com/oklog/run v1.2.0 // indirect
|
||||
@@ -298,7 +298,7 @@ require (
|
||||
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
|
||||
github.com/rivo/uniseg v0.4.7 // indirect
|
||||
github.com/rs/xid v1.6.0 // indirect
|
||||
github.com/russellhaering/goxmldsig v1.5.0 // indirect
|
||||
github.com/russellhaering/goxmldsig v1.6.0 // indirect
|
||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd // indirect
|
||||
github.com/segmentio/asm v1.2.1 // indirect
|
||||
@@ -334,16 +334,16 @@ require (
|
||||
go.opencensus.io v0.24.0 // indirect
|
||||
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.40.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.43.0 // indirect
|
||||
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
|
||||
go.uber.org/multierr v1.11.0 // indirect
|
||||
go.uber.org/zap v1.27.0 // indirect
|
||||
go.yaml.in/yaml/v2 v2.4.3 // indirect
|
||||
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
||||
golang.org/x/mod v0.32.0 // indirect
|
||||
golang.org/x/sys v0.41.0 // indirect
|
||||
golang.org/x/time v0.14.0 // indirect
|
||||
golang.org/x/tools v0.41.0 // indirect
|
||||
golang.org/x/mod v0.33.0 // indirect
|
||||
golang.org/x/sys v0.42.0 // indirect
|
||||
golang.org/x/time v0.15.0 // indirect
|
||||
golang.org/x/tools v0.42.0 // indirect
|
||||
google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect
|
||||
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
|
||||
|
||||
@@ -92,8 +92,8 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNg
|
||||
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
|
||||
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
|
||||
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
|
||||
github.com/antithesishq/antithesis-sdk-go v0.5.0-default-no-op h1:Ucf+QxEKMbPogRO5guBNe5cgd9uZgfoJLOYs8WWhtjM=
|
||||
github.com/antithesishq/antithesis-sdk-go v0.5.0-default-no-op/go.mod h1:IUpT2DPAKh6i/YhSbt6Gl3v2yvUZjmKncl7U91fup7E=
|
||||
github.com/antithesishq/antithesis-sdk-go v0.6.0-default-no-op h1:kpBdlEPbRvff0mDD1gk7o9BhI16b9p5yYAXRlidpqJE=
|
||||
github.com/antithesishq/antithesis-sdk-go v0.6.0-default-no-op/go.mod h1:IUpT2DPAKh6i/YhSbt6Gl3v2yvUZjmKncl7U91fup7E=
|
||||
github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q=
|
||||
github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE=
|
||||
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
|
||||
@@ -182,8 +182,8 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR
|
||||
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
|
||||
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
|
||||
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
|
||||
github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0=
|
||||
github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
|
||||
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.17.0 h1:hWBGaQfbi0iVviX4ibC7bk8OKT5qNr4klBaCHVNvehc=
|
||||
github.com/coreos/go-oidc/v3 v3.17.0/go.mod h1:wqPbKFrVnE90vty060SB40FCJ8fTHTxSwyXJqZH+sI8=
|
||||
@@ -292,22 +292,22 @@ github.com/go-chi/render v1.0.3 h1:AsXqd2a1/INaIfUSKq3G5uA8weYx20FOsM7uSoCyyt4=
|
||||
github.com/go-chi/render v1.0.3/go.mod h1:/gr3hVkmYR0YlEy3LxCuVRFzEu9Ruok+gFqbIofjao0=
|
||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
|
||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic=
|
||||
github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UNbRM=
|
||||
github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU=
|
||||
github.com/go-git/go-billy/v5 v5.8.0 h1:I8hjc3LbBlXTtVuFNJuwYuMiHvQJDq1AT6u4DwDzZG0=
|
||||
github.com/go-git/go-billy/v5 v5.8.0/go.mod h1:RpvI/rw4Vr5QA+Z60c6d6LXH0rYJo0uD5SqfmrrheCY=
|
||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
|
||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
|
||||
github.com/go-git/go-git/v5 v5.16.5 h1:mdkuqblwr57kVfXri5TTH+nMFLNUxIj9Z7F5ykFbw5s=
|
||||
github.com/go-git/go-git/v5 v5.16.5/go.mod h1:QOMLpNf1qxuSY4StA/ArOdfFR2TrKEjJiye2kel2m+M=
|
||||
github.com/go-git/go-git/v5 v5.17.1 h1:WnljyxIzSj9BRRUlnmAU35ohDsjRK0EKmL0evDqi5Jk=
|
||||
github.com/go-git/go-git/v5 v5.17.1/go.mod h1:pW/VmeqkanRFqR6AljLcs7EA7FbZaN5MQqO7oZADXpo=
|
||||
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
github.com/go-ini/ini v1.67.0 h1:z6ZrTEZqSWOTyH2FlglNbNgARyHG8oLW9gMELqKr06A=
|
||||
github.com/go-ini/ini v1.67.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
|
||||
github.com/go-jose/go-jose/v3 v3.0.3/go.mod h1:5b+7YgP7ZICgJDBdfjZaIt+H/9L9T/YQrVfLAMboGkQ=
|
||||
github.com/go-jose/go-jose/v3 v3.0.4 h1:Wp5HA7bLQcKnf6YYao/4kpRpVMp/yf6+pJKV8WFSaNY=
|
||||
github.com/go-jose/go-jose/v3 v3.0.4/go.mod h1:5b+7YgP7ZICgJDBdfjZaIt+H/9L9T/YQrVfLAMboGkQ=
|
||||
github.com/go-jose/go-jose/v4 v4.1.3 h1:CVLmWDhDVRa6Mi/IgCgaopNosCaHz7zrMeF9MlZRkrs=
|
||||
github.com/go-jose/go-jose/v4 v4.1.3/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
|
||||
github.com/go-jose/go-jose/v3 v3.0.5 h1:BLLJWbC4nMZOfuPVxoZIxeYsn6Nl2r1fITaJ78UQlVQ=
|
||||
github.com/go-jose/go-jose/v3 v3.0.5/go.mod h1:5b+7YgP7ZICgJDBdfjZaIt+H/9L9T/YQrVfLAMboGkQ=
|
||||
github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA=
|
||||
github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
|
||||
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
|
||||
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
|
||||
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
|
||||
@@ -575,8 +575,8 @@ github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4
|
||||
github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
|
||||
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
|
||||
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
||||
github.com/klauspost/compress v1.18.3 h1:9PJRvfbmTabkOX8moIpXPbMMbYN60bWImDDU7L+/6zw=
|
||||
github.com/klauspost/compress v1.18.3/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4=
|
||||
github.com/klauspost/compress v1.18.4 h1:RPhnKRAQ4Fh8zU2FY/6ZFDwTVTxgJ/EMydqSTzE9a2c=
|
||||
github.com/klauspost/compress v1.18.4/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4=
|
||||
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||
github.com/klauspost/cpuid/v2 v2.2.11 h1:0OwqZRYI2rFrjS4kvkDnqJkKHdHaRnCm68/DY4OxRzU=
|
||||
github.com/klauspost/cpuid/v2 v2.2.11/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
|
||||
@@ -701,14 +701,14 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
|
||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
|
||||
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
|
||||
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
|
||||
github.com/nats-io/jwt/v2 v2.8.0 h1:K7uzyz50+yGZDO5o772eRE7atlcSEENpL7P+b74JV1g=
|
||||
github.com/nats-io/jwt/v2 v2.8.0/go.mod h1:me11pOkwObtcBNR8AiMrUbtVOUGkqYjMQZ6jnSdVUIA=
|
||||
github.com/nats-io/nats-server/v2 v2.12.4 h1:ZnT10v2LU2Xcoiy8ek9X6Se4YG8EuMfIfvAEuFVx1Ts=
|
||||
github.com/nats-io/nats-server/v2 v2.12.4/go.mod h1:5MCp/pqm5SEfsvVZ31ll1088ZTwEUdvRX1Hmh/mTTDg=
|
||||
github.com/nats-io/nats.go v1.48.0 h1:pSFyXApG+yWU/TgbKCjmm5K4wrHu86231/w84qRVR+U=
|
||||
github.com/nats-io/nats.go v1.48.0/go.mod h1:iRWIPokVIFbVijxuMQq4y9ttaBTMe0SFdlZfMDd+33g=
|
||||
github.com/nats-io/nkeys v0.4.12 h1:nssm7JKOG9/x4J8II47VWCL1Ds29avyiQDRn0ckMvDc=
|
||||
github.com/nats-io/nkeys v0.4.12/go.mod h1:MT59A1HYcjIcyQDJStTfaOY6vhy9XTUjOFo+SVsvpBg=
|
||||
github.com/nats-io/jwt/v2 v2.8.1 h1:V0xpGuD/N8Mi+fQNDynXohVvp7ZztevW5io8CUWlPmU=
|
||||
github.com/nats-io/jwt/v2 v2.8.1/go.mod h1:nWnOEEiVMiKHQpnAy4eXlizVEtSfzacZ1Q43LIRavZg=
|
||||
github.com/nats-io/nats-server/v2 v2.12.6 h1:Egbx9Vl7Ch8wTtpXPGqbehkZ+IncKqShUxvrt1+Enc8=
|
||||
github.com/nats-io/nats-server/v2 v2.12.6/go.mod h1:4HPlrvtmSO3yd7KcElDNMx9kv5EBJBnJJzQPptXlheo=
|
||||
github.com/nats-io/nats.go v1.49.0 h1:yh/WvY59gXqYpgl33ZI+XoVPKyut/IcEaqtsiuTJpoE=
|
||||
github.com/nats-io/nats.go v1.49.0/go.mod h1:fDCn3mN5cY8HooHwE2ukiLb4p4G4ImmzvXyJt+tGwdw=
|
||||
github.com/nats-io/nkeys v0.4.15 h1:JACV5jRVO9V856KOapQ7x+EY8Jo3qw1vJt/9Jpwzkk4=
|
||||
github.com/nats-io/nkeys v0.4.15/go.mod h1:CpMchTXC9fxA5zrMo4KpySxNjiDVvr8ANOSZdiNfUrs=
|
||||
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
|
||||
github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
|
||||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
|
||||
@@ -827,8 +827,8 @@ github.com/rs/xid v1.6.0 h1:fV591PaemRlL6JfRxGDEPl69wICngIQ3shQtzfy2gxU=
|
||||
github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0=
|
||||
github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY=
|
||||
github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ=
|
||||
github.com/russellhaering/goxmldsig v1.5.0 h1:AU2UkkYIUOTyZRbe08XMThaOCelArgvNfYapcmSjBNw=
|
||||
github.com/russellhaering/goxmldsig v1.5.0/go.mod h1:x98CjQNFJcWfMxeOrMnMKg70lvDP6tE0nTaeUnjXDmk=
|
||||
github.com/russellhaering/goxmldsig v1.6.0 h1:8fdWXEPh2k/NZNQBPFNoVfS3JmzS4ZprY/sAOpKQLks=
|
||||
github.com/russellhaering/goxmldsig v1.6.0/go.mod h1:TrnaquDcYxWXfJrOjeMBTX4mLBeYAqaHEyUeWPxZlBM=
|
||||
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
|
||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd h1:CmH9+J6ZSsIjUK3dcGsnCnO41eRBOnY12zwkn5qVwgc=
|
||||
@@ -975,8 +975,8 @@ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 h1:ssfIgGN
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0/go.mod h1:GQ/474YrbE4Jx8gZ4q5I4hrhUzM6UPzyrqJYV2AqPoQ=
|
||||
go.opentelemetry.io/contrib/zpages v0.64.0 h1:iMybqKVR8AHHxFX4DuEWJ9dY75+9E7+IPwUK3Ll7NxM=
|
||||
go.opentelemetry.io/contrib/zpages v0.64.0/go.mod h1:DnkiyoQ7Yx/NmmKn10b6M2YBXreUqq0qhFa/kYgSZME=
|
||||
go.opentelemetry.io/otel v1.40.0 h1:oA5YeOcpRTXq6NN7frwmwFR0Cn3RhTVZvXsP4duvCms=
|
||||
go.opentelemetry.io/otel v1.40.0/go.mod h1:IMb+uXZUKkMXdPddhwAHm6UfOwJyh4ct1ybIlV14J0g=
|
||||
go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I=
|
||||
go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0=
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4=
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0/go.mod h1:nPCqOnEH9rNLKqH/+rrUjiMzHJdV1BlpKcTwRTyKkKI=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 h1:QKdN8ly8zEMrByybbQgv8cWBcdAarwmIPZ6FThrWXJs=
|
||||
@@ -985,14 +985,14 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0 h1:DvJDO
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0/go.mod h1:EtekO9DEJb4/jRyN4v4Qjc2yA7AtfCBuz2FynRUWTXs=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0 h1:Ckwye2FpXkYgiHX7fyVrN1uA/UYd9ounqqTuSNAv0k4=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0/go.mod h1:teIFJh5pW2y+AN7riv6IBPX2DuesS3HgP39mwOspKwU=
|
||||
go.opentelemetry.io/otel/metric v1.40.0 h1:rcZe317KPftE2rstWIBitCdVp89A2HqjkxR3c11+p9g=
|
||||
go.opentelemetry.io/otel/metric v1.40.0/go.mod h1:ib/crwQH7N3r5kfiBZQbwrTge743UDc7DTFVZrrXnqc=
|
||||
go.opentelemetry.io/otel/sdk v1.40.0 h1:KHW/jUzgo6wsPh9At46+h4upjtccTmuZCFAc9OJ71f8=
|
||||
go.opentelemetry.io/otel/sdk v1.40.0/go.mod h1:Ph7EFdYvxq72Y8Li9q8KebuYUr2KoeyHx0DRMKrYBUE=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.40.0 h1:mtmdVqgQkeRxHgRv4qhyJduP3fYJRMX4AtAlbuWdCYw=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.40.0/go.mod h1:4Z2bGMf0KSK3uRjlczMOeMhKU2rhUqdWNoKcYrtcBPg=
|
||||
go.opentelemetry.io/otel/trace v1.40.0 h1:WA4etStDttCSYuhwvEa8OP8I5EWu24lkOzp+ZYblVjw=
|
||||
go.opentelemetry.io/otel/trace v1.40.0/go.mod h1:zeAhriXecNGP/s2SEG3+Y8X9ujcJOTqQ5RgdEJcawiA=
|
||||
go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM=
|
||||
go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY=
|
||||
go.opentelemetry.io/otel/sdk v1.43.0 h1:pi5mE86i5rTeLXqoF/hhiBtUNcrAGHLKQdhg4h4V9Dg=
|
||||
go.opentelemetry.io/otel/sdk v1.43.0/go.mod h1:P+IkVU3iWukmiit/Yf9AWvpyRDlUeBaRg6Y+C58QHzg=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.43.0 h1:S88dyqXjJkuBNLeMcVPRFXpRw2fuwdvfCGLEo89fDkw=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.43.0/go.mod h1:C/RJtwSEJ5hzTiUz5pXF1kILHStzb9zFlIEe85bhj6A=
|
||||
go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A=
|
||||
go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0=
|
||||
go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A=
|
||||
go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4=
|
||||
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
|
||||
@@ -1022,8 +1022,8 @@ golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf
|
||||
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
|
||||
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
|
||||
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
|
||||
golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts=
|
||||
golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos=
|
||||
golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4=
|
||||
golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
||||
@@ -1039,8 +1039,8 @@ golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAf
|
||||
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
|
||||
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E=
|
||||
golang.org/x/image v0.36.0 h1:Iknbfm1afbgtwPTmHnS2gTM/6PPZfH+z2EFuOkSbqwc=
|
||||
golang.org/x/image v0.36.0/go.mod h1:YsWD2TyyGKiIX1kZlu9QfKIsQ4nAAK9bdgdrIsE7xy4=
|
||||
golang.org/x/image v0.38.0 h1:5l+q+Y9JDC7mBOMjo4/aPhMDcxEptsX+Tt3GgRQRPuE=
|
||||
golang.org/x/image v0.38.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY=
|
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
|
||||
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
@@ -1065,8 +1065,8 @@ golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
|
||||
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
|
||||
golang.org/x/mod v0.32.0 h1:9F4d3PHLljb6x//jOyokMv3eX+YDeepZSEo3mFJy93c=
|
||||
golang.org/x/mod v0.32.0/go.mod h1:SgipZ/3h2Ci89DlEtEXWUk/HteuRin+HHhN+WbNhguU=
|
||||
golang.org/x/mod v0.33.0 h1:tHFzIWbBifEmbwtGz65eaWyGiGZatSrT9prnU8DbVL8=
|
||||
golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w=
|
||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
@@ -1112,8 +1112,8 @@ golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
|
||||
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
|
||||
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
|
||||
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
|
||||
golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o=
|
||||
golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8=
|
||||
golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo=
|
||||
golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
@@ -1140,8 +1140,8 @@ golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
|
||||
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
||||
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
||||
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=
|
||||
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
|
||||
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
|
||||
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
|
||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
@@ -1207,8 +1207,8 @@ golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=
|
||||
golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
|
||||
golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo=
|
||||
golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
||||
golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
@@ -1219,8 +1219,8 @@ golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
|
||||
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
|
||||
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
|
||||
golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
|
||||
golang.org/x/term v0.40.0 h1:36e4zGLqU4yhjlmxEaagx2KuYbJq3EwY8K943ZsHcvg=
|
||||
golang.org/x/term v0.40.0/go.mod h1:w2P8uVp06p2iyKKuvXIm7N/y0UCRt3UfJTfZ7oOpglM=
|
||||
golang.org/x/term v0.41.0 h1:QCgPso/Q3RTJx2Th4bDLqML4W6iJiaXFq2/ftQF13YU=
|
||||
golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A=
|
||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
@@ -1234,13 +1234,13 @@ golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
|
||||
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
|
||||
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
|
||||
golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk=
|
||||
golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA=
|
||||
golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8=
|
||||
golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI=
|
||||
golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4=
|
||||
golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
|
||||
golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
|
||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
|
||||
@@ -1290,8 +1290,8 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc
|
||||
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
|
||||
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
|
||||
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
|
||||
golang.org/x/tools v0.41.0 h1:a9b8iMweWG+S0OBnlU36rzLp20z1Rp10w+IY2czHTQc=
|
||||
golang.org/x/tools v0.41.0/go.mod h1:XSY6eDqxVNiYgezAVqqCeihT4j1U2CCsqvH3WhQpnlg=
|
||||
golang.org/x/tools v0.42.0 h1:uNgphsn75Tdz5Ji2q36v/nsFSfR/9BRFvqhGBaJGd5k=
|
||||
golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0=
|
||||
golang.org/x/tools/godoc v0.1.0-deprecated h1:o+aZ1BOj6Hsx/GBdJO/s815sqftjSnrZZwyYTHODvtk=
|
||||
golang.org/x/tools/godoc v0.1.0-deprecated/go.mod h1:qM63CriJ961IHWmnWa9CjZnBndniPt4a3CK0PVB9bIg=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
@@ -1371,8 +1371,8 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji
|
||||
google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
|
||||
google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
|
||||
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
|
||||
google.golang.org/grpc v1.79.1 h1:zGhSi45ODB9/p3VAawt9a+O/MULLl9dpizzNNpq7flY=
|
||||
google.golang.org/grpc v1.79.1/go.mod h1:KmT0Kjez+0dde/v2j9vzwoAScgEPx/Bw1CYChhHLrHQ=
|
||||
google.golang.org/grpc v1.79.3 h1:sybAEdRIEtvcD68Gx7dmnwjZKlyfuc61Dyo9pGXXkKE=
|
||||
google.golang.org/grpc v1.79.3/go.mod h1:KmT0Kjez+0dde/v2j9vzwoAScgEPx/Bw1CYChhHLrHQ=
|
||||
google.golang.org/grpc/examples v0.0.0-20211102180624-670c133e568e h1:m7aQHHqd0q89mRwhwS9Bx2rjyl/hsFAeta+uGrHsQaU=
|
||||
google.golang.org/grpc/examples v0.0.0-20211102180624-670c133e568e/go.mod h1:gID3PKrg7pWKntu9Ss6zTLJ0ttC0X9IHgREOCZwbCVU=
|
||||
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
|
||||
|
||||
Executable
+126
@@ -0,0 +1,126 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Wrapper around govulncheck that only fails on fixable, called vulnerabilities.
|
||||
#
|
||||
# - CALLED + fixable (non-stdlib) → FAIL (you should bump the dep)
|
||||
# - CALLED + stdlib fix only → WARN (needs Go toolchain upgrade)
|
||||
# - CALLED + no fix available → WARN (nothing to do yet)
|
||||
# - imported/required only → WARN (code doesn't call it)
|
||||
#
|
||||
# Usage: scripts/govulncheck-wrapper.sh [govulncheck-binary]
|
||||
# If no binary is provided, uses 'govulncheck' from PATH.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
GOVULNCHECK="${1:-govulncheck}"
|
||||
TMPFILE=$(mktemp)
|
||||
trap 'rm -f "$TMPFILE"' EXIT
|
||||
|
||||
echo "Running govulncheck..."
|
||||
"$GOVULNCHECK" -format json ./... > "$TMPFILE" 2>&1 || true
|
||||
|
||||
python3 - "$TMPFILE" <<'PYEOF'
|
||||
import json
|
||||
import sys
|
||||
|
||||
def parse_json_stream(path):
|
||||
"""Parse a stream of JSON objects, skipping any non-JSON lines.
|
||||
|
||||
govulncheck -format json writes one JSON object per line, but stderr is
|
||||
redirected into the same file (> TMPFILE 2>&1), so diagnostic messages
|
||||
(e.g. "Running govulncheck...", error text) may appear between objects.
|
||||
Skip those lines rather than crashing.
|
||||
"""
|
||||
objects = []
|
||||
with open(path) as f:
|
||||
for line in f:
|
||||
line = line.strip()
|
||||
if not line:
|
||||
continue
|
||||
try:
|
||||
objects.append(json.loads(line))
|
||||
except json.JSONDecodeError:
|
||||
# non-JSON diagnostic line — print for visibility, then ignore
|
||||
print(f"[govulncheck non-JSON]: {line}", file=sys.stderr)
|
||||
return objects
|
||||
|
||||
objects = parse_json_stream(sys.argv[1])
|
||||
|
||||
# Collect OSV details
|
||||
osvs = {}
|
||||
for obj in objects:
|
||||
if 'osv' in obj:
|
||||
osv = obj['osv']
|
||||
osvs[osv['id']] = osv
|
||||
|
||||
# Collect findings
|
||||
findings = [obj['finding'] for obj in objects if 'finding' in obj]
|
||||
|
||||
# Group by vuln ID
|
||||
from collections import defaultdict
|
||||
by_vuln = defaultdict(list)
|
||||
for f in findings:
|
||||
by_vuln[f['osv']].append(f)
|
||||
|
||||
fail_vulns = []
|
||||
warn_vulns = []
|
||||
|
||||
for vid, entries in sorted(by_vuln.items()):
|
||||
# Check if any trace reaches symbol level (has 'function' in trace frames)
|
||||
is_called = any(
|
||||
any('function' in frame for frame in entry.get('trace', []))
|
||||
for entry in entries
|
||||
)
|
||||
fixed_version = entries[0].get('fixed_version', '')
|
||||
trace = entries[0].get('trace', [])
|
||||
module = trace[0].get('module', '') if trace else ''
|
||||
|
||||
# Determine category
|
||||
if not is_called:
|
||||
category = "IMPORTED"
|
||||
elif not fixed_version:
|
||||
category = "NO_FIX"
|
||||
elif module == "stdlib":
|
||||
category = "STDLIB"
|
||||
else:
|
||||
category = "FIXABLE"
|
||||
|
||||
osv = osvs.get(vid, {})
|
||||
summary = osv.get('summary', vid)
|
||||
|
||||
info = {
|
||||
'id': vid,
|
||||
'category': category,
|
||||
'module': module,
|
||||
'fixed_version': fixed_version,
|
||||
'summary': summary,
|
||||
}
|
||||
|
||||
if category == "FIXABLE":
|
||||
fail_vulns.append(info)
|
||||
else:
|
||||
warn_vulns.append(info)
|
||||
|
||||
# Print warnings
|
||||
if warn_vulns:
|
||||
print("\n⚠ Vulnerabilities acknowledged (not blocking):")
|
||||
for v in warn_vulns:
|
||||
reason = {
|
||||
'NO_FIX': 'no upstream fix available',
|
||||
'STDLIB': f'needs Go toolchain upgrade to {v["fixed_version"]}',
|
||||
'IMPORTED': 'code does not call vulnerable function',
|
||||
}.get(v['category'], v['category'])
|
||||
print(f" {v['id']}: {v['summary']}")
|
||||
print(f" module={v['module']} ({reason})")
|
||||
|
||||
# Print failures
|
||||
if fail_vulns:
|
||||
print(f"\n✗ {len(fail_vulns)} fixable vulnerability(ies) found:")
|
||||
for v in fail_vulns:
|
||||
print(f" {v['id']}: {v['summary']}")
|
||||
print(f" module={v['module']}, fix: bump to {v['fixed_version']}")
|
||||
sys.exit(1)
|
||||
else:
|
||||
print(f"\n✓ No fixable vulnerabilities found ({len(warn_vulns)} acknowledged warnings)")
|
||||
sys.exit(0)
|
||||
PYEOF
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 14:42+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 14:42+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 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"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh-Hant\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: pkg/service/response.go:44
|
||||
msgid "description"
|
||||
msgstr "描述"
|
||||
|
||||
#: pkg/service/response.go:43
|
||||
msgid "display name"
|
||||
msgstr ""
|
||||
|
||||
#: pkg/service/response.go:42
|
||||
msgid "expiration date"
|
||||
msgstr "設置到期日期"
|
||||
|
||||
#: pkg/service/response.go:41
|
||||
msgid "password"
|
||||
msgstr ""
|
||||
|
||||
#: pkg/service/response.go:40
|
||||
msgid "permission"
|
||||
msgstr "權限"
|
||||
|
||||
#: pkg/service/response.go:45
|
||||
msgid "shared-with-me"
|
||||
msgstr "與我共享"
|
||||
|
||||
#: pkg/service/response.go:39
|
||||
msgid "some field"
|
||||
msgstr "部分欄位"
|
||||
|
||||
#: pkg/service/response.go:26
|
||||
msgid "{resource} was downloaded via public link {token}"
|
||||
msgstr "{resource} 透過公開連結{token} 被下載了"
|
||||
|
||||
#: pkg/service/response.go:24
|
||||
msgid "{user} added {resource} to {folder}"
|
||||
msgstr "{user} 已將 {resource} 加入空間 {folder}"
|
||||
|
||||
#: pkg/service/response.go:36
|
||||
msgid "{user} added {sharee} as member of {space}"
|
||||
msgstr "{user} 已將 {sharee} 新增為空間 {space} 的成員"
|
||||
|
||||
#: pkg/service/response.go:27
|
||||
msgid "{user} deleted {resource} from {folder}"
|
||||
msgstr "{user} 已從空間 {folder} 中刪除了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:28
|
||||
msgid "{user} moved {resource} to {folder}"
|
||||
msgstr "{user} 已將 {resource} 移動至空間 {folder} 中"
|
||||
|
||||
#: pkg/service/response.go:35
|
||||
msgid "{user} removed link to {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的連結"
|
||||
|
||||
#: pkg/service/response.go:32
|
||||
msgid "{user} removed {sharee} from {resource}"
|
||||
msgstr "{user} 從空間 {resource} 中移除了{sharee}"
|
||||
|
||||
#: pkg/service/response.go:37
|
||||
msgid "{user} removed {sharee} from {space}"
|
||||
msgstr "{user} 從空間 {space} 中移除了{sharee}"
|
||||
|
||||
#: pkg/service/response.go:29
|
||||
msgid "{user} renamed {oldResource} to {resource}"
|
||||
msgstr "{user} 重新命名了 {oldResource} 為 {resource}"
|
||||
|
||||
#: pkg/service/response.go:33
|
||||
msgid "{user} shared {resource} via link"
|
||||
msgstr "{user} 透過連結分享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:30
|
||||
msgid "{user} shared {resource} with {sharee}"
|
||||
msgstr "{user} 透過 {sharee} 共享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:34
|
||||
msgid "{user} updated {field} for a link {token} on {resource}"
|
||||
msgstr "{user} 更新了 {resource} 連結 {token} 的 {field} 欄位"
|
||||
|
||||
#: pkg/service/response.go:31
|
||||
msgid "{user} updated {field} for the {resource}"
|
||||
msgstr "{user} 更新了 {resource} 的 {field}"
|
||||
|
||||
#: pkg/service/response.go:25
|
||||
msgid "{user} updated {resource} in {folder}"
|
||||
msgstr "{user} 已在 {folder} 內更新 {resource}"
|
||||
@@ -0,0 +1,108 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# guanu244, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: pkg/service/response.go:44
|
||||
msgid "description"
|
||||
msgstr "描述"
|
||||
|
||||
#: pkg/service/response.go:43
|
||||
msgid "display name"
|
||||
msgstr "顯示名稱"
|
||||
|
||||
#: pkg/service/response.go:42
|
||||
msgid "expiration date"
|
||||
msgstr "設置到期日期"
|
||||
|
||||
#: pkg/service/response.go:41
|
||||
msgid "password"
|
||||
msgstr "密碼"
|
||||
|
||||
#: pkg/service/response.go:40
|
||||
msgid "permission"
|
||||
msgstr "權限"
|
||||
|
||||
#: pkg/service/response.go:45
|
||||
msgid "shared-with-me"
|
||||
msgstr "與我共享"
|
||||
|
||||
#: pkg/service/response.go:39
|
||||
msgid "some field"
|
||||
msgstr "部分欄位"
|
||||
|
||||
#: pkg/service/response.go:26
|
||||
msgid "{resource} was downloaded via public link {token}"
|
||||
msgstr "{resource} 透過公開連結{token} 被下載了"
|
||||
|
||||
#: pkg/service/response.go:24
|
||||
msgid "{user} added {resource} to {folder}"
|
||||
msgstr "{user} 已将 {resource} 加入空间 {folder}"
|
||||
|
||||
#: pkg/service/response.go:36
|
||||
msgid "{user} added {sharee} as member of {space}"
|
||||
msgstr "{user} 已将 {sharee} 添加为空间 {space} 的成员"
|
||||
|
||||
#: pkg/service/response.go:27
|
||||
msgid "{user} deleted {resource} from {folder}"
|
||||
msgstr "{user} 已从空间 {folder} 中删除了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:28
|
||||
msgid "{user} moved {resource} to {folder}"
|
||||
msgstr "{user} 已将 {resource} 移动至空间 {folder} 中"
|
||||
|
||||
#: pkg/service/response.go:35
|
||||
msgid "{user} removed link to {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的链接"
|
||||
|
||||
#: pkg/service/response.go:32
|
||||
msgid "{user} removed {sharee} from {resource}"
|
||||
msgstr "{user} 从空间 {resource} 中移除了{sharee}"
|
||||
|
||||
#: pkg/service/response.go:37
|
||||
msgid "{user} removed {sharee} from {space}"
|
||||
msgstr "{user} 移除了 {space} 的 {sharee}"
|
||||
|
||||
#: pkg/service/response.go:29
|
||||
msgid "{user} renamed {oldResource} to {resource}"
|
||||
msgstr "{user} 重命名了 {oldResource} 为 {resource}"
|
||||
|
||||
#: pkg/service/response.go:33
|
||||
msgid "{user} shared {resource} via link"
|
||||
msgstr "{user} 通过链接分享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:30
|
||||
msgid "{user} shared {resource} with {sharee}"
|
||||
msgstr "{user} 通过 {sharee} 共享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:34
|
||||
msgid "{user} updated {field} for a link {token} on {resource}"
|
||||
msgstr "{user} 更新了 {resource} 連結 {token} 的 {field} 欄位"
|
||||
|
||||
#: pkg/service/response.go:31
|
||||
msgid "{user} updated {field} for the {resource}"
|
||||
msgstr "{user} 更新了 {resource} 的 {field}"
|
||||
|
||||
#: pkg/service/response.go:25
|
||||
msgid "{user} updated {resource} in {folder}"
|
||||
msgstr "{user} 已在 {folder} 內更新 {resource}"
|
||||
@@ -0,0 +1,108 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# guanu244, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 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"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: pkg/service/response.go:44
|
||||
msgid "description"
|
||||
msgstr "描述"
|
||||
|
||||
#: pkg/service/response.go:43
|
||||
msgid "display name"
|
||||
msgstr "顯示名稱"
|
||||
|
||||
#: pkg/service/response.go:42
|
||||
msgid "expiration date"
|
||||
msgstr "設置到期日期"
|
||||
|
||||
#: pkg/service/response.go:41
|
||||
msgid "password"
|
||||
msgstr "密碼"
|
||||
|
||||
#: pkg/service/response.go:40
|
||||
msgid "permission"
|
||||
msgstr "權限"
|
||||
|
||||
#: pkg/service/response.go:45
|
||||
msgid "shared-with-me"
|
||||
msgstr "與我共享"
|
||||
|
||||
#: pkg/service/response.go:39
|
||||
msgid "some field"
|
||||
msgstr "部分欄位"
|
||||
|
||||
#: pkg/service/response.go:26
|
||||
msgid "{resource} was downloaded via public link {token}"
|
||||
msgstr "{resource} 透過公開連結{token} 被下載了"
|
||||
|
||||
#: pkg/service/response.go:24
|
||||
msgid "{user} added {resource} to {folder}"
|
||||
msgstr "{user} 已将 {resource} 加入空间 {folder}"
|
||||
|
||||
#: pkg/service/response.go:36
|
||||
msgid "{user} added {sharee} as member of {space}"
|
||||
msgstr "{user} 已将 {sharee} 添加为空间 {space} 的成员"
|
||||
|
||||
#: pkg/service/response.go:27
|
||||
msgid "{user} deleted {resource} from {folder}"
|
||||
msgstr "{user} 已从空间 {folder} 中删除了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:28
|
||||
msgid "{user} moved {resource} to {folder}"
|
||||
msgstr "{user} 已将 {resource} 移动至空间 {folder} 中"
|
||||
|
||||
#: pkg/service/response.go:35
|
||||
msgid "{user} removed link to {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的链接"
|
||||
|
||||
#: pkg/service/response.go:32
|
||||
msgid "{user} removed {sharee} from {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的 {sharee}"
|
||||
|
||||
#: pkg/service/response.go:37
|
||||
msgid "{user} removed {sharee} from {space}"
|
||||
msgstr "{user} 从空间 {space} 中移除了{sharee}"
|
||||
|
||||
#: pkg/service/response.go:29
|
||||
msgid "{user} renamed {oldResource} to {resource}"
|
||||
msgstr "{user} 重命名了 {oldResource} 为 {resource}"
|
||||
|
||||
#: pkg/service/response.go:33
|
||||
msgid "{user} shared {resource} via link"
|
||||
msgstr "{user} 通过链接分享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:30
|
||||
msgid "{user} shared {resource} with {sharee}"
|
||||
msgstr "{user} 通过 {sharee} 共享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:34
|
||||
msgid "{user} updated {field} for a link {token} on {resource}"
|
||||
msgstr "{user} 更新了 {resource} 連結 {token} 的 {field} 欄位"
|
||||
|
||||
#: pkg/service/response.go:31
|
||||
msgid "{user} updated {field} for the {resource}"
|
||||
msgstr "{user} 更新了 {resource} 的 {field}"
|
||||
|
||||
#: pkg/service/response.go:25
|
||||
msgid "{user} updated {resource} in {folder}"
|
||||
msgstr "{user} 已在 {folder} 內更新 {resource}"
|
||||
@@ -0,0 +1,108 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# guanu244, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_HK\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: pkg/service/response.go:44
|
||||
msgid "description"
|
||||
msgstr "描述"
|
||||
|
||||
#: pkg/service/response.go:43
|
||||
msgid "display name"
|
||||
msgstr "顯示名稱"
|
||||
|
||||
#: pkg/service/response.go:42
|
||||
msgid "expiration date"
|
||||
msgstr "設置到期日期"
|
||||
|
||||
#: pkg/service/response.go:41
|
||||
msgid "password"
|
||||
msgstr "密碼"
|
||||
|
||||
#: pkg/service/response.go:40
|
||||
msgid "permission"
|
||||
msgstr "權限"
|
||||
|
||||
#: pkg/service/response.go:45
|
||||
msgid "shared-with-me"
|
||||
msgstr "與我共享"
|
||||
|
||||
#: pkg/service/response.go:39
|
||||
msgid "some field"
|
||||
msgstr "部分欄位"
|
||||
|
||||
#: pkg/service/response.go:26
|
||||
msgid "{resource} was downloaded via public link {token}"
|
||||
msgstr "{resource} 透過公開連結{token} 被下載了"
|
||||
|
||||
#: pkg/service/response.go:24
|
||||
msgid "{user} added {resource} to {folder}"
|
||||
msgstr "{user} 已将 {resource} 加入空间 {folder}"
|
||||
|
||||
#: pkg/service/response.go:36
|
||||
msgid "{user} added {sharee} as member of {space}"
|
||||
msgstr "{user} 已将 {sharee} 添加为空间 {space} 的成员"
|
||||
|
||||
#: pkg/service/response.go:27
|
||||
msgid "{user} deleted {resource} from {folder}"
|
||||
msgstr "{user} 已从空间 {folder} 中删除了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:28
|
||||
msgid "{user} moved {resource} to {folder}"
|
||||
msgstr "{user} 已将 {resource} 移动至空间 {folder} 中"
|
||||
|
||||
#: pkg/service/response.go:35
|
||||
msgid "{user} removed link to {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的链接"
|
||||
|
||||
#: pkg/service/response.go:32
|
||||
msgid "{user} removed {sharee} from {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的 {sharee}"
|
||||
|
||||
#: pkg/service/response.go:37
|
||||
msgid "{user} removed {sharee} from {space}"
|
||||
msgstr "{user} 从空间 {space} 中移除了{sharee}"
|
||||
|
||||
#: pkg/service/response.go:29
|
||||
msgid "{user} renamed {oldResource} to {resource}"
|
||||
msgstr "{user} 重命名了 {oldResource} 为 {resource}"
|
||||
|
||||
#: pkg/service/response.go:33
|
||||
msgid "{user} shared {resource} via link"
|
||||
msgstr "{user} 通过链接分享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:30
|
||||
msgid "{user} shared {resource} with {sharee}"
|
||||
msgstr "{user} 通过 {sharee} 共享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:34
|
||||
msgid "{user} updated {field} for a link {token} on {resource}"
|
||||
msgstr "{user} 更新了 {resource} 連結 {token} 的 {field} 欄位"
|
||||
|
||||
#: pkg/service/response.go:31
|
||||
msgid "{user} updated {field} for the {resource}"
|
||||
msgstr "{user} 更新了 {resource} 的 {field}"
|
||||
|
||||
#: pkg/service/response.go:25
|
||||
msgid "{user} updated {resource} in {folder}"
|
||||
msgstr "{user} 已在 {folder} 內更新 {resource}"
|
||||
@@ -0,0 +1,108 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# guanu244, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_TW\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: pkg/service/response.go:44
|
||||
msgid "description"
|
||||
msgstr "描述"
|
||||
|
||||
#: pkg/service/response.go:43
|
||||
msgid "display name"
|
||||
msgstr "顯示名稱"
|
||||
|
||||
#: pkg/service/response.go:42
|
||||
msgid "expiration date"
|
||||
msgstr "設置到期日期"
|
||||
|
||||
#: pkg/service/response.go:41
|
||||
msgid "password"
|
||||
msgstr "密碼"
|
||||
|
||||
#: pkg/service/response.go:40
|
||||
msgid "permission"
|
||||
msgstr "權限"
|
||||
|
||||
#: pkg/service/response.go:45
|
||||
msgid "shared-with-me"
|
||||
msgstr "與我共享"
|
||||
|
||||
#: pkg/service/response.go:39
|
||||
msgid "some field"
|
||||
msgstr "部分欄位"
|
||||
|
||||
#: pkg/service/response.go:26
|
||||
msgid "{resource} was downloaded via public link {token}"
|
||||
msgstr "{resource} 透過公開連結{token} 被下載了"
|
||||
|
||||
#: pkg/service/response.go:24
|
||||
msgid "{user} added {resource} to {folder}"
|
||||
msgstr "{user} 已將 {resource} 加入空間 {folder}"
|
||||
|
||||
#: pkg/service/response.go:36
|
||||
msgid "{user} added {sharee} as member of {space}"
|
||||
msgstr "{user} 已將 {sharee} 新增為空間 {space} 的成員"
|
||||
|
||||
#: pkg/service/response.go:27
|
||||
msgid "{user} deleted {resource} from {folder}"
|
||||
msgstr "{user} 已從空間 {folder} 中刪除了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:28
|
||||
msgid "{user} moved {resource} to {folder}"
|
||||
msgstr "{user} 已將 {resource} 移動至空間 {folder} 中"
|
||||
|
||||
#: pkg/service/response.go:35
|
||||
msgid "{user} removed link to {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的連結"
|
||||
|
||||
#: pkg/service/response.go:32
|
||||
msgid "{user} removed {sharee} from {resource}"
|
||||
msgstr "{user} 移除了 {resource} 的 {sharee}"
|
||||
|
||||
#: pkg/service/response.go:37
|
||||
msgid "{user} removed {sharee} from {space}"
|
||||
msgstr "{user} 從空間 {space} 中移除了{sharee}"
|
||||
|
||||
#: pkg/service/response.go:29
|
||||
msgid "{user} renamed {oldResource} to {resource}"
|
||||
msgstr "{user} 重新命名了 {oldResource} 為 {resource}"
|
||||
|
||||
#: pkg/service/response.go:33
|
||||
msgid "{user} shared {resource} via link"
|
||||
msgstr "{user} 透過連結分享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:30
|
||||
msgid "{user} shared {resource} with {sharee}"
|
||||
msgstr "{user} 透過 {sharee} 共享了 {resource}"
|
||||
|
||||
#: pkg/service/response.go:34
|
||||
msgid "{user} updated {field} for a link {token} on {resource}"
|
||||
msgstr "{user} 針對 {resource} 的連結 {token} 修改了 {field}"
|
||||
|
||||
#: pkg/service/response.go:31
|
||||
msgid "{user} updated {field} for the {resource}"
|
||||
msgstr "{user} 修改了 {resource} 的 {field} 欄位"
|
||||
|
||||
#: pkg/service/response.go:25
|
||||
msgid "{user} updated {resource} in {folder}"
|
||||
msgstr "{user} 已在 {folder} 內更新 {resource}"
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-08 00:34+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-01-03 00:30+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
@@ -23,63 +23,97 @@ msgstr ""
|
||||
"Language: it\n"
|
||||
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. EditorLite
|
||||
#. UnifiedRole EditorLite, Role DisplayName (resolves directly)
|
||||
#. FileEditor
|
||||
#. UnifiedRole FileEditor, Role DisplayName (resolves directly)
|
||||
#. Editor without Versions
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#. UnifiedRole SpaseEditor, Role DisplayName (resolves directly)
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:134 pkg/unifiedrole/roles.go:140
|
||||
#: pkg/unifiedrole/roles.go:170
|
||||
#: pkg/unifiedrole/roles.go:138 pkg/unifiedrole/roles.go:172
|
||||
#: pkg/unifiedrole/roles.go:206
|
||||
msgid "Can edit"
|
||||
msgstr "Può modificare"
|
||||
|
||||
#. FileEditor + ListGrants
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:180
|
||||
msgid "Can edit and show invitees"
|
||||
msgstr "Può modificare e mostrare gli invitati"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole Editor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:146
|
||||
msgid "Can edit with trashbin"
|
||||
msgstr "Può modificare con il cestino"
|
||||
|
||||
#. Editor + ListGrants
|
||||
#. UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:154
|
||||
msgid "Can edit with trashbin and show invitees"
|
||||
msgstr "Può modificare con il cestino e mostrare gli invitati"
|
||||
|
||||
#. Editor + ListGrants + Version
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:162
|
||||
msgid "Can edit with trashbin, versions and show invitees"
|
||||
msgstr "Può modificare con cestino, versioni e mostrare gli invitati"
|
||||
|
||||
#. Editor without Trashbin
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:149
|
||||
msgid "Can edit without trashbin"
|
||||
msgstr "Può modificare senza cestino"
|
||||
#: pkg/unifiedrole/roles.go:214
|
||||
msgid "Can edit with versions"
|
||||
msgstr "Può modificare con versioni"
|
||||
|
||||
#. UnifiedRole Editor, Role DisplayName (resolves directly)
|
||||
#. UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
|
||||
#. UnifiedRole SpaseEditorWithoutVersions, Role DisplayName (resolves
|
||||
#. FileEditor + ListGrants + Versions
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#. UnifiedRole FileEditor, Role DisplayName (resolves directly)
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:122 pkg/unifiedrole/roles.go:128
|
||||
#: pkg/unifiedrole/roles.go:146 pkg/unifiedrole/roles.go:158
|
||||
#: pkg/unifiedrole/roles.go:164
|
||||
msgid "Can edit without versions"
|
||||
msgstr "Può modificare senza versioni"
|
||||
#: pkg/unifiedrole/roles.go:188
|
||||
msgid "Can edit with versions and show invitees"
|
||||
msgstr "Può modificare con versioni e mostrare gli invitati"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:222
|
||||
msgid "Can edit with versions and trashbin"
|
||||
msgstr "Può modificare con versioni e cestino"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:182
|
||||
#: pkg/unifiedrole/roles.go:230
|
||||
msgid "Can manage"
|
||||
msgstr "Può gestire"
|
||||
|
||||
#. UnifiedRole EditorLite, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:176
|
||||
msgid "Can upload"
|
||||
msgstr "Può caricare"
|
||||
|
||||
#. Viewer
|
||||
#. UnifiedRole Viewer, Role DisplayName (resolves directly)
|
||||
#. UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
|
||||
#. UnifiedRole SpaseViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:104 pkg/unifiedrole/roles.go:110
|
||||
#: pkg/unifiedrole/roles.go:116
|
||||
#. Viewer
|
||||
#. UnifiedRole SpaceViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:112 pkg/unifiedrole/roles.go:198
|
||||
msgid "Can view"
|
||||
msgstr "Può visualizzare"
|
||||
|
||||
#. SecureViewer
|
||||
#. UnifiedRole SecureViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:188
|
||||
#: pkg/unifiedrole/roles.go:104
|
||||
msgid "Can view (secure)"
|
||||
msgstr "Può visualizzare (sicuro)"
|
||||
|
||||
#. Viewer + ListGrants
|
||||
#. UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:120
|
||||
msgid "Can view and show invitees"
|
||||
msgstr "Può visualizzare e mostrare gli invitati"
|
||||
|
||||
#. Denial
|
||||
#. UnifiedRole FullDenial, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:194
|
||||
#: pkg/unifiedrole/roles.go:130
|
||||
msgid "Cannot access"
|
||||
msgstr "Impossibile accedere"
|
||||
|
||||
#. UnifiedRole FullDenial, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:191
|
||||
#: pkg/unifiedrole/roles.go:132
|
||||
msgid "Deny all access."
|
||||
msgstr "Nega qualunque accesso."
|
||||
|
||||
@@ -90,81 +124,90 @@ msgstr "Qui puoi aggiungere una descrizione per questo spazio."
|
||||
|
||||
#. UnifiedRole Viewer, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:101 pkg/unifiedrole/roles.go:113
|
||||
#: pkg/unifiedrole/roles.go:114 pkg/unifiedrole/roles.go:200
|
||||
msgid "View and download."
|
||||
msgstr "Visualizza e scarica."
|
||||
|
||||
#. UnifiedRole SecureViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:185
|
||||
#: pkg/unifiedrole/roles.go:106
|
||||
msgid "View only documents, images and PDFs. Watermarks will be applied."
|
||||
msgstr ""
|
||||
"Visualizza solo documenti, immagini e PDF. Saranno applicate delle "
|
||||
"filigrane."
|
||||
|
||||
#. UnifiedRole FileEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:155
|
||||
msgid "View, download and edit."
|
||||
msgstr "Visualizza, scarica e modifica."
|
||||
|
||||
#. UnifiedRole ViewerListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:107
|
||||
#: pkg/unifiedrole/roles.go:122
|
||||
msgid "View, download and show all invited people."
|
||||
msgstr "Visualizza, scarica e mostra tutte le persone invitate."
|
||||
|
||||
#. UnifiedRole FileEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:174
|
||||
msgid "View, download, upload and edit."
|
||||
msgstr "Visualizza, scarica, carica e modifica."
|
||||
|
||||
#. UnifiedRole EditorLite, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:173
|
||||
msgid "View, download and upload."
|
||||
msgstr "Visualizza, scarica e carica."
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:140 pkg/unifiedrole/roles.go:208
|
||||
msgid "View, download, upload, edit and add."
|
||||
msgstr "Visualizza, scarica, carica, modifica e aggiungi."
|
||||
|
||||
#. UnifiedRole FileEditorListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:167
|
||||
msgid "View, download, edit and show all invited people, show all versions."
|
||||
#: pkg/unifiedrole/roles.go:182
|
||||
msgid "View, download, upload, edit and show all invited people."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, modifica e mostra tutte le persone invitate, mostra "
|
||||
"tutte le versioni."
|
||||
|
||||
#. UnifiedRole FileEditorListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:161
|
||||
msgid "View, download, edit and show all invited people."
|
||||
msgstr "Visualizza, scarica, modifica e mostra tutte le persone invitate."
|
||||
"Visualizza, scarica, carica, modifica e mostra tutte le persone invitate."
|
||||
|
||||
#. UnifiedRole Editor, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaseEditorWithoutVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:119 pkg/unifiedrole/roles.go:143
|
||||
#: pkg/unifiedrole/roles.go:152
|
||||
#: pkg/unifiedrole/roles.go:148
|
||||
msgid "View, download, upload, edit, add and delete."
|
||||
msgstr "Visualizza, scarica, carica, modifica, aggiungi ed elimina."
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:179
|
||||
msgid "View, download, upload, edit, add, delete and manage members."
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:216
|
||||
msgid "View, download, upload, edit, add and show all versions."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, elimina e gestisci i "
|
||||
"membri."
|
||||
"Visualizza, scarica, carica, modifica, aggiungi e mostra tutte le versioni."
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:125
|
||||
#: pkg/unifiedrole/roles.go:156
|
||||
msgid "View, download, upload, edit, add, delete and show all invited people."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, elimina e mostra tutte le "
|
||||
"persone invitate."
|
||||
|
||||
#. UnifiedRole SpaseEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:137
|
||||
msgid "View, download, upload, edit, add, delete including the history."
|
||||
#. UnifiedRole SpaceEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:224
|
||||
msgid "View, download, upload, edit, add, show all versions and delete."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, elimina inclusa la "
|
||||
"cronologia."
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, mostra tutte le versioni ed"
|
||||
" elimina."
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid ""
|
||||
"View, download, upload, edit, add, show all versions, delete and manage "
|
||||
"members."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, aggiungi, mostra tutte le versioni, "
|
||||
"elimina e gestisci i membri."
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:131
|
||||
#: pkg/unifiedrole/roles.go:164
|
||||
msgid ""
|
||||
"View, download, upload, edit, delete and show all invited people, show all "
|
||||
"versions."
|
||||
"View, download, upload, edit, delete, show all versions and all invited "
|
||||
"people."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, elimina e mostra tutte le persone "
|
||||
"invitate, mostra tutte le versioni."
|
||||
"Visualizza, scarica, carica, modifica, elimina, mostra tutte le versioni e "
|
||||
"tutte le persone invitate."
|
||||
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:190
|
||||
msgid ""
|
||||
"View, download, upload, edit, show all versions and all invited people."
|
||||
msgstr ""
|
||||
"Visualizza, scarica, carica, modifica, mostra tutte le versioni e tutte le "
|
||||
"persone invitate."
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: Roman Perekhod, 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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -0,0 +1,197 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 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"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh-Hant\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. EditorLite
|
||||
#. UnifiedRole EditorLite, Role DisplayName (resolves directly)
|
||||
#. FileEditor
|
||||
#. UnifiedRole FileEditor, Role DisplayName (resolves directly)
|
||||
#. Editor without Versions
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:138 pkg/unifiedrole/roles.go:172
|
||||
#: pkg/unifiedrole/roles.go:206
|
||||
msgid "Can edit"
|
||||
msgstr ""
|
||||
|
||||
#. FileEditor + ListGrants
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:180
|
||||
msgid "Can edit and show invitees"
|
||||
msgstr "可以編輯以及顯示共享者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole Editor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:146
|
||||
msgid "Can edit with trashbin"
|
||||
msgstr "可以編輯及使用垃圾桶"
|
||||
|
||||
#. Editor + ListGrants
|
||||
#. UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:154
|
||||
msgid "Can edit with trashbin and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶及顯示受邀者"
|
||||
|
||||
#. Editor + ListGrants + Version
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:162
|
||||
msgid "Can edit with trashbin, versions and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶、版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor without Trashbin
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:214
|
||||
msgid "Can edit with versions"
|
||||
msgstr "可以編輯及使用版本紀錄"
|
||||
|
||||
#. FileEditor + ListGrants + Versions
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:188
|
||||
msgid "Can edit with versions and show invitees"
|
||||
msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:222
|
||||
msgid "Can edit with versions and trashbin"
|
||||
msgstr "可以編輯、使用版本紀錄及垃圾桶"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:230
|
||||
msgid "Can manage"
|
||||
msgstr ""
|
||||
|
||||
#. Viewer
|
||||
#. UnifiedRole Viewer, Role DisplayName (resolves directly)
|
||||
#. Viewer
|
||||
#. UnifiedRole SpaceViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:112 pkg/unifiedrole/roles.go:198
|
||||
msgid "Can view"
|
||||
msgstr ""
|
||||
|
||||
#. SecureViewer
|
||||
#. UnifiedRole SecureViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:104
|
||||
msgid "Can view (secure)"
|
||||
msgstr "可查看(安全模式)"
|
||||
|
||||
#. Viewer + ListGrants
|
||||
#. UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:120
|
||||
msgid "Can view and show invitees"
|
||||
msgstr "可查看及顯示受邀者"
|
||||
|
||||
#. Denial
|
||||
#. UnifiedRole FullDenial, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:130
|
||||
msgid "Cannot access"
|
||||
msgstr "無法存取"
|
||||
|
||||
#. UnifiedRole FullDenial, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:132
|
||||
msgid "Deny all access."
|
||||
msgstr "拒絕所有存取"
|
||||
|
||||
#. default description for new spaces
|
||||
#: pkg/service/v0/spacetemplates.go:32
|
||||
msgid "Here you can add a description for this Space."
|
||||
msgstr "您可以在此處為此空間添加描述。"
|
||||
|
||||
#. UnifiedRole Viewer, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:114 pkg/unifiedrole/roles.go:200
|
||||
msgid "View and download."
|
||||
msgstr "查看並下載。"
|
||||
|
||||
#. UnifiedRole SecureViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:106
|
||||
msgid "View only documents, images and PDFs. Watermarks will be applied."
|
||||
msgstr "僅能查看文件、圖片和 PDF。將會套用浮水印。"
|
||||
|
||||
#. UnifiedRole ViewerListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:122
|
||||
msgid "View, download and show all invited people."
|
||||
msgstr "查看、下載及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:174
|
||||
msgid "View, download, upload and edit."
|
||||
msgstr "查看、下載、上傳及編輯。"
|
||||
|
||||
#. UnifiedRole EditorLite, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:140 pkg/unifiedrole/roles.go:208
|
||||
msgid "View, download, upload, edit and add."
|
||||
msgstr "查看、下載、上傳、編輯及新增。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:182
|
||||
msgid "View, download, upload, edit and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:148
|
||||
msgid "View, download, upload, edit, add and delete."
|
||||
msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:216
|
||||
msgid "View, download, upload, edit, add and show all versions."
|
||||
msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:156
|
||||
msgid "View, download, upload, edit, add, delete and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、新增、刪除及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole SpaceEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:224
|
||||
msgid "View, download, upload, edit, add, show all versions and delete."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本及刪除。"
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid ""
|
||||
"View, download, upload, edit, add, show all versions, delete and manage "
|
||||
"members."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本、刪除及管理成員。"
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:164
|
||||
msgid ""
|
||||
"View, download, upload, edit, delete, show all versions and all invited "
|
||||
"people."
|
||||
msgstr "查看、下載、上傳、編輯、刪除、顯示所有版本及所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:190
|
||||
msgid ""
|
||||
"View, download, upload, edit, show all versions and all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、顯示所有版本及所有受邀者。"
|
||||
@@ -0,0 +1,198 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Benedikt Kulmann <benedikt@kulmann.biz>, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. EditorLite
|
||||
#. UnifiedRole EditorLite, Role DisplayName (resolves directly)
|
||||
#. FileEditor
|
||||
#. UnifiedRole FileEditor, Role DisplayName (resolves directly)
|
||||
#. Editor without Versions
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:138 pkg/unifiedrole/roles.go:172
|
||||
#: pkg/unifiedrole/roles.go:206
|
||||
msgid "Can edit"
|
||||
msgstr "可编辑"
|
||||
|
||||
#. FileEditor + ListGrants
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:180
|
||||
msgid "Can edit and show invitees"
|
||||
msgstr "可以編輯以及顯示共享者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole Editor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:146
|
||||
msgid "Can edit with trashbin"
|
||||
msgstr "可以編輯及使用垃圾桶"
|
||||
|
||||
#. Editor + ListGrants
|
||||
#. UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:154
|
||||
msgid "Can edit with trashbin and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶及顯示受邀者"
|
||||
|
||||
#. Editor + ListGrants + Version
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:162
|
||||
msgid "Can edit with trashbin, versions and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶、版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor without Trashbin
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:214
|
||||
msgid "Can edit with versions"
|
||||
msgstr "可以編輯及使用版本紀錄"
|
||||
|
||||
#. FileEditor + ListGrants + Versions
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:188
|
||||
msgid "Can edit with versions and show invitees"
|
||||
msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:222
|
||||
msgid "Can edit with versions and trashbin"
|
||||
msgstr "可以編輯、使用版本紀錄及垃圾桶"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:230
|
||||
msgid "Can manage"
|
||||
msgstr "可管理"
|
||||
|
||||
#. Viewer
|
||||
#. UnifiedRole Viewer, Role DisplayName (resolves directly)
|
||||
#. Viewer
|
||||
#. UnifiedRole SpaceViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:112 pkg/unifiedrole/roles.go:198
|
||||
msgid "Can view"
|
||||
msgstr "可查看"
|
||||
|
||||
#. SecureViewer
|
||||
#. UnifiedRole SecureViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:104
|
||||
msgid "Can view (secure)"
|
||||
msgstr "可查看(安全模式)"
|
||||
|
||||
#. Viewer + ListGrants
|
||||
#. UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:120
|
||||
msgid "Can view and show invitees"
|
||||
msgstr "可查看及顯示受邀者"
|
||||
|
||||
#. Denial
|
||||
#. UnifiedRole FullDenial, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:130
|
||||
msgid "Cannot access"
|
||||
msgstr "無法存取"
|
||||
|
||||
#. UnifiedRole FullDenial, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:132
|
||||
msgid "Deny all access."
|
||||
msgstr "拒絕所有存取"
|
||||
|
||||
#. default description for new spaces
|
||||
#: pkg/service/v0/spacetemplates.go:32
|
||||
msgid "Here you can add a description for this Space."
|
||||
msgstr "在此处添加此空间的描述。"
|
||||
|
||||
#. UnifiedRole Viewer, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:114 pkg/unifiedrole/roles.go:200
|
||||
msgid "View and download."
|
||||
msgstr "查看并下载"
|
||||
|
||||
#. UnifiedRole SecureViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:106
|
||||
msgid "View only documents, images and PDFs. Watermarks will be applied."
|
||||
msgstr "僅能查看文件、圖片和 PDF。將會套用浮水印。"
|
||||
|
||||
#. UnifiedRole ViewerListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:122
|
||||
msgid "View, download and show all invited people."
|
||||
msgstr "查看、下載及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:174
|
||||
msgid "View, download, upload and edit."
|
||||
msgstr "查看、下載、上傳及編輯。"
|
||||
|
||||
#. UnifiedRole EditorLite, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:140 pkg/unifiedrole/roles.go:208
|
||||
msgid "View, download, upload, edit and add."
|
||||
msgstr "查看、下載、上傳、編輯及新增。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:182
|
||||
msgid "View, download, upload, edit and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:148
|
||||
msgid "View, download, upload, edit, add and delete."
|
||||
msgstr "查看,下载,上传,编辑和删除"
|
||||
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:216
|
||||
msgid "View, download, upload, edit, add and show all versions."
|
||||
msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:156
|
||||
msgid "View, download, upload, edit, add, delete and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、新增、刪除及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole SpaceEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:224
|
||||
msgid "View, download, upload, edit, add, show all versions and delete."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本及刪除。"
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid ""
|
||||
"View, download, upload, edit, add, show all versions, delete and manage "
|
||||
"members."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本、刪除及管理成員。"
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:164
|
||||
msgid ""
|
||||
"View, download, upload, edit, delete, show all versions and all invited "
|
||||
"people."
|
||||
msgstr "查看、下載、上傳、編輯、刪除、顯示所有版本及所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:190
|
||||
msgid ""
|
||||
"View, download, upload, edit, show all versions and all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、顯示所有版本及所有受邀者。"
|
||||
@@ -0,0 +1,200 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# fnoopv <fnoopv@outlook.com>, 2026
|
||||
# Shouyuan, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:10+0000\n"
|
||||
"Last-Translator: 許明凱 <yuteson@gmail.com>, 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"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. EditorLite
|
||||
#. UnifiedRole EditorLite, Role DisplayName (resolves directly)
|
||||
#. FileEditor
|
||||
#. UnifiedRole FileEditor, Role DisplayName (resolves directly)
|
||||
#. Editor without Versions
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:138 pkg/unifiedrole/roles.go:172
|
||||
#: pkg/unifiedrole/roles.go:206
|
||||
msgid "Can edit"
|
||||
msgstr "可编辑"
|
||||
|
||||
#. FileEditor + ListGrants
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:180
|
||||
msgid "Can edit and show invitees"
|
||||
msgstr "可以編輯以及顯示共享者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole Editor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:146
|
||||
msgid "Can edit with trashbin"
|
||||
msgstr "可以編輯及使用垃圾桶"
|
||||
|
||||
#. Editor + ListGrants
|
||||
#. UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:154
|
||||
msgid "Can edit with trashbin and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶及顯示受邀者"
|
||||
|
||||
#. Editor + ListGrants + Version
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:162
|
||||
msgid "Can edit with trashbin, versions and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶、版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor without Trashbin
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:214
|
||||
msgid "Can edit with versions"
|
||||
msgstr "可以編輯及使用版本紀錄"
|
||||
|
||||
#. FileEditor + ListGrants + Versions
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:188
|
||||
msgid "Can edit with versions and show invitees"
|
||||
msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:222
|
||||
msgid "Can edit with versions and trashbin"
|
||||
msgstr "可以編輯、使用版本紀錄及垃圾桶"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:230
|
||||
msgid "Can manage"
|
||||
msgstr "可管理"
|
||||
|
||||
#. Viewer
|
||||
#. UnifiedRole Viewer, Role DisplayName (resolves directly)
|
||||
#. Viewer
|
||||
#. UnifiedRole SpaceViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:112 pkg/unifiedrole/roles.go:198
|
||||
msgid "Can view"
|
||||
msgstr "可查看"
|
||||
|
||||
#. SecureViewer
|
||||
#. UnifiedRole SecureViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:104
|
||||
msgid "Can view (secure)"
|
||||
msgstr "可查看(安全模式)"
|
||||
|
||||
#. Viewer + ListGrants
|
||||
#. UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:120
|
||||
msgid "Can view and show invitees"
|
||||
msgstr "可查看及顯示受邀者"
|
||||
|
||||
#. Denial
|
||||
#. UnifiedRole FullDenial, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:130
|
||||
msgid "Cannot access"
|
||||
msgstr "無法存取"
|
||||
|
||||
#. UnifiedRole FullDenial, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:132
|
||||
msgid "Deny all access."
|
||||
msgstr "拒絕所有存取"
|
||||
|
||||
#. default description for new spaces
|
||||
#: pkg/service/v0/spacetemplates.go:32
|
||||
msgid "Here you can add a description for this Space."
|
||||
msgstr "你可以在此添加這空間的描述"
|
||||
|
||||
#. UnifiedRole Viewer, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:114 pkg/unifiedrole/roles.go:200
|
||||
msgid "View and download."
|
||||
msgstr "查看并下载"
|
||||
|
||||
#. UnifiedRole SecureViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:106
|
||||
msgid "View only documents, images and PDFs. Watermarks will be applied."
|
||||
msgstr "僅能查看文件、圖片和 PDF。將會套用浮水印。"
|
||||
|
||||
#. UnifiedRole ViewerListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:122
|
||||
msgid "View, download and show all invited people."
|
||||
msgstr "查看、下載及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:174
|
||||
msgid "View, download, upload and edit."
|
||||
msgstr "查看、下載、上傳及編輯。"
|
||||
|
||||
#. UnifiedRole EditorLite, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:140 pkg/unifiedrole/roles.go:208
|
||||
msgid "View, download, upload, edit and add."
|
||||
msgstr "查看、下載、上傳、編輯及新增。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:182
|
||||
msgid "View, download, upload, edit and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:148
|
||||
msgid "View, download, upload, edit, add and delete."
|
||||
msgstr "查看,下载,上传,编辑和删除"
|
||||
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:216
|
||||
msgid "View, download, upload, edit, add and show all versions."
|
||||
msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:156
|
||||
msgid "View, download, upload, edit, add, delete and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、新增、刪除及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole SpaceEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:224
|
||||
msgid "View, download, upload, edit, add, show all versions and delete."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本及刪除。"
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid ""
|
||||
"View, download, upload, edit, add, show all versions, delete and manage "
|
||||
"members."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本、刪除及管理成員。"
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:164
|
||||
msgid ""
|
||||
"View, download, upload, edit, delete, show all versions and all invited "
|
||||
"people."
|
||||
msgstr "查看、下載、上傳、編輯、刪除、顯示所有版本及所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:190
|
||||
msgid ""
|
||||
"View, download, upload, edit, show all versions and all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、顯示所有版本及所有受邀者。"
|
||||
@@ -0,0 +1,200 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# fnoopv <fnoopv@outlook.com>, 2026
|
||||
# Shouyuan, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_HK\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. EditorLite
|
||||
#. UnifiedRole EditorLite, Role DisplayName (resolves directly)
|
||||
#. FileEditor
|
||||
#. UnifiedRole FileEditor, Role DisplayName (resolves directly)
|
||||
#. Editor without Versions
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:138 pkg/unifiedrole/roles.go:172
|
||||
#: pkg/unifiedrole/roles.go:206
|
||||
msgid "Can edit"
|
||||
msgstr "可以編輯"
|
||||
|
||||
#. FileEditor + ListGrants
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:180
|
||||
msgid "Can edit and show invitees"
|
||||
msgstr "可以編輯以及顯示共享者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole Editor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:146
|
||||
msgid "Can edit with trashbin"
|
||||
msgstr "可以編輯及使用垃圾桶"
|
||||
|
||||
#. Editor + ListGrants
|
||||
#. UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:154
|
||||
msgid "Can edit with trashbin and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶及顯示受邀者"
|
||||
|
||||
#. Editor + ListGrants + Version
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:162
|
||||
msgid "Can edit with trashbin, versions and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶、版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor without Trashbin
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:214
|
||||
msgid "Can edit with versions"
|
||||
msgstr "可以編輯及使用版本紀錄"
|
||||
|
||||
#. FileEditor + ListGrants + Versions
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:188
|
||||
msgid "Can edit with versions and show invitees"
|
||||
msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:222
|
||||
msgid "Can edit with versions and trashbin"
|
||||
msgstr "可以編輯、使用版本紀錄及垃圾桶"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:230
|
||||
msgid "Can manage"
|
||||
msgstr "可管理"
|
||||
|
||||
#. Viewer
|
||||
#. UnifiedRole Viewer, Role DisplayName (resolves directly)
|
||||
#. Viewer
|
||||
#. UnifiedRole SpaceViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:112 pkg/unifiedrole/roles.go:198
|
||||
msgid "Can view"
|
||||
msgstr "可查看"
|
||||
|
||||
#. SecureViewer
|
||||
#. UnifiedRole SecureViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:104
|
||||
msgid "Can view (secure)"
|
||||
msgstr "可查看(安全模式)"
|
||||
|
||||
#. Viewer + ListGrants
|
||||
#. UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:120
|
||||
msgid "Can view and show invitees"
|
||||
msgstr "可查看及顯示受邀者"
|
||||
|
||||
#. Denial
|
||||
#. UnifiedRole FullDenial, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:130
|
||||
msgid "Cannot access"
|
||||
msgstr "無法存取"
|
||||
|
||||
#. UnifiedRole FullDenial, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:132
|
||||
msgid "Deny all access."
|
||||
msgstr "拒絕所有存取"
|
||||
|
||||
#. default description for new spaces
|
||||
#: pkg/service/v0/spacetemplates.go:32
|
||||
msgid "Here you can add a description for this Space."
|
||||
msgstr "你可以在此添加這空間的描述"
|
||||
|
||||
#. UnifiedRole Viewer, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:114 pkg/unifiedrole/roles.go:200
|
||||
msgid "View and download."
|
||||
msgstr "查看并下载"
|
||||
|
||||
#. UnifiedRole SecureViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:106
|
||||
msgid "View only documents, images and PDFs. Watermarks will be applied."
|
||||
msgstr "僅能查看文件、圖片和 PDF。將會套用浮水印。"
|
||||
|
||||
#. UnifiedRole ViewerListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:122
|
||||
msgid "View, download and show all invited people."
|
||||
msgstr "查看、下載及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:174
|
||||
msgid "View, download, upload and edit."
|
||||
msgstr "查看、下載、上傳及編輯。"
|
||||
|
||||
#. UnifiedRole EditorLite, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:140 pkg/unifiedrole/roles.go:208
|
||||
msgid "View, download, upload, edit and add."
|
||||
msgstr "查看、下載、上傳、編輯及新增。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:182
|
||||
msgid "View, download, upload, edit and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:148
|
||||
msgid "View, download, upload, edit, add and delete."
|
||||
msgstr "查看,下载,上传,编辑和删除"
|
||||
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:216
|
||||
msgid "View, download, upload, edit, add and show all versions."
|
||||
msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:156
|
||||
msgid "View, download, upload, edit, add, delete and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、新增、刪除及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole SpaceEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:224
|
||||
msgid "View, download, upload, edit, add, show all versions and delete."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本及刪除。"
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid ""
|
||||
"View, download, upload, edit, add, show all versions, delete and manage "
|
||||
"members."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本、刪除及管理成員。"
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:164
|
||||
msgid ""
|
||||
"View, download, upload, edit, delete, show all versions and all invited "
|
||||
"people."
|
||||
msgstr "查看、下載、上傳、編輯、刪除、顯示所有版本及所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:190
|
||||
msgid ""
|
||||
"View, download, upload, edit, show all versions and all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、顯示所有版本及所有受邀者。"
|
||||
@@ -0,0 +1,199 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# Shouyuan, 2026
|
||||
# 許明凱 <yuteson@gmail.com>, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_TW\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. EditorLite
|
||||
#. UnifiedRole EditorLite, Role DisplayName (resolves directly)
|
||||
#. FileEditor
|
||||
#. UnifiedRole FileEditor, Role DisplayName (resolves directly)
|
||||
#. Editor without Versions
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:138 pkg/unifiedrole/roles.go:172
|
||||
#: pkg/unifiedrole/roles.go:206
|
||||
msgid "Can edit"
|
||||
msgstr "可以編輯"
|
||||
|
||||
#. FileEditor + ListGrants
|
||||
#. UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:180
|
||||
msgid "Can edit and show invitees"
|
||||
msgstr "可以編輯以及顯示共享者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole Editor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:146
|
||||
msgid "Can edit with trashbin"
|
||||
msgstr "可以編輯及使用垃圾桶"
|
||||
|
||||
#. Editor + ListGrants
|
||||
#. UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:154
|
||||
msgid "Can edit with trashbin and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶及顯示受邀者"
|
||||
|
||||
#. Editor + ListGrants + Version
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:162
|
||||
msgid "Can edit with trashbin, versions and show invitees"
|
||||
msgstr "可以編輯、使用垃圾桶、版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor without Trashbin
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:214
|
||||
msgid "Can edit with versions"
|
||||
msgstr "可以編輯及使用版本紀錄"
|
||||
|
||||
#. FileEditor + ListGrants + Versions
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role DisplayName (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:188
|
||||
msgid "Can edit with versions and show invitees"
|
||||
msgstr "可以編輯、使用版本紀錄及顯示受邀者"
|
||||
|
||||
#. Editor
|
||||
#. UnifiedRole SpaceEditor, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:222
|
||||
msgid "Can edit with versions and trashbin"
|
||||
msgstr "可以編輯、使用版本紀錄及垃圾桶"
|
||||
|
||||
#. Manager
|
||||
#. UnifiedRole Manager, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:230
|
||||
msgid "Can manage"
|
||||
msgstr "可管理"
|
||||
|
||||
#. Viewer
|
||||
#. UnifiedRole Viewer, Role DisplayName (resolves directly)
|
||||
#. Viewer
|
||||
#. UnifiedRole SpaceViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:112 pkg/unifiedrole/roles.go:198
|
||||
msgid "Can view"
|
||||
msgstr "可查看"
|
||||
|
||||
#. SecureViewer
|
||||
#. UnifiedRole SecureViewer, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:104
|
||||
msgid "Can view (secure)"
|
||||
msgstr "可查看(安全模式)"
|
||||
|
||||
#. Viewer + ListGrants
|
||||
#. UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:120
|
||||
msgid "Can view and show invitees"
|
||||
msgstr "可查看及顯示受邀者"
|
||||
|
||||
#. Denial
|
||||
#. UnifiedRole FullDenial, Role DisplayName (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:130
|
||||
msgid "Cannot access"
|
||||
msgstr "無法存取"
|
||||
|
||||
#. UnifiedRole FullDenial, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:132
|
||||
msgid "Deny all access."
|
||||
msgstr "拒絕所有存取"
|
||||
|
||||
#. default description for new spaces
|
||||
#: pkg/service/v0/spacetemplates.go:32
|
||||
msgid "Here you can add a description for this Space."
|
||||
msgstr "您可以在此處為此空間添加描述。"
|
||||
|
||||
#. UnifiedRole Viewer, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:114 pkg/unifiedrole/roles.go:200
|
||||
msgid "View and download."
|
||||
msgstr "查看並下載。"
|
||||
|
||||
#. UnifiedRole SecureViewer, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:106
|
||||
msgid "View only documents, images and PDFs. Watermarks will be applied."
|
||||
msgstr "僅能查看文件、圖片和 PDF。將會套用浮水印。"
|
||||
|
||||
#. UnifiedRole ViewerListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:122
|
||||
msgid "View, download and show all invited people."
|
||||
msgstr "查看、下載及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:174
|
||||
msgid "View, download, upload and edit."
|
||||
msgstr "查看、下載、上傳及編輯。"
|
||||
|
||||
#. UnifiedRole EditorLite, Role Description (resolves directly)
|
||||
#. UnifiedRole SpaceEditorWithoutVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:140 pkg/unifiedrole/roles.go:208
|
||||
msgid "View, download, upload, edit and add."
|
||||
msgstr "查看、下載、上傳、編輯及新增。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrants, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:182
|
||||
msgid "View, download, upload, edit and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:148
|
||||
msgid "View, download, upload, edit, add and delete."
|
||||
msgstr "查看、下載、上傳、編輯、新增及刪除。"
|
||||
|
||||
#. UnifiedRole SpaceEditorWithoutTrashbin, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:216
|
||||
msgid "View, download, upload, edit, add and show all versions."
|
||||
msgstr "查看、下載、上傳、編輯、新增及顯示所有版本。"
|
||||
|
||||
#. UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:156
|
||||
msgid "View, download, upload, edit, add, delete and show all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、新增、刪除及顯示所有受邀者。"
|
||||
|
||||
#. UnifiedRole SpaceEditor, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:224
|
||||
msgid "View, download, upload, edit, add, show all versions and delete."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本及刪除。"
|
||||
|
||||
#. UnifiedRole Manager, Role Description (resolves directly)
|
||||
#: pkg/unifiedrole/roles.go:232
|
||||
msgid ""
|
||||
"View, download, upload, edit, add, show all versions, delete and manage "
|
||||
"members."
|
||||
msgstr "查看、下載、上傳、編輯、新增、顯示所有版本、刪除及管理成員。"
|
||||
|
||||
#. UnifiedRole EditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:164
|
||||
msgid ""
|
||||
"View, download, upload, edit, delete, show all versions and all invited "
|
||||
"people."
|
||||
msgstr "查看、下載、上傳、編輯、刪除、顯示所有版本及所有受邀者。"
|
||||
|
||||
#. UnifiedRole FileEditorListGrantsWithVersions, Role Description (resolves
|
||||
#. directly)
|
||||
#: pkg/unifiedrole/roles.go:190
|
||||
msgid ""
|
||||
"View, download, upload, edit, show all versions and all invited people."
|
||||
msgstr "查看、下載、上傳、編輯、顯示所有版本及所有受邀者。"
|
||||
@@ -556,40 +556,13 @@ func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemI
|
||||
ctx, span := s.tp.Tracer("graph").Start(ctx, "DeletePermission")
|
||||
defer span.End()
|
||||
|
||||
var permissionType permissionType
|
||||
|
||||
sharedResourceID, err := s.getLinkPermissionResourceID(ctx, permissionID)
|
||||
switch {
|
||||
// Check if the ID is referring to a public share
|
||||
case err == nil:
|
||||
permissionType = Public
|
||||
// If the item id is referring to a space root and this is not a public share
|
||||
// we have to deal with space permissions
|
||||
case IsSpaceRoot(itemID):
|
||||
permissionType = Space
|
||||
sharedResourceID = itemID
|
||||
err = nil
|
||||
// If this is neither a public share nor a space permission, check if this is a
|
||||
// user share
|
||||
default:
|
||||
sharedResourceID, err = s.getUserPermissionResourceID(ctx, permissionID)
|
||||
if err == nil {
|
||||
permissionType = User
|
||||
}
|
||||
}
|
||||
|
||||
if sharedResourceID == nil && s.config.IncludeOCMSharees {
|
||||
sharedResourceID, err = s.getOCMPermissionResourceID(ctx, permissionID)
|
||||
if err == nil {
|
||||
permissionType = OCM
|
||||
}
|
||||
}
|
||||
permType, sharedResourceID, err := s.resolveDeletePermission(ctx, itemID, permissionID)
|
||||
|
||||
switch {
|
||||
case err != nil:
|
||||
s.logger.Error().Err(err).Msg("permission error")
|
||||
return err
|
||||
case permissionType == Unknown:
|
||||
case permType == Unknown:
|
||||
s.logger.Error().Err(err).Msg("permission not found")
|
||||
return errorcode.New(errorcode.ItemNotFound, "permission not found")
|
||||
case sharedResourceID == nil:
|
||||
@@ -605,7 +578,7 @@ func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemI
|
||||
return err
|
||||
}
|
||||
|
||||
switch permissionType {
|
||||
switch permType {
|
||||
case User:
|
||||
return s.removeUserShare(ctx, permissionID)
|
||||
case Public:
|
||||
@@ -622,6 +595,54 @@ func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemI
|
||||
}
|
||||
}
|
||||
|
||||
// resolveDeletePermission determines the type and shared resource ID for a permission
|
||||
// that is about to be deleted.
|
||||
func (s DriveItemPermissionsService) resolveDeletePermission(ctx context.Context, itemID *storageprovider.ResourceId, permissionID string) (permissionType, *storageprovider.ResourceId, error) {
|
||||
if IsSpaceRoot(itemID) {
|
||||
return s.resolveSpaceRootPermission(ctx, itemID, permissionID)
|
||||
}
|
||||
return s.resolveItemPermission(ctx, permissionID)
|
||||
}
|
||||
|
||||
// resolveSpaceRootPermission resolves permissions on a space root. Space roots
|
||||
// carry space permissions (member/group grants with "u:"/"g:" prefixed IDs) and
|
||||
// public links. Space permissions are recognised by their ID format to avoid a
|
||||
// superfluous gateway call to GetPublicShare.
|
||||
func (s DriveItemPermissionsService) resolveSpaceRootPermission(ctx context.Context, itemID *storageprovider.ResourceId, permissionID string) (permissionType, *storageprovider.ResourceId, error) {
|
||||
if _, parseErr := spacePermissionIdToCS3Grantee(permissionID); parseErr == nil {
|
||||
return Space, itemID, nil
|
||||
}
|
||||
|
||||
sharedResourceID, err := s.getLinkPermissionResourceID(ctx, permissionID)
|
||||
if err == nil {
|
||||
return Public, sharedResourceID, nil
|
||||
}
|
||||
return Unknown, nil, err
|
||||
}
|
||||
|
||||
// resolveItemPermission resolves permissions on a non-space-root item by trying
|
||||
// public link, user share, then OCM share lookups in order.
|
||||
func (s DriveItemPermissionsService) resolveItemPermission(ctx context.Context, permissionID string) (permissionType, *storageprovider.ResourceId, error) {
|
||||
sharedResourceID, err := s.getLinkPermissionResourceID(ctx, permissionID)
|
||||
if err == nil {
|
||||
return Public, sharedResourceID, nil
|
||||
}
|
||||
|
||||
sharedResourceID, err = s.getUserPermissionResourceID(ctx, permissionID)
|
||||
if err == nil {
|
||||
return User, sharedResourceID, nil
|
||||
}
|
||||
|
||||
if s.config.IncludeOCMSharees {
|
||||
sharedResourceID, err = s.getOCMPermissionResourceID(ctx, permissionID)
|
||||
if err == nil {
|
||||
return OCM, sharedResourceID, nil
|
||||
}
|
||||
}
|
||||
|
||||
return Unknown, nil, err
|
||||
}
|
||||
|
||||
// DeleteSpaceRootPermission deletes a permission on the root item of a project space
|
||||
func (s DriveItemPermissionsService) DeleteSpaceRootPermission(ctx context.Context, driveID *storageprovider.ResourceId, permissionID string) error {
|
||||
|
||||
|
||||
@@ -822,9 +822,8 @@ var _ = Describe("DriveItemPermissionsService", func() {
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
})
|
||||
It("deletes a space permission as expected", func() {
|
||||
getPublicShareResponse.Status = status.NewNotFound(context.Background(), "")
|
||||
gatewayClient.On("GetPublicShare", mock.Anything, mock.Anything).Return(&getPublicShareResponse, nil)
|
||||
|
||||
// No GetPublicShare mock needed — space permissions (u:/g: prefixed IDs)
|
||||
// are recognised by their format and skip the public share lookup.
|
||||
gatewayClient.On("RemoveShare",
|
||||
mock.Anything,
|
||||
mock.Anything,
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
"@types/react-dom": "^17.0.26",
|
||||
"@types/react-redux": "^7.1.34",
|
||||
"@types/redux-logger": "^3.0.13",
|
||||
"axios": "^1.13.5",
|
||||
"axios": "^1.15.0",
|
||||
"classnames": "^2.5.1",
|
||||
"form-data": "4.0.4",
|
||||
"i18next": "^23.16.8",
|
||||
@@ -171,7 +171,7 @@
|
||||
"glob": "10.5.0",
|
||||
"minimatch@>=9.0.0 <9.0.7": "9.0.7",
|
||||
"js-yaml": ">=4.1.1",
|
||||
"lodash": ">=4.17.23",
|
||||
"lodash": ">=4.18.1",
|
||||
"undici": ">=7.18.2",
|
||||
"vue-template-compiler": "^3.0.0",
|
||||
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
|
||||
|
||||
Generated
+44
-35
@@ -8,7 +8,7 @@ overrides:
|
||||
glob: 10.5.0
|
||||
minimatch@>=9.0.0 <9.0.7: 9.0.7
|
||||
js-yaml: '>=4.1.1'
|
||||
lodash: '>=4.17.23'
|
||||
lodash: '>=4.18.1'
|
||||
undici: '>=7.18.2'
|
||||
vue-template-compiler: ^3.0.0
|
||||
brace-expansion@>=1.0.0 <=1.1.11: '>=1.1.12'
|
||||
@@ -59,8 +59,8 @@ importers:
|
||||
specifier: ^3.0.13
|
||||
version: 3.0.13
|
||||
axios:
|
||||
specifier: ^1.13.5
|
||||
version: 1.13.5
|
||||
specifier: ^1.15.0
|
||||
version: 1.15.0
|
||||
classnames:
|
||||
specifier: ^2.5.1
|
||||
version: 2.5.1
|
||||
@@ -1107,6 +1107,10 @@ packages:
|
||||
resolution: {integrity: sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/runtime@7.29.2':
|
||||
resolution: {integrity: sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/template@7.28.6':
|
||||
resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
@@ -2502,6 +2506,7 @@ packages:
|
||||
'@xmldom/xmldom@0.8.10':
|
||||
resolution: {integrity: sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
deprecated: this version has critical issues, please update to the latest version
|
||||
|
||||
'@xtuc/ieee754@1.2.0':
|
||||
resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}
|
||||
@@ -2693,8 +2698,8 @@ packages:
|
||||
resolution: {integrity: sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==}
|
||||
engines: {node: '>=4'}
|
||||
|
||||
axios@1.13.5:
|
||||
resolution: {integrity: sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q==}
|
||||
axios@1.15.0:
|
||||
resolution: {integrity: sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==}
|
||||
|
||||
axobject-query@4.1.0:
|
||||
resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}
|
||||
@@ -4091,6 +4096,7 @@ packages:
|
||||
i18next-parser@9.3.0:
|
||||
resolution: {integrity: sha512-VaQqk/6nLzTFx1MDiCZFtzZXKKyBV6Dv0cJMFM/hOt4/BWHWRgYafzYfVQRUzotwUwjqeNCprWnutzD/YAGczg==}
|
||||
engines: {node: ^18.0.0 || ^20.0.0 || ^22.0.0, npm: '>=6', yarn: '>=1'}
|
||||
deprecated: Project is deprecated, use i18next-cli instead
|
||||
hasBin: true
|
||||
|
||||
i18next-resources-to-backend@1.2.1:
|
||||
@@ -4684,8 +4690,8 @@ packages:
|
||||
lodash.uniq@4.5.0:
|
||||
resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==}
|
||||
|
||||
lodash@4.17.23:
|
||||
resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}
|
||||
lodash@4.18.1:
|
||||
resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==}
|
||||
|
||||
loose-envify@1.4.0:
|
||||
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
|
||||
@@ -5539,8 +5545,9 @@ packages:
|
||||
prop-types@15.8.1:
|
||||
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
|
||||
|
||||
proxy-from-env@1.1.0:
|
||||
resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
|
||||
proxy-from-env@2.1.0:
|
||||
resolution: {integrity: sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==}
|
||||
engines: {node: '>=10'}
|
||||
|
||||
punycode@2.3.1:
|
||||
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
|
||||
@@ -7737,6 +7744,8 @@ snapshots:
|
||||
|
||||
'@babel/runtime@7.28.6': {}
|
||||
|
||||
'@babel/runtime@7.29.2': {}
|
||||
|
||||
'@babel/template@7.28.6':
|
||||
dependencies:
|
||||
'@babel/code-frame': 7.28.6
|
||||
@@ -8521,7 +8530,7 @@ snapshots:
|
||||
|
||||
'@material-ui/core@4.12.4(@types/react@17.0.87)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
'@material-ui/styles': 4.11.5(@types/react@17.0.87)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@material-ui/system': 4.12.2(@types/react@17.0.87)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@material-ui/types': 5.1.0(@types/react@17.0.87)
|
||||
@@ -8540,7 +8549,7 @@ snapshots:
|
||||
|
||||
'@material-ui/styles@4.11.5(@types/react@17.0.87)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
'@emotion/hash': 0.8.0
|
||||
'@material-ui/types': 5.1.0(@types/react@17.0.87)
|
||||
'@material-ui/utils': 4.11.3(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
@@ -8563,7 +8572,7 @@ snapshots:
|
||||
|
||||
'@material-ui/system@4.12.2(@types/react@17.0.87)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
'@material-ui/utils': 4.11.3(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
csstype: 2.6.21
|
||||
prop-types: 15.8.1
|
||||
@@ -8578,7 +8587,7 @@ snapshots:
|
||||
|
||||
'@material-ui/utils@4.11.3(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
prop-types: 15.8.1
|
||||
react: 17.0.2
|
||||
react-dom: 17.0.2(react@17.0.2)
|
||||
@@ -8773,7 +8782,7 @@ snapshots:
|
||||
'@testing-library/dom@10.3.2':
|
||||
dependencies:
|
||||
'@babel/code-frame': 7.29.0
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
'@types/aria-query': 5.0.4
|
||||
aria-query: 5.3.0
|
||||
chalk: 4.1.2
|
||||
@@ -8798,7 +8807,7 @@ snapshots:
|
||||
aria-query: 5.3.0
|
||||
css.escape: 1.5.1
|
||||
dom-accessibility-api: 0.6.3
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
picocolors: 1.1.1
|
||||
redent: 3.0.0
|
||||
|
||||
@@ -9540,11 +9549,11 @@ snapshots:
|
||||
|
||||
axe-core@4.10.3: {}
|
||||
|
||||
axios@1.13.5:
|
||||
axios@1.15.0:
|
||||
dependencies:
|
||||
follow-redirects: 1.15.11
|
||||
form-data: 4.0.5
|
||||
proxy-from-env: 1.1.0
|
||||
proxy-from-env: 2.1.0
|
||||
transitivePeerDependencies:
|
||||
- debug
|
||||
|
||||
@@ -10100,7 +10109,7 @@ snapshots:
|
||||
|
||||
css-vendor@2.0.8:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
is-in-browser: 1.1.3
|
||||
|
||||
css-what@6.1.0: {}
|
||||
@@ -10670,12 +10679,12 @@ snapshots:
|
||||
'@babel/plugin-syntax-flow': 7.24.7(@babel/core@7.28.6)
|
||||
'@babel/plugin-transform-react-jsx': 7.27.1(@babel/core@7.28.6)
|
||||
eslint: 8.57.1
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
string-natural-compare: 3.0.1
|
||||
|
||||
eslint-plugin-i18next@6.1.3:
|
||||
dependencies:
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
requireindex: 1.1.0
|
||||
|
||||
eslint-plugin-import@2.32.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1):
|
||||
@@ -11340,7 +11349,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@types/html-minifier-terser': 6.1.0
|
||||
html-minifier-terser: 6.1.0
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
pretty-error: 4.0.0
|
||||
tapable: 2.3.0
|
||||
optionalDependencies:
|
||||
@@ -12050,46 +12059,46 @@ snapshots:
|
||||
|
||||
jss-plugin-camel-case@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
hyphenate-style-name: 1.1.0
|
||||
jss: 10.10.0
|
||||
|
||||
jss-plugin-default-unit@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
jss: 10.10.0
|
||||
|
||||
jss-plugin-global@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
jss: 10.10.0
|
||||
|
||||
jss-plugin-nested@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
jss: 10.10.0
|
||||
tiny-warning: 1.0.3
|
||||
|
||||
jss-plugin-props-sort@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
jss: 10.10.0
|
||||
|
||||
jss-plugin-rule-value-function@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
jss: 10.10.0
|
||||
tiny-warning: 1.0.3
|
||||
|
||||
jss-plugin-vendor-prefixer@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
css-vendor: 2.0.8
|
||||
jss: 10.10.0
|
||||
|
||||
jss@10.10.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.6
|
||||
'@babel/runtime': 7.29.2
|
||||
csstype: 3.2.3
|
||||
is-in-browser: 1.1.3
|
||||
tiny-warning: 1.0.3
|
||||
@@ -12183,7 +12192,7 @@ snapshots:
|
||||
|
||||
lodash.uniq@4.5.0: {}
|
||||
|
||||
lodash@4.17.23: {}
|
||||
lodash@4.18.1: {}
|
||||
|
||||
loose-envify@1.4.0:
|
||||
dependencies:
|
||||
@@ -13018,7 +13027,7 @@ snapshots:
|
||||
|
||||
pretty-error@4.0.0:
|
||||
dependencies:
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
renderkid: 3.0.0
|
||||
|
||||
pretty-format@27.5.1:
|
||||
@@ -13054,7 +13063,7 @@ snapshots:
|
||||
object-assign: 4.1.1
|
||||
react-is: 16.13.1
|
||||
|
||||
proxy-from-env@1.1.0: {}
|
||||
proxy-from-env@2.1.0: {}
|
||||
|
||||
punycode@2.3.1: {}
|
||||
|
||||
@@ -13362,7 +13371,7 @@ snapshots:
|
||||
css-select: 4.3.0
|
||||
dom-converter: 0.2.0
|
||||
htmlparser2: 6.1.0
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
strip-ansi: 6.0.1
|
||||
|
||||
replace-ext@2.0.0: {}
|
||||
@@ -13601,7 +13610,7 @@ snapshots:
|
||||
escape-html: 1.0.3
|
||||
glob: 10.5.0
|
||||
gzip-size: 6.0.0
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
open: 7.4.2
|
||||
source-map: 0.7.4
|
||||
temp: 0.9.4
|
||||
@@ -14331,7 +14340,7 @@ snapshots:
|
||||
fast-json-stable-stringify: 2.1.0
|
||||
fs-extra: 9.1.0
|
||||
glob: 10.5.0
|
||||
lodash: 4.17.23
|
||||
lodash: 4.18.1
|
||||
pretty-bytes: 5.6.0
|
||||
rollup: 2.80.0
|
||||
source-map: 0.8.0-beta.0
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-08 00:34+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-08 00:34+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-08 00:34+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 14:42+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+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"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Bulgarian (https://app.transifex.com/owncloud-org/teams/6149/bg/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Martin <github@diemattels.at>, 2026
|
||||
# Cesare Capoferri, 2026
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Cesare Capoferri, 2026\n"
|
||||
"Language-Team: Italian (https://app.transifex.com/owncloud-org/teams/6149/it/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: it\n"
|
||||
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#: pkg/service/templates.go:39
|
||||
msgid "Access to Space {space} lost"
|
||||
msgstr "Accesso allo spazio{space} perso"
|
||||
|
||||
#: pkg/service/templates.go:54
|
||||
msgid "Access to {resource} expired"
|
||||
msgstr "Accesso a {resource} scaduto"
|
||||
|
||||
#: pkg/service/templates.go:59
|
||||
msgid ""
|
||||
"Attention! The instance will be shut down and deprovisioned on {date}. "
|
||||
"Download all your data before that date as no access past that date is "
|
||||
"possible."
|
||||
msgstr ""
|
||||
"Attenzione! L'istanza verrà spenta e dismessa il {date}. Scarica tutti i "
|
||||
"tuoi dati prima di quella data in quanto non sarà più possibile l'accesso "
|
||||
"dopo quella data."
|
||||
|
||||
#: pkg/service/templates.go:14
|
||||
msgid "File {resource} was deleted because it violates the policies"
|
||||
msgstr "Il file {resource} è stato eliminato perché viola le policy."
|
||||
|
||||
#: pkg/service/templates.go:58
|
||||
msgid "Instance will be shut down and deprovisioned"
|
||||
msgstr "L'istanza verrà spenta e dismessa."
|
||||
|
||||
#: pkg/service/templates.go:38
|
||||
msgid "Membership expired"
|
||||
msgstr "Iscrizione scaduta"
|
||||
|
||||
#: pkg/service/templates.go:13
|
||||
msgid "Policies enforced"
|
||||
msgstr "Policy applicate"
|
||||
|
||||
#: pkg/service/templates.go:23
|
||||
msgid "Removed from Space"
|
||||
msgstr "Rimosso dallo Spazio"
|
||||
|
||||
#: pkg/service/templates.go:43
|
||||
msgid "Resource shared"
|
||||
msgstr "Risorsa condivisa"
|
||||
|
||||
#: pkg/service/templates.go:48
|
||||
msgid "Resource unshared"
|
||||
msgstr "Risorsa non condivisa"
|
||||
|
||||
#: pkg/service/templates.go:53
|
||||
msgid "Share expired"
|
||||
msgstr "Condivisione scaduta"
|
||||
|
||||
#: pkg/service/templates.go:33
|
||||
msgid "Space deleted"
|
||||
msgstr "Spazio cancellato"
|
||||
|
||||
#: pkg/service/templates.go:28
|
||||
msgid "Space disabled"
|
||||
msgstr "Spazio disabilitato"
|
||||
|
||||
#: pkg/service/templates.go:18
|
||||
msgid "Space shared"
|
||||
msgstr "Condivizione Spazio"
|
||||
|
||||
#: pkg/service/templates.go:8
|
||||
msgid "Virus found"
|
||||
msgstr "Virus individuato"
|
||||
|
||||
#: pkg/service/templates.go:9
|
||||
msgid "Virus found in {resource}. Upload not possible. Virus: {virus}"
|
||||
msgstr "Virus individuato in {resource}. Upload non possibile. Virus: {virus}"
|
||||
|
||||
#: pkg/service/templates.go:19
|
||||
msgid "{user} added you to Space {space}"
|
||||
msgstr "{user} aggiunto al tuo Spazio {space}"
|
||||
|
||||
#: pkg/service/templates.go:34
|
||||
msgid "{user} deleted Space {space}"
|
||||
msgstr "{user} ha eliminato lo Spazio {space}"
|
||||
|
||||
#: pkg/service/templates.go:29
|
||||
msgid "{user} disabled Space {space}"
|
||||
msgstr "{user} ha disabilitato lo Spazio {space}"
|
||||
|
||||
#: pkg/service/templates.go:24
|
||||
msgid "{user} removed you from Space {space}"
|
||||
msgstr "{user} ti ha rimosso dallo Spazio {space}"
|
||||
|
||||
#: pkg/service/templates.go:44
|
||||
msgid "{user} shared {resource} with you"
|
||||
msgstr "{user} ha condiviso {resource} con te"
|
||||
|
||||
#: pkg/service/templates.go:49
|
||||
msgid "{user} unshared {resource} with you"
|
||||
msgstr "{user} ha rimosso la condivisione di {resource} con te"
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Korean (https://app.transifex.com/owncloud-org/teams/6149/ko/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Turkish (https://app.transifex.com/owncloud-org/teams/6149/tr/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+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-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Chinese (https://app.transifex.com/owncloud-org/teams/6149/zh/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Chinese (China) (https://app.transifex.com/owncloud-org/teams/6149/zh_CN/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Chinese (Hong Kong) (https://app.transifex.com/owncloud-org/teams/6149/zh_HK/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2026-03-05 00:04+0000\n"
|
||||
"POT-Creation-Date: 2026-03-24 00:06+0000\n"
|
||||
"PO-Revision-Date: 2026-01-02 10:52+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2026\n"
|
||||
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/owncloud-org/teams/6149/zh_TW/)\n"
|
||||
|
||||
@@ -38,6 +38,46 @@ require_once 'bootstrap.php';
|
||||
class SearchContext implements Context {
|
||||
private FeatureContext $featureContext;
|
||||
|
||||
/**
|
||||
* Retry search until results are non-empty or timeout is reached.
|
||||
* Indexing of newly uploaded files in ocis is async, so a single
|
||||
* fixed sleep is not reliable — poll instead.
|
||||
*
|
||||
* @param string $user
|
||||
* @param string $pattern
|
||||
* @param string|null $limit
|
||||
* @param string|null $scopeType
|
||||
* @param string|null $scope
|
||||
* @param string|null $spaceName
|
||||
* @param TableNode|null $properties
|
||||
*
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
private function searchWithRetry(
|
||||
string $user,
|
||||
string $pattern,
|
||||
?string $limit = null,
|
||||
?string $scopeType = null,
|
||||
?string $scope = null,
|
||||
?string $spaceName = null,
|
||||
?TableNode $properties = null,
|
||||
): ResponseInterface {
|
||||
// Indexing is async — poll until results appear.
|
||||
// Initial wait 3s, then retry every 2s, up to ~13s total.
|
||||
$maxAttempts = STANDARD_RETRY_COUNT;
|
||||
$response = null;
|
||||
for ($attempt = 0; $attempt < $maxAttempts; $attempt++) {
|
||||
\sleep($attempt === 0 ? 3 : 2);
|
||||
$response = $this->searchFiles($user, $pattern, $limit, $scopeType, $scope, $spaceName, $properties);
|
||||
$parsed = HttpRequestHelper::parseResponseAsXml($response);
|
||||
if (\is_array($parsed) && isset($parsed["value"]) && !empty($parsed["value"])) {
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
// return last response even if empty — let the assertion step produce the failure message
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $user
|
||||
* @param string $pattern
|
||||
@@ -146,10 +186,7 @@ class SearchContext implements Context {
|
||||
?string $limit = null,
|
||||
?TableNode $properties = null,
|
||||
): void {
|
||||
// NOTE: because indexing of newly uploaded files or directories with ocis is decoupled and occurs asynchronously
|
||||
// short wait is necessary before searching
|
||||
sleep(5);
|
||||
$response = $this->searchFiles($user, $pattern, $limit, null, null, null, $properties);
|
||||
$response = $this->searchWithRetry($user, $pattern, $limit, null, null, null, $properties);
|
||||
$this->featureContext->setResponse($response);
|
||||
}
|
||||
|
||||
@@ -269,10 +306,7 @@ class SearchContext implements Context {
|
||||
string $scope,
|
||||
?string $spaceName = null,
|
||||
): void {
|
||||
// NOTE: since indexing of newly uploaded files or directories with ocis is decoupled and occurs asynchronously,
|
||||
// a short wait is necessary before searching
|
||||
sleep(5);
|
||||
$response = $this-> searchFiles($user, $pattern, null, $scopeType, $scope, $spaceName);
|
||||
$response = $this->searchWithRetry($user, $pattern, null, $scopeType, $scope, $spaceName);
|
||||
$this->featureContext->setResponse($response);
|
||||
}
|
||||
}
|
||||
@@ -4063,10 +4063,46 @@ trait WebDav {
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theDownloadedPreviewContentShouldMatchWithFixturesPreviewContentFor(string $filename): void {
|
||||
$expectedPreview = \file_get_contents(__DIR__ . "/../fixtures/" . $filename);
|
||||
$fixturePath = __DIR__ . "/../fixtures/" . $filename;
|
||||
$fixtureImg = \imagecreatefromstring(\file_get_contents($fixturePath));
|
||||
Assert::assertNotFalse($fixtureImg, "Could not decode fixture image $filename");
|
||||
|
||||
$this->getResponse()->getBody()->rewind();
|
||||
$responseBodyContent = $this->getResponse()->getBody()->getContents();
|
||||
Assert::assertEquals($expectedPreview, $responseBodyContent);
|
||||
$responseImg = \imagecreatefromstring($responseBodyContent);
|
||||
Assert::assertNotFalse($responseImg, "Downloaded preview is not a valid image");
|
||||
|
||||
$w = \imagesx($fixtureImg);
|
||||
$h = \imagesy($fixtureImg);
|
||||
Assert::assertEquals($w, \imagesx($responseImg), "Image width mismatch for fixture $filename");
|
||||
Assert::assertEquals($h, \imagesy($responseImg), "Image height mismatch for fixture $filename");
|
||||
|
||||
$tolerance = 12; // per-channel tolerance for libvips version differences
|
||||
$maxDiff = 0;
|
||||
for ($x = 0; $x < $w; $x++) {
|
||||
for ($y = 0; $y < $h; $y++) {
|
||||
$fc = \imagecolorat($fixtureImg, $x, $y);
|
||||
$rc = \imagecolorat($responseImg, $x, $y);
|
||||
$maxDiff = \max(
|
||||
$maxDiff,
|
||||
\abs(($fc >> 16 & 0xFF) - ($rc >> 16 & 0xFF)),
|
||||
\abs(($fc >> 8 & 0xFF) - ($rc >> 8 & 0xFF)),
|
||||
\abs(($fc & 0xFF) - ($rc & 0xFF)),
|
||||
);
|
||||
}
|
||||
}
|
||||
$rw = \imagesx($responseImg);
|
||||
$rh = \imagesy($responseImg);
|
||||
echo " [preview-fixture] $filename: fixture={$w}x{$h} response={$rw}x{$rh} maxPixelDiff=$maxDiff\n";
|
||||
|
||||
Assert::assertLessThanOrEqual(
|
||||
$tolerance,
|
||||
$maxDiff,
|
||||
"Preview pixel values differ by more than $tolerance from fixture $filename (max diff: $maxDiff)",
|
||||
);
|
||||
|
||||
\imagedestroy($fixtureImg);
|
||||
\imagedestroy($responseImg);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -302,6 +302,7 @@ The expected failures in this file are from features in the owncloud/ocis repo.
|
||||
- [apiOcm/share.feature:1238](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1238)
|
||||
- [apiOcm/share.feature:1349](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1349)
|
||||
|
||||
|
||||
#### [[OCM] federated user trying to download file shared with permissions role Secure Viewer returns 500 status code](https://github.com/owncloud/ocis/issues/10822)
|
||||
|
||||
- [apiOcm/enableDisablePermissionsRole.feature:18](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/enableDisablePermissionsRole.feature#L18)
|
||||
|
||||
@@ -59,8 +59,8 @@ Feature: List upload sessions via CLI command
|
||||
|
||||
Scenario: list and cleanup the expired upload sessions
|
||||
Given a file "large.zip" with the size of "2GB" has been created locally
|
||||
And the config "STORAGE_USERS_UPLOAD_EXPIRATION" has been set to "1" for "storageuser" service
|
||||
And user "Alice" has uploaded a file from "filesForUpload/textfile.txt" to "file.txt" via TUS inside of the space "Personal" using the WebDAV API
|
||||
And the config "STORAGE_USERS_UPLOAD_EXPIRATION" has been set to "1" for "storageuser" service
|
||||
And user "Alice" has tried to upload file "filesForUpload/large.zip" to "large.zip" inside space "Personal" via TUS
|
||||
When the administrator lists all the upload sessions with flag "expired"
|
||||
Then the command should be successful
|
||||
@@ -203,8 +203,8 @@ Feature: List upload sessions via CLI command
|
||||
|
||||
Scenario: restart expired upload sessions
|
||||
Given a file "large.zip" with the size of "2GB" has been created locally
|
||||
And the config "STORAGE_USERS_UPLOAD_EXPIRATION" has been set to "1" for "storageuser" service
|
||||
And user "Alice" has uploaded a file from "filesForUpload/textfile.txt" to "file.txt" via TUS inside of the space "Personal" using the WebDAV API
|
||||
And the config "STORAGE_USERS_UPLOAD_EXPIRATION" has been set to "1" for "storageuser" service
|
||||
And user "Alice" has tried to upload file "filesForUpload/large.zip" to "large.zip" inside space "Personal" via TUS
|
||||
When the administrator restarts the expired upload sessions using the CLI
|
||||
Then the command should be successful
|
||||
|
||||
@@ -0,0 +1,143 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Run CS3 API validator tests locally and in GitHub Actions CI.
|
||||
|
||||
Config sourced from .drone.star cs3ApiTests() — single source of truth.
|
||||
Usage: python3 tests/acceptance/run-cs3api.py
|
||||
"""
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Constants (mirroring .drone.star)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# HTTPS — matching drone: ocis init generates a self-signed cert; proxy uses TLS by default.
|
||||
# Host-side curl calls use -k (insecure) to skip cert verification.
|
||||
OCIS_URL = "https://127.0.0.1:9200"
|
||||
CS3API_IMAGE = "owncloud/cs3api-validator:0.2.1"
|
||||
|
||||
|
||||
def get_docker_bridge_ip() -> str:
|
||||
"""Return the Docker bridge gateway IP, reachable from host and Docker containers."""
|
||||
r = subprocess.run(
|
||||
["docker", "network", "inspect", "bridge",
|
||||
"--format", "{{range .IPAM.Config}}{{.Gateway}}{{end}}"],
|
||||
capture_output=True, text=True, check=True,
|
||||
)
|
||||
return r.stdout.strip()
|
||||
|
||||
|
||||
def base_server_env(repo_root: Path, ocis_config_dir: str, ocis_public_url: str) -> dict:
|
||||
"""OCIS server environment matching drone ocisServer(deploy_type='cs3api_validator')."""
|
||||
return {
|
||||
"OCIS_URL": ocis_public_url,
|
||||
"OCIS_CONFIG_DIR": ocis_config_dir,
|
||||
"STORAGE_USERS_DRIVER": "ocis",
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
# No PROXY_TLS override — drone lets ocis use its default TLS (self-signed cert from init)
|
||||
# IDP excluded: its static assets are absent when running as a host process
|
||||
"OCIS_EXCLUDE_RUN_SERVICES": "idp",
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"IDM_CREATE_DEMO_USERS": "true",
|
||||
"IDM_ADMIN_PASSWORD": "admin",
|
||||
"FRONTEND_SEARCH_MIN_LENGTH": "2",
|
||||
"OCIS_ASYNC_UPLOADS": "true",
|
||||
"OCIS_EVENTS_ENABLE_TLS": "false",
|
||||
"NATS_NATS_HOST": "0.0.0.0",
|
||||
"NATS_NATS_PORT": "9233",
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"EVENTHISTORY_STORE": "memory",
|
||||
"WEB_UI_CONFIG_FILE": str(repo_root / "tests/config/drone/ocis-config.json"),
|
||||
# cs3api_validator extras (drone ocisServer deploy_type="cs3api_validator")
|
||||
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
|
||||
"OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD": "false",
|
||||
}
|
||||
|
||||
|
||||
def wait_for(condition_fn, timeout: int, label: str) -> None:
|
||||
deadline = time.time() + timeout
|
||||
while not condition_fn():
|
||||
if time.time() > deadline:
|
||||
print(f"Timeout waiting for {label}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
def ocis_healthy(ocis_url: str) -> bool:
|
||||
r = subprocess.run(
|
||||
["curl", "-sk", "-uadmin:admin",
|
||||
f"{ocis_url}/graph/v1.0/users/admin",
|
||||
"-w", "%{http_code}", "-o", "/dev/null"],
|
||||
capture_output=True, text=True,
|
||||
)
|
||||
return r.stdout.strip() == "200"
|
||||
|
||||
|
||||
def main() -> int:
|
||||
repo_root = Path(__file__).resolve().parents[2]
|
||||
ocis_bin = repo_root / "ocis/bin/ocis"
|
||||
ocis_config_dir = Path.home() / ".ocis/config"
|
||||
|
||||
subprocess.run(["make", "-C", str(repo_root / "ocis"), "build"], check=True)
|
||||
|
||||
# Docker bridge gateway IP: reachable from both the host and Docker containers.
|
||||
# cs3api-validator connects to the GRPC gateway at {bridge_ip}:9142.
|
||||
bridge_ip = get_docker_bridge_ip()
|
||||
print(f"Docker bridge IP: {bridge_ip}", flush=True)
|
||||
|
||||
server_env = {**os.environ}
|
||||
server_env.update(base_server_env(repo_root, str(ocis_config_dir),
|
||||
f"https://{bridge_ip}:9200"))
|
||||
|
||||
subprocess.run(
|
||||
[str(ocis_bin), "init", "--insecure", "true"],
|
||||
env=server_env,
|
||||
check=True,
|
||||
)
|
||||
shutil.copy(
|
||||
repo_root / "tests/config/drone/app-registry.yaml",
|
||||
ocis_config_dir / "app-registry.yaml",
|
||||
)
|
||||
|
||||
print("Starting ocis...", flush=True)
|
||||
ocis_proc = subprocess.Popen(
|
||||
[str(ocis_bin), "server"],
|
||||
env=server_env,
|
||||
)
|
||||
|
||||
def cleanup(*_):
|
||||
try:
|
||||
ocis_proc.terminate()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
signal.signal(signal.SIGTERM, cleanup)
|
||||
signal.signal(signal.SIGINT, cleanup)
|
||||
|
||||
try:
|
||||
wait_for(lambda: ocis_healthy(OCIS_URL), 300, "ocis")
|
||||
print("ocis ready.", flush=True)
|
||||
|
||||
print(f"\nRunning cs3api-validator against {bridge_ip}:9142", flush=True)
|
||||
result = subprocess.run(
|
||||
["docker", "run", "--rm",
|
||||
"--entrypoint", "/usr/bin/cs3api-validator",
|
||||
CS3API_IMAGE,
|
||||
"/var/lib/cs3api-validator",
|
||||
f"--endpoint={bridge_ip}:9142"],
|
||||
)
|
||||
return result.returncode
|
||||
|
||||
finally:
|
||||
cleanup()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Executable
+287
@@ -0,0 +1,287 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Run Playwright e2e tests against a local OCIS instance.
|
||||
|
||||
Usage: E2E_ARGS='--run-part 1' python3 tests/acceptance/run-e2e.py
|
||||
Optional: TIKA_NEEDED=true, KEYCLOAK_NEEDED=true
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
import shlex
|
||||
import subprocess
|
||||
import signal
|
||||
import time
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
|
||||
WEB_REPO = "https://github.com/owncloud/web.git"
|
||||
|
||||
|
||||
def wait_for(condition_fn, timeout: int, label: str) -> None:
|
||||
deadline = time.time() + timeout
|
||||
while not condition_fn():
|
||||
if time.time() > deadline:
|
||||
print(f"Timeout waiting for {label}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
def ocis_healthy(ocis_url: str, use_basic_auth: bool = True) -> bool:
|
||||
if use_basic_auth:
|
||||
cmd = ["curl", "-sk", "-uadmin:admin",
|
||||
f"{ocis_url}/graph/v1.0/users/admin",
|
||||
"-w", "%{http_code}", "-o", "/dev/null"]
|
||||
else:
|
||||
# Keycloak mode: no local admin user, check unauthenticated endpoint
|
||||
cmd = ["curl", "-sk",
|
||||
f"{ocis_url}/.well-known/openid-configuration",
|
||||
"-w", "%{http_code}", "-o", "/dev/null"]
|
||||
r = subprocess.run(cmd, capture_output=True, text=True)
|
||||
return r.stdout.strip() == "200"
|
||||
|
||||
|
||||
def run(cmd: list, env: dict = None, check: bool = True, cwd=None):
|
||||
e = {**os.environ, **(env or {})}
|
||||
return subprocess.run(cmd, env=e, check=check, cwd=cwd)
|
||||
|
||||
|
||||
def main() -> int:
|
||||
e2e_args = os.environ.get("E2E_ARGS", "").strip()
|
||||
if not e2e_args:
|
||||
print("E2E_ARGS is required, e.g. E2E_ARGS='--run-part 1' python3 run-e2e.py",
|
||||
file=sys.stderr)
|
||||
return 1
|
||||
|
||||
tika_needed = os.environ.get("TIKA_NEEDED", "").lower() == "true"
|
||||
keycloak_needed = os.environ.get("KEYCLOAK_NEEDED", "").lower() == "true"
|
||||
|
||||
repo_root = Path(__file__).resolve().parents[2]
|
||||
ocis_bin = repo_root / "ocis/bin/ocis"
|
||||
wrapper_bin = repo_root / "tests/ociswrapper/bin/ociswrapper"
|
||||
ocis_url = "https://127.0.0.1:9200"
|
||||
ocis_config_dir = Path.home() / ".ocis/config"
|
||||
web_dir = repo_root / "webTestRunner"
|
||||
|
||||
# build ocis + ociswrapper only if not already provided (e.g. via artifact)
|
||||
if not ocis_bin.exists():
|
||||
run(["make", "-C", str(repo_root / "ocis"), "build"])
|
||||
if not wrapper_bin.exists():
|
||||
run(["make", "-C", str(repo_root / "tests/ociswrapper"), "build"],
|
||||
env={"GOWORK": "off"})
|
||||
|
||||
# clone + install web only if not already provided (e.g. via artifact)
|
||||
if not web_dir.exists():
|
||||
drone_env = {}
|
||||
drone_env_file = repo_root / ".drone.env"
|
||||
if drone_env_file.exists():
|
||||
for line in drone_env_file.read_text().splitlines():
|
||||
if "=" in line and not line.startswith("#"):
|
||||
k, v = line.split("=", 1)
|
||||
drone_env[k.strip()] = v.strip()
|
||||
web_branch = drone_env.get("WEB_BRANCH", "master")
|
||||
web_commitid = drone_env.get("WEB_COMMITID", "")
|
||||
run(["git", "clone", "-b", web_branch, "--single-branch", "--no-tags",
|
||||
WEB_REPO, str(web_dir)])
|
||||
if web_commitid:
|
||||
subprocess.run(["git", "checkout", web_commitid], cwd=web_dir, check=True)
|
||||
|
||||
if not (web_dir / "node_modules").exists():
|
||||
pkg_manager = json.loads((web_dir / "package.json").read_text()).get("packageManager", "pnpm")
|
||||
run(["npm", "install", "--silent", "--global", "--force", pkg_manager])
|
||||
subprocess.run(["pnpm", "config", "set", "store-dir", "./.pnpm-store"],
|
||||
cwd=web_dir, check=True)
|
||||
subprocess.run(["pnpm", "install"], cwd=web_dir, check=True)
|
||||
subprocess.run(["pnpm", "exec", "playwright", "install", "--with-deps", "chromium"],
|
||||
cwd=web_dir, check=True)
|
||||
|
||||
# init ocis
|
||||
run([str(ocis_bin), "init", "--insecure", "true"])
|
||||
shutil.copy(
|
||||
repo_root / "tests/config/drone/app-registry.yaml",
|
||||
ocis_config_dir / "app-registry.yaml",
|
||||
)
|
||||
|
||||
# Trust the self-signed cert system-wide so Chromium and node-fetch
|
||||
# don't produce TLS handshake errors that load the server
|
||||
ocis_cert = Path.home() / ".ocis/proxy/server.crt"
|
||||
if ocis_cert.exists():
|
||||
subprocess.run(
|
||||
["sudo", "cp", str(ocis_cert), "/usr/local/share/ca-certificates/ocis.crt"],
|
||||
check=True,
|
||||
)
|
||||
subprocess.run(["sudo", "update-ca-certificates"], check=True)
|
||||
|
||||
# Patch web UI config: replace Drone Docker service name with our URL
|
||||
drone_web_cfg = json.loads(
|
||||
(repo_root / "tests/config/drone/ocis-config.json").read_text()
|
||||
)
|
||||
|
||||
def _patch_urls(obj, old, new):
|
||||
if isinstance(obj, dict):
|
||||
return {k: _patch_urls(v, old, new) for k, v in obj.items()}
|
||||
if isinstance(obj, list):
|
||||
return [_patch_urls(v, old, new) for v in obj]
|
||||
if isinstance(obj, str):
|
||||
return obj.replace(old, new)
|
||||
return obj
|
||||
|
||||
gha_web_cfg = _patch_urls(drone_web_cfg, "https://ocis-server:9200", ocis_url)
|
||||
gha_web_cfg_path = ocis_config_dir / "web-ui-config.json"
|
||||
gha_web_cfg_path.write_text(json.dumps(gha_web_cfg, indent=2))
|
||||
|
||||
server_env = {
|
||||
**os.environ,
|
||||
# core — matches drone ocisServer()
|
||||
"OCIS_URL": ocis_url,
|
||||
"OCIS_CONFIG_DIR": str(ocis_config_dir),
|
||||
"STORAGE_USERS_DRIVER": "ocis",
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"IDM_CREATE_DEMO_USERS": "true",
|
||||
"IDM_ADMIN_PASSWORD": "admin",
|
||||
"FRONTEND_SEARCH_MIN_LENGTH": "2",
|
||||
"OCIS_ASYNC_UPLOADS": "true",
|
||||
"OCIS_EVENTS_ENABLE_TLS": "false",
|
||||
"NATS_NATS_HOST": "0.0.0.0",
|
||||
"NATS_NATS_PORT": "9233",
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"EVENTHISTORY_STORE": "memory",
|
||||
"OCIS_TRANSLATION_PATH": str(repo_root / "tests/config/translations"),
|
||||
"WEB_UI_CONFIG_FILE": str(gha_web_cfg_path),
|
||||
"THUMBNAILS_TXT_FONTMAP_FILE": str(repo_root / "tests/config/drone/fontsMap.json"),
|
||||
# extra_server_environment — matches drone e2eTestPipeline()
|
||||
"OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST": str(repo_root / "tests/config/drone/banned-password-list.txt"),
|
||||
"GRAPH_AVAILABLE_ROLES": "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5,a8d5fe5e-96e3-418d-825b-534dbdf22b99,fb6c3e19-e378-47e5-b277-9732f9de6e21,58c63c02-1d89-4572-916a-870abc5a1b7d,2d00ce52-1fc2-4dbc-8b95-a73b73395f5a,1c996275-f1c9-4e71-abdf-a42f6495e960,312c0871-5ef7-4b3a-85b6-0e4074c64049,aa97fe03-7980-45ac-9e50-b325749fd7e6,63e64e19-8d43-42ec-a738-2b6af2610efa",
|
||||
"FRONTEND_CONFIGURABLE_NOTIFICATIONS": "true",
|
||||
# debug addresses
|
||||
"ACTIVITYLOG_DEBUG_ADDR": "0.0.0.0:9197",
|
||||
"APP_PROVIDER_DEBUG_ADDR": "0.0.0.0:9165",
|
||||
"APP_REGISTRY_DEBUG_ADDR": "0.0.0.0:9243",
|
||||
"AUTH_BASIC_DEBUG_ADDR": "0.0.0.0:9147",
|
||||
"AUTH_MACHINE_DEBUG_ADDR": "0.0.0.0:9167",
|
||||
"AUTH_SERVICE_DEBUG_ADDR": "0.0.0.0:9198",
|
||||
"CLIENTLOG_DEBUG_ADDR": "0.0.0.0:9260",
|
||||
"EVENTHISTORY_DEBUG_ADDR": "0.0.0.0:9270",
|
||||
"FRONTEND_DEBUG_ADDR": "0.0.0.0:9141",
|
||||
"GATEWAY_DEBUG_ADDR": "0.0.0.0:9143",
|
||||
"GRAPH_DEBUG_ADDR": "0.0.0.0:9124",
|
||||
"GROUPS_DEBUG_ADDR": "0.0.0.0:9161",
|
||||
"IDM_DEBUG_ADDR": "0.0.0.0:9239",
|
||||
"IDP_DEBUG_ADDR": "0.0.0.0:9134",
|
||||
"INVITATIONS_DEBUG_ADDR": "0.0.0.0:9269",
|
||||
"NATS_DEBUG_ADDR": "0.0.0.0:9234",
|
||||
"OCDAV_DEBUG_ADDR": "0.0.0.0:9163",
|
||||
"OCM_DEBUG_ADDR": "0.0.0.0:9281",
|
||||
"OCS_DEBUG_ADDR": "0.0.0.0:9114",
|
||||
"POSTPROCESSING_DEBUG_ADDR": "0.0.0.0:9255",
|
||||
"PROXY_DEBUG_ADDR": "0.0.0.0:9205",
|
||||
"SEARCH_DEBUG_ADDR": "0.0.0.0:9224",
|
||||
"SETTINGS_DEBUG_ADDR": "0.0.0.0:9194",
|
||||
"SHARING_DEBUG_ADDR": "0.0.0.0:9151",
|
||||
"SSE_DEBUG_ADDR": "0.0.0.0:9139",
|
||||
"STORAGE_PUBLICLINK_DEBUG_ADDR": "0.0.0.0:9179",
|
||||
"STORAGE_SHARES_DEBUG_ADDR": "0.0.0.0:9156",
|
||||
"STORAGE_SYSTEM_DEBUG_ADDR": "0.0.0.0:9217",
|
||||
"STORAGE_USERS_DEBUG_ADDR": "0.0.0.0:9159",
|
||||
"THUMBNAILS_DEBUG_ADDR": "0.0.0.0:9189",
|
||||
"USERLOG_DEBUG_ADDR": "0.0.0.0:9214",
|
||||
"USERS_DEBUG_ADDR": "0.0.0.0:9145",
|
||||
"WEB_DEBUG_ADDR": "0.0.0.0:9104",
|
||||
"WEBDAV_DEBUG_ADDR": "0.0.0.0:9119",
|
||||
"WEBFINGER_DEBUG_ADDR": "0.0.0.0:9279",
|
||||
}
|
||||
|
||||
if tika_needed:
|
||||
server_env.update({
|
||||
"FRONTEND_FULL_TEXT_SEARCH_ENABLED": "true",
|
||||
"SEARCH_EXTRACTOR_TYPE": "tika",
|
||||
"SEARCH_EXTRACTOR_TIKA_TIKA_URL": "http://localhost:9998",
|
||||
"SEARCH_EXTRACTOR_CS3SOURCE_INSECURE": "true",
|
||||
})
|
||||
|
||||
if keycloak_needed:
|
||||
server_env.update({
|
||||
"OCIS_EXCLUDE_RUN_SERVICES": "idp",
|
||||
"PROXY_AUTOPROVISION_ACCOUNTS": "true",
|
||||
"PROXY_ROLE_ASSIGNMENT_DRIVER": "oidc",
|
||||
"OCIS_OIDC_ISSUER": "https://localhost:8443/realms/oCIS",
|
||||
"PROXY_OIDC_REWRITE_WELLKNOWN": "true",
|
||||
"WEB_OIDC_CLIENT_ID": "web",
|
||||
"PROXY_USER_OIDC_CLAIM": "preferred_username",
|
||||
"PROXY_USER_CS3_CLAIM": "username",
|
||||
"OCIS_ADMIN_USER_ID": "",
|
||||
"GRAPH_ASSIGN_DEFAULT_USER_ROLE": "false",
|
||||
"GRAPH_USERNAME_MATCH": "none",
|
||||
"PROXY_CSP_CONFIG_FILE_LOCATION": str(repo_root / "tests/config/drone/csp.yaml"),
|
||||
"KEYCLOAK_DOMAIN": "localhost:8443",
|
||||
"IDM_CREATE_DEMO_USERS": "false",
|
||||
})
|
||||
|
||||
procs = []
|
||||
|
||||
print("Starting ocis...")
|
||||
if keycloak_needed:
|
||||
# external IdP: run ocis server directly (no ociswrapper)
|
||||
ocis_proc = subprocess.Popen(
|
||||
[str(ocis_bin), "server"],
|
||||
env=server_env,
|
||||
)
|
||||
else:
|
||||
ocis_proc = subprocess.Popen(
|
||||
[str(wrapper_bin), "serve",
|
||||
"--bin", str(ocis_bin),
|
||||
"--url", ocis_url,
|
||||
"--admin-username", "admin",
|
||||
"--admin-password", "admin"],
|
||||
env=server_env,
|
||||
)
|
||||
procs.append(ocis_proc)
|
||||
|
||||
def cleanup(*_):
|
||||
for p in procs:
|
||||
try:
|
||||
p.terminate()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
signal.signal(signal.SIGTERM, cleanup)
|
||||
signal.signal(signal.SIGINT, cleanup)
|
||||
|
||||
try:
|
||||
wait_for(lambda: ocis_healthy(ocis_url, use_basic_auth=not keycloak_needed), 300, "ocis")
|
||||
print("ocis ready.")
|
||||
|
||||
playwright_env = {
|
||||
**os.environ,
|
||||
"BASE_URL_OCIS": ocis_url,
|
||||
"HEADLESS": "true",
|
||||
"RETRY": "3",
|
||||
"SKIP_A11Y_TESTS": "true",
|
||||
"REPORT_TRACING": "true",
|
||||
"NODE_EXTRA_CA_CERTS": str(ocis_cert),
|
||||
"BROWSER": "chromium",
|
||||
}
|
||||
|
||||
if keycloak_needed:
|
||||
playwright_env.update({
|
||||
"KEYCLOAK": "true",
|
||||
"KEYCLOAK_HOST": "localhost:8443",
|
||||
})
|
||||
|
||||
print(f"Running e2e: {e2e_args}")
|
||||
result = subprocess.run(
|
||||
["bash", "run-e2e.sh"] + shlex.split(e2e_args),
|
||||
cwd=web_dir / "tests/e2e",
|
||||
env=playwright_env,
|
||||
)
|
||||
return result.returncode
|
||||
|
||||
finally:
|
||||
cleanup()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Executable
+851
@@ -0,0 +1,851 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Run ocis acceptance tests locally and in GitHub Actions CI.
|
||||
|
||||
Config sourced from .drone.star localApiTests — single source of truth.
|
||||
Usage: BEHAT_SUITES=apiGraph python3 tests/acceptance/run-github.py
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import subprocess
|
||||
import signal
|
||||
import time
|
||||
import tempfile
|
||||
import shutil
|
||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
||||
from pathlib import Path
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Config sourced from .drone.star
|
||||
# NOTE: EMAIL_SMTP_HOST is "email" (container name) in drone, "localhost" here
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
EMAIL_SMTP_HOST = "localhost"
|
||||
EMAIL_SMTP_PORT = "1025"
|
||||
EMAIL_PORT = "8025"
|
||||
EMAIL_SMTP_SENDER = "ownCloud <noreply@example.com>"
|
||||
|
||||
LOCAL_API_TESTS = {
|
||||
"contractAndLock": {
|
||||
"suites": ["apiContract", "apiLocks"],
|
||||
},
|
||||
"settingsAndNotification": {
|
||||
"suites": ["apiSettings", "apiNotification", "apiCors"],
|
||||
"emailNeeded": True,
|
||||
"extraEnvironment": {
|
||||
"EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
"EMAIL_PORT": EMAIL_PORT,
|
||||
},
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "notifications",
|
||||
"NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
"NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
"NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
},
|
||||
},
|
||||
"graphUser": {
|
||||
"suites": ["apiGraphUser"],
|
||||
},
|
||||
"spaces": {
|
||||
"suites": ["apiSpaces"],
|
||||
},
|
||||
"spacesShares": {
|
||||
"suites": ["apiSpacesShares"],
|
||||
},
|
||||
"davOperations": {
|
||||
"suites": [
|
||||
"apiSpacesDavOperation", "apiDownloads", "apiAsyncUpload",
|
||||
"apiDepthInfinity", "apiArchiver", "apiActivities",
|
||||
],
|
||||
},
|
||||
"groupAndSearch1": {
|
||||
"suites": ["apiSearch1", "apiGraph", "apiGraphGroup"],
|
||||
},
|
||||
"search2": {
|
||||
"suites": ["apiSearch2", "apiSearchContent"],
|
||||
"tikaNeeded": True,
|
||||
"extraServerEnvironment": {
|
||||
"FRONTEND_FULL_TEXT_SEARCH_ENABLED": "true",
|
||||
"SEARCH_EXTRACTOR_TYPE": "tika",
|
||||
"SEARCH_EXTRACTOR_TIKA_TIKA_URL": "http://localhost:9998",
|
||||
"SEARCH_EXTRACTOR_CS3SOURCE_INSECURE": "true",
|
||||
},
|
||||
},
|
||||
"sharingNg1": {
|
||||
"suites": ["apiSharingNgShares", "apiReshare", "apiSharingNgPermissions"],
|
||||
},
|
||||
"sharingNgAdditionalShareRole": {
|
||||
"suites": ["apiSharingNgAdditionalShareRole"],
|
||||
},
|
||||
"sharingNgShareInvitation": {
|
||||
"suites": ["apiSharingNgDriveInvitation", "apiSharingNgItemInvitation"],
|
||||
},
|
||||
"sharingNgLinkShare": {
|
||||
"suites": [
|
||||
"apiSharingNgDriveLinkShare", "apiSharingNgItemLinkShare",
|
||||
"apiSharingNgLinkShareManagement",
|
||||
],
|
||||
},
|
||||
"antivirus": {
|
||||
"suites": ["apiAntivirus"],
|
||||
"antivirusNeeded": True,
|
||||
"extraServerEnvironment": {
|
||||
"ANTIVIRUS_SCANNER_TYPE": "clamav",
|
||||
"ANTIVIRUS_CLAMAV_SOCKET": "tcp://clamav:3310",
|
||||
"POSTPROCESSING_STEPS": "virusscan",
|
||||
"OCIS_ADD_RUN_SERVICES": "antivirus",
|
||||
"ANTIVIRUS_DEBUG_ADDR": "0.0.0.0:9277",
|
||||
},
|
||||
},
|
||||
"ocm": {
|
||||
"suites": ["apiOcm"],
|
||||
"emailNeeded": True,
|
||||
"federationServer": True,
|
||||
"extraEnvironment": {
|
||||
"EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
"EMAIL_PORT": EMAIL_PORT,
|
||||
},
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "ocm,notifications",
|
||||
"OCIS_ENABLE_OCM": "true",
|
||||
"OCM_OCM_INVITE_MANAGER_INSECURE": "true",
|
||||
"OCM_OCM_SHARE_PROVIDER_INSECURE": "true",
|
||||
"OCM_OCM_STORAGE_PROVIDER_INSECURE": "true",
|
||||
"OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "", # set at runtime
|
||||
"NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
"NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
"NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
},
|
||||
},
|
||||
"authApp": {
|
||||
"suites": ["apiAuthApp"],
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "auth-app",
|
||||
"PROXY_ENABLE_APP_AUTH": "true",
|
||||
},
|
||||
},
|
||||
"wopi": {
|
||||
"suites": ["apiCollaboration"],
|
||||
"collaborationServiceNeeded": True,
|
||||
"extraServerEnvironment": {
|
||||
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
|
||||
},
|
||||
},
|
||||
"cliCommands": {
|
||||
"suites": ["cliCommands", "apiServiceAvailability"],
|
||||
"antivirusNeeded": True,
|
||||
"emailNeeded": True,
|
||||
"extraEnvironment": {
|
||||
"EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
"EMAIL_PORT": EMAIL_PORT,
|
||||
},
|
||||
"extraServerEnvironment": {
|
||||
"NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
"NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
"NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
"ANTIVIRUS_SCANNER_TYPE": "clamav",
|
||||
"ANTIVIRUS_CLAMAV_SOCKET": "tcp://clamav:3310",
|
||||
"ANTIVIRUS_DEBUG_ADDR": "0.0.0.0:9277",
|
||||
"OCIS_ADD_RUN_SERVICES": "antivirus,notifications",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
# reverse lookup: suite → group config
|
||||
_SUITE_TO_CONFIG: dict = {}
|
||||
for _cfg in LOCAL_API_TESTS.values():
|
||||
for _s in _cfg.get("suites", []):
|
||||
_SUITE_TO_CONFIG[_s] = _cfg
|
||||
|
||||
|
||||
# GitHub Actions uses --network host: all wopi services share one network namespace.
|
||||
# Drone gives each service its own container → all can use 9300/9301/9304.
|
||||
# Assign distinct ports here to avoid collisions.
|
||||
_WOPI_PORTS = {
|
||||
"collabora": {"grpc": 9301, "http": 9300, "debug": 9304},
|
||||
"onlyoffice": {"grpc": 9311, "http": 9310, "debug": 9314},
|
||||
"fakeoffice": {"grpc": 9321, "http": 9320, "debug": 9324},
|
||||
}
|
||||
|
||||
|
||||
def merged_config(suites: list) -> dict:
|
||||
"""Union config for all requested suites."""
|
||||
merged = {
|
||||
"emailNeeded": False,
|
||||
"antivirusNeeded": False,
|
||||
"tikaNeeded": False,
|
||||
"federationServer": False,
|
||||
"collaborationServiceNeeded": False,
|
||||
"extraServerEnvironment": {},
|
||||
"extraEnvironment": {},
|
||||
}
|
||||
for suite in suites:
|
||||
cfg = _SUITE_TO_CONFIG.get(suite, {})
|
||||
for flag in ("emailNeeded", "antivirusNeeded", "tikaNeeded",
|
||||
"federationServer", "collaborationServiceNeeded"):
|
||||
if cfg.get(flag):
|
||||
merged[flag] = True
|
||||
merged["extraServerEnvironment"].update(cfg.get("extraServerEnvironment", {}))
|
||||
merged["extraEnvironment"].update(cfg.get("extraEnvironment", {}))
|
||||
return merged
|
||||
|
||||
|
||||
def _apply_port_offset(env: dict, offset: int) -> dict:
|
||||
"""Offset OCIS service ports (9100–9399) embedded in env values like '0.0.0.0:9174'."""
|
||||
if offset == 0:
|
||||
return env
|
||||
result = {}
|
||||
for k, v in env.items():
|
||||
m = re.match(r'^(.*:)(\d{4,5})$', str(v))
|
||||
if m:
|
||||
port = int(m.group(2))
|
||||
if 9100 <= port < 9500: # covers all OCIS ports incl. store (9460/9464)
|
||||
v = m.group(1) + str(port + offset)
|
||||
result[k] = v
|
||||
return result
|
||||
|
||||
|
||||
def _ocis_slot_dirs(slot: int):
|
||||
"""Return (config_dir, data_dir) for the given isolation slot."""
|
||||
if slot == 0:
|
||||
return Path.home() / ".ocis" / "config", Path.home() / ".ocis"
|
||||
return (Path.home() / f".ocis-slot-{slot}" / "config",
|
||||
Path.home() / f".ocis-slot-{slot}")
|
||||
|
||||
|
||||
def base_server_env(repo_root: Path, ocis_url: str, ocis_config_dir: str,
|
||||
port_offset: int = 0) -> dict:
|
||||
"""Base ocis server environment matching drone ocisServer() function."""
|
||||
def p(base: int) -> str:
|
||||
return str(base + port_offset)
|
||||
|
||||
return {
|
||||
"OCIS_URL": ocis_url,
|
||||
"OCIS_CONFIG_DIR": ocis_config_dir,
|
||||
"STORAGE_USERS_DRIVER": "ocis",
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"IDM_CREATE_DEMO_USERS": "true",
|
||||
"IDM_ADMIN_PASSWORD": "admin",
|
||||
"FRONTEND_SEARCH_MIN_LENGTH": "2",
|
||||
"OCIS_ASYNC_UPLOADS": "true",
|
||||
"OCIS_EVENTS_ENABLE_TLS": "false",
|
||||
"NATS_NATS_HOST": "0.0.0.0",
|
||||
"NATS_NATS_PORT": p(9233),
|
||||
"MICRO_REGISTRY_ADDRESS": f"127.0.0.1:{p(9233)}",
|
||||
"OCIS_RUNTIME_PORT": p(9250),
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"EVENTHISTORY_STORE": "memory",
|
||||
"OCIS_TRANSLATION_PATH": str(repo_root / "tests/config/translations"),
|
||||
"WEB_UI_CONFIG_FILE": str(repo_root / "tests/config/drone/ocis-config.json"),
|
||||
"THUMBNAILS_TXT_FONTMAP_FILE": str(repo_root / "tests/config/drone/fontsMap.json"),
|
||||
# default tika off (overridden by search2 extraServerEnvironment)
|
||||
"SEARCH_EXTRACTOR_TYPE": "basic",
|
||||
"FRONTEND_FULL_TEXT_SEARCH_ENABLED": "false",
|
||||
# OCIS events endpoint (NATS) — each slot needs its own NATS port
|
||||
"OCIS_EVENTS_ENDPOINT": f"127.0.0.1:{p(9233)}",
|
||||
# LDAP (IDM) — each slot needs its own LDAP listener
|
||||
"OCIS_LDAP_URI": f"ldaps://localhost:{p(9235)}",
|
||||
"IDM_LDAPS_ADDR": f"0.0.0.0:{p(9235)}",
|
||||
# proxy HTTP — must be set explicitly so each slot binds to its own port
|
||||
"PROXY_HTTP_ADDR": f"0.0.0.0:{p(9200)}",
|
||||
# gRPC listen addresses — ALL services; same port-block reasoning as debug addrs
|
||||
"APP_PROVIDER_GRPC_ADDR": f"0.0.0.0:{p(9164)}",
|
||||
"APP_REGISTRY_GRPC_ADDR": f"0.0.0.0:{p(9242)}",
|
||||
"AUTH_BASIC_GRPC_ADDR": f"0.0.0.0:{p(9146)}",
|
||||
"AUTH_MACHINE_GRPC_ADDR": f"0.0.0.0:{p(9166)}",
|
||||
"AUTH_SERVICE_GRPC_ADDR": f"0.0.0.0:{p(9199)}",
|
||||
"EVENTHISTORY_GRPC_ADDR": f"0.0.0.0:{p(9274)}",
|
||||
"GATEWAY_GRPC_ADDR": f"0.0.0.0:{p(9142)}",
|
||||
"GROUPS_GRPC_ADDR": f"0.0.0.0:{p(9160)}",
|
||||
"SEARCH_GRPC_ADDR": f"0.0.0.0:{p(9220)}",
|
||||
"SETTINGS_GRPC_ADDR": f"0.0.0.0:{p(9185)}",
|
||||
"SHARING_GRPC_ADDR": f"0.0.0.0:{p(9150)}",
|
||||
"STORAGE_PUBLICLINK_GRPC_ADDR": f"0.0.0.0:{p(9178)}",
|
||||
"STORAGE_SHARES_GRPC_ADDR": f"0.0.0.0:{p(9154)}",
|
||||
"STORAGE_SYSTEM_GRPC_ADDR": f"0.0.0.0:{p(9215)}",
|
||||
"STORAGE_USERS_GRPC_ADDR": f"0.0.0.0:{p(9157)}",
|
||||
"THUMBNAILS_GRPC_ADDR": f"0.0.0.0:{p(9191)}",
|
||||
"USERS_GRPC_ADDR": f"0.0.0.0:{p(9144)}",
|
||||
"STORE_GRPC_ADDR": f"0.0.0.0:{p(9460)}",
|
||||
# HTTP listen addresses
|
||||
"ACTIVITYLOG_HTTP_ADDR": f"0.0.0.0:{p(9195)}",
|
||||
"FRONTEND_HTTP_ADDR": f"0.0.0.0:{p(9140)}",
|
||||
"GRAPH_HTTP_ADDR": f"0.0.0.0:{p(9120)}",
|
||||
"IDP_HTTP_ADDR": f"0.0.0.0:{p(9130)}",
|
||||
"OCDAV_HTTP_ADDR": f"0.0.0.0:{p(9162)}",
|
||||
"OCS_HTTP_ADDR": f"0.0.0.0:{p(9110)}",
|
||||
"SETTINGS_HTTP_ADDR": f"0.0.0.0:{p(9186)}",
|
||||
"SSE_HTTP_ADDR": f"0.0.0.0:{p(9132)}",
|
||||
"STORAGE_SYSTEM_HTTP_ADDR": f"0.0.0.0:{p(9216)}",
|
||||
"STORAGE_USERS_HTTP_ADDR": f"0.0.0.0:{p(9158)}",
|
||||
"THUMBNAILS_HTTP_ADDR": f"0.0.0.0:{p(9190)}",
|
||||
"USERLOG_HTTP_ADDR": f"0.0.0.0:{p(9211)}",
|
||||
"WEB_HTTP_ADDR": f"0.0.0.0:{p(9100)}",
|
||||
"WEBDAV_HTTP_ADDR": f"0.0.0.0:{p(9115)}",
|
||||
"WEBFINGER_HTTP_ADDR": f"0.0.0.0:{p(9275)}",
|
||||
# data server URLs — must reference the slot-specific HTTP port
|
||||
"STORAGE_USERS_DATA_SERVER_URL": f"http://localhost:{p(9158)}/data",
|
||||
"STORAGE_SYSTEM_DATA_SERVER_URL": f"http://localhost:{p(9216)}/data",
|
||||
"THUMBNAILS_DATA_ENDPOINT": f"http://127.0.0.1:{p(9190)}/thumbnails/data",
|
||||
# debug addresses
|
||||
"ACTIVITYLOG_DEBUG_ADDR": f"0.0.0.0:{p(9197)}",
|
||||
"APP_PROVIDER_DEBUG_ADDR": f"0.0.0.0:{p(9165)}",
|
||||
"APP_REGISTRY_DEBUG_ADDR": f"0.0.0.0:{p(9243)}",
|
||||
"AUTH_BASIC_DEBUG_ADDR": f"0.0.0.0:{p(9147)}",
|
||||
"AUTH_MACHINE_DEBUG_ADDR": f"0.0.0.0:{p(9167)}",
|
||||
"AUTH_SERVICE_DEBUG_ADDR": f"0.0.0.0:{p(9198)}",
|
||||
"CLIENTLOG_DEBUG_ADDR": f"0.0.0.0:{p(9260)}",
|
||||
"EVENTHISTORY_DEBUG_ADDR": f"0.0.0.0:{p(9270)}",
|
||||
"FRONTEND_DEBUG_ADDR": f"0.0.0.0:{p(9141)}",
|
||||
"GATEWAY_DEBUG_ADDR": f"0.0.0.0:{p(9143)}",
|
||||
"GRAPH_DEBUG_ADDR": f"0.0.0.0:{p(9124)}",
|
||||
"GROUPS_DEBUG_ADDR": f"0.0.0.0:{p(9161)}",
|
||||
"IDM_DEBUG_ADDR": f"0.0.0.0:{p(9239)}",
|
||||
"IDP_DEBUG_ADDR": f"0.0.0.0:{p(9134)}",
|
||||
"INVITATIONS_DEBUG_ADDR": f"0.0.0.0:{p(9269)}",
|
||||
"NATS_DEBUG_ADDR": f"0.0.0.0:{p(9234)}",
|
||||
"OCDAV_DEBUG_ADDR": f"0.0.0.0:{p(9163)}",
|
||||
"OCM_GRPC_ADDR": f"0.0.0.0:{p(9282)}",
|
||||
"OCM_HTTP_ADDR": f"0.0.0.0:{p(9280)}",
|
||||
"OCM_DEBUG_ADDR": f"0.0.0.0:{p(9281)}",
|
||||
"OCS_DEBUG_ADDR": f"0.0.0.0:{p(9114)}",
|
||||
"POSTPROCESSING_DEBUG_ADDR": f"0.0.0.0:{p(9255)}",
|
||||
"PROXY_DEBUG_ADDR": f"0.0.0.0:{p(9205)}",
|
||||
"SEARCH_DEBUG_ADDR": f"0.0.0.0:{p(9224)}",
|
||||
"SETTINGS_DEBUG_ADDR": f"0.0.0.0:{p(9194)}",
|
||||
"SHARING_DEBUG_ADDR": f"0.0.0.0:{p(9151)}",
|
||||
"SSE_DEBUG_ADDR": f"0.0.0.0:{p(9139)}",
|
||||
"STORAGE_PUBLICLINK_DEBUG_ADDR": f"0.0.0.0:{p(9179)}",
|
||||
"STORAGE_SHARES_DEBUG_ADDR": f"0.0.0.0:{p(9156)}",
|
||||
"STORAGE_SYSTEM_DEBUG_ADDR": f"0.0.0.0:{p(9217)}",
|
||||
"STORAGE_USERS_DEBUG_ADDR": f"0.0.0.0:{p(9159)}",
|
||||
"STORE_DEBUG_ADDR": f"0.0.0.0:{p(9464)}",
|
||||
"THUMBNAILS_DEBUG_ADDR": f"0.0.0.0:{p(9189)}",
|
||||
"USERLOG_DEBUG_ADDR": f"0.0.0.0:{p(9214)}",
|
||||
"USERS_DEBUG_ADDR": f"0.0.0.0:{p(9145)}",
|
||||
"WEB_DEBUG_ADDR": f"0.0.0.0:{p(9104)}",
|
||||
"WEBDAV_DEBUG_ADDR": f"0.0.0.0:{p(9119)}",
|
||||
"WEBFINGER_DEBUG_ADDR": f"0.0.0.0:{p(9279)}",
|
||||
}
|
||||
|
||||
|
||||
def wait_for(condition_fn, timeout: int, label: str, container: str = None) -> None:
|
||||
start = time.time()
|
||||
deadline = start + timeout
|
||||
last_log = start
|
||||
while not condition_fn():
|
||||
now = time.time()
|
||||
if now > deadline:
|
||||
elapsed = int(now - start)
|
||||
print(f"Timeout waiting for {label} after {elapsed}s", file=sys.stderr)
|
||||
# dump docker diagnostics — use explicit container name if provided
|
||||
cname = container or label
|
||||
for cmd in (
|
||||
["docker", "ps", "-a", "--filter", f"name={cname}", "--no-trunc"],
|
||||
["docker", "logs", "--tail", "50", cname],
|
||||
):
|
||||
r = subprocess.run(cmd, capture_output=True, text=True)
|
||||
if r.stdout.strip():
|
||||
print(f"--- {' '.join(cmd)} ---", file=sys.stderr)
|
||||
print(r.stdout, file=sys.stderr)
|
||||
if r.stderr.strip():
|
||||
print(r.stderr, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
if now - last_log >= 30:
|
||||
print(f" Waiting for {label}... {int(now - start)}s")
|
||||
last_log = now
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
def ocis_healthy(ocis_url: str) -> bool:
|
||||
r = subprocess.run(
|
||||
["curl", "-sk", "-uadmin:admin",
|
||||
f"{ocis_url}/graph/v1.0/users/admin",
|
||||
"-w", "%{http_code}", "-o", "/dev/null"],
|
||||
capture_output=True, text=True,
|
||||
)
|
||||
return r.stdout.strip() == "200"
|
||||
|
||||
|
||||
def mailpit_healthy() -> bool:
|
||||
return subprocess.run(
|
||||
["curl", "-sf", "http://localhost:8025/api/v1/messages"],
|
||||
capture_output=True,
|
||||
).returncode == 0
|
||||
|
||||
|
||||
def tika_healthy() -> bool:
|
||||
return subprocess.run(
|
||||
["curl", "-sf", "http://localhost:9998"],
|
||||
capture_output=True,
|
||||
).returncode == 0
|
||||
|
||||
|
||||
def _tcp_ready(host: str, port: int) -> bool:
|
||||
"""Check if a TCP port is accepting connections."""
|
||||
import socket
|
||||
try:
|
||||
with socket.create_connection((host, port), timeout=2):
|
||||
return True
|
||||
except (ConnectionRefusedError, OSError):
|
||||
return False
|
||||
|
||||
|
||||
def clamav_healthy() -> bool:
|
||||
return _tcp_ready("localhost", 3310)
|
||||
|
||||
|
||||
|
||||
def load_env_file(path: Path) -> dict:
|
||||
"""Parse a bash-style env file (export KEY=value) into a dict."""
|
||||
env = {}
|
||||
for line in path.read_text().splitlines():
|
||||
line = line.strip()
|
||||
if not line or line.startswith("#") or line.startswith("!"):
|
||||
continue
|
||||
line = line.removeprefix("export ").strip()
|
||||
if "=" in line:
|
||||
k, v = line.split("=", 1)
|
||||
env[k.strip()] = v.strip()
|
||||
return env
|
||||
|
||||
|
||||
def run(cmd: list, env: dict = None, check: bool = True):
|
||||
e = {**os.environ, **(env or {})}
|
||||
return subprocess.run(cmd, env=e, check=check)
|
||||
|
||||
|
||||
def main() -> int:
|
||||
behat_suites_raw = os.environ.get("BEHAT_SUITES", "").strip()
|
||||
if not behat_suites_raw:
|
||||
print("BEHAT_SUITES is required", file=sys.stderr)
|
||||
return 1
|
||||
|
||||
suites = [s.strip() for s in behat_suites_raw.split(",") if s.strip()]
|
||||
acceptance_test_type = os.environ.get("ACCEPTANCE_TEST_TYPE", "api")
|
||||
|
||||
repo_root = Path(__file__).resolve().parents[2]
|
||||
ocis_bin = repo_root / "ocis/bin/ocis"
|
||||
wrapper_bin = repo_root / "tests/ociswrapper/bin/ociswrapper"
|
||||
ocis_url = "https://localhost:9200"
|
||||
ocis_fed_url = "https://localhost:10200"
|
||||
|
||||
cfg = merged_config(suites)
|
||||
print(f"Suites: {suites}")
|
||||
print(f"Services: email={cfg['emailNeeded']} tika={cfg['tikaNeeded']} "
|
||||
f"antivirus={cfg['antivirusNeeded']} federation={cfg['federationServer']} "
|
||||
f"wopi={cfg['collaborationServiceNeeded']}")
|
||||
|
||||
# generate IDP web assets (required for IDP service to start; matches drone ci-node-generate)
|
||||
run(["make", "-C", str(repo_root / "services/idp"), "ci-node-generate"])
|
||||
# download web UI assets (required for robots.txt and other static assets; no pnpm needed)
|
||||
run(["make", "-C", str(repo_root / "services/web"), "ci-node-generate"])
|
||||
|
||||
# build (ENABLE_VIPS=true when libvips-dev is installed, matching drone)
|
||||
build_env = {}
|
||||
if subprocess.run(["pkg-config", "--exists", "vips"],
|
||||
capture_output=True).returncode == 0:
|
||||
build_env["ENABLE_VIPS"] = "true"
|
||||
run(["make", "-C", str(repo_root / "ocis"), "build"], env=build_env)
|
||||
run(["make", "-C", str(repo_root / "tests/ociswrapper"), "build"],
|
||||
env={"GOWORK": "off"})
|
||||
|
||||
# php deps
|
||||
run(["composer", "install", "--no-progress"],
|
||||
env={"COMPOSER_NO_INTERACTION": "1", "COMPOSER_NO_AUDIT": "1"})
|
||||
run(["composer", "bin", "behat", "install", "--no-progress"],
|
||||
env={"COMPOSER_NO_INTERACTION": "1", "COMPOSER_NO_AUDIT": "1"})
|
||||
|
||||
# optional services
|
||||
procs = []
|
||||
|
||||
if cfg["emailNeeded"]:
|
||||
print("Starting mailpit...")
|
||||
run(["docker", "run", "-d", "--name", "mailpit", "--network", "host",
|
||||
"axllent/mailpit:v1.22.3"])
|
||||
wait_for(mailpit_healthy, 60, "mailpit")
|
||||
print("mailpit ready.")
|
||||
|
||||
if cfg["antivirusNeeded"]:
|
||||
print("Starting clamav...")
|
||||
run(["docker", "run", "-d", "--name", "clamav", "--network", "host",
|
||||
"owncloudci/clamavd"])
|
||||
wait_for(clamav_healthy, 300, "clamav")
|
||||
print("clamav ready.")
|
||||
# override socket: drone uses container DNS "clamav", we use localhost
|
||||
cfg["extraServerEnvironment"]["ANTIVIRUS_CLAMAV_SOCKET"] = "tcp://localhost:3310"
|
||||
|
||||
if cfg["tikaNeeded"]:
|
||||
print("Starting tika...")
|
||||
run(["docker", "run", "-d", "--name", "tika", "--network", "host",
|
||||
"apache/tika:3.2.2.0-full"])
|
||||
wait_for(tika_healthy, 120, "tika")
|
||||
print("tika ready.")
|
||||
|
||||
# OCM federation: rewrite providers.json with localhost URLs
|
||||
if cfg["federationServer"]:
|
||||
providers_src = repo_root / "tests/config/drone/providers.json"
|
||||
providers = json.loads(providers_src.read_text())
|
||||
for p in providers:
|
||||
# replace container DNS names with localhost
|
||||
p["domain"] = p["domain"].replace("ocis-server:9200", "localhost:9200")
|
||||
p["domain"] = p["domain"].replace("federation-ocis-server:10200", "localhost:10200")
|
||||
for svc in p.get("services", []):
|
||||
ep = svc.get("endpoint", {})
|
||||
ep["path"] = ep.get("path", "").replace("ocis-server:9200", "localhost:9200")
|
||||
ep["path"] = ep.get("path", "").replace("federation-ocis-server:10200", "localhost:10200")
|
||||
svc["host"] = svc.get("host", "").replace("ocis-server:9200", "localhost:9200")
|
||||
svc["host"] = svc.get("host", "").replace("federation-ocis-server:10200", "localhost:10200")
|
||||
providers_tmp = tempfile.NamedTemporaryFile(
|
||||
mode="w", suffix=".json", prefix="ocm-providers-", delete=False)
|
||||
json.dump(providers, providers_tmp)
|
||||
providers_tmp.close()
|
||||
cfg["extraServerEnvironment"]["OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE"] = providers_tmp.name
|
||||
|
||||
# generate fontsMap.json with correct font path (drone hardcodes /drone/src/...)
|
||||
font_path = str(repo_root / "tests/config/drone/NotoSans.ttf")
|
||||
fontmap_tmp = tempfile.NamedTemporaryFile(
|
||||
mode="w", suffix=".json", prefix="fontsMap-", delete=False)
|
||||
json.dump({"defaultFont": font_path}, fontmap_tmp)
|
||||
fontmap_tmp.close()
|
||||
|
||||
# Per-slot startup: each suite gets its own isolated OCIS instance.
|
||||
# slot 0 uses ~/.ocis (default path, backward compat); slot N uses ~/.ocis-slot-N.
|
||||
# Port offset = slot × 300; OCIS debug ports span 9104–9281 (width 177) so offset
|
||||
# 300 gives clean separation: slot 0→9100-9399, slot 1→9400-9699, slot 2→9700-9999.
|
||||
slot_info = [] # list of (suite, ocis_url, wrapper_url, server_env)
|
||||
for slot, suite in enumerate(suites):
|
||||
offset = slot * 300
|
||||
config_dir, data_dir = _ocis_slot_dirs(slot)
|
||||
config_dir.mkdir(parents=True, exist_ok=True)
|
||||
suite_ocis_url = f"https://localhost:{9200 + offset}"
|
||||
suite_wrapper_url = f"http://localhost:{5200 + offset}"
|
||||
|
||||
s_env = {**os.environ}
|
||||
s_env.update(base_server_env(repo_root, suite_ocis_url, str(config_dir),
|
||||
port_offset=offset))
|
||||
# Each slot needs its own data directory; without this all slots share the
|
||||
# default ~/.ocis data path, causing IDM/LDAP data conflicts and auth failures.
|
||||
s_env["OCIS_BASE_DATA_PATH"] = str(data_dir)
|
||||
s_env["THUMBNAILS_TXT_FONTMAP_FILE"] = fontmap_tmp.name
|
||||
s_env.update(_apply_port_offset(cfg["extraServerEnvironment"], offset))
|
||||
|
||||
# init (idempotent — safe to re-run if config dir already exists)
|
||||
run([str(ocis_bin), "init", "--insecure", "true"], env=s_env)
|
||||
shutil.copy(
|
||||
repo_root / "tests/config/drone/app-registry.yaml",
|
||||
config_dir / "app-registry.yaml",
|
||||
)
|
||||
|
||||
print(f"Starting ocis slot {slot} (suite: {suite}, port: {9200 + offset}, "
|
||||
f"wrapper: {5200 + offset})...")
|
||||
wrapper_proc = subprocess.Popen(
|
||||
[str(wrapper_bin), "serve",
|
||||
"--bin", str(ocis_bin),
|
||||
"--url", suite_ocis_url,
|
||||
"--admin-username", "admin",
|
||||
"--admin-password", "admin",
|
||||
"--port", str(5200 + offset)],
|
||||
env=s_env,
|
||||
)
|
||||
procs.append(wrapper_proc)
|
||||
slot_info.append((suite, suite_ocis_url, suite_wrapper_url, s_env))
|
||||
|
||||
# convenience: for single-suite callers, keep the old names pointing at slot 0
|
||||
ocis_url = slot_info[0][1]
|
||||
|
||||
# start federation ocis server (second instance on port 10200)
|
||||
# only used by ocm group (single suite) — always slot 0, no offset conflict
|
||||
if cfg["federationServer"]:
|
||||
fed_config_dir = Path.home() / ".ocis-federation/config"
|
||||
fed_config_dir.mkdir(parents=True, exist_ok=True)
|
||||
fed_data_dir = Path.home() / ".ocis-federation"
|
||||
|
||||
fed_env = {**os.environ}
|
||||
fed_env.update(base_server_env(repo_root, ocis_fed_url, str(fed_config_dir)))
|
||||
fed_env.update(cfg["extraServerEnvironment"])
|
||||
# load federation port mappings from canonical env file (single source of truth)
|
||||
fed_env.update(load_env_file(repo_root / "tests/config/local/.env-federation"))
|
||||
# CI-specific overrides
|
||||
fed_env.update({
|
||||
"OCIS_URL": ocis_fed_url,
|
||||
"OCIS_BASE_DATA_PATH": str(fed_data_dir),
|
||||
"OCIS_CONFIG_DIR": str(fed_config_dir),
|
||||
"OCIS_RUNTIME_PORT": "10250",
|
||||
"MICRO_REGISTRY_ADDRESS": "127.0.0.1:10233",
|
||||
})
|
||||
|
||||
# init federation ocis with separate config
|
||||
run([str(ocis_bin), "init", "--insecure", "true",
|
||||
"--config-path", str(fed_config_dir)])
|
||||
shutil.copy(
|
||||
repo_root / "tests/config/drone/app-registry.yaml",
|
||||
fed_config_dir / "app-registry.yaml",
|
||||
)
|
||||
|
||||
print("Starting federation ocis...")
|
||||
fed_proc = subprocess.Popen(
|
||||
[str(ocis_bin), "server"],
|
||||
env=fed_env,
|
||||
)
|
||||
procs.append(fed_proc)
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Collaboration service helpers — same names/call pattern as drone.star
|
||||
# Only deviation: container hostnames → localhost
|
||||
# ---------------------------------------------------------------------------
|
||||
def fakeOffice():
|
||||
# drone: OC_CI_ALPINE container running serve-hosting-discovery.sh with repo at /drone/src
|
||||
# use same image so BusyBox nc (not OpenBSD nc) handles FIN correctly on stdin EOF
|
||||
run(["docker", "run", "-d", "--name", "fakeoffice", "--network", "host",
|
||||
"-v", f"{repo_root}:/drone/src:ro",
|
||||
"owncloudci/alpine:latest",
|
||||
"sh", "/drone/src/tests/config/drone/serve-hosting-discovery.sh"])
|
||||
return []
|
||||
|
||||
def collaboraService():
|
||||
# drone commands copy-pasted verbatim
|
||||
run(["docker", "run", "-d", "--name", "collabora", "--network", "host",
|
||||
"-e", "DONT_GEN_SSL_CERT=set",
|
||||
"-e", f"extra_params=--o:ssl.enable=true --o:ssl.termination=true "
|
||||
f"--o:welcome.enable=false --o:net.frame_ancestors=https://localhost:9200",
|
||||
"--entrypoint", "/bin/sh",
|
||||
"collabora/code:24.04.5.1.1",
|
||||
"-c", "\n".join([
|
||||
"set -e",
|
||||
"coolconfig generate-proof-key",
|
||||
"bash /start-collabora-online.sh",
|
||||
])])
|
||||
return []
|
||||
|
||||
def onlyofficeService():
|
||||
# GitHub runner ships PostgreSQL pre-started on 5432.
|
||||
# OnlyOffice supervisord starts its own PostgreSQL on 5432 internally.
|
||||
# With --network host both compete for the same port → OnlyOffice DB never
|
||||
# starts → docservice stays down → nginx returns 502 forever.
|
||||
# Drone avoids this because each service has its own network namespace.
|
||||
subprocess.run(["sudo", "systemctl", "stop", "postgresql"],
|
||||
capture_output=True)
|
||||
only_office_json = repo_root / "tests/config/drone/only-office.json"
|
||||
run(["docker", "run", "-d", "--name", "onlyoffice", "--network", "host",
|
||||
"-e", "WOPI_ENABLED=true",
|
||||
"-e", "USE_UNAUTHORIZED_STORAGE=true",
|
||||
"-v", f"{only_office_json}:/tmp/only-office.json:ro",
|
||||
"--entrypoint", "/bin/sh",
|
||||
"onlyoffice/documentserver:9.0.0",
|
||||
"-c", "\n".join([
|
||||
"set -e",
|
||||
"cp /tmp/only-office.json /etc/onlyoffice/documentserver/local.json",
|
||||
"openssl req -x509 -newkey rsa:4096 -keyout onlyoffice.key -out onlyoffice.crt -sha256 -days 365 -batch -nodes",
|
||||
"mkdir -p /var/www/onlyoffice/Data/certs",
|
||||
"cp onlyoffice.key /var/www/onlyoffice/Data/certs/",
|
||||
"cp onlyoffice.crt /var/www/onlyoffice/Data/certs/",
|
||||
"chmod 400 /var/www/onlyoffice/Data/certs/onlyoffice.key",
|
||||
"/app/ds/run-document-server.sh",
|
||||
])])
|
||||
return []
|
||||
|
||||
def wopiCollaborationService(name, ocis_url=ocis_url):
|
||||
# drone: startOcisService("collaboration", "wopi-{name}", environment)
|
||||
# runs: ocis/bin/ocis-debug collaboration server
|
||||
service_name = "wopi-%s" % name
|
||||
ports = _WOPI_PORTS[name]
|
||||
environment = {
|
||||
**os.environ,
|
||||
"OCIS_URL": ocis_url,
|
||||
"MICRO_REGISTRY": "nats-js-kv",
|
||||
"MICRO_REGISTRY_ADDRESS": "localhost:9233",
|
||||
"COLLABORATION_LOG_LEVEL": "debug",
|
||||
"COLLABORATION_GRPC_ADDR": f"0.0.0.0:{ports['grpc']}",
|
||||
"COLLABORATION_HTTP_ADDR": f"0.0.0.0:{ports['http']}",
|
||||
"COLLABORATION_DEBUG_ADDR": f"0.0.0.0:{ports['debug']}",
|
||||
"COLLABORATION_APP_PROOF_DISABLE": "true",
|
||||
"COLLABORATION_APP_INSECURE": "true",
|
||||
"COLLABORATION_CS3API_DATAGATEWAY_INSECURE": "true",
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"COLLABORATION_WOPI_SECRET": "some-wopi-secret",
|
||||
}
|
||||
if name == "collabora":
|
||||
environment["COLLABORATION_APP_NAME"] = "Collabora"
|
||||
environment["COLLABORATION_APP_PRODUCT"] = "Collabora"
|
||||
environment["COLLABORATION_APP_ADDR"] = "https://localhost:9980"
|
||||
environment["COLLABORATION_APP_ICON"] = "https://localhost:9980/favicon.ico"
|
||||
elif name == "onlyoffice":
|
||||
environment["COLLABORATION_APP_NAME"] = "OnlyOffice"
|
||||
environment["COLLABORATION_APP_PRODUCT"] = "OnlyOffice"
|
||||
environment["COLLABORATION_APP_ADDR"] = "https://localhost:443"
|
||||
environment["COLLABORATION_APP_ICON"] = "https://localhost:443/web-apps/apps/documenteditor/main/resources/img/favicon.ico"
|
||||
elif name == "fakeoffice":
|
||||
environment["COLLABORATION_APP_NAME"] = "FakeOffice"
|
||||
environment["COLLABORATION_APP_PRODUCT"] = "Microsoft"
|
||||
environment["COLLABORATION_APP_ADDR"] = "http://localhost:8080"
|
||||
environment["COLLABORATION_WOPI_SRC"] = f"http://localhost:{ports['http']}"
|
||||
print(f"Starting {service_name}...")
|
||||
return [subprocess.Popen([str(ocis_bin), "collaboration", "server"], env=environment)]
|
||||
|
||||
def ocisHealthCheck(name, services=[]):
|
||||
# drone: curl healthz + readyz on each service (timeout 300s)
|
||||
for service in services:
|
||||
host, port = service.rsplit(":", 1)
|
||||
for endpoint in ("healthz", "readyz"):
|
||||
wait_for(
|
||||
lambda h="localhost", p=int(port), ep=endpoint: subprocess.run(
|
||||
["curl", "-sf", f"http://{h}:{p}/{ep}"], capture_output=True
|
||||
).returncode == 0,
|
||||
300, f"{service}/{endpoint}",
|
||||
)
|
||||
print(f"health-check-{name}: all services healthy.")
|
||||
|
||||
def wopi_discovery_ready(app_url: str) -> bool:
|
||||
"""Return True once the WOPI app's /hosting/discovery returns HTTP 200."""
|
||||
url = app_url.rstrip("/") + "/hosting/discovery"
|
||||
r = subprocess.run(
|
||||
["curl", "-sfk", url], capture_output=True
|
||||
)
|
||||
return r.returncode == 0
|
||||
|
||||
# drone.star non-k8s collaborationServiceNeeded path (lines 1195-1196, 1140-1141, 1179-1183)
|
||||
if cfg["collaborationServiceNeeded"]:
|
||||
procs += fakeOffice() + collaboraService() + onlyofficeService()
|
||||
# Wait for each app's /hosting/discovery to return 200 before starting its
|
||||
# collaboration service. GetAppURLs in server.go calls discovery synchronously
|
||||
# at startup — non-200 exits the process immediately, healthz never binds.
|
||||
wait_for(lambda: wopi_discovery_ready("http://localhost:8080"), 300, "fakeoffice discovery", container="fakeoffice")
|
||||
wait_for(lambda: wopi_discovery_ready("https://localhost:9980"), 300, "collabora discovery", container="collabora")
|
||||
wait_for(lambda: wopi_discovery_ready("https://localhost:443"), 300, "onlyoffice discovery", container="onlyoffice")
|
||||
procs += wopiCollaborationService("fakeoffice") + \
|
||||
wopiCollaborationService("collabora") + \
|
||||
wopiCollaborationService("onlyoffice")
|
||||
ocisHealthCheck("wopi", [
|
||||
f"localhost:{_WOPI_PORTS['collabora']['debug']}",
|
||||
f"localhost:{_WOPI_PORTS['onlyoffice']['debug']}",
|
||||
f"localhost:{_WOPI_PORTS['fakeoffice']['debug']}",
|
||||
])
|
||||
|
||||
def cleanup(*_):
|
||||
for p in procs:
|
||||
try:
|
||||
p.terminate()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
signal.signal(signal.SIGTERM, cleanup)
|
||||
signal.signal(signal.SIGINT, cleanup)
|
||||
|
||||
try:
|
||||
for suite, suite_ocis_url, _, _ in slot_info:
|
||||
wait_for(lambda u=suite_ocis_url: ocis_healthy(u), 300, f"ocis ({suite})")
|
||||
print(f"ocis ready for suite: {suite}.")
|
||||
|
||||
if cfg["federationServer"]:
|
||||
wait_for(lambda: ocis_healthy(ocis_fed_url), 300, "federation ocis")
|
||||
print("federation ocis ready.")
|
||||
|
||||
# expected failures file
|
||||
if acceptance_test_type == "core-api":
|
||||
filter_tags = "~@skipOnGraph&&~@skipOnOcis-OCIS-Storage"
|
||||
base_failures = repo_root / "tests/acceptance/expected-failures-API-on-OCIS-storage.md"
|
||||
else:
|
||||
filter_tags = "~@skip&&~@skipOnGraph&&~@skipOnOcis-OCIS-Storage"
|
||||
base_failures = repo_root / "tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md"
|
||||
|
||||
ef_override = os.environ.get("EXPECTED_FAILURES_FILE")
|
||||
if ef_override:
|
||||
p = Path(ef_override)
|
||||
base_failures = p if p.is_absolute() else repo_root / p
|
||||
|
||||
# merge expected-failures-without-remotephp.md only when not using remote.php
|
||||
# (mirrors drone.star: "" if run_with_remote_php else "cat ...without-remotephp.md >> ...")
|
||||
tmp = tempfile.NamedTemporaryFile(mode="w", suffix=".md", delete=False)
|
||||
tmp.write(base_failures.read_text())
|
||||
if os.environ.get("WITH_REMOTE_PHP", "false").lower() != "true":
|
||||
without_rphp = repo_root / "tests/acceptance/expected-failures-without-remotephp.md"
|
||||
if without_rphp.exists():
|
||||
tmp.write("\n")
|
||||
tmp.write(without_rphp.read_text())
|
||||
tmp.close()
|
||||
|
||||
# base behat env (suite-specific TEST_SERVER_URL / OCIS_WRAPPER_URL added per slot)
|
||||
behat_env_base = {
|
||||
**os.environ,
|
||||
"TEST_SERVER_FED_URL": ocis_fed_url,
|
||||
"ACCEPTANCE_TEST_TYPE": acceptance_test_type,
|
||||
"BEHAT_FILTER_TAGS": filter_tags,
|
||||
"EXPECTED_FAILURES_FILE": tmp.name,
|
||||
"STORAGE_DRIVER": "ocis",
|
||||
"UPLOAD_DELETE_WAIT_TIME": "0",
|
||||
"EMAIL_HOST": "localhost",
|
||||
"EMAIL_PORT": EMAIL_PORT,
|
||||
"COLLABORATION_SERVICE_URL": f"http://localhost:{_WOPI_PORTS['fakeoffice']['http']}",
|
||||
}
|
||||
behat_env_base.update(cfg["extraEnvironment"])
|
||||
|
||||
def _run_suite(suite: str, suite_ocis_url: str, suite_wrapper_url: str) -> tuple:
|
||||
"""Run behat for one suite; capture output to file; return (suite, rc, log_path)."""
|
||||
log_path = Path(f"/tmp/behat-{suite}.log")
|
||||
env = {
|
||||
**behat_env_base,
|
||||
"TEST_SERVER_URL": suite_ocis_url,
|
||||
"OCIS_WRAPPER_URL": suite_wrapper_url,
|
||||
"BEHAT_SUITES": suite,
|
||||
}
|
||||
with open(log_path, "w") as lf:
|
||||
rc = subprocess.run(
|
||||
["make", "-C", str(repo_root), "test-acceptance-api"],
|
||||
env=env, stdout=lf, stderr=subprocess.STDOUT,
|
||||
).returncode
|
||||
return suite, rc, log_path
|
||||
|
||||
if len(slot_info) == 1:
|
||||
# single suite — stream output directly (unchanged behaviour)
|
||||
suite, suite_ocis_url, suite_wrapper_url, _ = slot_info[0]
|
||||
print(f"Running suite: {suite} (type: {acceptance_test_type})")
|
||||
env = {
|
||||
**behat_env_base,
|
||||
"TEST_SERVER_URL": suite_ocis_url,
|
||||
"OCIS_WRAPPER_URL": suite_wrapper_url,
|
||||
"BEHAT_SUITES": suite,
|
||||
}
|
||||
return subprocess.run(
|
||||
["make", "-C", str(repo_root), "test-acceptance-api"], env=env,
|
||||
).returncode
|
||||
|
||||
# multiple suites — run in parallel, print logs serially after all finish
|
||||
print(f"Running {len(slot_info)} suites in parallel (type: {acceptance_test_type}): "
|
||||
f"{[s for s, *_ in slot_info]}")
|
||||
failed = []
|
||||
with ThreadPoolExecutor(max_workers=len(slot_info)) as ex:
|
||||
futures = {
|
||||
ex.submit(_run_suite, suite, suite_ocis_url, suite_wrapper_url): suite
|
||||
for suite, suite_ocis_url, suite_wrapper_url, _ in slot_info
|
||||
}
|
||||
for fut in as_completed(futures):
|
||||
suite, rc, log_path = fut.result()
|
||||
print(f"\n{'='*60}\n=== Suite: {suite} (rc={rc}) ===\n{'='*60}")
|
||||
sys.stdout.write(log_path.read_text())
|
||||
sys.stdout.flush()
|
||||
if rc != 0:
|
||||
failed.append(suite)
|
||||
|
||||
if failed:
|
||||
print(f"\nFailed suites: {', '.join(failed)}", file=sys.stderr)
|
||||
return 1
|
||||
print(f"\nAll {len(slot_info)} suites passed.")
|
||||
return 0
|
||||
|
||||
finally:
|
||||
cleanup()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
@@ -0,0 +1,244 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Run litmus WebDAV compliance tests locally and in GitHub Actions CI.
|
||||
|
||||
Config sourced from .drone.star litmus() / setupForLitmus() — single source of truth.
|
||||
Usage: python3 tests/acceptance/run-litmus.py
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Constants (mirroring .drone.star)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# HTTPS — matching drone: ocis init generates a self-signed cert; proxy uses TLS by default.
|
||||
# Host-side curl calls use -k (insecure) to skip cert verification.
|
||||
OCIS_URL = "https://127.0.0.1:9200"
|
||||
LITMUS_IMAGE = "owncloudci/litmus:latest"
|
||||
LITMUS_TESTS = "basic copymove props http"
|
||||
SHARE_ENDPOINT = "ocs/v2.php/apps/files_sharing/api/v1/shares"
|
||||
|
||||
|
||||
def get_docker_bridge_ip() -> str:
|
||||
"""Return the Docker bridge gateway IP, reachable from host and Docker containers."""
|
||||
r = subprocess.run(
|
||||
["docker", "network", "inspect", "bridge",
|
||||
"--format", "{{range .IPAM.Config}}{{.Gateway}}{{end}}"],
|
||||
capture_output=True, text=True, check=True,
|
||||
)
|
||||
return r.stdout.strip()
|
||||
|
||||
|
||||
def base_server_env(repo_root: Path, ocis_config_dir: str, ocis_public_url: str) -> dict:
|
||||
"""OCIS server environment matching drone ocisServer() for litmus."""
|
||||
return {
|
||||
"OCIS_URL": ocis_public_url,
|
||||
"OCIS_CONFIG_DIR": ocis_config_dir,
|
||||
"STORAGE_USERS_DRIVER": "ocis",
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
# No PROXY_TLS override — drone lets ocis use its default TLS (self-signed cert from init)
|
||||
# IDP excluded: its static assets are absent when running as a host process
|
||||
"OCIS_EXCLUDE_RUN_SERVICES": "idp",
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"IDM_CREATE_DEMO_USERS": "true",
|
||||
"IDM_ADMIN_PASSWORD": "admin",
|
||||
"FRONTEND_SEARCH_MIN_LENGTH": "2",
|
||||
"OCIS_ASYNC_UPLOADS": "true",
|
||||
"OCIS_EVENTS_ENABLE_TLS": "false",
|
||||
"NATS_NATS_HOST": "0.0.0.0",
|
||||
"NATS_NATS_PORT": "9233",
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"EVENTHISTORY_STORE": "memory",
|
||||
"WEB_UI_CONFIG_FILE": str(repo_root / "tests/config/drone/ocis-config.json"),
|
||||
}
|
||||
|
||||
|
||||
def wait_for(condition_fn, timeout: int, label: str) -> None:
|
||||
deadline = time.time() + timeout
|
||||
while not condition_fn():
|
||||
if time.time() > deadline:
|
||||
print(f"Timeout waiting for {label}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
def ocis_healthy(ocis_url: str) -> bool:
|
||||
r = subprocess.run(
|
||||
["curl", "-sk", "-uadmin:admin",
|
||||
f"{ocis_url}/graph/v1.0/users/admin",
|
||||
"-w", "%{http_code}", "-o", "/dev/null"],
|
||||
capture_output=True, text=True,
|
||||
)
|
||||
return r.stdout.strip() == "200"
|
||||
|
||||
|
||||
def setup_for_litmus(ocis_url: str) -> tuple:
|
||||
"""
|
||||
Translate tests/config/drone/setup-for-litmus.sh to Python.
|
||||
Returns (space_id, public_token).
|
||||
"""
|
||||
# get personal space ID
|
||||
r = subprocess.run(
|
||||
["curl", "-sk", "-uadmin:admin", f"{ocis_url}/graph/v1.0/me/drives"],
|
||||
capture_output=True, text=True, check=True,
|
||||
)
|
||||
drives = json.loads(r.stdout)
|
||||
space_id = ""
|
||||
for drive in drives.get("value", []):
|
||||
if drive.get("driveType") == "personal":
|
||||
web_dav_url = drive.get("root", {}).get("webDavUrl", "")
|
||||
# last non-empty path segment (same as cut -d"/" -f6 in bash)
|
||||
space_id = [p for p in web_dav_url.split("/") if p][-1]
|
||||
break
|
||||
if not space_id:
|
||||
print("ERROR: could not determine personal space ID", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
print(f"SPACE_ID={space_id}")
|
||||
|
||||
# create test folder as einstein
|
||||
subprocess.run(
|
||||
["curl", "-sk", "-ueinstein:relativity", "-X", "MKCOL",
|
||||
f"{ocis_url}/remote.php/webdav/new_folder"],
|
||||
capture_output=True, check=True,
|
||||
)
|
||||
|
||||
# create share from einstein to admin
|
||||
r = subprocess.run(
|
||||
["curl", "-sk", "-ueinstein:relativity",
|
||||
f"{ocis_url}/{SHARE_ENDPOINT}",
|
||||
"-d", "path=/new_folder&shareType=0&permissions=15&name=new_folder&shareWith=admin"],
|
||||
capture_output=True, text=True, check=True,
|
||||
)
|
||||
share_id_match = re.search(r"<id>(.+?)</id>", r.stdout)
|
||||
if share_id_match:
|
||||
share_id = share_id_match.group(1)
|
||||
# accept the share as admin
|
||||
subprocess.run(
|
||||
["curl", "-X", "POST", "-sk", "-uadmin:admin",
|
||||
f"{ocis_url}/{SHARE_ENDPOINT}/pending/{share_id}"],
|
||||
capture_output=True, check=True,
|
||||
)
|
||||
|
||||
# create public share as einstein
|
||||
r = subprocess.run(
|
||||
["curl", "-sk", "-ueinstein:relativity",
|
||||
f"{ocis_url}/{SHARE_ENDPOINT}",
|
||||
"-d", "path=/new_folder&shareType=3&permissions=15&name=new_folder"],
|
||||
capture_output=True, text=True, check=True,
|
||||
)
|
||||
public_token = ""
|
||||
token_match = re.search(r"<token>(.+?)</token>", r.stdout)
|
||||
if token_match:
|
||||
public_token = token_match.group(1)
|
||||
print(f"PUBLIC_TOKEN={public_token}")
|
||||
|
||||
return space_id, public_token
|
||||
|
||||
|
||||
def run_litmus(name: str, endpoint: str) -> int:
|
||||
print(f"\nTesting endpoint [{name}]: {endpoint}", flush=True)
|
||||
result = subprocess.run(
|
||||
["docker", "run", "--rm",
|
||||
"-e", f"LITMUS_URL={endpoint}",
|
||||
"-e", "LITMUS_USERNAME=admin",
|
||||
"-e", "LITMUS_PASSWORD=admin",
|
||||
"-e", f"TESTS={LITMUS_TESTS}",
|
||||
LITMUS_IMAGE,
|
||||
# No extra CMD — ENTRYPOINT is already litmus-wrapper; passing it again
|
||||
# would make the wrapper use the path as LITMUS_URL, overriding the env var.
|
||||
],
|
||||
)
|
||||
return result.returncode
|
||||
|
||||
|
||||
def main() -> int:
|
||||
repo_root = Path(__file__).resolve().parents[2]
|
||||
ocis_bin = repo_root / "ocis/bin/ocis"
|
||||
ocis_config_dir = Path.home() / ".ocis/config"
|
||||
|
||||
# build (matching drone: restores binary from cache, then runs ocis server directly)
|
||||
subprocess.run(["make", "-C", str(repo_root / "ocis"), "build"], check=True)
|
||||
|
||||
# Docker bridge gateway IP: reachable from both the host (via docker0 interface)
|
||||
# and Docker containers (via bridge network default gateway). Use this as OCIS_URL
|
||||
# so that any redirects OCIS generates stay on a hostname the litmus container
|
||||
# can follow — matching how drone uses "ocis-server:9200" consistently.
|
||||
# HTTPS: owncloudci/litmus accepts insecure (self-signed) certs, just like drone does.
|
||||
bridge_ip = get_docker_bridge_ip()
|
||||
litmus_base = f"https://{bridge_ip}:9200"
|
||||
print(f"Docker bridge IP: {bridge_ip}", flush=True)
|
||||
|
||||
# assemble server env first — same env vars drone sets on the container before
|
||||
# running `ocis init`, so IDM_ADMIN_PASSWORD=admin is present during init and
|
||||
# the config is written with the correct password (not a random one)
|
||||
server_env = {**os.environ}
|
||||
server_env.update(base_server_env(repo_root, str(ocis_config_dir), litmus_base))
|
||||
|
||||
# init ocis with full server env (mirrors drone: env is set before ocis init runs)
|
||||
subprocess.run(
|
||||
[str(ocis_bin), "init", "--insecure", "true"],
|
||||
env=server_env,
|
||||
check=True,
|
||||
)
|
||||
shutil.copy(
|
||||
repo_root / "tests/config/drone/app-registry.yaml",
|
||||
ocis_config_dir / "app-registry.yaml",
|
||||
)
|
||||
|
||||
# start ocis server directly (matching drone: no ociswrapper for litmus)
|
||||
print("Starting ocis...", flush=True)
|
||||
ocis_proc = subprocess.Popen(
|
||||
[str(ocis_bin), "server"],
|
||||
env=server_env,
|
||||
)
|
||||
|
||||
def cleanup(*_):
|
||||
try:
|
||||
ocis_proc.terminate()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
signal.signal(signal.SIGTERM, cleanup)
|
||||
signal.signal(signal.SIGINT, cleanup)
|
||||
|
||||
try:
|
||||
wait_for(lambda: ocis_healthy(OCIS_URL), 300, "ocis")
|
||||
print("ocis ready.", flush=True)
|
||||
|
||||
space_id, _ = setup_for_litmus(OCIS_URL)
|
||||
|
||||
endpoints = [
|
||||
("old-endpoint", f"{litmus_base}/remote.php/webdav"),
|
||||
("new-endpoint", f"{litmus_base}/remote.php/dav/files/admin"),
|
||||
("new-shared", f"{litmus_base}/remote.php/dav/files/admin/Shares/new_folder/"),
|
||||
("old-shared", f"{litmus_base}/remote.php/webdav/Shares/new_folder/"),
|
||||
("spaces-endpoint", f"{litmus_base}/remote.php/dav/spaces/{space_id}"),
|
||||
]
|
||||
|
||||
failed = []
|
||||
for name, endpoint in endpoints:
|
||||
rc = run_litmus(name, endpoint)
|
||||
if rc != 0:
|
||||
failed.append(name)
|
||||
|
||||
if failed:
|
||||
print(f"\nFailed endpoints: {', '.join(failed)}", file=sys.stderr)
|
||||
return 1
|
||||
print("\nAll litmus tests passed.")
|
||||
return 0
|
||||
|
||||
finally:
|
||||
cleanup()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Loaded 100 of 307 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user