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

code structure cleanup #104

Open
michielbdejong opened this issue Feb 16, 2023 · 7 comments
Open

code structure cleanup #104

michielbdejong opened this issue Feb 16, 2023 · 7 comments

Comments

@michielbdejong
Copy link
Contributor

I just noticed there is some code still in the createFederatedShare method of federatedgroups/lib/FederatedFileSharing/FederatedShareProvider that should be in federatedgroups/lib/FederatedGroupsShareProvider
We need to make a map of which parts of the existing core apps code we are replacing with a user-and-groups-capable variant, and which parts we are doubling up with an additional groups-capable child class. For the FederatedShareProvider we now have federatedgroups/lib/FederatedGroupsShareProvider so federatedgroups/lib/FederatedFileSharing/FederatedShareProvider should probably not even exist, right?

@michielbdejong
Copy link
Contributor Author

For the FederatedShareProvider it's probably best if we copy it, make some private methods protected, and then inherit from it for the FederatedGroupsShareProvider.

@soltanireza65 soltanireza65 self-assigned this Feb 24, 2023
@michielbdejong
Copy link
Contributor Author

One thing we could do is, for each file we copied&modified from core apps, do a diff against the unchanged version of the file, so we can see exactly what we have changed in each file.

@michielbdejong
Copy link
Contributor Author

See #109 and #108

@michielbdejong
Copy link
Contributor Author

And #110

@michielbdejong
Copy link
Contributor Author

And #111

@thepeak99
Copy link
Contributor

The OCM part is done the rest is still open.

@yasharpm
Copy link
Collaborator

Done for the OCM to groups app in the following commits:
pondersource@6732f66
pondersource@894ec49
pondersource@b2bb556

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants