Skip to content

Commit

Permalink
Merge pull request #258 from Ontotext-AD/GDB-5025-download-virtual-re…
Browse files Browse the repository at this point in the history
…po-zip

GDB-5025 Download ontop repos as zip and bump workbench version to 1.5.0-TR1
  • Loading branch information
avataar authored Sep 30, 2020
2 parents e7186a9 + 3df81f2 commit 9646897
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench",
"version": "1.4.1-RC1",
"version": "1.5.0-TR0",
"description": "The web application for GraphDB APIs",
"scripts": {
"build": "webpack --config=webpack.config.prod.js",
Expand Down
2 changes: 1 addition & 1 deletion src/js/angular/repositories/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function LocationsAndRepositoriesCtrl($scope, $modal, toastr, $repositories, Mod
*/

$scope.getRepositoryDownloadLink = function (repository) {
let url = 'rest/repositories/' + repository.id + '/download';
let url = 'rest/repositories/' + repository.id + (repository.type === 'ontop' ? '/downloadZip': '/download');
const token = $jwtAuth.getAuthToken();
if (token) {
url = url + '?authToken=' + encodeURIComponent(token);
Expand Down
2 changes: 1 addition & 1 deletion test-cypress/package-lock.json

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

2 changes: 1 addition & 1 deletion test-cypress/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench-tests",
"version": "1.4.1-RC1",
"version": "1.5.0-TR1",
"description": "Cypress tests for GraphDB workbench",
"scripts": {
"start": "cypress open",
Expand Down

0 comments on commit 9646897

Please sign in to comment.