-
Notifications
You must be signed in to change notification settings - Fork 47
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
Allow users to filter files by circles #137
Comments
About the Circles API, I know it is missing a function to retrieve the list of the shared items (circles_shares), I think nothing read the information listed in that database right now, and I will work on this. However this will not be necessary in here. If you start working on the files from Nextcloud, maybe adding a entry on the left menu: A 'shared by ...' entry that allow your users to filter the file shared by another user, a group or a circle. This would be an interesting feature. |
(Are we talking about the same thing in fact ? ;p) |
The API to get item shared from a Circle, in 2 versions, safe and not safe: #139 But I am sure it is not needed for this feature. |
@dtygel I still like the idea, any update ? :) |
@daita Yes! We have a working code, but haven't done the tests yet. If you'd like to see how it's going, we can make a PR, still without the tests. What do you think? |
Sure, please do. This would be great for NC13 |
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
This commit inserts a panel in files visualization to allow filtering files that were shared to one or more circles. Depends on some other modifications in nextcloud core, that will be referenced in the PR. Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Files-circles-panel: in javascript interface, just show the circles that the current user is member of. Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Above are the 3 commits that make the files' panel work. The first one is in core. The second and third ones are in circles' plugin. We'll do both PRs this week or on Monday for your review. |
Wow, this is nice. I am cleaning few stuff and I will PR on your fork, but can you please rebase on your side ? |
Cool that you liked it, @daita . We'll then rebase now to |
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
I don't think I am able to PR on your fork, so this is my work about this: https://github.com/nextcloud/circles/tree/edit-files-panel
|
cleaner, without the merge mess. |
We tested, everything seems fine. Great job!! Should we do a PR of this to circles? Um abraço! |
👍 please, make the PR for circles and nextcloud |
@viniciuscb can you check if the integration of this feature is still working on your side ? it seems to be buggy on NC13 and NC14 ! Obrigado |
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Changes to comply to coletivoEITA/circles#2 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Changes to comply to coletivoEITA/circles#2 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Polishing: get files shared to circles in caldav Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Changes to comply to coletivoEITA/circles#2 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Polishing: get files shared to circles in caldav Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> fixing Signed-off-by: Maxence Lange <maxence@artificial-owl.com> using CIRCLE__PROPERTYNAME Signed-off-by: Maxence Lange <maxence@artificial-owl.com> mocking getCircleMembership Signed-off-by: Maxence Lange <maxence@artificial-owl.com> fixing some phpdoc + deprecation Signed-off-by: Maxence Lange <maxence@artificial-owl.com> fixing propertyname Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: nextcloud/circles#137 Changes to comply to coletivoEITA/circles#2 Polishing: get files shared to circles in caldav Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Today, the file list view allows users to filter files by tags, but there is no way to list files per circle(s).
We are working on a PR to do this. For this to be possible, we will also need to make a PR to NextCloud Core, including the needed infrastructure in
core/js/files/client.js
and inapps/dav/lib/Connector/Sabre/FilesReportPlugin
.Our solution involves the creation of a new Method in Circles API V1, which we called
getObjectIdsForCircles
, and uses another new method, in ShareByCirclesProvider, which retrieves the shares by Circles's Unique Ids.The text was updated successfully, but these errors were encountered: