Skip to content

Commit ee22d0f

Browse files
committed
Merge branch 'development' of https://github.com/FreeTubeApp/FreeTube into feat/add-full-width-layout
2 parents 18cbb18 + f419aa5 commit ee22d0f

File tree

308 files changed

+20010
-14934
lines changed

Some content is hidden

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

308 files changed

+20010
-14934
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@babel/env",
55
{
66
"targets": {
7-
"chrome": "122",
7+
"chrome": "130",
88
"node": "20.9.0"
99
}
1010
}

.eslintignore

-3
This file was deleted.

.eslintrc.js

-127
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Discussions
4-
url: https://github.com/FreeTubeApp/FreeTube/discussions/categories/general
4+
url: https://github.com/FreeTubeApp/FreeTube/discussions/categories/general
55
about: View discussions or start one yourself
66
- name: Questions
7-
url: https://github.com/FreeTubeApp/FreeTube/discussions/categories/q-a
7+
url: https://github.com/FreeTubeApp/FreeTube/discussions/categories/q-a
88
about: Ask and answer questions
99
- name: Matrix Community
1010
url: https://matrix.to/#/+freetube:matrix.org

.github/ISSUE_TEMPLATE/feature_request.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ body:
3434
- type: textarea
3535
attributes:
3636
label: Alternatives Considered
37-
description: A clear and concise description of any alternative solutions or features you've considered.
37+
description: A clear and concise description of any alternative solutions or features you've considered.
3838
validations:
3939
required: true
4040
- type: dropdown

.github/dependabot.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ updates:
1717
patterns:
1818
- "eslint"
1919
- "eslint-*"
20+
- "@eslint/*"
2021
- "yaml-eslint-parser"
2122
- "vue-eslint-parser"
23+
- "neostandard"
2224
stylelint:
2325
patterns:
2426
- "stylelint"

.github/workflows/build.yml

+36-19
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
- win-x64
2121
- win-arm64
2222
- osx-x64
23-
# `osx-arm64` disabled due to "macOS gatekeeper"
24-
# See details in https://github.com/FreeTubeApp/FreeTube/pull/2113
25-
# - osx-arm64
23+
- osx-arm64
2624
include:
2725
- runtime: linux-x64
2826
os: ubuntu-latest
@@ -36,8 +34,8 @@ jobs:
3634
- runtime: osx-x64
3735
os: macOS-latest
3836

39-
# - runtime: osx-arm64
40-
# os: macOS-latest
37+
- runtime: osx-arm64
38+
os: macOS-latest
4139

4240
- runtime: win-x64
4341
os: windows-latest
@@ -86,10 +84,9 @@ jobs:
8684
with:
8785
version: ${{ steps.versionNumber.outputs.result }}
8886

89-
9087
- name: Install libarchive-tools
9188
if: startsWith(matrix.os, 'ubuntu')
92-
run: sudo apt -y install libarchive-tools; echo "Version Number ${{ toJson(job) }} ${{ toJson(needs) }}"
89+
run: sudo apt update; sudo apt -y install libarchive-tools; echo "Version Number ${{ toJson(job) }} ${{ toJson(needs) }}"
9390

9491
- name: Build x64 with Node.js ${{ matrix.node-version}}
9592
if: contains(matrix.runtime, 'x64')
@@ -103,6 +100,19 @@ jobs:
103100
if: contains(matrix.runtime, 'arm64')
104101
run: yarn run build:arm64
105102

103+
- name: Convert X64 AppImage to static runtime
104+
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
105+
run: |
106+
sudo apt install desktop-file-utils
107+
cd build
108+
appimage="FreeTube-${{ steps.versionNumber.outputs.result }}.AppImage"
109+
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" -O ./appimagetool.AppImage
110+
chmod +x ./"$appimage" ./appimagetool.AppImage
111+
./"$appimage" --appimage-extract && rm -f ./"$appimage"
112+
./appimagetool.AppImage --comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 20 \
113+
-n ./squashfs-root ./"$appimage"
114+
rm -rf ./squashfs-root ./appimagetool.AppImage
115+
106116
- name: Upload Linux .zip x64 Artifact
107117
uses: actions/upload-artifact@v4
108118
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
@@ -301,12 +311,12 @@ jobs:
301311
name: freetube-${{ steps.versionNumber.outputs.result }}-mac-x64.dmg
302312
path: build/freetube-${{ steps.versionNumber.outputs.result }}.dmg
303313

304-
# - name: Upload Mac arm64 .dmg Artifact
305-
# uses: actions/upload-artifact@v4
306-
# if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
307-
# with:
308-
# name: freetube-${{ steps.versionNumber.outputs.result }}-mac-arm64.dmg
309-
# path: build/freetube-${{ steps.versionNumber.outputs.result }}-arm64.dmg
314+
- name: Upload Mac arm64 .dmg Artifact
315+
uses: actions/upload-artifact@v4
316+
if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
317+
with:
318+
name: freetube-${{ steps.versionNumber.outputs.result }}-mac-arm64.dmg
319+
path: build/freetube-${{ steps.versionNumber.outputs.result }}-arm64.dmg
310320

311321
- name: Upload Mac x64 .zip Artifact
312322
uses: actions/upload-artifact@v4
@@ -322,9 +332,16 @@ jobs:
322332
name: freetube-${{ steps.versionNumber.outputs.result }}-mac-x64.7z
323333
path: build/freetube-${{ steps.versionNumber.outputs.result }}-mac.7z
324334

