mirror of
https://github.com/wekan/wekan.git
synced 2026-12-06 06:49:53 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45a5e973eb | ||
|
|
c01d668700 | ||
|
|
599a6c09ce | ||
|
|
be94027f4d | ||
|
|
077cc4c33e | ||
|
|
adc5091b40 | ||
|
|
e3a763d797 | ||
|
|
d3ed540730 | ||
|
|
d884bec804 | ||
|
|
a27c816073 | ||
|
|
5e009701a8 | ||
|
|
e2dc7d02fa | ||
|
|
63068c5135 | ||
|
|
1ae1cd8de2 | ||
|
|
5f86494230 | ||
|
|
47a820bf27 | ||
|
|
17918ee1a7 | ||
|
|
7d96060b67 | ||
|
|
ac7bf0f0dd | ||
|
|
e42a6be234 | ||
|
|
4fe92362ac | ||
|
|
6465a76763 | ||
|
|
40fe49f706 | ||
|
|
e2708d190d | ||
|
|
f150d813cc | ||
|
|
ecbc617daa | ||
|
|
fa99a2f942 | ||
|
|
ceb1dbc883 | ||
|
|
84787989f9 | ||
|
|
6ef3b2488f | ||
|
|
da9ba326b4 | ||
|
|
9cf3465b4e | ||
|
|
a691d7bdd5 | ||
|
|
0aea400b27 | ||
|
|
e6edeadc57 | ||
|
|
d8c299d48e | ||
|
|
2428d28338 | ||
|
|
e774aff816 | ||
|
|
0f17b7b00b | ||
|
|
335d0c90b7 | ||
|
|
b4ab00409b |
No files matched your search
@@ -83,7 +83,7 @@ jobs:
|
||||
ref: refs/tags/${{ needs.plan.outputs.tag }}
|
||||
path: app
|
||||
persist-credentials: false
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: '26'
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
||||
@@ -162,7 +162,7 @@ jobs:
|
||||
tar -xzf esm-bundle.tar.gz
|
||||
export WEKAN_COMMIT="$(cat bundle/wekan-commit.txt)"
|
||||
python3 releases/bun/assets.py fetch "$BUN_TAG" "$TARGET"
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
if: matrix.kind == 'native'
|
||||
with:
|
||||
node-version: '26'
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
ref: ${{ github.event.inputs.ref || 'main' }}
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
|
||||
@@ -194,7 +194,7 @@ jobs:
|
||||
shell: bash
|
||||
run: python3 ./releases/check-telemetry.py --source .
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -637,7 +637,7 @@ jobs:
|
||||
run: |
|
||||
bash "$GITHUB_WORKSPACE/releases/apt-install.sh" libatomic1 build-essential g++ make python3 curl wget zip unzip xz-utils elfutils qemu-user-static
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -1223,7 +1223,7 @@ jobs:
|
||||
# loudly and verified from the release side; the next step checks the two
|
||||
# base bundles from here.
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
|
||||
uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
|
||||
with:
|
||||
tag_name: v${{ needs.prepare.outputs.version }}
|
||||
name: v${{ needs.prepare.outputs.version }}
|
||||
@@ -1453,7 +1453,7 @@ jobs:
|
||||
shell: bash
|
||||
run: python3 src/releases/check-telemetry.py --source src
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -1867,7 +1867,7 @@ jobs:
|
||||
shell: bash
|
||||
run: python3 src/releases/check-telemetry.py --source src
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -2274,7 +2274,7 @@ jobs:
|
||||
shell: bash
|
||||
run: python3 src/releases/check-telemetry.py --source src
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -2650,7 +2650,7 @@ jobs:
|
||||
shell: bash
|
||||
run: python3 ./releases/check-telemetry.py --source .
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -2933,7 +2933,7 @@ jobs:
|
||||
shell: bash
|
||||
run: python3 ./releases/check-telemetry.py --source .
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -3671,7 +3671,7 @@ jobs:
|
||||
shell: bash
|
||||
run: python3 ./releases/check-telemetry.py --source .
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
@@ -5605,7 +5605,7 @@ jobs:
|
||||
with:
|
||||
ref: refs/tags/v${{ needs.prepare.outputs.version }}
|
||||
persist-credentials: false
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Write the CycloneDX SBOM from package-lock.json
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
ref: ${{ github.event.inputs.ref || 'main' }}
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Use release npm version
|
||||
|
||||
@@ -144,7 +144,7 @@ jobs:
|
||||
|
||||
# The SEA blob format belongs to one Node.js version: the builder runs
|
||||
# on the same version the bundle embeds (build.mjs checks it too).
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
if: steps.fetch.outputs.skip != 'true'
|
||||
with:
|
||||
node-version: ${{ steps.fetch.outputs.node_version }}
|
||||
|
||||
@@ -157,7 +157,7 @@ jobs:
|
||||
python releases/check-telemetry.py --archive $zip
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Telemetry audit rejected the Windows bundle.' }
|
||||
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version: 26
|
||||
- name: Use release npm version
|
||||
|
||||
@@ -97,6 +97,107 @@ Which databases WeKan supports
|
||||
|
||||
</details>
|
||||
|
||||
# v13.46 2026-12-06 WeKan ® release
|
||||
|
||||
**In short:** The **card dependency REST API** returns clearer validation
|
||||
errors for invalid requests. This release also updates application and
|
||||
build dependencies, aligns the **S3 client and upload SDK**, removes a
|
||||
vulnerable copy of **glob**, and refreshes
|
||||
the **QNAP installation instructions**.
|
||||
|
||||
This release updates the following dependencies:
|
||||
|
||||
<details>
|
||||
<summary><a href="https://github.com/wekan/wekan/commit/63068c51352a9887b2b4ccc3145936aa2935d432">Remove vulnerable transitive glob from ESLint dependencies</a>. Thanks to dependabot and xet7.</summary>
|
||||
|
||||
Using flat-cache 4.0.1 removes the legacy rimraf dependency and its copy of
|
||||
glob 7.2.3. All copies in the root npm lockfile now resolve above the affected
|
||||
range for [CVE-2026-144291](https://github.com/advisories/GHSA-c6wh-w8c3-cv3g).
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><a href="https://github.com/wekan/wekan/commit/4fe92362ac14a910036d7e41cb2ca6f8b59ef74c">Update application, test and build dependencies</a>. Thanks to dependabot.</summary>
|
||||
|
||||
- [**minimatch 11.0.9 → 11.0.10**](https://github.com/wekan/wekan/commit/4fe92362ac14a910036d7e41cb2ca6f8b59ef74c) — glob matching.
|
||||
- [**Playwright 1.65.1 → 1.65.2**](https://github.com/wekan/wekan/commit/e42a6be2346b2ffd1358355b75943b91f58b0169) — end-to-end testing.
|
||||
- [**softprops/action-gh-release 3.0.4 → 3.0.5**](https://github.com/wekan/wekan/commit/ac7bf0f0dd1ad8ae02bde69696eae6c520411f99) — GitHub release publishing.
|
||||
- [**actions/setup-node 7.1.0 → 7.2.0**](https://github.com/wekan/wekan/commit/7d96060b6786cbfa336e922e73764f5cf0af6b42) — Node.js setup in GitHub Actions.
|
||||
- [**@aws-sdk/lib-storage 3.1161.0 → 3.1184.0**](https://github.com/wekan/wekan/commit/17918ee1a7174f833ec7a6842322113d7c2bc3af) — S3 uploads.
|
||||
- [**@aws-sdk/client-s3 3.1172.0 → 3.1184.0**](https://github.com/wekan/wekan/commit/077cc4c33e8f77516897c5040aa0043f8e2b0280) — meets the S3 upload library's peer dependency.
|
||||
- [**Puppeteer 25.18.1 → 26.0.0**](https://github.com/wekan/wekan/commit/47a820bf2765f5a92834c69b67c73cbc5b76f774) — browser automation.
|
||||
- [**@fastify/busboy 3.2.6 → 3.2.7**](https://github.com/wekan/wekan/commit/5f86494230980c86bd42151e07e3c732df8f13da) — multipart form parsing.
|
||||
- [**DHTMLX Gantt 10.0.3 → 10.1.1**](https://github.com/wekan/wekan/commit/1ae1cd8de2edff6d944c396596f47c98b10e4200) — Gantt chart rendering.
|
||||
|
||||
</details>
|
||||
|
||||
and fixes the following bugs:
|
||||
|
||||
<details>
|
||||
<summary><a href="https://github.com/wekan/wekan/commit/6465a767632c5634ffc670131d61e27225673952">Return HTTP 400 for invalid card dependency requests</a>. Thanks to AhmedLukman and xet7.</summary>
|
||||
|
||||
Creating a dependency without a valid target or editing one without fields
|
||||
now returns a JSON validation error with HTTP 400. The REST tests cover both
|
||||
successful edits and rejected requests, including checks that rejected
|
||||
requests leave existing dependency data intact.
|
||||
|
||||
[Pull request #7000](https://github.com/wekan/wekan/pull/7000).
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><a href="https://github.com/wekan/wekan/commit/be94027f4d514dfad025ef5169486998f21b4f25">Check card write access before processing update data</a>. Thanks to xet7.</summary>
|
||||
|
||||
Card updates check board write access before reading update fields. The REST
|
||||
route audit follows the single-card route into the shared handler and checks
|
||||
for its authorization call.
|
||||
|
||||
</details>
|
||||
|
||||
and updates the following documentation:
|
||||
|
||||
- [Recommend the WeKan AppImage for QNAP NAS](https://github.com/wekan/wekan/commit/d3ed540730b8a72d12193c4ae3a9e38d47d33c04). Thanks to xet7.
|
||||
- [Remove a broken Vultr documentation link](https://github.com/wekan/wekan/commit/d884bec804387257e7d8760b1f66e8a45fd3f6e6). Thanks to xet7.
|
||||
- [Remove obsolete SaaS hosting links](https://github.com/wekan/wekan/commit/5e009701a84540c3e5cca8915f932b0115572a4b). Thanks to xet7.
|
||||
|
||||
# v13.45 2026-12-05 WeKan ® release
|
||||
|
||||
**In short:** Card attachment tiles show previews for **DXF drawings** and
|
||||
**legacy Word, Excel and PowerPoint files**. Previews follow the board's
|
||||
attachment settings and the original file's access rules. The release also
|
||||
updates **DOMPurify** to address a template sanitization advisory.
|
||||
|
||||
This release adds the following new features:
|
||||
|
||||
<details>
|
||||
<summary><a href="https://github.com/wekan/wekan/commit/0f17b7b00bccd237ebaf3598358e427182ba83e0">Show DXF and legacy Office thumbnails on cards</a>. Thanks to SylcoDev and xet7.</summary>
|
||||
|
||||
ASCII DXF tiles show outlines of supported 2D model-space geometry. Legacy
|
||||
Office tiles show the opening Word text, the first rows and columns of the
|
||||
Excel worksheet, or text from the first PowerPoint slide. WeKan caches the
|
||||
WebP previews and shows an extension tile when conversion is unavailable.
|
||||
|
||||
[Issue #6997](https://github.com/wekan/wekan/issues/6997) and
|
||||
[Issue #6996](https://github.com/wekan/wekan/issues/6996).
|
||||
|
||||
</details>
|
||||
|
||||
and fixes the following bugs:
|
||||
|
||||
<details>
|
||||
<summary><a href="https://github.com/wekan/wekan/commit/e6edeadc5759bd4ad1c6ea856efc8f27f7bfd2d6">Separate personal API token lookup and audit digests</a>. Thanks to xet7.</summary>
|
||||
|
||||
The personal API audit groups requests by metadata such as IP address and
|
||||
country. Its grouping key is computed separately from the lookup digest for
|
||||
random bearer tokens, addressing CodeQL alert 621. Existing tokens and stored
|
||||
audit groups retain their keys.
|
||||
|
||||
</details>
|
||||
|
||||
and updates the following dependencies:
|
||||
|
||||
- [Update DOMPurify to 3.5.1](https://github.com/wekan/wekan/commit/2428d2833894ec4b7dd93763e2504632c7419b3d). Fixes [CVE-2026-144292](https://github.com/advisories/GHSA-hrxw-jjj6-2g2j). Thanks to dependabot and xet7.
|
||||
|
||||
# v13.44 2026-12-04 WeKan ® release
|
||||
|
||||
**In short:** Opened cards show thumbnails for PDFs, Word documents, Excel
|
||||
|
||||
+19
-22
@@ -5,6 +5,25 @@ each one changed and the project status are in
|
||||
Written by `node releases/changelog-short.mjs` from CHANGELOG-big.md:
|
||||
make changes there.
|
||||
|
||||
# v13.46 2026-12-06 WeKan ® release
|
||||
|
||||
The **card dependency REST API** returns clearer validation
|
||||
errors for invalid requests. This release also updates application and
|
||||
build dependencies, aligns the **S3 client and upload SDK**, removes a
|
||||
vulnerable copy of **glob**, and refreshes
|
||||
the **QNAP installation instructions**.
|
||||
|
||||
[All changes in v13.46](CHANGELOG-big.md#v1346-2026-12-06-wekan--release)
|
||||
|
||||
# v13.45 2026-12-05 WeKan ® release
|
||||
|
||||
Card attachment tiles show previews for **DXF drawings** and
|
||||
**legacy Word, Excel and PowerPoint files**. Previews follow the board's
|
||||
attachment settings and the original file's access rules. The release also
|
||||
updates **DOMPurify** to address a template sanitization advisory.
|
||||
|
||||
[All changes in v13.45](CHANGELOG-big.md#v1345-2026-12-05-wekan--release)
|
||||
|
||||
# v13.44 2026-12-04 WeKan ® release
|
||||
|
||||
Opened cards show thumbnails for PDFs, Word documents, Excel
|
||||
@@ -28,25 +47,3 @@ continues processing valid cards in the same request. **DOMPurify** has been
|
||||
updated to 3.4.18.
|
||||
|
||||
[All changes in v13.42](CHANGELOG-big.md#v1342-2026-12-03-wekan--release)
|
||||
|
||||
# v13.41 2026-12-03 WeKan ® release
|
||||
|
||||
IGES attachments keep their .igs or .iges extension when uploaded.
|
||||
This also applies when file detection reports them as plain text. Board admins
|
||||
can turn due dates red before the deadline. REST list moves between boards
|
||||
honor the requested position and keep moved cards on visible lists.
|
||||
|
||||
[All changes in v13.41](CHANGELOG-big.md#v1341-2026-12-03-wekan--release)
|
||||
|
||||
# v13.40 2026-12-02 WeKan ® release
|
||||
|
||||
Native **WeKan board imports** preserve required list fields
|
||||
and handle **Notion** and **Planka** synchronization metadata. Multiline
|
||||
board labels save correctly. **OpenProject** transfers preserve assignees and
|
||||
milestone dates and budgets. List Sync can write back compatible type
|
||||
changes and budget choices.
|
||||
**Jira** transfers retain description panels and API exports preserve inline
|
||||
formatting. List Sync can also read and update Jira start dates. The
|
||||
**Univention App Center** package starts with the shell-free WeKan image.
|
||||
|
||||
[All changes in v13.40](CHANGELOG-big.md#v1340-2026-12-02-wekan--release)
|
||||
+1
-1
@@ -62,7 +62,7 @@ FROM --platform=$BUILDPLATFORM debian:trixie AS bundle
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG TARGETVARIANT
|
||||
ARG VERSION=13.44
|
||||
ARG VERSION=13.46
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
COPY --chmod=755 releases/check-telemetry.py /tmp/check-telemetry.py
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
|
||||
appVersion: "v13.44.0"
|
||||
appVersion: "v13.46.0"
|
||||
files:
|
||||
userUploads:
|
||||
- README.md
|
||||
|
||||
@@ -108,11 +108,11 @@ template(name="attachmentGallery")
|
||||
i.fa.fa-file-o(aria-hidden="true")
|
||||
span.attachment-thumbnail-ext= extension
|
||||
else if link
|
||||
if(isImage)
|
||||
img.attachment-thumbnail(src="{{attachmentPreviewUrl this}}" title="{{cleanFilename name}}" alt="{{cleanFilename name}}" loading="lazy")
|
||||
else if documentThumbnailUrl this
|
||||
if documentThumbnailUrl this
|
||||
img.attachment-thumbnail.attachment-document-thumbnail(src="{{documentThumbnailUrl this}}" title="{{cleanFilename name}}" alt="" loading="lazy")
|
||||
span.attachment-thumbnail-text.attachment-document-fallback(hidden)= extension
|
||||
else if isImage
|
||||
img.attachment-thumbnail(src="{{attachmentPreviewUrl this}}" title="{{cleanFilename name}}" alt="{{cleanFilename name}}" loading="lazy")
|
||||
else if($eq extension 'svg')
|
||||
img.attachment-thumbnail(src="{{link}}" title="{{cleanFilename name}}" alt="{{cleanFilename name}}" type="image/svg+xml")
|
||||
else if($eq extension 'mp3')
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
https://www.vultr.com/docs/install-wekan-on-debian-10
|
||||
@@ -2,7 +2,4 @@
|
||||
|
||||
Related older info: https://github.com/wekan/wekan/issues/1180
|
||||
|
||||
Use wekan-VERSION.zip bundle from https://releases.wekan.team
|
||||
|
||||
with these instructions: [Raspberry Pi](../../../FOSS/HW/RaspberryPi/Raspberry-Pi.md)
|
||||
|
||||
Easiest is to use AppImage from https://github.com/wekan/wekan/releases
|
||||
@@ -10,7 +10,7 @@ This is without container (without Docker or Snap).
|
||||
|
||||
Right click and download files 1-4:
|
||||
|
||||
1. [wekan-13.44-win64.zip](https://github.com/wekan/wekan/releases/download/v13.44/wekan-13.44-win64.zip) or newest available at https://github.com/wekan/wekan/releases/
|
||||
1. [wekan-13.46-win64.zip](https://github.com/wekan/wekan/releases/download/v13.46/wekan-13.46-win64.zip) or newest available at https://github.com/wekan/wekan/releases/
|
||||
|
||||
2. [node.exe](https://nodejs.org/dist/latest-v26.x/win-x64/node.exe)
|
||||
|
||||
@@ -22,7 +22,7 @@ Right click and download files 1-4:
|
||||
|
||||
6. Double click `mongodb-windows-x86_64-7.0.34-signed.msi` . In installer, uncheck downloading MongoDB compass.
|
||||
|
||||
7. Unzip `wekan-13.44-win64.zip` , inside it is directory `bundle`, to it copy other files:
|
||||
7. Unzip `wekan-13.46-win64.zip` , inside it is directory `bundle`, to it copy other files:
|
||||
|
||||
```
|
||||
bundle (directory)
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
- Website: http://trydome.io
|
||||
- Location: USA
|
||||
- Free trial of WeKan Hosting at https://app.trydome.io/signup?package=wekan
|
||||
- Paid SaaS hosting at propietary backend
|
||||
- Hosted code examples at https://github.com/domeplatform
|
||||
- Developer info at https://www.trydome.io/developer
|
||||
@@ -1 +0,0 @@
|
||||
- [Gitpod Ready-to-Code](https://gitpod.io/#https://github.com/wekan/wekan)
|
||||
@@ -1,14 +0,0 @@
|
||||
[![Deploy][heroku_button]][heroku_deploy]
|
||||
|
||||
[Heroku deployment quide needed](https://github.com/wekan/wekan/issues/693)
|
||||
|
||||
[Deploy error](https://github.com/wekan/wekan/issues/638)
|
||||
|
||||
[Problem with Heroku](https://github.com/wekan/wekan/issues/532)
|
||||
|
||||
Email to work on already working Heroku: Use 3rd party email like SendGrid, update process.env.MAIL_URL ,
|
||||
change from email at Accounts.emailTeamplates.from , new file in server folder called smtp.js on code
|
||||
`Meteor.startup(function () });` . TODO: Test and find a way to use API keys instead.
|
||||
|
||||
[heroku_button]: heroku.png
|
||||
[heroku_deploy]: https://heroku.com/deploy?template=https://github.com/wekan/wekan/tree/devel
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 KiB |
@@ -1,3 +0,0 @@
|
||||
https://repocloud.io
|
||||
|
||||
[](https://repocloud.io/details/?app_id=34)
|
||||
@@ -1,11 +0,0 @@
|
||||
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 185 42" width="185" height="42">
|
||||
<title>New Project</title>
|
||||
<defs>
|
||||
<image width="185" height="42" id="img1" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALkAAAAqCAMAAADYgQqDAAAAAXNSR0IB2cksfwAAAiVQTFRFAAAAADbzADb0ADf0ADf0AEP+ADb0ADf0ADf0ADf0ADb0ADn1ADb0ADfzADr0ADb0ACn+ADX0ADb1ADf1ADb1AjjwFD3FIUCmKEKVJ0KYHT+wDTvWDzvPMESDQElcVFljaG11XGNtSE9aPUhkJkKZBznkHD+yREpUeHyE29vg9fX59vb67O/1x9Xenqy2TlVeDDrXRE1fpaeu8/P38PL31uHpu8rVaXF7CzrZCTrfPkhilpqg9PX5usnUMkV9JUGeHj+sDTvVYGVt3N3i8vP4ws7XY2t1TlRdVVxlSE5YIkGjAzjuBDjrMUWAnaCncnd+VlxkwsTJ5+zyxNTelqOtR01WAjfwGT66PUhjnJ+l5OXpzM3S4+To4unwx9fiorC6SlFcHT+vEzzGN0ZzTlNdY2hwT1VeV11lv8HHz9zmxtbhf4mTO0hnBjnnBjnlOUdsz9HW4uLn0dLXiIyTiY2U2OLqnqu2QklXDDrYHD+xWV5n2tvf2+TsqLXADTvUJ0KXg4iP8vL21eDpk6CqQEldCTreJUGcfICH7u7z8fL3y9nkxNTfZG12NEV6FT3DTFJdvL7D1uHqwtLdeIOMQUpeL0SESE5XlJeevb/EwcLIqbK6hZCaVl5nQ0pUFj2/BTjpIUCnOkdrOkdqLUSKAzjsBznjBzniADfzADf1ADv4AP7+ADbzADf0ADb0AEn+ADbzADn2ADf0ADb0ADb2ADf1ADfzADX1vF/DlwAAALd0Uk5TAESj1f8Mkf6QuLBgWNAS/QhIQFJR////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////KCAB9eiABc8v/PkuheA9q/Y6cAAAAetJREFUeJzt2E0oBGEcx/Hnl2g3djNtxEFpU/aipBycXDcRdm1LXo6Su5ODcpDEWdoLIWvLtltKzi6UknKhJOWwSvL+krSemd0ZuzNqXg7z39V+LzM9T1OfpmeemV0wHnisaErz+IGLy4Fvao25yvD9JcqdX9QS81W8cXnlJzXDSo4XMNc7tcJKzme48UqtsFIlIDxTI6zlhueR2mCt6pLc9kpy+1PLBUjdUnmMp5LXQe6KjGSwfLlXgb+4zuhQhsqTe/mL6YMfnZx+V3NMpzJSrrwdeMicCZ+Om4ZzH3BA5dIvV17rQyp7Wg9cNwIXzdgngumWI/cDl8p4EyDecxx2xGlguv3K/XyR41Qeb8UJY23is7pORdNJkY9l9pS8hS20iEPLJDDdZPkkkn0icy9vtuu1Clgkgekmy6eAhHa2/94TC8/ZbTKWLJ8GYtrZcIpvMjN2m4wly2f/ehSltX9UoJuLLF8AIuo5IcTh8yntRQWRLA90av/nkjabcQqVkZRdMQKsqCcnsFS4310579BV9T1Pbw2P2g4y3P/5TVQ8leT2V5LbXzWiI9QGa20ihiFqhJWiA2A7YWqFlbaDYHGEqBnmc64F+Bs/gSA1xGxx9DDpW2UXvdQWMyXT3Yyx7FeWu3i2mI3BJ+n4A1vsbia38Q0EAAAAAElFTkSuQmCC"/>
|
||||
</defs>
|
||||
<style>
|
||||
.s0 { fill: #ffffff }
|
||||
</style>
|
||||
<use id="Layer 3" href="#img1" x="0" y="0"/>
|
||||
<path id="Deploy on RepoCloud " class="s0" aria-label="Deploy on RepoCloud " d="m41.3 25h-2.7v-1.8h2.6q0.9 0 1.6-0.4 0.6-0.3 1-1 0.3-0.8 0.3-1.9 0-1.1-0.3-1.8-0.4-0.8-1-1.1-0.7-0.3-1.6-0.3h-2.6v-1.9h2.7q1.5 0 2.6 0.6 1.2 0.6 1.7 1.8 0.6 1.1 0.6 2.7 0 1.6-0.6 2.7-0.6 1.2-1.7 1.8-1.1 0.6-2.6 0.6zm-3.6-10.2h2.1v10.2h-2.1zm13.1 10.3q-1.2 0-2-0.4-0.9-0.5-1.3-1.4-0.5-0.9-0.5-2.1 0-1.2 0.5-2.1 0.4-0.9 1.3-1.4 0.8-0.5 1.9-0.5 0.8 0 1.4 0.3 0.7 0.2 1.2 0.7 0.5 0.5 0.7 1.2 0.3 0.8 0.3 1.7v0.6h-6.4v-1.3h5.4l-1 0.3q0-0.5-0.2-1-0.1-0.4-0.5-0.6-0.3-0.3-0.9-0.3-0.5 0-0.8 0.3-0.4 0.2-0.6 0.6-0.2 0.4-0.2 1v0.9q0 0.6 0.2 1 0.3 0.5 0.6 0.7 0.4 0.3 0.9 0.3 0.4 0 0.7-0.1 0.3-0.1 0.5-0.3 0.2-0.2 0.3-0.5l2 0.1q-0.2 0.7-0.6 1.2-0.5 0.6-1.2 0.8-0.7 0.3-1.7 0.3zm6.5 2.7h-2.1v-10.5h2.1v1.3h0.1q0.1-0.3 0.4-0.6 0.3-0.3 0.7-0.5 0.4-0.3 1.1-0.3 0.8 0 1.5 0.5 0.7 0.4 1.1 1.3 0.5 0.9 0.5 2.2 0 1.2-0.4 2.1-0.5 0.9-1.2 1.4-0.7 0.4-1.5 0.4-0.6 0-1.1-0.2-0.4-0.2-0.7-0.5-0.3-0.3-0.4-0.6h-0.1zm1.6-4.5q0.5 0 0.9-0.2 0.3-0.3 0.5-0.8 0.2-0.5 0.2-1.2 0-0.7-0.2-1.2-0.2-0.5-0.5-0.8-0.4-0.3-0.9-0.3-0.5 0-0.9 0.3-0.3 0.3-0.5 0.8-0.2 0.5-0.2 1.2 0 0.7 0.2 1.2 0.2 0.5 0.5 0.8 0.4 0.2 0.9 0.2zm4.7-8.6h2.1v10.2h-2.1zm6.8 10.3q-1.2 0-2-0.5-0.9-0.5-1.3-1.3-0.5-0.9-0.5-2.1 0-1.2 0.5-2.1 0.4-0.9 1.3-1.3 0.8-0.5 2-0.5 1.1 0 2 0.5 0.8 0.4 1.3 1.3 0.4 0.9 0.4 2.1 0 1.2-0.4 2.1-0.5 0.8-1.3 1.3-0.9 0.5-2 0.5zm0-1.6q0.5 0 0.9-0.3 0.3-0.3 0.5-0.8 0.2-0.5 0.2-1.2 0-0.7-0.2-1.2-0.2-0.5-0.5-0.8-0.4-0.3-0.9-0.3-0.5 0-0.9 0.3-0.4 0.3-0.5 0.8-0.2 0.5-0.2 1.2 0 0.7 0.2 1.2 0.1 0.5 0.5 0.8 0.4 0.3 0.9 0.3zm5.7 4.3q-0.4 0.1-0.7 0-0.4-0.1-0.6-0.2l0.5-1.5q0.6 0.1 1 0 0.3 0 0.5-0.6l0.2-0.3-2.8-7.9h2.3l1.5 5.7h0.1l1.6-5.7h2.2l-2.9 8.5q-0.2 0.6-0.6 1.1-0.4 0.4-0.9 0.7-0.6 0.2-1.4 0.2zm12.7-2.7q-1.1 0-2-0.5-0.8-0.5-1.3-1.3-0.4-0.9-0.4-2.1 0-1.2 0.4-2.1 0.5-0.9 1.3-1.3 0.9-0.5 2-0.5 1.2 0 2 0.5 0.9 0.4 1.3 1.3 0.5 0.9 0.5 2.1 0 1.2-0.5 2.1-0.4 0.8-1.3 1.3-0.8 0.5-2 0.5zm0-1.6q0.5 0 0.9-0.3 0.4-0.3 0.5-0.8 0.2-0.5 0.2-1.2 0-0.7-0.2-1.2-0.1-0.5-0.5-0.8-0.4-0.3-0.9-0.3-0.5 0-0.9 0.3-0.3 0.3-0.5 0.8-0.2 0.5-0.2 1.2 0 0.7 0.2 1.2 0.2 0.5 0.5 0.8 0.4 0.3 0.9 0.3zm6.8-2.9v4.4h-2.1v-7.7h2.1v1.4h0.1q0.2-0.7 0.8-1.1 0.6-0.3 1.4-0.3 0.8 0 1.4 0.3 0.6 0.3 0.9 1 0.3 0.6 0.3 1.5v4.9h-2.1v-4.5q0-0.7-0.3-1.1-0.4-0.4-1-0.4-0.5 0-0.8 0.2-0.3 0.2-0.5 0.5-0.2 0.4-0.2 0.9zm11.2 4.4h-2.2v-10.2h4q1.2 0 2 0.4 0.8 0.4 1.2 1.2 0.5 0.7 0.5 1.7 0 1-0.5 1.8-0.4 0.7-1.2 1.1-0.9 0.4-2 0.4h-2.7v-1.7h2.3q0.6 0 1-0.2 0.5-0.2 0.7-0.5 0.2-0.4 0.2-0.9 0-0.5-0.2-0.8-0.2-0.4-0.7-0.5-0.4-0.2-1-0.2h-1.4zm5.8 0h-2.3l-2.5-4.7h2.3zm4 0.2q-1.1 0-2-0.5-0.9-0.5-1.3-1.4-0.5-0.8-0.5-2.1 0-1.1 0.5-2 0.4-0.9 1.3-1.4 0.8-0.5 1.9-0.5 0.8 0 1.4 0.2 0.7 0.3 1.2 0.8 0.5 0.4 0.8 1.2 0.2 0.7 0.2 1.7v0.6h-6.4v-1.4h5.4l-1 0.4q0-0.6-0.2-1-0.1-0.5-0.5-0.7-0.3-0.2-0.9-0.2-0.5 0-0.8 0.2-0.4 0.3-0.6 0.7-0.2 0.4-0.2 0.9v0.9q0 0.7 0.2 1.1 0.3 0.4 0.6 0.7 0.4 0.2 1 0.2 0.3 0 0.6-0.1 0.3-0.1 0.5-0.3 0.2-0.2 0.3-0.5l2 0.2q-0.2 0.7-0.6 1.2-0.5 0.5-1.2 0.8-0.7 0.3-1.7 0.3zm6.5 2.7h-2.1v-10.5h2.1v1.3h0.1q0.1-0.3 0.4-0.7 0.3-0.3 0.7-0.5 0.4-0.2 1.1-0.2 0.8 0 1.5 0.4 0.7 0.5 1.1 1.3 0.5 0.9 0.5 2.2 0 1.3-0.4 2.2-0.5 0.9-1.2 1.3-0.7 0.5-1.5 0.5-0.6 0-1.1-0.2-0.4-0.3-0.7-0.6-0.2-0.3-0.4-0.6h-0.1zm1.6-4.4q0.5 0 0.9-0.3 0.3-0.3 0.5-0.8 0.2-0.5 0.2-1.2 0-0.6-0.2-1.1-0.2-0.5-0.5-0.8-0.4-0.3-0.9-0.3-0.5 0-0.9 0.3-0.3 0.2-0.5 0.8-0.2 0.5-0.2 1.1 0 0.7 0.2 1.2 0.2 0.5 0.5 0.8 0.4 0.3 0.9 0.3zm8.1 1.7q-1.1 0-2-0.5-0.8-0.5-1.3-1.4-0.4-0.9-0.4-2 0-1.2 0.4-2.1 0.5-0.9 1.3-1.4 0.9-0.5 2-0.5 1.2 0 2 0.5 0.9 0.5 1.3 1.4 0.5 0.9 0.5 2.1 0 1.1-0.5 2-0.4 0.9-1.3 1.4-0.8 0.5-2 0.5zm0.1-1.7q0.5 0 0.8-0.2 0.4-0.3 0.6-0.9 0.2-0.5 0.2-1.1 0-0.7-0.2-1.2-0.2-0.5-0.6-0.8-0.3-0.3-0.8-0.3-0.6 0-0.9 0.3-0.4 0.3-0.6 0.8-0.2 0.5-0.2 1.2 0 0.6 0.2 1.1 0.2 0.6 0.6 0.9 0.3 0.2 0.9 0.2zm9.2 1.7q-1.3 0-2.4-0.6-1.1-0.6-1.7-1.8-0.6-1.2-0.6-2.8 0-1.7 0.6-2.9 0.6-1.1 1.7-1.8 1.1-0.6 2.4-0.6 0.9 0 1.7 0.3 0.7 0.2 1.3 0.7 0.6 0.5 1 1.2 0.3 0.7 0.4 1.5h-2.1q-0.1-0.4-0.3-0.7-0.2-0.4-0.4-0.6-0.3-0.2-0.7-0.3-0.4-0.2-0.8-0.2-0.8 0-1.4 0.4-0.6 0.4-0.9 1.2-0.3 0.7-0.3 1.8 0 1.1 0.3 1.8 0.3 0.7 0.9 1.1 0.6 0.4 1.4 0.4 0.4 0 0.8-0.1 0.3-0.1 0.6-0.4 0.3-0.2 0.5-0.5 0.2-0.3 0.3-0.7h2.1q0 0.7-0.4 1.3-0.3 0.7-0.9 1.2-0.5 0.5-1.3 0.8-0.8 0.3-1.8 0.3zm5.5-10.3h2.1v10.2h-2.1zm6.8 10.3q-1.2 0-2-0.5-0.8-0.5-1.3-1.4-0.5-0.9-0.5-2 0-1.2 0.5-2.1 0.5-0.9 1.3-1.4 0.8-0.5 2-0.5 1.2 0 2 0.5 0.8 0.5 1.3 1.4 0.5 0.9 0.5 2.1 0 1.1-0.5 2-0.5 0.9-1.3 1.4-0.8 0.5-2 0.5zm0-1.7q0.5 0 0.9-0.3 0.3-0.3 0.5-0.8 0.2-0.5 0.2-1.2 0-0.6-0.2-1.1-0.2-0.6-0.5-0.9-0.4-0.2-0.9-0.2-0.5 0-0.9 0.2-0.3 0.3-0.5 0.9-0.2 0.5-0.2 1.1 0 0.7 0.2 1.2 0.2 0.5 0.5 0.8 0.4 0.3 0.9 0.3zm9.6-1.7v-4.4h2.1v7.6h-2v-1.3h-0.1q-0.3 0.6-0.9 1-0.6 0.4-1.4 0.4-0.8 0-1.4-0.3-0.6-0.4-0.9-1-0.3-0.6-0.3-1.5v-4.9h2.1v4.5q0 0.7 0.4 1.1 0.3 0.3 0.9 0.3 0.4 0 0.7-0.1 0.4-0.2 0.6-0.6 0.2-0.3 0.2-0.8zm6.1 3.4q-0.8 0-1.5-0.5-0.7-0.4-1.2-1.3-0.4-0.9-0.4-2.2 0-1.3 0.5-2.2 0.4-0.8 1.1-1.3 0.7-0.4 1.5-0.4 0.7 0 1.1 0.2 0.4 0.2 0.7 0.6 0.3 0.3 0.4 0.6h0.1v-3.8h2.1v10.1h-2.1v-1.2h-0Line truncated
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 7.1 KiB |
@@ -1,4 +0,0 @@
|
||||
[![Deploy to Scalingo][scalingo_button]][scalingo_deploy]
|
||||
|
||||
[scalingo_button]: scalingo.svg
|
||||
[scalingo_deploy]: https://my.scalingo.com/deploy?source=https://github.com/wekan/wekan#master
|
||||
@@ -1,120 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
id="Calque_1"
|
||||
x="0px"
|
||||
y="0px"
|
||||
viewBox="0 0 155.5 35"
|
||||
enable-background="new 0 0 155.5 35"
|
||||
xml:space="preserve"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="scalingo-btn-01.svg"
|
||||
width="155.5"
|
||||
height="35"><metadata
|
||||
id="metadata57"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs55" /><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1163"
|
||||
id="namedview53"
|
||||
showgrid="false"
|
||||
inkscape:zoom="36.901167"
|
||||
inkscape:cx="93.692254"
|
||||
inkscape:cy="12.107873"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g19"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0" /><path
|
||||
d="M 151.5,35 4,35 C 1.8,35 0,33.2 0,31 L 0,4 C 0,1.8 1.8,0 4,0 l 147.5,0 c 2.2,0 4,1.8 4,4 l 0,27 c 0,2.2 -1.8,4 -4,4 z"
|
||||
id="path3"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#444444" /><path
|
||||
d="M 4,0 C 1.8,0 0,1.8 0,4 l 0,27 c 0,2.2 1.8,4 4,4 L 35,35 35,0 4,0 Z"
|
||||
id="path5"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#2b2b2b" /><g
|
||||
transform="translate(80,2400)"
|
||||
id="g7"><g
|
||||
id="g9"><path
|
||||
d="m -64.6,-2384.9 -6.1,-6.1 3.8,0 c 0.3,0 0.5,-0.2 0.5,-0.5 0,-0.3 -0.2,-0.5 -0.5,-0.5 l -5,0 c -0.3,0 -0.5,0.2 -0.5,0.5 l 0,5 c 0,0.3 0.2,0.5 0.5,0.5 0.3,0 0.5,-0.2 0.5,-0.5 l 0,-3.8 6.1,6.1 c 0.1,0.1 0.2,0.1 0.4,0.1 0.1,0 0.3,0 0.4,-0.1 0,-0.1 0,-0.5 -0.1,-0.7 l 0,0 z"
|
||||
id="path11"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#45b0e5" /><path
|
||||
d="m -53,-2392 -5,0 c -0.3,0 -0.5,0.2 -0.5,0.5 0,0.3 0.2,0.5 0.5,0.5 l 3.8,0 -6.1,6.1 c -0.2,0.2 -0.2,0.5 0,0.7 0.1,0.1 0.2,0.1 0.4,0.1 0.1,0 0.3,0 0.4,-0.1 l 6.1,-6.1 0,3.8 c 0,0.3 0.2,0.5 0.5,0.5 0.3,0 0.5,-0.2 0.5,-0.5 l 0,-5 c -0.1,-0.3 -0.3,-0.5 -0.6,-0.5 z"
|
||||
id="path13"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#45b0e5" /><path
|
||||
d="m -64.6,-2379.9 c -0.2,-0.2 -0.5,-0.2 -0.7,0 l -6.1,6.1 0,-3.8 c 0,-0.3 -0.2,-0.5 -0.5,-0.5 -0.3,0 -0.5,0.2 -0.5,0.5 l 0,5 c 0,0.3 0.2,0.5 0.5,0.5 l 5,0 c 0.3,0 0.5,-0.2 0.5,-0.5 0,-0.3 -0.2,-0.5 -0.5,-0.5 l -3.8,0 6.1,-6.1 c 0.1,-0.1 0.1,-0.5 0,-0.7 l 0,0 z"
|
||||
id="path15"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#45b0e5" /><path
|
||||
d="m -53,-2378 c -0.3,0 -0.5,0.2 -0.5,0.5 l 0,3.8 -6.1,-6.1 c -0.2,-0.2 -0.5,-0.2 -0.7,0 -0.2,0.2 -0.2,0.5 0,0.7 l 6.1,6.1 -3.8,0 c -0.3,0 -0.5,0.2 -0.5,0.5 0,0.3 0.2,0.5 0.5,0.5 l 5,0 c 0.3,0 0.5,-0.2 0.5,-0.5 l 0,-5 c 0,-0.3 -0.2,-0.5 -0.5,-0.5 z"
|
||||
id="path17"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#45b0e5" /></g></g><g
|
||||
id="g19"><path
|
||||
d="m 39.3,21.9 0,-9.6 3.5,0 c 1.1,0 2.1,0.4 2.8,1.1 0.7,0.7 1.1,1.7 1.1,2.8 l 0,1.8 c 0,1.2 -0.4,2.1 -1.1,2.8 -0.7,0.7 -1.7,1.1 -2.8,1.1 l -3.5,0 z m 2.2,-7.9 0,6.2 1.1,0 c 0.6,0 1.1,-0.2 1.4,-0.6 0.3,-0.4 0.5,-0.9 0.5,-1.6 l 0,-1.7 c 0,-0.7 -0.2,-1.2 -0.5,-1.6 -0.3,-0.4 -0.8,-0.6 -1.4,-0.6 l -1.1,0 z"
|
||||
id="path21"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" /><path
|
||||
d="m 51.2,22.1 c -1.1,0 -1.9,-0.3 -2.5,-1 -0.6,-0.7 -0.9,-1.5 -0.9,-2.5 l 0,-0.3 c 0,-1.1 0.3,-2 0.9,-2.7 0.6,-0.7 1.4,-1 2.4,-1 1,0 1.7,0.3 2.3,0.9 0.6,0.6 0.8,1.4 0.8,2.4 l 0,1.1 -4.1,0 0,0 c 0,0.4 0.2,0.7 0.4,0.9 0.3,0.2 0.6,0.4 1,0.4 0.4,0 0.8,0 1,-0.1 0.3,-0.1 0.6,-0.2 1,-0.3 l 0.5,1.4 c -0.3,0.2 -0.7,0.4 -1.2,0.6 -0.5,0.1 -1,0.2 -1.6,0.2 z m -0.1,-5.7 c -0.3,0 -0.6,0.1 -0.7,0.3 -0.1,0.2 -0.3,0.5 -0.3,0.9 l 0,0 1.9,0 0,-0.2 C 52,17 51.9,16.8 51.8,16.6 51.7,16.4 51.4,16.4 51.1,16.4 Z"
|
||||
id="path23"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" /><path
|
||||
d="M 61.899297,18.505862 C 61.899297,19.605862 61.5,20.4 61,21.1 c -0.5,0.7 -1.2,1 -2,1 -0.3,0 -0.6,-0.1 -0.9,-0.2 -0.3,-0.1 -0.5,-0.3 -0.7,-0.6 l 0,3.4 -2.2,0 0,-9.9 2.1,0 0.1,0.8 c 0.2,-0.3 0.4,-0.5 0.7,-0.7 0.3,-0.2 0.6,-0.2 1,-0.2 0.9,0 1.6,0.3 2.1,1 0.5,0.7 0.7,1.6 0.7,2.7 l 0,0.1 z M 59.5,18.4 c 0,-0.6 -0.1,-1.1 -0.3,-1.5 -0.2,-0.4 -0.5,-0.5 -0.8,-0.5 -0.3,0 -0.5,0 -0.6,0.1 -0.2,0.1 -0.3,0.2 -0.4,0.4 l 0,3 c 0.1,0.2 0.2,0.3 0.4,0.3 0.2,0.1 0.4,0.1 0.6,0.1 0.4,0 0.7,-0.2 0.8,-0.5 0.2,-0.3 0.3,-0.8 0.3,-1.4 z"
|
||||
id="path25"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff"
|
||||
sodipodi:nodetypes="csssccccccssssccsssccccscss" /><path
|
||||
d="m 65,21.9 -2.2,0 0,-10.3 2.2,0 0,10.3 z"
|
||||
id="path27"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" /><path
|
||||
d="m 66.000352,18.3 c 0,-1.1 0.399648,-1.9 0.999648,-2.6 0.6,-0.7 1.5,-1 2.5,-1 1.1,0 1.9,0.3 2.5,1 0.6,0.7 0.9,1.5 0.9,2.6 l 0,0.1 c 0,1.1 -0.3,2 -0.9,2.6 -0.6,0.6 -1.5,1 -2.5,1 -1.1,0 -1.9,-0.3 -2.6,-1 C 66.2,20.3 66,19.5 66,18.4 l 0,-0.1 z M 68.3,18.4 c 0,0.6 0.1,1.1 0.3,1.4 0.2,0.3 0.5,0.5 1,0.5 0.4,0 0.7,-0.2 0.9,-0.5 0.2,-0.3 0.3,-0.8 0.3,-1.4 l 0,-0.1 c 0,-0.6 -0.1,-1 -0.3,-1.4 -0.2,-0.4 -0.5,-0.5 -1,-0.5 -0.4,0 -0.8,0.2 -0.9,0.5 -0.2,0.4 -0.3,0.8 -0.3,1.4 z"
|
||||
id="path29"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff"
|
||||
sodipodi:nodetypes="csssssssssccsssssssscss" /><path
|
||||
d="m 76.7,18.8 0,0 0,0 1.2,-4 2.4,0 -2.9,8.2 c -0.2,0.5 -0.5,1 -0.9,1.3 -0.3,0.3 -0.9,0.5 -1.7,0.5 -0.2,0 -0.4,0 -0.5,0 -0.1,0 -0.3,-0.1 -0.6,-0.1 L 74,23.1 c 0.1,0 0.1,0 0.1,0 0,0 0.1,0 0.1,0 0.4,0 0.6,-0.1 0.8,-0.2 0.2,-0.1 0.3,-0.3 0.4,-0.5 l 0.2,-0.5 -2.5,-7.2 2.4,0 1.2,4.1 z"
|
||||
id="path31"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" /><path
|
||||
d="m 86.2,13.1 0,1.7 1.4,0 0,1 -1.4,0 0,4.3 c 0,0.3 0.1,0.6 0.2,0.7 0.1,0.1 0.3,0.2 0.6,0.2 0.1,0 0.2,0 0.2,0 0,0 0.2,0 0.2,-0.1 l 0.2,0.9 c -0.1,0.1 -0.2,0.1 -0.4,0.2 -0.2,0.1 -0.4,0.1 -0.6,0.1 -0.5,0 -0.9,-0.2 -1.3,-0.5 -0.3,-0.3 -0.5,-0.8 -0.5,-1.5 l 0,-4.3 -1.1,0 0,-1 1.1,0 0,-1.7 1.4,0 z"
|
||||
id="path33"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" /><path
|
||||
d="m 88.9,18.3 c 0,-1.1 0.3,-1.9 0.9,-2.6 0.6,-0.7 1.3,-1 2.3,-1 1,0 1.8,0.3 2.3,1 0.6,0.7 0.9,1.6 0.9,2.6 l 0,0.1 c 0,1.1 -0.3,1.9 -0.9,2.6 -0.6,0.7 -1.4,1 -2.3,1 -0.9,0 -1.8,-0.3 -2.3,-1 -0.6,-0.7 -0.9,-1.5 -0.9,-2.6 l 0,-0.1 z m 1.3,0.1 c 0,0.8 0.2,1.4 0.5,1.9 0.3,0.5 0.8,0.7 1.4,0.7 0.6,0 1.1,-0.2 1.4,-0.7 0.3,-0.5 0.5,-1.1 0.5,-1.9 l 0,-0.1 c 0,-0.7 -0.2,-1.4 -0.5,-1.9 -0.3,-0.5 -0.8,-0.7 -1.4,-0.7 -0.6,0 -1.1,0.2 -1.4,0.7 -0.3,0.5 -0.5,1.1 -0.5,1.9 l 0,0.1 z"
|
||||
id="path35"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" /><g
|
||||
transform="scale(0.9499955,1.0526366)"
|
||||
style="font-style:normal;font-weight:normal;font-size:160.58016968px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
id="text4185"><path
|
||||
sodipodi:type="inkscape:offset"
|
||||
inkscape:radius="0"
|
||||
inkscape:original="M 126.73633 10.398438 L 126.73633 21.017578 L 129.04492 21.017578 L 129.04492 10.398438 L 126.73633 10.398438 z M 130.54883 10.398438 L 130.54883 11.943359 L 132.85547 11.943359 L 132.85547 10.398438 L 130.54883 10.398438 z M 107.22266 10.964844 C 106.1155 10.964844 105.20193 11.219683 104.48047 11.732422 C 103.76354 12.245161 103.4043 12.917681 103.4043 13.748047 C 103.4043 14.6011 103.70705 15.255233 104.31055 15.708984 C 104.91403 16.158198 105.84139 16.579845 107.09375 16.974609 C 107.6927 17.187873 108.10843 17.389502 108.33984 17.580078 C 108.57126 17.770653 108.68555 18.041236 108.68555 18.390625 C 108.68555 18.699176 108.56798 18.948096 108.33203 19.138672 C 108.10062 19.329247 107.74792 19.423828 107.27148 19.423828 C 106.6453 19.423828 106.17769 19.301666 105.86914 19.056641 C 105.56059 18.811615 105.40625 18.403759 105.40625 17.832031 L 103.16602 17.832031 L 103.15234 17.873047 C 103.12966 18.934826 103.53027 19.749216 104.35156 20.316406 C 105.17285 20.879058 106.14618 21.160156 107.27148 21.160156 C 108.39225 21.160156 109.29071 20.915833 109.9668 20.425781 C 110.64743 19.931192 110.98633 19.248156 110.98633 18.376953 C 110.98633 17.519362 110.70064 16.845521 110.12891 16.355469 C 109.56172 15.865417 108.71515 15.451011 107.58984 15.115234 C 106.8593 14.852058 106.36146 14.635316 106.09375 14.462891 C 105.83058 14.285927 105.69922 14.05212 105.69922 13.761719 C 105.69922 13.462243 105.83058 13.210047 106.09375 13.005859 C 106.35693 12.801671 106.71881 12.699219 107.18164 12.699219 C 107.65354 12.699219 108.0233 12.824655 108.29102 13.074219 C 108.55873 13.319244 108.69336 13.638439 108.69336 14.033203 L 110.92578 14.033203 L 110.93945 13.992188 C 110.96214 13.102834 110.62128 12.377105 109.91797 11.814453 C 109.21919 11.247263 108.32074 10.964844 107.22266 10.964844 z M 115.2207 13.515625 C 114.11355 13.515625 113.25779 13.865675 112.6543 14.564453 C 112.05081 15.258693 111.75 16.157149 111.75 17.259766 L 111.75 17.416016 C 111.75 18.52317 112.05081 19.4249 112.6543 20.119141 C 113.26232 20.813381 114.124 21.160156 115.24023 21.160156 C 116.12959 21.160156 116.85991 20.907962 117.43164 20.404297 C 118.00789 19.896095 118.28766 19.24064 118.26953 18.4375 L 118.25586 18.396484 L 116.15234 18.396484 C 116.15234 18.723186 116.07747 18.970784 115.92773 19.138672 C 115.77799 19.30656 115.54878 19.390625 115.24023 19.390625 C 114.79102 19.390625 114.47775 19.216576 114.30078 18.867188 C 114.12835 18.517799 114.04297 18.033118 114.04297 17.416016 L 114.04297 17.259766 C 114.04297 16.660814 114.12835 16.182683 114.30078 15.824219 C 114.47775 15.465755 114.7851 15.285156 115.2207 15.285156 C 115.53379 15.285156 115.7676 15.396802 115.92188 15.619141 C 116.07616 15.836941 116.15234 16.121314 116.15234 16.470703 L 118.25586 16.470703 L 118.26953 16.429688 C 118.28768 15.53126 118.0171 14.820643 117.45898 14.298828 C 116.90087 13.777013 116.15543 13.515625 115.2207 13.515625 z M 122.28516 13.515625 C 121.31413 13.515625 120.53324 13.743514 119.94336 14.197266 C 119.35351 14.64648 119.07569 15.207354 119.10742 15.878906 L 119.12109 15.919922 L 121.3457 15.925781 C 121.3457 15.662605 121.41006 15.470169 121.53711 15.347656 C 121.6687 15.220606 121.86573 15.15625 122.12891 15.15625 C 122.43745 15.15625 122.66339 15.240315 122.80859 15.408203 C 122.95833 15.576091 123.0332 15.817771 123.0332 16.130859 L 123.0332 16.654297 L 122.19727 16.654297 C 121.08104 16.654297 120.24826 16.854604 119.69922 17.253906 C 119.15471 17.64867 118.88281 18.210866 118.88281 18.941406 C 118.88281 19.612959 119.09955 20.150849 119.53516 20.554688 C 119.9753 20.958527 120.54537 21.160156 121.24414 21.160156 C 121.68428 21.160156 122.05863 21.071495 122.36719 20.894531 C 122.67573 20.713031 122.93844 20.470029 123.15625 20.166016 C 123.19252 20.320291 123.23522 20.470034 123.28516 20.615234 C 123.3396 20.760434 123.39936 20.89179 123.46289 21.009766 L 125.73633 21.017578 C 125.60474 20.686339 125.50556 20.351402 125.4375 20.015625 C 125.37397 19.679849 125.3418 19.314686 125.3418 18.919922 L 125.3418 16.144531 C 125.3418 15.300553 125.05742 14.651018 124.49023 14.197266 C 123.92758 13.743514 123.19266 13.515625 122.28516 13.515625 z M 138.53906 13.515625 C 138.10346 13.515625 137.7094 13.621352 137.35547 13.830078 C 137.00154 14.034267 136.70338 14.319961 136.46289 14.6875 L 136.375 13.652344 L 134.2168 13.652344 L 134.2168 21.017578 L 136.50977 21.017578 L 136.50977 15.722656 C 136.62774 15.58653 136.76829 15.479481 136.93164 15.402344 C 137.09953 15.325206 137.29065 15.285156 137.50391 15.285156 C 137.84422 15.285156 138.10101 15.373818 138.27344 15.550781 C 138.4504 15.723207 138.53906 16.02137 138.53906 16.443359 L 138.53906 21.017578 L 140.83984 21.017578 L 140.83984 16.449219 C 140.83984 15.428277 140.63494 14.684161 140.22656 14.216797 C 139.82273 13.749432 139.26053 13.515625 138.53906 13.515625 z M 144.6582 13.515625 C 143.74616 13.515625 143.04014 13.86895 142.54102 14.572266 C 142.04189 15.27558Line truncated
|
||||
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-size:13.9392519px;font-family:Roboto;-inkscape-font-specification:'Roboto Heavy';fill:#45b0e5;fill-opacity:1"
|
||||
id="path4189"
|
||||
d="m 126.73633,10.398438 0,10.61914 2.30859,0 0,-10.61914 -2.30859,0 z m 3.8125,0 0,1.544921 2.30664,0 0,-1.544921 -2.30664,0 z m -23.32617,0.566406 c -1.10716,0 -2.02073,0.254839 -2.74219,0.767578 -0.71693,0.512739 -1.07617,1.185259 -1.07617,2.015625 0,0.853053 0.30275,1.507186 0.90625,1.960937 0.60348,0.449214 1.53084,0.870861 2.7832,1.265625 0.59895,0.213264 1.01468,0.414893 1.24609,0.605469 0.23142,0.190575 0.34571,0.461158 0.34571,0.810547 0,0.308551 -0.11757,0.557471 -0.35352,0.748047 -0.23141,0.190575 -0.58411,0.285156 -1.06055,0.285156 -0.62618,0 -1.09379,-0.122162 -1.40234,-0.367187 -0.30855,-0.245026 -0.46289,-0.652882 -0.46289,-1.22461 l -2.24023,0 -0.0137,0.04102 c -0.0227,1.061779 0.37793,1.876169 1.19922,2.443359 0.82129,0.562652 1.79462,0.84375 2.91992,0.84375 1.12077,0 2.01923,-0.244323 2.69532,-0.734375 0.68063,-0.494589 1.01953,-1.177625 1.01953,-2.048828 0,-0.857591 -0.28569,-1.531432 -0.85742,-2.021484 -0.56719,-0.490052 -1.41376,-0.904458 -2.53907,-1.240235 -0.73054,-0.263176 -1.22838,-0.479918 -1.49609,-0.652343 -0.26317,-0.176964 -0.39453,-0.410771 -0.39453,-0.701172 0,-0.299476 0.13136,-0.551672 0.39453,-0.75586 0.26318,-0.204188 0.62506,-0.30664 1.08789,-0.30664 0.4719,0 0.84166,0.125436 1.10938,0.375 0.26771,0.245025 0.40234,0.56422 0.40234,0.958984 l 2.23242,0 0.0137,-0.04101 c 0.0227,-0.889354 -0.31817,-1.615083 -1.02148,-2.177735 -0.69878,-0.56719 -1.59723,-0.849609 -2.69531,-0.849609 z m 7.99804,2.550781 c -1.10715,0 -1.96291,0.35005 -2.5664,1.048828 -0.60349,0.69424 -0.9043,1.592696 -0.9043,2.695313 l 0,0.15625 c 0,1.107154 0.30081,2.008884 0.9043,2.703125 0.60802,0.69424 1.4697,1.041015 2.58593,1.041015 0.88936,0 1.61968,-0.252194 2.19141,-0.755859 0.57625,-0.508202 0.85602,-1.163657 0.83789,-1.966797 l -0.0137,-0.04102 -2.10352,0 c 0,0.326702 -0.0749,0.5743 -0.22461,0.742188 -0.14974,0.167888 -0.37895,0.251953 -0.6875,0.251953 -0.44921,0 -0.76248,-0.174049 -0.93945,-0.523437 -0.17243,-0.349389 -0.25781,-0.83407 -0.25781,-1.451172 l 0,-0.15625 c 0,-0.598952 0.0854,-1.077083 0.25781,-1.435547 0.17697,-0.358464 0.48432,-0.539063 0.91992,-0.539063 0.31309,0 0.5469,0.111646 0.70118,0.333985 0.15428,0.2178 0.23046,0.502173 0.23046,0.851562 l 2.10352,0 0.0137,-0.04102 c 0.0181,-0.898428 -0.25243,-1.609045 -0.81055,-2.13086 -0.55811,-0.521815 -1.30355,-0.783203 -2.23828,-0.783203 z m 7.06446,0 c -0.97103,0 -1.75192,0.227889 -2.3418,0.681641 -0.58985,0.449214 -0.86767,1.010088 -0.83594,1.68164 l 0.0137,0.04102 2.22461,0.0059 c 0,-0.263176 0.0644,-0.455612 0.19141,-0.578125 0.13159,-0.12705 0.32862,-0.191406 0.5918,-0.191406 0.30854,0 0.53448,0.08407 0.67968,0.251953 0.14974,0.167888 0.22461,0.409568 0.22461,0.722656 l 0,0.523438 -0.83593,0 c -1.11623,0 -1.94901,0.200307 -2.49805,0.599609 -0.54451,0.394764 -0.81641,0.95696 -0.81641,1.6875 0,0.671553 0.21674,1.209443 0.65235,1.613282 0.44014,0.403839 1.01021,0.605468 1.70898,0.605468 0.44014,0 0.81449,-0.08866 1.12305,-0.265625 0.30854,-0.1815 0.57125,-0.424502 0.78906,-0.728515 0.0363,0.154275 0.079,0.304018 0.12891,0.449218 0.0544,0.1452 0.1142,0.276556 0.17773,0.394532 l 2.27344,0.0078 c -0.13159,-0.331239 -0.23077,-0.666176 -0.29883,-1.001953 -0.0635,-0.335776 -0.0957,-0.700939 -0.0957,-1.095703 l 0,-2.775391 c 0,-0.843978 -0.28438,-1.493513 -0.85157,-1.947265 -0.56265,-0.453752 -1.29757,-0.681641 -2.20507,-0.681641 z m 16.2539,0 c -0.4356,0 -0.82966,0.105727 -1.18359,0.314453 -0.35393,0.204189 -0.65209,0.489883 -0.89258,0.857422 l -0.0879,-1.035156 -2.1582,0 0,7.365234 2.29297,0 0,-5.294922 c 0.11797,-0.136126 0.25852,-0.243175 0.42187,-0.320312 0.16789,-0.07714 0.35901,-0.117188 0.57227,-0.117188 0.34031,0 0.5971,0.08866 0.76953,0.265625 0.17696,0.172426 0.26562,0.470589 0.26562,0.892578 l 0,4.574219 2.30078,0 0,-4.568359 c 0,-1.020942 -0.2049,-1.765058 -0.61328,-2.232422 -0.40383,-0.467365 -0.96603,-0.701172 -1.6875,-0.701172 z m 6.11914,0 c -0.91204,0 -1.61806,0.353325 -2.11718,1.056641 -0.49913,0.703315 -0.74805,1.627398 -0.74805,2.77539 l 0,0.144532 c 0,1.102616 0.24565,1.988603 0.74023,2.660156 0.49913,0.671552 1.20382,1.007812 2.11133,1.007812 0.35393,0 0.66853,-0.06895 0.94531,-0.205078 0.27679,-0.140663 0.51979,-0.343615 0.72852,-0.611328 l 0,0.373047 c 0,0.440139 -0.12543,0.788868 -0.375,1.042969 -0.24956,0.2541 -0.61013,0.380859 -1.08203,0.380859 -0.39023,0 -0.737,-0.03677 -1.04102,-0.109375 -0.30401,-0.06806 -0.6232,-0.175112 -0.95898,-0.320312 l -0.375,1.701171 c 0.37661,0.176964 0.77396,0.317513 1.1914,0.421875 0.41746,0.104363 0.81612,0.158204 1.19727,0.158204 1.14345,0 2.05438,-0.298164 2.73047,-0.892579 0.67609,-0.594414 1.01367,-1.384499 1.01367,-2.36914 l 0,-7.078125 -2.01562,0 -0.15625,0.925781 c -0.21327,-0.340313 -0.46679,-0.601702 -0.76172,-0.783203 -0.29494,-0.186039 -0.63712,-0.279297 -1.02735,-0.279297 z m 8.53516,0 c -1.12077,0 -1.99491,0.35005 -2.62109,1.048828 -0.62618,0.69424 -0.93946,1.595971 -0.93946,2.703125 l 0,0.142578 c 0,1.111692 0.31328,2.014744 0.93946,2.708985 0.62618,0.69424 1.504Line truncated
|
||||
|
Before Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,7 @@
|
||||
## Simafri
|
||||
|
||||

|
||||
|
||||
Managed VPS: our step-by-step guide runs WeKan with Docker Compose and MongoDB 7, while Simafri keeps the server updated, monitors it 24/7 and backs it up every night, encrypted.
|
||||
|
||||
https://www.simafri.com/en/guides/self-host-wekan/
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
@@ -1,202 +0,0 @@
|
||||
# NEWEST:
|
||||
|
||||
[UberLab/Uberspace 7 Manual: Wekan](https://lab.uberspace.de/guide_wekan.html) - ([Source](https://github.com/wekan/wekan/issues/2009#issuecomment-817010524))
|
||||
|
||||
([#2009](https://github.com/wekan/wekan/issues/2009)) On Uberspace 7, WeKan runs as a supervisord service:
|
||||
|
||||
- **Install**: the UberLab guide above.
|
||||
- **Update**: [update_wekan](https://github.com/BabyFnord/update_wekan), a
|
||||
script written with Uberspace support. It installs to a different place
|
||||
than the UberLab guide, for a reason given in its README.
|
||||
- **Email**: every setting goes on ONE `environment=` line in
|
||||
`~/etc/services.d/wekan.ini`, separated by commas - a second line is
|
||||
ignored - then `supervisorctl reread`, `supervisorctl update` and
|
||||
`supervisorctl restart wekan`:
|
||||
|
||||
```
|
||||
[program:wekan]
|
||||
environment=PORT="40000",MONGO_URL="mongodb://wekan:PASS@127.0.0.1:27017/wekan",ROOT_URL="https://USERNAME.uber.space",MAIL_URL="smtp://POSTBOX@USERNAME.uber.space:PASSWORD@SERVER.uberspace.de:587",MAIL_FROM="WeKan <POSTBOX@USERNAME.uber.space>"
|
||||
directory=%(ENV_HOME)s/wekan/current
|
||||
command=node main.js
|
||||
autostart=yes
|
||||
autorestart=yes
|
||||
```
|
||||
|
||||
`POSTBOX` is a mailbox you created (`uberspace mail user add POSTBOX`) and
|
||||
`SERVER` is the mail server named under "Your primary email address" on the
|
||||
Uberspace dashboard's datasheet - not the dashboard's own server. Reported
|
||||
to work; a password with only letters and digits avoids URL escaping. See
|
||||
[Troubleshooting Mail](../../../../Features/Email/Troubleshooting-Mail.md) for the rest.
|
||||
The SMTP server can also be set in Admin Panel → Email instead.
|
||||
|
||||
***
|
||||
|
||||
# OLD:
|
||||
|
||||
**NOTE**:
|
||||
- [Newest Node/Mongo/Meteor versions](../../../../../Dockerfile).
|
||||
- For x64 wekan-VERSION.zip is at https://releases.wekan.team and some related install info [Raspberry Pi](../../../FOSS/HW/RaspberryPi/Raspberry-Pi.md)
|
||||
|
||||
**Purpose**: Install latest Wekan release on [Uberspace](https://uberspace.de/) 6 and run as [daemontools](https://cr.yp.to/daemontools/faq/create.html) service in local userspace.
|
||||
|
||||
This script installs Wekan on a fresh Uberspace 6. It setup Node 4, MongoDB, a Port, installs Wekan and starts it as a service. It's tested with Wekan versions 0.32 and 0.63.
|
||||
|
||||
You have two Options to use it.
|
||||
|
||||
# Option 1:
|
||||
You can run the commands of the following script step-by-step in the shell.
|
||||
|
||||
At first step set the SMTP-Password variable. Replace the `$1` with the password in that way `SMTP_PASS="smtp_password"` and continue line-by-line.
|
||||
|
||||
# Option 2:
|
||||
Or you can run it automatically.
|
||||
* Save it as script in file `install_wekan.sh`
|
||||
* Make it executable `chmod +x install_wekan.sh`
|
||||
* And run it. Pass the SMTP-Password as command line parameter `./install_wekan.sh smtp_password`.
|
||||
|
||||
## ./install_wekan.sh
|
||||
```
|
||||
#!/bin/sh
|
||||
##
|
||||
## Usage: ./install_wekan.sh SMTP-password
|
||||
##
|
||||
## Draft
|
||||
## Install Wekan (v0.63) on Uberspace 6 by Noodle / Chris
|
||||
##
|
||||
## Sources:
|
||||
## [Install and Update](../../../FOSS/Source/Install-and-Update.md#manual-installation-steps)
|
||||
## https://wiki.uberspace.de/database:mongodb
|
||||
## https://wiki.uberspace.de/development:nodejs
|
||||
## https://wiki.uberspace.de/system:daemontools
|
||||
## https://github.com/wekan/wekan/issues/907
|
||||
|
||||
|
||||
## Set SMTP password
|
||||
# SMTP_PASS="xxxxxxxxxx"
|
||||
|
||||
SMTP_PASS="$1"
|
||||
|
||||
|
||||
#####################
|
||||
### Setup Node.js ###
|
||||
#####################
|
||||
|
||||
cat <<__EOF__ > ~/.npmrc
|
||||
prefix = $HOME
|
||||
umask = 077
|
||||
__EOF__
|
||||
|
||||
echo 'export PATH=/package/host/localhost/nodejs-4/bin:$PATH' >> ~/.bash_profile
|
||||
source ~/.bash_profile
|
||||
|
||||
|
||||
#####################
|
||||
### Setup MongoDB ###
|
||||
#####################
|
||||
|
||||
test -d ~/service || uberspace-setup-svscan
|
||||
TEMPMDB="$(uberspace-setup-mongodb)"
|
||||
|
||||
MONGO_USER="${USER}_mongoadmin"
|
||||
MONGO_PORT="$(echo ${TEMPMDB} | grep -E -o 'm#:\s[0-9]{5}\sUs' | cut -d' ' -f 2)"
|
||||
MONGO_PASS="$(echo ${TEMPMDB} | grep -E -o 'rd:\s.+\sTo\sconn' | cut -d' ' -f 2)"
|
||||
|
||||
echo -e "MONGO_USER: ${MONGO_USER} \nMONGO_PORT: ${MONGO_PORT} \nMONGO_PASS: ${MONGO_PASS}"
|
||||
|
||||
|
||||
############################
|
||||
### Setup Websocket Port ###
|
||||
############################
|
||||
|
||||
export FREE_PORT="$(uberspace-add-port --protocol tcp --firewall | grep -E -o '[0-9]{5}')"
|
||||
|
||||
echo "FREE_PORT: ${FREE_PORT}"
|
||||
|
||||
|
||||
###################
|
||||
### Setup Wekan ###
|
||||
###################
|
||||
|
||||
## Issue #907 - Port must be speccified in root url, when Version > 0.10.1
|
||||
MONGO_URL="mongodb://${MONGO_USER}:${MONGO_PASS}@127.0.0.1:${MONGO_PORT}/wekan?authSource=admin"
|
||||
ROOT_URL="http://${USER}.${HOSTNAME}:${FREE_PORT}/"
|
||||
MAIL_URL="smtp://${USER}:${SMTP_PASS}@${HOSTNAME}:587/"
|
||||
MAIL_FROM="${USER}@${HOSTNAME}"
|
||||
PORT="${FREE_PORT}"
|
||||
|
||||
echo -e "MONGO_URL: ${MONGO_URL} \nPORT: ${PORT} \nROOT_URL: ${ROOT_URL} \nMAIL_URL ${MAIL_URL} \nMAIL_FROM: ${MAIL_FROM}"
|
||||
|
||||
|
||||
#####################
|
||||
### Install Wekan ###
|
||||
#####################
|
||||
|
||||
mkdir ~/wekan && cd ~/wekan
|
||||
|
||||
# Tested versions 0.32, 0.63
|
||||
WEKAN_VERSION=0.63
|
||||
curl -OL https://github.com/wekan/wekan/releases/download/v${WEKAN_VERSION}/wekan-${WEKAN_VERSION}.tar.gz && tar xzf wekan-${WEKAN_VERSION}.tar.gz && rm wekan-${WEKAN_VERSION}.tar.gz
|
||||
|
||||
cd ~/wekan/bundle/programs/server && npm install
|
||||
cd ~
|
||||
|
||||
|
||||
#####################
|
||||
### Setup Service ###
|
||||
#####################
|
||||
|
||||
cat <<__EOF__ > ~/etc/wekan-setup
|
||||
#!/bin/bash
|
||||
export MONGO_URL=${MONGO_URL}
|
||||
export ROOT_URL=${ROOT_URL}
|
||||
export MAIL_URL=${MAIL_URL}
|
||||
export MAIL_FROM=${MAIL_FROM}
|
||||
export PORT=${PORT}
|
||||
__EOF__
|
||||
|
||||
cat <<__EOF__ > ~/etc/wekan-start
|
||||
#!/bin/bash
|
||||
source ~/etc/wekan-setup
|
||||
exec node ~/wekan/bundle/main.js
|
||||
__EOF__
|
||||
|
||||
chmod 700 ~/etc/wekan-setup
|
||||
chmod a+x ~/etc/wekan-start
|
||||
|
||||
|
||||
## Init & Start as servcie
|
||||
uberspace-setup-service wekan ~/etc/wekan-start
|
||||
|
||||
## Setup & Start in bg for debugging
|
||||
# source ~/etc/wekan-setup && node ~/wekan/bundle/main.js &
|
||||
|
||||
|
||||
#####################
|
||||
### Finish ###
|
||||
#####################
|
||||
|
||||
echo -e "\n Login: ${ROOT_URL} \n\n"
|
||||
```
|
||||
|
||||
# Control Wekan Service
|
||||
Basic control of the Wekan service:
|
||||
* Stop the service: `svc -d ~/service/wekan`
|
||||
* Start the service: `svc -u ~/service/wekan`
|
||||
* Keep an eye on the log while running the service: `tailf ~/service/wekan/log/main/current`
|
||||
|
||||
More about [daemontools](https://cr.yp.to/daemontools/faq/create.html).
|
||||
|
||||
|
||||
# Uninstall Wekan
|
||||
To remove Wekan from your uberspace you have to do the following steps.
|
||||
* Stop and remove the service.
|
||||
`uberspace-remove-service -s wekan`
|
||||
* Remove the complete data.
|
||||
```
|
||||
mongo admin --port $MONGO_PORT -u $MONGO_USER -p $MONGO_PASS
|
||||
use wekan
|
||||
db.dropDatabase()
|
||||
exit
|
||||
```
|
||||
* Remove the installation.
|
||||
`rm -Rf ~/wekan/ ~/etc/wekan-*`
|
||||
@@ -0,0 +1,4 @@
|
||||
# Weeny
|
||||
|
||||
[Deploy WeKan on Weeny Cloud](https://weeny.cloud/deploy/wekan)
|
||||
using the official container with built-in FerretDB and a private HTTPS URL.
|
||||
@@ -44,6 +44,10 @@ function canThumbnail(attachment) {
|
||||
}
|
||||
|
||||
const DOCUMENT_TYPES = new Map([
|
||||
['doc', 'application/msword'],
|
||||
['xls', 'application/vnd.ms-excel'],
|
||||
['ppt', 'application/vnd.ms-powerpoint'],
|
||||
['dxf', 'application/dxf'],
|
||||
['pdf', 'application/pdf'],
|
||||
['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'],
|
||||
['xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'],
|
||||
@@ -59,9 +63,13 @@ function documentThumbnailKind(attachment) {
|
||||
for (const [kind, mime] of DOCUMENT_TYPES) if (type === mime) return kind;
|
||||
const ext = String(attachment.extension || /\.([^./]+)$/.exec(attachment.name || '')?.[1] || '')
|
||||
.replace(/^\./, '').toLowerCase();
|
||||
if (['image/vnd.dxf', 'image/x-dxf', 'application/x-dxf'].includes(type)) return 'dxf';
|
||||
if (!DOCUMENT_TYPES.has(ext)) return null;
|
||||
if (!type || type === 'application/octet-stream' || type === 'binary/octet-stream'
|
||||
|| (ext !== 'pdf' && type === 'application/zip')) return ext;
|
||||
|| (['docx', 'xlsx', 'pptx', 'odt', 'ods', 'odp'].includes(ext) && type === 'application/zip')
|
||||
|| (ext === 'dxf' && type === 'text/plain')
|
||||
|| (['doc', 'xls', 'ppt'].includes(ext)
|
||||
&& ['application/x-ole-storage', 'application/x-cfb', 'application/cdfv2'].includes(type))) return ext;
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Generated
+219
-332
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"name": "wekan",
|
||||
"version": "v13.44.0",
|
||||
"version": "v13.46.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "wekan",
|
||||
"version": "v13.44.0",
|
||||
"version": "v13.46.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "3.1172.0",
|
||||
"@aws-sdk/lib-storage": "~3.1161.0",
|
||||
"@aws-sdk/client-s3": "3.1184.0",
|
||||
"@aws-sdk/lib-storage": "~3.1184.0",
|
||||
"@azure/storage-blob": "^12.33.0",
|
||||
"@babel/parser": "^8.0.4",
|
||||
"@babel/runtime": "^8.0.0",
|
||||
"@fastify/busboy": "^3.2.6",
|
||||
"@fastify/busboy": "^3.2.7",
|
||||
"@google-cloud/storage": "^8.0.1",
|
||||
"@meteorjs/reify": "^0.25.4",
|
||||
"@node-saml/node-saml": "^5.2.0",
|
||||
@@ -40,14 +40,14 @@
|
||||
"blockly": "13.4.0",
|
||||
"bson": "^7.3.1",
|
||||
"chart.js": "^4.6.2",
|
||||
"dhtmlx-gantt": "^10.0.3",
|
||||
"dompurify": "^3.4.18",
|
||||
"dhtmlx-gantt": "^10.1.1",
|
||||
"dompurify": "^3.5.1",
|
||||
"escape-string-regexp": "^5.0.0",
|
||||
"fflate": "^0.8.3",
|
||||
"file-type": "^22.2.0",
|
||||
"filesize": "^11.0.30",
|
||||
"frappe-gantt": "^1.2.2",
|
||||
"glob": "^14.0.6",
|
||||
"glob": "^15.0.0",
|
||||
"highlight.js": "^11.12.0",
|
||||
"hotkeys-js": "^4.0.8",
|
||||
"htmlparser2": "^12.0.0",
|
||||
@@ -92,9 +92,9 @@
|
||||
"chai-as-promised": "^8.0.2",
|
||||
"css-loader": "^7.1.4",
|
||||
"enhanced-resolve": "5.26.0",
|
||||
"minimatch": "^11.0.9",
|
||||
"minimatch": "^11.0.10",
|
||||
"mongodb": "^7.9.1",
|
||||
"puppeteer": "^25.18.1",
|
||||
"puppeteer": "^26.0.0",
|
||||
"sinon": "^22.1.0",
|
||||
"sinon-chai": "^4.0.1",
|
||||
"style-loader": "^4.0.0"
|
||||
@@ -155,15 +155,15 @@
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/@aws-sdk/checksums": {
|
||||
"version": "3.1002.5",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/checksums/-/checksums-3.1002.5.tgz",
|
||||
"integrity": "sha512-OHlfkNzDFjYnwNPABhwAkDTUi0HPjfsKUHJDR0bSMORpCXNzRpInPCNCIT08xKDhjaPlcLJ+2Av+Sk7hHnuC8A==",
|
||||
"version": "3.1002.8",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/checksums/-/checksums-3.1002.8.tgz",
|
||||
"integrity": "sha512-ZyhZXsDqSDjJaOeg5w22mjeJK0bb9W2zWURxyDBCBxO1IoaAmKfZtbldEsjZn4TdCYojcfTP2Ei/4gBmma9RzA==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -171,18 +171,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/client-s3": {
|
||||
"version": "3.1172.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.1172.0.tgz",
|
||||
"integrity": "sha512-ByCRHFlL9yui61J5e4w9nrDZcRUbAzd+78z9Q1DQWoAT2HE1XwjtDGEx86GdNTu1+oSyerNhl8eijF6jMUvEpg==",
|
||||
"version": "3.1184.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.1184.0.tgz",
|
||||
"integrity": "sha512-pRLgde7S+erh1XIol1JrUVzSvIWufALwnEU/eWdOQ/l1Rx+rlYVkHQMsEpFHbSld3r2I7PDuiCF7bXkvVUY9mg==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/checksums": "^3.1002.5",
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/credential-provider-node": "^3.972.97",
|
||||
"@aws-sdk/middleware-sdk-s3": "^3.972.90",
|
||||
"@aws-sdk/checksums": "^3.1002.7",
|
||||
"@aws-sdk/core": "^3.981.2",
|
||||
"@aws-sdk/credential-provider-node": "^3.972.100",
|
||||
"@aws-sdk/middleware-sdk-s3": "^3.972.92",
|
||||
"@aws-sdk/signature-v4-multi-region": "^3.996.52",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/core": "^3.41.1",
|
||||
"@smithy/fetch-http-handler": "^5.8.1",
|
||||
"@smithy/node-http-handler": "^4.14.2",
|
||||
"@smithy/types": "^4.20.0",
|
||||
@@ -193,17 +193,17 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/core": {
|
||||
"version": "3.981.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.981.0.tgz",
|
||||
"integrity": "sha512-Mnu7gaDrC5UCdyH8uLxLfB2eWbjE/HbjKX1U1J2VQxG3TTATUDObW2wU3I8iH3e9YH5NN2CY6w1mlAIe2XJ3jg==",
|
||||
"version": "3.981.3",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.981.3.tgz",
|
||||
"integrity": "sha512-lJO8Trx8KKaI6Q75Zl1tvi/HcCtVCJOse1OJ3pZJGu5U0Ud73ATw++5ZfExfBJTNlkhu0UspaF6jbkT9ueeTdQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@aws-sdk/xml-builder": "^3.972.43",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@aws-sdk/xml-builder": "^3.972.44",
|
||||
"@aws/lambda-invoke-store": "^0.3.0",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/signature-v4": "^5.7.5",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/signature-v4": "^5.7.6",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"bowser": "^2.11.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
@@ -212,15 +212,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-env": {
|
||||
"version": "3.972.84",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.84.tgz",
|
||||
"integrity": "sha512-akZJetiMVeLRHsKzYh3LamDCo74ZUCeo0XoyRKMEMZT5qP7ReM6LhpioBCyuqKP5Vav5gEOeCmaQV0VVQr1Meg==",
|
||||
"version": "3.972.87",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.87.tgz",
|
||||
"integrity": "sha512-pNJu3e53eT3qE52CXQdWioYOOvc0GH/CaRMYTPPg9cayIVeEBnYpwcb6zuWgl6f17S+mwOSTjZW+9WiNUOsTvg==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -228,17 +228,17 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-http": {
|
||||
"version": "3.972.86",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.86.tgz",
|
||||
"integrity": "sha512-U4mHaDRPWAn63yhl7FXIzbppNmW1F+4dSLeuiUpej2v3Xb6rGwvayEJ8SdlrdMV+/mZtd+GStTEP2HqurEzXtw==",
|
||||
"version": "3.972.90",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.90.tgz",
|
||||
"integrity": "sha512-/LPa/r97SuTV7rmNn1T9oJAOlqi/okigvNp5I5S0LTHlJD6JSbG6tCev8ICew8HyzardwuHSOygXxDWDLLoLLQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/fetch-http-handler": "^5.8.1",
|
||||
"@smithy/node-http-handler": "^4.14.2",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -246,23 +246,23 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-ini": {
|
||||
"version": "3.973.30",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.30.tgz",
|
||||
"integrity": "sha512-r6r6499GWoGN943NA5YEhBEQ6TEOGTf7tTOBhHd/zw0UbNvSzd1/zPCNcDkPmRarA+e24X7KgxutqxjoWcskBg==",
|
||||
"version": "3.973.34",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.34.tgz",
|
||||
"integrity": "sha512-iB8gL3WvUMv9YVWedFTYPeDJGfOJL21lQ8ZKUe4F/j/crD0XSq6lyRHt7mFQVfesQU+cA1f/Y1YleBq5q8rHeQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/credential-provider-env": "^3.972.84",
|
||||
"@aws-sdk/credential-provider-http": "^3.972.86",
|
||||
"@aws-sdk/credential-provider-login": "^3.972.92",
|
||||
"@aws-sdk/credential-provider-process": "^3.972.84",
|
||||
"@aws-sdk/credential-provider-sso": "^3.973.28",
|
||||
"@aws-sdk/credential-provider-web-identity": "^3.972.90",
|
||||
"@aws-sdk/nested-clients": "^3.998.3",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/credential-provider-imds": "^4.5.2",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/credential-provider-env": "^3.972.87",
|
||||
"@aws-sdk/credential-provider-http": "^3.972.90",
|
||||
"@aws-sdk/credential-provider-login": "^3.972.95",
|
||||
"@aws-sdk/credential-provider-process": "^3.972.87",
|
||||
"@aws-sdk/credential-provider-sso": "^3.973.31",
|
||||
"@aws-sdk/credential-provider-web-identity": "^3.972.93",
|
||||
"@aws-sdk/nested-clients": "^3.998.6",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/credential-provider-imds": "^4.6.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -270,16 +270,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-login": {
|
||||
"version": "3.972.92",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.92.tgz",
|
||||
"integrity": "sha512-96bcp9Pe/Xd60OEwncZ+kAQTQSu+fJnpUGz1qE6ghF5jnETmrk8XMU86mIP3lolvnCgR61XbZ+Ht6hdBjiQOmQ==",
|
||||
"version": "3.972.95",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.95.tgz",
|
||||
"integrity": "sha512-gD5ngHIHqFNjvNg/XHQoy1NHGgIELsGnMYvzs2QCmp4ngQ030hu6sGPRFrtXqophyde4TshHfzN+RF5WoUguYA==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/nested-clients": "^3.998.3",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/nested-clients": "^3.998.6",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -287,21 +287,21 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-node": {
|
||||
"version": "3.972.97",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.97.tgz",
|
||||
"integrity": "sha512-E4a0IXXJVsIdo/K9roX4JAEfI0JJr7KTPymkbKgETRDqEcLygE4ZlLTe24+7Qkh8Dl5YpnPd+Tt0DOPJDFXIwA==",
|
||||
"version": "3.972.101",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.101.tgz",
|
||||
"integrity": "sha512-dYlRb0q3I8o8MUkU1t5RW6zJh4IHXmOT/swLkHEKOQPgufAqVIKLSMNMkD4pIejnXmBbbnaezT4AC9RjRlP+nQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/credential-provider-env": "^3.972.84",
|
||||
"@aws-sdk/credential-provider-http": "^3.972.86",
|
||||
"@aws-sdk/credential-provider-ini": "^3.973.30",
|
||||
"@aws-sdk/credential-provider-process": "^3.972.84",
|
||||
"@aws-sdk/credential-provider-sso": "^3.973.28",
|
||||
"@aws-sdk/credential-provider-web-identity": "^3.972.90",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/credential-provider-imds": "^4.5.2",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/credential-provider-env": "^3.972.87",
|
||||
"@aws-sdk/credential-provider-http": "^3.972.90",
|
||||
"@aws-sdk/credential-provider-ini": "^3.973.34",
|
||||
"@aws-sdk/credential-provider-process": "^3.972.87",
|
||||
"@aws-sdk/credential-provider-sso": "^3.973.31",
|
||||
"@aws-sdk/credential-provider-web-identity": "^3.972.93",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/credential-provider-imds": "^4.6.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -309,15 +309,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-process": {
|
||||
"version": "3.972.84",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.84.tgz",
|
||||
"integrity": "sha512-199C6OpNejd0nq9GFAkEFIKids1FL0R6LJtL9c1OTiDOXki7S1OduuPxW4+hE0LwndcYJ7YHOuYTlqScfpCocA==",
|
||||
"version": "3.972.87",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.87.tgz",
|
||||
"integrity": "sha512-TTZ7LLiX5Rytc7N/vulzIoPBEcDxWZQxbo2Ij+GKl0SBjedAFCEtz4rytIsWonW7rk5vmHA0bEYkBFDI2GXcRg==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -325,17 +325,17 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-sso": {
|
||||
"version": "3.973.28",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.28.tgz",
|
||||
"integrity": "sha512-bGg7wH8wVDJQIcJggO9lg1ZYbG7l+PbLwHuM3Bi/e1TlCZhU712JS1W3tdRpyptdJD1UGyhBNGO/YrhrQCHKbg==",
|
||||
"version": "3.973.31",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.31.tgz",
|
||||
"integrity": "sha512-S81T7/nz97/umklJnIBmfIkidSeSaCnKPt9gu9/hlMk32irizjkdIXjkYlxE7kKDHKF5C3CZW6KoBLJqGnE4ag==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/nested-clients": "^3.998.3",
|
||||
"@aws-sdk/token-providers": "3.1166.0",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/nested-clients": "^3.998.6",
|
||||
"@aws-sdk/token-providers": "3.1185.0",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -343,16 +343,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-web-identity": {
|
||||
"version": "3.972.90",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.90.tgz",
|
||||
"integrity": "sha512-duLeE3xlf0viHeH+1RM4z5duR3b32BCZTWVMu+MbxFPjQBxy7hmIGEqt5hekuFPRuXoyhMovjNl+PNNsb5oiGQ==",
|
||||
"version": "3.972.93",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.93.tgz",
|
||||
"integrity": "sha512-77+EJoxk3zV3osIHq3jpMDdwnqlx24xuT2GQ+QPYaudRekXcQ6tdJho4E93eLDig0DTyXtzGxK+3HrOYXN4Y5w==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/nested-clients": "^3.998.3",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/nested-clients": "^3.998.6",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -360,13 +360,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/lib-storage": {
|
||||
"version": "3.1161.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.1161.0.tgz",
|
||||
"integrity": "sha512-ROSytGylVRtkUsp64mpzryv1Puvgo6jAm4RWTW2m3kC4SSsjrvhqZa5uPKfz116a0U1kk/hBz9S1eBItkyd++w==",
|
||||
"version": "3.1184.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.1184.0.tgz",
|
||||
"integrity": "sha512-l6AgqYPhMJoI7UVH2a/0eR+PVOS+ooKpm4SxXBRIf2aJwrcQlPyIWmiRnS4o8zBEtdrLOxc0HYFHobTTT75/3A==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@smithy/core": "^3.38.0",
|
||||
"@smithy/types": "^4.19.0",
|
||||
"@smithy/core": "^3.41.1",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"buffer": "5.6.0",
|
||||
"events": "3.3.0",
|
||||
"stream-browserify": "3.0.0",
|
||||
@@ -376,20 +376,20 @@
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@aws-sdk/client-s3": "^3.1161.0"
|
||||
"@aws-sdk/client-s3": "^3.1184.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/middleware-sdk-s3": {
|
||||
"version": "3.972.90",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.972.90.tgz",
|
||||
"integrity": "sha512-UtdPoeKTfUyk4WI6iGirvuN+2MkVMNiWyYwHlwbdOBIonD66+Jm8qR4zdlJJDLqTIDmtvULTH0ZUyEyf/BGTsA==",
|
||||
"version": "3.972.93",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.972.93.tgz",
|
||||
"integrity": "sha512-9vyucsc8JyOGezLAlaD2ylqADBqKTk6L9xgZpKxWonepXSYnn1PxblM1+z16YAbxtPJp4xjbteyXBBH5Y1CxEA==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/signature-v4-multi-region": "^3.996.52",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/signature-v4-multi-region": "^3.996.53",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -397,18 +397,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/nested-clients": {
|
||||
"version": "3.998.3",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.3.tgz",
|
||||
"integrity": "sha512-acHTTzMB13CU6dU4sxABYExMI3PQM2zStWH2MiUwJp/7QKTrLg2f7mbzSXoegW2kYOk2tdqQYagsZrWB8Xv7eA==",
|
||||
"version": "3.998.6",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.6.tgz",
|
||||
"integrity": "sha512-e9lyMp9sAlqvgrg6MAx01f0ydpVeXNAKFVLFnnX6yqj9PF2QhHv9kSFilJBKDUD++qJITCMl7MohN98FbOjPRQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/signature-v4-multi-region": "^3.996.52",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/signature-v4-multi-region": "^3.996.53",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/fetch-http-handler": "^5.8.1",
|
||||
"@smithy/node-http-handler": "^4.14.2",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -473,14 +473,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/signature-v4-multi-region": {
|
||||
"version": "3.996.52",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.52.tgz",
|
||||
"integrity": "sha512-6W6SjGc8OXUhMzNxU1X922ghD+PP1XvzmCk5Scui0jaYsLezycMYR1RaLp5xTIOUrhTXyb4DnAbPr3fBgmdnzg==",
|
||||
"version": "3.996.53",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.53.tgz",
|
||||
"integrity": "sha512-Qsy2NibCVCoacZk3thQzWJ9OIsec64cCRhH+6vO/ugqty71Km/w+vnqX4dcJzj6ExaTmE4C1t6qei8Xg6I0W7w==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/signature-v4": "^5.7.5",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/signature-v4": "^5.7.6",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -488,16 +488,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/token-providers": {
|
||||
"version": "3.1166.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1166.0.tgz",
|
||||
"integrity": "sha512-ngJ8mxXqtQ9mnp7QV6TWKJCxkpjVfPWxKQSc2FYhCyCfOVFIGdFv7P+/RqVffFrJAorwBPpktnv32gNlcEgF4g==",
|
||||
"version": "3.1185.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1185.0.tgz",
|
||||
"integrity": "sha512-9fVb5fMD/AFPbI/SKmC4hkt7JtjAvLPrx8GyUOz3x2Zth4rROGdABE4YID4RMEWBjL5yrxdTohXFwrSt6OvrAw==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/core": "^3.981.0",
|
||||
"@aws-sdk/nested-clients": "^3.998.3",
|
||||
"@aws-sdk/types": "^3.975.1",
|
||||
"@smithy/core": "^3.40.0",
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@aws-sdk/core": "^3.981.3",
|
||||
"@aws-sdk/nested-clients": "^3.998.6",
|
||||
"@aws-sdk/types": "^3.975.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -505,12 +505,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/types": {
|
||||
"version": "3.975.1",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.975.1.tgz",
|
||||
"integrity": "sha512-7rGxUkCB2QPoQOeJmonmAICTN2zrH+fpmi1p4Iwu72lnxNaMhOgqcbpyddifnM1DBb19TWQ1u6z/XjkaFNEDWw==",
|
||||
"version": "3.975.2",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.975.2.tgz",
|
||||
"integrity": "sha512-i5x3rnVFwM3ILVRDwCYDEFME/ij1peaqXyS0QiQprTMlUSkjIDp/YQ54KvUkKSjowovJstHVkqafog25RzfTTg==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -518,12 +518,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/xml-builder": {
|
||||
"version": "3.972.43",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.43.tgz",
|
||||
"integrity": "sha512-rG8QVx4DOrJWptsogu1Aq+CDsnPKaBrAlJpKLxrJrIDXAq1ElnW0yQjjBnlWSXll0cDakCG6UDvaqwz0A9d9Og==",
|
||||
"version": "3.972.44",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.44.tgz",
|
||||
"integrity": "sha512-X3QR1tGXXyvaN3KXkFK+B6w9z26E7aiZsqleqCI6jY9g2Byajrindz8ogVvpfgsrBbmM5myvaWZmFSbtIImBIQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -2084,9 +2084,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@fastify/busboy": {
|
||||
"version": "3.2.6",
|
||||
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-3.2.6.tgz",
|
||||
"integrity": "sha512-UPXdyAMbz/gNvjS8HONpJR2TDaHM3wQKMtSRPFkoh2LTeRRtnm+ICVYKgBYkTwlPOVzDNynOd34EH8qapwfelQ==",
|
||||
"version": "3.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-3.2.7.tgz",
|
||||
"integrity": "sha512-IVR+ecpSAJX1VOn0VsDccT8dIqgekrpzxgDrZxdZoz+DCYh3OyYyaBS52zsz+qu6ruPeMrFo2fjZoMvp8SLYnQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@google-cloud/paginator": {
|
||||
@@ -3551,9 +3551,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@puppeteer/browsers": {
|
||||
"version": "3.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-3.2.7.tgz",
|
||||
"integrity": "sha512-B3C/v8OEEaJYcN1IzzgbPmt+GbFANr4Mf/NrqNuGk/dIchrv6quNqxgT+A6qE0Ge0MN95NjKUddcR1JMpYRMWA==",
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-3.3.1.tgz",
|
||||
"integrity": "sha512-uPUGYSnpCmCbCgY+eGXeneCDeLmNOjNxeyyXhxPyYRg/E6ZKQqsNDB+njfrtFqRuv3I/n/Gt1xNc+yeqatR3Xw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
@@ -4462,12 +4462,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@smithy/core": {
|
||||
"version": "3.41.0",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.41.0.tgz",
|
||||
"integrity": "sha512-fuZ34H1uizS3WgcX9VXG7Uy8od5A5/kCc+CR3NkHLNm2H/BE9AUHG02VIdu8ZB7FYhLqsr/RZbqAoXuOCg/Oxg==",
|
||||
"version": "3.42.0",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.42.0.tgz",
|
||||
"integrity": "sha512-qyh3zXvxCWOLWa6cyQEsyEDDIwUoBExz6cp5Aj2LOwbO3mgrFB8POL0wggbCXRrUt7gRDkgmVH3w2TP/UBiuFA==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@smithy/types": "^4.20.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -4475,13 +4475,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@smithy/credential-provider-imds": {
|
||||
"version": "4.5.2",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.5.2.tgz",
|
||||
"integrity": "sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg==",
|
||||
"version": "4.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.6.0.tgz",
|
||||
"integrity": "sha512-cqIzl6UkKl2O/KvGhO0Ebgq72POAsYp6n65n5Zh2CtCCcCaMsaG0D8f58j0uI/M7YlYn9Lplc6e/jtQzCc/bOA==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@smithy/core": "^3.33.2",
|
||||
"@smithy/types": "^4.17.2",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -4517,13 +4517,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@smithy/signature-v4": {
|
||||
"version": "5.7.5",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.7.5.tgz",
|
||||
"integrity": "sha512-WPjdr5oWOk1LArpI4pavu+fSo+/evi0Re1olxGvqwuZopd4gYR1UGCi+Soyn/IjmafqbWs+ZC+3AKxJS3ZpwUg==",
|
||||
"version": "5.7.6",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.7.6.tgz",
|
||||
"integrity": "sha512-pUD4rYByPT0JzealoFbIO5XkyeJxYjrXCjMAdKL16pOKH4aVIY3PnD3RUfWrHv0/NLxQDV4r/uS6RVDdB3sANw==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@smithy/core": "^3.38.0",
|
||||
"@smithy/types": "^4.19.0",
|
||||
"@smithy/core": "^3.42.0",
|
||||
"@smithy/types": "^4.21.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -4531,9 +4531,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@smithy/types": {
|
||||
"version": "4.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.20.0.tgz",
|
||||
"integrity": "sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A==",
|
||||
"version": "4.21.0",
|
||||
"resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.21.0.tgz",
|
||||
"integrity": "sha512-4zXqqxCPZFUQ5ByaqaCrMCiaKo2aJ7df05sVEy+hdWMtDzNXIkPoy8S0ZpgYZSrBAii/3YtLAAkfq92lNeEd0g==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"tslib": "^2.6.2"
|
||||
@@ -7505,9 +7505,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/devtools-protocol": {
|
||||
"version": "0.0.1717327",
|
||||
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1717327.tgz",
|
||||
"integrity": "sha512-3RDLDzyvv8XAYf1L+TL1og0EEk0eOW1Jn0yi88uG6Bj8fUKO1ZKfgNtwbJkqf5SWdPDS4VGEPxwdUWz78V6Xcg==",
|
||||
"version": "0.0.1724436",
|
||||
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1724436.tgz",
|
||||
"integrity": "sha512-GcO1782pvzpmY4pQO1zjr8WZ95Wv8GodOs0v5J9QWwLGulTzfYIYECEd9iUsnqJmcehu+VMKxZquvjY8T2jhAA==",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
@@ -7518,9 +7518,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/dhtmlx-gantt": {
|
||||
"version": "10.0.3",
|
||||
"resolved": "https://registry.npmjs.org/dhtmlx-gantt/-/dhtmlx-gantt-10.0.3.tgz",
|
||||
"integrity": "sha512-oCWlKyDmrR72cwcvuHlauPI2w8vBixeS7S9yWP7kpReqJsCokvfr0Iyth99BxibEGASSWIgz8aMtclXZX1Rb1A==",
|
||||
"version": "10.1.1",
|
||||
"resolved": "https://registry.npmjs.org/dhtmlx-gantt/-/dhtmlx-gantt-10.1.1.tgz",
|
||||
"integrity": "sha512-SXdmo/PrfEqceEcGTDbY8nrUOWAsYgXkg0+T7Aq8AHDEqhxfvic4C02K7CsPpjrr04nzwwr9TrwsJXC8x1CSMA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/diff": {
|
||||
@@ -7602,9 +7602,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/dompurify": {
|
||||
"version": "3.4.18",
|
||||
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.18.tgz",
|
||||
"integrity": "sha512-ofe3wI/uNm68HInABYFJYqQxRw1EaKAjNdrFVKqjUY+UZurvNd2L/HuQe097s/4RivWiZyP6tT7aoT8atjfhwg==",
|
||||
"version": "3.5.1",
|
||||
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.5.1.tgz",
|
||||
"integrity": "sha512-9fRTM0QJhaSDzR2y4Ym59AW3J3wvNIsQrFQmDilCsExEA/Daks2t5UXh75tE38PB7v8S2/3+JP1UT89Zo9YvEg==",
|
||||
"license": "(MPL-2.0 OR Apache-2.0)",
|
||||
"optionalDependencies": {
|
||||
"@types/trusted-types": "^2.0.7"
|
||||
@@ -8713,18 +8713,17 @@
|
||||
}
|
||||
},
|
||||
"node_modules/flat-cache": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
|
||||
"integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
|
||||
"integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"flatted": "^3.2.9",
|
||||
"keyv": "^4.5.3",
|
||||
"rimraf": "^3.0.2"
|
||||
"keyv": "^4.5.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10.12.0 || >=12.0.0"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/flatbuffers": {
|
||||
@@ -8833,13 +8832,6 @@
|
||||
"node": ">=14.14"
|
||||
}
|
||||
},
|
||||
"node_modules/fs.realpath": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/function-bind": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||
@@ -9009,17 +9001,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/glob": {
|
||||
"version": "14.0.7",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-14.0.7.tgz",
|
||||
"integrity": "sha512-ob8P0VbyEjcLG2ycNYmzYhZj65kkcN5b7tt5moGhTq3rkXtuU8MB+i0GIzPtLnSHVF2DkK4M+nQRojDvsOGVJw==",
|
||||
"version": "15.0.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-15.0.0.tgz",
|
||||
"integrity": "sha512-tiRK5MxAsWTadBLU7T3r2hanLM785BdqH9cfQ9wSTQNU+yULR5gTNiHjB1jpp88qIbX1U+rdrCUXhNv9A2G91g==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"minimatch": "^11.0.5",
|
||||
"minipass": "^7.1.3",
|
||||
"path-scurry": "^3.0.0"
|
||||
"path-scurry": "^4.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "18 || 20 || >=22"
|
||||
"node": "20 || >=22"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
@@ -9809,18 +9800,6 @@
|
||||
"node": ">=0.8.19"
|
||||
}
|
||||
},
|
||||
"node_modules/inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
|
||||
"deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"once": "^1.3.0",
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"node_modules/inherits": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||
@@ -10925,6 +10904,7 @@
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz",
|
||||
"integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": "20 || >=22"
|
||||
}
|
||||
@@ -12538,9 +12518,9 @@
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "11.0.9",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz",
|
||||
"integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==",
|
||||
"version": "11.0.10",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.10.tgz",
|
||||
"integrity": "sha512-L3/cjhQ5E6lft0VCp/2mO3Ic74RnutKy3rz7iGwp/6w1hKcO262g2rbfacFyw6eBig5OdI0nu5PpuA0/WQs9Tw==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"@isaacs/nonrecursive-glob-match": "^1.1.0",
|
||||
@@ -12645,15 +12625,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/minipass": {
|
||||
"version": "7.1.3",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
|
||||
"integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/mitt": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",
|
||||
@@ -12662,9 +12633,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/modern-tar": {
|
||||
"version": "0.8.6",
|
||||
"resolved": "https://registry.npmjs.org/modern-tar/-/modern-tar-0.8.6.tgz",
|
||||
"integrity": "sha512-LYSks0tNVqbtez/9OB0YFP6qLRSqkdAxJWOQpVaR67lNTbj2zNLyYpowkRMia5lXLCZKzxwoxkxH2MbbBR2aEg==",
|
||||
"version": "0.8.7",
|
||||
"resolved": "https://registry.npmjs.org/modern-tar/-/modern-tar-0.8.7.tgz",
|
||||
"integrity": "sha512-q17gyzLiCw2wf/Rcl5c3EA5ynB2hOHb5+qMpbaILOQBaTiBx9bumfXC5sMk0wQrVoLtlBhW77dJTnLArlczsGg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
@@ -13224,16 +13195,6 @@
|
||||
"node": ">=14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/path-key": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
||||
@@ -13252,16 +13213,12 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/path-scurry": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-3.0.0.tgz",
|
||||
"integrity": "sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg==",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-4.1.0.tgz",
|
||||
"integrity": "sha512-V/lmmLwmIUkQzwMR7vAvmTfFH6Pq3QLJryRRO7QSEH5ZpjxpWXA5hGVH1fVnUaT8q8qb1J08NGaaTu501JLRnA==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"lru-cache": "^11.0.0",
|
||||
"minipass": "^7.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "18 || 20 || >=22"
|
||||
"node": "20 || >=22"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
@@ -13601,19 +13558,19 @@
|
||||
}
|
||||
},
|
||||
"node_modules/puppeteer": {
|
||||
"version": "25.18.1",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-25.18.1.tgz",
|
||||
"integrity": "sha512-fCsfwERKluvC84jsVyhDoBZMNuI8t5FFnWXcTdH1vn3NhMk6clZcrF0Da2se6/Hj6CBJ+2PRPpqeV0qPIETeJA==",
|
||||
"version": "26.0.0",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-26.0.0.tgz",
|
||||
"integrity": "sha512-68uLqSYpk1DZ2sSjmlrmnPIACEbyRYSyuKOhl0pCFXcR49wZ5YzaAHBdBnUMwOGj4JBQZcuzWg0+Xz9MLy5F0w==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "3.2.7",
|
||||
"@puppeteer/browsers": "3.3.1",
|
||||
"chromium-bidi": "157.0.8090-0",
|
||||
"devtools-protocol": "0.0.1717327",
|
||||
"lilconfig": "^3.1.4",
|
||||
"puppeteer-core": "25.18.1",
|
||||
"typed-query-selector": "^2.12.3"
|
||||
"devtools-protocol": "0.0.1724436",
|
||||
"lilconfig": "^3.1.5",
|
||||
"puppeteer-core": "26.0.0",
|
||||
"typed-query-selector": "^2.12.4"
|
||||
},
|
||||
"bin": {
|
||||
"puppeteer": "lib/puppeteer/node/cli.js"
|
||||
@@ -13623,18 +13580,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/puppeteer-core": {
|
||||
"version": "25.18.1",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-25.18.1.tgz",
|
||||
"integrity": "sha512-C0wHOJHDfAggGBtN5uUfsJGpeSKtPL5jzhgQYDuz4XKeOG1FUkxeZI2M5yK7AUyrdHO+RgDuiCfjmOpcw3PYTA==",
|
||||
"version": "26.0.0",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-26.0.0.tgz",
|
||||
"integrity": "sha512-GNnGKv4g7uXepoXMsQGt8ghgongs9MKF/lzN5RDlbpEY0IOY9G46NfHZmw1IcEUyB9ufeAZh+PZ6NdvJkHzvBQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "3.2.7",
|
||||
"@puppeteer/browsers": "3.3.1",
|
||||
"chromium-bidi": "157.0.8090-0",
|
||||
"devtools-protocol": "0.0.1717327",
|
||||
"typed-query-selector": "^2.12.3",
|
||||
"devtools-protocol": "0.0.1724436",
|
||||
"typed-query-selector": "^2.12.4",
|
||||
"webdriver-bidi-protocol": "1.0.2",
|
||||
"ws": "^8.22.1"
|
||||
"ws": "^8.23.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22.12.0"
|
||||
@@ -13959,76 +13916,6 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/rimraf": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||
"deprecated": "Rimraf versions prior to v4 are no longer supported",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"glob": "^7.1.3"
|
||||
},
|
||||
"bin": {
|
||||
"rimraf": "bin.js"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/rimraf/node_modules/balanced-match": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/rimraf/node_modules/brace-expansion": {
|
||||
"version": "1.1.21",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",
|
||||
"integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/rimraf/node_modules/glob": {
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
|
||||
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
|
||||
"deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.1.1",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/rimraf/node_modules/minimatch": {
|
||||
"version": "3.1.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
||||
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/ripemd160": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.3.tgz",
|
||||
|
||||
+12
-9
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wekan",
|
||||
"version": "v13.44.0",
|
||||
"version": "v13.46.0",
|
||||
"description": "Open-Source kanban",
|
||||
"private": true,
|
||||
"repository": {
|
||||
@@ -50,20 +50,20 @@
|
||||
"chai-as-promised": "^8.0.2",
|
||||
"css-loader": "^7.1.4",
|
||||
"enhanced-resolve": "5.26.0",
|
||||
"minimatch": "^11.0.9",
|
||||
"minimatch": "^11.0.10",
|
||||
"mongodb": "^7.9.1",
|
||||
"puppeteer": "^25.18.1",
|
||||
"puppeteer": "^26.0.0",
|
||||
"sinon": "^22.1.0",
|
||||
"sinon-chai": "^4.0.1",
|
||||
"style-loader": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "3.1172.0",
|
||||
"@aws-sdk/lib-storage": "~3.1161.0",
|
||||
"@aws-sdk/client-s3": "3.1184.0",
|
||||
"@aws-sdk/lib-storage": "~3.1184.0",
|
||||
"@azure/storage-blob": "^12.33.0",
|
||||
"@babel/parser": "^8.0.4",
|
||||
"@babel/runtime": "^8.0.0",
|
||||
"@fastify/busboy": "^3.2.6",
|
||||
"@fastify/busboy": "^3.2.7",
|
||||
"@google-cloud/storage": "^8.0.1",
|
||||
"@meteorjs/reify": "^0.25.4",
|
||||
"@node-saml/node-saml": "^5.2.0",
|
||||
@@ -88,14 +88,14 @@
|
||||
"blockly": "13.4.0",
|
||||
"bson": "^7.3.1",
|
||||
"chart.js": "^4.6.2",
|
||||
"dhtmlx-gantt": "^10.0.3",
|
||||
"dompurify": "^3.4.18",
|
||||
"dhtmlx-gantt": "^10.1.1",
|
||||
"dompurify": "^3.5.1",
|
||||
"escape-string-regexp": "^5.0.0",
|
||||
"fflate": "^0.8.3",
|
||||
"file-type": "^22.2.0",
|
||||
"filesize": "^11.0.30",
|
||||
"frappe-gantt": "^1.2.2",
|
||||
"glob": "^14.0.6",
|
||||
"glob": "^15.0.0",
|
||||
"highlight.js": "^11.12.0",
|
||||
"hotkeys-js": "^4.0.8",
|
||||
"htmlparser2": "^12.0.0",
|
||||
@@ -157,6 +157,9 @@
|
||||
"body-parser": {
|
||||
"qs": "6.16.0"
|
||||
}
|
||||
},
|
||||
"file-entry-cache": {
|
||||
"flat-cache": "4.0.1"
|
||||
}
|
||||
},
|
||||
"optionalDependencies": {
|
||||
|
||||
@@ -79,6 +79,43 @@ function drawRows(rows, sheet) {
|
||||
return canvas;
|
||||
}
|
||||
|
||||
function drawDxf(paths) {
|
||||
const canvas = createCanvas(edge, edge);
|
||||
const ctx = canvas.getContext('2d');
|
||||
ctx.fillStyle = '#fff';
|
||||
ctx.fillRect(0, 0, edge, edge);
|
||||
let minX = Infinity;
|
||||
let minY = Infinity;
|
||||
let maxX = -Infinity;
|
||||
let maxY = -Infinity;
|
||||
for (const outline of paths) {
|
||||
for (const [x, y] of outline) {
|
||||
minX = Math.min(minX, x);
|
||||
minY = Math.min(minY, y);
|
||||
maxX = Math.max(maxX, x);
|
||||
maxY = Math.max(maxY, y);
|
||||
}
|
||||
}
|
||||
const span = Math.max(maxX - minX, maxY - minY);
|
||||
if (!span) throw new Error('DXF geometry has no extent');
|
||||
const size = edge - 32;
|
||||
const left = (edge - (maxX - minX) / span * size) / 2;
|
||||
const top = (edge - (maxY - minY) / span * size) / 2;
|
||||
ctx.strokeStyle = '#202832';
|
||||
ctx.lineWidth = 2;
|
||||
ctx.beginPath();
|
||||
for (const outline of paths) {
|
||||
outline.forEach(([x, y], i) => {
|
||||
const px = left + (x - minX) / span * size;
|
||||
const py = top + (maxY - y) / span * size;
|
||||
if (i === 0) ctx.moveTo(px, py);
|
||||
else ctx.lineTo(px, py);
|
||||
});
|
||||
}
|
||||
ctx.stroke();
|
||||
return canvas;
|
||||
}
|
||||
|
||||
async function renderOffice() {
|
||||
const { openDocxDocument, openXlsxWorkbook, openPptxPresentation } = await import(
|
||||
pathToFileURL(load.resolve('@wekan/office-open-xml-viewer/node')).href);
|
||||
@@ -128,7 +165,8 @@ async function renderOffice() {
|
||||
if (kind === 'embedded') image = Buffer.from(input);
|
||||
else {
|
||||
const canvas = kind === 'pdf' ? await renderPdf()
|
||||
: rows ? drawRows(rows, kind === 'ods') : await renderOffice();
|
||||
: kind === 'dxf' ? drawDxf(input)
|
||||
: rows ? drawRows(rows, kind === 'ods' || kind === 'xls') : await renderOffice();
|
||||
image = canvas.toBuffer('image/png');
|
||||
}
|
||||
const webp = await sharp(image, { limitInputPixels: 4_000_000, failOn: 'error' })
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
<title>WeKan REST API v13.44</title>
|
||||
<title>WeKan REST API v13.46</title>
|
||||
<!-- needed for adaptive design -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style>
|
||||
@@ -498,11 +498,11 @@ data-styled.g662[id="sc-hFhjrW"]{content:"gelAUe,"}/*!sc*/
|
||||
|
||||
<body>
|
||||
|
||||
<div id="redoc"><div class="sc-dPmKWx eXwHqO redoc light" style="--navbar-height:0px;--navbar-stack-height:0px"><div hidden=""><script>try{var r=document.querySelectorAll(".redoc");r=r[r.length-1];var h=document.documentElement,p=h.classList,a=[h.getAttribute("data-bs-theme"),h.getAttribute("data-theme")];var m=p.contains("dark")||a.indexOf("dark")>-1?"dark":p.contains("light")||a.indexOf("light")>-1?"light":localStorage.getItem("redoc.colorMode");if(m!=="light"&&m!=="dark")m=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";r.classList.remove("light","dark");r.classList.add(m)}catch(e){}</script></div><div class="sc-hHttOM iMkNMJ menu-content"><div class="sc-jokKPH fejYuX"><div data-testid="search-trigger" class="sc-cRcubC kWLWEm"><div class="sc-gzhUzI ejGLvh"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-component-name="icons/SearchIcon/SearchIcon" class="sc-bUAICN hRyRtS"><path d="M14.5 13.7931L10.724 10.017C11.6313 8.9277 12.0838 7.5305 11.9872 6.11608C11.8907 4.70165 11.2525 3.37891 10.2055 2.423C9.15857 1.4671 7.78336 0.951637 6.36602 0.983845C4.94867 1.01605 3.5983 1.59345 2.59582 2.59593C1.59335 3.5984 1.01595 4.94877 0.983738 6.36612C0.95153 7.78347 1.46699 9.15867 2.4229 10.2057C3.3788 11.2526 4.70155 11.8908 6.11597 11.9873C7.53039 12.0839 8.92759 11.6314 10.0169 10.7241L13.793 14.5001L14.5 13.7931ZM2.00001 6.50012C2.00001 5.6101 2.26393 4.74007 2.7584 4.00005C3.25286 3.26003 3.95567 2.68325 4.77794 2.34266C5.6002 2.00207 6.505 1.91295 7.37792 2.08658C8.25083 2.26022 9.05266 2.6888 9.68199 3.31814C10.3113 3.94747 10.7399 4.7493 10.9135 5.62221C11.0872 6.49513 10.9981 7.39993 10.6575 8.22219C10.3169 9.04446 9.7401 9.74726 9.00008 10.2417C8.26006 10.7362 7.39003 11.0001 6.50001 11.0001C5.30694 10.9988 4.16312 10.5243 3.31949 9.68064C2.47587 8.83701 2.00133 7.69319 2.00001 6.50012Z"></path></svg><span>Loading...</span></div></div></div><div class="sc-gpABuY dGxToZ"><ul data-component-name="Menu/Menu" class="sc-llaQDn gIDdEs"><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="true" class="sc-iMaYoB kYPxgQ"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="WeKan REST API" class="sc-cKRyZE edpvXG">WeKan REST API</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/section/production-security-concerns" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB dpiTia"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Production Security Concerns" class="sc-cKRyZE cXpWdQ">Production Security Concerns</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/login" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Login" class="sc-cKRyZE cXpWdQ">Login</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/attachmentstoragesettings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="AttachmentStorageSettings" class="sc-cKRyZE cXpWdQ">AttachmentStorageSettings</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/settings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-Line truncated
|
||||
<div id="redoc"><div class="sc-dPmKWx eXwHqO redoc light" style="--navbar-height:0px;--navbar-stack-height:0px"><div hidden=""><script>try{var r=document.querySelectorAll(".redoc");r=r[r.length-1];var h=document.documentElement,p=h.classList,a=[h.getAttribute("data-bs-theme"),h.getAttribute("data-theme")];var m=p.contains("dark")||a.indexOf("dark")>-1?"dark":p.contains("light")||a.indexOf("light")>-1?"light":localStorage.getItem("redoc.colorMode");if(m!=="light"&&m!=="dark")m=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";r.classList.remove("light","dark");r.classList.add(m)}catch(e){}</script></div><div class="sc-hHttOM iMkNMJ menu-content"><div class="sc-jokKPH fejYuX"><div data-testid="search-trigger" class="sc-cRcubC kWLWEm"><div class="sc-gzhUzI ejGLvh"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-component-name="icons/SearchIcon/SearchIcon" class="sc-bUAICN hRyRtS"><path d="M14.5 13.7931L10.724 10.017C11.6313 8.9277 12.0838 7.5305 11.9872 6.11608C11.8907 4.70165 11.2525 3.37891 10.2055 2.423C9.15857 1.4671 7.78336 0.951637 6.36602 0.983845C4.94867 1.01605 3.5983 1.59345 2.59582 2.59593C1.59335 3.5984 1.01595 4.94877 0.983738 6.36612C0.95153 7.78347 1.46699 9.15867 2.4229 10.2057C3.3788 11.2526 4.70155 11.8908 6.11597 11.9873C7.53039 12.0839 8.92759 11.6314 10.0169 10.7241L13.793 14.5001L14.5 13.7931ZM2.00001 6.50012C2.00001 5.6101 2.26393 4.74007 2.7584 4.00005C3.25286 3.26003 3.95567 2.68325 4.77794 2.34266C5.6002 2.00207 6.505 1.91295 7.37792 2.08658C8.25083 2.26022 9.05266 2.6888 9.68199 3.31814C10.3113 3.94747 10.7399 4.7493 10.9135 5.62221C11.0872 6.49513 10.9981 7.39993 10.6575 8.22219C10.3169 9.04446 9.7401 9.74726 9.00008 10.2417C8.26006 10.7362 7.39003 11.0001 6.50001 11.0001C5.30694 10.9988 4.16312 10.5243 3.31949 9.68064C2.47587 8.83701 2.00133 7.69319 2.00001 6.50012Z"></path></svg><span>Loading...</span></div></div></div><div class="sc-gpABuY dGxToZ"><ul data-component-name="Menu/Menu" class="sc-llaQDn gIDdEs"><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="true" class="sc-iMaYoB kYPxgQ"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="WeKan REST API" class="sc-cKRyZE edpvXG">WeKan REST API</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/section/production-security-concerns" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB dpiTia"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Production Security Concerns" class="sc-cKRyZE cXpWdQ">Production Security Concerns</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/login" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Login" class="sc-cKRyZE cXpWdQ">Login</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/attachmentstoragesettings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="AttachmentStorageSettings" class="sc-cKRyZE cXpWdQ">AttachmentStorageSettings</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/settings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-Line truncated
|
||||
<script type="module">
|
||||
import { hydrate } from "https://cdn.redocly.com/redoc/v3.2.0/bundles/redoc.standalone.js";
|
||||
|
||||
const __redoc_definition = {"openapi":"3.2.0","info":{"title":"WeKan REST API","version":"v13.44","description":"The REST API allows you to control and extend WeKan with ease.\n\nIf you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.\n\n> All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.\n\n# Production Security Concerns\nWhen calling a production WeKan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:\n\n* Only call via HTTPS\n* Implement a timed authorization token expiration strategy\n* Ensure the calling user only has permissions for what they are calling and no more\n"},"paths":{"/users/login":{"post":{"operationId":"login","summary":"Login with REST API","tags":["Login"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}}},"description":"Login credentials","required":true},"responses":{"200":{"description":"Successful authentication","content":{"*/*":{"schema":{"type":"object","required":["id","token","tokenExpires"],"properties":{"id":{"type":"string","description":"User ID"},"token":{"type":"string","description":"Authentication token\n"},"tokenExpires":{"type":"string","format":"date-time","description":"Token expiration date\n"}}}}}},"400":{"description":"Error in authentication\n","content":{"*/*":{"schema":{"type":"object","properties":{"error":{"type":"string"},"reason":{"type":"string"}}}}}},"default":{"description":"Error in authentication\n"}}}},"/users/register":{"post":{"operationId":"register","summary":"Register with REST API","description":"Notes:\n - You will need to provide the token for any of the authenticated methods.\n","tags":["Login"],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"},"email":{"description":"Your email\n","type":"string"}},"required":["username","password","email"]}}},"required":true},"responses":{"200":{"description":"Successful registration","content":{"*/*":{"schema":{"items":{"properties":{"id":{"type":"string"},"token":{"type":"string"},"tokenExpires":{"type":"string"}}}}}}},"400":{"description":"Error in registration\n","content":{"*/*":{"schema":{"items":{"properties":{"error":{"type":"number"},"reason":{"type":"string"}}}}}}},"default":{"description":"Error in registration\n"}}}},"/api/admin/attachment-settings":{"get":{"operationId":"get_attachment_settings","summary":"Get the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. Returns the Admin Panel >\n Attachments settings document, including `limitSettings.attachmentsUploadBlocked`\n and `limitSettings.avatarsUploadBlocked` plus the size limits. Cloud-storage\n secret keys (S3 secretAccessKey, Azure accountKey/connectionString, GCS\n credentials) are masked and never returned; a boolean `\u003cfield>Set` marker\n shows whether a value exists.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}},"put":{"operationId":"update_attachment_settings","summary":"Update the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. The request body is a\n partial settings object (for example\n `{\"limitSettings\": {\"avatarsUploadBlocked\": true}}`). It is applied through\n the same update path as the `updateAttachmentStorageSettings` Meteor method,\n so validation and `$set` semantics are identical: cloud-storage secrets left\n blank are preserved. The masked, updated settings document is returned.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}}},"/api/admin/domains":{"get":{"operationId":"get_admin_domains","summary":"List email domains with their user counts (GlobalAdmin)","description":"Only the global admin can call this. CountsLine truncated
|
||||
const __redoc_definition = {"openapi":"3.2.0","info":{"title":"WeKan REST API","version":"v13.46","description":"The REST API allows you to control and extend WeKan with ease.\n\nIf you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.\n\n> All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.\n\n# Production Security Concerns\nWhen calling a production WeKan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:\n\n* Only call via HTTPS\n* Implement a timed authorization token expiration strategy\n* Ensure the calling user only has permissions for what they are calling and no more\n"},"paths":{"/users/login":{"post":{"operationId":"login","summary":"Login with REST API","tags":["Login"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}}},"description":"Login credentials","required":true},"responses":{"200":{"description":"Successful authentication","content":{"*/*":{"schema":{"type":"object","required":["id","token","tokenExpires"],"properties":{"id":{"type":"string","description":"User ID"},"token":{"type":"string","description":"Authentication token\n"},"tokenExpires":{"type":"string","format":"date-time","description":"Token expiration date\n"}}}}}},"400":{"description":"Error in authentication\n","content":{"*/*":{"schema":{"type":"object","properties":{"error":{"type":"string"},"reason":{"type":"string"}}}}}},"default":{"description":"Error in authentication\n"}}}},"/users/register":{"post":{"operationId":"register","summary":"Register with REST API","description":"Notes:\n - You will need to provide the token for any of the authenticated methods.\n","tags":["Login"],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"},"email":{"description":"Your email\n","type":"string"}},"required":["username","password","email"]}}},"required":true},"responses":{"200":{"description":"Successful registration","content":{"*/*":{"schema":{"items":{"properties":{"id":{"type":"string"},"token":{"type":"string"},"tokenExpires":{"type":"string"}}}}}}},"400":{"description":"Error in registration\n","content":{"*/*":{"schema":{"items":{"properties":{"error":{"type":"number"},"reason":{"type":"string"}}}}}}},"default":{"description":"Error in registration\n"}}}},"/api/admin/attachment-settings":{"get":{"operationId":"get_attachment_settings","summary":"Get the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. Returns the Admin Panel >\n Attachments settings document, including `limitSettings.attachmentsUploadBlocked`\n and `limitSettings.avatarsUploadBlocked` plus the size limits. Cloud-storage\n secret keys (S3 secretAccessKey, Azure accountKey/connectionString, GCS\n credentials) are masked and never returned; a boolean `\u003cfield>Set` marker\n shows whether a value exists.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}},"put":{"operationId":"update_attachment_settings","summary":"Update the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. The request body is a\n partial settings object (for example\n `{\"limitSettings\": {\"avatarsUploadBlocked\": true}}`). It is applied through\n the same update path as the `updateAttachmentStorageSettings` Meteor method,\n so validation and `$set` semantics are identical: cloud-storage secrets left\n blank are preserved. The masked, updated settings document is returned.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}}},"/api/admin/domains":{"get":{"operationId":"get_admin_domains","summary":"List email domains with their user counts (GlobalAdmin)","description":"Only the global admin can call this. CountsLine truncated
|
||||
const __redoc_options = {"skipBundle":true,"disableTelemetry":false};
|
||||
|
||||
hydrate(__redoc_definition, __redoc_options, document.getElementById('redoc'));
|
||||
|
||||
+1
-41
@@ -1,7 +1,7 @@
|
||||
swagger: '2.0'
|
||||
info:
|
||||
title: WeKan REST API
|
||||
version: v13.44
|
||||
version: v13.46
|
||||
description: |
|
||||
The REST API allows you to control and extend WeKan with ease.
|
||||
|
||||
@@ -1701,35 +1701,6 @@ paths:
|
||||
- multipart/form-data
|
||||
- application/json
|
||||
parameters:
|
||||
- name: cardId
|
||||
in: formData
|
||||
description: |
|
||||
the source card ID
|
||||
type: string
|
||||
required: true
|
||||
- name: dependsOn
|
||||
in: formData
|
||||
description: the dependsOn value
|
||||
type: string
|
||||
required: true
|
||||
- name: type
|
||||
in: formData
|
||||
description: |
|
||||
relation type: related-to | blocks | is-blocked-by | fixes | is-fixed-by | duplicates | is-duplicated-by
|
||||
type: string
|
||||
required: false
|
||||
- name: color
|
||||
in: formData
|
||||
description: |
|
||||
line/badge color, any CSS color e.g. "#eb144c"
|
||||
type: string
|
||||
required: false
|
||||
- name: icon
|
||||
in: formData
|
||||
description: |
|
||||
FontAwesome icon name without the "fa-" prefix
|
||||
type: string
|
||||
required: false
|
||||
- name: board
|
||||
in: path
|
||||
description: |
|
||||
@@ -1773,17 +1744,6 @@ paths:
|
||||
- multipart/form-data
|
||||
- application/json
|
||||
parameters:
|
||||
- name: type
|
||||
in: formData
|
||||
description: |
|
||||
relation type: related-to | blocks | is-blocked-by | fixes | is-fixed-by | duplicates | is-duplicated-by
|
||||
type: string
|
||||
required: false
|
||||
- name: key
|
||||
in: formData
|
||||
description: the key value
|
||||
type: string
|
||||
required: true
|
||||
- name: board
|
||||
in: path
|
||||
description: |
|
||||
|
||||
@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
|
||||
appTitle = (defaultText = "Wekan"),
|
||||
# The name of the app as it is displayed to the user.
|
||||
|
||||
appVersion = 1344,
|
||||
appVersion = 1346,
|
||||
# Increment this for every release.
|
||||
|
||||
appMarketingVersion = (defaultText = "13.44~2026-12-04"),
|
||||
appMarketingVersion = (defaultText = "13.46~2026-12-06"),
|
||||
# Human-readable presentation of the app version.
|
||||
|
||||
minUpgradableAppVersion = 0,
|
||||
|
||||
@@ -86,6 +86,8 @@ export function httpStatusForError(error) {
|
||||
// "Internal server error" instead of the 404 it is.
|
||||
if (typeof name === 'string' && /(^|-)not-found$/.test(name)) return 404;
|
||||
switch (name) {
|
||||
case 'bad-request':
|
||||
return 400;
|
||||
case 'Unauthorized':
|
||||
return 401;
|
||||
case 'Forbidden':
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { legacyOfficeThumbnailRows } from './legacyOfficeThumbnail.js';
|
||||
import { dxfThumbnailPaths } from './dxfThumbnail.js';
|
||||
import fs from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { inflateRawSync } from 'node:zlib';
|
||||
@@ -75,8 +77,10 @@ export async function renderDocumentThumbnail(kind, data, workerSource) {
|
||||
if (!Buffer.isBuffer(data) || data.length === 0 || data.length > DOCUMENT_MAX_BYTES) {
|
||||
throw new Error('Document exceeds the thumbnail conversion limit');
|
||||
}
|
||||
const parameters = ['odt', 'ods', 'odp'].includes(kind)
|
||||
? await odfInput(kind, data) : { kind, input: data };
|
||||
let parameters = { kind, input: data };
|
||||
if (['odt', 'ods', 'odp'].includes(kind)) parameters = await odfInput(kind, data);
|
||||
if (['doc', 'xls', 'ppt'].includes(kind)) parameters = { kind, rows: await legacyOfficeThumbnailRows(kind, data) };
|
||||
if (kind === 'dxf') parameters.input = dxfThumbnailPaths(data);
|
||||
return new Promise((resolve, reject) => {
|
||||
const worker = new Worker(workerSource, {
|
||||
eval: true,
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
const MAX_BYTES = 2 * 1024 * 1024;
|
||||
const MAX_POINTS = 50_000;
|
||||
const TURN = 2 * Math.PI;
|
||||
|
||||
export function dxfThumbnailPaths(input) {
|
||||
if (input.length > MAX_BYTES || input.includes(0)) throw new Error('Unsupported DXF');
|
||||
const lines = input.toString('utf8').replace(/^\uFEFF/, '').trimEnd().split(/\r?\n/);
|
||||
if (lines.length % 2 !== 0) throw new Error('Incomplete DXF group');
|
||||
const paths = [];
|
||||
let points = 0;
|
||||
let section = false;
|
||||
let polyline;
|
||||
let ended = false;
|
||||
|
||||
function add(path) {
|
||||
if (path.length < 2) return;
|
||||
points += path.length;
|
||||
if (points > MAX_POINTS || path.some(([x, y]) =>
|
||||
!Number.isFinite(x) || !Number.isFinite(y) || Math.abs(x) > 1e15 || Math.abs(y) > 1e15)) {
|
||||
throw new Error('DXF geometry exceeds thumbnail limits');
|
||||
}
|
||||
paths.push(path);
|
||||
}
|
||||
|
||||
function arc(x, y, ux, uy, vx, vy, start, sweep) {
|
||||
const steps = Math.max(2, Math.ceil(Math.abs(sweep) * 64 / TURN));
|
||||
return Array.from({ length: steps + 1 }, (_, index) => {
|
||||
const t = start + sweep * index / steps;
|
||||
return [x + ux * Math.cos(t) + vx * Math.sin(t), y + uy * Math.cos(t) + vy * Math.sin(t)];
|
||||
});
|
||||
}
|
||||
|
||||
function drawPolyline(vertices, closed) {
|
||||
if (vertices.length < 2) return;
|
||||
const count = closed ? vertices.length : vertices.length - 1;
|
||||
for (let i = 0; i < count; i += 1) {
|
||||
const [x, y, bulge] = vertices[i];
|
||||
const [nx, ny] = vertices[(i + 1) % vertices.length];
|
||||
if (!Number.isFinite(bulge)) throw new Error('Invalid DXF bulge');
|
||||
if (Math.abs(bulge) < 1e-8 || (nx === x && ny === y)) {
|
||||
add([[x, y], [nx, ny]]);
|
||||
continue;
|
||||
}
|
||||
const offset = (1 / bulge - bulge) / 4;
|
||||
const cx = (x + nx) / 2 - (ny - y) * offset;
|
||||
const cy = (y + ny) / 2 + (nx - x) * offset;
|
||||
add(arc(cx, cy, x - cx, y - cy, cy - y, x - cx, 0, 4 * Math.atan(bulge)));
|
||||
}
|
||||
}
|
||||
|
||||
for (let i = 0; i < lines.length;) {
|
||||
if (lines[i].trim() === '999') {
|
||||
i += 2;
|
||||
continue;
|
||||
}
|
||||
if (lines[i].trim() !== '0') throw new Error('Invalid DXF record');
|
||||
const entity = lines[i + 1].trim();
|
||||
i += 2;
|
||||
const groups = new Map();
|
||||
const vertices = [];
|
||||
let vertex;
|
||||
const fits = [];
|
||||
let fit;
|
||||
while (i < lines.length && lines[i].trim() !== '0') {
|
||||
const code = lines[i].trim();
|
||||
const value = lines[i + 1].trim();
|
||||
if (!/^\d+$/.test(code)) throw new Error('Invalid DXF group code');
|
||||
if (!groups.has(code)) groups.set(code, value);
|
||||
if (section && (entity === 'SPLINE' || entity === 'LWPOLYLINE')) {
|
||||
if (code === '10') vertices.push(vertex = [Number(value), NaN, 0]);
|
||||
if (code === '20' && vertex) vertex[1] = Number(value);
|
||||
if (code === '42' && vertex) vertex[2] = Number(value);
|
||||
if (entity === 'SPLINE' && code === '11') fits.push(fit = [Number(value), NaN]);
|
||||
if (entity === 'SPLINE' && code === '21' && fit) fit[1] = Number(value);
|
||||
}
|
||||
i += 2;
|
||||
}
|
||||
|
||||
if (entity === 'SECTION') section = groups.get('2') === 'ENTITIES';
|
||||
if (entity === 'EOF') { ended = true; break; }
|
||||
if (!section) continue;
|
||||
const n = (code, fallback = NaN) => groups.has(code) ? Number(groups.get(code)) : fallback;
|
||||
const flags = n('70', 0);
|
||||
if (entity === 'ENDSEC') section = false;
|
||||
if (entity === 'POLYLINE') polyline = { vertices: [], flags, paper: n('67', 0) };
|
||||
if (entity === 'VERTEX' && polyline) polyline.vertices.push([n('10'), n('20'), n('42', 0)]);
|
||||
if (entity === 'SEQEND' && polyline) {
|
||||
if (!polyline.paper && !(polyline.flags & 120)) drawPolyline(polyline.vertices, polyline.flags & 1);
|
||||
polyline = undefined;
|
||||
}
|
||||
if (n('67', 0) || (groups.has('410') && groups.get('410').toUpperCase() !== 'MODEL')) continue;
|
||||
const x = n('10');
|
||||
const y = n('20');
|
||||
if (entity === 'LINE') add([[x, y], [n('11'), n('21')]]);
|
||||
if (entity === 'LWPOLYLINE') drawPolyline(vertices, flags & 1);
|
||||
if (entity === 'SPLINE') add(fits.length >= 2 ? fits : vertices.map(([vx, vy]) => [vx, vy]));
|
||||
if (entity === 'CIRCLE' || entity === 'ARC' || entity === 'ELLIPSE') {
|
||||
const ellipse = entity === 'ELLIPSE';
|
||||
const ux = ellipse ? n('11') : n('40');
|
||||
const uy = ellipse ? n('21') : 0;
|
||||
const ratio = ellipse ? n('40') : 1;
|
||||
const units = ellipse ? 1 : Math.PI / 180;
|
||||
const start = entity === 'CIRCLE' ? 0 : (ellipse ? n('41', 0) : n('50')) * units;
|
||||
const end = entity === 'CIRCLE' ? TURN : (ellipse ? n('42', TURN) : n('51')) * units;
|
||||
const delta = end - start;
|
||||
const sweep = ((delta % TURN) + TURN) % TURN || TURN;
|
||||
if (!Number.isFinite(delta) || ratio <= 0 || (!ellipse && ux <= 0)) throw new Error('Invalid DXF curve');
|
||||
add(arc(x, y, ux, uy, -uy * ratio, ux * ratio, start, sweep));
|
||||
}
|
||||
}
|
||||
if (!ended || section || !paths.length) throw new Error('DXF has no readable model geometry');
|
||||
return paths;
|
||||
}
|
||||
@@ -0,0 +1,302 @@
|
||||
import { openCompoundFile } from '../../models/lib/outlookMsgFormat.js';
|
||||
|
||||
const STREAM_LIMIT = 16 * 1024 * 1024;
|
||||
const TEXT_LIMIT = 2400;
|
||||
const ROW_LIMIT = 13;
|
||||
const COL_LIMIT = 6;
|
||||
const RECORD_LIMIT = 250_000;
|
||||
const ansi = new TextDecoder('windows-1252');
|
||||
|
||||
function requireValid(condition) {
|
||||
if (!condition) throw new Error('Unsupported or damaged legacy Office document');
|
||||
}
|
||||
|
||||
function textRows(text) {
|
||||
return text.replace(/\x13[^\x14\x15]*(?:\x14|\x15)/g, '')
|
||||
.split(/[\r\n\v\f]+/)
|
||||
.map(line => line.replace(/[\x00-\x08\x0e-\x1f]/g, '').trim())
|
||||
.filter(Boolean).slice(0, 20).map(line => [line.slice(0, 100)]);
|
||||
}
|
||||
|
||||
async function wordRows(read) {
|
||||
const word = await read('WordDocument');
|
||||
requireValid(word.readUInt16LE(0) === 0xa5ec && word.readUInt16LE(2) >= 0x00c1);
|
||||
const flags = word.readUInt16LE(10);
|
||||
requireValid(!(flags & 0x8100));
|
||||
const table = await read(flags & 0x0200 ? '1Table' : '0Table');
|
||||
|
||||
// MS-DOC: the CLX maps main-story character positions to stream offsets.
|
||||
const longs = 34 + word.readUInt16LE(32) * 2;
|
||||
const pairs = longs + 2 + word.readUInt16LE(longs) * 4;
|
||||
const limit = Math.min(TEXT_LIMIT, word.readUInt32LE(longs + 14));
|
||||
const clxStart = word.readUInt32LE(pairs + 2 + 33 * 8);
|
||||
const clxEnd = clxStart + word.readUInt32LE(pairs + 6 + 33 * 8);
|
||||
requireValid(clxEnd <= table.length);
|
||||
let pos = clxStart;
|
||||
while (pos < clxEnd && table[pos] === 1) pos += 3 + table.readUInt16LE(pos + 1);
|
||||
requireValid(table[pos] === 2 && pos + 5 <= clxEnd);
|
||||
const length = table.readUInt32LE(pos + 1);
|
||||
pos += 5;
|
||||
const count = (length - 4) / 12;
|
||||
requireValid(Number.isInteger(count) && count > 0 && pos + length <= clxEnd);
|
||||
let text = '';
|
||||
for (let i = 0; i < count; i += 1) {
|
||||
const start = table.readUInt32LE(pos + i * 4);
|
||||
if (start >= limit) break;
|
||||
const end = Math.min(limit, table.readUInt32LE(pos + (i + 1) * 4));
|
||||
requireValid(end > start);
|
||||
const fc = table.readUInt32LE(pos + (count + 1) * 4 + i * 8 + 2);
|
||||
const compressed = Boolean(fc & 0x40000000);
|
||||
const offset = (fc & 0x3fffffff) / (compressed ? 2 : 1);
|
||||
const last = offset + (end - start) * (compressed ? 1 : 2);
|
||||
requireValid(Number.isInteger(offset) && last <= word.length);
|
||||
const chars = word.subarray(offset, last);
|
||||
text += compressed ? ansi.decode(chars) : chars.toString('utf16le');
|
||||
}
|
||||
return textRows(text);
|
||||
}
|
||||
|
||||
function* biffRecords(data, start = 0) {
|
||||
let records = 0;
|
||||
for (let pos = start; pos + 4 <= data.length;) {
|
||||
requireValid(++records <= RECORD_LIMIT);
|
||||
const type = data.readUInt16LE(pos);
|
||||
const length = data.readUInt16LE(pos + 2);
|
||||
pos += 4;
|
||||
requireValid(pos + length <= data.length);
|
||||
yield { type, body: data.subarray(pos, pos + length) };
|
||||
if (type === 0x000a) return;
|
||||
pos += length;
|
||||
}
|
||||
throw new Error('Incomplete BIFF stream');
|
||||
}
|
||||
|
||||
// MS-XLS: only a continuation inside character data starts with an encoding byte.
|
||||
function sharedStrings(chunks, wanted) {
|
||||
if (!wanted.size) return new Map();
|
||||
requireValid(chunks[0]?.length >= 8);
|
||||
const count = chunks[0].readUInt32LE(4);
|
||||
const last = Math.max(...wanted);
|
||||
requireValid(last < count && last < 100_000);
|
||||
let chunk = 0;
|
||||
let pos = 8;
|
||||
function advance() {
|
||||
pos = 0;
|
||||
requireValid(++chunk < chunks.length && chunks[chunk].length > 0);
|
||||
}
|
||||
function byte() {
|
||||
if (pos === chunks[chunk].length) advance();
|
||||
return chunks[chunk][pos++];
|
||||
}
|
||||
function uint(size) {
|
||||
let n = 0;
|
||||
for (let i = 0; i < size; i += 1) n += byte() * 256 ** i;
|
||||
return n;
|
||||
}
|
||||
function skip(length) {
|
||||
while (length > 0) {
|
||||
if (pos === chunks[chunk].length) advance();
|
||||
const step = Math.min(length, chunks[chunk].length - pos);
|
||||
pos += step;
|
||||
length -= step;
|
||||
}
|
||||
}
|
||||
const found = new Map();
|
||||
for (let index = 0; index <= last; index += 1) {
|
||||
let remaining = uint(2);
|
||||
const flags = byte();
|
||||
let width = flags & 1 ? 2 : 1;
|
||||
const runs = flags & 8 ? uint(2) : 0;
|
||||
const phoneticBytes = flags & 4 ? uint(4) : 0;
|
||||
let text = '';
|
||||
while (remaining > 0) {
|
||||
if (pos === chunks[chunk].length) {
|
||||
advance();
|
||||
width = byte() & 1 ? 2 : 1;
|
||||
}
|
||||
const chars = Math.min(remaining, Math.floor((chunks[chunk].length - pos) / width));
|
||||
requireValid(chars > 0);
|
||||
if (wanted.has(index) && text.length < 100) {
|
||||
const sample = chunks[chunk].subarray(pos, pos + Math.min(chars, 100 - text.length) * width);
|
||||
text += sample.toString(width === 2 ? 'utf16le' : 'latin1');
|
||||
}
|
||||
pos += chars * width;
|
||||
remaining -= chars;
|
||||
}
|
||||
skip(runs * 4 + phoneticBytes);
|
||||
if (wanted.has(index)) found.set(index, text);
|
||||
}
|
||||
return found;
|
||||
}
|
||||
|
||||
function rkValue(bits) {
|
||||
let number;
|
||||
if (bits & 2) number = bits >> 2;
|
||||
else {
|
||||
const bytes = Buffer.alloc(8);
|
||||
bytes.writeInt32LE(bits & ~3, 4);
|
||||
number = bytes.readDoubleLE();
|
||||
}
|
||||
return bits & 1 ? number / 100 : number;
|
||||
}
|
||||
|
||||
async function excelRows(read) {
|
||||
const workbook = await read('Workbook', 'Book');
|
||||
let firstSheet;
|
||||
const sst = [];
|
||||
let inSst = false;
|
||||
for (const { type, body } of biffRecords(workbook)) {
|
||||
if (type === 0x0809) requireValid(body.readUInt16LE() === 0x0600);
|
||||
if (type === 0x002f) throw new Error('Encrypted BIFF workbook');
|
||||
if (type === 0x0085 && body[5] === 0 && firstSheet === undefined) firstSheet = body.readUInt32LE();
|
||||
inSst = type === 0x00fc || (inSst && type === 0x003c);
|
||||
if (inSst) sst.push(body);
|
||||
}
|
||||
requireValid(workbook.readUInt16LE(0) === 0x0809 && workbook.readUInt16LE(6) === 0x0005 && firstSheet > 0 && workbook.readUInt16LE(firstSheet) === 0x0809
|
||||
&& workbook.readUInt16LE(firstSheet + 6) === 0x0010);
|
||||
const grid = [];
|
||||
const wanted = new Set();
|
||||
function cell(row, column, value) {
|
||||
if (row >= ROW_LIMIT || column >= COL_LIMIT) return;
|
||||
(grid[row] ??= Array(COL_LIMIT).fill(''))[column] = value;
|
||||
}
|
||||
for (const { type, body } of biffRecords(workbook, firstSheet)) {
|
||||
if (![0x00fd, 0x0203, 0x027e, 0x00bd, 0x0205, 0x0006, 0x0204].includes(type)) continue;
|
||||
const row = body.readUInt16LE(0);
|
||||
const col = body.readUInt16LE(2);
|
||||
if (row >= ROW_LIMIT || col >= COL_LIMIT) continue;
|
||||
if (type === 0x00fd) {
|
||||
const index = body.readUInt32LE(6);
|
||||
wanted.add(index);
|
||||
cell(row, col, { index });
|
||||
} else if (type === 0x0203 || (type === 0x0006 && body.readUInt16LE(12) !== 0xffff)) {
|
||||
cell(row, col, body.readDoubleLE(6));
|
||||
} else if (type === 0x027e) {
|
||||
cell(row, col, rkValue(body.readInt32LE(6)));
|
||||
} else if (type === 0x00bd) {
|
||||
requireValid(body.length >= 12 && (body.length - 6) % 6 === 0);
|
||||
for (let offset = 4, column = col; offset < body.length - 2 && column < COL_LIMIT; offset += 6, column += 1) {
|
||||
cell(row, column, rkValue(body.readInt32LE(offset + 2)));
|
||||
}
|
||||
} else if (type === 0x0205 && body.length >= 8 && body[7] === 0) {
|
||||
cell(row, col, body[6] ? 'TRUE' : 'FALSE');
|
||||
} else if (type === 0x0204) {
|
||||
const width = body[8] & 1 ? 2 : 1;
|
||||
const end = 9 + body.readUInt16LE(6) * width;
|
||||
requireValid(end <= body.length);
|
||||
cell(row, col, body.toString(width === 2 ? 'utf16le' : 'latin1', 9, Math.min(end, 9 + width * 100)));
|
||||
}
|
||||
}
|
||||
const strings = sharedStrings(sst, wanted);
|
||||
return Array.from(grid, row => row?.map(value => value?.index === undefined ? value : strings.get(value.index)) ?? []);
|
||||
}
|
||||
|
||||
function pptRecord(data, offset) {
|
||||
const header = data.readUInt16LE(offset);
|
||||
const type = data.readUInt16LE(offset + 2);
|
||||
const start = offset + 8;
|
||||
const end = start + data.readUInt32LE(offset + 4);
|
||||
requireValid(end <= data.length);
|
||||
return { type, instance: header >>> 4, container: (header & 15) === 15, start, end };
|
||||
}
|
||||
|
||||
function* pptChildren(data, parent) {
|
||||
for (let pos = parent.start; pos < parent.end;) {
|
||||
const child = pptRecord(data, pos);
|
||||
requireValid(child.end <= parent.end);
|
||||
yield child;
|
||||
pos = child.end;
|
||||
}
|
||||
}
|
||||
|
||||
async function powerpointRows(read) {
|
||||
const current = await read('Current User');
|
||||
const data = await read('PowerPoint Document');
|
||||
requireValid(pptRecord(current, 0).type === 4086 && current.readUInt32LE(12) === 0xe391c05f);
|
||||
|
||||
// MS-PPT: later edits override earlier persist-directory entries.
|
||||
const offsets = new Map();
|
||||
let editOffset = current.readUInt32LE(16);
|
||||
let documentId;
|
||||
for (let edits = 0; editOffset; edits += 1) {
|
||||
const edit = pptRecord(data, editOffset);
|
||||
requireValid(edits < 256 && edit.type === 4085 && edit.end - edit.start >= 28);
|
||||
documentId ??= data.readUInt32LE(edit.start + 16);
|
||||
const directory = pptRecord(data, data.readUInt32LE(edit.start + 12));
|
||||
requireValid(directory.type === 6002);
|
||||
for (let pos = directory.start; pos < directory.end;) {
|
||||
const header = data.readUInt32LE(pos);
|
||||
const count = header >>> 20;
|
||||
const firstId = header & 0xfffff;
|
||||
pos += 4;
|
||||
requireValid(count > 0 && pos + count * 4 <= directory.end && offsets.size + count <= 100_000);
|
||||
for (let i = 0; i < count; i += 1, pos += 4) {
|
||||
if (!offsets.has(firstId + i)) offsets.set(firstId + i, data.readUInt32LE(pos));
|
||||
}
|
||||
}
|
||||
const previous = data.readUInt32LE(edit.start + 8);
|
||||
requireValid(previous < editOffset);
|
||||
editOffset = previous;
|
||||
}
|
||||
requireValid(offsets.has(documentId));
|
||||
const document = pptRecord(data, offsets.get(documentId));
|
||||
requireValid(document.type === 1000 && document.container);
|
||||
let slideId;
|
||||
const snippets = [];
|
||||
let remaining = TEXT_LIMIT;
|
||||
let records = 0;
|
||||
function collect(record) {
|
||||
if (record.type === 4000 || record.type === 4008) {
|
||||
const wide = record.type === 4000;
|
||||
const sample = data.subarray(record.start, Math.min(record.end, record.start + remaining * (wide ? 2 : 1)));
|
||||
const text = sample.toString(wide ? 'utf16le' : 'latin1');
|
||||
snippets.push(text);
|
||||
remaining -= Math.max(1, text.length);
|
||||
}
|
||||
}
|
||||
for (const list of pptChildren(data, document)) {
|
||||
if (list.type !== 4080 || list.instance !== 0) continue;
|
||||
for (const record of pptChildren(data, list)) {
|
||||
if (record.type === 1011) {
|
||||
if (slideId !== undefined) break;
|
||||
slideId = data.readUInt32LE(record.start);
|
||||
} else if (slideId !== undefined && remaining > 0) collect(record);
|
||||
}
|
||||
break;
|
||||
}
|
||||
requireValid(offsets.has(slideId));
|
||||
const slide = pptRecord(data, offsets.get(slideId));
|
||||
requireValid(slide.type === 1006 && slide.container);
|
||||
function collectFromShapes(parent, depth) {
|
||||
requireValid(depth < 32);
|
||||
for (const record of pptChildren(data, parent)) {
|
||||
requireValid(++records <= RECORD_LIMIT);
|
||||
if (remaining <= 0) return;
|
||||
if (record.container || record.type === 0xf00d) collectFromShapes(record, depth + 1);
|
||||
else collect(record);
|
||||
}
|
||||
}
|
||||
if (remaining > 0) collectFromShapes(slide, 0);
|
||||
return textRows(snippets.join('\r'));
|
||||
}
|
||||
|
||||
export async function legacyOfficeThumbnailRows(kind, data) {
|
||||
// Bound the bytes visited even if damaged allocation tables refer to the same sector repeatedly.
|
||||
let bytesLeft = STREAM_LIMIT * 3;
|
||||
const compound = await openCompoundFile((offset, length) => {
|
||||
bytesLeft -= length;
|
||||
requireValid(bytesLeft >= 0);
|
||||
return data.subarray(offset, offset + length);
|
||||
}, data.length);
|
||||
const read = async (...names) => {
|
||||
const name = names.find(candidate => compound.streams.has(candidate));
|
||||
requireValid(name !== undefined);
|
||||
const bytes = await compound.read(name, STREAM_LIMIT);
|
||||
requireValid(bytes?.length === compound.streams.get(name).size && bytes.length > 0);
|
||||
return Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
||||
};
|
||||
const render = { doc: wordRows, xls: excelRows, ppt: powerpointRows }[kind];
|
||||
const rows = await render(read);
|
||||
requireValid(rows.some(row => row.some(value => value !== '' && value !== undefined)));
|
||||
return rows;
|
||||
}
|
||||
@@ -1,11 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const { createHash } = require('node:crypto');
|
||||
const { isIP } = require('node:net');
|
||||
const { locationFromHeaders, hasCoordinates } = require('../../models/lib/geoHeaders');
|
||||
const { normaliseAddress } = require('../../models/lib/ipAddress');
|
||||
const { resolveClientKey } = require('./loginAttemptThrottle');
|
||||
|
||||
function personalApiTokenSource(req, forwardedCount) {
|
||||
function resolveAuditOrigin(req, forwardedCount) {
|
||||
const raw = resolveClientKey({ headers: req.headers, socketAddress: req.socket?.remoteAddress, forwardedCount });
|
||||
const ip = isIP(raw) ? normaliseAddress(raw) : '';
|
||||
const incoming = forwardedCount > 0 ? locationFromHeaders(req.headers) : null;
|
||||
@@ -18,4 +19,10 @@ function personalApiTokenSource(req, forwardedCount) {
|
||||
return { ip, location };
|
||||
}
|
||||
|
||||
module.exports = { personalApiTokenSource };
|
||||
function auditUsageId(tokenId, ip, country, boardId, action, status) {
|
||||
// Preserve the grouping key for records already in the usage collection.
|
||||
const fields = JSON.stringify([tokenId, ip, country || '', boardId, action, status]);
|
||||
return createHash('sha256').update(fields).digest('hex');
|
||||
}
|
||||
|
||||
module.exports = { resolveAuditOrigin, auditUsageId };
|
||||
@@ -102,6 +102,13 @@ describe('REST API response helpers (#5804)', function() {
|
||||
});
|
||||
|
||||
describe('publicErrorData', function() {
|
||||
it('returns 400 with the reason for a bad request', function() {
|
||||
expect(publicErrorData({ error: 'bad-request', reason: 'Invalid input' })).to.deep.equal({
|
||||
code: 400,
|
||||
data: { error: 'Invalid input' },
|
||||
});
|
||||
});
|
||||
|
||||
it('keeps an expected client error status and message', function() {
|
||||
expect(publicErrorData({ statusCode: 403, reason: 'Forbidden' })).to.deep.equal({
|
||||
code: 403,
|
||||
|
||||
@@ -1951,6 +1951,7 @@ async function updateRestCard(req, reply, { customFieldUpdates, bulk = false } =
|
||||
const paramBoardId = req.params.boardId;
|
||||
const paramCardId = req.params.cardId;
|
||||
const paramListId = req.params.listId;
|
||||
await Authentication.checkBoardWriteAccess(req.userId, paramBoardId);
|
||||
// Issue #5398: consolidate the board-move parameters into one consistent set
|
||||
// instead of re-reading them under several inconsistent names. The external
|
||||
// API contract is unchanged: full move uses newBoardId/newSwimlaneId/
|
||||
@@ -1961,7 +1962,6 @@ async function updateRestCard(req, reply, { customFieldUpdates, bulk = false } =
|
||||
const scope = { _id: paramCardId, boardId: paramBoardId, listId: paramListId, deletedAt: null };
|
||||
const changes = {};
|
||||
const clear = {};
|
||||
await Authentication.checkBoardWriteAccess(req.userId, paramBoardId);
|
||||
await assertListNotRefused(req.userId, await ReactiveCache.getBoard(paramBoardId), paramListId); // #4527
|
||||
// #4527: a move INTO a list that refuses this role is refused too.
|
||||
if (typeof newListId === 'string' && newListId && newListId !== paramListId) {
|
||||
|
||||
@@ -360,18 +360,19 @@ if (Meteor.isServer) {
|
||||
try {
|
||||
const paramBoardId = req.params.boardId;
|
||||
const paramCardId = req.params.cardId;
|
||||
await checkRestDependencyAccess(req.userId, paramBoardId, paramCardId, req.body && (req.body.cardId || req.body.dependsOn));
|
||||
const body = req.body || {};
|
||||
const targetId = body.cardId || body.dependsOn;
|
||||
await checkRestDependencyAccess(req.userId, paramBoardId, paramCardId, targetId);
|
||||
const card = await ReactiveCache.getCard({
|
||||
_id: paramCardId,
|
||||
boardId: paramBoardId,
|
||||
});
|
||||
if (!card) throw new Meteor.Error('not-found', 'Card not found');
|
||||
|
||||
const targetId = req.body.cardId || req.body.dependsOn;
|
||||
if (!targetId || targetId === paramCardId) {
|
||||
if (typeof targetId !== 'string' || !targetId || targetId === paramCardId) {
|
||||
throw new Meteor.Error('bad-request', 'A valid target cardId is required');
|
||||
}
|
||||
if (req.body.type && !DEPENDENCY_TYPE_IDS.includes(req.body.type)) {
|
||||
if (body.type && !DEPENDENCY_TYPE_IDS.includes(body.type)) {
|
||||
throw new Meteor.Error('bad-request', `type must be one of: ${DEPENDENCY_TYPE_IDS.join(', ')}`);
|
||||
}
|
||||
const target = await ReactiveCache.getCard({
|
||||
@@ -386,9 +387,9 @@ if (Meteor.isServer) {
|
||||
const existing = deps.find(d => d.cardId === targetId);
|
||||
const entry = normalizeDependency({
|
||||
cardId: targetId,
|
||||
type: req.body.type || (existing && existing.type),
|
||||
color: req.body.color || (existing && existing.color),
|
||||
icon: req.body.icon || (existing && existing.icon),
|
||||
type: body.type || (existing && existing.type),
|
||||
color: body.color || (existing && existing.color),
|
||||
icon: body.icon || (existing && existing.icon),
|
||||
});
|
||||
if (existing) {
|
||||
await Cards.updateAsync(
|
||||
@@ -436,13 +437,14 @@ if (Meteor.isServer) {
|
||||
boardId: paramBoardId,
|
||||
});
|
||||
if (!card) throw new Meteor.Error('not-found', 'Card not found');
|
||||
if (req.body.type && !DEPENDENCY_TYPE_IDS.includes(req.body.type)) {
|
||||
const body = req.body || {};
|
||||
if (body.type && !DEPENDENCY_TYPE_IDS.includes(body.type)) {
|
||||
throw new Meteor.Error('bad-request', `type must be one of: ${DEPENDENCY_TYPE_IDS.join(', ')}`);
|
||||
}
|
||||
const modifier = {};
|
||||
['type', 'color', 'icon'].forEach(key => {
|
||||
if (req.body[key] !== undefined) {
|
||||
modifier[`cardDependencies.$.${key}`] = req.body[key];
|
||||
if (body[key] !== undefined) {
|
||||
modifier[`cardDependencies.$.${key}`] = body[key];
|
||||
}
|
||||
});
|
||||
if (Object.keys(modifier).length === 0) {
|
||||
|
||||
@@ -8,7 +8,7 @@ import { ReactiveCache } from '/imports/reactiveCache';
|
||||
|
||||
const { personalApiRequest } = require('/models/lib/personalApiTokenScope');
|
||||
const { memberReadsWholeBoard } = require('/models/lib/boardReadAccess');
|
||||
const { personalApiTokenSource } = require('/server/lib/personalApiTokenSource');
|
||||
const { resolveAuditOrigin, auditUsageId } = require('/server/lib/personalApiAudit');
|
||||
const { csvLine } = require('/models/lib/adminCsvExport');
|
||||
const { classifyAddress } = require('/models/lib/ipAddress');
|
||||
|
||||
@@ -17,13 +17,9 @@ const Tokens = new Mongo.Collection('personalApiTokens', { defineMutationMethods
|
||||
const Usage = new Mongo.Collection('personalApiTokenUsage', { defineMutationMethods: false });
|
||||
const DAY = 86400000;
|
||||
const DEFAULT_DAYS = 90;
|
||||
// CodeQL alert #621. WeKan issues each bearer token from 32 bytes of
|
||||
// cryptographic randomness. SHA-256 supplies an indexed lookup key without
|
||||
// storing the bearer secret. Recovering a token from its digest requires
|
||||
// guessing a 256-bit random value, so a password work factor is unnecessary.
|
||||
// This helper also hashes audit fields to make a stable grouping key.
|
||||
// codeql[js/insufficient-password-hash]
|
||||
const hash = value => createHash('sha256').update(value).digest('hex');
|
||||
// Generated bearer tokens contain 256 random bits. The digest is the
|
||||
// indexed lookup key and must stay compatible with already issued tokens.
|
||||
const tokenDigest = secret => createHash('sha256').update(secret).digest('hex');
|
||||
const publicFields = {
|
||||
_id: 0, publicId: 1, userId: 1, name: 1, scope: 1, boards: 1, createdAt: 1, expiresAt: 1, lastUsed: 1, revokedAt: 1,
|
||||
};
|
||||
@@ -50,8 +46,8 @@ function activeToken(token, config, at) {
|
||||
|
||||
async function recordUsage(token, { action, boardId }, req, status, startedAt) {
|
||||
const endedAt = new Date();
|
||||
const { ip, location } = personalApiTokenSource(req, Number(process.env.HTTP_FORWARDED_COUNT || 0));
|
||||
const id = hash(JSON.stringify([token._id, ip, location.country || '', boardId, action, status]));
|
||||
const { ip, location } = resolveAuditOrigin(req, Number(process.env.HTTP_FORWARDED_COUNT || 0));
|
||||
const id = auditUsageId(token._id, ip, location.country, boardId, action, status);
|
||||
await Usage.rawCollection().updateOne({ _id: id }, {
|
||||
$setOnInsert: { tokenId: token.publicId, userId: token.userId, tokenName: token.name, ip, boardId, action, status },
|
||||
$set: { location },
|
||||
@@ -68,7 +64,7 @@ export async function authenticatePersonalApiToken(req, res, next) {
|
||||
const config = await policy();
|
||||
if (config.enabled && /^wkp_[a-f0-9]{64}$/.test(req.authToken) &&
|
||||
/^Bearer\s+wkp_[a-f0-9]{64}$/i.test(req.headers.authorization || '')) {
|
||||
const token = await Tokens.findOneAsync(hash(req.authToken));
|
||||
const token = await Tokens.findOneAsync(tokenDigest(req.authToken));
|
||||
if (token && activeToken(token, config, startedAt)) {
|
||||
const user = await activeUserById(token.userId, 'personal-api-token', req);
|
||||
const permitted = personalApiRequest(token, req.method, req.url, req.body);
|
||||
@@ -129,7 +125,7 @@ Meteor.methods({
|
||||
}
|
||||
const secret = 'wkp_' + randomBytes(32).toString('hex');
|
||||
await Tokens.insertAsync({
|
||||
_id: hash(secret), userId: this.userId, name, createdAt,
|
||||
_id: tokenDigest(secret), userId: this.userId, name, createdAt,
|
||||
expiresAt: input.expiresAt, scope: input.scope, boards,
|
||||
publicId: randomBytes(16).toString('hex'),
|
||||
});
|
||||
|
||||
+4
-4
@@ -19,7 +19,7 @@
|
||||
# base: core24 (not core26) · no build-base: devel · grade: stable
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
name: wekan
|
||||
version: '13.44'
|
||||
version: '13.46'
|
||||
base: core24
|
||||
confinement: strict
|
||||
grade: stable
|
||||
@@ -703,18 +703,18 @@ parts:
|
||||
armhf) WEKAN_ARCH="armhf" ;;
|
||||
*) echo "Unsupported architecture: ${CRAFT_ARCH_BUILD_FOR}"; exit 1 ;;
|
||||
esac
|
||||
WEKAN_ZIP="wekan-13.44-${WEKAN_ARCH}.zip"
|
||||
WEKAN_ZIP="wekan-13.46-${WEKAN_ARCH}.zip"
|
||||
echo "Cleaning environment first"
|
||||
rm -rf .build
|
||||
mkdir .build
|
||||
cd .build
|
||||
#wget https://github.com/wekan/wekan/releases/download/v13.44/wekan-13.44-amd64.zip
|
||||
#wget https://github.com/wekan/wekan/releases/download/v13.46/wekan-13.46-amd64.zip
|
||||
# Retry: a release asset can 404 for a short while right after it is
|
||||
# uploaded (CDN/propagation lag), and a plain wget treated that as
|
||||
# fatal. --retry-on-http-error covers the 404/5xx window; a genuinely
|
||||
# missing bundle still fails after the tries are spent.
|
||||
wget --tries=20 --waitretry=20 --retry-on-http-error=404,403,500,502,503 \
|
||||
"https://github.com/wekan/wekan/releases/download/v13.44/${WEKAN_ZIP}"
|
||||
"https://github.com/wekan/wekan/releases/download/v13.46/${WEKAN_ZIP}"
|
||||
unzip "${WEKAN_ZIP}"
|
||||
python3 ../releases/check-telemetry.py --bundle bundle
|
||||
rm "${WEKAN_ZIP}"
|
||||
|
||||
@@ -7,6 +7,7 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const sharp = require('sharp');
|
||||
const { drawing, sampleDxf, sampleDoc, sampleXls, samplePpt } = require('./lib/documentThumbnailFixtures.cjs');
|
||||
const { isThumbnailPath, canThumbnail, documentThumbnailKind, thumbnailUrl, THUMBNAIL_EDGE } = require('../models/lib/attachmentThumbnail.js');
|
||||
|
||||
const ROOT = path.join(__dirname, '..');
|
||||
@@ -41,7 +42,14 @@ async function main() {
|
||||
assert.equal(documentThumbnailKind({ type: 'application/pdf' }), 'pdf');
|
||||
assert.equal(documentThumbnailKind({ name: 'Report.DOCX', type: 'application/zip' }), 'docx');
|
||||
assert.equal(documentThumbnailKind({ name: 'report.pdf', type: 'text/html' }), null);
|
||||
assert.equal(documentThumbnailKind({ name: 'report.doc' }), null);
|
||||
assert.equal(documentThumbnailKind({ name: 'report.doc' }), 'doc');
|
||||
assert.equal(documentThumbnailKind({ type: 'application/vnd.ms-powerpoint' }), 'ppt');
|
||||
assert.equal(documentThumbnailKind({ name: 'order.XLS', type: 'application/x-ole-storage' }), 'xls');
|
||||
assert.equal(documentThumbnailKind({ type: 'application/dxf' }), 'dxf');
|
||||
assert.equal(documentThumbnailKind({ type: 'image/vnd.dxf', isImage: true }), 'dxf');
|
||||
assert.equal(documentThumbnailKind({ name: 'cut.dxf', type: 'text/plain' }), 'dxf');
|
||||
assert.equal(documentThumbnailKind({ name: 'cut.DXF', type: 'application/octet-stream' }), 'dxf');
|
||||
assert.equal(documentThumbnailKind({ name: 'cut.dwg', type: 'application/octet-stream' }), null);
|
||||
|
||||
// Conversion: a WebP no larger than THUMBNAIL_EDGE, never enlarged.
|
||||
const lib = await loadImageLib();
|
||||
@@ -93,6 +101,54 @@ async function main() {
|
||||
const stats = await sharp(image).stats();
|
||||
assert.ok(stats.channels.some(c => c.min < 128), `${kind} thumbnail contains document content`);
|
||||
}
|
||||
const { legacyOfficeThumbnailRows } = await import('../server/lib/legacyOfficeThumbnail.js');
|
||||
const { dxfThumbnailPaths } = await import('../server/lib/dxfThumbnail.js');
|
||||
const [, , , closingEdge, firstHole, secondHole] = dxfThumbnailPaths(sampleDxf());
|
||||
assert.deepEqual(closingEdge, [[0, 50], [0, 0]]);
|
||||
assert.deepEqual(firstHole[0], [33, 25]);
|
||||
assert.deepEqual(secondHole[0], [83, 25]);
|
||||
const curves = dxfThumbnailPaths(drawing(
|
||||
[0, 'LWPOLYLINE', 10, 0, 20, 0, 42, 1, 10, 10, 20, 0],
|
||||
[0, 'ARC', 10, 0, 20, 0, 40, 10, 50, 350, 51, 10],
|
||||
[0, 'ELLIPSE', 10, 0, 20, 0, 11, 10, 21, 0, 40, 0.5],
|
||||
[0, 'SPLINE', 10, 0, 20, 0, 10, 1, 20, 2, 10, 3, 20, 4],
|
||||
[0, 'POLYLINE', 70, 1], [0, 'VERTEX', 10, 0, 20, 0],
|
||||
[0, 'VERTEX', 10, 1, 20, 0], [0, 'SEQEND'],
|
||||
[0, 'LINE', 67, 1, 10, 0, 20, 0, 11, 1000, 21, 1000],
|
||||
));
|
||||
assert.equal(curves.length, 6);
|
||||
assert.ok(Math.abs(curves[0][16][1] + 5) < 1e-8, 'a bulge produces a semicircle');
|
||||
assert.deepEqual(curves[3], [[0, 0], [1, 2], [3, 4]]);
|
||||
const examples = [
|
||||
['doc', sampleDoc(), [['Workshop order'], ['Part 100']]],
|
||||
['xls', sampleXls(), [['Part Å-100', 42, '', '', '', '']]],
|
||||
['ppt', samplePpt(), [['First slide'], ['Workshop']]],
|
||||
];
|
||||
for (const [kind, input, rows] of examples) {
|
||||
assert.deepEqual(await legacyOfficeThumbnailRows(kind, input), rows);
|
||||
await assert.rejects(() => renderDocumentThumbnail(kind, Buffer.from('not an Office file'), source));
|
||||
}
|
||||
for (const [kind, input] of [...examples, ['dxf', sampleDxf()]]) {
|
||||
const image = await renderDocumentThumbnail(kind, input, source);
|
||||
const info = await sharp(image).metadata();
|
||||
assert.equal(info.format, 'webp', kind);
|
||||
assert.deepEqual([info.width, info.height], [512, kind === 'xls' ? 320 : 512]);
|
||||
assert.ok((await sharp(image).stats()).channels[0].min < 100, kind);
|
||||
if (kind === 'dxf') {
|
||||
const { data: pixels, info: { channels, width } } = await sharp(image).raw().toBuffer({ resolveWithObject: true });
|
||||
const red = (x, y) => pixels[(y * width + x) * channels];
|
||||
assert.ok(red(16, 256) < 128, 'the rectangle outline is visible');
|
||||
assert.ok(red(174, 256) < 128 && red(414, 256) < 128, 'both hole outlines are visible');
|
||||
assert.ok(red(136, 256) > 240 && red(376, 256) > 240, 'the holes are white inside');
|
||||
}
|
||||
}
|
||||
await assert.rejects(() => renderDocumentThumbnail('doc', sampleDoc({ encrypted: true }), source));
|
||||
await assert.rejects(() => renderDocumentThumbnail('xls', sampleXls({ encrypted: true }), source));
|
||||
for (const bad of [Buffer.from('AutoCAD Binary DXF\r\n\0'), drawing([0, 'TEXT', 1, 'nothing']),
|
||||
drawing([0, 'LINE', 10, 'NaN', 20, 0, 11, 2, 21, 3]), Buffer.alloc(2 * 1024 * 1024 + 1, 32)]) {
|
||||
await assert.rejects(() => renderDocumentThumbnail('dxf', bad, source));
|
||||
}
|
||||
|
||||
await assert.rejects(() => renderDocumentThumbnail('pdf', Buffer.from('not a PDF'), source));
|
||||
await assert.rejects(() => renderDocumentThumbnail('pdf', Buffer.alloc(DOCUMENT_MAX_BYTES + 1), source),
|
||||
/thumbnail conversion limit/);
|
||||
|
||||
@@ -39,6 +39,15 @@ test('Rsdoctor manifest and lock exclude CVE-2026-61782 affected releases', () =
|
||||
}
|
||||
});
|
||||
|
||||
test('all glob copies in the root lockfile exclude CVE-2026-144291', () => {
|
||||
const versions = Object.entries(lock.packages)
|
||||
.filter(([location]) => /(^|\/)node_modules\/glob$/.test(location));
|
||||
assert.ok(versions.length > 0);
|
||||
for (const [location, { version }] of versions) {
|
||||
assert.ok(semver.gte(version, '14.0.6'), `${location}@${version} must be at least 14.0.6`);
|
||||
}
|
||||
});
|
||||
|
||||
test('Dependabot no longer excludes build-tool security updates', () => {
|
||||
const config = fs.readFileSync(path.join(root, '.github/dependabot.yml'), 'utf8');
|
||||
for (const name of ['@rsdoctor/rspack-plugin', '@meteorjs/rspack', '@rspack/core', '@rspack/cli', 'css-loader', 'style-loader']) {
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
'use strict';
|
||||
|
||||
const { writeCompoundFile } = require('./outlookMsgFixture.cjs');
|
||||
|
||||
const drawing = (...entities) => Buffer.from(['0', 'SECTION', '2', 'ENTITIES',
|
||||
...entities.flat(), '0', 'ENDSEC', '0', 'EOF', ''].join('\r\n'));
|
||||
|
||||
function sampleDxf() {
|
||||
const rectangle = [0, 'LWPOLYLINE', 90, 4, 70, 1, 10, 0, 20, 0,
|
||||
10, 100, 20, 0, 10, 100, 20, 50, 10, 0, 20, 50];
|
||||
const hole = x => [0, 'CIRCLE', 10, x, 20, 25, 40, 8];
|
||||
return drawing(rectangle, hole(25), hole(75));
|
||||
}
|
||||
|
||||
function sampleDoc({ encrypted = false } = {}) {
|
||||
const word = Buffer.alloc(8192);
|
||||
const text = Buffer.from('Workshop order\rPart 100', 'utf16le');
|
||||
word.writeUInt16LE(0xa5ec, 0);
|
||||
word.writeUInt16LE(0x00c1, 2);
|
||||
word.writeUInt16LE(0x0200 | (encrypted ? 0x0100 : 0), 10);
|
||||
word.writeUInt16LE(14, 32);
|
||||
word.writeUInt16LE(22, 62);
|
||||
word.writeUInt32LE(text.length / 2, 76);
|
||||
word.writeUInt16LE(93, 152);
|
||||
word.writeUInt32LE(21, 0x1a6);
|
||||
text.copy(word, 4096);
|
||||
const table = Buffer.alloc(21);
|
||||
table[0] = 2;
|
||||
table.writeUInt32LE(16, 1);
|
||||
table.writeUInt32LE(text.length / 2, 9);
|
||||
table.writeUInt32LE(4096, 15);
|
||||
return Buffer.from(writeCompoundFile({ WordDocument: word, '1Table': table }));
|
||||
}
|
||||
|
||||
function biffRecord(type, body = Buffer.alloc(0)) {
|
||||
const header = Buffer.alloc(4);
|
||||
header.writeUInt16LE(type);
|
||||
header.writeUInt16LE(body.length, 2);
|
||||
return Buffer.concat([header, body]);
|
||||
}
|
||||
|
||||
function biffBof(type) {
|
||||
const body = Buffer.alloc(16);
|
||||
body.writeUInt16LE(0x0600);
|
||||
body.writeUInt16LE(type, 2);
|
||||
return biffRecord(0x0809, body);
|
||||
}
|
||||
|
||||
function sampleXls({ encrypted = false } = {}) {
|
||||
const descriptor = Buffer.alloc(13);
|
||||
descriptor[6] = 5;
|
||||
descriptor.write('Order', 8);
|
||||
const header = Buffer.alloc(11);
|
||||
header.writeUInt32LE(1, 0);
|
||||
header.writeUInt32LE(1, 4);
|
||||
header.writeUInt16LE(10, 8);
|
||||
const globals = () => [
|
||||
biffBof(5), ...(encrypted ? [biffRecord(0x002f, Buffer.alloc(4))] : []),
|
||||
biffRecord(0x0085, descriptor), biffRecord(0x00fc, Buffer.concat([header, Buffer.from('Part ')])),
|
||||
biffRecord(0x003c, Buffer.concat([Buffer.from([1]), Buffer.from('Å-100', 'utf16le')])),
|
||||
biffRecord(0x000a),
|
||||
];
|
||||
descriptor.writeUInt32LE(globals().reduce((length, record) => length + record.length, 0));
|
||||
const quantity = Buffer.alloc(10);
|
||||
quantity.writeUInt16LE(1, 2);
|
||||
quantity.writeInt32LE((42 << 2) | 2, 6);
|
||||
const workbook = Buffer.concat([
|
||||
...globals(), biffBof(0x10), biffRecord(0x00fd, Buffer.alloc(10)),
|
||||
biffRecord(0x027e, quantity), biffRecord(0x000a),
|
||||
]);
|
||||
return Buffer.from(writeCompoundFile({ Workbook: workbook }));
|
||||
}
|
||||
|
||||
function pptRecord(type, body, version = 0, instance = 0) {
|
||||
const header = Buffer.alloc(8);
|
||||
header.writeUInt16LE((instance << 4) | version);
|
||||
header.writeUInt16LE(type, 2);
|
||||
header.writeUInt32LE(body.length, 4);
|
||||
return Buffer.concat([header, body]);
|
||||
}
|
||||
|
||||
function samplePpt() {
|
||||
const persist = id => {
|
||||
const body = Buffer.alloc(20);
|
||||
body.writeUInt32LE(id);
|
||||
return pptRecord(1011, body);
|
||||
};
|
||||
const text = value => pptRecord(4000, Buffer.from(value, 'utf16le'));
|
||||
const list = pptRecord(4080, Buffer.concat([
|
||||
persist(2), text('First slide'), persist(3), text('Second slide'),
|
||||
]), 15);
|
||||
const document = pptRecord(1000, list, 15);
|
||||
const shapeText = pptRecord(0xf00d, text('Workshop'), 0);
|
||||
const slide = pptRecord(1006, shapeText, 15);
|
||||
const directory = Buffer.alloc(12);
|
||||
directory.writeUInt32LE((2 << 20) | 1);
|
||||
directory.writeUInt32LE(document.length, 8);
|
||||
const persistDirectory = pptRecord(6002, directory);
|
||||
const edit = Buffer.alloc(28);
|
||||
edit.writeUInt32LE(document.length + slide.length, 12);
|
||||
edit.writeUInt32LE(1, 16);
|
||||
const currentUser = Buffer.alloc(24);
|
||||
currentUser.writeUInt32LE(0xe391c05f, 4);
|
||||
currentUser.writeUInt32LE(document.length + slide.length + persistDirectory.length, 8);
|
||||
return Buffer.from(writeCompoundFile({
|
||||
'Current User': pptRecord(4086, currentUser),
|
||||
'PowerPoint Document': Buffer.concat([document, slide, persistDirectory, pptRecord(4085, edit)]),
|
||||
}));
|
||||
}
|
||||
|
||||
module.exports = { drawing, sampleDxf, sampleDoc, sampleXls, samplePpt };
|
||||
@@ -74,6 +74,19 @@ function checkHighlightRules(clean, label) {
|
||||
}
|
||||
|
||||
async function main() {
|
||||
// GHSA-hrxw-jjj6-2g2j: every locked copy must include the template sanitizer fix.
|
||||
const { packages } = JSON.parse(read('package-lock.json'));
|
||||
const isPatched = version => {
|
||||
if (!/^\d+\.\d+\.\d+$/.test(version)) return false;
|
||||
const [major, minor] = version.split('.').map(Number);
|
||||
return major > 3 || (major === 3 && minor >= 5);
|
||||
};
|
||||
assert.ok(isPatched(packages['node_modules/dompurify'].version));
|
||||
for (const [location, { version }] of Object.entries(packages)) {
|
||||
if (location.endsWith('/node_modules/dompurify')) assert.ok(isPatched(version), location);
|
||||
}
|
||||
assert.ok(isPatched(createDOMPurify.version), 'installed DOMPurify is patched');
|
||||
|
||||
const window = new JSDOM('').window;
|
||||
|
||||
const { secureSanitize, getSecureDOMPurifyConfig } = await import('../packages/markdown/src/secureDOMPurify.js');
|
||||
|
||||
@@ -20,7 +20,7 @@ test('personal API tokens constrain methods, board IDs and fields independently'
|
||||
});
|
||||
|
||||
test('personal API audit records IPv4 and IPv6 and accepts geo data only behind the proxy', () => {
|
||||
const { personalApiTokenSource } = require('../server/lib/personalApiTokenSource');
|
||||
const { resolveAuditOrigin } = require('../server/lib/personalApiAudit');
|
||||
const req = {
|
||||
socket: { remoteAddress: '::ffff:192.0.2.9' },
|
||||
headers: {
|
||||
@@ -30,7 +30,15 @@ test('personal API audit records IPv4 and IPv6 and accepts geo data only behind
|
||||
'x-geoip-longitude': '24.94',
|
||||
},
|
||||
};
|
||||
assert.deepEqual(personalApiTokenSource(req, 0), { ip: '192.0.2.9', location: {} });
|
||||
assert.deepEqual(personalApiTokenSource(req, 1),
|
||||
assert.deepEqual(resolveAuditOrigin(req, 0), { ip: '192.0.2.9', location: {} });
|
||||
assert.deepEqual(resolveAuditOrigin(req, 1),
|
||||
{ ip: '2001:db8::1', location: { country: 'FI', latitude: 60.17, longitude: 24.94 } });
|
||||
});
|
||||
|
||||
test('audit grouping preserves stored usage keys and distinguishes requests', () => {
|
||||
const { auditUsageId } = require('../server/lib/personalApiAudit');
|
||||
const previous = require('node:crypto').createHash('sha256')
|
||||
.update(JSON.stringify(['digest', '192.0.2.9', '', 'board', 'Card', 200])).digest('hex');
|
||||
assert.equal(auditUsageId('digest', '192.0.2.9', undefined, 'board', 'Card', 200), previous);
|
||||
assert.notEqual(auditUsageId('digest', '192.0.2.9', undefined, 'board', 'Card', 403), previous);
|
||||
});
|
||||
Generated
+12
-12
@@ -9,7 +9,7 @@
|
||||
"mongodb": "^7.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.65.1",
|
||||
"@playwright/test": "^1.65.2",
|
||||
"axe-core": "^4.14.1"
|
||||
}
|
||||
},
|
||||
@@ -23,13 +23,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@playwright/test": {
|
||||
"version": "1.65.1",
|
||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz",
|
||||
"integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==",
|
||||
"version": "1.65.2",
|
||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.2.tgz",
|
||||
"integrity": "sha512-YCNiTHPXCL7V3SOXfjAW27WcmwhqtInvsSbz8by1nRKZ7n6/GGgZfXtEx2ALLs+yUpiMptPFCT9V4HskTVw8Tg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright": "1.65.1"
|
||||
"playwright": "1.65.2"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@@ -138,13 +138,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/playwright": {
|
||||
"version": "1.65.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz",
|
||||
"integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==",
|
||||
"version": "1.65.2",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.2.tgz",
|
||||
"integrity": "sha512-Bfg9lfUnqknFzjWrvz2GMckl656TWYwDHiR+T8MQK1V+Sp1D+ODuxpcsnMQ31BYH+LBiKs6kXRMInesqO8F41w==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "1.65.1"
|
||||
"playwright-core": "1.65.2"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@@ -154,9 +154,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
"version": "1.65.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz",
|
||||
"integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==",
|
||||
"version": "1.65.2",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.2.tgz",
|
||||
"integrity": "sha512-aHu9F46Mx5ha9iiB+VLZMUUtex3PBw4am9MHptc0IXaJhz++6YXsH96eEyThwCwMkIUiB8TdZcwXqnb3xKDzmA==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "wekan-playwright-tests",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.65.1",
|
||||
"@playwright/test": "^1.65.2",
|
||||
"axe-core": "^4.14.1"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -75,28 +75,66 @@ test.describe('REST API: card dependencies', () => {
|
||||
deps = cardDeps(alphaId);
|
||||
expect(deps[0]).toMatchObject({ cardId: betaId, color: '#ff0000', type: 'is-blocked-by' });
|
||||
|
||||
const targetUrl = `${base}/${betaId}`;
|
||||
const resetRes = await request.put(targetUrl, {
|
||||
headers: authHeaders(user.token, true),
|
||||
data: { type: '' },
|
||||
});
|
||||
expect(resetRes.status()).toBe(200);
|
||||
const resetDeps = await request.get(base, { headers: authHeaders(user.token) });
|
||||
expect(await resetDeps.json()).toEqual([
|
||||
expect.objectContaining({ cardId: betaId, type: 'related-to' }),
|
||||
]);
|
||||
|
||||
// ---- POST again with same target updates in place (no duplicate) ------
|
||||
const reAddRes = await request.post(base, {
|
||||
headers: authHeaders(user.token, true),
|
||||
data: { cardId: betaId, type: 'fixes' },
|
||||
data: { dependsOn: betaId, type: 'fixes' },
|
||||
});
|
||||
expect(reAddRes.status()).toBe(200);
|
||||
deps = cardDeps(alphaId);
|
||||
expect(deps).toHaveLength(1);
|
||||
expect(deps[0].type).toBe('fixes');
|
||||
|
||||
// ---- Validation: bad type, self-link --------------------------------
|
||||
const badType = await request.post(base, {
|
||||
const updateColorRes = await request.post(base, {
|
||||
headers: authHeaders(user.token, true),
|
||||
data: { cardId: betaId, type: 'not-a-type' },
|
||||
data: { cardId: betaId, type: '', color: '#2196f3' },
|
||||
});
|
||||
expect(badType.status()).toBeGreaterThanOrEqual(400);
|
||||
expect(updateColorRes.status()).toBe(200);
|
||||
deps = cardDeps(alphaId);
|
||||
expect(deps).toHaveLength(1);
|
||||
expect(deps[0]).toMatchObject({ cardId: betaId, type: 'fixes', color: '#2196f3' });
|
||||
|
||||
const selfLink = await request.post(base, {
|
||||
// ---- Validation -----------------------------------------------------
|
||||
const missingTarget = 'A valid target cardId is required';
|
||||
const emptyEdit = 'Provide at least one of type, color, icon';
|
||||
const invalidType = /^type must be one of:/;
|
||||
const badRequests = [
|
||||
['POST', base, undefined, missingTarget],
|
||||
['POST', base, {}, missingTarget],
|
||||
['POST', base, { cardId: [betaId] }, missingTarget],
|
||||
['POST', base, { cardId: alphaId }, missingTarget],
|
||||
['POST', base, { cardId: 'missing-card' }, 'Target card is not on this board'],
|
||||
['POST', base, { cardId: betaId, type: 'not-a-type' }, invalidType],
|
||||
['PUT', targetUrl, { type: 'not-a-type' }, invalidType],
|
||||
['PUT', targetUrl, undefined, emptyEdit],
|
||||
['PUT', targetUrl, {}, emptyEdit],
|
||||
];
|
||||
for (const [method, url, data, message] of badRequests) {
|
||||
const response = await request.fetch(url, {
|
||||
method, headers: authHeaders(user.token, data !== undefined), data,
|
||||
});
|
||||
expect(response.status(), `${method} ${JSON.stringify(data)}`).toBe(400);
|
||||
const error = message instanceof RegExp ? expect.stringMatching(message) : message;
|
||||
expect(await response.json()).toEqual({ error });
|
||||
}
|
||||
|
||||
const missingDependency = await request.put(`${base}/missing-card`, {
|
||||
headers: authHeaders(user.token, true),
|
||||
data: { cardId: alphaId },
|
||||
data: { type: 'blocks' },
|
||||
});
|
||||
expect(selfLink.status()).toBeGreaterThanOrEqual(400);
|
||||
expect(missingDependency.status()).toBe(404);
|
||||
expect(cardDeps(alphaId)).toEqual(deps);
|
||||
|
||||
// ---- DELETE -----------------------------------------------------------
|
||||
const delRes = await request.delete(`${base}/${betaId}`, {
|
||||
|
||||
@@ -187,3 +187,46 @@ test('the card displays a private PDF thumbnail and falls back for a damaged doc
|
||||
await expect(page.locator('img.attachment-document-thumbnail')).toHaveCount(0);
|
||||
} finally { cleanups.forEach(cleanup => cleanup()); }
|
||||
});
|
||||
|
||||
test('the card displays DXF and legacy Office thumbnails and keeps extension fallbacks', async ({
|
||||
boardPage: page, board, baseURL,
|
||||
}) => {
|
||||
const { sampleDxf, sampleDoc, sampleXls, samplePpt } = require('../../lib/documentThumbnailFixtures.cjs');
|
||||
const id = `thumbcadlegacy${Date.now()}`;
|
||||
const files = [
|
||||
['part.dxf', 'image/vnd.dxf', sampleDxf(), [512, 512]],
|
||||
['order.doc', 'application/msword', sampleDoc(), [512, 512]],
|
||||
['order.xls', 'application/vnd.ms-excel', sampleXls(), [512, 320]],
|
||||
['brief.ppt', 'application/vnd.ms-powerpoint', samplePpt(), [512, 512]],
|
||||
['binary.dxf', 'application/dxf', Buffer.from('AutoCAD Binary DXF\r\n\0')],
|
||||
['broken.xls', 'application/vnd.ms-excel', Buffer.from('broken')],
|
||||
];
|
||||
const cleanups = files.map(([name, type, data], index) => seed(board, id + index, name, type, data));
|
||||
try {
|
||||
await openBoard(page, board.boardId, board.slug);
|
||||
await page.locator('.minicard', { hasText: 'Alpha Card' }).first().locator('.minicard-title').click();
|
||||
for (const [name, , , dimensions] of files) {
|
||||
if (dimensions) {
|
||||
const image = page.locator(`img.attachment-document-thumbnail[title="${name}"]`);
|
||||
await expect(image).toBeVisible();
|
||||
await expect.poll(() => image.evaluate(img => [img.naturalWidth, img.naturalHeight])).toEqual(dimensions);
|
||||
} else {
|
||||
const tile = page.locator('.attachment-item', { hasText: name }).locator('.attachment-document-fallback');
|
||||
await expect(tile).toBeVisible();
|
||||
await expect(tile).toHaveText(name.split('.').pop());
|
||||
}
|
||||
}
|
||||
const anonymous = await playwrightRequest.newContext({ baseURL });
|
||||
try {
|
||||
for (const index of [0, 2]) {
|
||||
const response = await anonymous.get(`/cdn/storage/attachments/${id}${index}/thumbnail`);
|
||||
expect(response.status()).toBe(403);
|
||||
}
|
||||
} finally { await anonymous.dispose(); }
|
||||
|
||||
db.updateOne('boards', { _id: board.boardId }, { $set: { allowsAttachmentPreviewsOnCard: false } });
|
||||
await openBoard(page, board.boardId, board.slug);
|
||||
await page.locator('.minicard', { hasText: 'Alpha Card' }).first().locator('.minicard-title').click();
|
||||
await expect(page.locator('img.attachment-document-thumbnail')).toHaveCount(0);
|
||||
} finally { cleanups.forEach(cleanup => cleanup()); }
|
||||
});
|
||||
@@ -1,5 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const { createHash } = require('node:crypto');
|
||||
const { putWithRevision } = require('../helpers/restRevision');
|
||||
|
||||
const { test, expect } = require('../fixtures');
|
||||
@@ -54,9 +55,14 @@ test('#6976: personal API tokens are opt-in, scoped, private and auditable', asy
|
||||
expect((await putWithRevision(request, cardUrl, { ...auth(writeToken), data: { title: 'Token edit' } })).status()).toBe(200);
|
||||
expect(db.findOne('cards', { _id: card._id }).title).toBe('Token edit');
|
||||
|
||||
await expect.poll(() => db.find('personalApiTokenUsage', { userId: user.id }).length).toBe(2);
|
||||
// The revision-aware edit reads the card before writing it.
|
||||
await expect.poll(() => db.find('personalApiTokenUsage', { userId: user.id })
|
||||
.map(row => row.action).sort()).toEqual(['Board', 'Card', 'Edit card']);
|
||||
const stored = db.find('personalApiTokens', { userId: user.id });
|
||||
expect(stored).toHaveLength(2);
|
||||
// Keep the lookup ID compatible with tokens already issued before this change.
|
||||
const expectedId = createHash('sha256').update(readToken).digest('hex');
|
||||
expect(stored.find(token => token.scope === 'read')._id).toBe(expectedId);
|
||||
expect(JSON.stringify(stored)).not.toContain(readToken);
|
||||
expect(JSON.stringify(stored)).not.toContain(writeToken);
|
||||
const data = await page.evaluate(() => Meteor.callAsync('personalApiTokens.list'));
|
||||
|
||||
@@ -392,7 +392,10 @@ function walk(dir, out) {
|
||||
}
|
||||
|
||||
// Routes whose body delegates to a shared handler; the handler is checked instead.
|
||||
const DELEGATED = { cardMemberFieldHandler: 'server/models/cards.js' };
|
||||
const DELEGATED = {
|
||||
cardMemberFieldHandler: 'server/models/cards.js',
|
||||
updateRestCard: 'server/models/cards.js',
|
||||
};
|
||||
// Routes that are open by design: the login/registration entry points.
|
||||
const OPEN_BY_DESIGN = new Set(['/users/login', '/users/register', '/users/logout']);
|
||||
|
||||
@@ -408,13 +411,13 @@ test('every /api route in models/ and server/models/ checks authentication (nega
|
||||
const body = bodyOf(src, route, all);
|
||||
checked += 1;
|
||||
const hasAuth = /Authentication\.check|req\.userId|authenticate\(req|checkAdminOrCondition/.test(body);
|
||||
const delegate = Object.keys(DELEGATED).find(fn => body.includes(`await ${fn}(req, res`));
|
||||
const delegate = Object.keys(DELEGATED).find(fn => body.includes(`await ${fn}(req,`));
|
||||
if (hasAuth) continue;
|
||||
if (delegate) {
|
||||
const handler = read(DELEGATED[delegate]);
|
||||
const at = handler.indexOf(`async function ${delegate}(`);
|
||||
assert.ok(at !== -1, `${delegate} exists`);
|
||||
assert.match(handler.slice(at, at + 2000), /Authentication\.check|req\.userId/, `${delegate} checks auth`);
|
||||
assert.match(handler.slice(at, at + 2000), AUTH_RE, `${delegate} checks auth`);
|
||||
continue;
|
||||
}
|
||||
open.push(`${route.method.toUpperCase()} ${route.path} (${path.relative(ROOT, file)})`);
|
||||
|
||||
Reference in new issue
Block a user