mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-07-03 06:00:05 +02:00
Compare commits
No commits in common. "v1.11.24-sc.0.test.1" and "v1.11.6-sc.0.test.2" have entirely different histories.
v1.11.24-s
...
v1.11.6-sc
17 changed files with 15 additions and 125 deletions
|
@ -1 +0,0 @@
|
||||||
release/
|
|
17
.github/workflows/stale.yml
vendored
17
.github/workflows/stale.yml
vendored
|
@ -1,17 +0,0 @@
|
||||||
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'
|
|
|
@ -1,30 +0,0 @@
|
||||||
ARG NODE_VERSION
|
|
||||||
FROM node:${NODE_VERSION}
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
COPY . /project
|
|
||||||
WORKDIR /project
|
|
||||||
|
|
||||||
# There might be remnants of the host which break the build
|
|
||||||
RUN make fixup
|
|
|
@ -1,20 +0,0 @@
|
||||||
FROM fedora:latest
|
|
||||||
|
|
||||||
RUN dnf install -y openssl openssl-devel rust cargo libsecret libsecret-devel g++ ruby-devel gcc make rpm-build libffi-devel tcl libxcrypt-compat
|
|
||||||
|
|
||||||
# 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 --ignore-dependencies --no-user-install --no-document fpm
|
|
||||||
|
|
||||||
COPY . /project
|
|
||||||
WORKDIR /project
|
|
||||||
|
|
||||||
# There might be remnants of the host which break the build
|
|
||||||
RUN make fixup
|
|
25
Makefile
25
Makefile
|
@ -1,8 +1,6 @@
|
||||||
.PHONY: all setup regenerate-i18n web desktop-common linux debian rpm pacman local-pkgbuild local-pkgbuild-install windows windows-portable
|
.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: 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: macos-common macos macos-mas macos-release macos-mas-release icns
|
||||||
.PHONY: container-build-debian container-build-fedora
|
|
||||||
.PHONY: container-web-release container-debian-release container-rpm-release container-appimage-release
|
|
||||||
.PHONY: clean undo_setup fixup
|
.PHONY: clean undo_setup fixup
|
||||||
|
|
||||||
CFGDIR ?= configs/sc
|
CFGDIR ?= configs/sc
|
||||||
|
@ -10,8 +8,6 @@ CFGDIR ?= configs/sc
|
||||||
all: web
|
all: web
|
||||||
|
|
||||||
YARN ?= yarnpkg
|
YARN ?= yarnpkg
|
||||||
CONTAINER_ENGINE ?= podman
|
|
||||||
NODE_VERSION ?= 16
|
|
||||||
|
|
||||||
VERSION := $(shell grep version element-desktop/package.json | sed 's|.*: \"\(.*\)\",|\1|')
|
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|')
|
WEB_APP_NAME := $(shell grep '"name"' element-web/package.json | head -n 1 | sed 's|.*: \"\(.*\)\",|\1|')
|
||||||
|
@ -36,9 +32,6 @@ OUT_WIN64_PORTABLE_BETTER_NAME := $(PRODUCT_NAME)_win-portable_v$(VERSION)
|
||||||
OUT_MACOS := $(DESKTOP_OUT)/$(PRODUCT_NAME)-$(VERSION)-universal.dmg
|
OUT_MACOS := $(DESKTOP_OUT)/$(PRODUCT_NAME)-$(VERSION)-universal.dmg
|
||||||
OUT_MACOS_MAS := $(DESKTOP_OUT)/mas-universal/$(PRODUCT_NAME).app
|
OUT_MACOS_MAS := $(DESKTOP_OUT)/mas-universal/$(PRODUCT_NAME).app
|
||||||
|
|
||||||
CONTAINER_IMAGE_DEBIAN := schildichat-desktop-containerbuild-debian
|
|
||||||
CONTAINER_IMAGE_FEDORA := schildichat-desktop-containerbuild-fedora
|
|
||||||
|
|
||||||
RELEASE_DIR := release
|
RELEASE_DIR := release
|
||||||
CURRENT_RELEASE_DIR := $(RELEASE_DIR)/$(VERSION)
|
CURRENT_RELEASE_DIR := $(RELEASE_DIR)/$(VERSION)
|
||||||
|
|
||||||
|
@ -160,24 +153,6 @@ macos-mas-release: macos-mas
|
||||||
mkdir -p $(CURRENT_RELEASE_DIR)
|
mkdir -p $(CURRENT_RELEASE_DIR)
|
||||||
cp $(OUT_MACOS_MAS) $(CURRENT_RELEASE_DIR)
|
cp $(OUT_MACOS_MAS) $(CURRENT_RELEASE_DIR)
|
||||||
|
|
||||||
container-build-debian:
|
|
||||||
$(CONTAINER_ENGINE) build -t $(CONTAINER_IMAGE_DEBIAN) -f Containerfile.debian --build-arg NODE_VERSION=$(NODE_VERSION) .
|
|
||||||
|
|
||||||
container-build-fedora:
|
|
||||||
$(CONTAINER_ENGINE) build -t $(CONTAINER_IMAGE_FEDORA) -f Containerfile.fedora --build-arg NODE_VERSION=$(NODE_VERSION) .
|
|
||||||
|
|
||||||
container-web-release: container-build-debian
|
|
||||||
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD)/release:/project/release --security-opt label=disable $(CONTAINER_IMAGE_DEBIAN):latest make web-release
|
|
||||||
|
|
||||||
container-debian-release: container-build-debian
|
|
||||||
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD)/release:/project/release --security-opt label=disable $(CONTAINER_IMAGE_DEBIAN):latest make debian-release
|
|
||||||
|
|
||||||
container-rpm-release: container-build-fedora
|
|
||||||
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD)/release:/project/release --security-opt label=disable $(CONTAINER_IMAGE_FEDORA):latest make rpm-release
|
|
||||||
|
|
||||||
container-appimage-release: container-build-debian
|
|
||||||
$(CONTAINER_ENGINE) run --rm -ti -v $(PWD)/release:/project/release --security-opt label=disable $(CONTAINER_IMAGE_DEBIAN):latest make appimage-release
|
|
||||||
|
|
||||||
bom.lock: element-desktop/yarn.lock element-web/yarn.lock matrix-js-sdk/yarn.lock matrix-react-sdk/yarn.lock
|
bom.lock: element-desktop/yarn.lock element-web/yarn.lock matrix-js-sdk/yarn.lock matrix-react-sdk/yarn.lock
|
||||||
./build-bom.sh
|
./build-bom.sh
|
||||||
bom: bom.lock
|
bom: bom.lock
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
{
|
{
|
||||||
"update_base_url": null,
|
"update_base_url": null,
|
||||||
"default_server_config": {
|
"default_server_name": "matrix.org",
|
||||||
"m.homeserver": {
|
|
||||||
"base_url": "https://matrix-client.matrix.org",
|
|
||||||
"server_name": "matrix.org"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"brand": "SchildiChat",
|
"brand": "SchildiChat",
|
||||||
"integrations_ui_url": "https://scalar.vector.im/",
|
"integrations_ui_url": "https://scalar.vector.im/",
|
||||||
"integrations_rest_url": "https://scalar.vector.im/api",
|
"integrations_rest_url": "https://scalar.vector.im/api",
|
||||||
|
@ -16,13 +11,10 @@
|
||||||
"https://scalar-staging.vector.im/api",
|
"https://scalar-staging.vector.im/api",
|
||||||
"https://scalar-staging.riot.im/scalar/api"
|
"https://scalar-staging.riot.im/scalar/api"
|
||||||
],
|
],
|
||||||
"show_labs_settings": true,
|
"showLabsSettings": true,
|
||||||
"room_directory": {
|
"roomDirectory": {
|
||||||
"servers": [
|
"servers": [
|
||||||
"matrix.org",
|
"matrix.org"
|
||||||
"gitter.im",
|
|
||||||
"libera.chat",
|
|
||||||
"schildi.chat"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enable_presence_by_hs_url": {
|
"enable_presence_by_hs_url": {
|
||||||
|
|
|
@ -20,11 +20,8 @@ debdate=$(date +%Y-%m-%d -r $debpath)
|
||||||
pushd "$repopath" > /dev/null
|
pushd "$repopath" > /dev/null
|
||||||
|
|
||||||
git fetch
|
git fetch
|
||||||
git checkout master
|
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
|
|
||||||
git checkout -B "release-v$version"
|
|
||||||
|
|
||||||
yamlFile="chat.schildi.desktop.yaml"
|
yamlFile="chat.schildi.desktop.yaml"
|
||||||
xmlFile="chat.schildi.desktop.metainfo.xml"
|
xmlFile="chat.schildi.desktop.metainfo.xml"
|
||||||
|
|
||||||
|
@ -36,8 +33,8 @@ sed -i "s|^\s\s<releases>$| <releases>\n <release version=\"$version\" date=
|
||||||
git add $yamlFile $xmlFile
|
git add $yamlFile $xmlFile
|
||||||
git commit -m "Bump version to v$version"
|
git commit -m "Bump version to v$version"
|
||||||
|
|
||||||
git push -f --set-upstream origin "release-v$version"
|
git push
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
echo "Release v$version published on flathub, now merge that branch as PR: https://github.com/flathub/chat.schildi.desktop/"
|
echo "Release v$version published on flathub!"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 23da57819919e4c952c943d391261d1603036be4
|
Subproject commit e8138b904e656a28f0a2ad260f3ab9f5d85af401
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1f0b06df1402ca6b2559bccead05446b9df8a5eb
|
Subproject commit ed7c271bc8028760639bdee69387bc58956c556b
|
|
@ -16,8 +16,8 @@ forall_repos check_branch $branch
|
||||||
forall_repos check_clean_git
|
forall_repos check_clean_git
|
||||||
|
|
||||||
# Fetch upstream
|
# Fetch upstream
|
||||||
forall_repos git fetch origin > /dev/null 2>/dev/null
|
forall_repos git fetch origin > /dev/null
|
||||||
forall_repos git fetch upstream > /dev/null 2>/dev/null
|
forall_repos git fetch upstream > /dev/null
|
||||||
|
|
||||||
(
|
(
|
||||||
# Add new line below git log: https://unix.stackexchange.com/a/345558
|
# Add new line below git log: https://unix.stackexchange.com/a/345558
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
{}
|
|
|
@ -1 +0,0 @@
|
||||||
{}
|
|
|
@ -21,8 +21,8 @@
|
||||||
"MXID": "MXID",
|
"MXID": "MXID",
|
||||||
"In group chats": "Ve skupinových chatech",
|
"In group chats": "Ve skupinových chatech",
|
||||||
"In public rooms": "Ve veřejných místnostech",
|
"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 Úvodu.",
|
"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": "Zobrazit všechny místnosti v Úvodu",
|
"Show all rooms in Home": "Ukázat všechny místnosti v domovském zobrazení",
|
||||||
"Show people in spaces": "Ukázat lidi v prostorech",
|
"Show people in spaces": "Ukázat lidi v prostorech",
|
||||||
"Show notification badges for People in Spaces": "Zobrazit odznaky oznámení pro Lidé 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",
|
"Return to the room previously opened in a space": "Návrat do dříve otevřené místnosti v prostoru",
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"Normal priority": "常優先度"
|
|
||||||
}
|
|
|
@ -40,6 +40,5 @@
|
||||||
"Room list style": "Estilo da lista de salas",
|
"Room list style": "Estilo da lista de salas",
|
||||||
"Mark rooms as unread": "Permitir markar conversas como não lidos",
|
"Mark rooms as unread": "Permitir markar conversas como não lidos",
|
||||||
"Mark as unread": "Markar como não lido",
|
"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"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0c0854b86419876835d1c6930a3b0c4d9861d3e5
|
Subproject commit cb81a65097a0bb861da9e7384cb7469ed42e7a58
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7a814df97f2afafbb1c0181e6b2996113bfbc971
|
Subproject commit a8c4ff42459a33610b1cba4105b9cdc4f52eaa64
|
Loading…
Add table
Add a link
Reference in a new issue