From e2bfae2cf23b8bbec06e3cf103bd0bd56653740a Mon Sep 17 00:00:00 2001 From: malzer <malzer@sub.uni-goettingen.de> Date: Tue, 15 Mar 2022 15:40:40 +0100 Subject: [PATCH 1/4] Remove old Readme --- edit/README.md | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 edit/README.md diff --git a/edit/README.md b/edit/README.md deleted file mode 100644 index 4d502ff..0000000 --- a/edit/README.md +++ /dev/null @@ -1,16 +0,0 @@ -========================== -DARIAH-DE Datasheet Editor -========================== - - -An input tool for the DARIAH-DE Geo-Browser. - -Needs bower ( see http://bower.io/ ) to resolve missing css & js-libs. - -$ sudo npm install -g bower - -worked for me... then do a - -$ bower install - -and it should be fine. -- GitLab From 05edfaaabbe92a35ddf06043b48967dd85402fcc Mon Sep 17 00:00:00 2001 From: malzer <malzer@sub.uni-goettingen.de> Date: Tue, 15 Mar 2022 15:41:20 +0100 Subject: [PATCH 2/4] Validate removed/empty timestamp values as true --- edit/js/dariah.workflow.table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit/js/dariah.workflow.table.js b/edit/js/dariah.workflow.table.js index 352f2e7..8212159 100644 --- a/edit/js/dariah.workflow.table.js +++ b/edit/js/dariah.workflow.table.js @@ -51,7 +51,7 @@ function handleHeaderCells(row) { function getDateFieldProps(){ return { validator: function(value, callback){ //custom date validator - if (xsdGYear.test(value) || xsdGYearMonth.test(value) || xsdDateOrDateTime.test(value)) { + if (!value || xsdGYear.test(value) || xsdGYearMonth.test(value) || xsdDateOrDateTime.test(value)) { callback(true); } else callback(false); }, -- GitLab From 2fd38bcf1bedb4f8b91003cfa2cc4fdc86bf0df5 Mon Sep 17 00:00:00 2001 From: malzer <malzer@sub.uni-goettingen.de> Date: Tue, 15 Mar 2022 15:41:29 +0100 Subject: [PATCH 3/4] Update changelog for release 4.0.8 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3389ff6..12dcd56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Bugfix Version 4.0.8 +==================== + +* Remove outdated Readme +* Validate empty/deleted timestamp values as true + Bugfix Version 4.0.7 ==================== -- GitLab From 2ea637b08d404bf2f63d4b680326de7bdbfc427b Mon Sep 17 00:00:00 2001 From: malzer <malzer@sub.uni-goettingen.de> Date: Tue, 15 Mar 2022 15:41:51 +0100 Subject: [PATCH 4/4] 4.0.8 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87e48d9..8fdd1fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dariahde-datasheet-editor", - "version": "4.0.7", + "version": "4.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dariahde-datasheet-editor", - "version": "4.0.7", + "version": "4.0.8", "dependencies": { "clipboard": "^2.0.8", "handsontable": "^9.0.2", diff --git a/package.json b/package.json index d3fc0b3..4edfbe1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dariahde-datasheet-editor", - "version": "4.0.7", + "version": "4.0.8", "private": true, "scripts": { "build:beta": "webpack --config webpack.config.dev.js", -- GitLab