mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(web/server) Add more options to public shared link (#1348)
* Added migration files * Added logic for shared album level * Added permission for EXIF * Update shared link response dto * Added condition to show download button * Create and edit link with new parameter: * Remove deadcode * PR feedback * More refactor * Move logic of allow original file to service * Simplify * Wording
This commit is contained in:
@@ -736,7 +736,7 @@
|
||||
"/asset/download-library": {
|
||||
"get": {
|
||||
"operationId": "downloadLibrary",
|
||||
"description": "",
|
||||
"description": "Current this is not used in any UI element",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "skip",
|
||||
@@ -3786,6 +3786,12 @@
|
||||
"allowUpload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowDownload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"showExif": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -3887,6 +3893,12 @@
|
||||
},
|
||||
"allowUpload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowDownload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"showExif": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3897,7 +3909,9 @@
|
||||
"createdAt",
|
||||
"expiresAt",
|
||||
"assets",
|
||||
"allowUpload"
|
||||
"allowUpload",
|
||||
"allowDownload",
|
||||
"showExif"
|
||||
]
|
||||
},
|
||||
"UpdateAssetsToSharedLinkDto": {
|
||||
@@ -3926,6 +3940,12 @@
|
||||
"allowUpload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowDownload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"showExif": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isEditExpireTime": {
|
||||
"type": "boolean"
|
||||
}
|
||||
@@ -4085,6 +4105,12 @@
|
||||
"allowUpload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowDownload": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"showExif": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user