Compare commits

..

18 Commits

Author SHA1 Message Date
henrik f246e75eab fix: handle national language datetime formats NLDATM and NLDATE
Build / Build-and-ng-test (pull_request) Successful in 4m56s
Build / Build-and-test-development (pull_request) Successful in 9m40s
2025-03-05 15:59:13 +01:00
Henrik Forsell 149e318a87 fix: handle national language datetime formats
Build / Build-and-ng-test (pull_request) Successful in 5m9s
Build / Build-and-test-development (pull_request) Successful in 9m58s
2025-03-05 14:34:51 +01:00
semantic-release-bot 8657826e60 chore(release): 6.14.0 [skip ci]
# [6.14.0](https://git.datacontroller.io/dc/dc/compare/v6.13.2...v6.14.0) (2025-02-26)

### Features

* uses SORTSEQ=LINGUISTIC for the services/metanav/metadetails service ([a45f5bb](a45f5bb3b2))
2025-02-26 19:44:07 +00:00
Allan a45f5bb3b2 feat: uses SORTSEQ=LINGUISTIC for the services/metanav/metadetails service
Release / Build-production-and-ng-test (push) Successful in 4m49s
Release / Build-and-test-development (push) Successful in 9m42s
Release / release (push) Successful in 10m27s
2025-02-26 19:24:53 +00:00
Allan ae9a91a7a1 chore: bumping sasjs/core to 4.54
Release / Build-and-test-development (push) Has been cancelled
Release / release (push) Has been cancelled
Release / Build-production-and-ng-test (push) Has been cancelled
2025-02-26 19:21:07 +00:00
semantic-release-bot 3638bde633 chore(release): 6.13.2 [skip ci]
## [6.13.2](https://git.datacontroller.io/dc/dc/compare/v6.13.1...v6.13.2) (2025-02-26)

### Bug Fixes

* get metadata email if exists ([1bd0eef](1bd0eef913))
2025-02-26 12:25:46 +00:00
allan 3a2361f42c Merge pull request 'fix: get metadata email if exists' (#143) from fix-mpe_alerts-metadata-emails into main
Release / Build-production-and-ng-test (push) Successful in 4m45s
Release / Build-and-test-development (push) Successful in 9m37s
Release / release (push) Successful in 10m32s
Reviewed-on: #143
2025-02-26 12:06:51 +00:00
Henrik Forsell 1bd0eef913 fix: get metadata email if exists
Build / Build-and-ng-test (pull_request) Successful in 5m4s
Build / Build-and-test-development (pull_request) Successful in 9m53s
2025-02-26 12:19:58 +01:00
allan 85aa3b38b7 Merge pull request 'fix: Added missing=STRING to enable national chars' (#142) from metadetails-national-chars into main
Release / Build-production-and-ng-test (push) Successful in 4m55s
Release / Build-and-test-development (push) Successful in 9m52s
Release / release (push) Failing after 4m37s
Reviewed-on: #142
2025-02-18 11:59:51 +00:00
allan 678859a68d Merge branch 'main' into metadetails-national-chars
Build / Build-and-test-development (pull_request) Has been cancelled
Build / Build-and-ng-test (pull_request) Has been cancelled
2025-02-18 11:54:15 +00:00
Henrik Forsell e531acee3f Added missing=STRING to enable national chars
Build / Build-and-ng-test (pull_request) Successful in 5m25s
Build / Build-and-test-development (pull_request) Has been cancelled
2025-02-18 12:46:45 +01:00
semantic-release-bot 4a45ebfe3b chore(release): 6.13.1 [skip ci]
## [6.13.1](https://git.datacontroller.io/dc/dc/compare/v6.13.0...v6.13.1) (2025-02-18)

### Bug Fixes

* Avoiding LATIN1 unprintables in various UI locations ([bce1fd5](bce1fd57ef))
* updated @sasjs/adapter, crypto-browserify ([4e64f28](4e64f28732))
2025-02-18 10:37:07 +00:00
allan 8fb9a344f2 Merge pull request 'fix: updated @sasjs/adapter, crypto-browserify' (#141) from vulnerabilities-fix into main
Release / Build-production-and-ng-test (push) Successful in 4m49s
Release / Build-and-test-development (push) Successful in 9m37s
Release / release (push) Successful in 10m17s
Reviewed-on: #141
2025-02-18 10:18:09 +00:00
Mihajlo Medjedovic 8829b60220 chore: licence checker
Build / Build-and-ng-test (pull_request) Successful in 4m57s
Build / Build-and-test-development (pull_request) Successful in 9m39s
2025-02-18 10:31:46 +01:00
Mihajlo Medjedovic 4e64f28732 fix: updated @sasjs/adapter, crypto-browserify
Build / Build-and-ng-test (pull_request) Failing after 1m43s
Build / Build-and-test-development (pull_request) Successful in 9m56s
2025-02-18 10:23:42 +01:00
allan a0749de700 Merge pull request 'fix: Avoiding LATIN1 unprintables in various UI locations' (#140) from issue137 into main
Release / Build-production-and-ng-test (push) Failing after 1m39s
Release / Build-and-test-development (push) Has been skipped
Release / release (push) Has been skipped
Reviewed-on: #140
2025-02-17 16:36:57 +00:00
allan f9623e046e Merge branch 'main' into issue137
Build / Build-and-ng-test (pull_request) Successful in 5m12s
Build / Build-and-test-development (pull_request) Successful in 9m45s
2025-02-17 16:36:44 +00:00
Allan bce1fd57ef fix: Avoiding LATIN1 unprintables in various UI locations
Build / Build-and-ng-test (pull_request) Successful in 5m8s
2025-02-17 16:35:18 +00:00
15 changed files with 6197 additions and 4528 deletions
+22
View File
@@ -1,3 +1,25 @@
# [6.14.0](https://git.datacontroller.io/dc/dc/compare/v6.13.2...v6.14.0) (2025-02-26)
### Features
* uses SORTSEQ=LINGUISTIC for the services/metanav/metadetails service ([a45f5bb](https://git.datacontroller.io/dc/dc/commit/a45f5bb3b27a86da5f55ff28c9c7669956484ddf))
## [6.13.2](https://git.datacontroller.io/dc/dc/compare/v6.13.1...v6.13.2) (2025-02-26)
### Bug Fixes
* get metadata email if exists ([1bd0eef](https://git.datacontroller.io/dc/dc/commit/1bd0eef913593579771c647d80010ce628c00819))
## [6.13.1](https://git.datacontroller.io/dc/dc/compare/v6.13.0...v6.13.1) (2025-02-18)
### Bug Fixes
* Avoiding LATIN1 unprintables in various UI locations ([bce1fd5](https://git.datacontroller.io/dc/dc/commit/bce1fd57ef397cfdd030552c3f424a8407174729))
* updated @sasjs/adapter, crypto-browserify ([4e64f28](https://git.datacontroller.io/dc/dc/commit/4e64f28732868b07ec2ab403912bd384c62c7e1d))
# [6.13.0](https://git.datacontroller.io/dc/dc/compare/v6.12.3...v6.13.0) (2025-01-31)
+1 -1
View File
@@ -10,7 +10,7 @@ const check = (cwd) => {
onlyAllow:
'AFLv2.1;Apache 2.0;Apache-2.0;Apache*;Artistic-2.0;0BSD;BSD*;BSD-2-Clause;BSD-3-Clause;CC0-1.0;CC-BY-3.0;CC-BY-4.0;ISC;MIT;MPL-2.0;ODC-By-1.0;Python-2.0;Unlicense;',
excludePackages:
'@cds/city@1.1.0;@handsontable/angular@14.4.0;handsontable@14.4.0;hyperformula@2.7.0;jackspeak@2.2.0;path-scurry@1.7.0'
'@cds/city@1.1.0;@handsontable/angular@14.6.2;handsontable@14.6.2;hyperformula@2.7.1;jackspeak@3.4.3;path-scurry@1.11.1;package-json-from-dist@1.0.1'
},
(error, json) => {
if (error) {
+6155 -4511
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -49,14 +49,14 @@
"@clr/icons": "^13.0.2",
"@clr/ui": "^17.0.1",
"@handsontable/angular": "^14.3.0",
"@sasjs/adapter": "4.10.2",
"@sasjs/adapter": "^4.11.0",
"@sasjs/utils": "^3.4.0",
"@sheet/crypto": "file:libraries/sheet-crypto.tgz",
"@types/d3-graphviz": "^2.6.7",
"@types/text-encoding": "0.0.35",
"base64-arraybuffer": "^0.2.0",
"buffer": "^5.4.3",
"crypto-browserify": "3.12.0",
"crypto-browserify": "^3.12.1",
"crypto-js": "^4.2.0",
"d3-graphviz": "^5.0.2",
"fs-extra": "^7.0.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dcfrontend",
"version": "6.13.0",
"version": "6.14.0",
"description": "Data Controller",
"devDependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",
+4 -4
View File
@@ -7,7 +7,7 @@
"name": "dc-sas",
"dependencies": {
"@sasjs/cli": "^4.11.1",
"@sasjs/core": "^4.53.0"
"@sasjs/core": "^4.54.0"
}
},
"node_modules/@coolaj86/urequest": {
@@ -116,9 +116,9 @@
"integrity": "sha512-Grwydm5GxBsYk238PZw41XPjXVVQ9vWcvfZ06L2P0bQbvK0sGn7l69JA7H5MGr3QcaLpiD4Kg70cAh7PgE+JOw=="
},
"node_modules/@sasjs/core": {
"version": "4.53.0",
"resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.53.0.tgz",
"integrity": "sha512-bGLa9OUlrA6s8+TFjoxc1/0B7LlR+f1gLEXU5vNnrxbidOZ8raR+i1vgBtF4Ux9432G8g+Ju80E5vR/Q/QyK3Q==",
"version": "4.54.0",
"resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.54.0.tgz",
"integrity": "sha512-nuPXEsuxZnHiaSmkLf92v5B0tVybbPaU70EM0nU15BXUYO+PNZSZe9ofp5/+L2qi03UB0+WJHuPU6Xx+CwWr9A==",
"license": "MIT"
},
"node_modules/@sasjs/lint": {
+1 -1
View File
@@ -29,6 +29,6 @@
"private": true,
"dependencies": {
"@sasjs/cli": "^4.11.1",
"@sasjs/core": "^4.53.0"
"@sasjs/core": "^4.54.0"
}
}
+2
View File
@@ -96,6 +96,8 @@ data work.emails;
/* get email from metadata if not in input table */
if metadata_getnasn(uri,"EmailAddresses",1,emailuri)<=0 then do;
putlog "DCWARN: " alert_user " has no emails in MPE_EMAILS or metadata!";
end;
else do;
if metadata_getattr(emailuri,"Address",user_email)<0 then do;
putlog 'DCWARN: Unexpected error! Valid emailURI but no email. Weird.';
end;
@@ -82,7 +82,7 @@ create table out1 (rename=(SUBMITTED_ON_DTTM1=SUBMITTED_ON_DTTM)) as
)
%webout(OPEN)
%webout(OBJ,fromSAS)
%webout(OBJ,fromSAS,missing=STRING)
%webout(CLOSE)
+2 -2
View File
@@ -340,14 +340,14 @@ select upcase(loadtype)
if ctrlOptions ne '' then
colType=cats(coltype,',"type":"dropdown","source":',ctrlOptions,"}");
else if type='num' then do;
if format=:'DATETIME' or format=:'E8601DT' then do;
if format=:'DATETIME' or format=:'E8601DT' or format=:'NLDATM' then do;
colType=cats(coltype
,',"type":"date","dateFormat":"YYYY-MM-DD HH:mm:ss"'
,',"correctFormat":"true"}');
/* build var list to reformat datetimes in javascript format */
call symput('jsdttmvars',symget('jsdttmvars')!!' '!!name);
end;
else if format=:'DATE' or format=:'DDMMYY' or format=:'MMDDYY'
else if format=:'DATE' or format=:'DDMMYY' or format=:'MMDDYY' or format=:'NLDATE'
or format=:'YYMMDD' or format=:'E8601DA' or format=:'B8601DA'
or format=:'MONYY'
then do;
+1 -1
View File
@@ -45,6 +45,6 @@ create table work.fromsas (rename=(SUBMITTED_ON=SUBMITTED_ON_DTTM)) as
)
%webout(OPEN)
%webout(OBJ,fromSAS)
%webout(OBJ,fromSAS,missing=STRING)
%webout(CLOSE)
+1 -1
View File
@@ -136,7 +136,7 @@ run;
)
%webout(OPEN)
%webout(OBJ,saslibs)
%webout(OBJ,saslibs,missing=STRING)
%webout(CLOSE)
%mpeterm()
@@ -341,7 +341,7 @@ proc sql;
create table ids as select distinct id from graphviz3;
%webout(OPEN)
%webout(OBJ,fromSAS)
%webout(OBJ,fromSAS,missing=STRING)
%webout(OBJ,ids,dslabel=clickableIDS)
%webout(OBJ,info)
%webout(OBJ,flatdata)
@@ -23,10 +23,11 @@
%mm_getdetails(&objecturi
,outattrs=work.attributes
,outassocs=work.associations
,sortoptions=SORTSEQ=LINGUISTIC
)
%webout(OPEN)
%webout(OBJ,attributes)
%webout(OBJ,attributes, missing=STRING)
%webout(OBJ,associations)
%webout(CLOSE)
%mpeterm()
@@ -26,6 +26,6 @@ options metarepository=&repo;
)
%webout(OPEN)
%webout(OBJ,objects)
%webout(OBJ,objects,missing=STRING)
%webout(CLOSE)
%mpeterm()