mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:10:11 +00:00
Merge remote-tracking branch 'upstream/develop' into user-defined-channels
This commit is contained in:
commit
b8208974a4
79 changed files with 42459 additions and 29745 deletions
|
@ -85,6 +85,7 @@ class InstanceV2 extends BaseApi
|
|||
$domain = $this->baseUrl->getHost();
|
||||
$title = $this->config->get('config', 'sitename');
|
||||
$version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
|
||||
$source_url = 'https://git.friendi.ca/friendica/friendica';
|
||||
$description = $this->config->get('config', 'info');
|
||||
$usage = $this->buildUsageInfo();
|
||||
$thumbnail = new InstanceEntity\Thumbnail($this->baseUrl . $this->contactHeader->getMastodonBannerPath());
|
||||
|
@ -98,6 +99,7 @@ class InstanceV2 extends BaseApi
|
|||
$domain,
|
||||
$title,
|
||||
$version,
|
||||
$source_url,
|
||||
$description,
|
||||
$usage,
|
||||
$thumbnail,
|
||||
|
|
|
@ -111,7 +111,9 @@ class Hovercard extends BaseModule
|
|||
'tags' => $contact['keywords'],
|
||||
'bd' => $contact['bd'] <= DBA::NULL_DATE ? '' : $contact['bd'],
|
||||
'account_type' => Contact::getAccountType($contact['contact-type']),
|
||||
'contact_type' => $contact['contact-type'],
|
||||
'actions' => $actions,
|
||||
'self' => $contact['self'],
|
||||
],
|
||||
]);
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ class Photo extends BaseApi
|
|||
throw new NotModifiedException();
|
||||
}
|
||||
|
||||
Profile::addVisitorCookieForHTTPSigner();
|
||||
Profile::addVisitorCookieForHTTPSigner($this->server);
|
||||
|
||||
$customsize = 0;
|
||||
$square_resize = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue