From 2b1d8e499f57c022396de78299fb89d42e75216a Mon Sep 17 00:00:00 2001 From: Luca Hohmann <34301369+GilgusMaximus@users.noreply.github.com> Date: Thu, 8 Apr 2021 13:54:30 +0200 Subject: [PATCH 1/5] Added board automation for Bugs and Features (#1146) * Added board automation for Bugs and Features * Added correct github secret to automation * Linter fix --- .github/workflows/report.yml | 50 +++++++++++++++++++ .../watch-video-comments.vue | 5 +- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/report.yml diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml new file mode 100644 index 00000000..e24f0b48 --- /dev/null +++ b/.github/workflows/report.yml @@ -0,0 +1,50 @@ +# This is a basic workflow to help you get started with Actions + +name: Project Board Automation + +on: + issues: + types: [labeled, unlabeled, closed, deleted] + +jobs: + assign-issues-to-projects: + runs-on: ubuntu-latest + steps: + + # For bug reports + - name: New bug issue + uses: alex-page/github-project-automation-plus@v0.5.1 + if: github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'bug') + with: + project: Bug Reports + column: To assign + repo-token: ${{ secrets.PUSH_TOKEN }} + action: update + + - name: Bug label removed + uses: alex-page/github-project-automation-plus@v0.5.1 + if: github.event.action == 'unlabeled' || github.event.action == 'closed' || github.event.action == 'deleted' + with: + action: delete + project: Bug Reports + column: To assign + repo-token: ${{ secrets.PUSH_TOKEN }} + + # For feature requests + - name: New feature issue + uses: alex-page/github-project-automation-plus@v0.5.1 + if: github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'enhancement') + with: + project: Feature Requests + column: To assign + repo-token: ${{ secrets.PUSH_TOKEN }} + action: update + + - name: Feature request label removed + uses: alex-page/github-project-automation-plus@v0.5.1 + if: github.event.action == 'unlabeled' || github.event.action == 'closed' || github.event.action == 'deleted' + with: + action: delete + project: Feature Requests + column: To assign + repo-token: ${{ secrets.PUSH_TOKEN }} diff --git a/src/renderer/components/watch-video-comments/watch-video-comments.vue b/src/renderer/components/watch-video-comments/watch-video-comments.vue index 20b96740..a993a373 100644 --- a/src/renderer/components/watch-video-comments/watch-video-comments.vue +++ b/src/renderer/components/watch-video-comments/watch-video-comments.vue @@ -47,8 +47,9 @@ class="commentThumbnail" @click="goToChannel(comment.authorLink)" > -

{{ comment.author }} From 6d2ec8da6bb92b8f04c3610f5489bfbaf8464136 Mon Sep 17 00:00:00 2001 From: Nikita Epifanov Date: Thu, 8 Apr 2021 10:50:41 +0000 Subject: [PATCH 2/5] Translated using Weblate (Russian) Currently translated at 100.0% (450 of 450 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/ --- static/locales/ru.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/locales/ru.yaml b/static/locales/ru.yaml index 5938ce74..3034da1a 100644 --- a/static/locales/ru.yaml +++ b/static/locales/ru.yaml @@ -242,6 +242,7 @@ Settings: Are you sure you want to remove all subscriptions and profiles? This cannot be undone.: Вы уверены, что хотите удалить все подписки и профили? Это нельзя отменить. Remove All Subscriptions / Profiles: Удалить все подписки/профили + Automatically Remove Video Meta Files: Автоматическое удаление мета-файлов видео Data Settings: How do I import my subscriptions?: Как мне импортировать свои подписки? Unknown data key: Неизвестный ключ данных @@ -667,6 +668,10 @@ Tooltips: устаревшие форматы, возвращаемые им, вместо форматов, возвращаемых Invidious. Помогает, когда видео, возвращенные Invidious, не воспроизводятся из-за ограничений страны + Privacy Settings: + Remove Video Meta Files: Если этот параметр включен, FreeTube автоматически удаляет + метафайлы, созданные во время воспроизведения видео, когда страница просмотра + закрывается. More: Больше Playing Next Video Interval: Воспроизведение следующего видео без задержки. Нажмите для отмены. | Воспроизведение следующего видео через {nextVideoInterval} сек. Нажмите From ae76aebc97a1dec22172f95959aae271493cd7ff Mon Sep 17 00:00:00 2001 From: Preston Date: Thu, 8 Apr 2021 09:42:24 -0400 Subject: [PATCH 3/5] Remove unneeded session import --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 1867325c..c180b851 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -1,4 +1,4 @@ -import { app, BrowserWindow, Menu, ipcMain, session, screen } from 'electron' +import { app, BrowserWindow, Menu, ipcMain, screen } from 'electron' import { productName } from '../../package.json' import Datastore from 'nedb' From f07210e951539c966d4c8a15ea85ff5705076456 Mon Sep 17 00:00:00 2001 From: The Cats Date: Thu, 8 Apr 2021 14:34:23 +0000 Subject: [PATCH 4/5] Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (450 of 450 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/ --- static/locales/pt-BR.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/static/locales/pt-BR.yaml b/static/locales/pt-BR.yaml index 37778548..06d0f0f5 100644 --- a/static/locales/pt-BR.yaml +++ b/static/locales/pt-BR.yaml @@ -185,6 +185,7 @@ Settings: 1440p: '1440p' 4k: '4k' 8k: '8k' + Playlist Next Video Interval: Intervalo do próximo vídeo da lista de reprodução Subscription Settings: Subscription Settings: 'Configurações de inscrições' Hide Videos on Watch: 'Esconder vídeos após assisti-los' @@ -241,6 +242,8 @@ Settings: certeza de que quer apagar todas as inscrições e perfis? Esta ação não pode ser desfeita. Remove All Subscriptions / Profiles: Remover Todas as Inscrições / Perfis + Automatically Remove Video Meta Files: Remover automaticamente os metarquivos + de vídeo Data Settings: Subscriptions have been successfully exported: Inscrições foram exportadas com sucesso @@ -291,6 +294,7 @@ Settings: Hide Video Likes And Dislikes: Ocultar curtidas e desgostos do vídeo Hide Video Views: Ocultar Visualizações de Vídeo Hide Active Subscriptions: Ocultar Inscrições Ativas + Hide Playlists: Ocultar listas de reprodução The app needs to restart for changes to take effect. Restart and apply change?: O aplicativo necessita reiniciar para as mudanças fazerem efeito. Reiniciar e aplicar mudança? @@ -621,6 +625,7 @@ Profile: Profile has been updated: Perfil atualizado Profile has been created: Perfil criado Your profile name cannot be empty: Seu nome de perfil não pode ficar em branco + Profile Filter: Filtro de Perfil Version $ is now available! Click for more details: Versão $ está disponível agora! Clique para mais detalhes A new blog is now available, $. Click to view more: Um novo blog está disponível, @@ -633,7 +638,7 @@ This video is unavailable because of missing formats. This can happen due to cou Tooltips: Subscription Settings: Fetch Feeds from RSS: Quando ativado, o FreeTube usará RSS em vez de seu método - padrão para obter o feed de sua assinatura. O RSS é mais rápido e evita o bloqueio + padrão para obter o feed de sua assinatura. O RSS é mais rápido e evita bloqueio de IP, mas não fornece certas informações como duração do vídeo ou status ao vivo Player Settings: @@ -663,4 +668,12 @@ Tooltips: Preferred API Backend: Escolha o backend que o FreeTube usa para obter os dados. A API local é um extrator integrado. A API Invidious requer um servidor Invidious para se conectar. + Privacy Settings: + Remove Video Meta Files: Quando ativado, o FreeTube exclui automaticamente os + metarquivos criados durante a reprodução do vídeo quando a página de exibição + é fechada. More: Mais +Playing Next Video Interval: Reproduzindo o próximo vídeo imediatamente. Clique para + cancelar. | Reproduzindo o próximo vídeo em {nextVideoInterval} segundo(s). Clique + para cancelar. | Reproduzindo o próximo vídeo em {nextVideoInterval} segundos. Clique + para cancelar. From 9b5f2a4715956db340c347b1c7bf1bf3ba06bbde Mon Sep 17 00:00:00 2001 From: Luca Hohmann <34301369+GilgusMaximus@users.noreply.github.com> Date: Thu, 8 Apr 2021 19:51:45 +0200 Subject: [PATCH 5/5] Bumped yt-comment-scraper version (#1179) --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 019b63cc..91669a7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18326,9 +18326,9 @@ } }, "yt-comment-scraper": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/yt-comment-scraper/-/yt-comment-scraper-3.0.2.tgz", - "integrity": "sha512-vWg/2D0eCJ0DTRayBmxqjZdBXSjArDFp/UAlK/r9tOq+x89hyQwuvP5r5URzLeRXGyv0g0COXsNapZGQR5aaPA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/yt-comment-scraper/-/yt-comment-scraper-4.0.1.tgz", + "integrity": "sha512-5uReiiLnaBhTBBsTfxIYcoV62EATe8dXAkkUCkCG3pgLU+qty9iCjNQvSgY8tZhnCPNAPO+lJaxzbGJ3hJRm4g==", "requires": { "axios": "^0.21.1", "node-html-parser": "^2.0.2" diff --git a/package.json b/package.json index a6dc199f..e5dd3365 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "youtube-chat": "git+https://github.com/IcedCoffeee/youtube-chat.git", "youtube-suggest": "^1.1.1", "yt-channel-info": "^2.0.0", - "yt-comment-scraper": "^3.0.2", + "yt-comment-scraper": "^4.0.1", "yt-dash-manifest-generator": "1.1.0", "yt-trending-scraper": "^1.1.1", "yt-xml2vtt": "^1.2.0",