Skip to content

Commit

Permalink
Merge pull request #8463 from google/release/0.10-Raspberry
Browse files Browse the repository at this point in the history
Merge 1.24.0-Strawberry into master
  • Loading branch information
IlyaTsupryk authored Sep 26, 2018
2 parents 0d0da1a + d159a0f commit 2162d22
Show file tree
Hide file tree
Showing 312 changed files with 9,012 additions and 5,001 deletions.
7 changes: 3 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
"jquery": true
},

"parser": "babel-eslint",

"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},

Expand Down
15 changes: 0 additions & 15 deletions docs/source/backend/object_manipulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,20 +372,6 @@ Examples
}
}
Object owner
------------

Overview
~~~~~~~~

+---------------------+-----------------------------------+
| URL | /api/object_owners |
+---------------------+-----------------------------------+
| Methods supported | ``POST``, ``DELETE`` |
+---------------------+-----------------------------------+
| Description | Creates an object owner object. |
+---------------------+-----------------------------------+

Elements
~~~~~~~~

Expand Down Expand Up @@ -1205,7 +1191,6 @@ GGRC object Type
* Audit
* AccessGroup
* Assessment
* Clause
* Contract
* Control
* CycleTaskGroupObjectTask
Expand Down
203 changes: 203 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^9.0.0",
"babel-loader": "^7.1.5",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
Expand Down
2 changes: 0 additions & 2 deletions src/ggrc-client/js/apps/base_widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
'Assessment',
'AssessmentTemplate',
'Audit',
'Clause',
'Contract',
'Control',
'DataAsset',
Expand Down Expand Up @@ -92,7 +91,6 @@
AccessGroup: _.difference(filteredTypes, ['AccessGroup']),
Audit: [].concat(snapshotWidgetsConfig, excludeMappingConfig,
auditInclusion).sort(),
Clause: _.difference(filteredTypes, ['Clause']),
Contract: _.difference(filteredTypes,
['Contract', 'Policy', 'Regulation', 'Standard']),
Control: filteredTypes,
Expand Down
36 changes: 1 addition & 35 deletions src/ggrc-client/js/apps/business_objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,13 @@ import * as businessModels from '../models/business-models/index';
issue: businessModels.Issue,
objective: businessModels.Objective,
requirement: businessModels.Requirement,
clause: businessModels.Clause,
person: businessModels.Person,
product_group: businessModels.ProductGroup,
role: Role,
technology_environment: businessModels.TechnologyEnvironment,
threat: businessModels.Threat,
risk: businessModels.Risk,
vulnerability: businessModels.Vulnerability,
template: businessModels.Template,
workflow: businessModels.Workflow,
};
},
init_widgets: function () {
Expand Down Expand Up @@ -235,15 +233,6 @@ import * as businessModels from '../models/business-models/index';

return all;
})(),
Contract: {
Clause: {
widget_name: function () {
let $objectArea = $('.object-area');
return $objectArea.hasClass('dashboard-area') ?
'Clauses' : 'Mapped Clauses';
},
},
},
Program: {
Person: {
widget_id: 'person',
Expand Down Expand Up @@ -389,9 +378,6 @@ import * as businessModels from '../models/business-models/index';
Requirement: {
draw_children: true,
},
Clause: {
draw_children: true,
},
},
Program: {
_mixins: [
Expand Down Expand Up @@ -424,9 +410,6 @@ import * as businessModels from '../models/business-models/index';
Requirement: {
draw_children: true,
},
Clause: {
draw_children: true,
},
Threat: {
draw_children: true,
},
Expand Down Expand Up @@ -464,9 +447,6 @@ import * as businessModels from '../models/business-models/index';
Requirement: {
draw_children: true,
},
Clause: {
draw_children: true,
},
Audit: {
draw_children: true,
},
Expand All @@ -483,12 +463,6 @@ import * as businessModels from '../models/business-models/index';
Contract: {
_mixins: ['directive', 'issues'],
},
Clause: {
_mixins: ['governance_objects', 'business_objects', 'issues'],
Audit: {
draw_children: true,
},
},
Requirement: {
_mixins: ['governance_objects', 'business_objects', 'issues'],
Audit: {
Expand Down Expand Up @@ -518,9 +492,6 @@ import * as businessModels from '../models/business-models/index';
Requirement: {
draw_children: true,
},
Clause: {
draw_children: true,
},
},
AssessmentTemplate: {
Audit: {
Expand Down Expand Up @@ -617,11 +588,6 @@ import * as businessModels from '../models/business-models/index';
GGRC.mustache_path + '/base_objects/tree_add_item.mustache',
draw_children: true,
},
Clause: {
add_item_view:
GGRC.mustache_path + '/base_objects/tree_add_item.mustache',
draw_children: true,
},
Objective: {
draw_children: true,
add_item_view: path + '/base_objects/tree_add_item.mustache',
Expand Down
8 changes: 0 additions & 8 deletions src/ggrc-client/js/apps/risk_assessments.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ let allowedObjectTypes = ['Program'];
GGRC.extensions.push(RiskAssessmentsExtension);

RiskAssessmentsExtension.name = 'risk_assessments';

// Register RA models for use with `inferObjectType`
RiskAssessmentsExtension.object_type_decision_tree = function () {
return {
risk_assessment: RiskAssessment,
};
};

Program.attributes.risk_assessments = Stub.List;

// Override GGRC.extra_widget_descriptors and GGRC.extra_default_widgets
Expand Down
Loading

0 comments on commit 2162d22

Please sign in to comment.