From 6aa9d99b3c0aa161c6f64aca9619bb96596d686a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 27 Sep 2021 23:14:01 +0200 Subject: [PATCH] impl. todos or move to Project.md --- Admin/Install/Admin.install.json | 1 + ...Settings.install.php => Admin.install.php} | 3 ++ Admin/Install/Admin.php | 46 +++++++++++++++++++ CONTRIBUTING.md | 9 +--- info.json | 1 + 5 files changed, 52 insertions(+), 8 deletions(-) create mode 100644 Admin/Install/Admin.install.json rename Admin/Install/{Settings.install.php => Admin.install.php} (90%) mode change 100755 => 100644 create mode 100644 Admin/Install/Admin.php diff --git a/Admin/Install/Admin.install.json b/Admin/Install/Admin.install.json new file mode 100644 index 0000000..61a7aad --- /dev/null +++ b/Admin/Install/Admin.install.json @@ -0,0 +1 @@ +[{"type":"setting","name":"1004700001","content":"1","module":"Organization"},{"type":"setting","name":"1004700002","content":"1","module":"Organization"},{"type":"setting","name":"1004700003","content":"1","module":"Organization"}] \ No newline at end of file diff --git a/Admin/Install/Settings.install.php b/Admin/Install/Admin.install.php old mode 100755 new mode 100644 similarity index 90% rename from Admin/Install/Settings.install.php rename to Admin/Install/Admin.install.php index bdc6b03..91f32f2 --- a/Admin/Install/Settings.install.php +++ b/Admin/Install/Admin.install.php @@ -17,16 +17,19 @@ use Modules\Organization\Models\SettingsEnum; return [ [ + 'type' => 'setting', 'name' => SettingsEnum::GROUP_GENERATE_AUTOMATICALLY_UNIT, 'content' => '1', 'module' => ApiController::MODULE_NAME, ], [ + 'type' => 'setting', 'name' => SettingsEnum::GROUP_GENERATE_AUTOMATICALLY_DEPARTMENT, 'content' => '1', 'module' => ApiController::MODULE_NAME, ], [ + 'type' => 'setting', 'name' => SettingsEnum::GROUP_GENERATE_AUTOMATICALLY_POSITION, 'content' => '1', 'module' => ApiController::MODULE_NAME, diff --git a/Admin/Install/Admin.php b/Admin/Install/Admin.php new file mode 100644 index 0000000..8c75853 --- /dev/null +++ b/Admin/Install/Admin.php @@ -0,0 +1,46 @@ + __DIR__ . '/Admin.install.json']); + } +} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b9dc7a5..cab9f5e 100755 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,14 +12,7 @@ If you have a good idea for improvement feel free to create a new issue with all ### Issues -Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the code and have the following structure: - -```php -/** - * @todo Orange-Management/Orange-Management#ISSUE_NUMBER [d:difficulty] - * Description for the issue - */ -``` +Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the `Project.md` file in the `Docs` repository. The issue information can be used to provide additional information such as priority, difficulty and type. For your first issue try to find a issue marked `[d:first]` or `[d:beginner]`. diff --git a/info.json b/info.json index 83c9b22..a1f97f7 100755 --- a/info.json +++ b/info.json @@ -23,6 +23,7 @@ }, "providing": { "Navigation": "*", + "Admin": "*", "Media": "*" }, "load": [