Compare commits

...

85 Commits

Author SHA1 Message Date
cb58eccf49 New release v1.11.36-sc.3 2024-02-28 09:18:23 +01:00
181508997e Fix fedora container build
See: https://stackoverflow.com/a/74330717/4515820
2024-02-28 09:18:23 +01:00
d021e3be2f New release v1.11.36-sc.2 2024-02-28 09:18:23 +01:00
5d594f2b2f Changed sqlcipher variable name 2024-02-28 09:18:23 +01:00
0b863757b7 New release v1.11.36-sc.1 2024-02-28 09:18:23 +01:00
87d8647809 Fully containerized release builds 2024-02-28 09:18:23 +01:00
3879b01f08 Use fully qualified name here as well 2024-02-28 09:18:23 +01:00
7cce0b17c4 This got lost while rebasing 2024-02-28 09:18:23 +01:00
23e464c0b8 Fix containerbuilds, also always use host directory as project directory 2024-02-28 09:18:23 +01:00
842f7ba052 Fix debian container compile 2024-02-28 09:18:23 +01:00
d7cb37b62a Bump node version from 16 to 18 2024-02-28 09:18:23 +01:00
c5a7b893c6 New test release v1.11.36-sc.0.test.2 2024-02-28 09:18:23 +01:00
183883d1f9 New test release v1.11.36-sc.0.test.1 2024-02-28 09:18:23 +01:00
5c65524d5d New test release v1.11.35-sc.0.test.1 2024-02-28 09:18:23 +01:00
f34f4e0c73 New test release v1.11.34-sc.0.test.1 2024-02-28 09:18:23 +01:00
dbac606c42 New test release v1.11.33-sc.0.test.2 2024-02-28 09:18:23 +01:00
47e586b009 New test release v1.11.33-sc.0.test.1 2024-02-28 09:18:23 +01:00
0a0c30abd9 Update flake.lock 2024-02-28 09:18:23 +01:00
d3d9d0351d merge-upstream.sh: Allow merging specific version 2024-02-28 09:18:23 +01:00
2fadcc908d Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (52 of 52 strings)

Translation: SchildiChat/schildichat-deskop/matrix-react-sdk
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/matrix-react-sdk/zh_Hans/
2024-02-28 09:18:23 +01:00
bd1c6dab82 Translated using Weblate (Indonesian)
Currently translated at 100.0% (52 of 52 strings)

Translation: SchildiChat/schildichat-deskop/matrix-react-sdk
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/matrix-react-sdk/id/
2024-02-28 09:18:23 +01:00
39976378ec Translated using Weblate (Czech)
Currently translated at 100.0% (52 of 52 strings)

Translation: SchildiChat/schildichat-deskop/matrix-react-sdk
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/matrix-react-sdk/cs/
2024-02-28 09:18:23 +01:00
8d436d4c6f Translated using Weblate (Hungarian)
Currently translated at 50.9% (26 of 51 strings)

Translation: SchildiChat/schildichat-deskop/matrix-react-sdk
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/matrix-react-sdk/hu/
2024-02-28 09:18:23 +01:00
0ba494e955 Use llvm instead llvm15 for Fedora 2023-04-25 23:53:41 +02:00
be44d4a1a6 New release v1.11.30-sc.2 2023-04-25 23:23:49 +02:00
f9ab1ef2e0 New release v1.11.30-sc.1 2023-04-25 22:59:51 +02:00
1a485faf72 New test release v1.11.29-sc.0.test.3 2023-04-22 12:30:03 +02:00
64557e1da9 New test release v1.11.29-sc.0.test.2 2023-04-22 12:25:57 +02:00
5122f0e870 Add missing string for freeform reactions 2023-04-22 12:25:57 +02:00
0eb99a6a60 Make fixup: also check if yarn cache is broken and clean it if necessary
If `yarn cache list` fails, this can also lead to weird errors during
fixup, like
```
error /schildichat-desktop/matrix-react-sdk/node_modules/cypress: Command failed.
Exit code: 1
Command: node index.js --exec install
Arguments:
Directory: /schildichat-desktop/matrix-react-sdk/node_modules/cypress
Output:
node:internal/modules/cjs/loader:433
      throw err;
      ^

Error: Cannot find module '/schildichat-desktop/matrix-react-sdk/node_modules/human-signals/build/src/main.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:425:19)
    at Function.Module._findPath (node:internal/modules/cjs/loader:638:18)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1012:27)
    at Function.Module._load (node:internal/modules/cjs/loader:871:27)
    at Module.require (node:internal/modules/cjs/loader:1098:19)
    at require (node:internal/modules/cjs/helpers:108:18)
    at Object.<anonymous> (/schildichat-desktop/matrix-react-sdk/node_modules/execa/lib/error.js:2:25)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
    at Module.load (node:internal/modules/cjs/loader:1074:32) {
  code: 'MODULE_NOT_FOUND',
  path: '/schildichat-desktop/matrix-react-sdk/node_modules/human-signals
```
2023-04-22 10:41:59 +02:00
979be00158 Add script to completely reset repos from leftovers 2023-04-22 10:41:59 +02:00
10a5112285 ruby fpm also needs its dependencies for Fedora 2023-04-21 12:47:41 +02:00
40c598e91b llvm15 seems to be necessary for Fedora 38 with rust 2023-04-21 12:37:58 +02:00
1e0e3b718c New test release v1.11.29-sc.0.test.1 2023-04-21 12:32:00 +02:00
219c0e3cf7 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/schildichat-deskop/element-desktop
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/element-desktop/hu/
2023-04-20 21:06:03 +00:00
0ecdbb1bb8 Translated using Weblate (Italian)
Currently translated at 62.7% (32 of 51 strings)

Translation: SchildiChat/schildichat-deskop/matrix-react-sdk
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/matrix-react-sdk/it/
2023-04-07 11:40:28 +00:00
c5042532eb automatic_i18n_adjustment: It's still Element Call 2023-04-07 12:57:44 +02:00
b3516d1621 New test release v1.11.28-sc.0.test.1 2023-04-02 02:30:27 +02:00
788816299c New release v1.11.26-sc.1 2023-03-28 20:59:25 +02:00
2e3d370c38 New test release v1.11.25-sc.0.test.1 2023-03-16 00:10:51 +01:00
d977e5c753 New test release v1.11.24-sc.0.test.1 2023-03-15 21:43:57 +01:00
0ef609f57b Translated using Weblate (Portuguese (Brazil))
Currently translated at 82.3% (42 of 51 strings)

Translation: SchildiChat/schildichat-deskop/matrix-react-sdk
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/matrix-react-sdk/pt_BR/
2023-03-03 19:00:13 +00:00
2066ef2623 New test release v1.11.23-sc.0.test.1 2023-03-01 00:21:34 +01:00
b0177a4276 Translated using Weblate (Czech)
Currently translated at 100.0% (51 of 51 strings)

Translation: SchildiChat/schildichat-deskop/matrix-react-sdk
Translate-URL: https://weblate.spiritcroc.de/projects/schildichat/matrix-react-sdk/cs/
2023-02-04 06:42:18 +00:00
87e7893d07 New release v1.11.22-sc.1 2023-02-01 20:32:07 +01:00
ae4eb4c3da New test release v1.11.22-sc.0.test.1 2023-02-01 16:51:20 +01:00
32f58e1c3f New test release v1.11.20-sc.0.test.1 2023-01-30 23:43:21 +01:00
db908634ea New test release v1.11.19-sc.0.test.1 2023-01-19 18:22:08 +01:00
965a3b2d0e New test release v1.11.17-sc.0.test.1 2023-01-15 13:18:24 +01:00
775fb00b75 Adjust default config.json to changed property names 2023-01-15 12:31:07 +01:00
9d4602fea6 Add stale automation github action 2022-12-23 10:14:00 +01:00
eb17c2ad94 New test release v1.11.16-sc.0.test.1 2022-12-06 20:08:30 +01:00
a4ab5f55c9 New test release v1.11.15-sc.0.test.2 2022-12-04 02:56:38 +01:00
fc27cbfd74 Allow building using containers
Co-authored-by: Paarth Shah <mail@shahpaarth.com>

Closes #145
2022-12-04 02:37:55 +01:00
51e7d4b67b New test release v1.11.15-sc.0.test.1 2022-11-26 00:30:33 +01:00
92ac040175 Renovate config.json
- default_server_name --> default_server_config
- Add more room directories
2022-11-15 23:39:05 +01:00
0bfa5733d5 New test release v1.11.14-sc.0.test.1 2022-11-12 11:28:31 +01:00
b6fe959153 Meh, flathub seems to require PRs now 🐐 2022-11-05 22:42:14 +01:00
3c405aeaf6 New release v1.11.13-sc.1 2022-11-05 20:22:09 +01:00
e26d244c1e New test release v1.11.13-sc.0.test.1 2022-11-04 21:17:04 +01:00
6bc26949c1 New test release v1.11.12-sc.0.test.2 2022-10-30 12:08:59 +01:00
e22b6bb031 New test release v1.11.12-sc.0.test.1 2022-10-29 23:41:13 +02:00
ae1e15dcef Translated using Weblate (Japanese)
Currently translated at 1.9% (1 of 51 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/ja/
2022-10-27 11:11:02 +02:00
92599de20a Added translation using Weblate (Japanese) 2022-10-26 10:50:50 +02:00
c2318080eb Added translation using Weblate (Japanese) 2022-10-26 10:50:49 +02:00
b9d35c0cc1 Added translation using Weblate (Japanese) 2022-10-26 10:50:41 +02:00
77fbeb625c New release v1.11.8-sc.1 2022-09-28 19:49:26 +02:00
95d46b08b4 New test release v1.11.6-sc.0.test.3 2022-09-28 14:34:33 +02:00
a7c084d6f8 New test release v1.11.6-sc.0.test.2 2022-09-28 13:35:57 +02:00
6c5136d844 New test release v1.11.6-sc.0.test.1 2022-09-28 13:08:02 +02:00
fc8900cf13 Translated using Weblate (Lithuanian)
Currently translated at 100.0% (51 of 51 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/lt/
2022-09-17 20:10:47 +02:00
e886c4c135 New test release v1.11.5-sc.0.test.1 2022-09-15 17:46:31 +02:00
30dc3ba5b9 readme: Debian node 16 2022-09-03 23:11:51 +02:00
dfa7921f9a Makefile: fixup just too useful everywhere 2022-09-03 22:26:58 +02:00
cd8998da62 Add script for changelog generation 2022-09-03 22:04:10 +02:00
05ff60b4c3 New release v1.11.4-sc.1 2022-09-03 19:02:18 +02:00
04cb55d6c3 New test release v1.11.4-sc.0.test.2 2022-09-03 16:29:29 +02:00
a2a87f04ca New test release v1.11.4-sc.0.test.1 2022-09-03 16:08:46 +02:00
7f80df5ca6 New test release v1.11.3-sc.0.test.1 2022-08-22 23:33:14 +02:00
3757d1d7d6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 66.6% (34 of 51 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/nb_NO/
2022-08-04 04:04:39 +02:00
2bccbdbe57 New test release v1.11.1-sc.0.test.1 2022-08-01 11:57:31 +02:00
5ce4f71da2 Translated using Weblate (German)
Currently translated at 100.0% (51 of 51 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2022-07-29 11:04:37 +02:00
0f691d4dc6 Translated using Weblate (Indonesian)
Currently translated at 100.0% (51 of 51 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/id/
2022-07-17 02:04:32 +02:00
97d058da1b Translated using Weblate (Swedish)
Currently translated at 100.0% (51 of 51 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2022-07-17 02:04:32 +02:00
a96278bc44 Translated using Weblate (Czech)
Currently translated at 100.0% (51 of 51 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2022-07-17 02:04:31 +02:00
33 changed files with 390 additions and 32 deletions

1
.containerignore Normal file
View File

@ -0,0 +1 @@
release/

17
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: 'Close stale issues'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
with:
stale-issue-message: 'This issue is stale because it has been open 150 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
days-before-issue-stale: 150
days-before-issue-close: 14
days-before-pr-stale: -1
days-before-pr-close: -1
exempt-issue-labels: 'longterm,enhancement,parity-with-android,prio:medium,prio:high,electron issue,encrypted room search,build infrastructure'

26
Containerfile.debian Normal file
View File

@ -0,0 +1,26 @@
ARG NODE_VERSION
FROM docker.io/node:${NODE_VERSION}-buster
RUN apt-get -qq update && apt-get -qq install --no-install-recommends -y \
curl \
g++ \
gcc \
git \
jq \
libarchive-tools \
libsecret-1-dev \
libsqlcipher-dev \
libssl-dev \
make \
openssl \
pkg-config \
python \
tcl \
vim
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal
WORKDIR /project

21
Containerfile.fedora Normal file
View File

@ -0,0 +1,21 @@
FROM docker.io/fedora:38
RUN dnf install -y openssl openssl-devel cargo llvm libsecret libsecret-devel sqlcipher sqlcipher-devel g++ ruby-devel gcc make rpm-build libffi-devel tcl libxcrypt-compat pkgconf perl
# node setup
ARG NODE_VERSION
RUN mkdir -p /usr/local/n
RUN mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
RUN bash n ${NODE_VERSION}
RUN npm install -g n
RUN npm install -g yarn
RUN npm install -g node-gyp
RUN gem install --no-user-install --no-document fpm
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal
WORKDIR /project

13
Containerfile.windows Normal file
View File

@ -0,0 +1,13 @@
ARG CONTAINER_IMAGE_DEBIAN
FROM ${CONTAINER_IMAGE_DEBIAN}:latest
RUN dpkg --add-architecture i386 && apt-get update && apt-get install --no-install-recommends -y \
wine \
wine32 \
wine64 \
libwine \
libwine:i386 \
fonts-wine \
zip
WORKDIR /project

View File

@ -1,13 +1,18 @@
.PHONY: all setup regenerate-i18n web desktop-common linux debian rpm pacman local-pkgbuild local-pkgbuild-install windows windows-portable
.PHONY: web-release debian-release rpm-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release
.PHONY: macos-common macos macos-mas macos-release macos-mas-release icns
.PHONY: clean
.PHONY: container-build-debian container-build-fedora container-build-windows
.PHONY: container-web-release container-debian-release container-rpm-release container-appimage-release container-windows-release container-release container-local-pkgbuild
.PHONY: clean undo_setup fixup
.PHONY: fix_yarn_cache
CFGDIR ?= configs/sc
all: web
YARN ?= yarnpkg
CONTAINER_ENGINE ?= podman
NODE_VERSION ?= 18
VERSION := $(shell grep version element-desktop/package.json | sed 's|.*: \"\(.*\)\",|\1|')
WEB_APP_NAME := $(shell grep '"name"' element-web/package.json | head -n 1 | sed 's|.*: \"\(.*\)\",|\1|')
@ -32,6 +37,10 @@ OUT_WIN64_PORTABLE_BETTER_NAME := $(PRODUCT_NAME)_win-portable_v$(VERSION)
OUT_MACOS := $(DESKTOP_OUT)/$(PRODUCT_NAME)-$(VERSION)-universal.dmg
OUT_MACOS_MAS := $(DESKTOP_OUT)/mas-universal/$(PRODUCT_NAME).app
CONTAINER_IMAGE_DEBIAN := schildichat-desktop-containerbuild-debian
CONTAINER_IMAGE_FEDORA := schildichat-desktop-containerbuild-fedora
CONTAINER_IMAGE_WINDOWS := schildichat-desktop-containerbuild-windows
RELEASE_DIR := release
CURRENT_RELEASE_DIR := $(RELEASE_DIR)/$(VERSION)
@ -68,7 +77,7 @@ web: setup
desktop-common: web
$(YARN) --cwd element-desktop run fetch --cfgdir ''
SQLCIPHER_STATIC=1 $(YARN) --cwd element-desktop run build:native
SQLCIPHER_BUNDLED=1 $(YARN) --cwd element-desktop run build:native
macos-common: web icns
$(YARN) --cwd element-desktop run fetch --cfgdir ''
@ -153,10 +162,44 @@ macos-mas-release: macos-mas
mkdir -p $(CURRENT_RELEASE_DIR)
cp $(OUT_MACOS_MAS) $(CURRENT_RELEASE_DIR)
container-build-debian:
$(CONTAINER_ENGINE) build --security-opt seccomp=unconfined --security-opt label=disable -t $(CONTAINER_IMAGE_DEBIAN) -f Containerfile.debian --build-arg NODE_VERSION=$(NODE_VERSION) .
container-build-fedora:
$(CONTAINER_ENGINE) build --security-opt seccomp=unconfined --security-opt label=disable -t $(CONTAINER_IMAGE_FEDORA) -f Containerfile.fedora --build-arg NODE_VERSION=$(NODE_VERSION) .
container-build-windows: container-build-debian
$(CONTAINER_ENGINE) build --security-opt seccomp=unconfined --security-opt label=disable -t $(CONTAINER_IMAGE_WINDOWS) -f Containerfile.windows --build-arg CONTAINER_IMAGE_DEBIAN=$(CONTAINER_IMAGE_DEBIAN) .
container-web-release: container-build-debian
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_DEBIAN):latest make web-release
container-debian-release: container-build-debian
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_DEBIAN):latest make debian-release
container-rpm-release: container-build-fedora
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_FEDORA):latest make rpm-release
container-appimage-release: container-build-debian
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_DEBIAN):latest make appimage-release
container-windows-release: container-build-windows
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_WINDOWS):latest make windows-release
container-release: container-build-windows container-build-fedora
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_WINDOWS):latest make web-release debian-release appimage-release windows-setup-release windows-portable-release
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_FEDORA):latest make rpm-release
container-local-pkgbuild: container-build-debian
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD):/project --security-opt seccomp=unconfined --security-opt label=disable $(CONTAINER_IMAGE_DEBIAN):latest make local-pkgbuild
bom.lock: element-desktop/yarn.lock element-web/yarn.lock matrix-js-sdk/yarn.lock matrix-react-sdk/yarn.lock
./build-bom.sh
bom: bom.lock
fix_yarn_cache:
$(YARN) cache list || $(YARN) cache clean
clean:
$(YARN) --cwd matrix-js-sdk clean
$(YARN) --cwd matrix-react-sdk clean
@ -166,3 +209,11 @@ clean:
rm -rf element-web/dist
rm -rf local-pkgbuild
rm -f bom.lock
undo_setup:
rm -rf element-desktop/node_modules element-web/node_modules matrix-react-sdk/node_modules matrix-js-sdk/node_modules i18n-helper/node_modules element-desktop/.hak
fixup: undo_setup fix_yarn_cache
make setup
make clean
make setup

View File

@ -54,7 +54,7 @@ The following are the dependencies required to build SchildiChat Web/Desktop on
```
# apt install vim curl git make gcc g++ python jq libsqlcipher-dev pkg-config libsecret-1-dev libarchive-tools openssl libssl-dev tcl
# curl -sL https://deb.nodesource.com/setup_14.x | bash -
# curl -sL https://deb.nodesource.com/setup_16.x | bash -
# apt update
# apt install nodejs

View File

@ -1,6 +1,11 @@
{
"update_base_url": null,
"default_server_name": "matrix.org",
"default_server_config": {
"m.homeserver": {
"base_url": "https://matrix-client.matrix.org",
"server_name": "matrix.org"
}
},
"brand": "SchildiChat",
"integrations_ui_url": "https://scalar.vector.im/",
"integrations_rest_url": "https://scalar.vector.im/api",
@ -11,10 +16,13 @@
"https://scalar-staging.vector.im/api",
"https://scalar-staging.riot.im/scalar/api"
],
"showLabsSettings": true,
"roomDirectory": {
"show_labs_settings": true,
"room_directory": {
"servers": [
"matrix.org"
"matrix.org",
"gitter.im",
"libera.chat",
"schildi.chat"
]
},
"enable_presence_by_hs_url": {

View File

@ -20,8 +20,11 @@ debdate=$(date +%Y-%m-%d -r $debpath)
pushd "$repopath" > /dev/null
git fetch
git checkout master
git reset --hard origin/master
git checkout -B "release-v$version"
yamlFile="chat.schildi.desktop.yaml"
xmlFile="chat.schildi.desktop.metainfo.xml"
@ -33,8 +36,8 @@ sed -i "s|^\s\s<releases>$| <releases>\n <release version=\"$version\" date=
git add $yamlFile $xmlFile
git commit -m "Bump version to v$version"
git push
git push -f --set-upstream origin "release-v$version"
popd > /dev/null
echo "Release v$version published on flathub!"
echo "Release v$version published on flathub, now merge that branch as PR: https://github.com/flathub/chat.schildi.desktop/"

6
flake.lock generated
View File

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1633901457,
"narHash": "sha256-GNJLwKENqEA4xlzkWI76VLHBAua4LUIlTeeiH4FR7Gc=",
"lastModified": 1699380656,
"narHash": "sha256-H9kQH3J2Z15Ady3zVQsN/tXv8qnRr+p1B0eUkR1bKfE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f358794824b4595d77fec93732485d329ed7b0e0",
"rev": "03e7a22654c44489a0a70ea0e237de3e512cd8a6",
"type": "github"
},
"original": {

61
generate_changelog.sh Executable file
View File

@ -0,0 +1,61 @@
#!/bin/bash
set -e
mydir="$(dirname "$(realpath "$0")")"
pushd "$mydir" > /dev/null
source ./merge_helpers.sh
# Check branch
check_branch $branch
forall_repos check_branch $branch
# Ensure clean git state
forall_repos check_clean_git
# Fetch upstream
forall_repos git fetch origin > /dev/null 2>/dev/null
forall_repos git fetch upstream > /dev/null 2>/dev/null
(
# Add new line below git log: https://unix.stackexchange.com/a/345558
get_latest_upstream_tag
forelement_repos git log --pretty=format:"- %s" "sc" "^$latest_upstream_tag" "^master" \
| printf '%s\n' "$(cat)" \
| sed "s|Merge tag '\\(.*\\)' into sc.*|Update codebase to Element \1|" \
| sed "s|Merge tag '\\(.*\\)' into merge.*|Update codebase to Element \1|"
get_current_mxsdk_tags
pushd "matrix-js-sdk" > /dev/null
git log --pretty=format:"- %s" "sc" "^$current_mxjssdk_tag" "^master" \
| printf '%s\n' "$(cat)" \
| grep -v "Merge .*tag"
popd > /dev/null
pushd "matrix-react-sdk" > /dev/null
git log --pretty=format:"- %s" "sc" "^$current_mxreactsdk_tag" "^master" \
| printf '%s\n' "$(cat)" \
| grep -v "Merge .*tag"
popd > /dev/null
) \
| grep -v "Automatic i18n reversion" \
| grep -v "Automatic package.json reversion" \
| grep -v "Merge .*branch" \
| grep -v "Automatic theme update" \
| grep -v "Automatic package.json adjustment" \
| grep -v "Automatic i18n adjustment" \
| grep -v "Update version to .*-sc\\..*" \
| grep -v "\\.sh" \
| grep -v "\\.md" \
| grep -v "Added translation using Weblate" \
| grep -v "Translated using Weblate" \
| grep -v "weblate/sc" \
| grep -v "\\[.*merge.*\\]" \
| awk '!seen[$0]++' `# https://stackoverflow.com/a/1444448` \
|| echo "No significant changes since the last stable release"
popd > /dev/null

15
hard_reset_repos.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -e
mydir="$(dirname "$(realpath "$0")")"
cd "$mydir"
source ./merge_helpers.sh
# Note: this doesn't delete files starting with a dot,
# and in particular not the '.git' directory, which we
# want to keep
forall_repos bash -c 'rm -rf *'
forall_repos git reset HEAD --hard

View File

@ -35,7 +35,13 @@ function writeStrings(p, strings) {
let strings = readStrings(p);
for (const key of Object.keys(strings)) {
strings[key] = strings[key].replace(/Element/g, "SchildiChat").replace(/element\.io/g, "schildi.chat");
strings[key] = strings[key]
.replace(/Element/g, "SchildiChat")
.replace(/element\.io/g, "schildi.chat")
// It's still Element Call
.replace(/SchildiChat Call/g, "Element Call")
.replace(/SchildiChat-Call/g, "Element-Call");
}
if (overlayPath) {

View File

@ -1 +1,3 @@
{}
{
"Show": "Mutat"
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -21,8 +21,8 @@
"MXID": "MXID",
"In group chats": "Ve skupinových chatech",
"In public rooms": "Ve veřejných místnostech",
"All rooms you're in will appear in Home.": "Všechny místnosti, ve kterých se nacházíte, se zobrazí v domovském zobrazení.",
"Show all rooms in Home": "Ukázat všechny místnosti v domovském zobrazení",
"All rooms you're in will appear in Home.": "Všechny místnosti, ve kterých se nacházíte, se zobrazí v Úvodu.",
"Show all rooms in Home": "Zobrazit všechny místnosti v Úvodu",
"Show people in spaces": "Ukázat lidi v prostorech",
"Show notification badges for People in Spaces": "Zobrazit odznaky oznámení pro Lidé v prostorech",
"Return to the room previously opened in a space": "Návrat do dříve otevřené místnosti v prostoru",
@ -47,5 +47,9 @@
"Corners": "Rohy",
"Round": "Oblé",
"Extra round": "Kulaté",
"Mixed": "Smíšené"
"Mixed": "Smíšené",
"Sound pack": "Balíček zvuků",
"Schildi: Softer sounds for reduced anxiety": "Schildi: Jemnější zvuky pro snížení úzkosti",
"Classic: The same sharp sounds as Element": "Klasické: Stejně ostré zvuky jako Element",
"React with \"%(reaction)s\"": "Reagovat pomocí \"%(reaction)s\""
}

View File

@ -148,5 +148,8 @@
"Mixed": "Gemischt",
"Corners": "Ecken",
"Extra round": "Extra rund",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Die Startseite hilft dir, einen Überblick über deine Chats zu bekommen. Bedenke, dass die Deaktivierung dazu führen kann, dass du bestimmte Räume nicht sehen kannst."
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Die Startseite hilft dir, einen Überblick über deine Chats zu bekommen. Bedenke, dass die Deaktivierung dazu führen kann, dass du bestimmte Räume nicht sehen kannst.",
"Classic: The same sharp sounds as Element": "Klassisch: Die gleichen scharfen Geräusche wie in Element",
"Sound pack": "Geräuschpaket",
"Schildi: Softer sounds for reduced anxiety": "Schildi: Sanftere Klänge für weniger Angstgefühle"
}

View File

@ -49,5 +49,6 @@
"Mixed": "Mixed",
"Sound pack": "Sound pack",
"Schildi: Softer sounds for reduced anxiety": "Schildi: Softer sounds for reduced anxiety",
"Classic: The same sharp sounds as Element": "Classic: The same sharp sounds as Element"
"Classic: The same sharp sounds as Element": "Classic: The same sharp sounds as Element",
"React with \"%(reaction)s\"": "React with \"%(reaction)s\""
}

