Skip to content

Commit

Permalink
**Automated nightly release 73**
Browse files Browse the repository at this point in the history
commit 3468d68
Author: Emma <[email protected]>

Replace npm-run-all with my fork

commit 579214f
Merge: a3ffbda 24e17de
Author: Emma <[email protected]>

Merge remote-tracking branch 'upstream/development' into development

commit 24e17de
Author: Ivan Boychev <[email protected]>

Translated using Weblate (Bulgarian)

...

**Full Changelog**: 0.17.1-nightly-72...0.17.1-nightly-73
  • Loading branch information
MarmadileManteater committed Oct 29, 2022
2 parents dcef3ca + 3468d68 commit 5926a16
Show file tree
Hide file tree
Showing 32 changed files with 98 additions and 115 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"json-minimizer-webpack-plugin": "^4.0.0",
"lefthook": "^1.1.2",
"mini-css-extract-plugin": "^2.6.1",
"npm-run-all": "^4.1.5",
"npm-run-all": "https://github.com/MarmadileManteater/npm-run-all.git",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"sass": "^1.54.9",
Expand Down
4 changes: 0 additions & 4 deletions src/renderer/components/data-settings/data-settings.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import Vue from 'vue'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import { mapActions, mapMutations } from 'vuex'
import FtCard from '../ft-card/ft-card.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
import FtPrompt from '../ft-prompt/ft-prompt.vue'
import { MAIN_PROFILE_ID } from '../../../constants'
Expand All @@ -25,9 +23,7 @@ export default Vue.extend({
name: 'DataSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-button': FtButton,
'ft-toggle-switch': FtToggleSwitch,
'ft-flex-box': FtFlexBox,
'ft-prompt': FtPrompt
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtSelect from '../ft-select/ft-select.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'

export default Vue.extend({
name: 'PlayerSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-toggle-switch': FtToggleSwitch,
'ft-button': FtButton,
'ft-select': FtSelect,
'ft-flex-box': FtFlexBox
'ft-toggle-switch': FtToggleSwitch
},
computed: {
hideVideoViews: function () {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtSelect from '../ft-select/ft-select.vue'
import FtInput from '../ft-input/ft-input.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
Expand All @@ -11,7 +10,6 @@ export default Vue.extend({
name: 'ExternalPlayerSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-select': FtSelect,
'ft-input': FtInput,
'ft-toggle-switch': FtToggleSwitch,
Expand Down
12 changes: 1 addition & 11 deletions src/renderer/components/ft-button/ft-button.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
import Vue from 'vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
import FtListVideo from '../ft-list-video/ft-list-video.vue'
import FtListChannel from '../ft-list-channel/ft-list-channel.vue'
import FtListPlaylist from '../ft-list-playlist/ft-list-playlist.vue'

export default Vue.extend({
name: 'FtElementList',
components: {
'ft-flex-box': FtFlexBox,
'ft-list-video': FtListVideo,
'ft-list-channel': FtListChannel,
'ft-list-playlist': FtListPlaylist
},
name: 'FtButton',
props: {
label: {
type: String,
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/ft-element-list/ft-element-list.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import Vue from 'vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
import FtAutoGrid from '../ft-auto-grid/ft-auto-grid.vue'
import FtListLazyWrapper from '../ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue'

export default Vue.extend({
name: 'FtElementList',
components: {
'ft-flex-box': FtFlexBox,
'ft-auto-grid': FtAutoGrid,
'ft-list-lazy-wrapper': FtListLazyWrapper
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import FtCard from '../../components/ft-card/ft-card.vue'
import FtFlexBox from '../../components/ft-flex-box/ft-flex-box.vue'
import FtChannelBubble from '../../components/ft-channel-bubble/ft-channel-bubble.vue'
import FtButton from '../../components/ft-button/ft-button.vue'
import FtPrompt from '../../components/ft-prompt/ft-prompt.vue'
import FtSelect from '../ft-select/ft-select.vue'
import { showToast } from '../../helpers/utils'

Expand All @@ -16,7 +15,6 @@ export default Vue.extend({
'ft-flex-box': FtFlexBox,
'ft-channel-bubble': FtChannelBubble,
'ft-button': FtButton,
'ft-prompt': FtPrompt,
'ft-select': FtSelect
},
props: {
Expand Down
4 changes: 0 additions & 4 deletions src/renderer/components/ft-video-player/ft-video-player.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtCard from '../ft-card/ft-card.vue'

import videojs from 'video.js'
import qualitySelector from '@silvermine/videojs-quality-selector'
Expand All @@ -19,9 +18,6 @@ import { calculateColorLuminance, colors, showSaveDialog, showToast } from '../.

export default Vue.extend({
name: 'FtVideoPlayer',
components: {
'ft-card': FtCard
},
beforeRouteLeave: function () {
document.removeEventListener('keydown', this.keyboardShortcutHandler)
if (this.player !== null) {
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/general-settings/general-settings.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Vue from 'vue'
import { mapActions, mapMutations } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtSelect from '../ft-select/ft-select.vue'
import FtInput from '../ft-input/ft-input.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
Expand All @@ -15,7 +14,6 @@ export default Vue.extend({
name: 'GeneralSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-select': FtSelect,
'ft-input': FtInput,
'ft-toggle-switch': FtToggleSwitch,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtSelect from '../ft-select/ft-select.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'

export default Vue.extend({
name: 'ParentalControlSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-toggle-switch': FtToggleSwitch,
'ft-button': FtButton,
'ft-select': FtSelect,
'ft-flex-box': FtFlexBox
'ft-toggle-switch': FtToggleSwitch
},
computed: {
hideSearchBar: function () {
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/player-settings/player-settings.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtSelect from '../ft-select/ft-select.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtSlider from '../ft-slider/ft-slider.vue'
Expand All @@ -17,7 +16,6 @@ export default Vue.extend({
name: 'PlayerSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-select': FtSelect,
'ft-toggle-switch': FtToggleSwitch,
'ft-slider': FtSlider,
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/privacy-settings/privacy-settings.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
Expand All @@ -13,7 +12,6 @@ export default Vue.extend({
name: 'PrivacySettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-button': FtButton,
'ft-toggle-switch': FtToggleSwitch,
'ft-flex-box': FtFlexBox,
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/proxy-settings/proxy-settings.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtSelect from '../ft-select/ft-select.vue'
Expand All @@ -21,7 +20,6 @@ export default Vue.extend({
name: 'ProxySettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-toggle-switch': FtToggleSwitch,
'ft-button': FtButton,
'ft-select': FtSelect,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ export default Vue.extend({
}
},
computed: {
backendFallback: function () {
return this.$store.getters.getBackendFallback
},
backendPreference: function () {
return this.$store.getters.getBackendPreference
},
hidePopularVideos: function () {
return this.$store.getters.getHidePopularVideos
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</p>
</div>
<div
v-if="!hidePopularVideos"
v-if="!hidePopularVideos && (backendFallback || backendPreference === 'invidious')"
class="navOption"
:title="$t('Most Popular')"
@click="navigate('popular')"
Expand Down
3 changes: 3 additions & 0 deletions src/renderer/components/side-nav/side-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default Vue.extend({
isOpen: function () {
return this.$store.getters.getIsSideNavOpen
},
backendFallback: function () {
return this.$store.getters.getBackendFallback
},
backendPreference: function () {
return this.$store.getters.getBackendPreference
},
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/side-nav/side-nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</p>
</div>
<div
v-if="!hidePopularVideos"
v-if="!hidePopularVideos && (backendFallback || backendPreference === 'invidious')"
class="navOption mobileHidden"
role="button"
tabindex="0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtInput from '../ft-input/ft-input.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
Expand All @@ -11,7 +10,6 @@ export default Vue.extend({
name: 'SponsorBlockSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-toggle-switch': FtToggleSwitch,
'ft-input': FtInput,
'ft-flex-box': FtFlexBox,
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/theme-settings/theme-settings.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Vue from 'vue'
import { mapActions } from 'vuex'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtSelect from '../ft-select/ft-select.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtSlider from '../ft-slider/ft-slider.vue'
Expand All @@ -13,7 +12,6 @@ export default Vue.extend({
name: 'ThemeSettings',
components: {
'ft-settings-section': FtSettingsSection,
'ft-card': FtCard,
'ft-select': FtSelect,
'ft-toggle-switch': FtToggleSwitch,
'ft-slider': FtSlider,
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/watch-video-info/watch-video-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Vue from 'vue'
import { mapActions } from 'vuex'
import FtCard from '../ft-card/ft-card.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
import FtIconButton from '../ft-icon-button/ft-icon-button.vue'
import FtShareButton from '../ft-share-button/ft-share-button.vue'
import { MAIN_PROFILE_ID } from '../../../constants'
Expand All @@ -14,7 +13,6 @@ export default Vue.extend({
components: {
'ft-card': FtCard,
'ft-button': FtButton,
'ft-flex-box': FtFlexBox,
'ft-icon-button': FtIconButton,
'ft-share-button': FtShareButton
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Vue from 'vue'
import FtLoader from '../ft-loader/ft-loader.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtListVideo from '../ft-list-video/ft-list-video.vue'

import autolinker from 'autolinker'
import { LiveChat } from '@freetube/youtube-chat'
Expand All @@ -13,8 +12,7 @@ export default Vue.extend({
components: {
'ft-loader': FtLoader,
'ft-card': FtCard,
'ft-button': FtButton,
'ft-list-video': FtListVideo
'ft-button': FtButton
},
beforeRouteLeave: function () {
this.liveChat.stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Vue from 'vue'
import { mapActions } from 'vuex'
import FtLoader from '../ft-loader/ft-loader.vue'
import FtCard from '../ft-card/ft-card.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
import FtListVideo from '../ft-list-video/ft-list-video.vue'
import { copyToClipboard, showToast } from '../../helpers/utils'

Expand All @@ -11,7 +10,6 @@ export default Vue.extend({
components: {
'ft-loader': FtLoader,
'ft-card': FtCard,
'ft-flex-box': FtFlexBox,
'ft-list-video': FtListVideo
},
props: {
Expand Down
4 changes: 1 addition & 3 deletions src/renderer/views/Playlist/Playlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import FtLoader from '../../components/ft-loader/ft-loader.vue'
import FtCard from '../../components/ft-card/ft-card.vue'
import PlaylistInfo from '../../components/playlist-info/playlist-info.vue'
import FtListVideo from '../../components/ft-list-video/ft-list-video.vue'
import FtFlexBox from '../../components/ft-flex-box/ft-flex-box.vue'
import i18n from '../../i18n/index'

export default Vue.extend({
Expand All @@ -13,8 +12,7 @@ export default Vue.extend({
'ft-loader': FtLoader,
'ft-card': FtCard,
'playlist-info': PlaylistInfo,
'ft-list-video': FtListVideo,
'ft-flex-box': FtFlexBox
'ft-list-video': FtListVideo
},
data: function () {
return {
Expand Down
4 changes: 0 additions & 4 deletions src/renderer/views/Settings/Settings.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import Vue from 'vue'
import FtCard from '../../components/ft-card/ft-card.vue'
import FtElementList from '../../components/ft-element-list/ft-element-list.vue'
import GeneralSettings from '../../components/general-settings/general-settings.vue'
import ThemeSettings from '../../components/theme-settings/theme-settings.vue'
import PlayerSettings from '../../components/player-settings/player-settings.vue'
Expand All @@ -18,8 +16,6 @@ import ExperimentalSettings from '../../components/experimental-settings/experim
export default Vue.extend({
name: 'Settings',
components: {
'ft-card': FtCard,
'ft-element-list': FtElementList,
'general-settings': GeneralSettings,
'theme-settings': ThemeSettings,
'player-settings': PlayerSettings,
Expand Down
Loading

0 comments on commit 5926a16

Please sign in to comment.