Use Cinny instead of Element as the web client
This commit is contained in:
parent
bcc89b042e
commit
eb87bc6db0
|
@ -10,19 +10,21 @@ steps:
|
||||||
- apt update
|
- apt update
|
||||||
- apt install -y wget
|
- apt install -y wget
|
||||||
# Download and extract
|
# Download and extract
|
||||||
# renovate: datasource=github-releases depName=element-hq/element-web versioning=semver-coerced
|
# renovate: datasource=github-releases depName=cinnyapp/cinny versioning=semver-coerced
|
||||||
- export ELEMENT_VERSION=v1.11.89
|
- export CINNY_VERSION=v4.2.3
|
||||||
- wget -O element.tar.gz https://github.com/element-hq/element-web/releases/download/$ELEMENT_VERSION/element-$ELEMENT_VERSION.tar.gz
|
- wget -O cinny.tar.gz https://github.com/cinnyapp/cinny/releases/download/$CINNY_VERSION/cinny-$CINNY_VERSION.tar.gz
|
||||||
- mkdir payload
|
- mkdir payload
|
||||||
- tar -xzf element.tar.gz --directory payload --strip-components 1
|
- tar -xzf cinny.tar.gz --directory payload --strip-components 1
|
||||||
# Copy customizsations
|
# Copy customizsations
|
||||||
- cp customization/config.json payload/
|
- cp customization/config.json payload/
|
||||||
- cp customization/logo.png payload/welcome/images/
|
|
||||||
- cp customization/background.jpg payload/welcome/images/
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: minio/mc
|
image: minio/mc
|
||||||
secrets: [ access_key, secret_key ]
|
|
||||||
commands:
|
commands:
|
||||||
- mc alias set minio https://s3.infra.bluemedia.dev $ACCESS_KEY $SECRET_KEY
|
- mc alias set minio https://s3.infra.bluemedia.dev $ACCESS_KEY $SECRET_KEY
|
||||||
- mc mirror --overwrite --remove payload/ minio/chatwire-element/
|
- mc mirror --overwrite --remove payload/ minio/chatwire-web/
|
||||||
|
environment:
|
||||||
|
ACCESS_KEY:
|
||||||
|
from_secret: access_key
|
||||||
|
SECRET_KEY:
|
||||||
|
from_secret: secret_key
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 611 KiB |
|
@ -1,283 +1,18 @@
|
||||||
{
|
{
|
||||||
"brand": "ChatWire",
|
"defaultHomeserver": 0,
|
||||||
"branding": {
|
"homeserverList": [
|
||||||
"auth_footer_links": [],
|
"chatwire.eu"
|
||||||
"auth_header_logo_url": "welcome/images/logo.png",
|
|
||||||
"welcome_background_url": "welcome/images/background.jpg"
|
|
||||||
},
|
|
||||||
"default_server_config": {
|
|
||||||
"m.homeserver": {
|
|
||||||
"base_url": "https://matrix.chatwire.eu",
|
|
||||||
"server_name": "chatwire.eu"
|
|
||||||
},
|
|
||||||
"m.identity_server": {
|
|
||||||
"base_url": "https://vector.im"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"disable_custom_urls": false,
|
|
||||||
"disable_guests": false,
|
|
||||||
"disable_login_language_selector": false,
|
|
||||||
"disable_3pid_login": false,
|
|
||||||
"integrations_ui_url": "https://scalar.vector.im/",
|
|
||||||
"integrations_rest_url": "https://scalar.vector.im/api",
|
|
||||||
"integrations_widgets_urls": [
|
|
||||||
"https://scalar.vector.im/_matrix/integrations/v1",
|
|
||||||
"https://scalar.vector.im/api",
|
|
||||||
"https://scalar-staging.vector.im/_matrix/integrations/v1",
|
|
||||||
"https://scalar-staging.vector.im/api",
|
|
||||||
"https://scalar-staging.riot.im/scalar/api"
|
|
||||||
],
|
],
|
||||||
"default_country_code": "DE",
|
"allowCustomHomeservers": false,
|
||||||
"show_labs_settings": false,
|
"featuredCommunities": {
|
||||||
"features": {},
|
"openAsDefault": false,
|
||||||
"default_federate": true,
|
"spaces": [],
|
||||||
"default_theme": "dark",
|
"rooms": [],
|
||||||
"room_directory": {
|
"servers": []
|
||||||
"servers": [
|
|
||||||
"matrix.org",
|
|
||||||
"chatwire.eu",
|
|
||||||
"entropia.de",
|
|
||||||
"ccc-ffm.de",
|
|
||||||
"libera.chat"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"enable_presence_by_hs_url": {
|
|
||||||
"https://matrix.org": false,
|
"hashRouter": {
|
||||||
"https://matrix-client.matrix.org": false
|
"enabled": true,
|
||||||
},
|
"basename": "/"
|
||||||
"jitsi": {
|
|
||||||
"preferred_domain": "meet.ffmuc.net"
|
|
||||||
},
|
|
||||||
"element_call": {
|
|
||||||
"url": "https://call.element.io",
|
|
||||||
"participant_limit": 8,
|
|
||||||
"brand": "Element Call"
|
|
||||||
},
|
|
||||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx",
|
|
||||||
"welcome_user_id": null,
|
|
||||||
"setting_defaults": {
|
|
||||||
"UIFeature.registration": false,
|
|
||||||
"custom_themes": [
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#bd93f9",
|
|
||||||
"primary-color": "#bd93f9",
|
|
||||||
"reaction-row-button-selected-bg-color": "#b9bbbe",
|
|
||||||
"roomlist-background-color": "#1e1f29",
|
|
||||||
"roomlist-highlights-color": "#00000030",
|
|
||||||
"roomlist-separator-color": "#00000000",
|
|
||||||
"roomlist-text-color": "#eeeeee",
|
|
||||||
"roomlist-text-secondary-color": "#eeeeee",
|
|
||||||
"sidebar-color": "#1e1f29",
|
|
||||||
"timeline-background-color": "#1e1f29",
|
|
||||||
"timeline-highlights-color": "#00000030",
|
|
||||||
"timeline-text-color": "#eeeeee",
|
|
||||||
"timeline-text-secondary-color": "#dddddd",
|
|
||||||
"warning-color": "#bd93f9"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Dracula Flat"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#bd93f9",
|
|
||||||
"primary-color": "#bd93f9",
|
|
||||||
"reaction-row-button-selected-bg-color": "#b9bbbe",
|
|
||||||
"roomlist-background-color": "#1e1f29",
|
|
||||||
"roomlist-highlights-color": "#00000030",
|
|
||||||
"roomlist-separator-color": "#4d4d4d90",
|
|
||||||
"roomlist-text-color": "#eeeeee",
|
|
||||||
"roomlist-text-secondary-color": "#eeeeee",
|
|
||||||
"sidebar-color": "#1e1f29",
|
|
||||||
"timeline-background-color": "#282A36",
|
|
||||||
"timeline-highlights-color": "#00000030",
|
|
||||||
"timeline-text-color": "#eeeeee",
|
|
||||||
"timeline-text-secondary-color": "#dddddd",
|
|
||||||
"warning-color": "#bd93f9"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Dracula"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#D9BC00",
|
|
||||||
"primary-color": "#FFDD00",
|
|
||||||
"reaction-row-button-selected-bg-color": "#FFEC70",
|
|
||||||
"roomlist-background-color": "#011223",
|
|
||||||
"roomlist-highlights-color": "#1E354A",
|
|
||||||
"roomlist-separator-color": "#05192D",
|
|
||||||
"roomlist-text-color": "#FFEC70",
|
|
||||||
"roomlist-text-secondary-color": "#FFF3A4",
|
|
||||||
"sidebar-color": "#020F1B",
|
|
||||||
"timeline-background-color": "#05192D",
|
|
||||||
"timeline-highlights-color": "#011223",
|
|
||||||
"timeline-text-color": "#FFF3A4",
|
|
||||||
"timeline-text-secondary-color": "#A79000",
|
|
||||||
"warning-color": "#FBC403"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Luxury Dark theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#41c7b9",
|
|
||||||
"primary-color": "#4695f7",
|
|
||||||
"reaction-row-button-selected-bg-color": "#4695f7",
|
|
||||||
"roomlist-background-color": "#184956",
|
|
||||||
"roomlist-highlights-color": "#2d5b69",
|
|
||||||
"roomlist-separator-color": "#2d5b69",
|
|
||||||
"roomlist-text-color": "#dbb32d",
|
|
||||||
"roomlist-text-secondary-color": "#FFFFFF",
|
|
||||||
"sidebar-color": "#103c48",
|
|
||||||
"timeline-background-color": "#2d5b69",
|
|
||||||
"timeline-highlights-color": "#184956",
|
|
||||||
"timeline-text-color": "#FFFFFF",
|
|
||||||
"timeline-text-secondary-color": "#72898f",
|
|
||||||
"warning-color": "#fa5750"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Selenized dark theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#70b433",
|
|
||||||
"primary-color": "#4695f7",
|
|
||||||
"reaction-row-button-selected-bg-color": "#4695f7",
|
|
||||||
"roomlist-background-color": "#252525",
|
|
||||||
"roomlist-highlights-color": "#3b3b3b",
|
|
||||||
"roomlist-separator-color": "#121212",
|
|
||||||
"roomlist-text-color": "#ffffff",
|
|
||||||
"roomlist-text-secondary-color": "#b9b9b9",
|
|
||||||
"sidebar-color": "#181818",
|
|
||||||
"timeline-background-color": "#181818",
|
|
||||||
"timeline-highlights-color": "#252525",
|
|
||||||
"timeline-text-color": "#FFFFFF",
|
|
||||||
"timeline-text-secondary-color": "#777777",
|
|
||||||
"warning-color": "#ed4a46"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Selenized black theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#ad8900",
|
|
||||||
"primary-color": "#009c8f",
|
|
||||||
"reaction-row-button-selected-bg-color": "#4695f7",
|
|
||||||
"roomlist-background-color": "#ece3cc",
|
|
||||||
"roomlist-highlights-color": "#fbf3db",
|
|
||||||
"roomlist-separator-color": "#fbf3db",
|
|
||||||
"roomlist-text-color": "#c25d1e",
|
|
||||||
"roomlist-text-secondary-color": "#000000",
|
|
||||||
"sidebar-color": "#d5cdb6",
|
|
||||||
"timeline-background-color": "#fbf3db",
|
|
||||||
"timeline-highlights-color": "#ece3cc",
|
|
||||||
"timeline-text-color": "#000000",
|
|
||||||
"timeline-text-secondary-color": "#777777",
|
|
||||||
"warning-color": "#d2212d"
|
|
||||||
},
|
|
||||||
"is_dark": false,
|
|
||||||
"name": "Selenized light theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#7289DA",
|
|
||||||
"primary-color": "#00b0f4",
|
|
||||||
"reaction-row-button-selected-bg-color": "#b9bbbe",
|
|
||||||
"roomlist-background-color": "#2f3136",
|
|
||||||
"roomlist-highlights-color": "#393c42",
|
|
||||||
"roomlist-separator-color": "#36393f",
|
|
||||||
"roomlist-text-color": "#FFFFFF",
|
|
||||||
"roomlist-text-secondary-color": "#99AAB5",
|
|
||||||
"sidebar-color": "#23272A",
|
|
||||||
"timeline-background-color": "#36393f",
|
|
||||||
"timeline-highlights-color": "#32353b",
|
|
||||||
"timeline-text-color": "#FFFFFF",
|
|
||||||
"timeline-text-secondary-color": "#99AAB5",
|
|
||||||
"warning-color": "#f04747"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Discord dark theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#a3be8c",
|
|
||||||
"primary-color": "#5e81ac",
|
|
||||||
"reaction-row-button-selected-bg-color": "#bf616a",
|
|
||||||
"roomlist-background-color": "#e5e9f0",
|
|
||||||
"roomlist-highlights-color": "#eceff4",
|
|
||||||
"roomlist-separator-color": "#eceff4",
|
|
||||||
"roomlist-text-color": "#d08770",
|
|
||||||
"roomlist-text-secondary-color": "#3b4252",
|
|
||||||
"sidebar-color": "#d8dee9",
|
|
||||||
"timeline-background-color": "#eceff4",
|
|
||||||
"timeline-highlights-color": "#e5e9f0",
|
|
||||||
"timeline-text-color": "#2e3440",
|
|
||||||
"timeline-text-secondary-color": "#3b4252",
|
|
||||||
"warning-color": "#bf616a"
|
|
||||||
},
|
|
||||||
"is_dark": false,
|
|
||||||
"name": "Nord light theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#a3be8c",
|
|
||||||
"primary-color": "#88c0d0",
|
|
||||||
"reaction-row-button-selected-bg-color": "#bf616a",
|
|
||||||
"roomlist-background-color": "#3b4252",
|
|
||||||
"roomlist-highlights-color": "#2e3440",
|
|
||||||
"roomlist-separator-color": "#434c5e",
|
|
||||||
"roomlist-text-color": "#ebcb8b",
|
|
||||||
"roomlist-text-secondary-color": "#e5e9f0",
|
|
||||||
"sidebar-color": "#2e3440",
|
|
||||||
"timeline-background-color": "#434c5e",
|
|
||||||
"timeline-highlights-color": "#3b4252",
|
|
||||||
"timeline-text-color": "#eceff4",
|
|
||||||
"timeline-text-secondary-color": "#81a1c1",
|
|
||||||
"warning-color": "#bf616a"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Nord dark theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#cc7b19",
|
|
||||||
"primary-color": "#9F8652",
|
|
||||||
"reaction-row-button-selected-bg-color": "#cc7b19",
|
|
||||||
"roomlist-background-color": "#191919",
|
|
||||||
"roomlist-highlights-color": "#323232",
|
|
||||||
"roomlist-separator-color": "#4c4c4c",
|
|
||||||
"roomlist-text-color": "#cc7b19",
|
|
||||||
"roomlist-text-secondary-color": "#e5e5e5",
|
|
||||||
"sidebar-color": "#000000",
|
|
||||||
"timeline-background-color": "#000000",
|
|
||||||
"timeline-highlights-color": "#212121",
|
|
||||||
"timeline-text-color": "#e5e5e5",
|
|
||||||
"timeline-text-secondary-color": "#b2b2b2",
|
|
||||||
"warning-color": "#f9c003"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "ThomCat black theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"colors": {
|
|
||||||
"accent-color": "#73ba25",
|
|
||||||
"primary-color": "#35b9ab",
|
|
||||||
"reaction-row-button-selected-bg-color": "#bf616a",
|
|
||||||
"roomlist-background-color": "#4a4a4a",
|
|
||||||
"roomlist-highlights-color": "#2a2a2a",
|
|
||||||
"roomlist-separator-color": "#3a3a3a",
|
|
||||||
"roomlist-text-color": "#fff",
|
|
||||||
"roomlist-text-secondary-color": "#ddd",
|
|
||||||
"sidebar-color": "#2a2a2a",
|
|
||||||
"timeline-background-color": "#3a3a3a",
|
|
||||||
"timeline-highlights-color": "#bf616a",
|
|
||||||
"timeline-text-color": "#eee",
|
|
||||||
"timeline-text-secondary-color": "#6da741",
|
|
||||||
"warning-color": "#bf616a"
|
|
||||||
},
|
|
||||||
"is_dark": true,
|
|
||||||
"name": "Geeko dark theme"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Binary file not shown.
Before Width: | Height: | Size: 7.9 KiB |
|
@ -5,7 +5,7 @@
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"fileMatch": ["^\\.woodpecker/.*\\.ya?ml$"],
|
"fileMatch": ["^\\.woodpecker/.*\\.ya?ml$"],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"datasource=(?<datasource>.*?)( registryUrl=(?<registryUrl>[^ ]*))? depName=(?<depName>[^ ]*)( versioning=(?<versioning>.*?))?\\s*- export ELEMENT_VERSION=(?<currentValue>[^\\s]*)\\s.*"
|
"datasource=(?<datasource>.*?)( registryUrl=(?<registryUrl>[^ ]*))? depName=(?<depName>[^ ]*)( versioning=(?<versioning>.*?))?\\s*- export CINNY_VERSION=(?<currentValue>[^\\s]*)\\s.*"
|
||||||
],
|
],
|
||||||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue