[CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL

This commit is contained in:
Diogo Cordeiro
2019-11-21 00:21:22 +00:00
committed by Diogo Peralta Cordeiro
parent 7bd316b506
commit 165edc2609
110 changed files with 112 additions and 111 deletions

View File

@@ -681,7 +681,7 @@ class EmbedPlugin extends Plugin
$versions[] = ['name' => 'Embed',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://gnu.io/social/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Plugin for using and representing oEmbed, OpenGraph and other data.')];

View File

@@ -78,7 +78,7 @@ final class oEmbedTest extends TestCase
return [
['https://notabug.org/', 'link'],
['http://www.youtube.com/watch?v=eUgLR232Cnw', 'video'],
['https://gnu.io/', 'link'],
[GNUSOCIAL_ENGINE_URL, 'link'],
['https://www.gnu.org/graphics/heckert_gnu.transp.small.png', 'photo'],
['http://vimeo.com/9283184', 'video'],
['http://leuksman.com/log/2010/10/29/statusnet-0-9-6-release/', 'none'],