Merge branch 'dev' of codeberg.org:streams/streams into dev

This commit is contained in:
Mike Macgirvin 2023-09-26 07:50:05 +10:00
commit 2946f4a148
5 changed files with 4 additions and 5 deletions

View file

@ -3267,7 +3267,7 @@ class Activity
if ($act->obj['type'] === 'Place') {
$location = new Place($act->obj);
}
elseif (is_array($act->obj['location'])) {
elseif (is_array($act->obj['location']) && !$response_activity) {
$location = new Place($act->obj['location']);
}
}

View file

@ -340,7 +340,6 @@ class Apps
{
$apps = [
'Access Lists' => t('Access Lists'),
'Admin' => t('Site Admin'),
'Apps' => t('Apps'),
'Articles' => t('Articles'),
'CalDAV' => t('CalDAV'),
@ -406,6 +405,7 @@ class Apps
'Search' => t('Search'),
'Secrets' => t('Secrets'),
'Settings' => t('Settings'),
'Site Admin' => t('Site Admin'),
'Sites' => t('Sites'),
'Stream' => t('Stream'),
'Stream Order' => t('Stream Order'),

View file

@ -180,7 +180,6 @@ class Connect
return $result;
}
if ($r['xchan_network'] === 'activitypub') {
if (!$ap_allowed) {
$result['message'] = t('Protocol not supported');

View file

@ -1,6 +1,6 @@
version: 1
url: $baseurl/admin
requires: admin
name: Admin
name: Site Admin
photo: icon:wrench
categories: nav_featured_app

View file

@ -19,7 +19,7 @@ html {
}
.badge-pill {
background-color: #EEEEEE;
background-color: #888888;
}
.sys-apps-toggle {
}