View File

@ -3,5 +3,27 @@
"Show message bubbles on one side only": "Üzenetbuborékok megjelenítése csak az egyik oldalon",
"Message bubbles": "Üzenet buborékok",
"Show message bubbles depending on the width either on both sides or only on one side": "Üzenetbuborékok megjelenítése a szélességtől függően mindkét oldalon vagy csak az egyik oldalon",
"Normal priority": "Normál prioritás"
"Normal priority": "Normál prioritás",
"Show people and rooms in a combined list": "Személyek és szobák megjelenítése egy egyesített listában",
"Update notifications": "Értesítések frissítése",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Szeretne csatlakozni olyan szobához, amely értesíti Önt az új megjelenésekről? Ez különösen akkor hasznos, ha az Ön platformja nem támogatja a SchildiChat automatikus frissítéseit (pl. Windows és macOS).",
"System": "Rendszer",
"Show all rooms in Home": "Az összes szoba megjelenítése a kezdőoldalon",
"All rooms you're in will appear in Home.": "Az összes szoba, amelyben tartózkodik, megjelenik a Kezdőlapon.",
"Mark as read": "Olvasottnak jelöl",
"Enable YouTube embed player": "YouTube beágyazott lejátszó engedélyezése",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "A Kezdőlap hasznos ahhoz, hogy mindenről áttekintést kapjunk. Ne feledje, hogy a kikapcsolásával bizonyos szobákat nem fog látni.",
"Schildi: Softer sounds for reduced anxiety": "Schildi: Lágyabb hangok a kevesebb stresszért",
"Sound pack": "Hangcsomag",
"Classic: The same sharp sounds as Element": "Klasszikus: Ugyanazok az éles hangok, mint az Elementnél",
"Don't ask again": "Ne kérdezze újra",
"Light theme": "Világos téma",
"Dark theme": "Sötét téma",
"Mark as unread": "Olvasatlannak jelöl",
"Collapse additional buttons": "További gombok összecsukása",
"Theme": "Téma",
"Room list": "Szobák listája",
"Font size and typeface": "Betűméret és betűtípus",
"Message layout": "Üzenetek elrendezése",
"Modern": "Modern"
}

