Closed michaelstingl closed 9 months ago
@micbar @tbsbdr how does the URL in an OCIS activity mail notification look like?
Hello Marie Skłodowska Curie
Admin has shared "Neuer Ordner" with you.
Click here to view it: https://ocis.ocis-wopi.latest.owncloud.works/files/shares/with-me
---
ownCloud - Store. Share. Work.
https://owncloud.com/
Hello Marie Skłodowska Curie,
Admin has invited you to join "Mars".
Click here to view it: https://ocis.ocis-wopi.latest.owncloud.works/f/e8bb1ac8-0fdd-413b-a6ed-ebc79e057b77$8d424a4e-df7a-4e6a-9ffd-8a61d96aa212
---
ownCloud - Store. Share. Work.
https://owncloud.com/
Id-only based URLs look like this: https://<host>/f/<resource_id>
. I don't not why it differs from the ADR specified in https://owncloud.dev/ocis/adr/0011-global-url-format/#configurable-path-component-in-urls, however, I'm not aware of any plans to change that in the future. (Note that the wording in this section of the ADR is "could" and "would", so it sounds like these are just suggestions?). @michaelstingl does that work for you?
@michaelstingl does that work for you?
PO / PM decision @tbsbdr
@JammingBen @michaelstingl
I was under the impression that
This URL https://ocis.ocis-wopi.latest.owncloud.works/files/spaces/project/neuer-space/Neuer%20Ordner?fileId=3dcbbe99-aaab-4fd7-96cf-fd4422a2847d%2434d61e97-cbbd-492c-8f20-3a90db4b2bf8%212942948a-6e18-4edb-8d38-03104994376c&sort-by=name&sort-dir=asc&scrollTo=Neue%20Datei.txt&tiles-size=2&items-per-page=100&view-mode=resource-table
should work without the path prefix
https://ocis.ocis-wopi.latest.owncloud.works/files/spaces/?fileId=3dcbbe99-aaab-4fd7-96cf-fd4422a2847d%2434d61e97-cbbd-492c-8f20-3a90db4b2bf8%212942948a-6e18-4edb-8d38-03104994376c&sort-by=name&sort-dir=asc&scrollTo=Neue%20Datei.txt&tiles-size=2&items-per-page=100&view-mode=resource-table
No that doesn't work. I'm only aware of the following 2 ways:
https://ocis.ocis-wopi.latest.owncloud.works/f/3dcbbe99-aaab-4fd7-96cf-fd4422a2847d%2434d61e97-cbbd-492c-8f20-3a90db4b2bf8%212942948a-6e18-4edb-8d38-03104994376c
(file id only)https://ocis.ocis-wopi.latest.owncloud.works/files/spaces/project?fileId=3dcbbe99-aaab-4fd7-96cf-fd4422a2847d%2434d61e97-cbbd-492c-8f20-3a90db4b2bf8%212942948a-6e18-4edb-8d38-03104994376c
(file id in combination with the project
namespace)ah, ok
This seems we need to clean up the ADR
... it was intended to support an auto-redirect of id-only to path and id. Missing path and wrong path should be treated the same way: resolve to the correct path and id combination.
Seems like we only support the correction of a wrong path at the moment.
However, the private link /f/fileid has nothing to do with that and should and will always work.
Okay, so that means we treat this as a bug or an enhancement...?
Okay, so that means we treat this as a bug or an enhancement...?
bug :-)