325-
# - name: Upload Mac arm64 .zip Artifact
326-
# uses: actions/upload-artifact@v4
327-
# if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
328-
# with:
329-
# name: freetube-${{ steps.versionNumber.outputs.result }}-mac-arm64.zip
330-
# path: build/freetube-${{ steps.versionNumber.outputs.result }}-arm64-mac.zip
335+
- name: Upload Mac arm64 .zip Artifact
336+
uses: actions/upload-artifact@v4
337+
if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
338+
with:
339+
name: freetube-${{ steps.versionNumber.outputs.result }}-mac-arm64.zip
340+
path: build/freetube-${{ steps.versionNumber.outputs.result }}-arm64-mac.zip
341+
342+
- name: Upload Mac arm64 .7z Artifact
343+
uses: actions/upload-artifact@v4
344+
if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
345+
with:
346+
name: freetube-${{ steps.versionNumber.outputs.result }}-mac-arm64.7z
347+
path: build/freetube-${{ steps.versionNumber.outputs.result }}-arm64-mac.7z

.github/workflows/codeql.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ jobs:
3737
# If you wish to specify custom queries, you can do so here or in a config file.
3838
# By default, queries listed here will override any specified in a config file.
3939
# Prefix the list here with "+" to use these queries and those in the config file.
40-
40+
4141
# 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
4242
# queries: security-extended,security-and-quality
4343

44-
4544
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4645
# If this step fails, then you should remove it and run the build manually (see below)
4746
- name: Autobuild
@@ -50,7 +49,7 @@ jobs:
5049
# ℹ️ Command-line programs to run using the OS shell.
5150
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
5251

53-
# If the Autobuild fails above, remove it and uncomment the following three lines.
52+
# If the Autobuild fails above, remove it and uncomment the following three lines.
5453
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
5554

5655
# - run: |

.github/workflows/conflicts.yml

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ jobs:
2020
repoToken: "${{ secrets.GITHUB_TOKEN }}"
2121
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
2222
commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."
23-

.github/workflows/flatpak.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,22 +77,22 @@ jobs:
7777
date +"%Y-%m-%d" >> $GITHUB_ENV
7878
echo 'EOF' >> $GITHUB_ENV
7979
- name: Update x64 File Location in yml File
80-
uses: mikefarah/[email protected].3
80+
uses: mikefarah/[email protected].6
8181
with:
8282
# The Command which should be run
8383
cmd: yq -i '.modules[0].sources[0].url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${{ steps.sub.outputs.result }}-beta/freetube-${{ steps.sub.outputs.result }}-linux-portable-x64.zip"' io.freetubeapp.FreeTube.yml
8484
- name: Update x64 Hash in yml File
85-
uses: mikefarah/[email protected].3
85+
uses: mikefarah/[email protected].6
8686
with:
8787
# The Command which should be run
8888
cmd: yq -i '.modules[0].sources[0].sha256 = "${{ env.HASH_X64 }}"' io.freetubeapp.FreeTube.yml
8989
- name: Update ARM File Location in yml File
90-
uses: mikefarah/[email protected].3
90+
uses: mikefarah/[email protected].6
9191
with:
9292
# The Command which should be run
9393
cmd: yq -i '.modules[0].sources[1].url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${{ steps.sub.outputs.result }}-beta/freetube-${{ steps.sub.outputs.result }}-linux-portable-arm64.zip"' io.freetubeapp.FreeTube.yml
9494
- name: Update ARM Hash in yml File
95-
uses: mikefarah/[email protected].3
95+
uses: mikefarah/[email protected].6
9696
with:
9797
# The Command which should be run
9898
cmd: yq -i '.modules[0].sources[1].sha256 = "${{ env.HASH_ARM64 }}"' io.freetubeapp.FreeTube.yml

.github/workflows/linter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Linter
66
# events but only for the master branch
77
on:
88
pull_request:
9-
branches: [ master, development ]
9+
branches: [ master, development, '**-RC' ]
1010

1111
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1212
jobs:

.github/workflows/no-response.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
name: No Response
2-
3-
# Both `issue_comment` and `scheduled` event types are required for this Action
4-
# to work properly.
5-
on:
6-
issue_comment:
7-
types: [created]
8-
schedule:
9-
# Run daily at midnight.
10-
- cron: '0 0 * * *'
11-
12-
jobs:
13-
noResponse:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: lee-dohm/[email protected]
17-
with:
18-
token: ${{ github.token }}
19-
closeComment: >
20-
This issue has been automatically closed because there has been no response to our request for more information from the original author.
21-
With only the information that is currently in the issue, we don't have enough information to take action.
22-
Please reach out if you have or find the answers we need so that we can investigate further.
23-
daysUntilClose: 14
24-
responseRequiredLabel: "U: Waiting for Response from Author"
1+
name: No Response
2+
3+
# Both `issue_comment` and `scheduled` event types are required for this Action
4+
# to work properly.
5+
on:
6+
issue_comment:
7+
types: [created]
8+
schedule:
9+
# Run daily at midnight.
10+
- cron: '0 0 * * *'
11+
12+
jobs:
13+
noResponse:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: lee-dohm/[email protected]
17+
with:
18+
token: ${{ github.token }}
19+
closeComment: >
20+
This issue has been automatically closed because there has been no response to our request for more information from the original author.
21+
With only the information that is currently in the issue, we don't have enough information to take action.
22+
Please reach out if you have or find the answers we need so that we can investigate further.
23+
daysUntilClose: 7
24+
responseRequiredLabel: "U: Waiting for Response from Author"

0 commit comments

Comments
 (0)