-
Notifications
You must be signed in to change notification settings - Fork 113
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
Changes to appregistry and the HTTP appprovider service #1923
Comments
The changes to be made after the discussion today:
Note that we're returning the mime types here instead of the extension because we can add custom types in reva itself and the clients don't need to know about those. Related owncloud/web#5135 We can also return other stuff such as the link to a static asset representing the icon corresponding to the app. Some apps might want to execute some action (eg, via a JS script) so we need to see how those can be passed, but that can be decided later.
To help web identify how the call has to be made to the app, an extra parameter
Please add any other points that I might have missed @labkode @wkloucek @glpatcern |
Thanks Ishank for the nice summary. Following your list:
(Side-note: who decides the
|
@glpatcern I think the token dismantling should happen in the driver, since the TTL would be decided by the reva token. Maybe wopiserver can just return the token itself.
I think this should also be passed from the driver. That way we have a complete URL object being returned as part of the CS3APIs call (URL, form, headers, method). What do you think?
+1 |
For the listing endpoint at
We can expand this so instead of just the names, we return the whole provider struct which could have the icon URI, description and so on. |
You're absolutely right, my mistake. The wopiserver will definitely not dismantle the Reva token and will only return
Why not, but then if we want the driver to decide the method it could do so based on a config parameter, or on some kind of defaults. E.g. the wopi driver could default to |
|
I also had a discussion with my colleagues and they added following feedback:
|
I concur we need a view-only "value" in the set of permissions, and I started to do some some work in this direction in the context of the deny permission implementation. Let's review what we have. |
I think we can add this filtering to the HTTP service instead of CS3APIs as it doesn't really fit there. |
HTTP response for Collabora, which supports POST
Response for CodiMD, which doesn't
|
Wopiserver changes by @glpatcern: cs3org/wopiserver#43 |
One thing we didn't talk about is what we should display in the Technically we just have the mimetypes (see #1923 (comment)) available, but these are not really user friendly (eg. Do you have any ideas? Maybe add a human friendly file name to the mimetype? (I see L10N challenges incoming....) |
@wkloucek maybe we can expand the mapping of mimetypes with a new field "display name" that is more user friendly? |
there is PR on that in the CSapis: https://github.com/cs3org/cs3apis/pull/145/files. Will have a look next week |
Yep, I just created that PR for this use case indeed |
To keep track of the changes left from #1785:
The text was updated successfully, but these errors were encountered: