From 5b18f684e79dbe9e914e81179a6944db23074a57 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 23 Jan 2020 21:06:59 +0100 Subject: add hub bundle for easy post-installation Signed-off-by: Arthur Schiwon --- lib/private/App/AppStore/Bundles/BundleFetcher.php | 1 + lib/private/App/AppStore/Bundles/HubBundle.php | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 lib/private/App/AppStore/Bundles/HubBundle.php (limited to 'lib/private/App') diff --git a/lib/private/App/AppStore/Bundles/BundleFetcher.php b/lib/private/App/AppStore/Bundles/BundleFetcher.php index b2bbd43ec83..5a36907094a 100644 --- a/lib/private/App/AppStore/Bundles/BundleFetcher.php +++ b/lib/private/App/AppStore/Bundles/BundleFetcher.php @@ -42,6 +42,7 @@ class BundleFetcher { public function getBundles() { return [ new EnterpriseBundle($this->l10n), + new HubBundle($this->l10n), new GroupwareBundle($this->l10n), new SocialSharingBundle($this->l10n), new EducationBundle($this->l10n), diff --git a/lib/private/App/AppStore/Bundles/HubBundle.php b/lib/private/App/AppStore/Bundles/HubBundle.php new file mode 100644 index 00000000000..cef0c6302e3 --- /dev/null +++ b/lib/private/App/AppStore/Bundles/HubBundle.php @@ -0,0 +1,43 @@ + + * + * @author Arthur Schiwon + * + * @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 . + * + */ + +namespace OC\App\AppStore\Bundles; + +class HubBundle extends Bundle { + + public function getName() { + return $this->l10n->t('Hub bundle'); + } + + public function getAppIdentifiers() { + return [ + 'spreed', + 'contacts', + 'calendar', + 'mail', + 'documentserver_community', + 'onlyoffice', + ]; + } +} -- cgit v1.2.3