mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Fix remaining warnings
Signed-off-by: marco <marcoambrosini@pm.me>
This commit is contained in:
parent
c3a02bc171
commit
9e9197cc56
116 changed files with 336 additions and 322 deletions
|
|
@ -33,13 +33,13 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import CallView from './components/CallView/CallView'
|
||||
import TopBar from './components/TopBar/TopBar'
|
||||
import CallView from './components/CallView/CallView.vue'
|
||||
import TopBar from './components/TopBar/TopBar.vue'
|
||||
import PreventUnload from 'vue-prevent-unload'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler'
|
||||
import isInCall from './mixins/isInCall'
|
||||
import participant from './mixins/participant'
|
||||
import talkHashCheck from './mixins/talkHashCheck'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler.js'
|
||||
import isInCall from './mixins/isInCall.js'
|
||||
import participant from './mixins/participant.js'
|
||||
import talkHashCheck from './mixins/talkHashCheck.js'
|
||||
import '@nextcloud/dialogs/styles/toast.scss'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -49,21 +49,21 @@
|
|||
|
||||
<script>
|
||||
|
||||
import { EventBus } from './services/EventBus'
|
||||
import { getFileConversation } from './services/filesIntegrationServices'
|
||||
import { EventBus } from './services/EventBus.js'
|
||||
import { getFileConversation } from './services/filesIntegrationServices.js'
|
||||
import {
|
||||
leaveConversationSync,
|
||||
} from './services/participantsService'
|
||||
import CancelableRequest from './utils/cancelableRequest'
|
||||
import { signalingKill } from './utils/webrtc/index'
|
||||
} from './services/participantsService.js'
|
||||
import CancelableRequest from './utils/cancelableRequest.js'
|
||||
import { signalingKill } from './utils/webrtc/index.js'
|
||||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import Axios from '@nextcloud/axios'
|
||||
import UploadEditor from './components/UploadEditor'
|
||||
import CallButton from './components/TopBar/CallButton'
|
||||
import ChatView from './components/ChatView'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler'
|
||||
import browserCheck from './mixins/browserCheck'
|
||||
import UploadEditor from './components/UploadEditor.vue'
|
||||
import CallButton from './components/TopBar/CallButton.vue'
|
||||
import ChatView from './components/ChatView.vue'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler.js'
|
||||
import browserCheck from './mixins/browserCheck.js'
|
||||
import '@nextcloud/dialogs/styles/toast.scss'
|
||||
import DeviceChecker from './components/DeviceChecker/DeviceChecker.vue'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getPublicShareAuthConversationToken } from './services/publicShareAuthService'
|
||||
import browserCheck from './mixins/browserCheck'
|
||||
import { getPublicShareAuthConversationToken } from './services/publicShareAuthService.js'
|
||||
import browserCheck from './mixins/browserCheck.js'
|
||||
import '@nextcloud/dialogs/styles/toast.scss'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -40,16 +40,16 @@
|
|||
<script>
|
||||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import CallView from './components/CallView/CallView'
|
||||
import ChatView from './components/ChatView'
|
||||
import TopBar from './components/TopBar/TopBar'
|
||||
import { EventBus } from './services/EventBus'
|
||||
import CallView from './components/CallView/CallView.vue'
|
||||
import ChatView from './components/ChatView.vue'
|
||||
import TopBar from './components/TopBar/TopBar.vue'
|
||||
import { EventBus } from './services/EventBus.js'
|
||||
import {
|
||||
leaveConversationSync,
|
||||
} from './services/participantsService'
|
||||
import { signalingKill } from './utils/webrtc/index'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler'
|
||||
import talkHashCheck from './mixins/talkHashCheck'
|
||||
} from './services/participantsService.js'
|
||||
import { signalingKill } from './utils/webrtc/index.js'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler.js'
|
||||
import talkHashCheck from './mixins/talkHashCheck.js'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
|||
|
|
@ -47,20 +47,20 @@
|
|||
<script>
|
||||
import PreventUnload from 'vue-prevent-unload'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import CallView from './components/CallView/CallView'
|
||||
import ChatView from './components/ChatView'
|
||||
import CallButton from './components/TopBar/CallButton'
|
||||
import { EventBus } from './services/EventBus'
|
||||
import { getPublicShareConversationData } from './services/filesIntegrationServices'
|
||||
import CallView from './components/CallView/CallView.vue'
|
||||
import ChatView from './components/ChatView.vue'
|
||||
import CallButton from './components/TopBar/CallButton.vue'
|
||||
import { EventBus } from './services/EventBus.js'
|
||||
import { getPublicShareConversationData } from './services/filesIntegrationServices.js'
|
||||
import {
|
||||
leaveConversationSync,
|
||||
} from './services/participantsService'
|
||||
import { signalingKill } from './utils/webrtc/index'
|
||||
import browserCheck from './mixins/browserCheck'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler'
|
||||
import isInCall from './mixins/isInCall'
|
||||
import participant from './mixins/participant'
|
||||
import talkHashCheck from './mixins/talkHashCheck'
|
||||
} from './services/participantsService.js'
|
||||
import { signalingKill } from './utils/webrtc/index.js'
|
||||
import browserCheck from './mixins/browserCheck.js'
|
||||
import sessionIssueHandler from './mixins/sessionIssueHandler.js'
|
||||
import isInCall from './mixins/isInCall.js'
|
||||
import participant from './mixins/participant.js'
|
||||
import talkHashCheck from './mixins/talkHashCheck.js'
|
||||
import '@nextcloud/dialogs/styles/toast.scss'
|
||||
import DeviceChecker from './components/DeviceChecker/DeviceChecker.vue'
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ import Vue from 'vue'
|
|||
container.id = 'spreed-room-select'
|
||||
const body = document.getElementById('body-user')
|
||||
body.appendChild(container)
|
||||
const RoomSelector = () => import('./views/RoomSelector')
|
||||
const RoomSelector = () => import('./views/RoomSelector.vue')
|
||||
const ComponentVM = new Vue({
|
||||
render: h => h(RoomSelector, {
|
||||
props: {
|
||||
|
|
|
|||
|
|
@ -51,9 +51,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MessagesList from './MessagesList/MessagesList'
|
||||
import NewMessageForm from './NewMessageForm/NewMessageForm'
|
||||
import { CONVERSATION } from '../constants'
|
||||
import MessagesList from './MessagesList/MessagesList.vue'
|
||||
import NewMessageForm from './NewMessageForm/NewMessageForm.vue'
|
||||
import { CONVERSATION } from '../constants.js'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/Avatar'
|
||||
import { CONVERSATION } from '../constants'
|
||||
import { CONVERSATION } from '../constants.js'
|
||||
|
||||
export default {
|
||||
name: 'ConversationIcon',
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ConversationIcon from './ConversationIcon'
|
||||
import ConversationIcon from './ConversationIcon.vue'
|
||||
import ListItem from '@nextcloud/vue/dist/Components/ListItem'
|
||||
import { CONVERSATION } from '../constants'
|
||||
import { CONVERSATION } from '../constants.js'
|
||||
|
||||
export default {
|
||||
name: 'ConversationsOptionsList',
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
<script>
|
||||
import moment from '@nextcloud/moment'
|
||||
import RichText from '@juliushaertl/vue-richtext'
|
||||
import SetGuestUsername from './SetGuestUsername'
|
||||
import SetGuestUsername from './SetGuestUsername.vue'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
|||
|
|
@ -89,8 +89,8 @@ import AlertCircle from 'vue-material-design-icons/AlertCircle'
|
|||
import Microphone from 'vue-material-design-icons/Microphone'
|
||||
import MicrophoneOff from 'vue-material-design-icons/MicrophoneOff'
|
||||
import VideoOff from 'vue-material-design-icons/VideoOff'
|
||||
import MediaDevicesSelector from './MediaDevicesSelector'
|
||||
import { devices } from '../mixins/devices'
|
||||
import MediaDevicesSelector from './MediaDevicesSelector.vue'
|
||||
import { devices } from '../mixins/devices.js'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
|||
|
|
@ -93,13 +93,13 @@
|
|||
|
||||
<script>
|
||||
import At from 'vue-at'
|
||||
import UserStatus from '../../../mixins/userStatus'
|
||||
import VueAtReparenter from '../../../mixins/vueAtReparenter'
|
||||
import { EventBus } from '../../../services/EventBus'
|
||||
import { searchPossibleMentions } from '../../../services/mentionsService'
|
||||
import { fetchClipboardContent } from '../../../utils/clipboard'
|
||||
import UserStatus from '../../../mixins/userStatus.js'
|
||||
import VueAtReparenter from '../../../mixins/vueAtReparenter.js'
|
||||
import { EventBus } from '../../../services/EventBus.js'
|
||||
import { searchPossibleMentions } from '../../../services/mentionsService.js'
|
||||
import { fetchClipboardContent } from '../../../utils/clipboard.js'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/Avatar'
|
||||
import Mention from '../../MessagesList/MessagesGroup/Message/MessagePart/Mention'
|
||||
import Mention from '../../MessagesList/MessagesGroup/Message/MessagePart/Mention.vue'
|
||||
import escapeHtml from 'escape-html'
|
||||
import debounce from 'debounce'
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ import Microphone from 'vue-material-design-icons/Microphone'
|
|||
import Close from 'vue-material-design-icons/Close'
|
||||
import Check from 'vue-material-design-icons/Check'
|
||||
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip'
|
||||
import { mediaDevicesManager } from '../../../utils/webrtc/index'
|
||||
import { mediaDevicesManager } from '../../../utils/webrtc/index.js'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import { MediaRecorder } from 'extendable-media-recorder'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
|
|
|
|||
|
|
@ -122,21 +122,21 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AdvancedInput from './AdvancedInput/AdvancedInput'
|
||||
import AdvancedInput from './AdvancedInput/AdvancedInput.vue'
|
||||
import { getFilePickerBuilder } from '@nextcloud/dialogs'
|
||||
import { getCapabilities } from '@nextcloud/capabilities'
|
||||
import Quote from '../Quote'
|
||||
import Quote from '../Quote.vue'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
import Actions from '@nextcloud/vue/dist/Components/Actions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton'
|
||||
import EmojiPicker from '@nextcloud/vue/dist/Components/EmojiPicker'
|
||||
import { EventBus } from '../../services/EventBus'
|
||||
import { shareFile } from '../../services/filesSharingServices'
|
||||
import { CONVERSATION, PARTICIPANT } from '../../constants'
|
||||
import { EventBus } from '../../services/EventBus.js'
|
||||
import { shareFile } from '../../services/filesSharingServices.js'
|
||||
import { CONVERSATION, PARTICIPANT } from '../../constants.js'
|
||||
import Paperclip from 'vue-material-design-icons/Paperclip'
|
||||
import EmoticonOutline from 'vue-material-design-icons/EmoticonOutline'
|
||||
import Send from 'vue-material-design-icons/Send'
|
||||
import AudioRecorder from './AudioRecorder/AudioRecorder'
|
||||
import AudioRecorder from './AudioRecorder/AudioRecorder.vue'
|
||||
|
||||
const picker = getFilePickerBuilder(t('spreed', 'File to share'))
|
||||
.setMultiSelect(false)
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
<script>
|
||||
import CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch'
|
||||
import { PARTICIPANT } from '../../constants'
|
||||
import { PARTICIPANT } from '../../constants.js'
|
||||
import Modal from '@nextcloud/vue/dist/Components/Modal'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
|
||||
|
|
|
|||
|
|
@ -58,9 +58,9 @@ components.
|
|||
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton'
|
||||
import Actions from '@nextcloud/vue/dist/Components/Actions'
|
||||
import RichText from '@juliushaertl/vue-richtext'
|
||||
import FilePreview from './MessagesList/MessagesGroup/Message/MessagePart/FilePreview'
|
||||
import DefaultParameter from './MessagesList/MessagesGroup/Message/MessagePart/DefaultParameter'
|
||||
import { EventBus } from '../services/EventBus'
|
||||
import FilePreview from './MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue'
|
||||
import DefaultParameter from './MessagesList/MessagesGroup/Message/MessagePart/DefaultParameter.vue'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
|
||||
export default {
|
||||
name: 'Quote',
|
||||
|
|
|
|||
|
|
@ -30,10 +30,10 @@
|
|||
|
||||
<script>
|
||||
|
||||
import ParticipantsList from '../ParticipantsList/ParticipantsList'
|
||||
import { ATTENDEE, PARTICIPANT } from '../../../../constants'
|
||||
import UserStatus from '../../../../mixins/userStatus'
|
||||
import Hint from '../../../Hint'
|
||||
import ParticipantsList from '../ParticipantsList/ParticipantsList.vue'
|
||||
import { ATTENDEE, PARTICIPANT } from '../../../../constants.js'
|
||||
import UserStatus from '../../../../mixins/userStatus.js'
|
||||
import Hint from '../../../Hint.vue'
|
||||
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -1,18 +1,19 @@
|
|||
/* eslint-disable import/no-named-as-default-member */
|
||||
import Vuex from 'vuex'
|
||||
import { createLocalVue, shallowMount } from '@vue/test-utils'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import storeConfig from '../../../../../store/storeConfig'
|
||||
import { ATTENDEE, PARTICIPANT } from '../../../../../constants'
|
||||
import AvatarWrapper from '../../../../AvatarWrapper/AvatarWrapper'
|
||||
import storeConfig from '../../../../../store/storeConfig.js'
|
||||
import { ATTENDEE, PARTICIPANT } from '../../../../../constants.js'
|
||||
import AvatarWrapper from '../../../../AvatarWrapper/AvatarWrapper.vue'
|
||||
import Microphone from 'vue-material-design-icons/Microphone'
|
||||
import Phone from 'vue-material-design-icons/Phone'
|
||||
import Video from 'vue-material-design-icons/Video'
|
||||
import HandBackLeft from 'vue-material-design-icons/HandBackLeft'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/ActionText'
|
||||
import { findActionButton } from '../../../../../test-helpers'
|
||||
import { findActionButton } from '../../../../../test-helpers.js'
|
||||
|
||||
import Participant from './Participant'
|
||||
import Participant from './Participant.vue'
|
||||
|
||||
describe('Participant.vue', () => {
|
||||
let conversation
|
||||
|
|
|
|||
|
|
@ -230,11 +230,11 @@ import ActionText from '@nextcloud/vue/dist/Components/ActionText'
|
|||
import ActionSeparator from '@nextcloud/vue/dist/Components/ActionSeparator'
|
||||
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip'
|
||||
import Actions from '@nextcloud/vue/dist/Components/Actions'
|
||||
import { CONVERSATION, PARTICIPANT, ATTENDEE } from '../../../../../constants'
|
||||
import UserStatus from '../../../../../mixins/userStatus'
|
||||
import readableNumber from '../../../../../mixins/readableNumber'
|
||||
import { CONVERSATION, PARTICIPANT, ATTENDEE } from '../../../../../constants.js'
|
||||
import UserStatus from '../../../../../mixins/userStatus.js'
|
||||
import readableNumber from '../../../../../mixins/readableNumber.js'
|
||||
import isEqual from 'lodash/isEqual'
|
||||
import AvatarWrapper from '../../../../AvatarWrapper/AvatarWrapper'
|
||||
import AvatarWrapper from '../../../../AvatarWrapper/AvatarWrapper.vue'
|
||||
import ParticipantPermissionsEditor from './ParticipantPermissionsEditor/ParticipantPermissionsEditor.vue'
|
||||
|
||||
// Material design icons
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
import Vuex from 'vuex'
|
||||
import { createLocalVue, mount } from '@vue/test-utils'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import storeConfig from '../../../../../../store/storeConfig'
|
||||
import { PARTICIPANT, ATTENDEE } from '../../../../../../constants'
|
||||
import storeConfig from '../../../../../../store/storeConfig.js'
|
||||
import { PARTICIPANT, ATTENDEE } from '../../../../../../constants.js'
|
||||
|
||||
import PermissionsEditor from '../../../../../PermissionsEditor/PermissionsEditor.vue'
|
||||
import ParticipantPermissionsEditor from './ParticipantPermissionsEditor'
|
||||
import ParticipantPermissionsEditor from './ParticipantPermissionsEditor.vue'
|
||||
|
||||
describe('ParticipantPermissionsEditor.vue', () => {
|
||||
let conversation
|
||||
|
|
@ -44,6 +44,7 @@ describe('ParticipantPermissionsEditor.vue', () => {
|
|||
testStoreConfig.modules.conversationsStore.getters.conversation = () => conversationGetterMock
|
||||
// Add a mock function for the action and see if its called and with which arguments
|
||||
testStoreConfig.modules.participantsStore.actions.setPermissions = jest.fn()
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(testStoreConfig)
|
||||
|
||||
})
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
<script>
|
||||
import { showError, showSuccess } from '@nextcloud/dialogs'
|
||||
import { PARTICIPANT } from '../../../../../../constants'
|
||||
import { PARTICIPANT } from '../../../../../../constants.js'
|
||||
import PermissionEditor from '../../../../../PermissionsEditor/PermissionsEditor.vue'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
<script>
|
||||
|
||||
import Participant from './Participant/Participant'
|
||||
import LoadingParticipant from './Participant/LoadingParticipant'
|
||||
import Participant from './Participant/Participant.vue'
|
||||
import LoadingParticipant from './Participant/LoadingParticipant.vue'
|
||||
|
||||
export default {
|
||||
name: 'ParticipantsList',
|
||||
|
|
|
|||
|
|
@ -80,9 +80,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ParticipantsList from '../ParticipantsList/ParticipantsList'
|
||||
import ParticipantsList from '../ParticipantsList/ParticipantsList.vue'
|
||||
import AppNavigationCaption from '@nextcloud/vue/dist/Components/AppNavigationCaption'
|
||||
import Hint from '../../../Hint'
|
||||
import Hint from '../../../Hint.vue'
|
||||
|
||||
export default {
|
||||
name: 'ParticipantsSearchResults',
|
||||
|
|
|
|||
|
|
@ -40,18 +40,18 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import CurrentParticipants from './CurrentParticipants/CurrentParticipants'
|
||||
import SearchBox from '../../LeftSidebar/SearchBox/SearchBox'
|
||||
import CurrentParticipants from './CurrentParticipants/CurrentParticipants.vue'
|
||||
import SearchBox from '../../LeftSidebar/SearchBox/SearchBox.vue'
|
||||
import debounce from 'debounce'
|
||||
import { EventBus } from '../../../services/EventBus'
|
||||
import { searchPossibleConversations } from '../../../services/conversationsService'
|
||||
import { addParticipant } from '../../../services/participantsService'
|
||||
import { EventBus } from '../../../services/EventBus.js'
|
||||
import { searchPossibleConversations } from '../../../services/conversationsService.js'
|
||||
import { addParticipant } from '../../../services/participantsService.js'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import CancelableRequest from '../../../utils/cancelableRequest'
|
||||
import CancelableRequest from '../../../utils/cancelableRequest.js'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import AppNavigationCaption from '@nextcloud/vue/dist/Components/AppNavigationCaption'
|
||||
import ParticipantsSearchResults from './ParticipantsSearchResults/ParticipantsSearchResults'
|
||||
import getParticipants from '../../../mixins/getParticipants'
|
||||
import ParticipantsSearchResults from './ParticipantsSearchResults/ParticipantsSearchResults.vue'
|
||||
import getParticipants from '../../../mixins/getParticipants.js'
|
||||
|
||||
export default {
|
||||
name: 'ParticipantsTab',
|
||||
|
|
|
|||
|
|
@ -93,15 +93,15 @@
|
|||
import { emit } from '@nextcloud/event-bus'
|
||||
import AppSidebar from '@nextcloud/vue/dist/Components/AppSidebar'
|
||||
import AppSidebarTab from '@nextcloud/vue/dist/Components/AppSidebarTab'
|
||||
import SharedItemsTab from './SharedItems/SharedItemsTab'
|
||||
import ChatView from '../ChatView'
|
||||
import BrowserStorage from '../../services/BrowserStorage'
|
||||
import { CONVERSATION, WEBINAR, PARTICIPANT } from '../../constants'
|
||||
import ParticipantsTab from './Participants/ParticipantsTab'
|
||||
import isInLobby from '../../mixins/isInLobby'
|
||||
import SetGuestUsername from '../SetGuestUsername'
|
||||
import SipSettings from './SipSettings'
|
||||
import LobbyStatus from './LobbyStatus'
|
||||
import SharedItemsTab from './SharedItems/SharedItemsTab.vue'
|
||||
import ChatView from '../ChatView.vue'
|
||||
import BrowserStorage from '../../services/BrowserStorage.js'
|
||||
import { CONVERSATION, WEBINAR, PARTICIPANT } from '../../constants.js'
|
||||
import ParticipantsTab from './Participants/ParticipantsTab.vue'
|
||||
import isInLobby from '../../mixins/isInLobby.js'
|
||||
import SetGuestUsername from '../SetGuestUsername.vue'
|
||||
import SipSettings from './SipSettings.vue'
|
||||
import LobbyStatus from './LobbyStatus.vue'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
import CogIcon from 'vue-material-design-icons/Cog'
|
||||
|
||||
|
|
|
|||
|
|
@ -60,9 +60,9 @@
|
|||
|
||||
<script>
|
||||
import FilePreview from '../../MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue'
|
||||
import { SHARED_ITEM } from '../../../constants'
|
||||
import Location from '../../MessagesList/MessagesGroup/Message/MessagePart/Location'
|
||||
import DeckCard from '../../MessagesList/MessagesGroup/Message/MessagePart/DeckCard'
|
||||
import { SHARED_ITEM } from '../../../constants.js'
|
||||
import Location from '../../MessagesList/MessagesGroup/Message/MessagePart/Location.vue'
|
||||
import DeckCard from '../../MessagesList/MessagesGroup/Message/MessagePart/DeckCard.vue'
|
||||
|
||||
export default {
|
||||
name: 'SharedItems',
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
import Modal from '@nextcloud/vue/dist/Components/Modal'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
import SharedItems from '../SharedItems.vue'
|
||||
import sharedItems from '../../../../mixins/sharedItems'
|
||||
import sharedItems from '../../../../mixins/sharedItems.js'
|
||||
import debounce from 'debounce'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -56,13 +56,13 @@
|
|||
|
||||
<script>
|
||||
import { CollectionList } from 'nextcloud-vue-collections'
|
||||
import SharedItems from './SharedItems'
|
||||
import { SHARED_ITEM } from '../../../constants'
|
||||
import SharedItems from './SharedItems.vue'
|
||||
import { SHARED_ITEM } from '../../../constants.js'
|
||||
import AppNavigationCaption from '@nextcloud/vue/dist/Components/AppNavigationCaption'
|
||||
import SharedItemsBrowser from './SharedItemsBrowser/SharedItemsBrowser.vue'
|
||||
import DotsHorizontal from 'vue-material-design-icons/DotsHorizontal.vue'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
import sharedItems from '../../../mixins/sharedItems'
|
||||
import sharedItems from '../../../mixins/sharedItems.js'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import readableNumber from '../../mixins/readableNumber'
|
||||
import readableNumber from '../../mixins/readableNumber.js'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { setGuestUserName } from '../services/participantsService'
|
||||
import { setGuestUserName } from '../services/participantsService.js'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
import Pencil from 'vue-material-design-icons/Pencil'
|
||||
import ArrowRight from 'vue-material-design-icons/ArrowRight.vue'
|
||||
|
|
|
|||
|
|
@ -134,9 +134,9 @@
|
|||
<script>
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import { getFilePickerBuilder, showError, showSuccess } from '@nextcloud/dialogs'
|
||||
import { PRIVACY } from '../../constants'
|
||||
import { PRIVACY } from '../../constants.js'
|
||||
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
|
||||
import MediaDevicesPreview from '../MediaDevicesPreview'
|
||||
import MediaDevicesPreview from '../MediaDevicesPreview.vue'
|
||||
import AppSettingsDialog from '@nextcloud/vue/dist/Components/AppSettingsDialog'
|
||||
import AppSettingsSection from '@nextcloud/vue/dist/Components/AppSettingsSection'
|
||||
import CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch'
|
||||
|
|
|
|||
|
|
@ -154,23 +154,23 @@ import { showError, showSuccess, showMessage } from '@nextcloud/dialogs'
|
|||
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton'
|
||||
import Actions from '@nextcloud/vue/dist/Components/Actions'
|
||||
import CounterBubble from '@nextcloud/vue/dist/Components/CounterBubble'
|
||||
import CallButton from './CallButton'
|
||||
import BrowserStorage from '../../services/BrowserStorage'
|
||||
import CallButton from './CallButton.vue'
|
||||
import BrowserStorage from '../../services/BrowserStorage.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/ActionLink'
|
||||
import ActionSeparator from '@nextcloud/vue/dist/Components/ActionSeparator'
|
||||
import MessageText from 'vue-material-design-icons/MessageText'
|
||||
import MicrophoneOff from 'vue-material-design-icons/MicrophoneOff'
|
||||
import { CONVERSATION, PARTICIPANT } from '../../constants'
|
||||
import { CONVERSATION, PARTICIPANT } from '../../constants.js'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import { callParticipantCollection, localCallParticipantModel, localMediaModel } from '../../utils/webrtc/index'
|
||||
import { callParticipantCollection, localCallParticipantModel, localMediaModel } from '../../utils/webrtc/index.js'
|
||||
import { emit } from '@nextcloud/event-bus'
|
||||
import ConversationIcon from '../ConversationIcon'
|
||||
import ConversationIcon from '../ConversationIcon.vue'
|
||||
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip'
|
||||
import richEditor from '@nextcloud/vue/dist/Mixins/richEditor'
|
||||
import userStatus from '../../mixins/userStatus'
|
||||
import LocalMediaControls from '../CallView/shared/LocalMediaControls'
|
||||
import userStatus from '../../mixins/userStatus.js'
|
||||
import LocalMediaControls from '../CallView/shared/LocalMediaControls.vue'
|
||||
import Cog from 'vue-material-design-icons/Cog'
|
||||
import getParticipants from '../../mixins/getParticipants'
|
||||
import getParticipants from '../../mixins/getParticipants.js'
|
||||
|
||||
export default {
|
||||
name: 'TopBar',
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import Vue from 'vue'
|
|||
import { generateFilePath } from '@nextcloud/router'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import Dashboard from './views/Dashboard'
|
||||
import Dashboard from './views/Dashboard.vue'
|
||||
|
||||
// CSP config for webpack dynamic chunk loading
|
||||
// eslint-disable-next-line
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ import { generateFilePath, generateUrl } from '@nextcloud/router'
|
|||
import { getRequestToken } from '@nextcloud/auth'
|
||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import { showSuccess, showError } from '@nextcloud/dialogs'
|
||||
import { postRichObjectToConversation } from './services/messagesService'
|
||||
import RoomSelector from './views/RoomSelector'
|
||||
import { postRichObjectToConversation } from './services/messagesService.js'
|
||||
import RoomSelector from './views/RoomSelector.vue'
|
||||
|
||||
(function(OC, OCA, t, n) {
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import FlowPostToConversation from './views/FlowPostToConversation'
|
||||
import FlowPostToConversation from './views/FlowPostToConversation.vue'
|
||||
|
||||
window.OCA.WorkflowEngine.registerOperator({
|
||||
id: 'OCA\\Talk\\Flow\\Operation',
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
// The purpose of this file is to wrap the logic shared by the different talk
|
||||
// entry points
|
||||
|
||||
import store from './store'
|
||||
import { EventBus } from './services/EventBus'
|
||||
import store from './store/index.js'
|
||||
import { EventBus } from './services/EventBus.js'
|
||||
|
||||
if (!window.OCA.Talk) {
|
||||
window.OCA.Talk = {}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
import AdminSettings from './views/AdminSettings'
|
||||
import AdminSettings from './views/AdminSettings.vue'
|
||||
|
||||
// Styles
|
||||
import '@nextcloud/dialogs/styles/toast.scss'
|
||||
|
|
|
|||
|
|
@ -26,13 +26,13 @@
|
|||
|
||||
import Vue from 'vue'
|
||||
import VueObserveVisibility from 'vue-observe-visibility'
|
||||
import FilesSidebarCallViewApp from './FilesSidebarCallViewApp'
|
||||
import FilesSidebarTabApp from './FilesSidebarTabApp'
|
||||
import './init'
|
||||
import FilesSidebarCallViewApp from './FilesSidebarCallViewApp.vue'
|
||||
import FilesSidebarTabApp from './FilesSidebarTabApp.vue'
|
||||
import './init.js'
|
||||
|
||||
// Store
|
||||
import Vuex from 'vuex'
|
||||
import store from './store'
|
||||
import store from './store/index.js'
|
||||
|
||||
// Utils
|
||||
import { generateFilePath } from '@nextcloud/router'
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import FilesSidebarCallView from './views/FilesSidebarCallView'
|
||||
import './init'
|
||||
import FilesSidebarCallView from './views/FilesSidebarCallView.js'
|
||||
import './init.js'
|
||||
|
||||
const isEnabled = function(fileInfo) {
|
||||
if (fileInfo && !fileInfo.isDirectory()) {
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@
|
|||
|
||||
import Vue from 'vue'
|
||||
import VueObserveVisibility from 'vue-observe-visibility'
|
||||
import PublicShareAuthRequestPasswordButton from './PublicShareAuthRequestPasswordButton'
|
||||
import PublicShareAuthSidebar from './PublicShareAuthSidebar'
|
||||
import './init'
|
||||
import PublicShareAuthRequestPasswordButton from './PublicShareAuthRequestPasswordButton.vue'
|
||||
import PublicShareAuthSidebar from './PublicShareAuthSidebar.vue'
|
||||
import './init.js'
|
||||
|
||||
// Store
|
||||
import Vuex from 'vuex'
|
||||
import store from './store'
|
||||
import store from './store/index.js'
|
||||
|
||||
// Utils
|
||||
import { generateFilePath } from '@nextcloud/router'
|
||||
|
|
|
|||
|
|
@ -20,12 +20,12 @@
|
|||
|
||||
import Vue from 'vue'
|
||||
import VueObserveVisibility from 'vue-observe-visibility'
|
||||
import PublicShareSidebar from './PublicShareSidebar'
|
||||
import './init'
|
||||
import PublicShareSidebar from './PublicShareSidebar.vue'
|
||||
import './init.js'
|
||||
|
||||
// Store
|
||||
import Vuex from 'vuex'
|
||||
import store from './store'
|
||||
import store from './store/index.js'
|
||||
|
||||
// Utils
|
||||
import { generateFilePath } from '@nextcloud/router'
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ import { generateFilePath, generateUrl } from '@nextcloud/router'
|
|||
import { getRequestToken } from '@nextcloud/auth'
|
||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import { showSuccess, showError } from '@nextcloud/dialogs'
|
||||
import { postRichObjectToConversation } from './services/messagesService'
|
||||
import RoomSelector from './views/RoomSelector'
|
||||
import { postRichObjectToConversation } from './services/messagesService.js'
|
||||
import RoomSelector from './views/RoomSelector.vue'
|
||||
|
||||
(function(OC, OCA, t, n) {
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import TrackToStream from '../utils/media/pipeline/TrackToStream'
|
||||
import VirtualBackground from '../utils/media/pipeline/VirtualBackground'
|
||||
import { mediaDevicesManager } from '../utils/webrtc/index'
|
||||
import TrackToStream from '../utils/media/pipeline/TrackToStream.js'
|
||||
import VirtualBackground from '../utils/media/pipeline/VirtualBackground.js'
|
||||
import { mediaDevicesManager } from '../utils/webrtc/index.js'
|
||||
import attachMediaStream from 'attachmediastream'
|
||||
import hark from 'hark'
|
||||
|
||||
|
|
|
|||
|
|
@ -20,17 +20,17 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import { EventBus } from '../services/EventBus'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
import Axios from '@nextcloud/axios'
|
||||
import debounce from 'debounce'
|
||||
import CancelableRequest from '../utils/cancelableRequest'
|
||||
import { fetchParticipants } from '../services/participantsService'
|
||||
import CancelableRequest from '../utils/cancelableRequest.js'
|
||||
import { fetchParticipants } from '../services/participantsService.js'
|
||||
import Hex from 'crypto-js/enc-hex'
|
||||
import SHA1 from 'crypto-js/sha1'
|
||||
import { PARTICIPANT } from '../constants'
|
||||
import { PARTICIPANT } from '../constants.js'
|
||||
import { emit } from '@nextcloud/event-bus'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import isInLobby from './isInLobby'
|
||||
import isInLobby from './isInLobby.js'
|
||||
|
||||
const getParticipants = {
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import SessionStorage from '../services/SessionStorage'
|
||||
import { EventBus } from '../services/EventBus'
|
||||
import SessionStorage from '../services/SessionStorage.js'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
|
||||
/**
|
||||
* A mixin to check whether the user joined the call of the current token in this PHP session or not.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { PARTICIPANT, WEBINAR } from '../constants'
|
||||
import { PARTICIPANT, WEBINAR } from '../constants.js'
|
||||
|
||||
/**
|
||||
* Mixin to check whether the current participant is waiting in the lobby or
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { PARTICIPANT } from '../constants'
|
||||
import { PARTICIPANT } from '../constants.js'
|
||||
|
||||
/**
|
||||
* A mixin to check retrieve the current participant object
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
*/
|
||||
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import { EventBus } from '../services/EventBus'
|
||||
import SessionStorage from '../services/SessionStorage'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
import SessionStorage from '../services/SessionStorage.js'
|
||||
|
||||
const sessionIssueHandler = {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { SHARED_ITEM } from '../constants'
|
||||
import { SHARED_ITEM } from '../constants.js'
|
||||
|
||||
const sharedItems = {
|
||||
computed: {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ import { generateOcsUrl } from '@nextcloud/router'
|
|||
import {
|
||||
signalingJoinCall,
|
||||
signalingLeaveCall,
|
||||
} from '../utils/webrtc/index'
|
||||
} from '../utils/webrtc/index.js'
|
||||
|
||||
/**
|
||||
* Join a call as participant
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
import axios from '@nextcloud/axios'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { CONVERSATION, SHARE } from '../constants'
|
||||
import { CONVERSATION, SHARE } from '../constants.js'
|
||||
|
||||
/**
|
||||
* Fetches the conversations from the server.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import mockAxios from '../__mocks__/axios'
|
||||
import mockAxios from '../__mocks__/axios.js'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import { searchPossibleConversations } from './conversationsService'
|
||||
import { SHARE } from '../constants'
|
||||
import { searchPossibleConversations } from './conversationsService.js'
|
||||
import { SHARE } from '../constants.js'
|
||||
|
||||
jest.mock('@nextcloud/initial-state', () => ({
|
||||
loadState: jest.fn(),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import mockAxios from '../__mocks__/axios'
|
||||
import mockAxios from '../__mocks__/axios.js'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { shareFile } from './filesSharingServices'
|
||||
import { shareFile } from './filesSharingServices.js'
|
||||
|
||||
describe('filesSharingServices', () => {
|
||||
afterEach(() => {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import mockAxios from '../__mocks__/axios'
|
||||
import mockAxios from '../__mocks__/axios.js'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import {
|
||||
fetchMessages,
|
||||
|
|
@ -7,7 +7,7 @@ import {
|
|||
deleteMessage,
|
||||
postRichObjectToConversation,
|
||||
updateLastReadMessage,
|
||||
} from './messagesService'
|
||||
} from './messagesService.js'
|
||||
|
||||
describe('messagesService', () => {
|
||||
afterEach(() => {
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ import {
|
|||
import {
|
||||
signalingJoinConversation,
|
||||
signalingLeaveConversation,
|
||||
} from '../utils/webrtc/index'
|
||||
import { PARTICIPANT } from '../constants'
|
||||
} from '../utils/webrtc/index.js'
|
||||
import { PARTICIPANT } from '../constants.js'
|
||||
|
||||
const PERMISSIONS = PARTICIPANT.PERMISSIONS
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
import axios from '@nextcloud/axios'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import BrowserStorage from './BrowserStorage'
|
||||
import BrowserStorage from './BrowserStorage.js'
|
||||
|
||||
/**
|
||||
* Sets the attachment folder setting for the user
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
* If an as no userId, they are a guest and identified by actorType + sessionId.
|
||||
*/
|
||||
|
||||
import { PARTICIPANT } from '../constants'
|
||||
import { PARTICIPANT } from '../constants.js'
|
||||
|
||||
const state = {
|
||||
userId: null,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { createLocalVue } from '@vue/test-utils'
|
||||
import actorStore from './actorStore'
|
||||
import actorStore from './actorStore.js'
|
||||
import Vuex from 'vuex'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import { PARTICIPANT } from '../constants'
|
||||
import { PARTICIPANT } from '../constants.js'
|
||||
|
||||
describe('actorStore', () => {
|
||||
let localVue = null
|
||||
|
|
@ -11,6 +11,7 @@ describe('actorStore', () => {
|
|||
beforeEach(() => {
|
||||
localVue = createLocalVue()
|
||||
localVue.use(Vuex)
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(cloneDeep(actorStore))
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@
|
|||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
import BrowserStorage from '../services/BrowserStorage'
|
||||
import BrowserStorage from '../services/BrowserStorage.js'
|
||||
import {
|
||||
CONVERSATION,
|
||||
} from '../constants'
|
||||
} from '../constants.js'
|
||||
|
||||
const state = {
|
||||
isGrid: false,
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
import { createLocalVue } from '@vue/test-utils'
|
||||
import storeConfig from './storeConfig'
|
||||
import storeConfig from './storeConfig.js'
|
||||
import Vuex from 'vuex'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import {
|
||||
CONVERSATION,
|
||||
} from '../constants'
|
||||
} from '../constants.js'
|
||||
|
||||
describe('callViewStore', () => {
|
||||
let localVue = null
|
||||
|
|
@ -19,6 +19,7 @@ describe('callViewStore', () => {
|
|||
// remove participant store to avoid participant interaction
|
||||
testStoreConfig.modules.participantsStore = {}
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(testStoreConfig)
|
||||
|
||||
// to fully reset the state between tests, clear the storage
|
||||
|
|
|
|||
|
|
@ -40,8 +40,9 @@ import {
|
|||
setNotificationCalls,
|
||||
setConversationPermissions,
|
||||
setCallPermissions,
|
||||
} from '../services/conversationsService'
|
||||
} from '../services/conversationsService.js'
|
||||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
// eslint-disable-next-line import/extensions
|
||||
import { CONVERSATION, WEBINAR, PARTICIPANT } from '../constants'
|
||||
|
||||
const DUMMY_CONVERSATION = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
/* eslint-disable import/no-named-as-default-member */
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
import storeConfig from './storeConfig'
|
||||
import storeConfig from './storeConfig.js'
|
||||
import Vuex from 'vuex'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import {
|
||||
|
|
@ -7,7 +8,7 @@ import {
|
|||
WEBINAR,
|
||||
PARTICIPANT,
|
||||
ATTENDEE,
|
||||
} from '../constants'
|
||||
} from '../constants.js'
|
||||
import {
|
||||
makePublic,
|
||||
makePrivate,
|
||||
|
|
@ -26,7 +27,7 @@ import {
|
|||
deleteConversation,
|
||||
setConversationPermissions,
|
||||
setCallPermissions,
|
||||
} from '../services/conversationsService'
|
||||
} from '../services/conversationsService.js'
|
||||
|
||||
jest.mock('../services/conversationsService', () => ({
|
||||
makePublic: jest.fn(),
|
||||
|
|
|
|||
|
|
@ -21,14 +21,14 @@
|
|||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
import client from '../services/DavClient'
|
||||
import client from '../services/DavClient.js'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import fromStateOr from './helper'
|
||||
import { findUniquePath, getFileExtension } from '../utils/fileUpload'
|
||||
import fromStateOr from './helper.js'
|
||||
import { findUniquePath, getFileExtension } from '../utils/fileUpload.js'
|
||||
import moment from '@nextcloud/moment'
|
||||
import { EventBus } from '../services/EventBus'
|
||||
import { shareFile } from '../services/filesSharingServices'
|
||||
import { setAttachmentFolder } from '../services/settingsService'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
import { shareFile } from '../services/filesSharingServices.js'
|
||||
import { setAttachmentFolder } from '../services/settingsService.js'
|
||||
|
||||
const state = {
|
||||
attachmentFolder: fromStateOr('spreed', 'attachment_folder', ''),
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable import/no-named-as-default-member */
|
||||
import mockConsole from 'jest-mock-console'
|
||||
import Vuex from 'vuex'
|
||||
import { cloneDeep } from 'lodash'
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import Vuex from 'vuex'
|
|||
import { cloneDeep } from 'lodash'
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
|
||||
import guestNameStore from './guestNameStore'
|
||||
import guestNameStore from './guestNameStore.js'
|
||||
|
||||
describe('guestNameStore', () => {
|
||||
let localVue = null
|
||||
|
|
@ -12,6 +12,7 @@ describe('guestNameStore', () => {
|
|||
localVue = createLocalVue()
|
||||
localVue.use(Vuex)
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(cloneDeep(guestNameStore))
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
import Vue from 'vue'
|
||||
import Vuex, { Store } from 'vuex'
|
||||
import storeConfig from './storeConfig'
|
||||
import storeConfig from './storeConfig.js'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ import {
|
|||
postRichObjectToConversation,
|
||||
addReactionToMessage,
|
||||
removeReactionFromMessage,
|
||||
} from '../services/messagesService'
|
||||
} from '../services/messagesService.js'
|
||||
|
||||
import SHA256 from 'crypto-js/sha256'
|
||||
import Hex from 'crypto-js/enc-hex'
|
||||
import CancelableRequest from '../utils/cancelableRequest'
|
||||
import CancelableRequest from '../utils/cancelableRequest.js'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import {
|
||||
ATTENDEE,
|
||||
} from '../constants'
|
||||
} from '../constants.js'
|
||||
|
||||
/**
|
||||
* Returns whether the given message contains a mention to self, directly
|
||||
|
|
|
|||
|
|
@ -1,19 +1,20 @@
|
|||
/* eslint-disable import/no-named-as-default-member */
|
||||
import mockConsole from 'jest-mock-console'
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
import messagesStore from './messagesStore'
|
||||
import messagesStore from './messagesStore.js'
|
||||
import Vuex from 'vuex'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import {
|
||||
ATTENDEE,
|
||||
} from '../constants'
|
||||
} from '../constants.js'
|
||||
import {
|
||||
deleteMessage,
|
||||
updateLastReadMessage,
|
||||
fetchMessages,
|
||||
lookForNewMessages,
|
||||
postNewMessage,
|
||||
} from '../services/messagesService'
|
||||
import CancelableRequest from '../utils/cancelableRequest'
|
||||
} from '../services/messagesService.js'
|
||||
import CancelableRequest from '../utils/cancelableRequest.js'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
|
||||
jest.mock('../services/messagesService', () => ({
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import Vuex from 'vuex'
|
|||
import { cloneDeep } from 'lodash'
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
|
||||
import newGroupConversationStore from './newGroupConversationStore'
|
||||
import newGroupConversationStore from './newGroupConversationStore.js'
|
||||
|
||||
describe('newGroupConversationStore', () => {
|
||||
let localVue = null
|
||||
|
|
@ -12,6 +12,7 @@ describe('newGroupConversationStore', () => {
|
|||
localVue = createLocalVue()
|
||||
localVue.use(Vuex)
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(cloneDeep(newGroupConversationStore))
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -32,15 +32,15 @@ import {
|
|||
grantAllPermissionsToParticipant,
|
||||
removeAllPermissionsFromParticipant,
|
||||
setPermissions,
|
||||
} from '../services/participantsService'
|
||||
} from '../services/participantsService.js'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import {
|
||||
joinCall,
|
||||
leaveCall,
|
||||
} from '../services/callsService'
|
||||
import SessionStorage from '../services/SessionStorage'
|
||||
import { PARTICIPANT } from '../constants'
|
||||
import { EventBus } from '../services/EventBus'
|
||||
} from '../services/callsService.js'
|
||||
import SessionStorage from '../services/SessionStorage.js'
|
||||
import { PARTICIPANT } from '../constants.js'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
|
||||
const state = {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
/* eslint-disable import/no-named-as-default-member */
|
||||
import mockConsole from 'jest-mock-console'
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
import Vuex from 'vuex'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import { PARTICIPANT } from '../constants'
|
||||
import { PARTICIPANT } from '../constants.js'
|
||||
import {
|
||||
promoteToModerator,
|
||||
demoteFromModerator,
|
||||
|
|
@ -13,14 +14,14 @@ import {
|
|||
removeCurrentUserFromConversation,
|
||||
grantAllPermissionsToParticipant,
|
||||
removeAllPermissionsFromParticipant,
|
||||
} from '../services/participantsService'
|
||||
} from '../services/participantsService.js'
|
||||
import {
|
||||
joinCall,
|
||||
leaveCall,
|
||||
} from '../services/callsService'
|
||||
import { EventBus } from '../services/EventBus'
|
||||
} from '../services/callsService.js'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
|
||||
import participantsStore from './participantsStore'
|
||||
import participantsStore from './participantsStore.js'
|
||||
|
||||
jest.mock('../services/participantsService', () => ({
|
||||
promoteToModerator: jest.fn(),
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import Vuex from 'vuex'
|
|||
import { cloneDeep } from 'lodash'
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
|
||||
import quoteReplyStore from './quoteReplyStore'
|
||||
import quoteReplyStore from './quoteReplyStore.js'
|
||||
|
||||
describe('quoteReplyStore', () => {
|
||||
let localVue = null
|
||||
|
|
@ -12,6 +12,7 @@ describe('quoteReplyStore', () => {
|
|||
localVue = createLocalVue()
|
||||
localVue.use(Vuex)
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(cloneDeep(quoteReplyStore))
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
import Vue from 'vue'
|
||||
import {
|
||||
getReactionsDetails,
|
||||
} from '../services/messagesService'
|
||||
} from '../services/messagesService.js'
|
||||
|
||||
const state = {
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import fromStateOr from './helper'
|
||||
import { setReadStatusPrivacy } from '../services/settingsService'
|
||||
import { PRIVACY } from '../constants'
|
||||
import fromStateOr from './helper.js'
|
||||
import { setReadStatusPrivacy } from '../services/settingsService.js'
|
||||
import { PRIVACY } from '../constants.js'
|
||||
|
||||
const state = {
|
||||
readStatusPrivacy: fromStateOr('spreed', 'read_status_privacy', PRIVACY.PRIVATE),
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
import { getSharedItemsOverview, getSharedItems } from '../services/sharedItemsService'
|
||||
import { SHARED_ITEM } from '../constants'
|
||||
import { getSharedItemsOverview, getSharedItems } from '../services/sharedItemsService.js'
|
||||
import { SHARED_ITEM } from '../constants.js'
|
||||
|
||||
const getItemTypeFromMessage = function(message) {
|
||||
if (message.message === '{object}') {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import Vuex from 'vuex'
|
|||
import { cloneDeep } from 'lodash'
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
|
||||
import sidebarStore from './sidebarStore'
|
||||
import sidebarStore from './sidebarStore.js'
|
||||
|
||||
describe('sidebarStore', () => {
|
||||
let localVue = null
|
||||
|
|
@ -12,6 +12,7 @@ describe('sidebarStore', () => {
|
|||
localVue = createLocalVue()
|
||||
localVue.use(Vuex)
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(cloneDeep(sidebarStore))
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import fromStateOr from './helper'
|
||||
import BrowserStorage from '../services/BrowserStorage'
|
||||
import { setPlaySounds } from '../services/settingsService'
|
||||
import fromStateOr from './helper.js'
|
||||
import BrowserStorage from '../services/BrowserStorage.js'
|
||||
import { setPlaySounds } from '../services/settingsService.js'
|
||||
|
||||
const state = {
|
||||
userId: undefined,
|
||||
|
|
|
|||
|
|
@ -20,26 +20,26 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import actorStore from './actorStore'
|
||||
import audioRecorderStore from './audioRecorderStore'
|
||||
import callViewStore from './callViewStore'
|
||||
import conversationsStore from './conversationsStore'
|
||||
import fileUploadStore from './fileUploadStore'
|
||||
import guestNameStore from './guestNameStore'
|
||||
import messagesStore from './messagesStore'
|
||||
import newGroupConversationStore from './newGroupConversationStore'
|
||||
import participantsStore from './participantsStore'
|
||||
import quoteReplyStore from './quoteReplyStore'
|
||||
import settingsStore from './settingsStore'
|
||||
import sidebarStore from './sidebarStore'
|
||||
import soundsStore from './soundsStore'
|
||||
import talkHashStore from './talkHashStore'
|
||||
import tokenStore from './tokenStore'
|
||||
import uiModeStore from './uiModeStore'
|
||||
import windowVisibilityStore from './windowVisibilityStore'
|
||||
import messageActionsStore from './messageActionsStore'
|
||||
import reactionsStore from './reactionsStore'
|
||||
import sharedItemStore from './sharedItemsStore'
|
||||
import actorStore from './actorStore.js'
|
||||
import audioRecorderStore from './audioRecorderStore.js'
|
||||
import callViewStore from './callViewStore.js'
|
||||
import conversationsStore from './conversationsStore.js'
|
||||
import fileUploadStore from './fileUploadStore.js'
|
||||
import guestNameStore from './guestNameStore.js'
|
||||
import messagesStore from './messagesStore.js'
|
||||
import newGroupConversationStore from './newGroupConversationStore.js'
|
||||
import participantsStore from './participantsStore.js'
|
||||
import quoteReplyStore from './quoteReplyStore.js'
|
||||
import settingsStore from './settingsStore.js'
|
||||
import sidebarStore from './sidebarStore.js'
|
||||
import soundsStore from './soundsStore.js'
|
||||
import talkHashStore from './talkHashStore.js'
|
||||
import tokenStore from './tokenStore.js'
|
||||
import uiModeStore from './uiModeStore.js'
|
||||
import windowVisibilityStore from './windowVisibilityStore.js'
|
||||
import messageActionsStore from './messageActionsStore.js'
|
||||
import reactionsStore from './reactionsStore.js'
|
||||
import sharedItemStore from './sharedItemsStore.js'
|
||||
|
||||
export default {
|
||||
modules: {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import mockConsole from 'jest-mock-console'
|
||||
import { createLocalVue } from '@vue/test-utils'
|
||||
import talkHashStore from './talkHashStore'
|
||||
import talkHashStore from './talkHashStore.js'
|
||||
import Vuex from 'vuex'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
|
|
@ -18,6 +18,7 @@ describe('talkHashStore', () => {
|
|||
localVue = createLocalVue()
|
||||
localVue.use(Vuex)
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
store = new Vuex.Store(cloneDeep(talkHashStore))
|
||||
restoreConsole = mockConsole(['debug'])
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { VIRTUAL_BACKGROUND_TYPE } from './constants'
|
||||
import { VIRTUAL_BACKGROUND_TYPE } from './constants.js'
|
||||
import WebWorker from './JitsiStreamBackgroundEffect.worker.js'
|
||||
|
||||
import {
|
||||
|
|
@ -8,7 +8,7 @@ import {
|
|||
TIMEOUT_TICK,
|
||||
SET_TIMEOUT,
|
||||
timerWorkerScript,
|
||||
} from './TimerWorker'
|
||||
} from './TimerWorker.js'
|
||||
|
||||
/**
|
||||
* Represents a modified MediaStream that adds effects to video background.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import createTFLiteModule from './vendor/tflite/tflite'
|
||||
import createTFLiteSIMDModule from './vendor/tflite/tflite-simd'
|
||||
import createTFLiteModule from './vendor/tflite/tflite.js'
|
||||
import createTFLiteSIMDModule from './vendor/tflite/tflite-simd.js'
|
||||
import withoutSIMD from './vendor/tflite/tflite.wasm'
|
||||
import withSIMD from './vendor/tflite/tflite-simd.wasm'
|
||||
import landscape from './vendor/models/selfie_segmentation_landscape.tflite'
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
// @flow
|
||||
|
||||
import JitsiStreamBackgroundEffect from './JitsiStreamBackgroundEffect'
|
||||
import createTFLiteModule from './vendor/tflite/tflite'
|
||||
import createTFLiteSIMDModule from './vendor/tflite/tflite-simd'
|
||||
import JitsiStreamBackgroundEffect from './JitsiStreamBackgroundEffect.js'
|
||||
import createTFLiteModule from './vendor/tflite/tflite.js'
|
||||
import createTFLiteSIMDModule from './vendor/tflite/tflite-simd.js'
|
||||
const models = {
|
||||
modelLandscape: 'libs/selfie_segmentation_landscape.tflite',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
|
||||
import UAParser from 'ua-parser-js'
|
||||
|
||||
import { mediaDevicesManager } from '../../webrtc/index'
|
||||
import { mediaDevicesManager } from '../../webrtc/index.js'
|
||||
|
||||
import TrackSource from './TrackSource'
|
||||
import TrackSource from './TrackSource.js'
|
||||
|
||||
/**
|
||||
* Source node to get audio and video tracks from MediaDevicesManager.
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { mediaDevicesManager } from '../../webrtc/index'
|
||||
import { mediaDevicesManager } from '../../webrtc/index.js'
|
||||
|
||||
import MediaDevicesSource from './MediaDevicesSource'
|
||||
import MediaDevicesSource from './MediaDevicesSource.js'
|
||||
|
||||
/**
|
||||
* Helper function to create MediaStreamTrack mocks with just the attributes and
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
*/
|
||||
|
||||
import hark from 'hark'
|
||||
import EmitterMixin from '../../EmitterMixin'
|
||||
import TrackSink from './TrackSink'
|
||||
import EmitterMixin from '../../EmitterMixin.js'
|
||||
import TrackSink from './TrackSink.js'
|
||||
|
||||
/**
|
||||
* Sink node to detect sound in its input track and emit "speaking" events.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import TrackSinkSource from './TrackSinkSource'
|
||||
import TrackSinkSource from './TrackSinkSource.js'
|
||||
|
||||
/**
|
||||
* Processor node to apply constraints on its track.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import TrackSinkSource from './TrackSinkSource'
|
||||
import TrackSinkSource from './TrackSinkSource.js'
|
||||
|
||||
/**
|
||||
* Processor node to enable or disable its track.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import TrackEnabler from './TrackEnabler'
|
||||
import TrackEnabler from './TrackEnabler.js'
|
||||
|
||||
/**
|
||||
* Helper function to create MediaStreamTrack mocks with just the attributes and
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import TrackSinkMixin from './TrackSinkMixin'
|
||||
import TrackSinkMixin from './TrackSinkMixin.js'
|
||||
|
||||
/**
|
||||
* Base class for sink nodes of tracks.
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import EmitterMixin from '../../EmitterMixin'
|
||||
import TrackSinkMixin from './TrackSinkMixin'
|
||||
import TrackSourceMixin from './TrackSourceMixin'
|
||||
import EmitterMixin from '../../EmitterMixin.js'
|
||||
import TrackSinkMixin from './TrackSinkMixin.js'
|
||||
import TrackSourceMixin from './TrackSourceMixin.js'
|
||||
|
||||
/**
|
||||
* Base class for nodes that act both as a sink and as a source (a processing
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import EmitterMixin from '../../EmitterMixin'
|
||||
import TrackSourceMixin from './TrackSourceMixin'
|
||||
import EmitterMixin from '../../EmitterMixin.js'
|
||||
import TrackSourceMixin from './TrackSourceMixin.js'
|
||||
|
||||
/**
|
||||
* Base class for source nodes of tracks.
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import EmitterMixin from '../../EmitterMixin'
|
||||
import TrackSink from './TrackSink'
|
||||
import EmitterMixin from '../../EmitterMixin.js'
|
||||
import TrackSink from './TrackSink.js'
|
||||
|
||||
/**
|
||||
* Sink node to add one or more tracks to a single stream.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import TrackToStream from './TrackToStream'
|
||||
import TrackToStream from './TrackToStream.js'
|
||||
|
||||
/**
|
||||
* Helper function to create MediaStreamTrack mocks with just the attributes
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import TrackSinkSource from './TrackSinkSource'
|
||||
import { VIRTUAL_BACKGROUND_TYPE } from '../effects/virtual-background/constants'
|
||||
import JitsiStreamBackgroundEffect from '../effects/virtual-background/JitsiStreamBackgroundEffect'
|
||||
import TrackSinkSource from './TrackSinkSource.js'
|
||||
import { VIRTUAL_BACKGROUND_TYPE } from '../effects/virtual-background/constants.js'
|
||||
import JitsiStreamBackgroundEffect from '../effects/virtual-background/JitsiStreamBackgroundEffect.js'
|
||||
|
||||
/**
|
||||
* Processor node to set a virtual background on a video track.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import VirtualBackground from './VirtualBackground'
|
||||
import VirtualBackground from './VirtualBackground.js'
|
||||
|
||||
/**
|
||||
* Helper function to create MediaStreamTrack mocks with just the attributes and
|
||||
|
|
|
|||
|
|
@ -32,10 +32,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { pullSignalingMessages } from '../services/signalingService'
|
||||
import { rejoinConversation } from '../services/participantsService'
|
||||
import CancelableRequest from './cancelableRequest'
|
||||
import { EventBus } from '../services/EventBus'
|
||||
import { pullSignalingMessages } from '../services/signalingService.js'
|
||||
import { rejoinConversation } from '../services/participantsService.js'
|
||||
import CancelableRequest from './cancelableRequest.js'
|
||||
import { EventBus } from '../services/EventBus.js'
|
||||
import axios from '@nextcloud/axios'
|
||||
import {
|
||||
generateOcsUrl,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*/
|
||||
|
||||
import { generateFilePath } from '@nextcloud/router'
|
||||
import store from '../store'
|
||||
import store from '../store/index.js'
|
||||
|
||||
export const Sounds = {
|
||||
BLOCK_SOUND_TIMEOUT: 3000,
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import BrowserStorage from '../../services/BrowserStorage'
|
||||
import EmitterMixin from '../EmitterMixin'
|
||||
import BrowserStorage from '../../services/BrowserStorage.js'
|
||||
import EmitterMixin from '../EmitterMixin.js'
|
||||
|
||||
/**
|
||||
* Special string to set null device ids in local storage (as only strings are
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import RemoteVideoBlocker from './RemoteVideoBlocker'
|
||||
import RemoteVideoBlocker from './RemoteVideoBlocker.js'
|
||||
|
||||
describe('RemoteVideoBlocker', () => {
|
||||
let callParticipantModel
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
import {
|
||||
QUALITY,
|
||||
VideoConstrainer,
|
||||
} from './VideoConstrainer'
|
||||
} from './VideoConstrainer.js'
|
||||
|
||||
/**
|
||||
* Helper to adjust the quality of the sent video based on the current call
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue