Commit Graph

4724 Commits

Author SHA1 Message Date
Grahame Grieve bda3a74b40 handle R3 encoding of primitive values when validating profiles 2023-01-31 07:23:33 +11:00
Grahame Grieve 7ad4bd62c6 fix for NPE rendering resources 2023-01-31 07:23:12 +11:00
Grahame Grieve d859e0b4bd Temporary Support for MedicationStatement in R5 (going to be renamed again) 2023-01-31 07:22:33 +11:00
Lloyd McKenzie 2afe12051c
Merge pull request #1093 from hapifhir/do-20230127-remove-wtf
Replace WTF error with clearer description
2023-01-27 12:10:36 -07:00
dotasek f5f03442aa Better error description 2023-01-27 11:22:37 -05:00
dotasek e0224e67a7 Fix FHIRPath message for HAPI Test Case
An Invalid FHIRPath message is tested in HAPI-FHIR FhirPathFilterInterceptorTest.testFilteredResponse_ExpressionIsInvalid()
2023-01-25 11:09:34 -05:00
dotasek cca38587ce
Cleanup jetbrains annotations (#1090)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-23 18:27:47 -05:00
dotasek 21f2549ddb
Merge pull request from GHSA-jqh6-9574-5x22
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-23 15:02:44 -05:00
markiantorno cb441456a8 Updating version to: 5.6.93-SNAPSHOT and incrementing test cases dependency. 2023-01-20 23:14:26 +00:00
markiantorno dc677cad51 Release: v5.6.92
## Validator Changes

* update FHIRPath implementation for corrections to 'as' (R5 only in validator)
* Critical Security fix: enforce correct paths when unpacking archives (SecurityAdvisory-1082, CVE TBA)

## Other code changes

* Update to latest FHIRPath for older versions
* Add new ElementModel based parser for StructureMaps
* go-publish related changes
* FTP Client upload and logging improvements
* Refactor base64 handling for Android compatibility

## Security Note

The validator unzips archive files to the local file system when
it is scanning zip files it has been asked to validate, and when it is
installing packages. These processes are now resistant to the zip-slip
vulnerability.
***NO_CI***
2023-01-20 22:57:29 +00:00
dotasek b50aec5912
Advisory fix 1 (#1089)
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-20 16:56:57 -05:00
Grahame Grieve b5da39ffe8 Merge remote-tracking branch 'origin/master' 2023-01-21 07:36:15 +11:00
Grahame Grieve 2c93585bb6 better error message 2023-01-21 07:36:09 +11:00
Mark Iantorno a2b766a9ec Updating test case dependency to v1.2.9
***NO_CI***
2023-01-20 20:06:34 +00:00
Grahame Grieve ecf775af38 add security note 2023-01-21 06:19:06 +11:00
Grahame Grieve 36ea83d5ff release notes for security alert 2023-01-21 06:11:44 +11:00
Grahame Grieve e069508ce5 release notes 2023-01-21 06:07:26 +11:00
Grahame Grieve 4a68fac9a8
Merge pull request #1087 from hapifhir/gg-202301-sm-errors
Gg 202301 sm errors
2023-01-20 21:25:11 +11:00
Grahame Grieve f8e6371e1f
Merge branch 'master' into gg-202301-sm-errors 2023-01-20 19:44:24 +11:00
Grahame Grieve 6fdcbf2e2c release notes 2023-01-20 17:30:39 +11:00
Grahame Grieve 68b36d3cb5 go-publish related changes 2023-01-20 11:23:17 +11:00
Grahame Grieve b16fc37b02 clean up error handling when parsing structure maps 2023-01-20 04:24:42 +11:00
dotasek f58b7acfb5
Swaps isBase64 with internal implementation for Android compatibility (#1079)
* Adding animal sniffer to display all issues related to android compatibility.

* Duplicate isBase64 internally

Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-18 18:40:24 -05:00
Vitor Pamplona 2c60f5b5e3
Adding animal sniffer to display all issues related to android compatibility. (#1050) 2023-01-18 18:39:44 -05:00
Grahame Grieve 7cc01ef7db update new FHIRPath for older versions 2023-01-19 07:57:05 +11:00
Grahame Grieve 26027fa3d6 update FHIRPath implementation for discussion at 84a07a6a92 2023-01-19 06:59:45 +11:00
dotasek 8c43e21094
Update RELEASE_NOTES.md
***NO_CI***
2023-01-18 12:43:49 -05:00
dotasek 885e55352f
FTPClient: upload file path creation, logging, and improved default path (#1078)
* More logging of errors.

* WIP create path for file to upload.

* WIP Tests

* More tests

* Improved logging and path fixes

* Clean up imports

* Rename test

* add testing code

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-01-18 12:42:59 -05:00
Grahame Grieve 742c22b1b8 Merge remote-tracking branch 'origin/master' 2023-01-19 03:34:15 +11:00
Grahame Grieve d7071312ba
Merge pull request #1080 from hapifhir/gg-202301-sm-em-parser
Add ElementModel based StructureMap parser
2023-01-18 20:07:52 +11:00
Grahame Grieve 4f2fd817a3 Merge remote-tracking branch 'origin/master' 2023-01-18 12:33:59 +11:00
Grahame Grieve c9833f94d3 Add ElementModel based StructureMap parser 2023-01-18 12:32:06 +11:00
markiantorno 4367813a2c Updating version to: 5.6.92-SNAPSHOT and incrementing test cases dependency. 2023-01-17 21:59:38 +00:00
markiantorno 7b22d0355b Release: v5.6.91
## Validator Changes

* Fixed validation of URNs
* Check profiles don't have slicing on roof

## Other code changes

* Fix significant performance issue with profile xls generation
* Fix issue with setProperty dropping extensions in R3 - R5
* Debug logging improvements generating snapshots
* Fix issues with types missing in CDA IGs
* Fix problem converting ActivityDefinition R4(B)/R5
* More work on FTP Client
***NO_CI***
2023-01-17 21:40:28 +00:00
dotasek a5b8a5465d Bump test case version to 1.2.8 2023-01-17 15:30:56 -05:00
Grahame Grieve 054fba7505
Merge pull request #1077 from jkiddo/master
Reopen PR
2023-01-18 06:58:48 +11:00
Jens Kristian Villadsen a24add4a4d
Merge branch 'hapifhir:master' into master 2023-01-17 11:01:04 +01:00
Grahame Grieve c93fd840d2 release notes 2023-01-17 20:36:01 +11:00
Grahame Grieve 9ac35f9596
Merge pull request #1076 from hapifhir/gg-202301-fix-setprop
Gg 202301 fix setprop
2023-01-17 14:10:19 +11:00
Grahame Grieve 7b99037199 fix BOM in java files 2023-01-17 12:49:14 +11:00
Grahame Grieve 8a53aaffad Merge remote-tracking branch 'origin/master' 2023-01-17 11:42:27 +11:00
Grahame Grieve bbad7717f7
Merge pull request #1073 from hapifhir/gg-202301-urn-validation
Gg 202301 urn validation
2023-01-17 11:42:04 +11:00
Grahame Grieve 829cea8d33 Add check for slicing at the root of a profile 2023-01-17 11:41:42 +11:00
Grahame Grieve daf5638f3e Fix significant performance issue generating xlsx for multiple profiles 2023-01-17 11:23:39 +11:00
Grahame Grieve 8cb7e40815 Improved Error message if profile root has slicing 2023-01-17 11:23:14 +11:00
Grahame Grieve 01c131b29d see PR 1075 - fix issue with setProperty() ignoring extensions 2023-01-17 11:22:42 +11:00
Jens Kristian Villadsen fed5d0c2f7 Test showing that extensions are not carried over 2023-01-16 20:07:20 +01:00
Grahame Grieve 41abbb21a0 fix debug logging for snapshot generation 2023-01-17 05:36:44 +11:00
Grahame Grieve 2a0d8a236f Merge remote-tracking branch 'origin/master' 2023-01-16 22:14:40 +11:00
Grahame Grieve 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +11:00