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

feat: Migrate LinkReferenceProvider to OCP #43355

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

kyteinsky
Copy link
Contributor

@kyteinsky kyteinsky commented Feb 5, 2024

Summary

This would be useful to eleminate the need for using this OC class
when an app dev wants to implement a custom reference provider
for the web client but wants to fall back on opengraph for mobile
clients.

Checklist

@kyteinsky
Copy link
Contributor Author

It could've been an abstract class in OCP but that would interfere with ADiscoverableReferenceProvider.php so that idea was dropped.
Please squash before merge. The two commits are separated for ease of review only.

@kyteinsky kyteinsky force-pushed the feat/ocp-link-reference-provider branch 3 times, most recently from a3a84cb to eee7c0e Compare February 6, 2024 06:35
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

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

Minor comment.

Then 👍 💙

@kyteinsky kyteinsky force-pushed the feat/ocp-link-reference-provider branch 2 times, most recently from c6629c8 to 4996970 Compare February 14, 2024 10:58
@juliushaertl juliushaertl added enhancement 3. to review Waiting for reviews labels Feb 14, 2024
@juliushaertl juliushaertl added this to the Nextcloud 29 milestone Feb 14, 2024
@juliushaertl
Copy link
Member

The autoloaders are not up to date
Please run: bash build/autoloaderchecker.sh

@kyteinsky
Copy link
Contributor Author

there are a lot of changed hashes in the apps. Should that be included in the commit?

apps/admin_audit/composer/composer/installed.php

-        'reference' => 'b1797842784b250fb01ed5e3bf130705eb94751b',
+        'reference' => '49969705de01aff43cf2e6b662e5c96bd48a3b27',

@juliushaertl
Copy link
Member

Just the ones updating the class paths should be enough I think

This would be useful to eleminate the need for using this OC class
when an app dev wants to implement a custom reference provider
for the web client but wants to fall back on opengraph for mobile
clients.

Signed-off-by: Anupam Kumar <[email protected]>
@kyteinsky kyteinsky force-pushed the feat/ocp-link-reference-provider branch from 4996970 to 7329b83 Compare February 14, 2024 12:52
@kyteinsky kyteinsky merged commit c83a657 into master Feb 15, 2024
156 checks passed
@kyteinsky kyteinsky deleted the feat/ocp-link-reference-provider branch February 15, 2024 05:56
Copy link

welcome bot commented Feb 15, 2024

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants