graphdb-workbench 2.6.0-TR6 → 2.6.0-TR7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/11.e99d653419379ecf1b23.bundle.js +1 -0
- package/dist/131.e1a244126c43896cd7fe.bundle.js +1 -1
- package/dist/17.f3951ee36cae3c2e59e2.bundle.js +1 -1
- package/dist/242.b5be51c553871ce3d83a.bundle.js +1 -0
- package/dist/257.1e51f84ae10ed1a8a23b.bundle.js +1 -1
- package/dist/259.2c88332b7f1b47935a47.bundle.js +1 -1
- package/dist/260.d745422c537bdd9647bb.bundle.js +1 -1
- package/dist/261.7efff7f93f61f061f5ca.bundle.js +1 -1
- package/dist/27.e6c49ef111cabef46fd7.bundle.js +1 -1
- package/dist/28.9b2e80653eb69e4525ef.bundle.js +1 -1
- package/dist/289.7afbd014836c2b589df6.bundle.js +1 -1
- package/dist/40.cef0c3d8ef5a88d4a6e8.bundle.js +1 -1
- package/dist/50.6f8fd26290d2e6983c3d.bundle.js +1 -0
- package/dist/51.36a5ca508d953a43df6d.bundle.js +1 -0
- package/dist/{6.6c12bf8442e6b3a8966a.bundle.js → 6.9557b6506bf958c26a2a.bundle.js} +1 -1
- package/dist/63.79ceab2871c4bf87e565.bundle.js +1 -1
- package/dist/{84.42f64ebc8b4f42b8f8fa.bundle.js → 84.833096ee7ee9d0b926e2.bundle.js} +1 -1
- package/dist/85.172aa928154b446a004e.bundle.js +1 -0
- package/dist/{bundle.f5d7fe3b9943ad592f50.bundle.js → bundle.e8a8019cba24aec4c600.bundle.js} +3 -3
- package/dist/css/aclmanagement.css +116 -10
- package/dist/css/lib/ontotext-yasgui-web-component.css +30 -15
- package/dist/i18n/locale-en.json +2 -1
- package/dist/i18n/locale-fr.json +2 -1
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/pages/aclmanagement.html +247 -179
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +1 -1
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +5 -2
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger/index.html +27 -27
- package/package.json +2 -2
- package/dist/11.4f52f63081204e1877cf.bundle.js +0 -1
- package/dist/242.5176ae2d94fe71686b8d.bundle.js +0 -1
- package/dist/50.62ed3e49a6ece0e7a5c4.bundle.js +0 -1
- package/dist/51.96629fd69e2da9eb537d.bundle.js +0 -1
- package/dist/85.362d91965241e83d901d.bundle.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<link href="css/clustermanagement.css?v=2.6.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.6.0-
|
|
3
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.0-
|
|
1
|
+
<link href="css/clustermanagement.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
3
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
4
4
|
|
|
5
5
|
<title>{{'view.clusterManagement.title' | translate}}</title>
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/domain-range-graph.css?v=2.6.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.6.0-
|
|
1
|
+
<link href="css/domain-range-graph.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<title>Explore Data Graph</title>
|
|
5
5
|
|
package/dist/pages/edit.html
CHANGED
package/dist/pages/explore.html
CHANGED
package/dist/pages/export.html
CHANGED
package/dist/pages/find.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/graphs-config.css?v=2.6.0-
|
|
1
|
+
<link href="css/graphs-config.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
2
2
|
|
|
3
3
|
<h1>
|
|
4
4
|
{{title}}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<label class="start-mode search image-label d-flex" ng-class="{'active': newConfig.startMode === 'search'}">
|
|
60
60
|
<input type="radio" class="form-check-input" id="checkboxSuccessSearch"
|
|
61
61
|
ng-model="newConfig.startMode" value="search">
|
|
62
|
-
<img class="image-label-image" src="css/images/search.png?v=2.6.0-
|
|
62
|
+
<img class="image-label-image" src="css/images/search.png?v=2.6.0-TR7" alt="search image"
|
|
63
63
|
width="100%">
|
|
64
64
|
<div class="image-label-content">
|
|
65
65
|
<h5>{{'start.with.search.box' | translate}}</h5>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
<label class="start-mode node image-label d-flex" ng-class="{'active': newConfig.startMode === 'node'}">
|
|
71
71
|
<input type="radio" class="form-check-input" id="checkboxSuccessNode" ng-model="newConfig.startMode"
|
|
72
72
|
value="node">
|
|
73
|
-
<img class="image-label-image" src="css/images/node.png?v=2.6.0-
|
|
73
|
+
<img class="image-label-image" src="css/images/node.png?v=2.6.0-TR7" alt="node image"
|
|
74
74
|
width="100%">
|
|
75
75
|
<div class="image-label-content">
|
|
76
76
|
<h5>{{'start.with.fixed.node' | translate}}</h5>
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
<label class="start-mode query image-label d-flex" ng-class="{'active': newConfig.startMode === 'query'}">
|
|
82
82
|
<input type="radio" class="form-check-input" data-cy="graph-config-by-graph-query-checkbox"
|
|
83
83
|
ng-model="newConfig.startMode" value="query">
|
|
84
|
-
<img class="image-label-image" src="css/images/query.png?v=2.6.0-
|
|
84
|
+
<img class="image-label-image" src="css/images/query.png?v=2.6.0-TR7" alt="query image"
|
|
85
85
|
width="100%">
|
|
86
86
|
<div class="image-label-content">
|
|
87
87
|
<h5>{{'query.results.start' | translate}}</h5>
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
{{'sample.query.used' | translate}}</p>
|
|
129
129
|
</div>
|
|
130
130
|
<div>
|
|
131
|
-
<img src="css/images/expand.png?v=2.6.0-
|
|
131
|
+
<img src="css/images/expand.png?v=2.6.0-TR7" class="info-box-img" height="220"
|
|
132
132
|
alt="expand image">
|
|
133
133
|
</div>
|
|
134
134
|
</div>
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
{{'sample.query.used' | translate}}</p>
|
|
157
157
|
</div>
|
|
158
158
|
<div>
|
|
159
|
-
<img src="css/images/labels-size.png?v=2.6.0-
|
|
159
|
+
<img src="css/images/labels-size.png?v=2.6.0-TR7" class="info-box-img" height="220"
|
|
160
160
|
alt="labels size image">
|
|
161
161
|
</div>
|
|
162
162
|
</div>
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
<p>{{'query.is.optional.local.name' | translate}}</p>
|
|
180
180
|
</div>
|
|
181
181
|
<div>
|
|
182
|
-
<img src="css/images/predicates.png?v=2.6.0-
|
|
182
|
+
<img src="css/images/predicates.png?v=2.6.0-TR7" class="info-box-img" height="220"
|
|
183
183
|
alt="predicates image">
|
|
184
184
|
</div>
|
|
185
185
|
</div>
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
{{'sample.query.used' | translate}}</p>
|
|
212
212
|
</div>
|
|
213
213
|
<div>
|
|
214
|
-
<img src="css/images/side-panel.png?v=2.6.0-
|
|
214
|
+
<img src="css/images/side-panel.png?v=2.6.0-TR7" class="info-box-img" height="220"
|
|
215
215
|
alt="side panel image">
|
|
216
216
|
</div>
|
|
217
217
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<link href="css/graphs-vizualizations.css?v=2.6.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.6.0-
|
|
3
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.0-
|
|
4
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.0-
|
|
1
|
+
<link href="css/graphs-vizualizations.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
3
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
5
5
|
|
|
6
6
|
<div class="container-fluid">
|
|
7
7
|
|
|
@@ -131,9 +131,9 @@
|
|
|
131
131
|
<tr ng-repeat="config in graphConfigs">
|
|
132
132
|
<td width="20">
|
|
133
133
|
<a href ng-click="goToGraphConfig(config)">
|
|
134
|
-
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.6.0-
|
|
135
|
-
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.6.0-
|
|
136
|
-
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.6.0-
|
|
134
|
+
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.6.0-TR7" alt="" width="64" uib-popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
135
|
+
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.6.0-TR7" alt="" width="64" uib-popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
136
|
+
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.6.0-TR7" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
137
137
|
</a>
|
|
138
138
|
</td>
|
|
139
139
|
<td>
|
package/dist/pages/guides.html
CHANGED
package/dist/pages/import.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.6.0-
|
|
2
|
-
<link href="css/export.css?v=2.6.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.6.0-TR7" rel="stylesheet">
|
|
2
|
+
<link href="css/export.css?v=2.6.0-TR7" rel="stylesheet">
|
|
3
3
|
|
|
4
4
|
<title>Namespaces</title>
|
|
5
5
|
|
package/dist/pages/plugins.html
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<link href="css/rdf-class-hierarchy.css?v=2.6.0-
|
|
2
|
-
<link href="css/rdf-class-hierarchy-labels.css?v=2.6.0-
|
|
3
|
-
<link href="css/rdf-details-side-panel.css?v=2.6.0-
|
|
4
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=2.6.0-
|
|
5
|
-
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.6.0-
|
|
6
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.0-
|
|
7
|
-
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.6.0-
|
|
1
|
+
<link href="css/rdf-class-hierarchy.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-class-hierarchy-labels.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
3
|
+
<link href="css/rdf-details-side-panel.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
5
|
+
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
6
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
7
|
+
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
8
8
|
|
|
9
9
|
<title>Explore Data Graph</title>
|
|
10
10
|
|
package/dist/pages/rdfrank.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/rdfrank.css?v=2.6.0-
|
|
2
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.0-
|
|
1
|
+
<link href="css/rdfrank.css?v=2.6.0-TR7" rel="stylesheet">
|
|
2
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.0-TR7" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<div id="rdfRank" class="page">
|
|
5
5
|
<h1>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/repositories.css?v=2.6.0-
|
|
1
|
+
<link href="css/repositories.css?v=2.6.0-TR7" rel="stylesheet">
|
|
2
2
|
|
|
3
3
|
<div id="wb-repository">
|
|
4
4
|
<h1>{{pageTitle}}</h1>
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
<div class="top-offset row" ng-if="repositoryInfo.type === 'fedx'">
|
|
9
9
|
<p class="alert alert-warning">{{'fedex.experimental.feature.warning' | translate}}</p>
|
|
10
10
|
</div>
|
|
11
|
-
<div ng-
|
|
11
|
+
<div ng-if="!repositoryInfo" class="alert alert-warning">
|
|
12
|
+
{{'repo.page.repository.info.loading.error' | translate}}
|
|
13
|
+
</div>
|
|
14
|
+
<div ng-show="hasActiveLocation() && repositoryInfo">
|
|
12
15
|
<div class="ot-loader ot-main-loader" onto-loader size="50" ng-show="loader"></div>
|
|
13
16
|
<div ng-hide="loader">
|
|
14
17
|
<form id="newRepoForm" class="form-horizontal" novalidate="novalidate">
|
package/dist/pages/webapi.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
<link href='css/lib/swagger-ui.min.css?v=2.6.0-
|
|
3
|
-
<link href='css/swagger.custom.css?v=2.6.0-
|
|
2
|
+
<link href='css/lib/swagger-ui.min.css?v=2.6.0-TR7' rel='stylesheet' type='text/css'/>
|
|
3
|
+
<link href='css/swagger.custom.css?v=2.6.0-TR7' rel='stylesheet' type='text/css'/>
|
|
4
4
|
|
|
5
5
|
<h1>
|
|
6
6
|
{{title}}
|
|
@@ -3,37 +3,37 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<title>Swagger UI</title>
|
|
6
|
-
<link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.6.0-
|
|
7
|
-
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.6.0-
|
|
8
|
-
<link href='../../css/common.css?v=2.6.0-
|
|
9
|
-
<link href='css/reset.css?v=2.6.0-
|
|
10
|
-
<link href='css/screen.css?v=2.6.0-
|
|
11
|
-
<link href='css/onto-theme.css?v=2.6.0-
|
|
12
|
-
<link href='css/reset.css?v=2.6.0-
|
|
13
|
-
<link href='css/print.css?v=2.6.0-
|
|
14
|
-
<link href='css/onto-theme.css?v=2.6.0-
|
|
6
|
+
<link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.6.0-TR7" sizes="32x32"/>
|
|
7
|
+
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.6.0-TR7" sizes="16x16"/>
|
|
8
|
+
<link href='../../css/common.css?v=2.6.0-TR7' media='screen' rel='stylesheet' type='text/css'/>
|
|
9
|
+
<link href='css/reset.css?v=2.6.0-TR7' media='screen' rel='stylesheet' type='text/css'/>
|
|
10
|
+
<link href='css/screen.css?v=2.6.0-TR7' media='screen' rel='stylesheet' type='text/css'/>
|
|
11
|
+
<link href='css/onto-theme.css?v=2.6.0-TR7' media='screen' rel='stylesheet' type='text/css'/>
|
|
12
|
+
<link href='css/reset.css?v=2.6.0-TR7' media='print' rel='stylesheet' type='text/css'/>
|
|
13
|
+
<link href='css/print.css?v=2.6.0-TR7' media='print' rel='stylesheet' type='text/css'/>
|
|
14
|
+
<link href='css/onto-theme.css?v=2.6.0-TR7' media='print' rel='stylesheet' type='text/css'/>
|
|
15
15
|
|
|
16
|
-
<script src='lib/object-assign-pollyfill.js?v=2.6.0-
|
|
17
|
-
<script src='lib/jquery-3.4.1.min.js?v=2.6.0-
|
|
18
|
-
<script src='lib/jquery.slideto.min.js?v=2.6.0-
|
|
19
|
-
<script src='lib/jquery.wiggle.min.js?v=2.6.0-
|
|
16
|
+
<script src='lib/object-assign-pollyfill.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
17
|
+
<script src='lib/jquery-3.4.1.min.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
18
|
+
<script src='lib/jquery.slideto.min.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
19
|
+
<script src='lib/jquery.wiggle.min.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
20
20
|
|
|
21
|
-
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.6.0-
|
|
22
|
-
<script src='lib/jquery.ba-bbq.min.js?v=2.6.0-
|
|
23
|
-
<script src='lib/handlebars.min-v4.7.3.js?v=2.6.0-
|
|
24
|
-
<script src='lib/lodash.min.js?v=2.6.0-
|
|
25
|
-
<script src='lib/backbone-min.js?v=2.6.0-
|
|
26
|
-
<script src='swagger-ui.js?v=2.6.0-
|
|
27
|
-
<script src='lib/highlight.9.1.0.pack.js?v=2.6.0-
|
|
28
|
-
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.6.0-
|
|
29
|
-
<script src='lib/jsoneditor.min.js?v=2.6.0-
|
|
30
|
-
<script src='lib/marked.js?v=2.6.0-
|
|
31
|
-
<script src='lib/swagger-oauth.js?v=2.6.0-
|
|
21
|
+
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.6.0-TR7"></script>
|
|
22
|
+
<script src='lib/jquery.ba-bbq.min.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
23
|
+
<script src='lib/handlebars.min-v4.7.3.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
24
|
+
<script src='lib/lodash.min.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
25
|
+
<script src='lib/backbone-min.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
26
|
+
<script src='swagger-ui.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
27
|
+
<script src='lib/highlight.9.1.0.pack.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
28
|
+
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
29
|
+
<script src='lib/jsoneditor.min.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
30
|
+
<script src='lib/marked.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
31
|
+
<script src='lib/swagger-oauth.js?v=2.6.0-TR7' type='text/javascript'></script>
|
|
32
32
|
|
|
33
33
|
<!-- Some basic translations -->
|
|
34
|
-
<!-- <script src='lang/translator.js?v=2.6.0-
|
|
35
|
-
<!-- <script src='lang/ru.js?v=2.6.0-
|
|
36
|
-
<!-- <script src='lang/en.js?v=2.6.0-
|
|
34
|
+
<!-- <script src='lang/translator.js?v=2.6.0-TR7' type='text/javascript'></script> -->
|
|
35
|
+
<!-- <script src='lang/ru.js?v=2.6.0-TR7' type='text/javascript'></script> -->
|
|
36
|
+
<!-- <script src='lang/en.js?v=2.6.0-TR7' type='text/javascript'></script> -->
|
|
37
37
|
|
|
38
38
|
<script type="text/javascript">
|
|
39
39
|
$(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphdb-workbench",
|
|
3
|
-
"version": "2.6.0-
|
|
3
|
+
"version": "2.6.0-TR7",
|
|
4
4
|
"description": "The web application for GraphDB APIs",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "webpack --config=webpack.config.prod.js",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"ng-file-upload": "^12.2.13",
|
|
107
107
|
"ng-tags-input": "^3.2.0",
|
|
108
108
|
"oclazyload": "^1.1.0",
|
|
109
|
-
"ontotext-yasgui-web-component": "1.1.
|
|
109
|
+
"ontotext-yasgui-web-component": "1.1.22",
|
|
110
110
|
"shepherd.js": "^11.1.1"
|
|
111
111
|
},
|
|
112
112
|
"resolutions": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[11,51,85,210,217],{101:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return r})),s.d(t,"ACRuleModel",(function(){return n})),s.d(t,"StatementACRuleModel",(function(){return l})),s.d(t,"PluginACRuleModel",(function(){return i})),s.d(t,"ClearGraphACRuleModel",(function(){return c})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return d})),s.d(t,"ACL_OPERATION",(function(){return p})),s.d(t,"ACL_SCOPE",(function(){return h})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var o=s(64);class r{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,o,r,n,l,i,c){const u=a.createRule(e,t,s,o,r,n,l,i,c);this._aclRules.has(e)||this._aclRules.set(e,[]),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const o=this._aclRules.get(e);o&&o.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,r)=>r!==t&&Object(o.isEqual)(s,e))}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),o=s[t-1];s[t-1]=s[t],s[t]=o}moveDown(e,t){const s=this._aclRules.get(e),o=s[t+1];s[t+1]=s[t],s[t]=o}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class n{constructor(e,t,s=d.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}toJSON(){}}class l extends n{constructor(e,t,s,o,r,n,l){super(h.STATEMENT,e,t),this._subject=s||"*",this._predicate=o||"*",this._object=r||"*",this._context=n||"*",this._operation=l||p.READ}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context}}}class i extends n{constructor(e,t,s,o){super(h.PLUGIN,e,t),this._plugin=s||"*",this._operation=o||p.READ}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin}}}class c extends n{constructor(e,t,s,o){super(h.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=o||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context}}}class u extends n{constructor(e,t,s){super(h.SYSTEM,e,t),this._operation=s||p.READ}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation}}}class a{static createRule(e,t,s,o,r,n,a,d,p){switch(e){case h.STATEMENT:return new l(s,t,r,n,a,d,o);case h.PLUGIN:return new i(s,t,p,o);case h.CLEAR_GRAPH:return new c(s,t,d);case h.SYSTEM:return new u(s,t,o);default:throw new Error("Invalid scope: "+e+" provided")}}}const d={ALLOW:"allow",DENY:"deny"},p={READ:"read",WRITE:"write"},h={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},R=["*","default","named"],g=["*"]},127:function(e,t){angular.module("graphdb.framework.rest.aclmanagement.service",[]).factory("AclManagementRestService",s),s.$inject=["$http"];function s(e){return{getAcl:function(t){return e.get(`rest/repositories/${t}/acl`)},updateAcl:function(t,s){return e.put(`rest/repositories/${t}/acl`,s)}}}},128:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return r}));var o=s(101);const r=e=>{const t=new o.ACListModel;return e&&e.data&&e.data.forEach(e=>{t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)}),t}},198:function(e,t,s){"use strict";s.r(t);s(34),s(127);var o=s(128),r=s(64),n=s(75),l=s(101);function i(e,t,s,i,c,u,a,d,p){e.contextValue=void 0;const h=[];e.ruleData={},e.loading=!1,e.namespaces=[],e.rulesModel=void 0,e.rulesModelCopy=void 0,e.selectedRule=void 0,e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.editedRuleCopy=void 0,e.isNewRule=!1,e.modelIsDirty=!1,e.dirtyScope=new Set,e.activeTabScope=l.ACL_SCOPE.STATEMENT,e.ACL_SCOPE=l.ACL_SCOPE,e.DEFAULT_CONTEXT_VALUES=l.DEFAULT_CONTEXT_VALUES,e.DEFAULT_URI_VALUES=l.DEFAULT_URI_VALUES,e.addRule=(t,s)=>{e.rulesModel.addRule(t,s),e.editedRuleIndex=s,e.editedRuleScope=t,e.isNewRule=!0,S(t)},e.editRule=(t,s)=>{e.editedRuleIndex=s,e.editedRuleScope=t,e.isNewRule=!1,e.editedRuleCopy=e.rulesModel.getRuleCopy(t,s),S(t)},e.deleteRule=(t,s)=>{a.openConfirmation(u.instant("common.confirm"),u.instant("acl_management.rulestable.messages.delete_rule_confirmation",{index:s}),()=>{e.rulesModel.removeRule(t,s),S(t)})},e.saveRule=t=>{e.rulesModel.isRuleDuplicated(e.editedRuleScope,e.editedRuleIndex)?f():(e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.isNewRule=!1,S(t))},e.cancelEditing=(t,s)=>{e.isNewRule?(e.rulesModel.removeRule(t,s),e.isNewRule=!1):(e.rulesModel.replaceRule(t,s,e.editedRuleCopy),e.editedRuleCopy=void 0),e.editedRuleIndex=void 0,e.editedRuleScope=void 0,S(t)},e.moveUp=(t,s)=>{e.rulesModel.moveUp(t,s),e.selectedRule=s-1,S(t)},e.moveDown=(t,s)=>{e.rulesModel.moveDown(t,s),e.selectedRule=s+1,S(t)},e.saveAcl=()=>{e.loading=!0,g().then(R).catch(e=>{const t=getError(e);s.error(t,u.instant("acl_management.errors.updating_rules"))}).finally(()=>{e.loading=!1})},e.cancelAclSave=()=>{a.openConfirmation(u.instant("common.confirm"),u.instant("acl_management.rulestable.messages.revert_acl_list"),()=>{_(),s.success(u.instant("acl_management.rulestable.messages.rules_reverted"))})},e.switchTab=t=>{void 0!==e.editedRuleIndex&&e.cancelEditing(e.activeTabScope,e.editedRuleIndex),e.activeTabScope=t,e.ruleKeys=e.rulesModel.getRuleKeysByScope(e.activeTabScope)};const R=()=>{const t=A();return i.getAcl(t).then(t=>{e.rulesModel=Object(o.mapAclRulesResponse)(t),e.rulesModelCopy=Object(o.mapAclRulesResponse)(t),m()}).catch(e=>{const t=getError(e);s.error(t,u.instant("acl_management.errors.loading_rules"))})},g=()=>{const t=A();return i.updateAcl(t,e.rulesModel.toJSON()).then(()=>{s.success(u.instant("acl_management.rulestable.messages.rules_updated"))})},_=()=>{A()&&(e.loading=!0,R().finally(()=>{e.loading=!1}))},m=()=>{e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.modelIsDirty=!1,e.editedRuleCopy=void 0,e.dirtyScope.clear()},S=t=>{!Object(r.isEqual)(e.rulesModel.getRulesByScope(t),e.rulesModelCopy.getRulesByScope(t))?e.dirtyScope.add(t):e.dirtyScope.delete(t),e.modelIsDirty=e.dirtyScope.size>0},A=()=>c.getActiveRepository(),f=()=>{s.error(u.instant("acl_management.errors.duplicated_rules"))},v=t=>{e.modelIsDirty&&(t.returnValue=!0)},E=()=>{window.removeEventListener("beforeunload",v),h.forEach(e=>e())},y=(s,o)=>{e.modelIsDirty&&(s.preventDefault(),a.openSimpleModal({title:u.instant("common.confirm"),message:u.instant("acl_management.rulestable.messages.unsaved_changes_confirmation"),warning:!0}).result.then((function(){E();const e=t.absUrl().length-t.url().length,s=o.substring(e);t.path(s)}),(function(){})))},b=()=>{e.getAutocompletePromise=p.checkAutocompleteStatus()};d.getNamespaces(c.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);s.error(t,u.instant("error.getting.namespaces.for.repo"))}),h.push(e.$on("autocompleteStatus",b)),h.push(e.$watch(A,()=>{m(),_()})),h.push(e.$on("$locationChangeStart",y)),h.push(e.$on("$destroy",E)),window.addEventListener("beforeunload",v)}angular.module("graphdb.framework.aclmanagement.controllers",["graphdb.framework.rest.plugins.service","graphdb.framework.rest.aclmanagement.service"]).controller("AclManagementCtrl",i),i.$inject=["$scope","$location","toastr","AclManagementRestService","$repositories","$translate","ModalService","RDF4JRepositoriesRestService","AutocompleteRestService"]},75:function(e,t,s){"use strict";s.r(t),s.d(t,"mapNamespacesResponse",(function(){return o}));const o=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|