Compare commits

..

11 Commits

Author SHA1 Message Date
f246e75eab fix: handle national language datetime formats NLDATM and NLDATE
All checks were successful
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
All checks were successful
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
All checks were successful
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
Some checks failed
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
3a2361f42c Merge pull request 'fix: get metadata email if exists' (#143) from fix-mpe_alerts-metadata-emails into main
All checks were successful
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
All checks were successful
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
85aa3b38b7 Merge pull request 'fix: Added missing=STRING to enable national chars' (#142) from metadetails-national-chars into main
Some checks failed
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
678859a68d Merge branch 'main' into metadetails-national-chars
Some checks failed
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
Some checks failed
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
7 changed files with 26 additions and 9 deletions

View File

@@ -1,3 +1,17 @@
# [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)

View File

@@ -1,6 +1,6 @@
{
"name": "dcfrontend",
"version": "6.13.1",
"version": "6.14.0",
"description": "Data Controller",
"devDependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",

8
sas/package-lock.json generated
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": {

View File

@@ -29,6 +29,6 @@
"private": true,
"dependencies": {
"@sasjs/cli": "^4.11.1",
"@sasjs/core": "^4.53.0"
"@sasjs/core": "^4.54.0"
}
}

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;

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;

View File

@@ -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()