From 51941488bce78c3a4e622928f8c31880fb8601d7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Mar 2023 23:38:19 +0100 Subject: [PATCH] too many changes --- Admin/Install/Application/Shop/ShopView.php | 2 +- Admin/Install/Application/Shop/info.json | 2 +- Admin/Install/Application/Shop/manifest.json | 2 +- Controller/ApiController.php | 4 ++-- Models/SupportAppMapper.php | 2 +- Models/TicketAttributeMapper.php | 2 +- Models/TicketAttributeTypeL11nMapper.php | 2 +- Models/TicketAttributeTypeMapper.php | 2 +- Models/TicketAttributeValueL11nMapper.php | 2 +- Models/TicketAttributeValueMapper.php | 2 +- Models/TicketElementMapper.php | 2 +- Models/TicketMapper.php | 2 +- composer.json | 2 +- info.json | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Admin/Install/Application/Shop/ShopView.php b/Admin/Install/Application/Shop/ShopView.php index 8604c9b..5b19e83 100755 --- a/Admin/Install/Application/Shop/ShopView.php +++ b/Admin/Install/Application/Shop/ShopView.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 7.4 + * PHP Version 8.1 * * @package Web\{APPNAME} * @copyright Dennis Eichhorn diff --git a/Admin/Install/Application/Shop/info.json b/Admin/Install/Application/Shop/info.json index 5bafc76..3be73ac 100755 --- a/Admin/Install/Application/Shop/info.json +++ b/Admin/Install/Application/Shop/info.json @@ -11,7 +11,7 @@ "phpOMS-db": "1.0.0" }, "creator": { - "name": "Karaka", + "name": "Jingga", "website": "jingga.app" }, "description": "The shop application.", diff --git a/Admin/Install/Application/Shop/manifest.json b/Admin/Install/Application/Shop/manifest.json index 2333ee9..20090a2 100755 --- a/Admin/Install/Application/Shop/manifest.json +++ b/Admin/Install/Application/Shop/manifest.json @@ -3,7 +3,7 @@ "dir": "ltr", "start_url": "../../{APPNAME}", "type": "privileged", - "name": "Karaka Shop", + "name": "Jingga Shop", "description": "OMS shop application.", "short_name": "OMS Shop", "icons": [ diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 3b8864d..fa67c8d 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -501,7 +501,7 @@ final class ApiController extends Controller $attrL11n = $this->createTicketAttributeTypeL11nFromRequest($request); $this->createModel($request->header->account, $attrL11n, TicketAttributeTypeL11nMapper::class, 'attr_type_l11n', $request->getOrigin()); - $this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Attribute type localization', 'Attribute type localization successfully created', $attrL11n); + $this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Localization', 'Localization successfully created', $attrL11n); } /** @@ -722,7 +722,7 @@ final class ApiController extends Controller $attrL11n = $this->createTicketAttributeValueL11nFromRequest($request); $this->createModel($request->header->account, $attrL11n, TicketAttributeValueL11nMapper::class, 'attr_value_l11n', $request->getOrigin()); - $this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Attribute type localization', 'Attribute type localization successfully created', $attrL11n); + $this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Localization', 'Localization successfully created', $attrL11n); } /** diff --git a/Models/SupportAppMapper.php b/Models/SupportAppMapper.php index 7f782f3..5ebeb93 100755 --- a/Models/SupportAppMapper.php +++ b/Models/SupportAppMapper.php @@ -52,5 +52,5 @@ final class SupportAppMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_app_id'; + public const PRIMARYFIELD = 'support_app_id'; } diff --git a/Models/TicketAttributeMapper.php b/Models/TicketAttributeMapper.php index 9505f0b..fa99a87 100755 --- a/Models/TicketAttributeMapper.php +++ b/Models/TicketAttributeMapper.php @@ -70,5 +70,5 @@ final class TicketAttributeMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_ticket_attr_id'; + public const PRIMARYFIELD = 'support_ticket_attr_id'; } diff --git a/Models/TicketAttributeTypeL11nMapper.php b/Models/TicketAttributeTypeL11nMapper.php index 3e389c3..884013c 100755 --- a/Models/TicketAttributeTypeL11nMapper.php +++ b/Models/TicketAttributeTypeL11nMapper.php @@ -54,7 +54,7 @@ final class TicketAttributeTypeL11nMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_attr_type_l11n_id'; + public const PRIMARYFIELD = 'support_attr_type_l11n_id'; /** * Model to use by the mapper. diff --git a/Models/TicketAttributeTypeMapper.php b/Models/TicketAttributeTypeMapper.php index 5b24f70..b9f98b3 100755 --- a/Models/TicketAttributeTypeMapper.php +++ b/Models/TicketAttributeTypeMapper.php @@ -77,5 +77,5 @@ final class TicketAttributeTypeMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_attr_type_id'; + public const PRIMARYFIELD = 'support_attr_type_id'; } diff --git a/Models/TicketAttributeValueL11nMapper.php b/Models/TicketAttributeValueL11nMapper.php index 041a1c5..a777fd1 100644 --- a/Models/TicketAttributeValueL11nMapper.php +++ b/Models/TicketAttributeValueL11nMapper.php @@ -54,7 +54,7 @@ final class TicketAttributeValueL11nMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_attr_value_l11n_id'; + public const PRIMARYFIELD = 'support_attr_value_l11n_id'; /** * Model to use by the mapper. diff --git a/Models/TicketAttributeValueMapper.php b/Models/TicketAttributeValueMapper.php index a239d9a..10e95a4 100755 --- a/Models/TicketAttributeValueMapper.php +++ b/Models/TicketAttributeValueMapper.php @@ -73,5 +73,5 @@ final class TicketAttributeValueMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_attr_value_id'; + public const PRIMARYFIELD = 'support_attr_value_id'; } diff --git a/Models/TicketElementMapper.php b/Models/TicketElementMapper.php index a2aee6f..a0311a6 100755 --- a/Models/TicketElementMapper.php +++ b/Models/TicketElementMapper.php @@ -67,5 +67,5 @@ final class TicketElementMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_ticket_element_id'; + public const PRIMARYFIELD = 'support_ticket_element_id'; } diff --git a/Models/TicketMapper.php b/Models/TicketMapper.php index 8ec074c..deecf2e 100755 --- a/Models/TicketMapper.php +++ b/Models/TicketMapper.php @@ -107,5 +107,5 @@ final class TicketMapper extends DataMapperFactory * @var string * @since 1.0.0 */ - public const PRIMARYFIELD ='support_ticket_id'; + public const PRIMARYFIELD = 'support_ticket_id'; } diff --git a/composer.json b/composer.json index fcc0462..8cb1788 100755 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "karaka/karaka", - "description": "PHP Framework for Karaka.", + "description": "PHP Framework for Jingga.", "authors": [ { "name": "Dennis Eichhorn", diff --git a/info.json b/info.json index 8c270d5..63b1058 100755 --- a/info.json +++ b/info.json @@ -11,7 +11,7 @@ "phpOMS-db": "1.0.0" }, "creator": { - "name": "Karaka", + "name": "Jingga", "website": "jingga.app" }, "description": "Support module.",