View File

@ -46,5 +46,9 @@
"Corners": "Sudut",
"Round": "Bulat",
"Extra round": "Ekstra bulat",
"Mixed": "Campur"
"Mixed": "Campur",
"Sound pack": "Paket suara",
"Schildi: Softer sounds for reduced anxiety": "Schildi: Suara lebih lembut untuk mengurangi kecemasan",
"Classic: The same sharp sounds as Element": "Klasik: Suara keras yang biasa seperti Element",
"React with \"%(reaction)s\"": "Reaksi dengan \"%(reaction)s\""
}

View File

@ -9,5 +9,26 @@
"Light theme": "Tema chiaro",
"Dark theme": "Tema scuro",
"Normal priority": "Priorità normale",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Vuoi entrare in una stanza che ti notificherà riguardo nuove release? Sarebbe comodo particolarmente se la tua piattaforma non supporta aggiornamenti automatici (Come per esempio Windows o MacOS.)"
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Vuoi entrare in una stanza che ti notificherà riguardo nuove release? Sarebbe comodo particolarmente se la tua piattaforma non supporta aggiornamenti automatici (Come per esempio Windows o MacOS.)",
"Show message bubbles on one side only": "Visualizza bolle messaggi su un lato solo",
"Show message bubbles depending on the width either on both sides or only on one side": "Visualizza bolle messaggi in base alla lunghezza di entrambi i lati o di uno solo",
"User name color mode": "Modalità colore nome utente",
"Room list style": "Stile lista stanze",
"Theme": "Tema",
"Show all rooms in Home": "Visualizza tutte le stanze nella Home",
"All rooms you're in will appear in Home.": "Tutte le stanze in cui partecipi appariranno nella Home.",
"For people": "Per le persone",
"Room list": "Lista stanze",
"Show advanced theme settings": "Visualizza impostazioni avanzate tema",
"Mark rooms as unread": "Permetti di segnare le chat come non lette",
"Message bubbles": "Bolle messaggi",
"Message layout": "Impaginazione messaggi",
"Mark as unread": "Segna come non letto",
"Uniform": "Uniforme",
"Show people in spaces": "Visualizza persone negli spazi",
"MXID": "MXID",
"In public rooms": "Nelle stanze pubbliche",
"In group chats": "Nelle chat di gruppo",
"Font size and typeface": "Dimensione e tipo carattere",
"Hide advanced theme settings": "Nascondi impostazioni avanzate tema"
}

View File

@ -0,0 +1,3 @@
{
"Normal priority": "常優先度"
}

View File

@ -17,5 +17,37 @@
"In group chats": "Pokalbių grupėse",
"In public rooms": "Viešuose kambariuose",
"Show all rooms in Home": "Rodyti visus kambarius Pradžioje",
"All rooms you're in will appear in Home.": "Visi kambariai kuriuose esate bus rodomi Pradžioje."
"All rooms you're in will appear in Home.": "Visi kambariai kuriuose esate bus rodomi Pradžioje.",
"Hide advanced theme settings": "Slėpti išplėstinius temos nustatymus",
"Show advanced theme settings": "Rodyti išplėstinius temos nustatymus",
"Theme": "Tema",
"Font size and typeface": "Šrifto dydis ir raštas",
"Show message bubbles depending on the width either on both sides or only on one side": "Rodyti žinučių burbulus, priklausomai nuo pločio, abiejose pusėse arba tik vienoje pusėje",
"Sound pack": "Garso paketas",
"Schildi: Softer sounds for reduced anxiety": "Schildi: švelnesni garsai sumažintam nerimui",
"Classic: The same sharp sounds as Element": "Klasikiniai: Tie patys aštrūs garsai kaip ir Element",
"Enable YouTube embed player": "Įgalinti YouTube įterptą grotuvą",
"Add custom theme": "Pridėti pasirinktinę temą",
"Mark as unread": "Žymėti kaip neskaitytą",
"Mark as read": "Žymėti kaip perskaitytą",
"User name color mode": "Naudotojo vardo spalvų režimas",
"Uniform": "Vienodi",
"Show notification badges for People in Spaces": "Rodyti pranešimų ženkliukus žmonėms erdvėse",
"Return to the room previously opened in a space": "Grįžti į anksčiau atidarytą kambarį erdvėje",
"If disabled, the space overview will be shown when switching to another space.": "Jei išjungta, perjungiant į kitą erdvę bus rodoma erdvės apžvalga.",
"Room list style": "Kambarių sąrašo stilius",
"Compact: tiny avatar together with name and preview in one line": "Kompaktiška: mažytis avataras kartu su vardu ir peržiūra vienoje eilutėje",
"Intermediate: medium sized avatar with single-line preview": "Vidutinis: vidutinio dydžio avataras su vienos eilutės peržiūra",
"Roomy: big avatar with two-line preview": "Erdvus: didelis avataras su dviejų eilučių peržiūra",
"PowerLevel": "Galios lygis",
"For people": "Žmonėms",
"Show people in spaces": "Rodyti žmones erdvėse",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Jei išjungta, vis tiek galite pridėti tiesioginius pokalbius į asmenines erdves. Jei ši funkcija įjungta, automatiškai matysite visus, kurie yra erdvės nariai.",
"Mark rooms as unread": "Leisti žymėti pokalbius kaip neskaitytus",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Pradžia yra naudinga, kad galėtumėte viską apžvelgti. Turėkite omenyje, kad ją išjungę galite nematyti tam tikrų kambarių.",
"Collapse additional buttons": "Sulankstyti papildomus mygtukus",
"Corners": "Kampai",
"Round": "Apvalus",
"Extra round": "Ypač apvalus",
"Mixed": "Mišrus"
}

View File

@ -8,5 +8,29 @@
"Show message bubbles on one side only": "Vis meldingsbobler kun på én side",
"Show message bubbles depending on the width either on both sides or only on one side": "Vis meldingsbobler avhengig av bredden enten på begge sider eller kun på én side",
"Don't ask again": "Ikke spør igjen",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Ønsker du at et rom skal gi deg merknader om nye utgivelser? Dette er spesielt nyttig hvis din plattform ikke støtter automatiske oppdateringer for SchildiChat (f.eks. Windows og macOS)."
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Ønsker du at et rom skal gi deg merknader om nye utgivelser? Dette er spesielt nyttig hvis din plattform ikke støtter automatiske oppdateringer for SchildiChat (f.eks. Windows og macOS).",
"Hide advanced theme settings": "Skjul avanserte draktinnstillinger",
"Show advanced theme settings": "Vis avanserte draktinnstillinger",
"Theme": "Drakt",
"Room list": "Romliste",
"Font size and typeface": "Størrelse på og type skrift",
"Sound pack": "Lydpakke",
"Schildi: Softer sounds for reduced anxiety": "Schildi: Mykere lyder for mindre angst",
"System": "System",
"Add custom theme": "Legg til egendefinert drakt",
"Theme in use": "Drakt i bruk",
"Light theme": "Lys drakt",
"Dark theme": "Mørk drakt",
"Mark as read": "Marker som lest",
"Mark rooms as unread": "Tillat markering av sludringer som uleste",
"Mark as unread": "Marker som ulest",
"In group chats": "I gruppesludringer",
"In public rooms": "I offentlige rom",
"For people": "For folk",
"Classic: The same sharp sounds as Element": "Klassisk: Samme skarpe lyder som Element",
"Collapse additional buttons": "Fold sammen ytterligere knapper",
"Corners": "Hjørner",
"Round": "Runde",
"Extra round": "Ekstra runde",
"Mixed": "Blandet"
}

View File

@ -40,5 +40,6 @@
"Room list style": "Estilo da lista de salas",
"Mark rooms as unread": "Permitir markar conversas como não lidos",
"Mark as unread": "Markar como não lido",
"Mark as read": "Markar como lido"
"Mark as read": "Markar como lido",
"Collapse additional buttons": "Recolher botões adicionais"
}

View File

@ -46,5 +46,8 @@
"Round": "Runda",
"Extra round": "Extrarunda",
"Mixed": "Blandad",
"Corners": "Hörn"
"Corners": "Hörn",
"Sound pack": "Ljudpaket",
"Schildi: Softer sounds for reduced anxiety": "Schildi: Mjukare ljud för minskad ångest",
"Classic: The same sharp sounds as Element": "Klassisk: Samma skarpa ljud som Element"
}

View File

@ -42,5 +42,13 @@
"Mark as unread": "标记为未读",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "主页对于概览所有消息来说非常有用。请注意:禁用主页可能会让您无法看到某些房间。",
"Enable YouTube embed player": "启用 YouTube 嵌入式播放器",
"Collapse additional buttons": "折叠额外的按钮"
"Collapse additional buttons": "折叠额外的按钮",
"Round": "圆角",
"React with \"%(reaction)s\"": "与 \"%(reaction)s\" 互动",
"Schildi: Softer sounds for reduced anxiety": "Schildi: 舒缓音效以减少焦虑",
"Mixed": "混合",
"Extra round": "超圆角",
"Sound pack": "音频包",
"Classic: The same sharp sounds as Element": "Classic: 与 Element 相同的尖锐声音",
"Corners": "边缘"
}

View File

@ -23,7 +23,13 @@ automatic_i18n_reversion
automatic_packagejson_reversion
# Merge upstream
get_latest_upstream_tag
# Check if specific version to merge passed
if [ -z "$1" ]; then
get_latest_upstream_tag
else
latest_upstream_tag="$1"
fi
forelement_repos git merge "$latest_upstream_tag"
get_current_mxsdk_tags