Commit dda32a4a authored by StatHub source release's avatar StatHub source release
Browse files

Publish sources for Element Web 1.12.36 and Synapse 1.166.0

parents
Loading
Loading
Loading
Loading
+5
Changes for .gitattributes: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
# The release checksums refer to the original bytes on every platform.
* -text
*.gz binary
*.crate binary
*.apk binary
+13
Changes for LICENSING.md: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Licence information

## Element Web

Element Web 1.12.36 is offered upstream under GPL-3.0-or-later, AGPL-3.0-or-later or a separate commercial agreement. This source release uses GPL-3.0-or-later for the StatHub additions to the web client, including the navigation and local build changes. The Element source snapshot retains its upstream licence texts, notices and copyright attributions. [GPL licence text](element/licenses/LICENSE-GPL-3.0) · [AGPL licence text](element/licenses/LICENSE-AGPL-3.0). [Element Web 1.12.36 licence options](https://github.com/element-hq/element-web/blob/v1.12.36/README.md#copyright--license)

## Synapse

Synapse 1.166.0 is offered upstream under AGPL-3.0-or-later or a separate commercial agreement. This release uses AGPL-3.0-or-later for the StatHub call-policy module and local Synapse build changes. The original Synapse authorship and notices are included. [Synapse 1.166.0 licence information](https://pypi.org/project/matrix-synapse/1.166.0/) · [AGPL licence text](synapse/LICENSE-AGPL-3.0)

## Bundled software

Dependencies, including the Matrix SDKs, the crypto libraries, nginx and the Python packages, retain their own licences. Their source archives carry the upstream notices. The component guides identify the relevant source distributions. Names and marks belong to their respective owners.
+25
Changes for README.md: 25 added lines, 0 removed lines.
Original line number Diff line number Diff line
# StatHub chat source

This repository provides the source for the Element Web chat client and the Synapse homeserver running on StatHub on 2 December 2026. Production and sandbox used the same application images. The release tag is `stathub-2026-12-02`.

| Component | Deployed release | What StatHub added |
| --- | --- | --- |
| [Element Web](element/README.md) | 1.12.36 · upstream commit `9eb31af15759ebfee2de5466d77a8af6b0a5da17` | Site navigation, changes to the HTML entry point and an nginx package update |
| [Synapse](synapse/README.md) | 1.166.0 · upstream commit `78f7dba4e36204211c9eb47795603c3a10012f2e` | A module that disables calls and four Python dependency updates |

## Download and verify

To download a copy without Git, select the release tag above in GitLab and use **Code → Download source code**. The download includes the upstream source archives, their original notices, and the StatHub additions. The component links above lead to build instructions and the provenance of each release. To check a downloaded repository from its top-level directory on Linux, run:

```sh
sha256sum -c SHA256SUMS
```

The following Docker image IDs identify the running builds checked for this release. The component guides distinguish the source archives from the version-pinned container bases and other downloads used during builds.

| Component | Deployed Docker image ID |
| --- | --- |
| Element Web | `sha256:f8f6b7e4f93ea1453656e2601d17e5c6562410e1ca9b4adfea6d2aff02649a05` |
| Synapse | `sha256:ebf4f1dd60f9632cf91731e859ed06e4d434e25cd16513d553c14e57f39f8a15` |

See [licence information](LICENSING.md) for the application code, StatHub additions and third-party components.
+66
Changes for SHA256SUMS: 66 added lines, 0 removed lines.
Original line number Diff line number Diff line
3e28e894800105b6fce9b21459f8e2d91cb129c258e4f512425423348146ddb1  .gitattributes
c144848b3d5566defa693bc62ba57be476f51bee90d823ae61124098fc0c8103  LICENSING.md
57172747f29f037e8fe96b10207066382e54910531ab99f314f9827219509cfb  README.md
6035a1e4deae6153a5bac934eda9838c090f72562707d391f10ad40753c69a99  element/README.md
bf985a7016b926109c9103c62dbb726ee803473764235df072ae09fd83e55f18  element/bundled-sources/README.md
fd9a7d747972e80e16c8195e86ae50d8ffea32afeea38a7b720d37309a006f5f  element/bundled-sources/SHA256SUMS
32e2379277e98b0a5b3f2c709feff3ea5951495b55e587b6123254e47248f9b8  element/bundled-sources/element-call-0.28.2.tar.gz
11916eb0ac9431cadd9bb79cd92c297960c228a3c6c985bb08168d5d70b31b9b  element/bundled-sources/matrix-js-sdk-45.2.0.tar.gz
fa04d1cd403e9ff2ebfcc2bfd53d3bc5a87604028a4302b8947335d12c5d7b4c  element/bundled-sources/matrix-js-sdk-element-call-0.28.2.tar.gz
50735db18d9cf10561bf714b9b77e2b1324318c7296ee70669ac5f037329880f  element/bundled-sources/matrix-sdk-crypto-wasm-18.9.0.tar.gz
d95e2d976d003638e332907013d95d0939dac3afa7f2b9e40eef99d126f76f15  element/bundled-sources/matrix-sdk-crypto-wasm-18.9.2.tar.gz
0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0  element/bundled-sources/notices/element-call-LICENSE-AGPL-3.0
1197de6d29c5037c6d9b5c3607d72eaa90b5045f2d623400e870825fdcf7666e  element/bundled-sources/notices/element-call-LICENSE-COMMERCIAL
0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594  element/bundled-sources/notices/matrix-js-sdk-LICENSE
0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594  element/bundled-sources/notices/matrix-rust-sdk-LICENSE
0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594  element/bundled-sources/notices/matrix-sdk-crypto-wasm-LICENSE
89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e  element/bundled-sources/notices/ruma-LICENSE
0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594  element/bundled-sources/notices/vodozemac-LICENSE
02d98114e35b09143eb0db0c1679176d56d9bcddd141546d7de272a87e6dc94e  element/bundled-sources/rust-crates/matrix-sdk-base-0.19.1.crate
457c2b3c8995cb0f20b882ece41f5a31f07e4e556bafbe37c2c8f3f2d02f638f  element/bundled-sources/rust-crates/matrix-sdk-common-0.19.1.crate
6851a6f102574c52430bd3617f86fb0def62f912fd2aed5356dcb8ff06a9fbc3  element/bundled-sources/rust-crates/matrix-sdk-crypto-0.19.1.crate
d24e5bf2450df25451596d62b8af6e016bc6b47be78ae1e30a72985c1e4b6001  element/bundled-sources/rust-crates/matrix-sdk-indexeddb-0.19.1.crate
2a806faaba375c3da09d9e7a97d99a6c9b11c5cbcfd4992694acba7a3f682262  element/bundled-sources/rust-crates/matrix-sdk-qrcode-0.19.1.crate
295c10317b47b20f0381743b16634be95fdcf244f0c0b85005cd53beb0797906  element/bundled-sources/rust-crates/matrix-sdk-store-encryption-0.19.1.crate
fc484e2676b31e677a3e3646078c01d41529eed3360226804a857db8428cc978  element/bundled-sources/rust-crates/ruma-0.17.0.crate
6a6187ddda33fefafe3a738f40075ce2e8a7ecd3606998d2a885cf6dac73629d  element/bundled-sources/rust-crates/ruma-client-api-0.25.0.crate
dfbfb1235d65ebd89e169c67cc120a6608530b3445babb8689baba7ef2e72a12  element/bundled-sources/rust-crates/ruma-common-0.20.0.crate
140e7848282c33721f4bc4f1e5922fa5eb92d3a7b497ec4b71086b047ee7cd0d  element/bundled-sources/rust-crates/ruma-events-0.35.0.crate
9e27e35e6c36fa1abc4def766e474a0f2f709e87f1602d57ec34d41b09253da4  element/bundled-sources/rust-crates/ruma-html-0.9.0.crate
9d6cff00317675f487c4e7ccfb18875a14c5a14867b51d13f2a826053f03c432  element/bundled-sources/rust-crates/ruma-identifiers-validation-0.12.1.crate
d4b8571408bf1aefd0f06ea49e9d19551bcf4ba7388e19848adcd9291547c6cb  element/bundled-sources/rust-crates/ruma-macros-0.20.0.crate
ba935af014ca0ae5fb468daa51da81a8a0df7daad23c052c878b7c690cdf2574  element/bundled-sources/rust-crates/vodozemac-0.11.0.crate
cafdb6875115a436251b280d741286a9cec7fc4daab0588ea26481dd8e2bab2f  element/bundled-sources/rust-crates/vodozemac-0.11.2.crate
662b684a54c71880cdb923bf2b927e09a3d7f8b41781932ea7734f6dff5dc877  element/deployed-files.sha256
facf86d2b258aa8ed5fad981fadff45eb4d7d0a6568e0babec5f127603e6df4b  element/licenses/AUTHORS.rst
5132c7f0475b02c8107a2e0f0363e70423c62d2664ab927e76193226e5e05905  element/licenses/LICENSE-AGPL-3.0
1197de6d29c5037c6d9b5c3607d72eaa90b5045f2d623400e870825fdcf7666e  element/licenses/LICENSE-COMMERCIAL
8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b  element/licenses/LICENSE-GPL-3.0
08845fe39e06b51dad7685c28140ab49577a86e947523e16b536a46caf89ad5c  element/licenses/LICENSE-nginx
0d4fc489bff0238b612aff6d22f95bfd5b4d32e9e2f01c6d3c63c54b25b1cf78  element/overlay/.dockerignore
72afe56eaef7581b912d9a0994000bc8865d294cbd0831d6b5e9306552c7c1be  element/overlay/Dockerfile
eb5d5c473ad498139017413f3ac232e285756860554017e9a0ea22240921931c  element/overlay/apply-navigation.sh
e3c5d6a3eb273f97d9f12349ef36993e4e90e51f2622dc34c9626c5f272f0130  element/overlay/navigation/navigation.css
2ab95fd3aecb08fc561321227476b79a1c9cb6e6c839c26348dda7e2d10674db  element/overlay/navigation/navigation.html
df5c45ecc6fd9fd2de4b5fdc18b4a20bb821fc1a4d5381eebd41b68a195ab4e5  element/overlay/navigation/platform-navigation.css
91856d9947b5f22b9db6770feb15027730e05d843bd840c72c24e0228bd6a0a3  element/overlay/navigation/platform-navigation.js
622cebe35410273a11f076877c4ad72ee27a9f199399e3c2686647b2c77be8d4  element/overlay/nginx-1.31.10-r1.apk
ed765148fb59b37d88a5dd14d02e1dd3d48db2150348980896b4ea72e1142998  element/upstream/SHA256SUMS
38873b35dafd3168fa17d38b152608ed85641ff54d23c791c163618ae8d5d2ab  element/upstream/element-web-1.12.36.tar.gz
a9b690957fca84abdae8a9b52d66b1bb459282d7f01fe4b94b498ed8e977bdb3  element/upstream/nginx-1.31.10.tar.gz
2af3d19acbfc2fe64df40039d4ab11fb87d9bb46a37e409b48d347f6b85150ee  synapse/AUTHORS.rst
0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0  synapse/LICENSE-AGPL-3.0
1197de6d29c5037c6d9b5c3607d72eaa90b5045f2d623400e870825fdcf7666e  synapse/LICENSE-COMMERCIAL
37b8e53fefbabc0f2b08c5e4552f0927a6ba49f818e499e5c522e334305563f9  synapse/README.md
9d044e243e24cb87bec457d4ba08c561ee76a8b8504fb818c3c85bfb6d8c10b1  synapse/SHA256SUMS
7b46165bb56eb4704e2eaaf86f3c940d19154535d9b0ca7d6d590b04060e00d5  synapse/dependencies/cryptography-50.0.2.tar.gz
bfd57d8008c4965709a919c3e9a98f76c2c7cb319086b3d26858250620023b13  synapse/dependencies/lxml-6.1.0.tar.gz
23657205b63d4d31395ab917815247f694aafad28cd21316bf5fd45a51048ea0  synapse/dependencies/setuptools-84.1.0.tar.gz
d140bdfddd7a8255076ff7e905831f9fb74491cd61d4daa15ee7f9df075cc1f7  synapse/dependencies/sources.json
28e6311402af59c8b02e3fa0f5e7d8eb465b25081381803b127d97e6a4395d5a  synapse/dependencies/tornado-6.6.1.tar.gz
e046f7a35bfaee5449f273004e84c199333e14ecc9ebc079ad7c5abda9948d0d  synapse/overlay/Dockerfile.synapse
96d8b2d17beb15c4daf857e658d92f3cbb84984c3d460199f8c6ee1367ee91fe  synapse/overlay/Dockerfile.synapse.dockerignore
ddd07dc4fe52605850b222afe51e74bf67f48a1c756457400a3418fa1f7553ca  synapse/overlay/hub_call_policy.py
18d8eed6d64a24702c9986670385ee4015913b272971c36d728d5546d11d771f  synapse/overlay/synapse-security-requirements.txt
a9a4c5b7d47289a3a59a304d3a056cd8c7081c385c12330186b0dca57fc1f017  synapse/release.json
1ae3a30bbc7e0b648943212be9f157a0b11a642007a44b36e1ec292df46727bf  synapse/synapse-1.166.0-source.tar.gz
+49
Changes for element/README.md: 49 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Element Web 1.12.36

This directory contains the upstream Element Web source tree and the local changes used for the LEARN-STAT browser chat client. The deployed page adds a navigation bar outside Element’s React root. Its HTML, JavaScript and two stylesheets are in [overlay/navigation](overlay/navigation). The production web server uses nginx 1.31.10, Alpine package revision 1.

| Release identifier | Value |
| --- | --- |
| Upstream tag | `v1.12.36` |
| Upstream commit | `9eb31af15759ebfee2de5466d77a8af6b0a5da17` |
| Upstream Git tree | `e27886a3ca91e63c80363bc8f2523e4c2b87a63f` |
| Official base image | `ghcr.io/element-hq/element-web@sha256:8812792403c7b9f94c0cd433bd2eb8dd9f1eb8a7908261aece71c1d5e2540561` |
| Deployed image ID on linux/amd64 | `sha256:f8f6b7e4f93ea1453656e2601d17e5c6562410e1ca9b4adfea6d2aff02649a05` |

## Read or modify the source

Extract [the upstream source archive](upstream/element-web-1.12.36.tar.gz). Its file contents and modes reconstruct the Git tree above. The archive includes the monorepo packages, patches, workspace configuration and pnpm lockfile. Additional sources for bundled Matrix dependencies live in [bundled Matrix SDK and Element Call sources](bundled-sources/README.md). The original licence options, copyright notices and contributor list are in [licenses](licenses/) and the upstream archive. [Upstream source at the release commit](https://github.com/element-hq/element-web/tree/9eb31af15759ebfee2de5466d77a8af6b0a5da17)

To build the browser client from this archive, use Node.js 26 and pnpm 12.18.0, as pinned by upstream’s release Dockerfile. The first dependency installation requires access to the registries in the lockfile. From this directory on Linux, run:

```sh
release_dir=$(pwd)
tar -xzf upstream/element-web-1.12.36.tar.gz
cd element-web-9eb31af15759ebfee2de5466d77a8af6b0a5da17
pnpm install --frozen-lockfile
cp apps/web/config.sample.json apps/web/config.json
VERSION=1.12.36 pnpm --dir apps/web build
mkdir -p apps/web/webapp/hub-navigation
cp "$release_dir"/overlay/navigation/* apps/web/webapp/hub-navigation/
sh "$release_dir/overlay/apply-navigation.sh" apps/web/webapp
```

Serve the resulting `apps/web/webapp/` directory at `/chat/`. Use the upstream `apps/web/config.sample.json` as a starting point for your own homeserver configuration. The production deployment mounts its independent welcome-page content, site artwork and connection settings at runtime. The site’s registration template is used by its separate authentication service.

## Recreate the deployed web files

The production build started with the official binary image identified above. To reproduce that operation, use Docker with BuildKit on linux/amd64 and the signed nginx package included in this repository. Run these commands from this directory:

```sh
echo '622cebe35410273a11f076877c4ad72ee27a9f199399e3c2686647b2c77be8d4  overlay/nginx-1.31.10-r1.apk' | sha256sum -c -
docker build --platform linux/amd64 --network=none -t learn-stat-element:1.12.36 overlay
docker run --rm --network none --read-only --workdir / \
  --mount "type=bind,src=$(pwd)/deployed-files.sha256,dst=/checksums,readonly" \
  --entrypoint sha256sum learn-stat-element:1.12.36 -c /checksums
```

The included APK came from [nginx’s mainline package repository](https://nginx.org/packages/mainline/alpine/v3.24/main/x86_64/nginx-1.31.10-r1.apk). An independent download matched the SHA-256 above. The build verifies the nginx package signature using the base image’s trusted keys, preserves its server configuration and applies the navigation to `index.html`. The [nginx source archive](upstream/nginx-1.31.10.tar.gz) contains the original nginx release. The deployment installs the signed vendor binary package.

Of the 724 regular files compared in the upstream and deployed application trees, only `index.html` changed. The comparison excluded mounted site configuration, site content and the added navigation directory. All 724 application files, the four added navigation files and the nginx executable in an isolated overlay rebuild from a clean Git tag export matched the deployed files byte for byte. The [runtime checksum manifest](deployed-files.sha256) covers those 729 files. The check used the pinned upstream binary image. A fresh JavaScript build from source was not part of this verification. [Upstream release](https://github.com/element-hq/element-web/releases/tag/v1.12.36)

The [source archive checksums](upstream/SHA256SUMS) can be checked with `(cd upstream && sha256sum -c SHA256SUMS)`.
Loading