Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -18,6 +18,7 @@ use IPS\Member;
|
||||
use IPS\Request;
|
||||
use IPS\forums\Topic;
|
||||
use IPS\Output;
|
||||
use IPS\Settings;
|
||||
|
||||
/**
|
||||
* Bridge model
|
||||
@@ -37,8 +38,6 @@ class Bridge
|
||||
'imageLabelsForSearch' => [],
|
||||
'analyticsItem' => [],
|
||||
'awsGenerateTemporaryDownloadUrl' => null,
|
||||
'bounceMemberViewGetTableJoins' => [],
|
||||
'bounceMemberViewGetTableFilters' => [],
|
||||
'pagesAllowDatabaseAccess' => true,
|
||||
'core_admin_applications_apiKeys' => true,
|
||||
'checkPlatformPermission' => true,
|
||||
@@ -47,7 +46,8 @@ class Bridge
|
||||
'checkCommentForSpam' => false,
|
||||
'featureIsEnabled' => false,
|
||||
'sendNotifications' => true,
|
||||
'sendUnapprovedNotification' => true
|
||||
'sendUnapprovedNotification' => true,
|
||||
'checkAchievementRule' => true
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -59,7 +59,8 @@ class Bridge
|
||||
'refreshRealTimeToken',
|
||||
'liveTopicCreateFormFromCalendar',
|
||||
'bounceMemberViewRequestEmailUnblock',
|
||||
'dispatcherFinish'
|
||||
'dispatcherFinish',
|
||||
'postAchievement'
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -114,6 +115,9 @@ class Bridge
|
||||
*/
|
||||
public function alterAcpMenu( $menu ): ?array
|
||||
{
|
||||
/* Remove the community health menu item */
|
||||
unset( $menu['tabs']['stats']['core_keystats']['communityhealth'] );
|
||||
|
||||
return $menu;
|
||||
}
|
||||
|
||||
@@ -185,4 +189,17 @@ class Bridge
|
||||
{
|
||||
return $handlers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Turnstile credentials
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getTurnstileCredentials(): array
|
||||
{
|
||||
return [
|
||||
'site_key' => Settings::i()->turnstile_site_key,
|
||||
'secret_key' => Settings::i()->turnstile_secret_key
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user