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
3 changes: 2 additions & 1 deletion apps/comments/src/comments-activity-tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
*/

import type { INode } from '@nextcloud/files'
import type { ComponentPublicInstance } from 'vue'

import moment from '@nextcloud/moment'
import { createPinia, PiniaVuePlugin } from 'pinia'
import Vue, { type ComponentPublicInstance } from 'vue'
import Vue from 'vue'
import logger from './logger.js'
import { getComments } from './services/GetComments.js'

Expand Down
4 changes: 2 additions & 2 deletions apps/files/src/utils/fileUtils.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { Node } from '@nextcloud/files'

/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import {
type Node,

FileType,
} from '@nextcloud/files'
import { n } from '@nextcloud/l10n'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
:model-value="expirationDate"
name="expirationDate"
type="date"
@input="$emit('update:expirationDate', $event)" />
@input="$emit('update:expiration-date', $event)" />

<p v-if="defaultExpireDateEnforced" class="file-request-dialog__info">
<p v-if="defaultExpireDateEnforced && defaultExpireDate" class="file-request-dialog__info">
<IconInfo :size="18" class="file-request-dialog__info-icon" />
{{ t('files_sharing', 'Your administrator has enforced a {count} days expiration policy.', { count: defaultExpireDate }) }}
</p>
Expand Down Expand Up @@ -87,10 +87,10 @@
</template>

<script lang="ts">
import type { PropType } from 'vue'

import { t } from '@nextcloud/l10n'
import {
type PropType,

defineComponent,
} from 'vue'
import NcButton from '@nextcloud/vue/components/NcButton'
Expand Down Expand Up @@ -139,7 +139,7 @@ export default defineComponent({
},

emits: [
'update:expirationDate',
'update:expiration-date',
'update:password',
],

Expand Down Expand Up @@ -205,7 +205,7 @@ export default defineComponent({
mounted() {
// If defined, we set the default expiration date
if (this.defaultExpireDate) {
this.$emit('update:expirationDate', sharingConfig.defaultExpirationDate)
this.$emit('update:expiration-date', sharingConfig.defaultExpirationDate)
}

// If enforced, we cannot set a date before the default expiration days (see admin settings)
Expand All @@ -221,7 +221,7 @@ export default defineComponent({

methods: {
onToggleDeadline(checked: boolean) {
this.$emit('update:expirationDate', checked ? (this.maxDate || this.minDate) : null)
this.$emit('update:expiration-date', checked ? (this.maxDate || this.minDate) : null)
},

async onTogglePassword(checked: boolean) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
</template>

<script lang="ts" setup>
import {
type Component,
type PropType,
import type { Component, PropType } from 'vue'

import {
computed,
} from 'vue'

Expand Down
4 changes: 2 additions & 2 deletions apps/files_versions/src/components/VirtualScrolling.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</template>

<script lang="ts">
import {
type PropType,
import type { PropType } from 'vue'

import {
defineComponent,
} from 'vue'
import logger from '../utils/logger.ts'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
-->

<script setup lang="ts">
import type { PresetAppConfigs, PresetIds } from './models.ts'

import { t } from '@nextcloud/l10n'
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
import AccountGroupOutline from 'vue-material-design-icons/AccountGroupOutline.vue'
Expand All @@ -13,7 +15,6 @@ import Crowd from 'vue-material-design-icons/Crowd.vue'
import Domain from 'vue-material-design-icons/Domain.vue'
import MinusCircleOutline from 'vue-material-design-icons/MinusCircleOutline.vue'
import SchoolOutline from 'vue-material-design-icons/SchoolOutline.vue'
import { type PresetAppConfigs, type PresetIds } from './models.ts'

defineProps({
presets: {
Expand Down
4 changes: 2 additions & 2 deletions apps/settings/src/composables/useGetLocalizedValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import type { Ref } from 'vue'
import type { ILocalizedValue } from '../constants/AppDiscoverTypes.ts'

import { getLanguage } from '@nextcloud/l10n'
import {
type Ref,

computed,
} from 'vue'

Expand Down
5 changes: 5 additions & 0 deletions apps/settings/src/store/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ const getters = {
const CancelToken = axios.CancelToken
let searchRequestCancelSource = null

/**
*
* @param context
* @param response
*/
function commitGroupsFromUsersResponse(context, response) {
const groups = response.data.ocs.data.groups ?? []
if (groups.length === 0) {
Expand Down
15 changes: 0 additions & 15 deletions build/eslint-baseline-legacy.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"apps/files/src/components/FilesNavigationListItem.vue": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
}
},
"apps/files/src/components/TransferOwnershipDialogue.vue": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
Expand All @@ -29,11 +24,6 @@
"count": 1
}
},
"apps/settings/src/components/GroupListItem.vue": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
}
},
"apps/settings/src/components/Users/NewUserDialog.vue": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
Expand All @@ -42,11 +32,6 @@
"count": 17
}
},
"apps/settings/src/views/UserManagementNavigation.vue": {
"@nextcloud/no-deprecated-library-props": {
"count": 4
}
},
"apps/workflowengine/src/components/Check.vue": {
"vue/no-mutating-props": {
"count": 3
Expand Down
1 change: 0 additions & 1 deletion core/src/OC/msg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export default {
return
}

// eslint-disable-next-line @stylistic/exp-list-style
const animation = el.animate?.(
[
{ opacity: 1 },
Expand Down
4 changes: 2 additions & 2 deletions core/src/views/PublicPageMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
</template>

<script setup lang="ts">
import type { Ref } from 'vue'

import { loadState } from '@nextcloud/initial-state'
import { t } from '@nextcloud/l10n'
import { useIsSmallMobile } from '@nextcloud/vue/composables/useIsMobile'
import { spawnDialog } from '@nextcloud/vue/functions/dialog'
import {
type Ref,

computed,
ref,
} from 'vue'
Expand Down
2 changes: 0 additions & 2 deletions dist/4655-4655.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/4655-4655.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/4655-4655.js.map.license

This file was deleted.

2 changes: 0 additions & 2 deletions dist/5021-5021.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/5021-5021.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/5021-5021.js.map.license

This file was deleted.

2 changes: 1 addition & 1 deletion dist/5282-5282.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/69-69.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/69-69.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/69-69.js.map.license
2 changes: 2 additions & 0 deletions dist/738-738.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/738-738.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/738-738.js.map.license
4 changes: 2 additions & 2 deletions dist/7789-7789.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/7789-7789.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/8807-8807.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/8807-8807.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/FilesVersionsSidebarTab-ClY8Sds7.chunk.mjs.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/FilesVersionsSidebarTab-DYUtDG7Z.chunk.mjs.map

This file was deleted.

2 changes: 1 addition & 1 deletion dist/comments-comments-tab.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-login.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

Loading
Loading