-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QA][ocis] Share notification doesn't have all necessary action buttons #6256
Comments
@saw-jan where's the log? (oCIS and oC10) |
I have now attached the logs. 👍 |
Not an oC10 log. I uploaded and analysed the oCIS log here: |
I'd say backend doesn't send the information for the 3 buttons:
Looking forward for the oC10 log to compare… I'd expect something like https://doc.owncloud.com/server/next/developer_manual/core/apis/ocs-notification-endpoint-v1.html#response-with-notifications
|
The full support of all actions was not in scope of the server implementation. We need to do a follow up if needed. @tbsbdr @michaelstingl |
yes, needs some rework |
I uploaded the wrong file 😢 oC10 has actions properties in the response {
"notification_id": 6,
"app": "files_sharing",
"user": "admin",
"datetime": "2023-05-08T12:02:16+00:00",
"object_type": "local_share",
"object_id": "ocinternal:32",
"subject": "\\\"demo\\\" shared \\\"folder\\\" with you",
"message": "\\\"demo\\\" invited you to view \\\"folder\\\"",
"link": "http:\\/\\/10.0.2.2\\/ocstable\\/index.php\\/f\\/262",
"actions": [
{
"label": "Decline",
"link": "http:\\/\\/10.0.2.2\\/ocstable\\/ocs\\/v1.php\\/apps\\/files_sharing\\/api\\/v1\\/shares\\/pending\\/32",
"type": "DELETE",
"primary": false
},
{
"label": "Accept",
"link": "http:\\/\\/10.0.2.2\\/ocstable\\/ocs\\/v1.php\\/apps\\/files_sharing\\/api\\/v1\\/shares\\/pending\\/32",
"type": "POST",
"primary": true
}
],
"icon": "\\/ocstable\\/core\\/img\\/actions\\/shared.svg"
}
|
Current backend implementation is fine for me. Maybe needs documentation. We could decide to invest efforts only in a future, nicer API… |
Pre-submission Checks
Describe the bug
Share notification in the Server Activity tab doesn't have all action buttons (
Dismiss
,Accept
,Decline
)Expected behavior
Client version number
ownCloud 4.0.0.10781-rc2 bc29e0
Libraries Qt 5.15.8, OpenSSL 1.1.1t 7 Feb 2023
Using virtual files plugin: wincfapi
windows-10.0.17763
Server information
Infinite Scale 3.0.0-rc.2
Desktop client logs
Similar to owncloud/client#10814
The text was updated successfully, but these errors were encountered: