Skip to content

Commit

Permalink
Changing version number to 0.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Senaka Fernando committed May 1, 2019
1 parent 7f5c59d commit d02e2af
Show file tree
Hide file tree
Showing 27 changed files with 50 additions and 472 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="0.4.0"></a>
# [0.4.0](https://github.com/ove/ove-apps/compare/v0.3.3...v0.4.0) (2019-05-02)

### Features

**feat:** Health check service for OVE.
**feat:** New controller and audio playback support in Videos App.
**feat:** Pan and zoom support in Networks App.
**feat:** Support for validating application state on a per-application basis.
**feat:** Using nginx instead of multiple OVE ports.

### Docs

**docs:** Inclusion of photographs depicting apps in operation.
**docs:** Review and fixes to documentation of all apps.

### Fixes

**fix:** Long standing issue fixes in Alignment, Audio, Charts and Videos apps
**fix:** Standardising OVE APIs.
**fix:** Version upgrades to all dependencies.

<a name="0.3.3"></a>
# [0.3.3](https://github.com/ove/ove-apps/compare/v0.3.2...v0.3.3) (2019-02-27)

Expand Down
4 changes: 2 additions & 2 deletions packages/ove-app-alignment/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ove/ove-app-alignment",
"private": true,
"version": "0.3.3",
"version": "0.4.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"No tests specified\" && exit 0",
Expand All @@ -15,7 +15,7 @@
"author": "James Scott-Brown <[email protected]>",
"license": "MIT",
"dependencies": {
"@ove-lib/appbase": "0.4.0",
"@ove-lib/appbase": "0.4.1",
"d3": "5.9.2",
"jquery": "3.4.1"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/ove-app-audio/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ove/ove-app-audio",
"private": true,
"version": "0.3.3",
"version": "0.4.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"No tests specified\" && exit 0",
Expand All @@ -18,7 +18,7 @@
],
"license": "MIT",
"dependencies": {
"@ove-lib/appbase": "0.4.0",
"@ove-lib/appbase": "0.4.1",
"howler": "2.1.2",
"http-status-codes": "1.3.2",
"jquery": "3.4.1",
Expand Down
37 changes: 0 additions & 37 deletions packages/ove-app-audio/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,43 +151,6 @@ app.get('/operation/:name(' + operationsList.join('|') + ')', handleOperation);
app.get('/operation/:name(' + Constants.Operation.BUFFER_STATUS + ')', handleOperation);

log.debug('Setting up state validation operation');

// BACKWARDS-COMPATIBILITY: For <= v0.4.0
Utils.validateState = function (state, combinations) {
let valid = true;
// Example rules:
// 1. An optional property which is a literal.
// {
// prefix: ['state', 'state.a']
// }
// 2. An optional property which is an object. x and y are mandatory properties of this object.
// {
// prefix: ['state', 'state.a'],
// value: ['state.a.x', 'state.a.y']
// }
// 3. All mandatory properties - literals and objects
// {
// value: ['state.a', 'state.b', 'state.b.x']
// }
combinations.forEach(function (e) {
let prefixExists = !Utils.isNullOrEmpty(Utils.JSON.getDescendant('state', { state: state }));
(e.prefix || []).forEach(function (x) {
prefixExists = prefixExists && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
if (!prefixExists) {
return;
}
let result = true;
if (e.value) {
e.value.forEach(function (x) {
result = result && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
}
valid = valid && result;
});
return valid;
};

base.operations.validateState = function (state) {
return Utils.validateState(state, [ { value: ['state.url'] } ]);
};
Expand Down
4 changes: 2 additions & 2 deletions packages/ove-app-charts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ove/ove-app-charts",
"private": true,
"version": "0.3.3",
"version": "0.4.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"No tests specified\" && exit 0",
Expand All @@ -15,7 +15,7 @@
"author": "James Scott-Brown <[email protected]>",
"license": "MIT",
"dependencies": {
"@ove-lib/appbase": "0.4.0",
"@ove-lib/appbase": "0.4.1",
"d3-dsv": "1.1.1",
"jquery": "3.4.1",
"vega": "5.3.5",
Expand Down
37 changes: 0 additions & 37 deletions packages/ove-app-charts/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,6 @@ for (const mod of ['vega', 'vega-lite', 'vega-embed']) {
}

log.debug('Setting up state validation operation');

// BACKWARDS-COMPATIBILITY: For <= v0.4.0
Utils.validateState = function (state, combinations) {
let valid = true;
// Example rules:
// 1. An optional property which is a literal.
// {
// prefix: ['state', 'state.a']
// }
// 2. An optional property which is an object. x and y are mandatory properties of this object.
// {
// prefix: ['state', 'state.a'],
// value: ['state.a.x', 'state.a.y']
// }
// 3. All mandatory properties - literals and objects
// {
// value: ['state.a', 'state.b', 'state.b.x']
// }
combinations.forEach(function (e) {
let prefixExists = !Utils.isNullOrEmpty(Utils.JSON.getDescendant('state', { state: state }));
(e.prefix || []).forEach(function (x) {
prefixExists = prefixExists && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
if (!prefixExists) {
return;
}
let result = true;
if (e.value) {
e.value.forEach(function (x) {
result = result && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
}
valid = valid && result;
});
return valid;
};

base.operations.validateState = function (state) {
return Utils.validateState(state, [ { value: ['state.url'] } ]) || Utils.validateState(state, [ { value: ['state.spec'] } ]);
};
Expand Down
4 changes: 2 additions & 2 deletions packages/ove-app-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ove/ove-app-controller",
"private": true,
"version": "0.3.3",
"version": "0.4.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"No tests specified\" && exit 0",
Expand All @@ -16,7 +16,7 @@
"license": "MIT",
"dependencies": {
"@fortawesome/fontawesome-free": "5.8.1",
"@ove-lib/appbase": "0.4.0",
"@ove-lib/appbase": "0.4.1",
"d3": "5.9.2",
"jquery": "3.4.1"
}
Expand Down
37 changes: 0 additions & 37 deletions packages/ove-app-controller/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,6 @@ log.debug('Using module:', 'fontawesome-free');
app.use('/images', express.static(path.join(nodeModules, '@fortawesome', 'fontawesome-free', 'svgs', 'solid')));

log.debug('Setting up state validation operation');

// BACKWARDS-COMPATIBILITY: For <= v0.4.0
Utils.validateState = function (state, combinations) {
let valid = true;
// Example rules:
// 1. An optional property which is a literal.
// {
// prefix: ['state', 'state.a']
// }
// 2. An optional property which is an object. x and y are mandatory properties of this object.
// {
// prefix: ['state', 'state.a'],
// value: ['state.a.x', 'state.a.y']
// }
// 3. All mandatory properties - literals and objects
// {
// value: ['state.a', 'state.b', 'state.b.x']
// }
combinations.forEach(function (e) {
let prefixExists = !Utils.isNullOrEmpty(Utils.JSON.getDescendant('state', { state: state }));
(e.prefix || []).forEach(function (x) {
prefixExists = prefixExists && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
if (!prefixExists) {
return;
}
let result = true;
if (e.value) {
e.value.forEach(function (x) {
result = result && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
}
valid = valid && result;
});
return valid;
};

base.operations.validateState = function (state) {
return Utils.validateState(state, [ { value: ['state.mode'] } ]);
};
Expand Down
4 changes: 2 additions & 2 deletions packages/ove-app-html/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ove/ove-app-html",
"private": true,
"version": "0.3.3",
"version": "0.4.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"No tests specified\" && exit 0",
Expand All @@ -15,7 +15,7 @@
"author": "Senaka Fernando <[email protected]>",
"license": "MIT",
"dependencies": {
"@ove-lib/appbase": "0.4.0",
"@ove-lib/appbase": "0.4.1",
"http-status-codes": "1.3.2",
"jquery": "3.4.1",
"request": "2.88.0"
Expand Down
37 changes: 0 additions & 37 deletions packages/ove-app-html/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,43 +82,6 @@ app.use('/libs/:name(distributed).js', function (req, res) {
app.use('/libs/distributed', express.static(path.join(__dirname, 'libs', 'distributed')));

log.debug('Setting up state validation operation');

// BACKWARDS-COMPATIBILITY: For <= v0.4.0
Utils.validateState = function (state, combinations) {
let valid = true;
// Example rules:
// 1. An optional property which is a literal.
// {
// prefix: ['state', 'state.a']
// }
// 2. An optional property which is an object. x and y are mandatory properties of this object.
// {
// prefix: ['state', 'state.a'],
// value: ['state.a.x', 'state.a.y']
// }
// 3. All mandatory properties - literals and objects
// {
// value: ['state.a', 'state.b', 'state.b.x']
// }
combinations.forEach(function (e) {
let prefixExists = !Utils.isNullOrEmpty(Utils.JSON.getDescendant('state', { state: state }));
(e.prefix || []).forEach(function (x) {
prefixExists = prefixExists && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
if (!prefixExists) {
return;
}
let result = true;
if (e.value) {
e.value.forEach(function (x) {
result = result && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
}
valid = valid && result;
});
return valid;
};

base.operations.validateState = function (state) {
return Utils.validateState(state, [ { value: ['state.url'] } ]);
};
Expand Down
4 changes: 2 additions & 2 deletions packages/ove-app-images/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ove/ove-app-images",
"private": true,
"version": "0.3.3",
"version": "0.4.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"No tests specified\" && exit 0",
Expand All @@ -15,7 +15,7 @@
"author": "Senaka Fernando <[email protected]>",
"license": "MIT",
"dependencies": {
"@ove-lib/appbase": "0.4.0",
"@ove-lib/appbase": "0.4.1",
"jquery": "3.4.1",
"openseadragon": "2.4.0"
}
Expand Down
37 changes: 0 additions & 37 deletions packages/ove-app-images/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,43 +86,6 @@ base.operations.diff = function (source, target) {
};

log.debug('Setting up state validation operation');

// BACKWARDS-COMPATIBILITY: For <= v0.4.0
Utils.validateState = function (state, combinations) {
let valid = true;
// Example rules:
// 1. An optional property which is a literal.
// {
// prefix: ['state', 'state.a']
// }
// 2. An optional property which is an object. x and y are mandatory properties of this object.
// {
// prefix: ['state', 'state.a'],
// value: ['state.a.x', 'state.a.y']
// }
// 3. All mandatory properties - literals and objects
// {
// value: ['state.a', 'state.b', 'state.b.x']
// }
combinations.forEach(function (e) {
let prefixExists = !Utils.isNullOrEmpty(Utils.JSON.getDescendant('state', { state: state }));
(e.prefix || []).forEach(function (x) {
prefixExists = prefixExists && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
if (!prefixExists) {
return;
}
let result = true;
if (e.value) {
e.value.forEach(function (x) {
result = result && !Utils.isNullOrEmpty(Utils.JSON.getDescendant(x, { state: state }));
});
}
valid = valid && result;
});
return valid;
};

base.operations.validateState = function (state) {
return Utils.validateState(state, [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/ove-app-maps/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ove/ove-app-maps",
"private": true,
"version": "0.3.3",
"version": "0.4.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"No tests specified\" && exit 0",
Expand All @@ -16,7 +16,7 @@
"license": "MIT",
"dependencies": {
"@carto/carto.js": "4.1.11",
"@ove-lib/appbase": "0.4.0",
"@ove-lib/appbase": "0.4.1",
"jquery": "3.4.1",
"leaflet": "1.4.0",
"ol": "5.3.2",
Expand Down
Loading

0 comments on commit d02e2af

Please sign in to comment.