Skip to content

Commit 7616a3d

Browse files
committed
merge master into oidc
2 parents f8fc281 + 0535e1d commit 7616a3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+4757
-2590
lines changed

.eslintrc.cjs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: ["plugin:vue/vue3-recommended", "eslint:recommended", "@unocss", "plugin:prettier/recommended"],
7+
};

.github/workflows/ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup pnpm
1313
uses: pnpm/action-setup@v2
1414
with:
@@ -19,4 +19,8 @@ jobs:
1919
cache: "pnpm"
2020
- run: pnpm install
2121
- run: pnpm build
22+
- uses: actions/upload-artifact@v3
23+
with:
24+
name: build
25+
path: dist
2226
- run: pnpm lint --no-fix

.github/workflows/codeql.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ 'master' ]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [ 'master' ]
9+
schedule:
10+
- cron: '42 11 * * 4'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: [ 'javascript' ]
25+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
26+
# Use only 'java' to analyze code written in Java, Kotlin or both
27+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
28+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
29+
30+
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
34+
# Initializes the CodeQL tools for scanning.
35+
- name: Initialize CodeQL
36+
uses: github/codeql-action/init@v2
37+
with:
38+
languages: ${{ matrix.language }}
39+
# If you wish to specify custom queries, you can do so here or in a config file.
40+
# By default, queries listed here will override any specified in a config file.
41+
# Prefix the list here with "+" to use these queries and those in the config file.
42+
43+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
44+
# queries: security-extended,security-and-quality
45+
46+
47+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
48+
# If this step fails, then you should remove it and run the build manually (see below)
49+
- name: Autobuild
50+
uses: github/codeql-action/autobuild@v2
51+
52+
# ℹ️ Command-line programs to run using the OS shell.
53+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
54+
55+
# If the Autobuild fails above, remove it and uncomment the following three lines.
56+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
57+
58+
# - run: |
59+
# echo "Run, Build Application using script"
60+
# ./location_of_script_within_repo/buildscript.sh
61+
62+
- name: Perform CodeQL Analysis
63+
uses: github/codeql-action/analyze@v2
64+
with:
65+
category: "/language:${{matrix.language}}"

.github/workflows/deploy-azure.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
name: Build and Deploy Job
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
submodules: true
1717
- name: Build And Deploy

.github/workflows/docker-build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-docker-image:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Setup pnpm
1616
uses: pnpm/action-setup@v2
1717
with:
@@ -23,21 +23,21 @@ jobs:
2323
- run: pnpm install
2424
- run: pnpm build && ./localizefonts.sh && mv dist/ dist-ci/
2525
- name: Set up QEMU
26-
uses: docker/setup-qemu-action@v2
26+
uses: docker/setup-qemu-action@v3
2727
with:
2828
platforms: all
2929
- name: Set up Docker Buildx
3030
id: buildx
31-
uses: docker/setup-buildx-action@v2
31+
uses: docker/setup-buildx-action@v3
3232
with:
3333
version: latest
3434
- name: Login to DockerHub
35-
uses: docker/login-action@v2
35+
uses: docker/login-action@v3
3636
with:
3737
username: ${{ secrets.DOCKER_USERNAME }}
3838
password: ${{ secrets.DOCKER_PASSWORD }}
3939
- name: Build and push
40-
uses: docker/build-push-action@v4
40+
uses: docker/build-push-action@v5
4141
with:
4242
context: .
4343
file: ./Dockerfile.ci

.github/workflows/ipfs-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Setup pnpm
1616
uses: pnpm/action-setup@v2
1717
with:

.github/workflows/reviewdog.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: reviewdog
2+
on: [pull_request]
3+
jobs:
4+
eslint:
5+
name: runner / eslint
6+
runs-on: ubuntu-latest
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Setup pnpm
13+
uses: pnpm/action-setup@v2
14+
with:
15+
version: latest
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
cache: "pnpm"
20+
- run: pnpm install
21+
- uses: reviewdog/action-eslint@v1
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
reporter: github-pr-review
25+
eslint_flags: "--ignore-path .gitignore --ext .js,.vue ."

.github/workflows/weblate-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
merge:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Check if en.json has been updated
1313
run: |
1414
if -n git diff ${{ github.event.pull_request.base.sha }}..${{ github.sha }} src/locales/en.json; then

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![AGPL v3](https://shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0.en.html)
44
[![Matrix](https://img.shields.io/matrix/piped:matrix.org)](https://matrix.to/#/#piped:matrix.org)
5+
[![Lemmy](https://img.shields.io/lemmy/piped%40feddit.rocks)](https://feddit.rocks/c/piped)
56
[![Registered Users](https://pipedapi.kavin.rocks/registered/badge)](https://piped.video/register)
67
[![IPFS Build](https://github.com/TeamPiped/Piped/actions/workflows/ipfs-build.yml/badge.svg)](https://piped-ipfs.kavin.rocks/)
78
[![GitHub Repo stars](https://img.shields.io/github/stars/TeamPiped/Piped-Frontend?style=social)](https://github.com/TeamPiped/Piped/stargazers)
@@ -61,6 +62,10 @@ By using Piped, you can freely watch and listen to content without the fear of p
6162
- You can join us via Matrix at [#piped](https://matrix.to/#/#piped:matrix.org).
6263
- You can also join us at the libera.chat IRC network which is bridged to the Matrix room at [#piped](https://web.libera.chat/#piped).
6364

65+
## Public Communities
66+
67+
- You can join us on Lemmy on the [![email protected]](https://feddit.rocks/c/piped) community.
68+
6469
## Self-Hosting
6570

6671
See https://docs.piped.video/docs/self-hosting/ for more details.
@@ -140,12 +145,15 @@ Contributions in any other form are also welcomed.
140145

141146
- [Yattee](https://github.com/yattee/yattee) - an alternative frontend for YouTube, for IOS.
142147
- [LibreTube](https://github.com/Libre-tube/LibreTube) - an alternative frontend for YouTube, for Android.
148+
- [Racoon](https://github.com/shailendramaurya/racoon) - A web based minimal YouTube downloader.
143149
- [Hyperpipe](https://codeberg.org/Hyperpipe/Hyperpipe) - an alternative privacy respecting frontend for YouTube Music.
144150
- [Musicale](https://github.com/Bellisario/musicale) - an alternative to YouTube Music, with style.
145151
- [ytify](https://github.com/n-ce/ytify) - a complementary minimal audio streaming frontend for YouTube.
146152
- [PsTube](https://github.com/prateekmedia/pstube) - Watch and download videos without ads on Android, Linux, Windows, iOS, and Mac OSX.
147153
- [Piped-Material](https://github.com/mmjee/Piped-Material) - A fork of Piped, focusing on better performance and a more usable design.
148154
- [ReacTube](https://github.com/NeeRaj-2401/ReacTube) - Privacy friendly & distraction free Youtube front-end using Piped API.
155+
- [YTDLnis](https://github.com/deniscerri/ytdlnis) - Video and audio downloader for Android that uses Piped to update formats.
156+
- [DeskVideo](https://github.com/malisipi/DeskVideo) - A desktop styled, customizable alternative front-end for YouTube.
149157

150158
## YourKit
151159

localizefonts.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/sh
22

33
base='https://fonts\.(gstatic\.com|kavin\.rocks)'
4-
fonts=$(cat dist/assets/* | grep -Po "$base[^)]*" | sort | uniq)
4+
fonts=$(cat dist/assets/* | grep -Eo "${base}[^)]*" | sort | uniq)
5+
56
for font in $fonts; do
67
file="dist/fonts$(echo "$font" | sed -E "s#$base##")"
78
mkdir -p "$(dirname "$file")"

package.json

+32-38
Original file line numberDiff line numberDiff line change
@@ -10,57 +10,51 @@
1010
"lint": "eslint --fix --color --ignore-path .gitignore --ext .js,.vue ."
1111
},
1212
"dependencies": {
13-
"@fortawesome/fontawesome-svg-core": "6.4.0",
14-
"@fortawesome/free-brands-svg-icons": "6.4.0",
15-
"@fortawesome/free-solid-svg-icons": "6.4.0",
13+
"@fortawesome/fontawesome-svg-core": "6.4.2",
14+
"@fortawesome/free-brands-svg-icons": "6.4.2",
15+
"@fortawesome/free-solid-svg-icons": "6.4.2",
1616
"@fortawesome/vue-fontawesome": "3.0.3",
1717
"buffer": "6.0.3",
18-
"dompurify": "3.0.3",
19-
"hotkeys-js": "3.10.2",
18+
"dompurify": "3.0.5",
19+
"hotkeys-js": "3.12.0",
2020
"javascript-time-ago": "2.5.9",
21+
"linkify-html": "4.1.1",
22+
"linkifyjs": "4.1.1",
2123
"mux.js": "6.3.0",
22-
"shaka-player": "4.3.6",
24+
"qrcode": "^1.5.3",
25+
"shaka-player": "4.4.2",
2326
"stream-browserify": "3.0.0",
2427
"vue": "3.3.4",
25-
"vue-i18n": "9.2.2",
26-
"vue-router": "4.2.2",
28+
"vue-i18n": "9.4.1",
29+
"vue-router": "4.2.5",
2730
"xml-js": "1.6.11"
2831
},
2932
"devDependencies": {
30-
"@iconify-json/fa6-brands": "1.1.11",
31-
"@iconify-json/fa6-solid": "1.1.13",
32-
"@intlify/unplugin-vue-i18n": "0.11.0",
33-
"@unocss/preset-icons": "0.53.1",
34-
"@unocss/preset-web-fonts": "0.53.1",
35-
"@unocss/reset": "0.53.1",
36-
"@unocss/transformer-directives": "0.53.1",
37-
"@unocss/transformer-variant-group": "0.53.1",
38-
"@vitejs/plugin-legacy": "4.0.4",
39-
"@vitejs/plugin-vue": "4.2.3",
33+
"@iconify-json/fa6-brands": "1.1.13",
34+
"@iconify-json/fa6-solid": "1.1.15",
35+
"@intlify/unplugin-vue-i18n": "1.2.0",
36+
"@unocss/eslint-config": "0.56.1",
37+
"@unocss/preset-icons": "0.56.1",
38+
"@unocss/preset-uno": "0.56.1",
39+
"@unocss/preset-web-fonts": "0.56.1",
40+
"@unocss/reset": "0.56.1",
41+
"@unocss/transformer-directives": "0.56.1",
42+
"@unocss/transformer-variant-group": "0.56.1",
43+
"@vitejs/plugin-legacy": "4.1.1",
44+
"@vitejs/plugin-vue": "4.3.4",
4045
"@vue/compiler-sfc": "3.3.4",
41-
"eslint": "8.43.0",
42-
"eslint-config-prettier": "8.8.0",
43-
"eslint-plugin-prettier": "4.2.1",
44-
"eslint-plugin-vue": "9.14.1",
45-
"prettier": "2.8.8",
46-
"unocss": "0.53.1",
47-
"vite": "4.3.9",
46+
"eslint": "8.50.0",
47+
"eslint-config-prettier": "9.0.0",
48+
"eslint-plugin-prettier": "5.0.0",
49+
"eslint-plugin-vue": "9.17.0",
50+
"lightningcss": "1.22.0",
51+
"prettier": "3.0.3",
52+
"unocss": "0.56.1",
53+
"vite": "4.4.9",
4854
"vite-plugin-eslint": "1.8.1",
49-
"vite-plugin-pwa": "0.16.4",
55+
"vite-plugin-pwa": "0.16.5",
5056
"workbox-window": "7.0.0"
5157
},
52-
"eslintConfig": {
53-
"root": true,
54-
"env": {
55-
"node": true
56-
},
57-
"extends": [
58-
"plugin:vue/vue3-essential",
59-
"plugin:prettier/recommended",
60-
"eslint:recommended"
61-
],
62-
"rules": {}
63-
},
6458
"browserslist": [
6559
"last 1 chrome version",
6660
"last 1 firefox version"

0 commit comments

Comments
 (0)