1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 04:48:03 +00:00

feat: tags (#7029)

* feat: tags

* feat: optimize code

* feat: optimize ui

* feat: update title

* feat: update title

* Feat: tags status management

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize rebase

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
Co-authored-by: 杨国璇 <ygx@192.168.1.2>
This commit is contained in:
杨国璇
2024-11-22 17:11:55 +08:00
committed by GitHub
parent 0f6911bf50
commit 25860d1ab8
140 changed files with 5047 additions and 664 deletions

View File

@@ -159,10 +159,6 @@ export const Utils = {
}
},
isFaceRecognition: function (type) {
return type === PRIVATE_FILE_TYPE.FACE_RECOGNITION;
},
getShareLinkPermissionList: function (itemType, permission, path, canEdit) {
// itemType: library, dir, file
// permission: rw, r, admin, cloud-edit, preview, custom-*
@@ -1090,6 +1086,10 @@ export const Utils = {
return type === PRIVATE_FILE_TYPE.FILE_EXTENDED_PROPERTIES;
},
isTags: function (type) {
return type === PRIVATE_FILE_TYPE.TAGS_PROPERTIES;
},
isInternalFileLink: function (url, repoID) {
var re = new RegExp(serviceURL + '/lib/' + repoID + '/file.*');
return re.test(url);