147 lines
5.2 KiB
PHP
147 lines
5.2 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
[
|
|
'app_id' => 'welcome-center',
|
|
'title' => 'Welcome Center',
|
|
'icon' => 'WC',
|
|
'entry_route' => '/',
|
|
'window_mode' => 'window',
|
|
'default_width' => 680,
|
|
'default_height' => 420,
|
|
'supports_widget' => false,
|
|
'supports_tray' => false,
|
|
'module_name' => 'system',
|
|
'app_scope' => 'core',
|
|
'installable' => false,
|
|
'summary' => 'Startpunkt der Desktop-Shell mit Status zur Architektur, Skin-Umschaltung und naechsten Schritten.',
|
|
],
|
|
[
|
|
'app_id' => 'user-self-management',
|
|
'title' => 'User Self Management',
|
|
'icon' => 'US',
|
|
'entry_route' => '/apps/user-self-management',
|
|
'window_mode' => 'window',
|
|
'content_mode' => 'native-module',
|
|
'default_width' => 980,
|
|
'default_height' => 700,
|
|
'show_on_desktop' => false,
|
|
'supports_widget' => true,
|
|
'supports_tray' => false,
|
|
'module_name' => 'desktop',
|
|
'app_scope' => 'system_tool',
|
|
'installable' => false,
|
|
'summary' => 'Persoenliche Einstellungen fuer Desktop-Typ, Benutzerdaten, Apps und Widgets in einem gemeinsamen Setup-Bereich.',
|
|
'native_module' => [
|
|
'initializer' => 'initUserSelfManagementApp',
|
|
'options' => [],
|
|
'assets' => [
|
|
'styles' => [
|
|
['href' => '/system-app-assets/index.php?app=user-self-management&path=assets/app.css'],
|
|
],
|
|
'scripts' => [
|
|
['src' => '/system-app-assets/index.php?app=user-self-management&path=assets/app.js'],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'app_id' => 'admin-apps',
|
|
'title' => 'Admin Apps',
|
|
'icon' => 'AA',
|
|
'entry_route' => '/admin/apps/',
|
|
'window_mode' => 'window',
|
|
'content_mode' => 'native-module',
|
|
'default_width' => 1180,
|
|
'default_height' => 760,
|
|
'show_on_desktop' => false,
|
|
'supports_widget' => false,
|
|
'supports_tray' => true,
|
|
'module_name' => 'admin',
|
|
'app_scope' => 'system_tool',
|
|
'installable' => false,
|
|
'required_groups' => ['administrators'],
|
|
'summary' => 'Zentrale Admin-App fuer App-Bestand, Widgets und erste Integrations-Einstellungen wie den Gitea-Deploy-Status.',
|
|
'native_module' => [
|
|
'initializer' => 'initAdminAppsApp',
|
|
'options' => [
|
|
'entryRoute' => '/admin/apps/',
|
|
],
|
|
'assets' => [
|
|
'styles' => [
|
|
['href' => '/system-app-assets/index.php?app=admin-apps&path=assets/app.css'],
|
|
],
|
|
'scripts' => [
|
|
['src' => '/system-app-assets/index.php?app=admin-apps&path=assets/app.js'],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'app_id' => 'user-management',
|
|
'title' => 'User Management',
|
|
'icon' => 'UM',
|
|
'entry_route' => '/admin/users/',
|
|
'window_mode' => 'window',
|
|
'content_mode' => 'native-module',
|
|
'default_width' => 1180,
|
|
'default_height' => 760,
|
|
'show_on_desktop' => false,
|
|
'supports_widget' => false,
|
|
'supports_tray' => true,
|
|
'module_name' => 'admin',
|
|
'app_scope' => 'system_tool',
|
|
'installable' => false,
|
|
'required_groups' => ['administrators'],
|
|
'summary' => 'Benutzerverwaltung fuer Freischaltungen, Aktivierung, Deaktivierung und Passwort-Reset.',
|
|
'native_module' => [
|
|
'initializer' => 'initUserManagementApp',
|
|
'options' => [
|
|
'entryRoute' => '/admin/users/',
|
|
],
|
|
'assets' => [
|
|
'styles' => [
|
|
['href' => '/system-app-assets/index.php?app=user-management&path=assets/app.css'],
|
|
],
|
|
'scripts' => [
|
|
['src' => '/system-app-assets/index.php?app=user-management&path=assets/app.js'],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'app_id' => 'cron-management',
|
|
'title' => 'Cron Tool',
|
|
'icon' => 'CR',
|
|
'entry_route' => '/admin/cron/',
|
|
'window_mode' => 'window',
|
|
'content_mode' => 'native-module',
|
|
'default_width' => 1220,
|
|
'default_height' => 820,
|
|
'show_on_desktop' => false,
|
|
'supports_widget' => false,
|
|
'supports_tray' => false,
|
|
'module_name' => 'admin',
|
|
'app_scope' => 'system_tool',
|
|
'installable' => false,
|
|
'required_groups' => ['administrators'],
|
|
'summary' => 'Zentrale Verwaltung fuer moduluebergreifende Cron-Jobs, Zeitplaene und manuelle Testlaeufe.',
|
|
'native_module' => [
|
|
'initializer' => 'initCronManagementApp',
|
|
'options' => [
|
|
'entryRoute' => '/admin/cron/',
|
|
],
|
|
'assets' => [
|
|
'styles' => [
|
|
['href' => '/system-app-assets/index.php?app=cron-management&path=assets/app.css'],
|
|
],
|
|
'scripts' => [
|
|
['src' => '/system-app-assets/index.php?app=cron-management&path=assets/app.js'],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
];
|