aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Reference/LinkReferenceProvider.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-241-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: Migrate LinkReferenceProvider to OCPAnupam Kumar2024-02-141-155/+4
| | | | | | | | | 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 <kyteinsky@gmail.com>
* Refactors lib/private/Collaboration.Faraz Samapoor2023-10-031-19/+11
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* avoid requests to opengraph image if no host detectedJulien Veyssier2023-06-091-16/+21
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(references): Do not log errors on 404 responses of opengraph image fetchingJulius Härtl2023-03-131-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* improve link reference content-type check, accept 'text/html;*'Julien Veyssier2023-01-101-1/+3
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* in the link reference provider, check if the link content type begins with ↵Julien Veyssier2023-01-091-1/+3
| | | | | | text/html Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* add restrictions on content-type and content-size when downloading to ↵Julien Veyssier2023-01-051-0/+16
| | | | | | resolve with opengraph link provider Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Move Reference class to public namespaceJulius Härtl2022-09-261-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Inject all dependnencies and increase cache timeoutJulius Härtl2022-08-311-4/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Refactor cache handlingJulius Härtl2022-08-311-6/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* CleanupJulius Härtl2022-08-311-5/+18
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Limit preview file sizeJulius Härtl2022-08-311-2/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add full public interfacesJulius Härtl2022-08-311-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement image cachingJulius Härtl2022-08-311-3/+35
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement reference provider based cachingJulius Härtl2022-08-311-3/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make reference fetching configurableJulius Härtl2022-08-311-2/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* API for fetching reference metadataJulius Härtl2022-08-311-0/+83
Signed-off-by: Julius Härtl <jus@bitgrid.net>