migrate therinaldos.com data
Build & Deploy to DigitalOcean Space / build (push) Failing after 2m38s

This commit is contained in:
2024-05-05 15:50:45 -04:00
commit ef1ff240d4
23182 changed files with 3801898 additions and 0 deletions
@@ -0,0 +1,52 @@
<?php
/**
* @copyright Copyright (c) 2016, Joas Schilling <coding@schilljs.com>
*
* @author Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\AppInfo;
use OCA\FirstRunWizard\Listener\AppEnabledListener;
use OCA\FirstRunWizard\Listener\BeforeTemplateRenderedListener;
use OCA\FirstRunWizard\Notification\Notifier;
use OCP\App\ManagerEvent;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent;
class Application extends App implements IBootstrap {
public const APP_ID = 'firstrunwizard';
public function __construct() {
parent::__construct('firstrunwizard');
}
public function register(IRegistrationContext $context): void {
$context->registerEventListener(ManagerEvent::EVENT_APP_ENABLE, AppEnabledListener::class);
$context->registerEventListener(BeforeTemplateRenderedEvent::class, BeforeTemplateRenderedListener::class);
}
public function boot(IBootContext $context): void {
$serverContainer = $context->getServerContainer();
$serverContainer->getNotificationManager()->registerNotifierService(Notifier::class);
}
}
@@ -0,0 +1,127 @@
<?php
/**
* @copyright Copyright (c) 2016 Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\Controller;
use OCA\FirstRunWizard\AppInfo\Application;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Http\JSONResponse;
use OCP\Defaults;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\IRequest;
class WizardController extends Controller {
/** @var IConfig */
protected $config;
/** @var string */
protected $userId;
/** @var Defaults */
protected $theming;
/** @var IGroupManager */
protected $groupManager;
/** @var array|false|string[] */
protected $slides = [];
/**
* @param string $appName
* @param IRequest $request
* @param IConfig $config
* @param string $userId
* @param Defaults $theming
*/
public function __construct($appName, IRequest $request, IConfig $config, $userId, Defaults $theming, IGroupManager $groupManager) {
parent::__construct($appName, $request);
$this->config = $config;
$this->userId = $userId;
$this->theming = $theming;
$this->groupManager = $groupManager;
$this->slides = explode(',', $this->config->getAppValue(Application::APP_ID, 'slides', 'video,values,apps,clients,final'));
}
/**
* @NoAdminRequired
* @return DataResponse
*/
public function disable() {
$this->config->setUserValue($this->userId, 'firstrunwizard', 'show', 0);
return new DataResponse();
}
/**
* @NoAdminRequired
* @return JsonResponse
*/
public function show() {
$appStore = $this->config->getSystemValue('appstoreenabled', true);
$data = [
'desktop' => $this->config->getSystemValue('customclient_desktop', $this->theming->getSyncClientUrl()),
'android' => $this->config->getSystemValue('customclient_android', $this->theming->getAndroidClientUrl()),
'fdroid' => $this->config->getSystemValue('customclient_fdroid', $this->theming->getFDroidClientUrl()),
'ios' => $this->config->getSystemValue('customclient_ios', $this->theming->getiOSClientUrl()),
'appStore' => $appStore,
'useTLS' => $this->request->getServerProtocol() === 'https',
'macOSProfile' => \OCP\Util::linkToRemote('dav') . 'provisioning/apple-provisioning.mobileconfig',
];
$slides = [];
$slides[] = $this->staticSlide('page.values', $data);
if ($appStore && $this->groupManager->isAdmin($this->userId)) {
$slides[] = $this->staticSlide('page.apps', $data);
}
$slides[] = $this->staticSlide('page.clients', $data);
$slides[] = $this->staticSlide('page.final', $data);
return new JSONResponse([
'hasVideo' => in_array('video', $this->slides, true),
'slides' => array_values(array_filter($slides, function ($slide) {
return $slide !== null;
}))
]);
}
public function staticSlide($name, $params) {
if (!in_array(substr($name, 5), $this->slides, true)) {
return null;
}
$template = new \OCP\Template($this->appName, $name, false);
foreach ($params as $key => $value) {
$template->assign($key, $value);
}
return [
'type' => 'inline',
'content' => $template->fetchPage($params)
];
}
}
@@ -0,0 +1,49 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2020 Morris Jobke <hey@morrisjobke.de>
*
* @author Morris Jobke <hey@morrisjobke.de>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\Listener;
use OCA\FirstRunWizard\Notification\AppHint;
use OCP\App\ManagerEvent;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
class AppEnabledListener implements IEventListener {
/** @var AppHint */
private $appHint;
public function __construct(AppHint $appHint) {
$this->appHint = $appHint;
}
public function handle(Event $event): void {
if (!$event instanceof ManagerEvent) {
return;
}
$this->appHint->dismissNotification($event->getAppID());
}
}
@@ -0,0 +1,119 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2020 Morris Jobke <hey@morrisjobke.de>
*
* @author Morris Jobke <hey@morrisjobke.de>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\Listener;
use OCA\FirstRunWizard\AppInfo\Application;
use OCA\FirstRunWizard\Notification\AppHint;
use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent;
use OCP\AppFramework\Services\IInitialState;
use OCP\BackgroundJob\IJobList;
use OCP\Defaults;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\IConfig;
use OCP\IUser;
use OCP\IUserSession;
use OCP\Util;
class BeforeTemplateRenderedListener implements IEventListener {
/**
* @var IUserSession
*/
private $userSession;
/**
* @var IConfig
*/
private $config;
/**
* @var AppHint
*/
private $appHint;
/**
* @var IJobList
*/
private $jobList;
/** @var IInitialState */
protected $initialState;
/** @var Defaults */
protected $theming;
public function __construct(
IConfig $config,
IUserSession $userSession,
IJobList $jobList,
AppHint $appHint,
IInitialState $initialState,
Defaults $theming,
) {
$this->userSession = $userSession;
$this->config = $config;
$this->appHint = $appHint;
$this->jobList = $jobList;
$this->initialState = $initialState;
$this->theming = $theming;
}
public function handle(Event $event): void {
if (!$event instanceof BeforeTemplateRenderedEvent || !$event->isLoggedIn()) {
return;
}
$user = $this->userSession->getUser();
if (!$user instanceof IUser) {
return;
}
if ($this->config->getUserValue($user->getUID(), Application::APP_ID, 'show', '1') !== '0') {
Util::addScript(Application::APP_ID, 'activate');
$this->jobList->add('OCA\FirstRunWizard\Notification\BackgroundJob', ['uid' => $this->userSession->getUser()->getUID()]);
}
if ($this->config->getSystemValueBool('appstoreenabled', true)) {
$this->appHint->sendAppHintNotifications();
}
Util::addScript(Application::APP_ID, 'about');
$this->initialState->provideInitialState(
'desktop',
$this->config->getSystemValue('customclient_desktop', $this->theming->getSyncClientUrl())
);
$this->initialState->provideInitialState(
'android',
$this->config->getSystemValue('customclient_android', $this->theming->getAndroidClientUrl())
);
$this->initialState->provideInitialState(
'ios',
$this->config->getSystemValue('customclient_ios', $this->theming->getiOSClientUrl())
);
}
}
@@ -0,0 +1,100 @@
<?php
/**
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\Notification;
use OCP\App\IAppManager;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\Notification\IManager as INotificationManager;
class AppHint {
/** @var INotificationManager */
protected $notificationManager;
/** @var IGroupManager */
protected $groupManager;
/** @var IAppManager */
protected $appManager;
/** @var IConfig */
protected $config;
/** @var string */
private $userId;
public const APP_HINT_VERSION = '18';
public function __construct(INotificationManager $notificationManager, IGroupManager $groupManager, IAppManager $appManager, IConfig $config, $userId) {
$this->notificationManager = $notificationManager;
$this->groupManager = $groupManager;
$this->appManager = $appManager;
$this->config = $config;
$this->userId = $userId;
}
public function sendAppHintNotifications(): void {
if ($this->userId !== null && $this->groupManager->isAdmin($this->userId) && $this->config->getUserValue($this->userId, 'firstrunwizard', 'apphint') !== self::APP_HINT_VERSION) {
$this->sendNotification('recognize', $this->userId);
$this->sendNotification('groupfolders', $this->userId);
$this->sendNotification('forms', $this->userId);
$this->sendNotification('deck', $this->userId);
$this->sendNotification('tasks', $this->userId);
$this->config->setUserValue($this->userId, 'firstrunwizard', 'apphint', self::APP_HINT_VERSION);
}
}
protected function sendNotification(string $app, string $user): void {
$notification = $this->generateNotification($app, $user);
if (
$this->config->getUserValue($this->userId, 'firstrunwizard', 'apphint') !== self::APP_HINT_VERSION
&& $this->notificationManager->getCount($notification) === 0
&& !$this->appManager->isEnabledForUser($app)
) {
$notification->setDateTime(new \DateTime());
$this->notificationManager->notify($notification);
}
if ($this->notificationManager->getCount($notification) === 0) {
return;
}
}
public function dismissNotification(string $app) {
$notification = $this->notificationManager->createNotification();
$notification->setApp('firstrunwizard')
->setSubject('apphint-'. $app)
->setObject('app', $app);
$this->notificationManager->markProcessed($notification);
}
protected function generateNotification(string $app, string $user) {
$notification = $this->notificationManager->createNotification();
$notification->setApp('firstrunwizard')
->setSubject('apphint-'. $app)
->setObject('app', $app)
->setUser($user);
return $notification;
}
}
@@ -0,0 +1,56 @@
<?php
/**
* @copyright Copyright (c) 2016 Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\Notification;
use OC\BackgroundJob\QueuedJob;
use OCP\Notification\IManager as INotificationManager;
class BackgroundJob extends QueuedJob {
/** @var INotificationManager */
protected $notificationManager;
/**
* BackgroundJob constructor.
*
* @param INotificationManager $notificationManager
*/
public function __construct(INotificationManager $notificationManager) {
$this->notificationManager = $notificationManager;
}
/**
* @param array $argument
*/
protected function run($argument) {
$notification = $this->notificationManager->createNotification();
$notification->setApp('firstrunwizard')
->setSubject('profile')
->setObject('user', $argument['uid'])
->setUser($argument['uid']);
if ($this->notificationManager->getCount($notification) === 0) {
$notification->setDateTime(new \DateTime());
$this->notificationManager->notify($notification);
}
}
}
@@ -0,0 +1,217 @@
<?php
/**
* @copyright Copyright (c) 2016 Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\Notification;
use OCP\IConfig;
use OCP\IURLGenerator;
use OCP\IUserManager;
use OCP\L10N\IFactory;
use OCP\Notification\IManager as INotificationManager;
use OCP\Notification\INotification;
use OCP\Notification\INotifier;
use OCP\User\Backend\ISetPasswordBackend;
class Notifier implements INotifier {
/** @var IFactory */
protected $factory;
/** @var IUserManager */
protected $userManager;
/** @var INotificationManager */
protected $notificationManager;
/** @var IURLGenerator */
protected $url;
/** @var IConfig */
protected $config;
public function __construct(IFactory $factory,
IUserManager $userManager,
INotificationManager $notificationManager,
IURLGenerator $urlGenerator,
IConfig $config) {
$this->factory = $factory;
$this->userManager = $userManager;
$this->notificationManager = $notificationManager;
$this->url = $urlGenerator;
$this->config = $config;
}
/**
* Identifier of the notifier, only use [a-z0-9_]
*
* @return string
* @since 17.0.0
*/
public function getID(): string {
return 'firstrunwizard';
}
/**
* Human readable name describing the notifier
*
* @return string
* @since 17.0.0
*/
public function getName(): string {
return $this->factory->get('firstrunwizard')->t('First run wizard');
}
/**
* @param INotification $notification
* @param string $languageCode The code of the language that should be used to prepare the notification
* @return INotification
* @throws \InvalidArgumentException When the notification was not prepared by a notifier
* @since 9.0.0
*/
public function prepare(INotification $notification, string $languageCode): INotification {
if ($notification->getApp() !== 'firstrunwizard') {
// Not my app => throw
throw new \InvalidArgumentException();
}
switch ($notification->getSubject()) {
case 'profile':
$subject = $this->getSubject($notification, $languageCode);
if ($subject === '') {
// Everything done, mark the notification as processed...
$this->notificationManager->markProcessed($notification);
throw new \InvalidArgumentException();
}
$notification->setParsedSubject($subject)
->setLink($this->url->linkToRouteAbsolute('settings.PersonalSettings.index'))
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('firstrunwizard', 'user.svg')));
return $notification;
case 'apphint-calendar':
case 'apphint-contacts':
case 'apphint-forms':
case 'apphint-mail':
case 'apphint-spreed':
case 'apphint-tasks':
case 'apphint-deck':
case 'apphint-notes':
case 'apphint-recognize':
case 'apphint-groupfolders':
$app = $notification->getObjectId();
return $this->setAppHintDetails($notification, $languageCode, $app);
default:
// Unknown subject => Unknown notification => throw
throw new \InvalidArgumentException();
}
}
/**
* @param INotification $notification
* @param string $languageCode
* @return string
*/
protected function getSubject(INotification $notification, string $languageCode): string {
$l = $this->factory->get('firstrunwizard', $languageCode);
$user = $this->userManager->get($notification->getUser());
if ($user === null) {
return '';
}
$email = $user->getEMailAddress();
if ($email === null || $email === '') {
if ($this->config->getSystemValue('lost_password_link', '') || !$user->getBackend() instanceof ISetPasswordBackend) {
return $l->t('Add your profile information! For example your email is needed to receive notifications.');
}
return $l->t('Add your profile information! For example your email is needed to receive notifications and reset your password.');
}
if ($user->canChangeDisplayName() && $user->getDisplayName() === $user->getUID()) {
if ($user->canChangeAvatar() && $user->getAvatarImage(32) === null) {
return $l->t('Add your profile information! Set a profile picture and full name for easier recognition across all features.');
} else {
return $l->t('Add your profile information! Set a full name for easier recognition across all features.');
}
} else {
if ($user->canChangeAvatar() && $user->getAvatarImage(32) === null) {
return $l->t('Add your profile information! Set a profile picture for easier recognition across all features.');
} else {
return '';
}
}
}
/**
* @param INotification $notification
* @param string $languageCode
* @return INotification
*/
protected function setAppHintDetails(INotification $notification, $languageCode, $app) {
$l = $this->factory->get('firstrunwizard', $languageCode);
$appLink = '';
switch ($app) {
case 'calendar':
$notification->setParsedSubject($l->t('App recommendation: Nextcloud Calendar'));
$notification->setParsedMessage($l->t('Schedule work & meetings, synced with all your devices.'));
$appLink = '/organization/calendar';
break;
case 'contacts':
$notification->setParsedSubject($l->t('App recommendation: Nextcloud Contacts'));
$notification->setParsedMessage($l->t('Keep your colleagues and friends in one place without leaking their private info.'));
$appLink = '/organization/contacts';
break;
case 'mail':
$notification->setParsedSubject($l->t('App recommendation: Nextcloud Mail'));
$notification->setParsedMessage($l->t('Simple email app nicely integrated with Files, Contacts and Calendar.'));
$appLink = '/social/mail';
break;
case 'tasks':
$notification->setParsedSubject($l->t('App recommendation: Tasks'));
$notification->setParsedMessage($l->t('Sync tasks from various devices with your Nextcloud and edit them online.'));
$appLink = '/organization/tasks';
break;
case 'deck':
$notification->setParsedSubject($l->t('App recommendation: Deck'));
$notification->setParsedMessage($l->t('Kanban style organization for personal planning and team projects.'));
$appLink = '/organization/deck';
break;
case 'forms':
$notification->setParsedSubject($l->t('App recommendation: Forms'));
$notification->setParsedMessage($l->t('Simple surveys and questionnaires, self-hosted'));
$appLink = '/organization/forms';
break;
case 'recognize':
$notification->setParsedSubject($l->t('App recommendation: Recognize'));
$notification->setParsedMessage($l->t('Smart media tagging for Nextcloud'));
$appLink = '/organization/recognize';
break;
case 'groupfolders':
$notification->setParsedSubject($l->t('App recommendation: Group folders'));
$notification->setParsedMessage($l->t('Admin-configured folders shared by everyone in a group.'));
$appLink = '/files/groupfolders';
break;
}
$notification
->setLink($this->url->linkToRouteAbsolute('settings.AppSettings.viewApps') . $appLink, 'GET')
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('firstrunwizard', 'apps/'. $app . '.svg')));
return $notification;
}
}
@@ -0,0 +1,88 @@
<?php
/**
* @copyright Copyright (c) 2017 Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\FirstRunWizard\Settings;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IConfig;
use OCP\IURLGenerator;
use OCP\Settings\ISettings;
class Personal implements ISettings {
/** @var IConfig */
private $config;
/** @var \OC_Defaults */
private $defaults;
public function __construct(IConfig $config, IURLGenerator $urlGenerator, \OC_Defaults $defaults) {
$this->config = $config;
$this->urlGenerator = $urlGenerator;
$this->defaults = $defaults;
}
/**
* @return TemplateResponse returns the instance with all parameters set, ready to be rendered
* @since 9.1
*/
public function getForm() {
$url = $this->urlGenerator->getAbsoluteURL('');
$parameters = [ 'clients' => $this->getClientLinks() ,'url' => $url];
return new TemplateResponse('firstrunwizard', 'personal-settings', $parameters);
}
/**
* @return string the section ID, e.g. 'sharing'
* @since 9.1
*/
public function getSection() {
return 'sync-clients';
}
/**
* @return int whether the form should be rather on the top or bottom of
* the admin section. The forms are arranged in ascending order of the
* priority values. It is required to return a value between 0 and 100.
*
* E.g.: 70
* @since 9.1
*/
public function getPriority() {
return 20;
}
/**
* returns an array containing links to the various clients
*
* @return array
*/
private function getClientLinks() {
$clients = [
'desktop' => $this->config->getSystemValue('customclient_desktop', $this->defaults->getSyncClientUrl()),
'android' => $this->config->getSystemValue('customclient_android', $this->defaults->getAndroidClientUrl()),
'fdroid' => $this->config->getSystemValue('customclient_fdroid', $this->defaults->getFDroidClientUrl()),
'ios' => $this->config->getSystemValue('customclient_ios', $this->defaults->getiOSClientUrl())
];
return $clients;
}
}