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

Accept to ocm group 2 #40886

Merged
merged 25 commits into from
Aug 10, 2023
Merged

Conversation

shokri-navid
Copy link
Contributor

Description

These are the hooks we need in the core repo to allow the FederatedGroups app to deal with outgoing and incoming OCM shares to group.

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@pako81 pako81 mentioned this pull request Jul 31, 2023
11 tasks
@phil-davis
Copy link
Contributor

Who is reviewing this PR?
What release is it likely to be done for?
How do we proceed?
@pako81 maybe you know what happens next?

@pako81
Copy link
Contributor

pako81 commented Jul 31, 2023

Let's still target master here and try to get it in 10.13. @jvillafanez can you maybe review this as apparently you already had a look at this?

Copy link
Member

@jvillafanez jvillafanez left a comment

Choose a reason for hiding this comment

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

just a tiny change from my side, but I think it's ok.
I can't test it, so I assume it works as intended.

}
return new JSONResponse();
}

private function initGroupManager() {
Copy link
Member

Choose a reason for hiding this comment

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

we probably should rename this function. There is a "groupManager" which is widely used (https://github.com/owncloud/core/blob/master/lib/public/IGroupManager.php) so it might be confusing.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jvillafanez Hi, I've changed the name a bit to "initGroupExternalManager", it should not be confused with simple "groupManager" anymore since it explicitly declares it is external.

If it still counts as confusing name, let me know.

@pako81
Copy link
Contributor

pako81 commented Aug 1, 2023

@shokri-navid @michielbdejong please see above and address the change request if possible.

@pako81
Copy link
Contributor

pako81 commented Aug 8, 2023

@shokri-navid @michielbdejong if this is needed for 10.13 then it would need to be merged till end of this week. We want to have 10.13 code freeze after that.

@CLAassistant
Copy link

CLAassistant commented Aug 10, 2023

CLA assistant check
All committers have signed the CLA.

@MahdiBaghbani
Copy link
Contributor

@pako81 @jvillafanez Hi, would you look at the change and see if this is good to merge?

@jvillafanez
Copy link
Member

good to merge from my side

@sonarcloud
Copy link

sonarcloud bot commented Aug 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 12 Code Smells

53.8% 53.8% Coverage
0.0% 0.0% Duplication

@phil-davis phil-davis requested a review from pako81 August 10, 2023 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OCM sharing to groups not supported?
9 participants