Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump decode-uri-component from 0.2.0 to 0.2.2 #17

Open
wants to merge 2 commits into
base: asozial
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- asozial

jobs:
deploy:
name: Deployment
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16.x'

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-

- name: Download files
run: |
curl https://raw.githubusercontent.com/asozialesnetzwerk/chat-configs/main/config.json > config.json
curl https://raw.githubusercontent.com/asozialesnetzwerk/chat-configs/main/customize.sh > customize.sh
curl https://raw.githubusercontent.com/asozialesnetzwerk/chat-configs/main/customize-element.sh >> customize.sh

- name: Fix Footer
run: curl https://raw.githubusercontent.com/asozialesnetzwerk/chat-configs/main/VectorAuthFooter.tsx > src/components/views/auth/VectorAuthFooter.tsx
#easy way: run: sed -i 's|<a href="https://matrix.org" target="_blank" rel="noreferrer noopener">{ _t(.Powered by Matrix.) }</a>| |g' src/components/views/auth/VectorAuthFooter.js

- name: Build with yarn
run: |
yarn install
RIOT_OG_IMAGE_URL="themes/element/img/logos/element-logo.svg" yarn dist

- name: Customize login page
run: |
chmod +x customize.sh
./customize.sh

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: webapp
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@

# Element

Element (formerly known as Vector and Riot) is a Matrix web client built using the [Matrix
React SDK](https://github.com/matrix-org/matrix-react-sdk).
Element (früher bekannt als Vector und Riot) ist ein Matrix-Web-Client, der mit dem [Matrix
React SDK](https://github.com/matrix-org/matrix-react-sdk) gebaut wurde.

Auf [asozial.org/chat](https://asozial.org/chat) mit coolem Design und asozial.org als Matrix-Server.

# Supported Environments

Expand Down
70 changes: 5 additions & 65 deletions res/manifest.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,13 @@
{
"name": "Element",
"short_name": "Element",
"name": "Asozialer Chat",
"short_name": "Asozialer Chat",
"display": "standalone",
"theme_color": "#76CFA6",
"theme_color": "#8B0000",
"start_url": "index.html",
"icons": [
{
"src": "/vector-icons/44.png",
"sizes": "44x44",
"type": "image/png"
},
{
"src": "/vector-icons/1240x600.png",
"sizes": "1240x600",
"type": "image/png"
},
{
"src": "/vector-icons/300.png",
"sizes": "300x300",
"type": "image/png"
},
{
"src": "/vector-icons/150.png",
"sizes": "150x150",
"type": "image/png"
},
{
"src": "/vector-icons/88.png",
"sizes": "88x88",
"type": "image/png"
},
{
"src": "/vector-icons/24.png",
"sizes": "24x24",
"type": "image/png"
},
{
"src": "/vector-icons/50.png",
"sizes": "50x50",
"type": "image/png"
},
{
"src": "/vector-icons/620x300.png",
"sizes": "620x300",
"type": "image/png"
},
{
"src": "/vector-icons/1024.png",
"sizes": "1024x1024",
"type": "image/png"
},
{
"src": "/vector-icons/180.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "/vector-icons/152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "/vector-icons/120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src": "/vector-icons/76.png",
"sizes": "76x76",
"src": "/themes/element/img/logos/element-logo-192.png",
"sizes": "192x192",
"type": "image/png"
}
],
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4336,9 +4336,9 @@ decimal.js@^10.4.2:
integrity sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA==

decode-uri-component@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==
version "0.2.2"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9"
integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==

dedent@^0.7.0:
version "0.7.0"
Expand Down