Skip to content
Snippets Groups Projects
Commit 1b224938 authored by Damien's avatar Damien
Browse files

FEAT #5987 services xml + update npm packages

parent ab8b9c24
No related branches found
No related tags found
No related merge requests found
......@@ -47,11 +47,12 @@
<id>admin_groups</id>
<name>_ADMIN_GROUPS</name>
<comment>_ADMIN_GROUPS_DESC</comment>
<servicepage>index.php?page=usergroups_management_controler&amp;mode=list&amp;admin=groups</servicepage>
<servicepage>/administration/groups</servicepage>
<servicetype>admin</servicetype>
<system_service>false</system_service>
<style>fa fa-users</style>
<enabled>true</enabled>
<angular>true</angular>
</SERVICE>
<SERVICE>
<id>admin_architecture</id>
......
......@@ -84,6 +84,11 @@ class ResController
$formatedData = StoreController::prepareExtStorage(['resId' => $data['resId'], 'data' => $data['data']]);
$check = Validator::stringType()->notEmpty()->validate($formatedData['category_id']);
if (!$check) {
return $response->withStatus(400)->withJson(['errors' => 'Bad Request']);
}
ResModel::createExt($formatedData);
return $response->withJson(['resId' => $data['resId']]);
......
This diff is collapsed.
......@@ -13,7 +13,7 @@
"dependencies": {
"bootstrap": "^3.3.7",
"chart.js": "1.1.1",
"core-js": "^2.4.1",
"core-js": "^2.5.3",
"datatables": "^1.10.13",
"jquery": "^3.2.1",
"jquery-typeahead": "^2.8.0",
......@@ -21,7 +21,7 @@
"jstree-bootstrap-theme": "^1.0.1",
"md2": "0.0.28",
"photoswipe": "^4.1.2",
"tinymce": "^4.7.2",
"tinymce": "^4.7.4",
"tooltipster": "^4.2.5",
"zone.js": "^0.8.11"
},
......@@ -39,16 +39,16 @@
"@angular/platform-browser-dynamic": "^4.3.0",
"@angular/platform-server": "^4.3.0",
"@angular/router": "^4.3.0",
"@types/datatables.net": "^1.10.7",
"@types/datatables.net": "^1.10.8",
"@types/jquery": "^2.0.40",
"@types/node": "^7.0.8",
"@types/node": "^7.0.51",
"browserify": "^13.0.1",
"hammerjs": "^2.0.8",
"rxjs": "5.2.0",
"systemjs": "0.19.40",
"tslib": "^1.7.1",
"tslib": "^1.8.1",
"typescript": "2.3.3",
"uglify-js": "^3.1.8"
"uglify-js": "^3.2.2"
},
"repository": {}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment