Skip to content
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

expose groupfolder through dav endpoint #2326

Merged
merged 4 commits into from Apr 20, 2023
Merged

expose groupfolder through dav endpoint #2326

merged 4 commits into from Apr 20, 2023

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Apr 12, 2023

expose groupfolders at /remote.php/dav/groupfolders/<user id>

you can also request the mount point for the group folder by requesting the {http://nextcloud.org/ns}mount-point property

@skjnldsv

This comment was marked as resolved.

@icewind1991

This comment was marked as resolved.

@skjnldsv skjnldsv added 2. developing Items that are currently under development and removed 3. to review Items that need to be reviewed labels Apr 19, 2023
icewind1991 and others added 4 commits April 20, 2023 12:23
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@skjnldsv skjnldsv requested a review from artonge April 20, 2023 10:29
@skjnldsv skjnldsv added 3. to review Items that need to be reviewed and removed 2. developing Items that are currently under development labels Apr 20, 2023
@skjnldsv
Copy link
Member

Ready for my part 👍
devcom_apps_files_groupfolders_dir=_

@skjnldsv
Copy link
Member

@artonge @icewind1991 if you have some time to quickly test the front, would be nice! :)

Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • If no actions available, should we allow selection?
  • Is there a way to provide icons to be displayed on the folder or file icon to differentiate groupfolder, share, e2ee, ...
  • The home icon is useless, can it be removed?

src/services/client.ts Show resolved Hide resolved
@skjnldsv
Copy link
Member

skjnldsv commented Apr 20, 2023

  • If no actions available, should we allow selection?

For server

  • Is there a way to provide icons to be displayed on the folder or file icon to differentiate groupfolder, share, e2ee, ...

Will be, also for server. The old way was a bit hacky, I will provide a dedicated MimeIcon API to register inline svg
EDIT: seems the current way is different than the mime API already in place. I will see what I can come up with :)

  • The home icon is useless, can it be removed?

It's not, clicking the last breadcrumb refreshes the current folder.
Here it would refresh the list of groupfolders (as in legacy files)
Nonetheless, this would be an issue for server and in the future, there is no doubt the groupfolder will not be just a redirect anymore but fully browsable. Let's keep it like that :)

@skjnldsv skjnldsv merged commit f467c96 into master Apr 20, 2023
18 checks passed
@skjnldsv skjnldsv deleted the dav-api branch April 20, 2023 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Items that need to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants