mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-25 18:07:32 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce178d86d5 | ||
|
|
02f4f9d88d | ||
|
|
1deaf99409 |
No files matched your search
@@ -44,7 +44,7 @@ runs:
|
|||||||
|
|
||||||
- name: Login to builtin registry
|
- name: Login to builtin registry
|
||||||
if: ${{ env.BUILTIN_REGISTRY_ENABLED == 'true' }}
|
if: ${{ env.BUILTIN_REGISTRY_ENABLED == 'true' }}
|
||||||
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4
|
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.BUILTIN_REGISTRY }}
|
registry: ${{ env.BUILTIN_REGISTRY }}
|
||||||
username: ${{ inputs.registry_user }}
|
username: ${{ inputs.registry_user }}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ runs:
|
|||||||
|
|
||||||
- name: Login to builtin registry
|
- name: Login to builtin registry
|
||||||
if: ${{ env.BUILTIN_REGISTRY_ENABLED == 'true' }}
|
if: ${{ env.BUILTIN_REGISTRY_ENABLED == 'true' }}
|
||||||
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4
|
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.BUILTIN_REGISTRY }}
|
registry: ${{ env.BUILTIN_REGISTRY }}
|
||||||
username: ${{ inputs.registry_user }}
|
username: ${{ inputs.registry_user }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ runs:
|
|||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Install sccache
|
- name: Install sccache
|
||||||
uses: https://forgejo.ellis.link/continuwuation/sccache-action@b5ae5b4541ed5fb0f616e3cb616bf213fefa1c40 # v1
|
uses: https://git.tomfos.tr/tom/sccache-action@v1
|
||||||
- name: Configure sccache
|
- name: Configure sccache
|
||||||
uses: https://github.com/actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
|
uses: https://github.com/actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Detect runner OS
|
- name: Detect runner OS
|
||||||
id: runner-os
|
id: runner-os
|
||||||
uses: https://forgejo.ellis.link/continuwuation/detect-versions@d39555789fed25b8eb8e086d9f199c514dfa311e # v1
|
uses: https://git.tomfos.tr/actions/detect-versions@v1
|
||||||
|
|
||||||
- name: Configure cross-compilation architecture
|
- name: Configure cross-compilation architecture
|
||||||
if: inputs.dpkg-arch != ''
|
if: inputs.dpkg-arch != ''
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Detect runner OS
|
- name: Detect runner OS
|
||||||
id: runner-os
|
id: runner-os
|
||||||
uses: https://forgejo.ellis.link/continuwuation/detect-versions@d39555789fed25b8eb8e086d9f199c514dfa311e # v1
|
uses: https://git.tomfos.tr/actions/detect-versions@v1
|
||||||
|
|
||||||
- name: Configure Cargo environment
|
- name: Configure Cargo environment
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -147,7 +147,7 @@ runs:
|
|||||||
run: echo "::group::📦 Restoring build cache"
|
run: echo "::group::📦 Restoring build cache"
|
||||||
|
|
||||||
- name: Setup sccache
|
- name: Setup sccache
|
||||||
uses: https://forgejo.ellis.link/continuwuation/sccache-action@b5ae5b4541ed5fb0f616e3cb616bf213fefa1c40 # v1
|
uses: https://git.tomfos.tr/tom/sccache-action@v1
|
||||||
|
|
||||||
- name: End build cache restore group
|
- name: End build cache restore group
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ runs:
|
|||||||
|
|
||||||
- name: Install timelord-cli and git-warp-time
|
- name: Install timelord-cli and git-warp-time
|
||||||
if: steps.check-binaries.outputs.need-install == 'true'
|
if: steps.check-binaries.outputs.need-install == 'true'
|
||||||
uses: https://github.com/taiki-e/install-action@fe3acb53a98b62c772db35de75ce0e4595e7ca8c # v2
|
uses: https://github.com/taiki-e/install-action@4cef1412cce204788f482e778a0b9187f9626a29 # v2
|
||||||
with:
|
with:
|
||||||
tool: git-warp-time,timelord-cli@3.0.1
|
tool: git-warp-time,timelord-cli@3.0.1
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,11 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, reopened]
|
types: [opened, reopened]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
auto-label:
|
auto-label:
|
||||||
name: Apply labels based on changed files
|
name: Apply labels based on changed files
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
cargo-debian-${{ steps.debian-version.outputs.distribution }}-${{ matrix.arch }}-
|
cargo-debian-${{ steps.debian-version.outputs.distribution }}-${{ matrix.arch }}-
|
||||||
|
|
||||||
- name: Setup sccache
|
- name: Setup sccache
|
||||||
uses: https://forgejo.ellis.link/continuwuation/sccache-action@b5ae5b4541ed5fb0f616e3cb616bf213fefa1c40 # v1
|
uses: https://git.tomfos.tr/tom/sccache-action@v1
|
||||||
|
|
||||||
- name: Configure sccache environment
|
- name: Configure sccache environment
|
||||||
run: |
|
run: |
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
COMPONENT="dev-$(echo '${{ forge.ref_name }}' | sed 's/[^a-zA-Z0-9.+]/-/g' | tr '[:upper:]' '[:lower:]' | cut -c1-30)"
|
COMPONENT="dev-$(echo '${{ forge.ref_name }}' | sed 's/[^a-zA-Z0-9.+]/-/g' | tr '[:upper:]' '[:lower:]' | cut -c1-30)"
|
||||||
fi
|
fi
|
||||||
CLEAN_COMPONENT=$(echo $COMPONENT | sed 's/[^a-zA-Z0-9.+]/~/g')
|
CLEAN_COMPONENT=$(echo $COMPONENT | sed 's/[^a-zA-Z0-9.+]/~/g')
|
||||||
VERSION="$BASE_VERSION-git$DATE.$SHA-$CLEAN_COMPONENT"
|
VERSION="$BASE_VERSION~git$DATE.$SHA-$CLEAN_COMPONENT"
|
||||||
fi
|
fi
|
||||||
echo "component=$COMPONENT" >> $GITHUB_OUTPUT
|
echo "component=$COMPONENT" >> $GITHUB_OUTPUT
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- name: Download binary artifacts
|
- name: Download binary artifacts
|
||||||
@@ -63,7 +65,7 @@ jobs:
|
|||||||
path: binaries
|
path: binaries
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- name: Create Release and Upload
|
- name: Create Release and Upload
|
||||||
uses: https://github.com/softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3
|
uses: https://github.com/softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
files: binaries/*
|
files: binaries/*
|
||||||
@@ -4,6 +4,11 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
|
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-changelog:
|
check-changelog:
|
||||||
name: Check changelog is added
|
name: Check changelog is added
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ jobs:
|
|||||||
docs:
|
docs:
|
||||||
name: Build and Deploy Documentation
|
name: Build and Deploy Documentation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: secrets.CLOUDFLARE_API_TOKEN != ''
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Sync repository
|
- name: Sync repository
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
@@ -26,21 +28,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Detect runner environment
|
- name: Detect runner environment
|
||||||
id: runner-env
|
id: runner-env
|
||||||
uses: https://forgejo.ellis.link/continuwuation/detect-versions@d39555789fed25b8eb8e086d9f199c514dfa311e # v1
|
uses: https://git.tomfos.tr/actions/detect-versions@v1
|
||||||
|
|
||||||
- name: Setup Go
|
|
||||||
if: steps.runner-env.outputs.go_minor == '' || steps.runner-env.outputs.go_minor < '27'
|
|
||||||
uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7
|
|
||||||
with:
|
|
||||||
go-version: '1.27'
|
|
||||||
go-version-file: 'go.mod'
|
|
||||||
cache-dependency-path: 'go.sum'
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
if: steps.runner-env.outputs.node_major == '' || steps.runner-env.outputs.node_major < '20'
|
if: steps.runner-env.outputs.node_major == '' || steps.runner-env.outputs.node_major < '20'
|
||||||
uses: https://github.com/actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
|
uses: https://github.com/actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
|
||||||
with:
|
with:
|
||||||
node-version: 26
|
node-version: 24
|
||||||
|
|
||||||
- name: Cache npm dependencies
|
- name: Cache npm dependencies
|
||||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
|
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
|
||||||
@@ -51,33 +45,27 @@ jobs:
|
|||||||
continuwuity-rspress-${{ steps.runner-env.outputs.slug }}-${{ steps.runner-env.outputs.arch }}-node-${{ steps.runner-env.outputs.node_version }}-
|
continuwuity-rspress-${{ steps.runner-env.outputs.slug }}-${{ steps.runner-env.outputs.arch }}-node-${{ steps.runner-env.outputs.node_version }}-
|
||||||
continuwuity-rspress-${{ steps.runner-env.outputs.slug }}-${{ steps.runner-env.outputs.arch }}-node-
|
continuwuity-rspress-${{ steps.runner-env.outputs.slug }}-${{ steps.runner-env.outputs.arch }}-node-
|
||||||
|
|
||||||
- name: Install Rspress and dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build documentation with Rspress
|
- name: Build Rspress documentation
|
||||||
env:
|
|
||||||
SITE_PATH: ${{ github.ref != 'refs/heads/main' && format('/@{0}/', forgejo.event.number) || '/' }}
|
|
||||||
run: npm run docs:build
|
run: npm run docs:build
|
||||||
|
|
||||||
- name: Deploy to Grebedoc (Production)
|
- name: Install Wrangler
|
||||||
if: github.ref == 'refs/heads/main'
|
run: npm install --save-dev wrangler@latest
|
||||||
run: |
|
|
||||||
go tool git-pages-cli https://continuwuity.org \
|
|
||||||
--server grebedoc.dev \
|
|
||||||
--token "${{ forgejo.token }}" \
|
|
||||||
--upload-dir doc_build \
|
|
||||||
--pretty-urls \
|
|
||||||
--comment "${{ forgejo.sha }}" \
|
|
||||||
--verbose
|
|
||||||
|
|
||||||
- name: Deploy to Grebedoc (Preview)
|
- name: Deploy to Cloudflare Pages (Production)
|
||||||
if: github.ref != 'refs/heads/main'
|
if: github.ref == 'refs/heads/main' && vars.CLOUDFLARE_PROJECT_NAME != ''
|
||||||
run: |
|
uses: https://github.com/cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4
|
||||||
go tool git-pages-cli https://preview.continuwuity.org/@${{ forgejo.event.number }} \
|
with:
|
||||||
--server grebedoc.dev \
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
--token "${{ forgejo.token }}" \
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
--upload-dir doc_build \
|
command: pages deploy ./doc_build --branch="main" --commit-dirty=true --project-name="${{ vars.CLOUDFLARE_PROJECT_NAME }}"
|
||||||
--pretty-urls \
|
|
||||||
--expires 14 \
|
- name: Deploy to Cloudflare Pages (Preview)
|
||||||
--comment "${{ forgejo.sha }}" \
|
if: github.ref != 'refs/heads/main' && vars.CLOUDFLARE_PROJECT_NAME != ''
|
||||||
--verbose
|
uses: https://github.com/cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4
|
||||||
|
with:
|
||||||
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
|
command: pages deploy ./doc_build --branch="${{ github.head_ref || github.ref_name }}" --commit-dirty=true --project-name="${{ vars.CLOUDFLARE_PROJECT_NAME }}"
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
# repositories: continuwuity
|
# repositories: continuwuity
|
||||||
|
|
||||||
- name: Install regsync
|
- name: Install regsync
|
||||||
uses: https://github.com/regclient/actions/regsync-installer@dd58ad94f76adb73d8ac1bf75ed25f01545d5b32 # main
|
uses: https://github.com/regclient/actions/regsync-installer@bb562fac724b7b37c17f19671df07fe34fabc376 # main
|
||||||
|
|
||||||
- name: Check what images need mirroring
|
- name: Check what images need mirroring
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ on:
|
|||||||
- main
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fast-checks:
|
fast-checks:
|
||||||
name: Pre-commit & Formatting
|
name: Pre-commit & Formatting
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ jobs:
|
|||||||
build-release:
|
build-release:
|
||||||
name: "Build ${{ matrix.slug }} (release)"
|
name: "Build ${{ matrix.slug }} (release)"
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
attestations: write
|
||||||
|
id-token: write
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -79,7 +84,6 @@ jobs:
|
|||||||
outputs: |
|
outputs: |
|
||||||
${{ env.BUILTIN_REGISTRY_ENABLED == 'true' && format('type=image,"name={0}",push-by-digest=true,name-canonical=true,push=true', env.IMAGE_PATH) || format('type=image,"name={0}",push=false', env.IMAGE_PATH) }}
|
${{ env.BUILTIN_REGISTRY_ENABLED == 'true' && format('type=image,"name={0}",push-by-digest=true,name-canonical=true,push=true', env.IMAGE_PATH) || format('type=image,"name={0}",push=false', env.IMAGE_PATH) }}
|
||||||
type=local,dest=/tmp/binaries
|
type=local,dest=/tmp/binaries
|
||||||
pull: true # Base images were becoming out of date
|
|
||||||
env:
|
env:
|
||||||
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
|
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
|
||||||
- name: Upload Docker artifacts
|
- name: Upload Docker artifacts
|
||||||
@@ -113,6 +117,11 @@ jobs:
|
|||||||
name: "Build ${{ matrix.slug }} (max-perf)"
|
name: "Build ${{ matrix.slug }} (max-perf)"
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
needs: build-release
|
needs: build-release
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
attestations: write
|
||||||
|
id-token: write
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -163,7 +172,6 @@ jobs:
|
|||||||
outputs: |
|
outputs: |
|
||||||
${{ env.BUILTIN_REGISTRY_ENABLED == 'true' && format('type=image,"name={0}",push-by-digest=true,name-canonical=true,push=true', env.IMAGE_PATH) || format('type=image,"name={0}",push=false', env.IMAGE_PATH) }}
|
${{ env.BUILTIN_REGISTRY_ENABLED == 'true' && format('type=image,"name={0}",push-by-digest=true,name-canonical=true,push=true', env.IMAGE_PATH) || format('type=image,"name={0}",push=false', env.IMAGE_PATH) }}
|
||||||
type=local,dest=/tmp/binaries
|
type=local,dest=/tmp/binaries
|
||||||
pull: true # Base images were becoming out of date
|
|
||||||
env:
|
env:
|
||||||
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
|
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
|
||||||
- name: Upload max-perf Docker artifacts
|
- name: Upload max-perf Docker artifacts
|
||||||
@@ -199,6 +207,8 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build-release
|
- build-release
|
||||||
- build-maxperf
|
- build-maxperf
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- name: Download binary artifacts
|
- name: Download binary artifacts
|
||||||
@@ -208,7 +218,7 @@ jobs:
|
|||||||
path: binaries
|
path: binaries
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- name: Create Release and Upload
|
- name: Create Release and Upload
|
||||||
uses: https://github.com/softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3
|
uses: https://github.com/softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
files: binaries/*
|
files: binaries/*
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
name: Renovate
|
name: Renovate
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/renovatebot/renovate:44.257.9@sha256:578179439fceea89646662dd583b27efdad8d1429e0cbd90681c40dde068589e
|
image: ghcr.io/renovatebot/renovate:44.115.13@sha256:c19ab7a16ed7cbe8f7f11e2435e67c727ba90107930d3324c8d1cdec808f0055
|
||||||
options: --tmpfs /tmp:exec
|
options: --tmpfs /tmp:exec
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ f419c64aca300a338096b4e0db4c73ace54f23d0
|
|||||||
5998a0d883d31b866f7c8c46433a8857eae51a89
|
5998a0d883d31b866f7c8c46433a8857eae51a89
|
||||||
# trailing whitespace and newlines
|
# trailing whitespace and newlines
|
||||||
46c193e74b2ce86c48ce802333a0aabce37fd6e9
|
46c193e74b2ce86c48ce802333a0aabce37fd6e9
|
||||||
# rustfmt updates that rewrapped tons of comments
|
# rustfmt update that rewrapped tons of comments
|
||||||
9fbabe221051e6956a05d8824142092ede68971e
|
9fbabe221051e6956a05d8824142092ede68971e
|
||||||
b0c0905472b882ff0cc79232e73d307fd0b5035b
|
b0c0905472b882ff0cc79232e73d307fd0b5035b
|
||||||
9c27441acf2e65f85c106ccff5c6b6c37030ddca
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
open_collective: continuwuity
|
|
||||||
github: [JadedBlueEyes, timedoutuk, gingershaped]
|
github: [JadedBlueEyes, timedoutuk, gingershaped]
|
||||||
custom:
|
custom:
|
||||||
- https://timedout.uk/donate.html
|
- https://timedout.uk/donate.html
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ repos:
|
|||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
|
|
||||||
- repo: https://github.com/crate-ci/typos
|
- repo: https://github.com/crate-ci/typos
|
||||||
rev: v1.52.2
|
rev: v1.50.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: typos
|
- id: typos
|
||||||
- id: typos
|
- id: typos
|
||||||
@@ -32,15 +32,10 @@ repos:
|
|||||||
stages: [ commit-msg ]
|
stages: [ commit-msg ]
|
||||||
|
|
||||||
- repo: https://github.com/crate-ci/committed
|
- repo: https://github.com/crate-ci/committed
|
||||||
rev: v1.1.12
|
rev: v1.1.11
|
||||||
hooks:
|
hooks:
|
||||||
- id: committed
|
- id: committed
|
||||||
|
|
||||||
- repo: https://github.com/twisted/towncrier
|
|
||||||
rev: 26.9.0
|
|
||||||
hooks:
|
|
||||||
- id: towncrier-check
|
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: cargo-fmt
|
- id: cargo-fmt
|
||||||
|
|||||||
-151
@@ -1,154 +1,3 @@
|
|||||||
# Continuwuity v26.11.0-alpha.2 (2026-11-14)
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- Added opt-in OpenTelemetry metrics, exported over OTLP or scraped by Prometheus from `/_continuwuity/metrics`, and a Grafana dashboard. Contributed by @eleboucher. (prometheus-metrics)
|
|
||||||
- Add support for using custom DNS servers instead of using /etc/resolv.conf. Contributed by @s1lv3r. ([#2056](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2056))
|
|
||||||
- Continuwuity now supports configuring additional trusted audience values for deployments using OIDC with an IDP that sends them. Contributed by @ginger ([#2226](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2226))
|
|
||||||
- "!admin users list" now hides deactivated users by default, but can display them with the optional "--show-deactivated" flag. "--hide-suspended" and "--hide-locked" have been added as well, which stop suspended and locked users from being displayed respectively. Contributed by @Clubs. ([#2292](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2292))
|
|
||||||
- Added support for [MSC4494: Membership-based invite blocking](https://github.com/matrix-org/matrix-spec-proposals/pull/4494) ([#2297](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2297))
|
|
||||||
- Appservices now receive typing indicators and read receipts. Contributed by @Jade ([#2327](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2327))
|
|
||||||
- Added support for servers returning 410 gone to indicate they are no longer serving a Matrix server ([MSC4188](https://github.com/matrix-org/matrix-spec-proposals/pull/4188)). Contributed by @nex and @silversys ([#2355](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2355))
|
|
||||||
- Changed the policy on unstable features, disabling most by default and making them configurable in a tidy little `experiments` configuration. See also: #1884. ([#2517](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2517))
|
|
||||||
- Added support for [MSC4363](https://github.com/matrix-org/matrix-spec-proposals/pull/4363) (OAuth step-up authentication). Contributed by @ginger.
|
|
||||||
- Added support for [MSC2815](https://github.com/matrix-org/matrix-spec-proposals/pull/2815), allowing room moderators to fetch the original content of redacted events, behind the `allow_moderators_to_view_redacted_content` config option. Contributed by @eleboucher.
|
|
||||||
- Added support for [MSC4484](https://github.com/matrix-org/matrix-spec-proposals/pull/4484). Clients which use the built-in Matrix server administration APIs will need to ask for the appropriate scope when signing in with OAuth. Contributed by @ginger.
|
|
||||||
- Check content-type header on federation responses, ignoring any that don't match (spec compliance)
|
|
||||||
- Implemented unstable support for [MSC4560] (Stripped state requests over federation). Contributed by @ginger.
|
|
||||||
|
|
||||||
[MSC4560]: https://github.com/matrix-org/matrix-spec-proposals/pull/4560
|
|
||||||
- Profile banners are now treated as images when imported from OIDC claims, like avatars already were.
|
|
||||||
- Remove support for legacy, unauthenticated media, including the `allow_legacy_media` and `freeze_legacy_media` options.
|
|
||||||
- The first-run version of the web UI now includes a link to the registration page. Contributed by @ginger
|
|
||||||
|
|
||||||
## Bugfixes
|
|
||||||
|
|
||||||
- Fixed `/get_missing_events` rejecting requests with more `earliest_events` than the `limit`. Contributed by @eleboucher. (get-missing-events-earliest-limit)
|
|
||||||
- Invitees are now added as room creators when creating a v12+ trusted private chat. Contributed by @ginger. ([#2162](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2162))
|
|
||||||
- Fixed push gateway URLs containing the configured notification path outside of their suffix. Contributed by @eleboucher. ([#2261](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2261))
|
|
||||||
- "!admin users change-email" now verifies a user exists before attempting to change their email. Contributed by @Clubs. ([#2298](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2298))
|
|
||||||
- Fixed URL preview image MIME types and rejected failed downloads. Contributed by @eleboucher. ([#2308](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2308))
|
|
||||||
- Correctly set RocksDB column options, including enabling block caches. Contributed by @Jade ([#2345](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2345))
|
|
||||||
- Fix some possible deadlocks/freezes and reduce lock contention (improving performance). Contributed by @Jade ([#2351](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2351))
|
|
||||||
- Once again fixed how room extremities are handled, fixing a problem that made continuwuity gradually make rooms needlessly complex, which also caused more frequent state resets. ([#2356](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2356))
|
|
||||||
- The OAuth identity reset page is no longer linked from the account management UI to reduce confusion. Contributed by @ginger. ([#2383](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2383))
|
|
||||||
- Fixed a worker panic when knocking on a room over federation. Contributed by @eleboucher. ([#2387](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2387))
|
|
||||||
- Perform more validation on events received during atomic gapfill from remote servers, fixing a panic if bad data was persisted by another server and later lazily fetched by us. ([#2400](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2400))
|
|
||||||
- Redirect URIs in OAuth clients' metadata are now properly validated to be on a subdomain of the OAuth issuer URL domain. Contributed by @ginger. ([#2421](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2421))
|
|
||||||
- Fix v12 rooms created by the same user in the same millisecond ending up as the same room. Contributed by @eleboucher. ([#2424](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2424))
|
|
||||||
- Client-server API endpoints are now properly ratelimited for unauthenticated requests. Contributed by @ginger. ([#2444](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2444))
|
|
||||||
- Setting a profile key longer than 255 bytes now returns 400 `M_KEY_TOO_LARGE` as required by the spec, instead of 413 `M_TOO_LARGE`. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- Setting `m.fully_read` via the account data endpoints now returns 405 `M_BAD_JSON` as required by the spec, instead of 400. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- Appservices masquerading as a device that does not exist now receive 400 `M_UNKNOWN_DEVICE` as required by the spec, instead of 403 `M_FORBIDDEN`. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- Setting profile data that would make the profile exceed 64 KiB now returns 400 `M_PROFILE_TOO_LARGE` as required by the spec, instead of a 500 error. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- The `m.forget_forced_upon_leave` capability now reflects the `forget_forced_upon_leave` config option instead of always being advertised as enabled. ([#2452](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2452))
|
|
||||||
- Fixed push notifications for membership events setting `user_is_target` based on the sender rather than the user being notified. ([#2454](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2454))
|
|
||||||
- Ensure HTTP clients actually follow the `dns_servers` config option. Contributed by @silversys ([#2460](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2460))
|
|
||||||
- Reworked event relations to follow the spec more closely. Pagination of `/relations` now returns the correct pages and `next_batch` tokens, recursive relations are returned in the right order without duplicates, and bundled `m.reference` aggregations now include every reference. Contributed by @Henry-Hiles (QuadRadical). ([#2465](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2465))
|
|
||||||
- Read receipts are now more spec compliant, will work better in threads and are less likely to end up causing loops with other software. Contributed by @Jade ([#2481](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2481))
|
|
||||||
- Fix the DNS resolver failing to start without `/etc/resolv.conf` when `dns_servers` is configured. Contributed by @eleboucher. ([#2495](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2495))
|
|
||||||
- Fixed OIDC logins failing after the identity provider rotates its signing keys. Contributed by @eleboucher. ([#2497](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2497))
|
|
||||||
- Creating a room with valid but non-canonical JSON now returns `400 M_BAD_JSON` instead of panicking the worker and returning `500 M_UNKNOWN`.
|
|
||||||
- Fix account data updates sent at the same time leaving old copies behind, which every initial sync then returned. Existing copies are removed on startup. Contributed by @eleboucher.
|
|
||||||
- Fix gap filling skipping outlier events that are missing their previous events. Contributed by @eleboucher.
|
|
||||||
- Fix incoming federation events losing state changes when predecessors share the same state-before snapshot. Contributed by @eleboucher.
|
|
||||||
- Fix new devices sometimes never reaching other users' device lists. Contributed by @eleboucher.
|
|
||||||
- Fix state resolution applying events out of order, which could undo room joins. Contributed by @eleboucher.
|
|
||||||
- Fix to-device messages, including room keys, sometimes being lost before delivery. Contributed by @eleboucher.
|
|
||||||
- For deployments using OIDC with `profile_key_import_mode` set to `on_login`, users' avatars will no longer be clobbered if they didn't change their avatar since their last login.
|
|
||||||
- Joining a local room the user is not allowed to join now returns `403 M_FORBIDDEN` instead of `500 M_UNKNOWN` when there are no other servers to try.
|
|
||||||
- Room summary visibility checks are no longer incorrectly applied for remote rooms. Contributed by @ginger.
|
|
||||||
- The userinfo endpoint is now accessible even if federation is disabled, allowing LiveKit to be used on servers with federation disabled without using the server name whitelist.
|
|
||||||
- `!admin token issue` can no longer issue registration tokens when `allow_registration` is false. Contributed by @Clubs.
|
|
||||||
|
|
||||||
## Improved Documentation
|
|
||||||
|
|
||||||
- Add the Authentication section to document available auth methods for Continuwuity. The "delegated authentication" guide has also been migrated to here. Contributed by @stratself. ([#2234](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2234))
|
|
||||||
- Add a guide for push notifications, detailing how it works, push gateway specifics, troubleshooting common issues, and pointing to external guides for UnifiedPush backends. Contributed by @stratself ([#2244](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2244))
|
|
||||||
- The deploying page now includes vital general information about installing Continuwuity: release tracks, update steps, and post-installation recommendations. Contributed by @stratself ([#2252](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2252))
|
|
||||||
- Add some missing instructions on configuring Continuwuity on the RPM page. Users are encouraged to use the [generic deploying docs](https://continuwuity.org/deploying/generic) for the bulk of guidance anyhow. Contributed by @stratself ([#2275](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2275))
|
|
||||||
- Better, more succinct [introduction page](https://continuwuity.org/introduction.html). Contributed by @stratself ([#2279](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2279))
|
|
||||||
- Add a section on [troubleshooting Docker issues](https://continuwuity.org/troubleshooting#docker-issues). Contributed by @stratself. ([#2324](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2324))
|
|
||||||
- Instructions for Authelia added to the [OIDC guide](https://continuwuity.org/authentication/oidc.html). Contributed by @fhoekstra ([#2341](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2341))
|
|
||||||
- Docker compose examples now use bind mounts by default, instead of Docker volumes, as they are easier to work with esp. for backup/restore. Contributed by @stratself. ([#2353](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2353))
|
|
||||||
- The documentation now refers to the Continuwuity Docker service as `continuwuity` instead of `homeserver`.
|
|
||||||
|
|
||||||
## Misc
|
|
||||||
|
|
||||||
- Updated internal Sentry integration setup to the new pattern required by the SDK. #2423
|
|
||||||
- Upgraded rocksdb from 11.1.1 to 11.12.0 and jemalloc to 5.4.0.
|
|
||||||
|
|
||||||
|
|
||||||
# Continuwuity v26.11.0-alpha.1 (2026-11-10)
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- Added opt-in OpenTelemetry metrics, exported over OTLP or scraped by Prometheus from `/_continuwuity/metrics`, and a Grafana dashboard. Contributed by @eleboucher. (prometheus-metrics)
|
|
||||||
- Add support for using custom DNS servers instead of using /etc/resolv.conf. Contributed by @s1lv3r. ([#2056](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2056))
|
|
||||||
- Continuwuity now supports configuring additional trusted audience values for deployments using OIDC with an IDP that sends them. Contributed by @ginger ([#2226](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2226))
|
|
||||||
- "!admin users list" now hides deactivated users by default, but can display them with the optional "--show-deactivated" flag. "--hide-suspended" and "--hide-locked" have been added as well, which stop suspended and locked users from being displayed respectively. Contributed by @Clubs. ([#2292](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2292))
|
|
||||||
- Added support for [MSC4494: Membership-based invite blocking](https://github.com/matrix-org/matrix-spec-proposals/pull/4494) ([#2297](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2297))
|
|
||||||
- Appservices now receive typing indicators and read receipts. Contributed by @Jade ([#2327](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2327))
|
|
||||||
- Added support for [MSC4363](https://github.com/matrix-org/matrix-spec-proposals/pull/4363) (OAuth step-up authentication). Contributed by @ginger.
|
|
||||||
- Added support for [MSC4484](https://github.com/matrix-org/matrix-spec-proposals/pull/4484). Clients which use the built-in Matrix server administration APIs will need to ask for the appropriate scope when signing in with OAuth. Contributed by @ginger.
|
|
||||||
- Implemented unstable support for [MSC4560] (Stripped state requests over federation). Contributed by @ginger.
|
|
||||||
|
|
||||||
[MSC4560]: https://github.com/matrix-org/matrix-spec-proposals/pull/4560
|
|
||||||
- Profile banners are now treated as images when imported from OIDC claims, like avatars already were.
|
|
||||||
- The first-run version of the web UI now includes a link to the registration page. Contributed by @ginger
|
|
||||||
|
|
||||||
## Bugfixes
|
|
||||||
|
|
||||||
- Invitees are now added as room creators when creating a v12+ trusted private chat. Contributed by @ginger. ([#2162](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2162))
|
|
||||||
- Fixed push gateway URLs containing the configured notification path outside of their suffix. Contributed by @eleboucher. ([#2261](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2261))
|
|
||||||
- "!admin users change-email" now verifies a user exists before attempting to change their email. Contributed by @Clubs. ([#2298](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2298))
|
|
||||||
- Fixed URL preview image MIME types and rejected failed downloads. Contributed by @eleboucher. ([#2308](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2308))
|
|
||||||
- Correctly set RocksDB column options, including enabling block caches. Contributed by @Jade ([#2345](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2345))
|
|
||||||
- Fix some possible deadlocks/freezes and reduce lock contention (improving performance). Contributed by @Jade ([#2351](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2351))
|
|
||||||
- Once again fixed how room extremities are handled, fixing a problem that made continuwuity gradually make rooms needlessly complex, which also caused more frequent state resets. ([#2356](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2356))
|
|
||||||
- The OAuth identity reset page is no longer linked from the account management UI to reduce confusion. Contributed by @ginger. ([#2383](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2383))
|
|
||||||
- Fixed a worker panic when knocking on a room over federation. Contributed by @eleboucher. ([#2387](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2387))
|
|
||||||
- Perform more validation on events received during atomic gapfill from remote servers, fixing a panic if bad data was persisted by another server and later lazily fetched by us. ([#2400](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2400))
|
|
||||||
- Redirect URIs in OAuth clients' metadata are now properly validated to be on a subdomain of the OAuth issuer URL domain. Contributed by @ginger. ([#2421](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2421))
|
|
||||||
- Fix v12 rooms created by the same user in the same millisecond ending up as the same room. Contributed by @eleboucher. ([#2424](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2424))
|
|
||||||
- Client-server API endpoints are now properly ratelimited for unauthenticated requests. Contributed by @ginger. ([#2444](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2444))
|
|
||||||
- Setting a profile key longer than 255 bytes now returns 400 `M_KEY_TOO_LARGE` as required by the spec, instead of 413 `M_TOO_LARGE`. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- Setting `m.fully_read` via the account data endpoints now returns 405 `M_BAD_JSON` as required by the spec, instead of 400. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- Appservices masquerading as a device that does not exist now receive 400 `M_UNKNOWN_DEVICE` as required by the spec, instead of 403 `M_FORBIDDEN`. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- Setting profile data that would make the profile exceed 64 KiB now returns 400 `M_PROFILE_TOO_LARGE` as required by the spec, instead of a 500 error. ([#2451](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2451))
|
|
||||||
- The `m.forget_forced_upon_leave` capability now reflects the `forget_forced_upon_leave` config option instead of always being advertised as enabled. ([#2452](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2452))
|
|
||||||
- Fixed push notifications for membership events setting `user_is_target` based on the sender rather than the user being notified. ([#2454](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2454))
|
|
||||||
- Ensure HTTP clients actually follow the `dns_servers` config option. Contributed by @silversys ([#2460](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2460))
|
|
||||||
- Reworked event relations to follow the spec more closely. Pagination of `/relations` now returns the correct pages and `next_batch` tokens, recursive relations are returned in the right order without duplicates, and bundled `m.reference` aggregations now include every reference. Contributed by @Henry-Hiles (QuadRadical). ([#2465](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2465))
|
|
||||||
- Read receipts are now more spec compliant, will work better in threads and are less likely to end up causing loops with other software. Contributed by @Jade ([#2481](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2481))
|
|
||||||
- Fix gap filling skipping outlier events that are missing their previous events. Contributed by @eleboucher.
|
|
||||||
- Fix incoming federation events losing state changes when predecessors share the same state-before snapshot. Contributed by @eleboucher.
|
|
||||||
- Fix new devices sometimes never reaching other users' device lists. Contributed by @eleboucher.
|
|
||||||
- Fix state resolution applying events out of order, which could undo room joins. Contributed by @eleboucher.
|
|
||||||
- Fix to-device messages, including room keys, sometimes being lost before delivery. Contributed by @eleboucher.
|
|
||||||
- For deployments using OIDC with `profile_key_import_mode` set to `on_login`, users' avatars will no longer be clobbered if they didn't change their avatar since their last login.
|
|
||||||
- Room summary visibility checks are no longer incorrectly applied for remote rooms. Contributed by @ginger.
|
|
||||||
- The userinfo endpoint is now accessible even if federation is disabled, allowing LiveKit to be used on servers with federation disabled without using the server name whitelist.
|
|
||||||
- `!admin token issue` can no longer issue registration tokens when `allow_registration` is false. Contributed by @Clubs.
|
|
||||||
|
|
||||||
## Improved Documentation
|
|
||||||
|
|
||||||
- Add the Authentication section to document available auth methods for Continuwuity. The "delegated authentication" guide has also been migrated to here. Contributed by @stratself. ([#2234](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2234))
|
|
||||||
- Add a guide for push notifications, detailing how it works, push gateway specifics, troubleshooting common issues, and pointing to external guides for UnifiedPush backends. Contributed by @stratself ([#2244](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2244))
|
|
||||||
- The deploying page now includes vital general information about installing Continuwuity: release tracks, update steps, and post-installation recommendations. Contributed by @stratself ([#2252](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2252))
|
|
||||||
- Add some missing instructions on configuring Continuwuity on the RPM page. Users are encouraged to use the [generic deploying docs](https://continuwuity.org/deploying/generic) for the bulk of guidance anyhow. Contributed by @stratself ([#2275](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2275))
|
|
||||||
- Better, more succinct [introduction page](https://continuwuity.org/introduction.html). Contributed by @stratself ([#2279](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2279))
|
|
||||||
- Add a section on [troubleshooting Docker issues](https://continuwuity.org/troubleshooting#docker-issues). Contributed by @stratself. ([#2324](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2324))
|
|
||||||
- Instructions for Authelia added to the [OIDC guide](https://continuwuity.org/authentication/oidc.html). Contributed by @fhoekstra ([#2341](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2341))
|
|
||||||
- Docker compose examples now use bind mounts by default, instead of Docker volumes, as they are easier to work with esp. for backup/restore. Contributed by @stratself. ([#2353](https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2353))
|
|
||||||
- The documentation now refers to the Continuwuity Docker service as `continuwuity` instead of `homeserver`.
|
|
||||||
|
|
||||||
## Misc
|
|
||||||
|
|
||||||
- Updated internal Sentry integration setup to the new pattern required by the SDK. #2423
|
|
||||||
- Upgraded rocksdb from 11.1.1 to 11.12.0 and jemalloc to 5.4.0.
|
|
||||||
|
|
||||||
|
|
||||||
# Continuwuity v26.9.1 (2026-09-28)
|
# Continuwuity v26.9.1 (2026-09-28)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|||||||
Generated
+782
-865
File diff suppressed because it is too large.
Load diff
+167
-151
@@ -12,17 +12,17 @@ license = "Apache-2.0"
|
|||||||
# See also `rust-toolchain.toml`
|
# See also `rust-toolchain.toml`
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://forgejo.ellis.link/continuwuation/continuwuity"
|
repository = "https://forgejo.ellis.link/continuwuation/continuwuity"
|
||||||
version = "26.11.0-alpha.2"
|
version = "26.9.1"
|
||||||
|
|
||||||
[workspace.metadata.crane]
|
[workspace.metadata.crane]
|
||||||
name = "conduwuit"
|
name = "conduwuit"
|
||||||
|
|
||||||
[workspace.dependencies.arrayvec]
|
[workspace.dependencies.arrayvec]
|
||||||
version = "0.7.8"
|
version = "0.7.6"
|
||||||
features = ["serde"]
|
features = ["serde"]
|
||||||
|
|
||||||
[workspace.dependencies.smallvec]
|
[workspace.dependencies.smallvec]
|
||||||
version = "1.16.5"
|
version = "1.14.0"
|
||||||
features = [
|
features = [
|
||||||
"const_generics",
|
"const_generics",
|
||||||
"const_new",
|
"const_new",
|
||||||
@@ -39,10 +39,10 @@ features = ["ffi", "std", "union"]
|
|||||||
version = "1.1.0"
|
version = "1.1.0"
|
||||||
|
|
||||||
[workspace.dependencies.ctor]
|
[workspace.dependencies.ctor]
|
||||||
version = "1.0.13"
|
version = "1.0.6"
|
||||||
|
|
||||||
[workspace.dependencies.dtor]
|
[workspace.dependencies.dtor]
|
||||||
version = "1.0.6"
|
version = "1.0.0"
|
||||||
|
|
||||||
[workspace.dependencies.cargo_toml]
|
[workspace.dependencies.cargo_toml]
|
||||||
version = "1.0"
|
version = "1.0"
|
||||||
@@ -50,7 +50,7 @@ default-features = false
|
|||||||
features = ["features"]
|
features = ["features"]
|
||||||
|
|
||||||
[workspace.dependencies.toml]
|
[workspace.dependencies.toml]
|
||||||
version = "1.2.1"
|
version = "1.1.2"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["parse", "serde"]
|
features = ["parse", "serde"]
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ features = ["parse", "serde"]
|
|||||||
version = "0.6.0"
|
version = "0.6.0"
|
||||||
|
|
||||||
[workspace.dependencies.base64]
|
[workspace.dependencies.base64]
|
||||||
version = "0.23.1"
|
version = "0.23.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
# used for TURN server authentication
|
# used for TURN server authentication
|
||||||
@@ -71,40 +71,39 @@ version = "0.5.0"
|
|||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.p256]
|
[workspace.dependencies.p256]
|
||||||
version = "0.14.0"
|
version = "0.13.2"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["ecdsa", "std"]
|
features = ["ecdsa", "std"]
|
||||||
|
|
||||||
# used for checking if an IP is in specific subnets / CIDR ranges easier
|
# used for checking if an IP is in specific subnets / CIDR ranges easier
|
||||||
[workspace.dependencies.ipaddress]
|
[workspace.dependencies.ipaddress]
|
||||||
version = "0.2.11"
|
version = "0.2.0"
|
||||||
|
|
||||||
[workspace.dependencies.rand]
|
[workspace.dependencies.rand]
|
||||||
version = "0.10.3"
|
version = "0.10.1"
|
||||||
|
|
||||||
# Used for the http request / response body type for Ruma endpoints used with reqwest
|
# Used for the http request / response body type for Ruma endpoints used with reqwest
|
||||||
[workspace.dependencies.bytes]
|
[workspace.dependencies.bytes]
|
||||||
version = "1.12.1"
|
version = "1.10.1"
|
||||||
|
|
||||||
[workspace.dependencies.http-body-util]
|
[workspace.dependencies.http-body-util]
|
||||||
version = "0.1.5"
|
version = "0.1.3"
|
||||||
|
|
||||||
[workspace.dependencies.http]
|
[workspace.dependencies.http]
|
||||||
version = "1.5.0"
|
version = "1.3.1"
|
||||||
|
|
||||||
# parses the HTTP-date form of Retry-After
|
# parses the HTTP-date form of Retry-After
|
||||||
[workspace.dependencies.httpdate]
|
[workspace.dependencies.httpdate]
|
||||||
version = "1.0.3"
|
version = "1.0.3"
|
||||||
|
|
||||||
[workspace.dependencies.regex]
|
[workspace.dependencies.regex]
|
||||||
version = "1.13.1"
|
version = "1.11.1"
|
||||||
|
|
||||||
[workspace.dependencies.axum]
|
[workspace.dependencies.axum]
|
||||||
version = "0.8.9"
|
version = "0.8.8"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"form",
|
"form",
|
||||||
"query",
|
|
||||||
"http1",
|
"http1",
|
||||||
"http2",
|
"http2",
|
||||||
"json",
|
"json",
|
||||||
@@ -114,7 +113,7 @@ features = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies.axum-extra]
|
[workspace.dependencies.axum-extra]
|
||||||
version = "0.12.6"
|
version = "0.12.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["typed-header", "tracing", "cookie"]
|
features = ["typed-header", "tracing", "cookie"]
|
||||||
|
|
||||||
@@ -133,12 +132,12 @@ default-features = false
|
|||||||
version = "0.2"
|
version = "0.2"
|
||||||
|
|
||||||
[workspace.dependencies.tower]
|
[workspace.dependencies.tower]
|
||||||
version = "0.5.3"
|
version = "0.5.2"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["util"]
|
features = ["util"]
|
||||||
|
|
||||||
[workspace.dependencies.tower-http]
|
[workspace.dependencies.tower-http]
|
||||||
version = "0.7.1"
|
version = "0.7.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"add-extension",
|
"add-extension",
|
||||||
@@ -152,46 +151,38 @@ features = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies.rustls]
|
[workspace.dependencies.rustls]
|
||||||
version = "0.23.46"
|
version = "0.23.25"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.reqwest]
|
[workspace.dependencies.reqwest]
|
||||||
version = "0.13.5"
|
version = "0.13.2"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"rustls-no-provider",
|
"rustls-no-provider",
|
||||||
"socks",
|
"socks",
|
||||||
|
"hickory-dns",
|
||||||
"http2",
|
"http2",
|
||||||
"stream",
|
"stream",
|
||||||
"form",
|
"form",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Needed for as long as openidconnect is on an outdated reqwest
|
|
||||||
[workspace.dependencies.reqwest_0_12]
|
|
||||||
package = "reqwest"
|
|
||||||
version = "0.12"
|
|
||||||
default-features = false
|
|
||||||
features = [
|
|
||||||
"rustls-tls-native-roots-no-provider",
|
|
||||||
]
|
|
||||||
|
|
||||||
[workspace.dependencies.serde]
|
[workspace.dependencies.serde]
|
||||||
version = "1.0.229"
|
version = "1.0.219"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["rc"]
|
features = ["rc"]
|
||||||
|
|
||||||
[workspace.dependencies.serde_json]
|
[workspace.dependencies.serde_json]
|
||||||
version = "1.0.154"
|
version = "1.0.140"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["raw_value"]
|
features = ["raw_value"]
|
||||||
|
|
||||||
# Used for appservice registration files
|
# Used for appservice registration files
|
||||||
[workspace.dependencies.serde-saphyr]
|
[workspace.dependencies.serde-saphyr]
|
||||||
version = "2.1.1"
|
version = "1.0.0"
|
||||||
|
|
||||||
# Used to load forbidden room/user regex from config
|
# Used to load forbidden room/user regex from config
|
||||||
[workspace.dependencies.serde_regex]
|
[workspace.dependencies.serde_regex]
|
||||||
version = "1.2.0"
|
version = "1.1.0"
|
||||||
|
|
||||||
# Used for password hashing
|
# Used for password hashing
|
||||||
[workspace.dependencies.argon2]
|
[workspace.dependencies.argon2]
|
||||||
@@ -201,7 +192,7 @@ default-features = false
|
|||||||
|
|
||||||
# Used to generate thumbnails for images
|
# Used to generate thumbnails for images
|
||||||
[workspace.dependencies.image]
|
[workspace.dependencies.image]
|
||||||
version = "0.25.10"
|
version = "0.25.5"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"jpeg",
|
"jpeg",
|
||||||
@@ -212,29 +203,29 @@ features = [
|
|||||||
|
|
||||||
# logging
|
# logging
|
||||||
[workspace.dependencies.log]
|
[workspace.dependencies.log]
|
||||||
version = "0.4.35"
|
version = "0.4.27"
|
||||||
default-features = false
|
default-features = false
|
||||||
[workspace.dependencies.tracing]
|
[workspace.dependencies.tracing]
|
||||||
version = "0.1.44"
|
version = "0.1.41"
|
||||||
default-features = false
|
default-features = false
|
||||||
[workspace.dependencies.tracing-subscriber]
|
[workspace.dependencies.tracing-subscriber]
|
||||||
version = "0.3.23"
|
version = "0.3.20"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["env-filter", "std", "tracing", "tracing-log", "ansi", "fmt"]
|
features = ["env-filter", "std", "tracing", "tracing-log", "ansi", "fmt"]
|
||||||
[workspace.dependencies.tracing-journald]
|
[workspace.dependencies.tracing-journald]
|
||||||
version = "0.3.2"
|
version = "0.3.1"
|
||||||
[workspace.dependencies.tracing-core]
|
[workspace.dependencies.tracing-core]
|
||||||
version = "0.1.36"
|
version = "0.1.34"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
# for URL previews
|
# for URL previews
|
||||||
[workspace.dependencies.webpage]
|
[workspace.dependencies.webpage]
|
||||||
version = "2.1.0"
|
version = "2.0.1"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
# used for conduwuit's CLI and admin room command parsing
|
# used for conduwuit's CLI and admin room command parsing
|
||||||
[workspace.dependencies.clap]
|
[workspace.dependencies.clap]
|
||||||
version = "4.6.7"
|
version = "4.5.35"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"derive",
|
"derive",
|
||||||
@@ -247,12 +238,12 @@ features = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies.futures]
|
[workspace.dependencies.futures]
|
||||||
version = "0.3.34"
|
version = "0.3.31"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["std", "async-await"]
|
features = ["std", "async-await"]
|
||||||
|
|
||||||
[workspace.dependencies.tokio]
|
[workspace.dependencies.tokio]
|
||||||
version = "1.54.1"
|
version = "1.44.2"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"fs",
|
"fs",
|
||||||
@@ -267,25 +258,25 @@ features = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies.tokio-metrics]
|
[workspace.dependencies.tokio-metrics]
|
||||||
version = "0.5.2"
|
version = "0.5.0"
|
||||||
|
|
||||||
[workspace.dependencies.wildmatch]
|
[workspace.dependencies.libloading]
|
||||||
version = "2.7.0"
|
version = "0.9.0"
|
||||||
|
|
||||||
# Validating urls in config, was already a transitive dependency
|
# Validating urls in config, was already a transitive dependency
|
||||||
[workspace.dependencies.url]
|
[workspace.dependencies.url]
|
||||||
version = "2.5.8"
|
version = "2.5.4"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["serde"]
|
features = ["serde"]
|
||||||
|
|
||||||
# standard date and time tools
|
# standard date and time tools
|
||||||
[workspace.dependencies.chrono]
|
[workspace.dependencies.chrono]
|
||||||
version = "0.4.45"
|
version = "0.4.38"
|
||||||
features = ["alloc", "std"]
|
features = ["alloc", "std"]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.hyper]
|
[workspace.dependencies.hyper]
|
||||||
version = "1.12.0"
|
version = "1.6.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"server",
|
"server",
|
||||||
@@ -304,7 +295,7 @@ features = [
|
|||||||
|
|
||||||
# to support multiple variations of setting a config option
|
# to support multiple variations of setting a config option
|
||||||
[workspace.dependencies.either]
|
[workspace.dependencies.either]
|
||||||
version = "1.19.0"
|
version = "1.15.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["serde"]
|
features = ["serde"]
|
||||||
|
|
||||||
@@ -315,7 +306,7 @@ default-features = false
|
|||||||
features = ["env", "toml"]
|
features = ["env", "toml"]
|
||||||
|
|
||||||
[workspace.dependencies.hickory-resolver]
|
[workspace.dependencies.hickory-resolver]
|
||||||
version = "0.26.3"
|
version = "0.26.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"serde",
|
"serde",
|
||||||
@@ -325,7 +316,7 @@ features = [
|
|||||||
|
|
||||||
# Used for conduwuit::Error type
|
# Used for conduwuit::Error type
|
||||||
[workspace.dependencies.thiserror]
|
[workspace.dependencies.thiserror]
|
||||||
version = "2.0.21"
|
version = "2.0.12"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
# Used to make working with iterators easier, was already a transitive depdendency
|
# Used to make working with iterators easier, was already a transitive depdendency
|
||||||
@@ -339,14 +330,14 @@ version = "2.1.1"
|
|||||||
|
|
||||||
# used for MPSC channels
|
# used for MPSC channels
|
||||||
[workspace.dependencies.loole]
|
[workspace.dependencies.loole]
|
||||||
version = "0.6.0"
|
version = "0.4.0"
|
||||||
|
|
||||||
# used for MPMC channels
|
# used for MPMC channels
|
||||||
[workspace.dependencies.async-channel]
|
[workspace.dependencies.async-channel]
|
||||||
version = "2.5.0"
|
version = "2.5.0"
|
||||||
|
|
||||||
[workspace.dependencies.async-trait]
|
[workspace.dependencies.async-trait]
|
||||||
version = "0.1.92"
|
version = "0.1.88"
|
||||||
|
|
||||||
[workspace.dependencies.lru-cache]
|
[workspace.dependencies.lru-cache]
|
||||||
version = "0.1.2"
|
version = "0.1.2"
|
||||||
@@ -357,7 +348,7 @@ version = "1.1.1"
|
|||||||
# Used for matrix spec type definitions and helpers
|
# Used for matrix spec type definitions and helpers
|
||||||
[workspace.dependencies.ruma]
|
[workspace.dependencies.ruma]
|
||||||
git = "https://github.com/ruma/ruma.git"
|
git = "https://github.com/ruma/ruma.git"
|
||||||
rev = "decdf3f6c5160e1db595d4edb4d65d5de935e13c"
|
rev = "e7384f01eacd454c593683de50491201e2160fd1"
|
||||||
features = [
|
features = [
|
||||||
"appservice-api-c",
|
"appservice-api-c",
|
||||||
"client-api",
|
"client-api",
|
||||||
@@ -370,6 +361,7 @@ features = [
|
|||||||
"compat-upload-signatures",
|
"compat-upload-signatures",
|
||||||
"compat-optional-txn-pdus",
|
"compat-optional-txn-pdus",
|
||||||
"compat-get-3pids",
|
"compat-get-3pids",
|
||||||
|
"unstable-msc2867",
|
||||||
"unstable-msc2870",
|
"unstable-msc2870",
|
||||||
"unstable-msc3814",
|
"unstable-msc3814",
|
||||||
"unstable-msc3245",
|
"unstable-msc3245",
|
||||||
@@ -387,23 +379,18 @@ features = [
|
|||||||
"unstable-msc4380",
|
"unstable-msc4380",
|
||||||
"unstable-msc4143",
|
"unstable-msc4143",
|
||||||
"unstable-msc4293",
|
"unstable-msc4293",
|
||||||
"unstable-msc4363",
|
|
||||||
"unstable-msc4406",
|
"unstable-msc4406",
|
||||||
"unstable-msc4439",
|
"unstable-msc4439",
|
||||||
"unstable-msc4354",
|
"unstable-msc4354",
|
||||||
"unstable-msc4388",
|
|
||||||
"unstable-msc4480",
|
"unstable-msc4480",
|
||||||
"unstable-msc4466",
|
"unstable-msc4466",
|
||||||
"unstable-msc4494",
|
"unstable-msc4494",
|
||||||
"unstable-msc4484",
|
|
||||||
"unstable-msc4540",
|
|
||||||
"unstable-msc4560",
|
|
||||||
"unstable-extensible-events",
|
"unstable-extensible-events",
|
||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies.rust-rocksdb]
|
[workspace.dependencies.rust-rocksdb]
|
||||||
git = "https://forgejo.ellis.link/continuwuation/rust-rocksdb-zaidoon1"
|
git = "https://forgejo.ellis.link/continuwuation/rust-rocksdb-zaidoon1"
|
||||||
rev = "85ded20348e3dab902c239967075795e9c6d101b"
|
rev = "0a25ff92f7c09b55eec496b9c192c7d5136ab2b8"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"multi-threaded-cf",
|
"multi-threaded-cf",
|
||||||
@@ -414,7 +401,7 @@ features = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies.sha2]
|
[workspace.dependencies.sha2]
|
||||||
version = "0.11.1"
|
version = "0.11.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.sha1]
|
[workspace.dependencies.sha1]
|
||||||
@@ -422,50 +409,31 @@ version = "0.11.0"
|
|||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.openidconnect]
|
[workspace.dependencies.openidconnect]
|
||||||
version = "4.1.0"
|
version = "4.0.1"
|
||||||
default-features = false
|
|
||||||
features = ["reqwest"]
|
|
||||||
|
|
||||||
# optional opentelemetry, performance measurements, flamegraphs, etc for performance measurements and monitoring
|
# optional opentelemetry, performance measurements, flamegraphs, etc for performance measurements and monitoring
|
||||||
[workspace.dependencies.opentelemetry]
|
[workspace.dependencies.opentelemetry]
|
||||||
version = "0.33.1"
|
version = "0.32.0"
|
||||||
|
|
||||||
[workspace.dependencies.opentelemetry-instrumentation-tower]
|
|
||||||
git = "https://github.com/open-telemetry/opentelemetry-rust-contrib"
|
|
||||||
rev = "6bbbc337aab0bcf10d7799c3e5b5ced75920491a"
|
|
||||||
default-features = false
|
|
||||||
features = ["axum"]
|
|
||||||
|
|
||||||
[workspace.dependencies.opentelemetry-semantic-conventions]
|
|
||||||
version = "0.33.1"
|
|
||||||
features = ["semconv_experimental"]
|
|
||||||
|
|
||||||
[workspace.dependencies.tracing-flame]
|
[workspace.dependencies.tracing-flame]
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
|
|
||||||
[workspace.dependencies.tracing-opentelemetry]
|
[workspace.dependencies.tracing-opentelemetry]
|
||||||
version = "0.34.0"
|
version = "0.33.0"
|
||||||
|
|
||||||
[workspace.dependencies.opentelemetry_sdk]
|
[workspace.dependencies.opentelemetry_sdk]
|
||||||
version = "0.33.1"
|
version = "0.32.0"
|
||||||
features = ["rt-tokio"]
|
features = ["rt-tokio"]
|
||||||
|
|
||||||
[workspace.dependencies.opentelemetry-prometheus]
|
|
||||||
version = "0.33.1"
|
|
||||||
|
|
||||||
[workspace.dependencies.prometheus]
|
|
||||||
version = "0.14.0"
|
|
||||||
default-features = false
|
|
||||||
|
|
||||||
[workspace.dependencies.opentelemetry-otlp]
|
[workspace.dependencies.opentelemetry-otlp]
|
||||||
version = "0.33.1"
|
version = "0.32.0"
|
||||||
features = ["http", "grpc-tonic", "trace", "logs", "metrics"]
|
features = ["http", "grpc-tonic", "trace", "logs", "metrics"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# optional sentry metrics for crash/panic reporting
|
# optional sentry metrics for crash/panic reporting
|
||||||
[workspace.dependencies.sentry]
|
[workspace.dependencies.sentry]
|
||||||
version = "0.49.5"
|
version = "0.48.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"backtrace",
|
"backtrace",
|
||||||
@@ -480,14 +448,14 @@ features = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies.sentry-tracing]
|
[workspace.dependencies.sentry-tracing]
|
||||||
version = "0.49.5"
|
version = "0.48.0"
|
||||||
[workspace.dependencies.sentry-tower]
|
[workspace.dependencies.sentry-tower]
|
||||||
version = "0.49.5"
|
version = "0.48.0"
|
||||||
|
|
||||||
# jemalloc usage
|
# jemalloc usage
|
||||||
[workspace.dependencies.tikv-jemalloc-sys]
|
[workspace.dependencies.tikv-jemalloc-sys]
|
||||||
git = "https://forgejo.ellis.link/continuwuation/jemallocator"
|
git = "https://forgejo.ellis.link/continuwuation/jemallocator"
|
||||||
rev = "46e7821917b06636cdb5b203d312799970eaea92"
|
rev = "df86ff89d4b1e223b9f7d2dd2fbb7f202da7f554"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"background_threads_runtime_support",
|
"background_threads_runtime_support",
|
||||||
@@ -495,7 +463,7 @@ features = [
|
|||||||
]
|
]
|
||||||
[workspace.dependencies.tikv-jemallocator]
|
[workspace.dependencies.tikv-jemallocator]
|
||||||
git = "https://forgejo.ellis.link/continuwuation/jemallocator"
|
git = "https://forgejo.ellis.link/continuwuation/jemallocator"
|
||||||
rev = "46e7821917b06636cdb5b203d312799970eaea92"
|
rev = "df86ff89d4b1e223b9f7d2dd2fbb7f202da7f554"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"background_threads_runtime_support",
|
"background_threads_runtime_support",
|
||||||
@@ -503,7 +471,7 @@ features = [
|
|||||||
]
|
]
|
||||||
[workspace.dependencies.tikv-jemalloc-ctl]
|
[workspace.dependencies.tikv-jemalloc-ctl]
|
||||||
git = "https://forgejo.ellis.link/continuwuation/jemallocator"
|
git = "https://forgejo.ellis.link/continuwuation/jemallocator"
|
||||||
rev = "46e7821917b06636cdb5b203d312799970eaea92"
|
rev = "df86ff89d4b1e223b9f7d2dd2fbb7f202da7f554"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["use_std"]
|
features = ["use_std"]
|
||||||
|
|
||||||
@@ -511,7 +479,7 @@ features = ["use_std"]
|
|||||||
version = "0.5"
|
version = "0.5"
|
||||||
|
|
||||||
[workspace.dependencies.nix]
|
[workspace.dependencies.nix]
|
||||||
version = "0.31.3"
|
version = "0.31.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["resource"]
|
features = ["resource"]
|
||||||
|
|
||||||
@@ -519,12 +487,21 @@ features = ["resource"]
|
|||||||
version = "0.5.0"
|
version = "0.5.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
[workspace.dependencies.hardened_malloc-rs]
|
||||||
|
version = "0.1.2"
|
||||||
|
default-features = false
|
||||||
|
features = [
|
||||||
|
"static",
|
||||||
|
"gcc",
|
||||||
|
"light",
|
||||||
|
]
|
||||||
|
|
||||||
[workspace.dependencies.rustyline-async]
|
[workspace.dependencies.rustyline-async]
|
||||||
version = "0.4.9"
|
version = "0.4.9"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.termimad]
|
[workspace.dependencies.termimad]
|
||||||
version = "0.35.5"
|
version = "0.35.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.checked_ops]
|
[workspace.dependencies.checked_ops]
|
||||||
@@ -547,10 +524,10 @@ features = ["hardware-lock-elision", "deadlock_detection"] # TODO: Check if dead
|
|||||||
|
|
||||||
# Use this when extending with_lock::WithLock to parking_lot
|
# Use this when extending with_lock::WithLock to parking_lot
|
||||||
[workspace.dependencies.lock_api]
|
[workspace.dependencies.lock_api]
|
||||||
version = "0.5.0"
|
version = "0.4.13"
|
||||||
|
|
||||||
[workspace.dependencies.bytesize]
|
[workspace.dependencies.bytesize]
|
||||||
version = "2.7"
|
version = "2.0"
|
||||||
|
|
||||||
[workspace.dependencies.core_affinity]
|
[workspace.dependencies.core_affinity]
|
||||||
version = "0.8.3"
|
version = "0.8.3"
|
||||||
@@ -562,11 +539,11 @@ version = "0.2"
|
|||||||
version = "0.2"
|
version = "0.2"
|
||||||
|
|
||||||
[workspace.dependencies.minicbor]
|
[workspace.dependencies.minicbor]
|
||||||
version = "2.3.1"
|
version = "2.1.1"
|
||||||
features = ["std"]
|
features = ["std"]
|
||||||
|
|
||||||
[workspace.dependencies.minicbor-serde]
|
[workspace.dependencies.minicbor-serde]
|
||||||
version = "0.7.2"
|
version = "0.7.0"
|
||||||
features = ["std"]
|
features = ["std"]
|
||||||
|
|
||||||
[workspace.dependencies.maplit]
|
[workspace.dependencies.maplit]
|
||||||
@@ -576,10 +553,10 @@ version = "1.0.2"
|
|||||||
version = "1.0.1"
|
version = "1.0.1"
|
||||||
|
|
||||||
[workspace.dependencies.askama]
|
[workspace.dependencies.askama]
|
||||||
version = "0.16.1"
|
version = "0.16.0"
|
||||||
|
|
||||||
[workspace.dependencies.lettre]
|
[workspace.dependencies.lettre]
|
||||||
version = "0.11.23"
|
version = "0.11.19"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["smtp-transport", "pool", "hostname", "builder", "rustls", "rustls-native-certs", "tokio1", "rustls-no-provider", "tokio1-rustls", "tracing", "serde"]
|
features = ["smtp-transport", "pool", "hostname", "builder", "rustls", "rustls-native-certs", "tokio1", "rustls-no-provider", "tokio1-rustls", "tracing", "serde"]
|
||||||
|
|
||||||
@@ -588,27 +565,15 @@ version = "0.10.4"
|
|||||||
default-features = false
|
default-features = false
|
||||||
features = ["std"]
|
features = ["std"]
|
||||||
|
|
||||||
[workspace.dependencies.mime]
|
|
||||||
version = "0.3.18"
|
|
||||||
|
|
||||||
[workspace.dependencies.nonzero_ext]
|
[workspace.dependencies.nonzero_ext]
|
||||||
version = "0.3.0"
|
version = "0.3.0"
|
||||||
|
|
||||||
[workspace.dependencies.resolvematrix]
|
[workspace.dependencies.resolvematrix]
|
||||||
version = "1.5.0"
|
version = "1.3.0"
|
||||||
features = ["unstable-msc4188"]
|
|
||||||
|
|
||||||
[workspace.dependencies.serde_urlencoded]
|
[workspace.dependencies.serde_urlencoded]
|
||||||
version = "0.7.1"
|
version = "0.7.1"
|
||||||
|
|
||||||
[workspace.dependencies.mimalloc]
|
|
||||||
version = "0.1.52"
|
|
||||||
features = ["extended"]
|
|
||||||
|
|
||||||
[workspace.dependencies.libmimalloc-sys]
|
|
||||||
version = "0.1.49"
|
|
||||||
features = ["extended"]
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Patches
|
# Patches
|
||||||
#
|
#
|
||||||
@@ -694,6 +659,9 @@ default-features = false
|
|||||||
[workspace.dependencies.ruminuwuity]
|
[workspace.dependencies.ruminuwuity]
|
||||||
package = "ruminuwuity"
|
package = "ruminuwuity"
|
||||||
path = "src/ruminuwuity"
|
path = "src/ruminuwuity"
|
||||||
|
features = [
|
||||||
|
"unstable-msc4484"
|
||||||
|
]
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
@@ -752,23 +720,74 @@ inherits = "release"
|
|||||||
# Developer profile
|
# Developer profile
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# To enable hot-reloading:
|
||||||
|
# 1. Uncomment all of the rustflags here.
|
||||||
|
# 2. Uncomment crate-type=dylib in src/*/Cargo.toml
|
||||||
|
#
|
||||||
|
# opt-level, mir-opt-level, validate-mir are not known to interfere with reloading
|
||||||
|
# and can be raised if build times are tolerable.
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
debug = "full"
|
debug = "full"
|
||||||
opt-level = 0
|
opt-level = 0
|
||||||
panic = "unwind"
|
panic = "unwind"
|
||||||
debug-assertions = true
|
debug-assertions = true
|
||||||
incremental = true
|
incremental = true
|
||||||
|
#rustflags = [
|
||||||
|
# '--cfg', 'conduwuit_mods',
|
||||||
|
# '-Ztime-passes',
|
||||||
|
# '-Zmir-opt-level=0',
|
||||||
|
# '-Zvalidate-mir=false',
|
||||||
|
# '-Ztls-model=global-dynamic',
|
||||||
|
# '-Cprefer-dynamic=true',
|
||||||
|
# '-Zstaticlib-prefer-dynamic=true',
|
||||||
|
# '-Zstaticlib-allow-rdylib-deps=true',
|
||||||
|
# '-Zpacked-bundled-libs=false',
|
||||||
|
# '-Zplt=true',
|
||||||
|
# '-Crpath=true',
|
||||||
|
# '-Clink-arg=-Wl,--as-needed',
|
||||||
|
# '-Clink-arg=-Wl,--allow-shlib-undefined',
|
||||||
|
# '-Clink-arg=-Wl,-z,keep-text-section-prefix',
|
||||||
|
# '-Clink-arg=-Wl,-z,lazy',
|
||||||
|
#]
|
||||||
|
|
||||||
[profile.dev.package.conduwuit_core]
|
[profile.dev.package.conduwuit_core]
|
||||||
inherits = "dev"
|
inherits = "dev"
|
||||||
[profile.dev.package.conduwuit]
|
[profile.dev.package.conduwuit]
|
||||||
inherits = "dev"
|
inherits = "dev"
|
||||||
|
#rustflags = [
|
||||||
|
# '--cfg', 'conduwuit_mods',
|
||||||
|
# '-Ztime-passes',
|
||||||
|
# '-Zmir-opt-level=0',
|
||||||
|
# '-Zvalidate-mir=false',
|
||||||
|
# '-Ztls-model=global-dynamic',
|
||||||
|
# '-Cprefer-dynamic=true',
|
||||||
|
# '-Zexport-executable-symbols=true',
|
||||||
|
# '-Zplt=true',
|
||||||
|
# '-Crpath=true',
|
||||||
|
# '-Clink-arg=-Wl,--as-needed',
|
||||||
|
# '-Clink-arg=-Wl,--allow-shlib-undefined',
|
||||||
|
# '-Clink-arg=-Wl,--export-dynamic',
|
||||||
|
# '-Clink-arg=-Wl,-z,lazy',
|
||||||
|
#]
|
||||||
|
|
||||||
[profile.dev.package.'*']
|
[profile.dev.package.'*']
|
||||||
inherits = "dev"
|
inherits = "dev"
|
||||||
debug = 'limited'
|
debug = 'limited'
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
opt-level = 'z'
|
opt-level = 'z'
|
||||||
|
#rustflags = [
|
||||||
|
# '--cfg', 'conduwuit_mods',
|
||||||
|
# '-Ztls-model=global-dynamic',
|
||||||
|
# '-Cprefer-dynamic=true',
|
||||||
|
# '-Zstaticlib-prefer-dynamic=true',
|
||||||
|
# '-Zstaticlib-allow-rdylib-deps=true',
|
||||||
|
# '-Zpacked-bundled-libs=true',
|
||||||
|
# '-Zplt=true',
|
||||||
|
# '-Clink-arg=-Wl,--as-needed',
|
||||||
|
# '-Clink-arg=-Wl,-z,lazy',
|
||||||
|
# '-Clink-arg=-Wl,-z,nodelete',
|
||||||
|
#]
|
||||||
|
|
||||||
# primarily used for CI
|
# primarily used for CI
|
||||||
[profile.test]
|
[profile.test]
|
||||||
@@ -790,37 +809,37 @@ codegen-units = 16
|
|||||||
#
|
#
|
||||||
|
|
||||||
[workspace.lints.rust]
|
[workspace.lints.rust]
|
||||||
absolute_paths_not_starting_with_crate = "warn"
|
absolute-paths-not-starting-with-crate = "warn"
|
||||||
#box_pointers = "warn"
|
#box-pointers = "warn"
|
||||||
deprecated_in_future = "warn"
|
deprecated-in-future = "warn"
|
||||||
elided_lifetimes_in_paths = "warn"
|
elided-lifetimes-in-paths = "warn"
|
||||||
explicit_outlives_requirements = "warn"
|
explicit-outlives-requirements = "warn"
|
||||||
ffi_unwind_calls = "warn"
|
ffi-unwind-calls = "warn"
|
||||||
keyword_idents = { level = "warn", priority = -1 }
|
keyword-idents = "warn"
|
||||||
macro_use_extern_crate = "warn"
|
macro-use-extern-crate = "warn"
|
||||||
meta_variable_misuse = "warn"
|
meta-variable-misuse = "warn"
|
||||||
missing_abi = "warn"
|
missing-abi = "warn"
|
||||||
#missing_copy_implementations = "warn" # TODO
|
#missing-copy-implementations = "warn" # TODO
|
||||||
#missing_debug_implementations = "warn" # TODO
|
#missing-debug-implementations = "warn" # TODO
|
||||||
non_ascii_idents = "warn"
|
non-ascii-idents = "warn"
|
||||||
rust_2021_incompatible_closure_captures = "warn"
|
rust-2021-incompatible-closure-captures = "warn"
|
||||||
rust_2021_incompatible_or_patterns = "warn"
|
rust-2021-incompatible-or-patterns = "warn"
|
||||||
rust_2021_prefixes_incompatible_syntax = "warn"
|
rust-2021-prefixes-incompatible-syntax = "warn"
|
||||||
rust_2021_prelude_collisions = "warn"
|
rust-2021-prelude-collisions = "warn"
|
||||||
single_use_lifetimes = "warn"
|
single-use-lifetimes = "warn"
|
||||||
trivial_casts = "warn"
|
trivial-casts = "warn"
|
||||||
trivial_numeric_casts = "warn"
|
trivial-numeric-casts = "warn"
|
||||||
unit_bindings = "warn"
|
unit-bindings = "warn"
|
||||||
#unnameable_types = "warn" # TODO
|
#unnameable-types = "warn" # TODO
|
||||||
unreachable_pub = "warn"
|
unreachable-pub = "warn"
|
||||||
unsafe_op_in_unsafe_fn = "warn"
|
unsafe-op-in-unsafe-fn = "warn"
|
||||||
unstable_features = "warn"
|
unstable-features = "warn"
|
||||||
unused_extern_crates = "warn"
|
unused-extern-crates = "warn"
|
||||||
unused_import_braces = "warn"
|
unused-import-braces = "warn"
|
||||||
unused_lifetimes = "warn"
|
unused-lifetimes = "warn"
|
||||||
unused_macro_rules = "warn"
|
unused-macro-rules = "warn"
|
||||||
unused_qualifications = "warn"
|
unused-qualifications = "warn"
|
||||||
#unused_results = "warn" # TODO
|
#unused-results = "warn" # TODO
|
||||||
|
|
||||||
## some sadness
|
## some sadness
|
||||||
mismatched_lifetime_syntaxes = "allow" # TODO!
|
mismatched_lifetime_syntaxes = "allow" # TODO!
|
||||||
@@ -874,7 +893,6 @@ significant_drop_tightening = { level = "allow", priority = 1 } # TODO
|
|||||||
pedantic = { level = "warn", priority = -1 }
|
pedantic = { level = "warn", priority = -1 }
|
||||||
|
|
||||||
## some sadness
|
## some sadness
|
||||||
assert_is_empty = { level = "allow", priority = 1 }
|
|
||||||
too_long_first_doc_paragraph = { level = "allow", priority = 1 }
|
too_long_first_doc_paragraph = { level = "allow", priority = 1 }
|
||||||
doc_markdown = { level = "allow", priority = 1 }
|
doc_markdown = { level = "allow", priority = 1 }
|
||||||
enum_glob_use = { level = "allow", priority = 1 }
|
enum_glob_use = { level = "allow", priority = 1 }
|
||||||
@@ -917,6 +935,7 @@ float_cmp_const = "warn"
|
|||||||
fn_to_numeric_cast_any = "warn"
|
fn_to_numeric_cast_any = "warn"
|
||||||
format_push_string = "warn"
|
format_push_string = "warn"
|
||||||
get_unwrap = "warn"
|
get_unwrap = "warn"
|
||||||
|
impl_trait_in_params = "warn"
|
||||||
lossy_float_literal = "warn"
|
lossy_float_literal = "warn"
|
||||||
mem_forget = "warn"
|
mem_forget = "warn"
|
||||||
missing_assert_message = "warn"
|
missing_assert_message = "warn"
|
||||||
@@ -962,7 +981,7 @@ let_underscore_future = { level = "allow", priority = 1 }
|
|||||||
literal_string_with_formatting_args = { level = "allow", priority = 1 }
|
literal_string_with_formatting_args = { level = "allow", priority = 1 }
|
||||||
|
|
||||||
# This lint is stupid, there's no point defining generics for simple trait params
|
# This lint is stupid, there's no point defining generics for simple trait params
|
||||||
impl_trait_in_params = { level = "allow", priority = 1 }
|
impl-trait-in-params = { level = "allow", priority = 1 }
|
||||||
|
|
||||||
needless_raw_string_hashes = "allow"
|
needless_raw_string_hashes = "allow"
|
||||||
|
|
||||||
@@ -973,7 +992,4 @@ collapsible_if = "allow"
|
|||||||
cognitive_complexity = "allow"
|
cognitive_complexity = "allow"
|
||||||
|
|
||||||
[workspace.metadata.cargo-shear]
|
[workspace.metadata.cargo-shear]
|
||||||
# All of these crates provide macros that are used across the codebase
|
ignored = ["const-str", "ctor", "dtor"]
|
||||||
# and that every crate depends on. cargo-shear can't tell this because
|
|
||||||
# it doesn't expand macros.
|
|
||||||
ignored = ["const-str", "ctor", "dtor", "tracing"]
|
|
||||||
+3
-8
@@ -23,15 +23,12 @@ to encourage users to stay up-to-date with the latest release, and we have no co
|
|||||||
We appreciate the efforts of security researchers and the community in identifying and reporting vulnerabilities. To
|
We appreciate the efforts of security researchers and the community in identifying and reporting vulnerabilities. To
|
||||||
ensure that potential vulnerabilities are addressed properly, please follow these guidelines:
|
ensure that potential vulnerabilities are addressed properly, please follow these guidelines:
|
||||||
|
|
||||||
1. **Contact _all_ members of the team** over E2EE private message on Matrix.
|
1. **Contact members of the team directly** over E2EE private message.
|
||||||
Add each contact to the same encrypted room. **Do not message maintainers individually**.
|
|
||||||
If you cannot reach us from matrix.org, please try [another server][sl] (e.g. continuwuity.rocks).
|
|
||||||
- [@jade:ellis.link](https://matrix.to/#/@jade:ellis.link)
|
- [@jade:ellis.link](https://matrix.to/#/@jade:ellis.link)
|
||||||
- [@nex:nexy7574.co.uk](https://matrix.to/#/@nex:nexy7574.co.uk)
|
- [@nex:nexy7574.co.uk](https://matrix.to/#/@nex:nexy7574.co.uk)
|
||||||
- [@ginger:gingershaped.computer](https://matrix.to/#/@ginger:gingershaped.computer)
|
- [@ginger:gingershaped.computer](https://matrix.to/#/@ginger:gingershaped.computer)
|
||||||
2. **Email the security team** at [security@continuwuity.org](mailto:security@continuwuity.org). This is not E2EE, so
|
2. **Email the security team** at [security@continuwuity.org](mailto:security@continuwuity.org). This is not E2EE, so
|
||||||
don't include sensitive details. Do not ask where to send sensitive details either; that
|
don't include sensitive details.
|
||||||
information is included in this security policy. We may not respond to emails that do this.
|
|
||||||
3. **Do not disclose the vulnerability publicly** until a fix has been pushed to the main branch.
|
3. **Do not disclose the vulnerability publicly** until a fix has been pushed to the main branch.
|
||||||
4. **Provide detailed information** about the vulnerability, including:
|
4. **Provide detailed information** about the vulnerability, including:
|
||||||
- A clear description of the issue
|
- A clear description of the issue
|
||||||
@@ -45,8 +42,6 @@ ensure that potential vulnerabilities are addressed properly, please follow thes
|
|||||||
If you have any doubts about a potential security vulnerability, contact us via private channels first! We'd prefer that
|
If you have any doubts about a potential security vulnerability, contact us via private channels first! We'd prefer that
|
||||||
you bother us, instead of having a vulnerability disclosed without a fix.
|
you bother us, instead of having a vulnerability disclosed without a fix.
|
||||||
|
|
||||||
[sl]: https://servers.joinmatrix.org
|
|
||||||
|
|
||||||
### Terms for credit
|
### Terms for credit
|
||||||
|
|
||||||
Before reporting a vulnerability, please remember that we are a small team maintaining a large codebase depended upon by
|
Before reporting a vulnerability, please remember that we are a small team maintaining a large codebase depended upon by
|
||||||
@@ -110,4 +105,4 @@ When security vulnerabilities are identified:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
This security policy was last updated on November 17th, 2026.
|
This security policy was last updated on May 25, 2025.
|
||||||
+3
-17
@@ -52,10 +52,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# The base docker image to use for complement tests
|
# The base docker image to use for complement tests
|
||||||
# On Linux, you can build the default with `docker build -t continuwuity:complement -f ./docker/complement.Dockerfile .`
|
# You can build the default with `docker build -t continuwuity:complement -f ./docker/complement.Dockerfile .`
|
||||||
# after running `cargo build -p conduwuit --features openreg`.
|
# after running `cargo build`. Only the debug binary is used.
|
||||||
# On non-Linux platforms (or to use a container build), build `docker/Dockerfile` with debuginfo and openreg `--build-arg RUST_PROFILE=dev --build-arg CARGO_FEATURES=default,openreg`
|
|
||||||
# and then run `docker build -t continuwuity:complement --target container -f ./docker/complement.Dockerfile .`.
|
|
||||||
COMPLEMENT_BASE_IMAGE="${COMPLEMENT_BASE_IMAGE:-continuwuity:complement}"
|
COMPLEMENT_BASE_IMAGE="${COMPLEMENT_BASE_IMAGE:-continuwuity:complement}"
|
||||||
|
|
||||||
# Complement tests that are skipped due to flakiness/reliability issues or we don't implement such features and won't for a long time
|
# Complement tests that are skipped due to flakiness/reliability issues or we don't implement such features and won't for a long time
|
||||||
@@ -85,13 +83,6 @@ for command in docker go jq; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "${DOCKER_HOST:-}" ]; then
|
|
||||||
DOCKER_HOST="$(docker context inspect --format '{{.Endpoints.docker.Host}}' 2>/dev/null || true)"
|
|
||||||
if [ -n "$DOCKER_HOST" ]; then
|
|
||||||
export DOCKER_HOST
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$IMAGE_ARCHIVE" ]; then
|
if [ -n "$IMAGE_ARCHIVE" ]; then
|
||||||
if [ ! -f "$IMAGE_ARCHIVE" ]; then
|
if [ ! -f "$IMAGE_ARCHIVE" ]; then
|
||||||
echo "Docker image archive not found: $IMAGE_ARCHIVE"
|
echo "Docker image archive not found: $IMAGE_ARCHIVE"
|
||||||
@@ -108,12 +99,7 @@ fi
|
|||||||
|
|
||||||
if ! docker image inspect "$COMPLEMENT_BASE_IMAGE" > /dev/null 2>&1; then
|
if ! docker image inspect "$COMPLEMENT_BASE_IMAGE" > /dev/null 2>&1; then
|
||||||
echo "Complement base image not found: $COMPLEMENT_BASE_IMAGE"
|
echo "Complement base image not found: $COMPLEMENT_BASE_IMAGE"
|
||||||
if [ "$(uname -s)" != "Linux" ]; then
|
echo "Build it with: cargo build -p conduwuit && docker build -t $COMPLEMENT_BASE_IMAGE -f docker/complement.Dockerfile ."
|
||||||
echo "Build it with: docker buildx build --load -t continuwuity:latest-openreg --build-arg RUST_PROFILE=dev --build-arg CARGO_FEATURES=default,openreg -f docker/Dockerfile . && docker build -t $COMPLEMENT_BASE_IMAGE --target container -f docker/complement.Dockerfile ."
|
|
||||||
else
|
|
||||||
echo "Build it with: cargo build -p conduwuit --features openreg && docker build -t $COMPLEMENT_BASE_IMAGE -f docker/complement.Dockerfile ."
|
|
||||||
echo "Or from a container build: docker buildx build --load -t continuwuity:latest-openreg --build-arg RUST_PROFILE=dev --build-arg CARGO_FEATURES=default,openreg -f docker/Dockerfile . && docker build -t $COMPLEMENT_BASE_IMAGE --target container -f docker/complement.Dockerfile ."
|
|
||||||
fi
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
Implemented unstable support for [MSC4560] (Stripped state requests over federation). Contributed by @ginger.
|
|
||||||
|
|
||||||
[MSC4560]: https://github.com/matrix-org/matrix-spec-proposals/pull/4560
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added support for [MSC4484](https://github.com/matrix-org/matrix-spec-proposals/pull/4484). Clients which use the built-in Matrix server administration APIs will need to ask for the appropriate scope when signing in with OAuth. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Upgraded rocksdb from 11.1.1 to 11.12.0 and jemalloc to 5.4.0.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added support for MSC4363 (OAuth step-up authentication). Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Check content-type header on federation responses, ignoring any that don't match (spec compliance)
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The first-run version of the web UI now includes a link to the registration page. Contributed by @ginger
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix account data updates sent at the same time leaving old copies behind, which every initial sync then returned. Existing copies are removed on startup. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Room summary visibility checks are no longer incorrectly applied for remote rooms. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Creating a room with valid but non-canonical JSON now returns `400 M_BAD_JSON` instead of panicking the worker and returning `500 M_UNKNOWN`.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The userinfo endpoint is now accessible even if federation is disabled, allowing LiveKit to be used on servers with federation disabled without using the server name whitelist.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix new devices sometimes never reaching other users' device lists. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The documentation now refers to the Continuwuity Docker service as `continuwuity` instead of `homeserver`.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix gap filling skipping outlier events that are missing their previous events. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Joining a local room the user is not allowed to join now returns `403 M_FORBIDDEN` instead of `500 M_UNKNOWN` when there are no other servers to try.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added support for [MSC2815](https://github.com/matrix-org/matrix-spec-proposals/pull/2815), allowing room moderators to fetch the original content of redacted events, behind the `allow_moderators_to_view_redacted_content` config option. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Remove support for legacy, unauthenticated media, including the `allow_legacy_media` and `freeze_legacy_media` options.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added support for the stable MatrixRTC transports discovery endpoint (`GET /_matrix/client/v1/rtc/transports`) from the accepted MSC4143, advertised via the `org.matrix.msc4143.stable` unstable feature. The unstable endpoint remains available. Contributed by @Henry-Hiles (QuadRadical).
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix incoming federation events losing state changes when predecessors share the same state-before snapshot. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix state resolution applying events out of order, which could undo room joins. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Legacy `/sync` now honours the `room.rooms`, `room.not_rooms`, `account_data.types` and `account_data.not_types` filter fields instead of returning every room and all account data. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added the `GET /_matrix/client/v1/rooms/{roomId}/timestamp_to_event` endpoint as per MSC3030, letting clients find the event closest to a given timestamp. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix to-device messages, including room keys, sometimes being lost before delivery. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Add support for using custom DNS servers instead of using /etc/resolv.conf. Contributed by @s1lv3r.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Add a guide for push notifications, detailing how it works, push gateway specifics, troubleshooting common issues, and pointing to external guides for UnifiedPush backends. Contributed by @stratself
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fixed push gateway URLs containing the configured notification path outside of their suffix. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
"!admin users list" now hides deactivated users by default, but can display them with the optional "--show-deactivated" flag. "--hide-suspended" and "--hide-locked" have been added as well, which stop suspended and locked users from being displayed respectively. Contributed by @Clubs.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Add a section on [troubleshooting Docker issues](https://continuwuity.org/troubleshooting#docker-issues). Contributed by @stratself.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Appservices now receive typing indicators and read receipts. Contributed by @Jade
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Instructions for Authelia added to the [OIDC guide](https://continuwuity.org/authentication/oidc.html). Contributed by @fhoekstra
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Correctly set RocksDB column options, including enabling block caches. Contributed by @Jade
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix some possible deadlocks/freezes and reduce lock contention (improving performance). Contributed by @Jade
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Docker compose examples now use bind mounts by default, instead of Docker volumes, as they are easier to work with esp. for backup/restore. Contributed by @stratself.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fixed Prometheus accounting for in-flight requests, federation PDU lag, latency buckets, and thumbnail sizes. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added support for servers returning 410 gone to indicate they are no longer serving a Matrix server (MSC4188). Contributed by @nex and @silversys
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Once again fixed how room extremities are handled, fixing a problem that made continuwuity gradually make rooms needlessly complex, which also caused more frequent state resets.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Requests waiting on `/_matrix/client/v3/sync` can now be interrupted by the server shutdown, unblocking the 30-second shutdown delay imposed on a quiet server.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The OAuth identity reset page is no longer linked from the account management UI to reduce confusion. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fixed a worker panic when knocking on a room over federation. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Perform more validation on events received during atomic gapfill from remote servers, fixing a panic if bad data was persisted by another server and later lazily fetched by us.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix remote server key signature verification when extra fields exist. Contributed by @hexchen
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Redirect URIs in OAuth clients' metadata are now properly validated to be on a subdomain of the OAuth issuer URL domain. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Updated internal Sentry integration setup to the new pattern required by the SDK.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix v12 rooms created by the same user in the same millisecond ending up as the same room. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added support for MSC4388, allowing compatible Matrix clients to log in to Continuwuity by scanning a QR code on an already logged-in client. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Client-server API endpoints are now properly ratelimited for unauthenticated requests. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
URL previews no longer completely fail if downloading auxiliary content (images/videos/audio) fails. Contributed by @nex.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Setting a profile key longer than 255 bytes now returns 400 `M_KEY_TOO_LARGE` as required by the spec, instead of 413 `M_TOO_LARGE`.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Setting profile data that would make the profile exceed 64 KiB now returns 400 `M_PROFILE_TOO_LARGE` as required by the spec, instead of a 500 error.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Appservices masquerading as a device that does not exist now receive 400 `M_UNKNOWN_DEVICE` as required by the spec, instead of 403 `M_FORBIDDEN`.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Setting `m.fully_read` via the account data endpoints now returns 405 `M_BAD_JSON` as required by the spec, instead of 400.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The `m.forget_forced_upon_leave` capability now reflects the `forget_forced_upon_leave` config option instead of always being advertised as enabled.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fixed push notifications for membership events setting `user_is_target` based on the sender rather than the user being notified.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Ensure HTTP clients actually follow the `dns_servers` config option. Contributed by @silversys
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
`/_matrix/client/v3/sync` no longer waits 30 seconds if the `timeout` parameter is omitted or set to zero, correctly reflecting the specification's rule that such requests should return immediately, even if they are empty.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Reworked event relations to follow the spec more closely. Pagination of `/relations` now returns the correct pages and `next_batch` tokens, recursive relations are returned in the right order without duplicates, and bundled `m.reference` aggregations now include every reference. Contributed by @Henry-Hiles (QuadRadical).
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Read receipts are now more spec compliant, will work better in threads and are less likely to end up causing loops with other software. Contributed by @Jade
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix the DNS resolver failing to start without `/etc/resolv.conf` when `dns_servers` is configured. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fixed OIDC logins failing after the identity provider rotates its signing keys. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Changed the policy on unstable features, disabling most by default and making them configurable in a tidy little `experiments` configuration. See also: #1884.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fixed the experiments implementation in #2517 not properly disabling some functionality when associated experiments weren't enabled.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The sticky events feature flag is correctly advertised in `/_matrix/client/versions` again after it was accidentally removed in #2517.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The former configuration alias `allow_check_for_updates` is now explicitly deprecated in favor of `allow_announcements_check`. Additionally, `request_ip_source` is now deprecated in favor of `accepted_ip_sources`.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
A message is now sent to the admin room when a user logs in for the first time through an OIDC provider, if admin room notices are enabled. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Dropped support for `hardened_malloc` and add support for `mimalloc` instead. Contributed by @nex and @jade.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix soundness and correctness issues in the jemalloc interface, improving performance. Contributed by @Jade
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Modernised the room knocking helper functions to make them match the behaviour of our room join helpers, which are safer and more efficient. This also fixes a bug that caused an error when knocking on rooms not local to the server. Contributed by @nex.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Continuwuity will now request the `profile` OIDC scope from identity providers by default to improve compatibility with identity providers that require it to access users' profile claims, as recommended by the OIDC specification. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Attempting to start a UIAA session on a homeserver with UIAA disabled will now return `403 M_UNAUTHORIZED` instead of `404 M_UNSUPPORTED`. Contributed by @ginger.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Advertise support for Matrix v1.6. Contributed by @jade
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Moved the `jemalloc` feature out of `standard` (and `full`) into `default` so builders can more easily swap allocators. Builders using `--no-default-features` with the `full` or `standard` feature should now explicitly select an allocator (either `jemalloc` or `mimalloc`). Contributed by @Jade
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fixed `/get_missing_events` rejecting requests with more `earliest_events` than the `limit`. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Added opt-in OpenTelemetry metrics, exported over OTLP or scraped by Prometheus from `/_continuwuity/metrics`, and a Grafana dashboard. Contributed by @eleboucher.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix outgoing federation stalling after a sender worker panics. Contributed by @eleboucher.
|
|
||||||
@@ -31,6 +31,7 @@ rocksdb_log_level = "info"
|
|||||||
rocksdb_max_log_files = 1
|
rocksdb_max_log_files = 1
|
||||||
rocksdb_recovery_mode = 0
|
rocksdb_recovery_mode = 0
|
||||||
rocksdb_paranoid_file_checks = true
|
rocksdb_paranoid_file_checks = true
|
||||||
|
allow_legacy_media = true
|
||||||
startup_netburst = true
|
startup_netburst = true
|
||||||
startup_netburst_keep = -1
|
startup_netburst_keep = -1
|
||||||
allow_invalid_tls_certificates_yes_i_know_what_the_fuck_i_am_doing_with_this_and_i_know_this_is_insecure = true
|
allow_invalid_tls_certificates_yes_i_know_what_the_fuck_i_am_doing_with_this_and_i_know_this_is_insecure = true
|
||||||
|
|||||||
+49
-468
File diff suppressed because it is too large.
Load diff
+7
-7
@@ -10,7 +10,7 @@ RUN rm -f /etc/apt/apt.conf.d/docker-clean
|
|||||||
|
|
||||||
# Match Rustc version as close as possible
|
# Match Rustc version as close as possible
|
||||||
# rustc -vV
|
# rustc -vV
|
||||||
ARG LLVM_VERSION=23
|
ARG LLVM_VERSION=22
|
||||||
# ENV RUSTUP_TOOLCHAIN=${RUST_VERSION}
|
# ENV RUSTUP_TOOLCHAIN=${RUST_VERSION}
|
||||||
|
|
||||||
# Install repo tools
|
# Install repo tools
|
||||||
@@ -50,7 +50,7 @@ EOF
|
|||||||
|
|
||||||
# Developer tool versions
|
# Developer tool versions
|
||||||
# renovate: datasource=github-releases depName=cargo-bins/cargo-binstall
|
# renovate: datasource=github-releases depName=cargo-bins/cargo-binstall
|
||||||
ENV BINSTALL_VERSION=1.28.0
|
ENV BINSTALL_VERSION=1.24.0
|
||||||
# renovate: datasource=github-releases depName=psastras/sbom-rs
|
# renovate: datasource=github-releases depName=psastras/sbom-rs
|
||||||
ENV CARGO_SBOM_VERSION=0.9.1
|
ENV CARGO_SBOM_VERSION=0.9.1
|
||||||
# renovate: datasource=crate depName=lddtree
|
# renovate: datasource=crate depName=lddtree
|
||||||
@@ -167,8 +167,8 @@ ARG RUST_PROFILE=release
|
|||||||
ARG CARGO_FEATURES="default"
|
ARG CARGO_FEATURES="default"
|
||||||
|
|
||||||
# Build the binary
|
# Build the binary
|
||||||
RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked \
|
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
--mount=type=cache,target=/usr/local/cargo/git/db,sharing=locked \
|
--mount=type=cache,target=/usr/local/cargo/git/db \
|
||||||
--mount=type=cache,target=/app/target,id=continuwuity-cargo-target-${TARGET_CPU}-${TARGETPLATFORM}-${RUST_PROFILE} \
|
--mount=type=cache,target=/app/target,id=continuwuity-cargo-target-${TARGET_CPU}-${TARGETPLATFORM}-${RUST_PROFILE} \
|
||||||
bash <<'EOF'
|
bash <<'EOF'
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
@@ -192,7 +192,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked \
|
|||||||
jq -r ".target_directory"))
|
jq -r ".target_directory"))
|
||||||
mkdir /out/sbin
|
mkdir /out/sbin
|
||||||
PACKAGE=conduwuit
|
PACKAGE=conduwuit
|
||||||
xx-cargo build --locked --profile ${RUST_PROFILE} \
|
CARGO_LOG=debug xx-cargo build --locked --profile ${RUST_PROFILE} \
|
||||||
--no-default-features --features ${CARGO_FEATURES} \
|
--no-default-features --features ${CARGO_FEATURES} \
|
||||||
-p $PACKAGE;
|
-p $PACKAGE;
|
||||||
BINARIES=($(cargo metadata --no-deps --format-version 1 | \
|
BINARIES=($(cargo metadata --no-deps --format-version 1 | \
|
||||||
@@ -205,8 +205,8 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked \
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Generate Software Bill of Materials (SBOM)
|
# Generate Software Bill of Materials (SBOM)
|
||||||
RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked \
|
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
--mount=type=cache,target=/usr/local/cargo/git/db,sharing=locked \
|
--mount=type=cache,target=/usr/local/cargo/git/db \
|
||||||
bash <<'EOF'
|
bash <<'EOF'
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
set -o xtrace
|
set -o xtrace
|
||||||
|
|||||||
@@ -1,29 +1,11 @@
|
|||||||
ARG CONTINUWUITY_IMAGE=continuwuity:latest-openreg
|
FROM ubuntu:latest
|
||||||
ARG BINARY_SOURCE=host
|
|
||||||
|
|
||||||
FROM ${CONTINUWUITY_IMAGE} AS container-binary
|
|
||||||
|
|
||||||
FROM scratch AS host-binary
|
|
||||||
ARG BINARY_PATH=target/debug/conduwuit
|
|
||||||
COPY ${BINARY_PATH} /sbin/conduwuit
|
|
||||||
|
|
||||||
FROM ubuntu:latest AS base
|
|
||||||
EXPOSE 8008
|
EXPOSE 8008
|
||||||
EXPOSE 8448
|
EXPOSE 8448
|
||||||
RUN apt-get update && apt-get install -y ca-certificates liburing2 && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y ca-certificates liburing2 && rm -rf /var/lib/apt/lists/*
|
||||||
RUN mkdir -p /etc/continuwuity /var/lib/continuwuity /usr/local/bin/
|
RUN mkdir -p /etc/continuwuity /var/lib/continuwuity /usr/local/bin/
|
||||||
COPY complement/complement-entrypoint.sh /usr/local/bin/complement-entrypoint.sh
|
COPY complement/complement-entrypoint.sh /usr/local/bin/complement-entrypoint.sh
|
||||||
COPY complement/complement.config.toml /etc/continuwuity/config.toml
|
COPY complement/complement.config.toml /etc/continuwuity/config.toml
|
||||||
RUN chmod +x /usr/local/bin/complement-entrypoint.sh
|
COPY target/debug/conduwuit /usr/local/bin/conduwuit
|
||||||
|
RUN chmod +x /usr/local/bin/conduwuit /usr/local/bin/complement-entrypoint.sh
|
||||||
#HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://localhost:8008/_continuwuity/server_version || exit 1
|
#HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://localhost:8008/_continuwuity/server_version || exit 1
|
||||||
ENTRYPOINT ["/usr/local/bin/complement-entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/complement-entrypoint.sh"]
|
||||||
|
|
||||||
FROM base AS container
|
|
||||||
COPY --from=container-binary /sbin/conduwuit /usr/local/bin/conduwuit
|
|
||||||
RUN chmod +x /usr/local/bin/conduwuit
|
|
||||||
|
|
||||||
FROM base AS host
|
|
||||||
COPY --from=host-binary /sbin/conduwuit /usr/local/bin/conduwuit
|
|
||||||
RUN chmod +x /usr/local/bin/conduwuit
|
|
||||||
|
|
||||||
FROM ${BINARY_SOURCE}
|
|
||||||
Loaded 100 of 411 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user