Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,13 @@ export default [
'@typescript-eslint/no-unused-expressions': 'off', // non-fixable
'@typescript-eslint/no-unused-vars': 'off', // non-fixable
'@typescript-eslint/no-use-before-define': 'off', // non-fixable
'jsdoc/check-tag-names': 'off', // need to respect JS
'jsdoc/reject-function-type': 'off', // need to respect JS
'jsdoc/reject-any-type': 'off', // need to respect JS
'jsdoc/require-function-type': 'off', // need to respect JS
'jsdoc/require-param-type': 'off', // need to respect JS
'jsdoc/require-param-description': 'off', // need to respect JS
'jsdoc/require-throws-type': 'off', // need to respect JS
'no-console': 'off', // non-fixable
'no-unused-vars': 'off', // non-fixable
'no-use-before-define': 'off', // non-fixable
Expand Down
1,008 changes: 551 additions & 457 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
},
"devDependencies": {
"@nextcloud/browserslist-config": "^3.1.2",
"@nextcloud/eslint-config": "^9.0.0-rc.5",
"@nextcloud/eslint-config": "^9.0.0-rc.6",
"@nextcloud/stylelint-config": "^3.1.1",
"@rspack/cli": "^1.6.5",
"@rspack/core": "^1.6.5",
Expand Down
3 changes: 1 addition & 2 deletions src/components/ExtendOneToOneDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ async function extendOneToOneConversation() {
<template>
<NcPopover
:container="container"
popup-role="dialog"
close-on-click-outside>
popup-role="dialog">
<template #trigger>
<NcButton
variant="tertiary"
Expand Down
1 change: 0 additions & 1 deletion src/components/GuestWelcomeWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<template>
<NcModal
no-close
:close-on-click-outside="false"
:label-id="dialogHeaderId"
size="small">
<div class="modal__content">
Expand Down
1 change: 0 additions & 1 deletion src/components/NewMessage/NewMessageUploadEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
v-if="showModal"
ref="modal"
:size="isVoiceMessage ? 'small' : 'normal'"
:close-on-click-outside="false"
:label-id="dialogHeaderId"
@close="handleDismiss">
<div
Expand Down
2 changes: 1 addition & 1 deletion src/components/SetGuestUsername.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ EventBus.once('joined-conversation', () => {
}
})

/** Update guest displayName from public event (e.g. @nextcloud/auth) */
/** Update guest displayName from public event (e.g. `@nextcloud/auth`) */
subscribe('user:info:changed', updateDisplayNameFromPublicEvent)
onBeforeUnmount(() => {
unsubscribe('user:info:changed', updateDisplayNameFromPublicEvent)
Expand Down
2 changes: 1 addition & 1 deletion src/services/conversationsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ async function changeListable(token: string, scope: setConversationListableParam
}

/**
* Set mention permissions to allow or disallow mentioning @all for non-moderators
* Set mention permissions to allow or disallow mentioning `@all` for non-moderators
*
* @param token The token of the conversation to be modified
* @param mentionPermissions The mention permissions to set
Expand Down
2 changes: 1 addition & 1 deletion src/stores/actor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const useActorStore = defineStore('actor', () => {
/**
* Set the actor from the current user
*
* @param user A NextcloudUser object as returned by @nextcloud/auth
* @param user A NextcloudUser object as returned by `@nextcloud/auth`
* @param user.uid The user id of the user
* @param user.displayName The display name of the user
*/
Expand Down
4 changes: 2 additions & 2 deletions src/utils/e2ee/JitsiEncryptionWorkerContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ export class Context {
async _decryptFrame(
encodedFrame,
keyIndex,
initialKey = undefined,
ratchetCount = 0,
initialKey = undefined,
ratchetCount = 0,
) {
const { encryptionKey } = this._cryptoKeyRing[keyIndex]
let { material } = this._cryptoKeyRing[keyIndex]
Expand Down
2 changes: 1 addition & 1 deletion src/utils/handleUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { t } from '@nextcloud/l10n'
import { generateUrl, getBaseUrl } from '@nextcloud/router'

/**
* Generate a full absolute link with @nextcloud/router.generateUrl
* Generate a full absolute link with `@nextcloud/router` generateUrl()
*
* @param url - path
* @param params - parameters to be replaced into the address
Expand Down
6 changes: 3 additions & 3 deletions src/utils/webrtc/simplewebrtc/simplewebrtc.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export default function SimpleWebRTC(opts) {
// Note that this is a coarse check; calling "getScreenMedia" may fail even
// if "supportScreenSharing" is true.
const screenSharingSupported
= (window.navigator.mediaDevices && window.navigator.mediaDevices.getDisplayMedia)
|| (window.navigator.webkitGetUserMedia)
|| (window.navigator.userAgent.match('Firefox'))
= (window.navigator.mediaDevices && window.navigator.mediaDevices.getDisplayMedia)
|| (window.navigator.webkitGetUserMedia)
|| (window.navigator.userAgent.match('Firefox'))
webrtcSupport.supportScreenSharing = window.location.protocol === 'https:' && screenSharingSupported

// attach detected support for convenience
Expand Down
Loading