Uh oh!
There was an error while loading. Please reload this page.
Add the mimetype to the preview arrays - #300
Conversation
tobiasKaminsky
commented
Oct 12, 2018
I am not sure, ideally there would be a way so that client get informed, once every app version has this included, so that I can remove the legacy code. Are capabilities the best way for this? They cannot be removed at all, or other apps might break? |
tobiasKaminsky
commented
Oct 29, 2018
@nickvergessen can you update this to latest master? This fails due to unsafe-eval. |
tobiasKaminsky
commented
Oct 29, 2018
Simple rebasing seems to be enough |
tobiasKaminsky
commented
Oct 29, 2018
@nickvergessen objects is not documented here: https://github.com/nextcloud/activity/blob/master/docs/endpoint-v2.md Can you clarify this on the following sample activity? We have objects{}, but also object_id, object_name which are the same like one (the last) of objects{}? objects{} holds the current path of the file? So on a deleted file it should be a path to trashbin? |
tobiasKaminsky
commented
Oct 30, 2018
@nickvergessen is there a way to backport this also to older version, e.g. those for Nc12/13? It would be a little nightmare to support both ways of preview fetching… |
nickvergessen
commented
Nov 6, 2018
No, just don't provide previews for 12/13/14 As for the object_* & objects{} information. That is the path of the moment when the activity happens. I guess the object_name should not be part of the API since it can/will change at least for files. But well, can't change the API and it was there when I started at OC back then. I will rebase this and fix the unit tests tomorrow, so we can get this in for 15 |
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
19fc5e4 to
190f6c8Comparenickvergessen
commented
Nov 7, 2018
Rebased and fixed unit tests |
@tobiasKaminsky I guess a capability is needed, or will you just check for existance of the field?