forked from element-hq/element-desktop
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to notarytool ([\element-hq#440](element-hq#440)). * Make clear notifications work with threads ([\#9575](matrix-org/matrix-react-sdk#9575)). Fixes element-hq/element-web#23751. * Change "None" to "Off" in notification options ([\#9539](matrix-org/matrix-react-sdk#9539)). Contributed by @Arnei. * Advanced audio processing settings ([\#8759](matrix-org/matrix-react-sdk#8759)). Fixes element-hq/element-web#6278. Contributed by @MrAnno. * Add way to create a user notice via config.json ([\#9559](matrix-org/matrix-react-sdk#9559)). * Improve design of the rich text editor ([\#9533](matrix-org/matrix-react-sdk#9533)). * Enable user to zoom beyond image size ([\#5949](matrix-org/matrix-react-sdk#5949)). Contributed by @jaiwanth-v. * Fix: Move "Leave Space" option to the bottom of space context menu ([\#9535](matrix-org/matrix-react-sdk#9535)). Contributed by @hanadi92. * Fix encrypted message search indexing for non-default `--profile` instances. ([\element-hq#433](element-hq#433)). * Make build scripts work on NixOS ([\#23740](element-hq/element-web#23740)). * Fix integration manager `get_open_id_token` action and add E2E tests ([\#9520](matrix-org/matrix-react-sdk#9520)). * Fix links being mangled by markdown processing ([\#9570](matrix-org/matrix-react-sdk#9570)). Fixes element-hq/element-web#23743. * Fix: inline links selecting radio button ([\#9543](matrix-org/matrix-react-sdk#9543)). Contributed by @hanadi92. * fix wrong error message in registration when phone number threepid is in use. ([\#9571](matrix-org/matrix-react-sdk#9571)). Contributed by @bagvand. * Fix missing avatar for show current profiles ([\#9563](matrix-org/matrix-react-sdk#9563)). Fixes element-hq/element-web#23733. * fix read receipts trickling down correctly ([\#9567](matrix-org/matrix-react-sdk#9567)). Fixes element-hq/element-web#23746. * Resilience fix for homeserver without thread notification support ([\#9565](matrix-org/matrix-react-sdk#9565)). * Don't switch to the home page needlessly after leaving a room ([\#9477](matrix-org/matrix-react-sdk#9477)). * Differentiate download and decryption errors when showing images ([\#9562](matrix-org/matrix-react-sdk#9562)). Fixes element-hq/element-web#3892. * Close context menu when a modal is opened to prevent user getting stuck ([\#9560](matrix-org/matrix-react-sdk#9560)). Fixes element-hq/element-web#15610 and element-hq/element-web#10781. * Fix TimelineReset handling when no room associated ([\#9553](matrix-org/matrix-react-sdk#9553)). * Always use current profile on thread events ([\#9524](matrix-org/matrix-react-sdk#9524)). Fixes element-hq/element-web#23648. * Fix `ThreadView` tests not using thread flag ([\#9547](matrix-org/matrix-react-sdk#9547)). * Fix regressions around media uploads failing and causing soft crashes ([\#9549](matrix-org/matrix-react-sdk#9549)). Fixes matrix-org/element-web-rageshakes#16831, matrix-org/element-web-rageshakes#16824 matrix-org/element-web-rageshakes#16810 and element-hq/element-web#23641. * Handle deletion of `m.call` events ([\#9540](matrix-org/matrix-react-sdk#9540)). Fixes element-hq/element-web#23663. * Fix /myroomavatar slash command ([\#9536](matrix-org/matrix-react-sdk#9536)). Fixes matrix-org/synapse#14321. * Fix incorrect notification count after leaving a room with notifications ([\#9518](matrix-org/matrix-react-sdk#9518)). Contributed by @Arnei.
- Loading branch information
Showing
11 changed files
with
870 additions
and
478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
sqlcipher: | ||
type: string | ||
required: true | ||
description: "How to link sqlcipher, one of 'system' | 'static'" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: webapp | ||
|
||
- name: Cache .hak | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ hashFiles('./yarn.lock') }} | ||
path: | | ||
./.hak | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: Install libsqlcipher-dev | ||
if: inputs.sqlcipher == 'system' | ||
run: sudo apt-get install -y libsqlcipher-dev | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "yarn" | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Build Natives | ||
run: "yarn build:native" | ||
env: | ||
SQLCIPHER_STATIC: ${{ inputs.sqlcipher == 'static' && '1' || '' }} | ||
|
||
- name: Build App | ||
run: "yarn build --publish never -l" | ||
|
||
- name: Install .deb | ||
run: "sudo apt install ./dist/*.deb" | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: linux-sqlcipher-${{ inputs.sqlcipher }} | ||
path: dist | ||
retention-days: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
on: | ||
workflow_call: | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: webapp | ||
|
||
- name: Cache .hak | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ hashFiles('./yarn.lock') }} | ||
path: | | ||
./.hak | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: aarch64-apple-darwin | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "yarn" | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Build Natives | ||
run: "yarn build:native:universal" | ||
|
||
- name: Build App | ||
run: "yarn build:universal --publish never" | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: macos | ||
path: dist | ||
retention-days: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
config: | ||
type: string | ||
required: true | ||
description: "The config directory to use" | ||
version: | ||
type: string | ||
required: false | ||
description: "The version tag to fetch, or 'develop', will pick automatically if not passed" | ||
jobs: | ||
prepare: | ||
name: Prepare | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "yarn" | ||
|
||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Fetch Element Web | ||
run: yarn run fetch --noverify -d ${{ inputs.config }} ${{ inputs.version }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: webapp | ||
retention-days: 1 | ||
path: | | ||
webapp.asar | ||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
arch: | ||
type: string | ||
required: true | ||
description: "The architecture to build for, one of 'x64' | 'x86'" | ||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: kanga333/variable-mapper@master | ||
id: config | ||
with: | ||
key: "${{ inputs.arch }}" | ||
export_to: output | ||
map: | | ||
{ | ||
"x64": { | ||
"target": "x86_64-pc-windows-msvc" | ||
}, | ||
"x86": { | ||
"target": "i686-pc-windows-msvc", | ||
"build-args": "--ia32" | ||
} | ||
} | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: webapp | ||
|
||
- name: Cache .hak | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-${{ hashFiles('./yarn.lock') }} | ||
path: | | ||
./.hak | ||
- name: Set up build tools | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: ${{ inputs.arch }} | ||
|
||
# ActiveTCL package on choco is from 2015, | ||
# this one is newer but includes more than we need | ||
- name: Choco install tclsh | ||
shell: pwsh | ||
run: | | ||
choco install -y magicsplat-tcl-tk --no-progress | ||
echo "${HOME}/AppData/Local/Apps/Tcl86/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
- name: Choco install NetWide Assembler | ||
shell: pwsh | ||
run: | | ||
choco install -y nasm --no-progress | ||
echo "C:/Program Files/NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: ${{ steps.config.outputs.target }} | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "yarn" | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Build Natives | ||
run: | | ||
refreshenv | ||
yarn build:native --target ${{ steps.config.outputs.target }} | ||
- name: Build App | ||
run: "yarn build --publish never -w ${{ steps.config.outputs.build-args }}" | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: win-${{ inputs.arch }} | ||
path: dist | ||
retention-days: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.