-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Provide API to let apps register their own Sabre plugins #26195
Comments
I'd add this to the info.xml <sabre>
<plugins>
<plugin>\OCA\TrashBin\Sabre\VersionPlugin</plugin>
</plugins>
<rootcollection>
<collection>\OCA\TrashBin\Sabre\VersionsRootCollection</collection>
</rootcollection>
</sabre> |
How about dependency injection ? With this format it means the given classes must have a constructor without arguments. Maybe we should rather expect a facade class |
These classes can be used in the server container to be resolves - we do this for repairsteps and jobs as well |
As we're writing more apps and move more to be in the market, we'll need this mechanism. |
Now the interesting part is that now we could move the comments app code (Sabre plugins + managers + DB structure) completely to the comments app. Same for system tags... |
PR here: #26761 I need to do more actual testing to see if everything fits correctly.
For the auth part one idea is to have an attribute @DeepDiver1975 thoughts ? |
Interestingly this also means that CalDAV/CardDAV could be moved to their own separate apps and even be disable-able... |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Considering that we want Webdav to be the main API in ownCloud, we need a way to let apps register their own Sabre plugins.
@DeepDiver1975 @butonic @mrow4a
The text was updated successfully, but these errors were encountered: