mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #46770 from nextcloud/feat/navigation-files-request
This commit is contained in:
commit
b9f35a7315
148 changed files with 452 additions and 448 deletions
|
|
@ -2,9 +2,12 @@
|
|||
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import type { ShareAttribute } from '../../../files_sharing/src/sharing'
|
||||
|
||||
import { FileAction, Permission, Node, FileType, View } from '@nextcloud/files'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
|
||||
import ArrowDownSvg from '@mdi/svg/svg/arrow-down.svg?raw'
|
||||
|
||||
const triggerDownload = function(url: string) {
|
||||
|
|
@ -31,7 +34,7 @@ const isDownloadable = function(node: Node) {
|
|||
|
||||
// If the mount type is a share, ensure it got download permissions.
|
||||
if (node.attributes['mount-type'] === 'shared') {
|
||||
const shareAttributes = JSON.parse(node.attributes['share-attributes'] ?? 'null')
|
||||
const shareAttributes = JSON.parse(node.attributes['share-attributes'] ?? '[]') as Array<ShareAttribute>
|
||||
const downloadAttribute = shareAttributes?.find?.((attribute: { scope: string; key: string }) => attribute.scope === 'permissions' && attribute.key === 'download')
|
||||
if (downloadAttribute !== undefined && downloadAttribute.value === false) {
|
||||
return false
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
*/
|
||||
|
||||
import type { Folder, Node } from '@nextcloud/files'
|
||||
import type { ShareAttribute } from '../../../files_sharing/src/sharing'
|
||||
|
||||
import { Permission } from '@nextcloud/files'
|
||||
import PQueue from 'p-queue'
|
||||
|
||||
|
|
@ -23,12 +25,6 @@ export const getQueue = () => {
|
|||
return queue
|
||||
}
|
||||
|
||||
type ShareAttribute = {
|
||||
value: boolean|string|number|null|object|Array<unknown>
|
||||
key: string
|
||||
scope: string
|
||||
}
|
||||
|
||||
export enum MoveCopyAction {
|
||||
MOVE = 'Move',
|
||||
COPY = 'Copy',
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
|
||||
export default {
|
||||
name: 'ExternalShareAction',
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ import FileRequestDatePassword from './NewFileRequestDialog/NewFileRequestDialog
|
|||
import FileRequestFinish from './NewFileRequestDialog/NewFileRequestDialogFinish.vue'
|
||||
import FileRequestIntro from './NewFileRequestDialog/NewFileRequestDialogIntro.vue'
|
||||
import logger from '../services/logger'
|
||||
import Share from '../models/Share'
|
||||
import Share from '../models/Share.ts'
|
||||
|
||||
enum STEP {
|
||||
FIRST = 0,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
<script lang="ts">
|
||||
import type { PropType } from 'vue'
|
||||
import Share from '../../models/Share'
|
||||
import Share from '../../models/Share.ts'
|
||||
|
||||
import { defineComponent } from 'vue'
|
||||
import { generateUrl, getBaseUrl } from '@nextcloud/router'
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ import SharingEntryQuickShareSelect from './SharingEntryQuickShareSelect.vue'
|
|||
|
||||
import ExternalShareAction from './ExternalShareAction.vue'
|
||||
import GeneratePassword from '../utils/GeneratePassword.ts'
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import SharesMixin from '../mixins/SharesMixin.js'
|
||||
import ShareDetails from '../mixins/ShareDetails.js'
|
||||
import { getLoggerBuilder } from '@nextcloud/logger'
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import debounce from 'debounce'
|
|||
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
|
||||
|
||||
import Config from '../services/ConfigService.ts'
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import ShareRequests from '../mixins/ShareRequests.js'
|
||||
import ShareTypes from '../mixins/ShareTypes.js'
|
||||
import ShareDetails from '../mixins/ShareDetails.js'
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import Config from '../services/ConfigService.ts'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import 'url-search-params-polyfill'
|
|||
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import axios from '@nextcloud/axios'
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import { emit } from '@nextcloud/event-bus'
|
||||
|
||||
const shareUrl = generateOcsUrl('apps/files_sharing/api/v1/shares')
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { getCurrentUser } from '@nextcloud/auth'
|
|||
import PQueue from 'p-queue'
|
||||
import debounce from 'debounce'
|
||||
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import SharesRequests from './ShareRequests.js'
|
||||
import ShareTypes from './ShareTypes.js'
|
||||
import Config from '../services/ConfigService.ts'
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import type { ShareType } from '@nextcloud/sharing'
|
||||
import type { ShareAttribute } from '../sharing'
|
||||
import { isFileRequest } from '../services/SharingService'
|
||||
|
||||
export default class Share {
|
||||
|
||||
_share
|
||||
|
|
@ -42,8 +46,6 @@ export default class Share {
|
|||
* state and make the whole class reactive
|
||||
*
|
||||
* @return {object} the share raw state
|
||||
* @readonly
|
||||
* @memberof Sidebar
|
||||
*/
|
||||
get state() {
|
||||
return this._share
|
||||
|
|
@ -51,104 +53,69 @@ export default class Share {
|
|||
|
||||
/**
|
||||
* get the share id
|
||||
*
|
||||
* @return {number}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get id() {
|
||||
get id(): number {
|
||||
return this._share.id
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share type
|
||||
*
|
||||
* @return {number}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get type() {
|
||||
get type(): ShareType {
|
||||
return this._share.share_type
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share permissions
|
||||
* See OC.PERMISSION_* variables
|
||||
*
|
||||
* @return {number}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
* See window.OC.PERMISSION_* variables
|
||||
*/
|
||||
get permissions() {
|
||||
get permissions(): number {
|
||||
return this._share.permissions
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share attributes
|
||||
*
|
||||
* @return {Array}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get attributes() {
|
||||
get attributes(): Array<ShareAttribute> {
|
||||
return this._share.attributes
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the share permissions
|
||||
* See OC.PERMISSION_* variables
|
||||
*
|
||||
* @param {number} permissions valid permission, See OC.PERMISSION_* variables
|
||||
* @memberof Share
|
||||
* See window.OC.PERMISSION_* variables
|
||||
*/
|
||||
set permissions(permissions) {
|
||||
set permissions(permissions: number) {
|
||||
this._share.permissions = permissions
|
||||
}
|
||||
|
||||
// SHARE OWNER --------------------------------------------------
|
||||
/**
|
||||
* Get the share owner uid
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get owner() {
|
||||
get owner(): string {
|
||||
return this._share.uid_owner
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share owner's display name
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get ownerDisplayName() {
|
||||
get ownerDisplayName(): string {
|
||||
return this._share.displayname_owner
|
||||
}
|
||||
|
||||
// SHARED WITH --------------------------------------------------
|
||||
/**
|
||||
* Get the share with entity uid
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get shareWith() {
|
||||
get shareWith(): string {
|
||||
return this._share.share_with
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share with entity display name
|
||||
* fallback to its uid if none
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get shareWithDisplayName() {
|
||||
get shareWithDisplayName(): string {
|
||||
return this._share.share_with_displayname
|
||||
|| this._share.share_with
|
||||
}
|
||||
|
|
@ -156,59 +123,39 @@ export default class Share {
|
|||
/**
|
||||
* Unique display name in case of multiple
|
||||
* duplicates results with the same name.
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get shareWithDisplayNameUnique() {
|
||||
get shareWithDisplayNameUnique(): string {
|
||||
return this._share.share_with_displayname_unique
|
||||
|| this._share.share_with
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share with entity link
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get shareWithLink() {
|
||||
get shareWithLink(): string {
|
||||
return this._share.share_with_link
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share with avatar if any
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get shareWithAvatar() {
|
||||
get shareWithAvatar(): string {
|
||||
return this._share.share_with_avatar
|
||||
}
|
||||
|
||||
// SHARED FILE OR FOLDER OWNER ----------------------------------
|
||||
/**
|
||||
* Get the shared item owner uid
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get uidFileOwner() {
|
||||
get uidFileOwner(): string {
|
||||
return this._share.uid_file_owner
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the shared item display name
|
||||
* fallback to its uid if none
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get displaynameFileOwner() {
|
||||
get displaynameFileOwner(): string {
|
||||
return this._share.displayname_file_owner
|
||||
|| this._share.uid_file_owner
|
||||
}
|
||||
|
|
@ -216,230 +163,159 @@ export default class Share {
|
|||
// TIME DATA ----------------------------------------------------
|
||||
/**
|
||||
* Get the share creation timestamp
|
||||
*
|
||||
* @return {number}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get createdTime() {
|
||||
get createdTime(): number {
|
||||
return this._share.stime
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the expiration date
|
||||
*
|
||||
* @return {string} date with YYYY-MM-DD format
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get expireDate() {
|
||||
get expireDate(): string {
|
||||
return this._share.expiration
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the expiration date
|
||||
*
|
||||
* @param {string} date the share expiration date with YYYY-MM-DD format
|
||||
* @memberof Share
|
||||
*/
|
||||
set expireDate(date) {
|
||||
set expireDate(date: string) {
|
||||
this._share.expiration = date
|
||||
}
|
||||
|
||||
// EXTRA DATA ---------------------------------------------------
|
||||
/**
|
||||
* Get the public share token
|
||||
*
|
||||
* @return {string} the token
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get token() {
|
||||
get token(): string {
|
||||
return this._share.token
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share note if any
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get note() {
|
||||
get note(): string {
|
||||
return this._share.note
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the share note if any
|
||||
*
|
||||
* @param {string} note the note
|
||||
* @memberof Share
|
||||
*/
|
||||
set note(note) {
|
||||
set note(note: string) {
|
||||
this._share.note = note
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the share label if any
|
||||
* Should only exist on link shares
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get label() {
|
||||
get label(): string {
|
||||
return this._share.label ?? ''
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the share label if any
|
||||
* Should only be set on link shares
|
||||
*
|
||||
* @param {string} label the label
|
||||
* @memberof Share
|
||||
*/
|
||||
set label(label) {
|
||||
set label(label: string) {
|
||||
this._share.label = label
|
||||
}
|
||||
|
||||
/**
|
||||
* Have a mail been sent
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get mailSend() {
|
||||
get mailSend(): boolean {
|
||||
return this._share.mail_send === true
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide the download button on public page
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get hideDownload() {
|
||||
get hideDownload(): boolean {
|
||||
return this._share.hide_download === true
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide the download button on public page
|
||||
*
|
||||
* @param {boolean} state hide the button ?
|
||||
* @memberof Share
|
||||
*/
|
||||
set hideDownload(state) {
|
||||
set hideDownload(state: boolean) {
|
||||
this._share.hide_download = state === true
|
||||
}
|
||||
|
||||
/**
|
||||
* Password protection of the share
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get password() {
|
||||
get password():string {
|
||||
return this._share.password
|
||||
}
|
||||
|
||||
/**
|
||||
* Password protection of the share
|
||||
*
|
||||
* @param {string} password the share password
|
||||
* @memberof Share
|
||||
*/
|
||||
set password(password) {
|
||||
set password(password: string) {
|
||||
this._share.password = password
|
||||
}
|
||||
|
||||
/**
|
||||
* Password expiration time
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
* @return {string} date with YYYY-MM-DD format
|
||||
*/
|
||||
get passwordExpirationTime() {
|
||||
get passwordExpirationTime(): string {
|
||||
return this._share.password_expiration_time
|
||||
}
|
||||
|
||||
/**
|
||||
* Password expiration time
|
||||
*
|
||||
* @param {string} password expiration time
|
||||
* @memberof Share
|
||||
* @param {string} passwordExpirationTime date with YYYY-MM-DD format
|
||||
*/
|
||||
set passwordExpirationTime(passwordExpirationTime) {
|
||||
set passwordExpirationTime(passwordExpirationTime: string) {
|
||||
this._share.password_expiration_time = passwordExpirationTime
|
||||
}
|
||||
|
||||
/**
|
||||
* Password protection by Talk of the share
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get sendPasswordByTalk() {
|
||||
get sendPasswordByTalk(): boolean {
|
||||
return this._share.send_password_by_talk
|
||||
}
|
||||
|
||||
/**
|
||||
* Password protection by Talk of the share
|
||||
*
|
||||
* @param {boolean} sendPasswordByTalk whether to send the password by Talk
|
||||
* or not
|
||||
* @memberof Share
|
||||
* @param {boolean} sendPasswordByTalk whether to send the password by Talk or not
|
||||
*/
|
||||
set sendPasswordByTalk(sendPasswordByTalk) {
|
||||
set sendPasswordByTalk(sendPasswordByTalk: boolean) {
|
||||
this._share.send_password_by_talk = sendPasswordByTalk
|
||||
}
|
||||
|
||||
// SHARED ITEM DATA ---------------------------------------------
|
||||
/**
|
||||
* Get the shared item absolute full path
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get path() {
|
||||
get path(): string {
|
||||
return this._share.path
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the item type: file or folder
|
||||
*
|
||||
* @return {string} 'folder' or 'file'
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
* @return {string} 'folder' | 'file'
|
||||
*/
|
||||
get itemType() {
|
||||
get itemType(): string {
|
||||
return this._share.item_type
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the shared item mimetype
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get mimetype() {
|
||||
get mimetype(): string {
|
||||
return this._share.mimetype
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the shared item id
|
||||
*
|
||||
* @return {number}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get fileSource() {
|
||||
*/
|
||||
get fileSource(): number {
|
||||
return this._share.file_source
|
||||
}
|
||||
|
||||
|
|
@ -447,23 +323,15 @@ export default class Share {
|
|||
* Get the target path on the receiving end
|
||||
* e.g the file /xxx/aaa will be shared in
|
||||
* the receiving root as /aaa, the fileTarget is /aaa
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get fileTarget() {
|
||||
get fileTarget(): string {
|
||||
return this._share.file_target
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the parent folder id if any
|
||||
*
|
||||
* @return {number}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get fileParent() {
|
||||
get fileParent(): number {
|
||||
return this._share.file_parent
|
||||
}
|
||||
|
||||
|
|
@ -471,67 +339,43 @@ export default class Share {
|
|||
|
||||
/**
|
||||
* Does this share have READ permissions
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get hasReadPermission() {
|
||||
return !!((this.permissions & OC.PERMISSION_READ))
|
||||
get hasReadPermission(): boolean {
|
||||
return !!((this.permissions & window.OC.PERMISSION_READ))
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this share have CREATE permissions
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get hasCreatePermission() {
|
||||
return !!((this.permissions & OC.PERMISSION_CREATE))
|
||||
get hasCreatePermission(): boolean {
|
||||
return !!((this.permissions & window.OC.PERMISSION_CREATE))
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this share have DELETE permissions
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get hasDeletePermission() {
|
||||
return !!((this.permissions & OC.PERMISSION_DELETE))
|
||||
get hasDeletePermission(): boolean {
|
||||
return !!((this.permissions & window.OC.PERMISSION_DELETE))
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this share have UPDATE permissions
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get hasUpdatePermission() {
|
||||
return !!((this.permissions & OC.PERMISSION_UPDATE))
|
||||
get hasUpdatePermission(): boolean {
|
||||
return !!((this.permissions & window.OC.PERMISSION_UPDATE))
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this share have SHARE permissions
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get hasSharePermission() {
|
||||
return !!((this.permissions & OC.PERMISSION_SHARE))
|
||||
get hasSharePermission(): boolean {
|
||||
return !!((this.permissions & window.OC.PERMISSION_SHARE))
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this share have download permissions
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get hasDownloadPermission() {
|
||||
get hasDownloadPermission(): boolean {
|
||||
const hasDisabledDownload = (attribute) => {
|
||||
return attribute.scope === 'permissions' && attribute.key === 'download' && attribute.value === false
|
||||
}
|
||||
|
|
@ -540,16 +384,9 @@ export default class Share {
|
|||
|
||||
/**
|
||||
* Is this mail share a file request ?
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get isFileRequest() {
|
||||
const isFileRequest = (attribute) => {
|
||||
return attribute.scope === 'fileRequest' && attribute.key === 'enabled' && attribute.value === true
|
||||
}
|
||||
return this.attributes.some(isFileRequest)
|
||||
get isFileRequest(): boolean {
|
||||
return isFileRequest(JSON.stringify(this.attributes))
|
||||
}
|
||||
|
||||
set hasDownloadPermission(enabled) {
|
||||
|
|
@ -580,45 +417,29 @@ export default class Share {
|
|||
// ! meaning the permissions for the recipient
|
||||
/**
|
||||
* Can the current user EDIT this share ?
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get canEdit() {
|
||||
get canEdit(): boolean {
|
||||
return this._share.can_edit === true
|
||||
}
|
||||
|
||||
/**
|
||||
* Can the current user DELETE this share ?
|
||||
*
|
||||
* @return {boolean}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get canDelete() {
|
||||
get canDelete(): boolean {
|
||||
return this._share.can_delete === true
|
||||
}
|
||||
|
||||
/**
|
||||
* Top level accessible shared folder fileid for the current user
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get viaFileid() {
|
||||
get viaFileid(): string {
|
||||
return this._share.via_fileid
|
||||
}
|
||||
|
||||
/**
|
||||
* Top level accessible shared folder path for the current user
|
||||
*
|
||||
* @return {string}
|
||||
* @readonly
|
||||
* @memberof Share
|
||||
*/
|
||||
get viaPath() {
|
||||
get viaPath(): string {
|
||||
return this._share.via_path
|
||||
}
|
||||
|
||||
|
|
@ -628,15 +449,15 @@ export default class Share {
|
|||
return this._share.parent
|
||||
}
|
||||
|
||||
get storageId() {
|
||||
get storageId(): string {
|
||||
return this._share.storage_id
|
||||
}
|
||||
|
||||
get storage() {
|
||||
get storage(): number {
|
||||
return this._share.storage
|
||||
}
|
||||
|
||||
get itemSource() {
|
||||
get itemSource(): number {
|
||||
return this._share.item_source
|
||||
}
|
||||
|
||||
|
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
import type { Entry, Folder, Node } from '@nextcloud/files'
|
||||
|
||||
import { Permission } from '@nextcloud/files'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
import FileUploadSvg from '@mdi/svg/svg/file-upload.svg?raw'
|
||||
import Vue, { defineAsyncComponent } from 'vue'
|
||||
|
|
@ -21,12 +20,9 @@ export const entry = {
|
|||
displayName: t('files_sharing', 'Create file request'),
|
||||
iconSvgInline: FileUploadSvg,
|
||||
order: 30,
|
||||
enabled(context: Folder): boolean {
|
||||
if ((context.permissions & Permission.SHARE) !== 0) {
|
||||
// We need to have either link shares creation permissions
|
||||
return sharingConfig.isPublicShareAllowed
|
||||
}
|
||||
return false
|
||||
enabled(): boolean {
|
||||
// We will check for the folder permission on the dialog
|
||||
return sharingConfig.isPublicShareAllowed
|
||||
},
|
||||
async handler(context: Folder, content: Node[]) {
|
||||
// Create document root
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
import type { AxiosPromise } from '@nextcloud/axios'
|
||||
import type { OCSResponse } from '@nextcloud/typings/ocs'
|
||||
import type { ShareAttribute } from '../sharing'
|
||||
|
||||
import { Folder, File, type ContentsWithRoot, Permission } from '@nextcloud/files'
|
||||
import { generateOcsUrl, generateRemoteUrl } from '@nextcloud/router'
|
||||
|
|
@ -73,6 +74,7 @@ const ocsEntryToNode = async function(ocsEntry: any): Promise<Folder | File | nu
|
|||
'owner-id': ocsEntry?.uid_owner,
|
||||
'owner-display-name': ocsEntry?.displayname_owner,
|
||||
'share-types': ocsEntry?.share_type,
|
||||
'share-attributes': ocsEntry?.attributes || '[]',
|
||||
favorite: ocsEntry?.tags?.includes((window.OC as Nextcloud.v28.OC & { TAG_FAVORITE: string }).TAG_FAVORITE) ? 1 : 0,
|
||||
},
|
||||
})
|
||||
|
|
@ -141,6 +143,24 @@ const getDeletedShares = function(): AxiosPromise<OCSResponse<any>> {
|
|||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a file request is enabled
|
||||
* @param attributes the share attributes json-encoded array
|
||||
*/
|
||||
export const isFileRequest = (attributes = '[]'): boolean => {
|
||||
const isFileRequest = (attribute) => {
|
||||
return attribute.scope === 'fileRequest' && attribute.key === 'enabled' && attribute.value === true
|
||||
}
|
||||
|
||||
try {
|
||||
const attributesArray = JSON.parse(attributes) as Array<ShareAttribute>
|
||||
return attributesArray.some(isFileRequest)
|
||||
} catch (error) {
|
||||
logger.error('Error while parsing share attributes', { error })
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Group an array of objects (here Nodes) by a key
|
||||
* and return an array of arrays of them.
|
||||
|
|
|
|||
10
apps/files_sharing/src/sharing.d.ts
vendored
Normal file
10
apps/files_sharing/src/sharing.d.ts
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
export type ShareAttribute = {
|
||||
value: boolean|string|number|null|object|Array<unknown>
|
||||
key: string
|
||||
scope: string
|
||||
}
|
||||
|
|
@ -273,7 +273,7 @@ import DotsHorizontalIcon from 'vue-material-design-icons/DotsHorizontal.vue'
|
|||
import ExternalShareAction from '../components/ExternalShareAction.vue'
|
||||
|
||||
import GeneratePassword from '../utils/GeneratePassword.ts'
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import ShareRequests from '../mixins/ShareRequests.js'
|
||||
import ShareTypes from '../mixins/ShareTypes.js'
|
||||
import SharesMixin from '../mixins/SharesMixin.js'
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import { generateOcsUrl } from '@nextcloud/router'
|
|||
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import axios from '@nextcloud/axios'
|
||||
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import SharingEntryInherited from '../components/SharingEntryInherited.vue'
|
||||
import SharingEntrySimple from '../components/SharingEntrySimple.vue'
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ import { loadState } from '@nextcloud/initial-state'
|
|||
|
||||
import Config from '../services/ConfigService.ts'
|
||||
import { shareWithTitle } from '../utils/SharedWithMe.js'
|
||||
import Share from '../models/Share.js'
|
||||
import Share from '../models/Share.ts'
|
||||
import ShareTypes from '../mixins/ShareTypes.js'
|
||||
import SharingEntryInternal from '../components/SharingEntryInternal.vue'
|
||||
import SharingEntrySimple from '../components/SharingEntrySimple.vue'
|
||||
|
|
|
|||
|
|
@ -37,12 +37,12 @@ describe('Sharing views definition', () => {
|
|||
const shareOverviewView = Navigation.views.find(view => view.id === 'shareoverview') as View
|
||||
const sharesChildViews = Navigation.views.filter(view => view.parent === 'shareoverview') as View[]
|
||||
|
||||
expect(Navigation.register).toHaveBeenCalledTimes(6)
|
||||
expect(Navigation.register).toHaveBeenCalledTimes(7)
|
||||
|
||||
// one main view and no children
|
||||
expect(Navigation.views.length).toBe(6)
|
||||
expect(Navigation.views.length).toBe(7)
|
||||
expect(shareOverviewView).toBeDefined()
|
||||
expect(sharesChildViews.length).toBe(5)
|
||||
expect(sharesChildViews.length).toBe(6)
|
||||
|
||||
expect(shareOverviewView?.id).toBe('shareoverview')
|
||||
expect(shareOverviewView?.name).toBe('Shares')
|
||||
|
|
@ -56,6 +56,7 @@ describe('Sharing views definition', () => {
|
|||
{ id: 'sharingin', name: 'Shared with you' },
|
||||
{ id: 'sharingout', name: 'Shared with others' },
|
||||
{ id: 'sharinglinks', name: 'Shared by link' },
|
||||
{ id: 'filerequest', name: 'File requests' },
|
||||
{ id: 'deletedshares', name: 'Deleted shares' },
|
||||
{ id: 'pendingshares', name: 'Pending shares' },
|
||||
]
|
||||
|
|
@ -103,7 +104,7 @@ describe('Sharing views contents', () => {
|
|||
})
|
||||
|
||||
registerSharingViews()
|
||||
expect(Navigation.views.length).toBe(6)
|
||||
expect(Navigation.views.length).toBe(7)
|
||||
Navigation.views.forEach(async (view: View) => {
|
||||
const content = await view.getContents('/')
|
||||
expect(content.contents).toStrictEqual([])
|
||||
|
|
|
|||
|
|
@ -10,9 +10,10 @@ import AccountGroupSvg from '@mdi/svg/svg/account-group.svg?raw'
|
|||
import AccountPlusSvg from '@mdi/svg/svg/account-plus.svg?raw'
|
||||
import AccountSvg from '@mdi/svg/svg/account.svg?raw'
|
||||
import DeleteSvg from '@mdi/svg/svg/delete.svg?raw'
|
||||
import FileUploadSvg from '@mdi/svg/svg/file-upload.svg?raw'
|
||||
import LinkSvg from '@mdi/svg/svg/link.svg?raw'
|
||||
|
||||
import { getContents } from '../services/SharingService'
|
||||
import { getContents, isFileRequest } from '../services/SharingService'
|
||||
|
||||
export const sharesViewId = 'shareoverview'
|
||||
export const sharedWithYouViewId = 'sharingin'
|
||||
|
|
@ -20,6 +21,7 @@ export const sharedWithOthersViewId = 'sharingout'
|
|||
export const sharingByLinksViewId = 'sharinglinks'
|
||||
export const deletedSharesViewId = 'deletedshares'
|
||||
export const pendingSharesViewId = 'pendingshares'
|
||||
export const fileRequestViewId = 'filerequest'
|
||||
|
||||
export default () => {
|
||||
const Navigation = getNavigation()
|
||||
|
|
@ -90,6 +92,29 @@ export default () => {
|
|||
getContents: () => getContents(false, true, false, false, [ShareType.Link]),
|
||||
}))
|
||||
|
||||
Navigation.register(new View({
|
||||
id: fileRequestViewId,
|
||||
name: t('files_sharing', 'File requests'),
|
||||
caption: t('files_sharing', 'List of file requests.'),
|
||||
|
||||
emptyTitle: t('files_sharing', 'No file requests'),
|
||||
emptyCaption: t('files_sharing', 'File requests you have created will show up here'),
|
||||
|
||||
icon: FileUploadSvg,
|
||||
order: 4,
|
||||
parent: sharesViewId,
|
||||
|
||||
columns: [],
|
||||
|
||||
getContents: () => getContents(false, true, false, false, [ShareType.Link, ShareType.Email])
|
||||
.then(({ folder, contents }) => {
|
||||
return {
|
||||
folder,
|
||||
contents: contents.filter((node) => isFileRequest(node.attributes?.['share-attributes'] || [])),
|
||||
}
|
||||
}),
|
||||
}))
|
||||
|
||||
Navigation.register(new View({
|
||||
id: deletedSharesViewId,
|
||||
name: t('files_sharing', 'Deleted shares'),
|
||||
|
|
@ -99,7 +124,7 @@ export default () => {
|
|||
emptyCaption: t('files_sharing', 'Shares you have left will show up here'),
|
||||
|
||||
icon: DeleteSvg,
|
||||
order: 4,
|
||||
order: 5,
|
||||
parent: sharesViewId,
|
||||
|
||||
columns: [],
|
||||
|
|
@ -116,7 +141,7 @@ export default () => {
|
|||
emptyCaption: t('files_sharing', 'Shares you have received but not approved will show up here'),
|
||||
|
||||
icon: AccountClockSvg,
|
||||
order: 5,
|
||||
order: 6,
|
||||
parent: sharesViewId,
|
||||
|
||||
columns: [],
|
||||
|
|
|
|||
4
dist/2812-2812.js
vendored
4
dist/2812-2812.js
vendored
File diff suppressed because one or more lines are too long
8
dist/2812-2812.js.license
vendored
8
dist/2812-2812.js.license
vendored
|
|
@ -29,6 +29,7 @@ SPDX-FileCopyrightText: Roeland Jago Douma
|
|||
SPDX-FileCopyrightText: Richie Bendall
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Philipp Kewisch
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: OpenJS Foundation and other contributors
|
||||
|
|
@ -39,6 +40,7 @@ SPDX-FileCopyrightText: Mapbox
|
|||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
|
||||
|
|
@ -518,6 +520,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- trough
|
||||
- version: 2.2.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- is-plain-obj
|
||||
- version: 4.1.0
|
||||
- license: MIT
|
||||
|
|
@ -569,6 +574,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- web-namespaces
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- which-typed-array
|
||||
- version: 1.1.15
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/2812-2812.js.map
vendored
2
dist/2812-2812.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/5963-5963.js
vendored
4
dist/5963-5963.js
vendored
File diff suppressed because one or more lines are too long
8
dist/5963-5963.js.license
vendored
8
dist/5963-5963.js.license
vendored
|
|
@ -15,11 +15,13 @@ SPDX-FileCopyrightText: Sindre Sorhus
|
|||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
|
|
@ -240,12 +242,18 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- util
|
||||
- version: 0.12.5
|
||||
- license: MIT
|
||||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- which-typed-array
|
||||
- version: 1.1.15
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/5963-5963.js.map
vendored
2
dist/5963-5963.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/8755-8755.js
vendored
2
dist/8755-8755.js
vendored
File diff suppressed because one or more lines are too long
1
dist/8755-8755.js.map
vendored
1
dist/8755-8755.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/8755-8755.js.map.license
vendored
1
dist/8755-8755.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
8755-8755.js.license
|
||||
2
dist/8832-8832.js
vendored
2
dist/8832-8832.js
vendored
File diff suppressed because one or more lines are too long
1
dist/8832-8832.js.map
vendored
1
dist/8832-8832.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/8832-8832.js.map.license
vendored
1
dist/8832-8832.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
8832-8832.js.license
|
||||
2
dist/9306-9306.js
vendored
Normal file
2
dist/9306-9306.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -21,6 +21,7 @@ SPDX-FileCopyrightText: Roeland Jago Douma
|
|||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Philipp Kewisch
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
|
@ -29,6 +30,7 @@ SPDX-FileCopyrightText: Julius Härtl <jus@bitgrid.net>
|
|||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jerry Bendy <jerry@icewingcc.com>
|
||||
|
|
@ -304,6 +306,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- unist-builder
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
|
|
@ -331,6 +336,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- which-typed-array
|
||||
- version: 1.1.15
|
||||
- license: MIT
|
||||
1
dist/9306-9306.js.map
vendored
Normal file
1
dist/9306-9306.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/9306-9306.js.map.license
vendored
Symbolic link
1
dist/9306-9306.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
9306-9306.js.license
|
||||
4
dist/9480-9480.js
vendored
4
dist/9480-9480.js
vendored
File diff suppressed because one or more lines are too long
8
dist/9480-9480.js.license
vendored
8
dist/9480-9480.js.license
vendored
|
|
@ -29,6 +29,7 @@ SPDX-FileCopyrightText: Roeland Jago Douma
|
|||
SPDX-FileCopyrightText: Richie Bendall
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Philipp Kewisch
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: OpenJS Foundation and other contributors
|
||||
|
|
@ -39,6 +40,7 @@ SPDX-FileCopyrightText: Mapbox
|
|||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
|
||||
|
|
@ -522,6 +524,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- trough
|
||||
- version: 2.2.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- is-plain-obj
|
||||
- version: 4.1.0
|
||||
- license: MIT
|
||||
|
|
@ -570,6 +575,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- web-namespaces
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- which-typed-array
|
||||
- version: 1.1.15
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/9480-9480.js.map
vendored
2
dist/9480-9480.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/99-99.js
vendored
Normal file
2
dist/99-99.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -16,6 +16,7 @@ SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
|||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
|
@ -23,6 +24,7 @@ SPDX-FileCopyrightText: Matt Zabriskie
|
|||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs>
|
||||
|
|
@ -260,6 +262,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- unist-builder
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
|
|
@ -284,6 +289,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- which-typed-array
|
||||
- version: 1.1.15
|
||||
- license: MIT
|
||||
1
dist/99-99.js.map
vendored
Normal file
1
dist/99-99.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/99-99.js.map.license
vendored
Symbolic link
1
dist/99-99.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
99-99.js.license
|
||||
4
dist/comments-comments-app.js
vendored
4
dist/comments-comments-app.js
vendored
File diff suppressed because one or more lines are too long
2
dist/comments-comments-app.js.map
vendored
2
dist/comments-comments-app.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/comments-comments-tab.js
vendored
4
dist/comments-comments-tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/comments-comments-tab.js.map
vendored
2
dist/comments-comments-tab.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/comments-init.js
vendored
4
dist/comments-init.js
vendored
File diff suppressed because one or more lines are too long
12
dist/comments-init.js.license
vendored
12
dist/comments-init.js.license
vendored
|
|
@ -10,13 +10,14 @@ SPDX-FileCopyrightText: Tobias Koppers @sokra
|
|||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: GitHub Inc.
|
||||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
|
||||
SPDX-FileCopyrightText: Christoph Wurst <christoph@winzerhof-wurst.at>
|
||||
SPDX-FileCopyrightText: Christoph Wurst
|
||||
SPDX-FileCopyrightText: Alkemics
|
||||
|
||||
|
|
@ -34,9 +35,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.7.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
|
|
@ -160,9 +158,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- set-function-length
|
||||
- version: 1.2.1
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- util
|
||||
- version: 0.12.5
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/comments-init.js.map
vendored
2
dist/comments-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
8
dist/core-common.js.license
vendored
8
dist/core-common.js.license
vendored
|
|
@ -54,6 +54,7 @@ SPDX-FileCopyrightText: Joyent
|
|||
SPDX-FileCopyrightText: José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com>
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
|
|
@ -77,7 +78,6 @@ SPDX-FileCopyrightText: Dylan Piercey <pierceydylan@gmail.com>
|
|||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
|
||||
SPDX-FileCopyrightText: David Clark
|
||||
SPDX-FileCopyrightText: Christopher Jeffrey
|
||||
SPDX-FileCopyrightText: Christoph Wurst <christoph@winzerhof-wurst.at>
|
||||
SPDX-FileCopyrightText: Christoph Wurst
|
||||
SPDX-FileCopyrightText: Borys Serebrov
|
||||
SPDX-FileCopyrightText: Ben Drucker
|
||||
|
|
@ -143,9 +143,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.7.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
|
|
@ -656,6 +653,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- trough
|
||||
- version: 2.2.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- is-plain-obj
|
||||
- version: 4.1.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-legacy-unified-search.js
vendored
4
dist/core-legacy-unified-search.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-legacy-unified-search.js.map
vendored
2
dist/core-legacy-unified-search.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-login.js
vendored
4
dist/core-login.js
vendored
File diff suppressed because one or more lines are too long
8
dist/core-login.js.license
vendored
8
dist/core-login.js.license
vendored
|
|
@ -17,12 +17,14 @@ SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
|||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: OpenJS Foundation and other contributors
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jeremy Ashkenas <jeremy@documentcloud.org>
|
||||
|
|
@ -259,6 +261,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- underscore
|
||||
- version: 1.13.6
|
||||
- license: MIT
|
||||
|
|
@ -274,6 +279,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/core-login.js.map
vendored
2
dist/core-login.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
8
dist/core-main.js.license
vendored
8
dist/core-main.js.license
vendored
|
|
@ -20,6 +20,7 @@ SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
|||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: OpenJS Foundation and other contributors
|
||||
|
|
@ -29,6 +30,7 @@ SPDX-FileCopyrightText: Matt Zabriskie
|
|||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Joey Andres
|
||||
|
|
@ -321,6 +323,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- underscore
|
||||
- version: 1.13.6
|
||||
- license: MIT
|
||||
|
|
@ -348,6 +353,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-profile.js
vendored
4
dist/core-profile.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-profile.js.map
vendored
2
dist/core-profile.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/dav-settings-personal-availability.js
vendored
4
dist/dav-settings-personal-availability.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
dist/files-init.js
vendored
4
dist/files-init.js
vendored
File diff suppressed because one or more lines are too long
8
dist/files-init.js.license
vendored
8
dist/files-init.js.license
vendored
|
|
@ -17,11 +17,13 @@ SPDX-FileCopyrightText: Sindre Sorhus
|
|||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
|
|
@ -263,6 +265,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- util
|
||||
- version: 0.12.5
|
||||
- license: MIT
|
||||
|
|
@ -272,6 +277,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/files-init.js.map
vendored
2
dist/files-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
8
dist/files-main.js.license
vendored
8
dist/files-main.js.license
vendored
|
|
@ -20,11 +20,13 @@ SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
|||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
|
|
@ -291,6 +293,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- util
|
||||
- version: 0.12.5
|
||||
- license: MIT
|
||||
|
|
@ -309,6 +314,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-personal-settings.js
vendored
4
dist/files-personal-settings.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-personal-settings.js.map
vendored
2
dist/files-personal-settings.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-reference-files.js
vendored
4
dist/files-reference-files.js
vendored
File diff suppressed because one or more lines are too long
8
dist/files-reference-files.js.license
vendored
8
dist/files-reference-files.js.license
vendored
|
|
@ -22,6 +22,7 @@ SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
|||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
|
@ -31,6 +32,7 @@ SPDX-FileCopyrightText: Mapbox
|
|||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
|
||||
|
|
@ -483,6 +485,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- trough
|
||||
- version: 2.2.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- is-plain-obj
|
||||
- version: 4.1.0
|
||||
- license: MIT
|
||||
|
|
@ -531,6 +536,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- web-namespaces
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/files-reference-files.js.map
vendored
2
dist/files-reference-files.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-search.js
vendored
4
dist/files-search.js
vendored
|
|
@ -1,2 +1,2 @@
|
|||
(()=>{"use strict";var e,r,t,i={66747:(e,r,t)=>{var i=t(61338),o=t(85168),n=t(63814),a=t(53334);const l=(0,t(35947).YK)().setApp("files").detectUser().build();document.addEventListener("DOMContentLoaded",(function(){const e=window.OCA;e.UnifiedSearch&&(l.info("Initializing unified search plugin: folder search from files app"),e.UnifiedSearch.registerFilterAction({id:"files",appId:"files",label:(0,a.Tl)("files","In folder"),icon:(0,n.d0)("files","app.svg"),callback:()=>{(0,o.a1)("Pick plain text files").addMimeTypeFilter("httpd/unix-directory").allowDirectories(!0).addButton({label:"Pick",callback:e=>{l.info("Folder picked",{folder:e[0]});const r=e[0];(0,i.Ic)("nextcloud:unified-search:add-filter",{id:"files",payload:r,filterUpdateText:(0,a.Tl)("files","Search in folder: {folder}",{folder:r.basename}),filterParams:{path:r.path}})}}).build().pick()}}))}))}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}n.m=i,e=[],n.O=(r,t,i,o)=>{if(!t){var a=1/0;for(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],o=e[s][2];for(var l=!0,d=0;d<t.length;d++)(!1&o||a>=o)&&Object.keys(n.O).every((e=>n.O[e](t[d])))?t.splice(d--,1):(l=!1,o<a&&(a=o));if(l){e.splice(s--,1);var c=i();void 0!==c&&(r=c)}}return r}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[t,i,o]},n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((r,t)=>(n.f[t](e,r),r)),[])),n.u=e=>e+"-"+e+".js?v="+{4254:"5c2324570f66dff0c8a1",9480:"26f38e1d6dabdd83315b"}[e],n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="nextcloud:",n.l=(e,i,o,a)=>{if(r[e])r[e].push(i);else{var l,d;if(void 0!==o)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var f=c[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==t+o){l=f;break}}l||(d=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+o),l.src=e),r[e]=[i];var u=(t,i)=>{l.onerror=l.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(i))),t)return t(i)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),d&&document.head.appendChild(l)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=2277,(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var r=n.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var i=t.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=t[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{n.b=document.baseURI||self.location.href;var e={2277:0};n.f.j=(r,t)=>{var i=n.o(e,r)?e[r]:void 0;if(0!==i)if(i)t.push(i[2]);else{var o=new Promise(((t,o)=>i=e[r]=[t,o]));t.push(i[2]=o);var a=n.p+n.u(r),l=new Error;n.l(a,(t=>{if(n.o(e,r)&&(0!==(i=e[r])&&(e[r]=void 0),i)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,i[1](l)}}),"chunk-"+r,r)}},n.O.j=r=>0===e[r];var r=(r,t)=>{var i,o,a=t[0],l=t[1],d=t[2],c=0;if(a.some((r=>0!==e[r]))){for(i in l)n.o(l,i)&&(n.m[i]=l[i]);if(d)var s=d(n)}for(r&&r(t);c<a.length;c++)o=a[c],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(s)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),n.nc=void 0;var a=n.O(void 0,[4208],(()=>n(66747)));a=n.O(a)})();
|
||||
//# sourceMappingURL=files-search.js.map?v=dcbfdd81049a8b54312b
|
||||
(()=>{"use strict";var e,r,t,i={66747:(e,r,t)=>{var i=t(61338),o=t(85168),n=t(63814),a=t(53334);const l=(0,t(35947).YK)().setApp("files").detectUser().build();document.addEventListener("DOMContentLoaded",(function(){const e=window.OCA;e.UnifiedSearch&&(l.info("Initializing unified search plugin: folder search from files app"),e.UnifiedSearch.registerFilterAction({id:"files",appId:"files",label:(0,a.Tl)("files","In folder"),icon:(0,n.d0)("files","app.svg"),callback:()=>{(0,o.a1)("Pick plain text files").addMimeTypeFilter("httpd/unix-directory").allowDirectories(!0).addButton({label:"Pick",callback:e=>{l.info("Folder picked",{folder:e[0]});const r=e[0];(0,i.Ic)("nextcloud:unified-search:add-filter",{id:"files",payload:r,filterUpdateText:(0,a.Tl)("files","Search in folder: {folder}",{folder:r.basename}),filterParams:{path:r.path}})}}).build().pick()}}))}))}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}n.m=i,e=[],n.O=(r,t,i,o)=>{if(!t){var a=1/0;for(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],o=e[s][2];for(var l=!0,d=0;d<t.length;d++)(!1&o||a>=o)&&Object.keys(n.O).every((e=>n.O[e](t[d])))?t.splice(d--,1):(l=!1,o<a&&(a=o));if(l){e.splice(s--,1);var c=i();void 0!==c&&(r=c)}}return r}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[t,i,o]},n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((r,t)=>(n.f[t](e,r),r)),[])),n.u=e=>e+"-"+e+".js?v="+{4254:"5c2324570f66dff0c8a1",9480:"091911c54ba29e3a2976"}[e],n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="nextcloud:",n.l=(e,i,o,a)=>{if(r[e])r[e].push(i);else{var l,d;if(void 0!==o)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var f=c[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==t+o){l=f;break}}l||(d=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+o),l.src=e),r[e]=[i];var u=(t,i)=>{l.onerror=l.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(i))),t)return t(i)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),d&&document.head.appendChild(l)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=2277,(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var r=n.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var i=t.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=t[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{n.b=document.baseURI||self.location.href;var e={2277:0};n.f.j=(r,t)=>{var i=n.o(e,r)?e[r]:void 0;if(0!==i)if(i)t.push(i[2]);else{var o=new Promise(((t,o)=>i=e[r]=[t,o]));t.push(i[2]=o);var a=n.p+n.u(r),l=new Error;n.l(a,(t=>{if(n.o(e,r)&&(0!==(i=e[r])&&(e[r]=void 0),i)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,i[1](l)}}),"chunk-"+r,r)}},n.O.j=r=>0===e[r];var r=(r,t)=>{var i,o,a=t[0],l=t[1],d=t[2],c=0;if(a.some((r=>0!==e[r]))){for(i in l)n.o(l,i)&&(n.m[i]=l[i]);if(d)var s=d(n)}for(r&&r(t);c<a.length;c++)o=a[c],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(s)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),n.nc=void 0;var a=n.O(void 0,[4208],(()=>n(66747)));a=n.O(a)})();
|
||||
//# sourceMappingURL=files-search.js.map?v=24d7570ce104617711c9
|
||||
2
dist/files-search.js.map
vendored
2
dist/files-search.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-sidebar.js
vendored
4
dist/files-sidebar.js
vendored
File diff suppressed because one or more lines are too long
4
dist/files-sidebar.js.license
vendored
4
dist/files-sidebar.js.license
vendored
|
|
@ -37,6 +37,7 @@ SPDX-FileCopyrightText: Joyent
|
|||
SPDX-FileCopyrightText: José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: John Hiesey
|
||||
|
|
@ -371,6 +372,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- unist-builder
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/files-sidebar.js.map
vendored
2
dist/files-sidebar.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_external-init.js
vendored
4
dist/files_external-init.js
vendored
File diff suppressed because one or more lines are too long
8
dist/files_external-init.js.license
vendored
8
dist/files_external-init.js.license
vendored
|
|
@ -13,11 +13,13 @@ SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
|
|||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com>
|
||||
|
|
@ -224,12 +226,18 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- util
|
||||
- version: 0.12.5
|
||||
- license: MIT
|
||||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/files_external-init.js.map
vendored
2
dist/files_external-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_reminders-init.js
vendored
4
dist/files_reminders-init.js
vendored
File diff suppressed because one or more lines are too long
8
dist/files_reminders-init.js.license
vendored
8
dist/files_reminders-init.js.license
vendored
|
|
@ -13,11 +13,13 @@ SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
|
|||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com>
|
||||
|
|
@ -224,6 +226,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- toastify-js
|
||||
- version: 1.12.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- util
|
||||
- version: 0.12.5
|
||||
- license: MIT
|
||||
|
|
@ -233,6 +238,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/files_reminders-init.js.map
vendored
2
dist/files_reminders-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-init.js
vendored
4
dist/files_sharing-init.js
vendored
File diff suppressed because one or more lines are too long
8
dist/files_sharing-init.js.license
vendored
8
dist/files_sharing-init.js.license
vendored
|
|
@ -15,6 +15,7 @@ SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
|
|||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
|
@ -22,6 +23,7 @@ SPDX-FileCopyrightText: Matt Zabriskie
|
|||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
|
||||
|
|
@ -263,6 +265,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- tabbable
|
||||
- version: 6.2.0
|
||||
- license: MIT
|
||||
- typescript-event-target
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- unist-builder
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
|
|
@ -284,6 +289,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- vue
|
||||
- version: 2.7.16
|
||||
- license: MIT
|
||||
- webdav
|
||||
- version: 5.6.0
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.93.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/files_sharing-init.js.map
vendored
2
dist/files_sharing-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-personal-settings.js
vendored
4
dist/files_sharing-personal-settings.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-personal-settings.js.map
vendored
2
dist/files_sharing-personal-settings.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-public-file-request.js
vendored
4
dist/files_sharing-public-file-request.js
vendored
|
|
@ -1,2 +1,2 @@
|
|||
(()=>{"use strict";var e,t,r,o={38943:(e,t,r)=>{var o=r(85168),n=r(85471);const a=(0,r(35947).YK)().setApp("files_sharing").detectUser().build(),i=localStorage.getItem("nick"),l=localStorage.getItem("publicAuthPromptShown");i&&l?a.debug("Public auth prompt already shown. Current nickname is '".concat(i,"'")):(0,o.Ss)((0,n.$V)((()=>Promise.all([r.e(4208),r.e(5315)]).then(r.bind(r,45315)))),{},(()=>localStorage.setItem("publicAuthPromptShown","true")))}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,e=[],a.O=(t,r,o,n)=>{if(!r){var i=1/0;for(s=0;s<e.length;s++){r=e[s][0],o=e[s][1],n=e[s][2];for(var l=!0,c=0;c<r.length;c++)(!1&n||i>=n)&&Object.keys(a.O).every((e=>a.O[e](r[c])))?r.splice(c--,1):(l=!1,n<i&&(i=n));if(l){e.splice(s--,1);var u=o();void 0!==u&&(t=u)}}return t}n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[r,o,n]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+e+".js?v="+{4254:"5c2324570f66dff0c8a1",5315:"16aff37ab8dbc31a4bc1",9480:"26f38e1d6dabdd83315b"}[e],a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="nextcloud:",a.l=(e,o,n,i)=>{if(t[e])t[e].push(o);else{var l,c;if(void 0!==n)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var d=u[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+n){l=d;break}}l||(c=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",r+n),l.src=e),t[e]=[o];var p=(r,o)=>{l.onerror=l.onload=null,clearTimeout(f);var n=t[e];if(delete t[e],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(o))),r)return r(o)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),c&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.j=9804,(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{a.b=document.baseURI||self.location.href;var e={9804:0};a.f.j=(t,r)=>{var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var n=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=n);var i=a.p+a.u(t),l=new Error;a.l(i,(r=>{if(a.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+n+": "+i+")",l.name="ChunkLoadError",l.type=n,l.request=i,o[1](l)}}),"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,r)=>{var o,n,i=r[0],l=r[1],c=r[2],u=0;if(i.some((t=>0!==e[t]))){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);if(c)var s=c(a)}for(t&&t(r);u<i.length;u++)n=i[u],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(s)},r=self.webpackChunknextcloud=self.webpackChunknextcloud||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var i=a.O(void 0,[4208],(()=>a(38943)));i=a.O(i)})();
|
||||
//# sourceMappingURL=files_sharing-public-file-request.js.map?v=4564f5e9057057d47476
|
||||
(()=>{"use strict";var e,t,r,o={38943:(e,t,r)=>{var o=r(85168),n=r(85471);const a=(0,r(35947).YK)().setApp("files_sharing").detectUser().build(),i=localStorage.getItem("nick"),l=localStorage.getItem("publicAuthPromptShown");i&&l?a.debug("Public auth prompt already shown. Current nickname is '".concat(i,"'")):(0,o.Ss)((0,n.$V)((()=>Promise.all([r.e(4208),r.e(5315)]).then(r.bind(r,45315)))),{},(()=>localStorage.setItem("publicAuthPromptShown","true")))}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,e=[],a.O=(t,r,o,n)=>{if(!r){var i=1/0;for(d=0;d<e.length;d++){r=e[d][0],o=e[d][1],n=e[d][2];for(var l=!0,c=0;c<r.length;c++)(!1&n||i>=n)&&Object.keys(a.O).every((e=>a.O[e](r[c])))?r.splice(c--,1):(l=!1,n<i&&(i=n));if(l){e.splice(d--,1);var u=o();void 0!==u&&(t=u)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[r,o,n]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+e+".js?v="+{4254:"5c2324570f66dff0c8a1",5315:"16aff37ab8dbc31a4bc1",9480:"091911c54ba29e3a2976"}[e],a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="nextcloud:",a.l=(e,o,n,i)=>{if(t[e])t[e].push(o);else{var l,c;if(void 0!==n)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var s=u[d];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==r+n){l=s;break}}l||(c=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",r+n),l.src=e),t[e]=[o];var p=(r,o)=>{l.onerror=l.onload=null,clearTimeout(f);var n=t[e];if(delete t[e],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(o))),r)return r(o)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),c&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.j=9804,(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{a.b=document.baseURI||self.location.href;var e={9804:0};a.f.j=(t,r)=>{var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var n=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=n);var i=a.p+a.u(t),l=new Error;a.l(i,(r=>{if(a.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+n+": "+i+")",l.name="ChunkLoadError",l.type=n,l.request=i,o[1](l)}}),"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,r)=>{var o,n,i=r[0],l=r[1],c=r[2],u=0;if(i.some((t=>0!==e[t]))){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);if(c)var d=c(a)}for(t&&t(r);u<i.length;u++)n=i[u],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(d)},r=self.webpackChunknextcloud=self.webpackChunknextcloud||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var i=a.O(void 0,[4208],(()=>a(38943)));i=a.O(i)})();
|
||||
//# sourceMappingURL=files_sharing-public-file-request.js.map?v=238781b5b66e1fa2b686
|
||||
File diff suppressed because one or more lines are too long
4
dist/files_trashbin-init.js
vendored
4
dist/files_trashbin-init.js
vendored
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue