-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue/175 Template Engine for HTML UIs #176
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* now using thymeleaf template engine to generate html * adds new UIs for some resources and search-sets * adds copy button for Task and QuestionnaireReponse html Input fields * adds insert placeholder button for boolean input fields * adds support for empty QuestionnaireReponse items and Task inputs using the FHIR data absent reason extension https://hl7.org/fhir/R4/extension-data-absent-reason.html * switching between html, json and xml views now pushes browser history entries * adds shortcuts (h, j, x) to switch between html, json and xml views. Shortcuts need to be used with browser specific modifier keys, see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/AbstractSearchSet.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ThymeleafTemplateServiceImpl.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceQuestionnaireResponse.java
Show resolved
Hide resolved
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Fixed
Show fixed
Hide fixed
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Show resolved
Hide resolved
dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/adapter/ResourceTask.java
Show resolved
Hide resolved
…om:datasharingframework/dsf.git into issue/175_Template_Engine_for_HTML_UIs
added line break opportunity elements <wbr> to h1 page title and replaced normal hyphen characters with non-breaking hyphens (character #8209).
…om:datasharingframework/dsf.git into issue/175_Template_Engine_for_HTML_UIs
also some code formatting
* New UI mod feature allowing overrides of static resources via ui folder bind mound, see 3dic-ttp test setup * New UI theme feature allowing configuration of a color indicator top page border for [dev, test, prod] deplyoment environments * JavaScript and CSS code formatting
...r/dsf-fhir-server/src/main/java/dev/dsf/fhir/webservice/impl/StaticResourcesServiceImpl.java
Fixed
Show fixed
Hide fixed
...r/dsf-fhir-server/src/main/java/dev/dsf/fhir/webservice/impl/StaticResourcesServiceImpl.java
Fixed
Show fixed
Hide fixed
...r/dsf-fhir-server/src/main/java/dev/dsf/fhir/webservice/impl/StaticResourcesServiceImpl.java
Fixed
Show fixed
Hide fixed
This was
linked to
issues
Feb 13, 2024
* Initial BPE UI implementation: Revoked the authentication and authorization of users, now using the same role config as the fhir server. Currently only one role is defined "ADMIN". The fhir Organization resource for the authenticated user is retrieved from the fhir server and cached for 30 seconds, the cache timeout currently can't be configured. Access to bep UI with the organization client certificate is not granted by default, but can be enabled by adding a role config the the "ADMIN" role for the certificate thumbprint. * Added a bpe rev proxy docker image similar to the existing fhir rev proxy docker image. * Added bpe rev proxy to docker-build.{bat,sh} scripts. * Added bpe rev proxy to docker-test-setup. * Added a ui mod to the 3dic-ttp test setup, fhir and bpe instances now use special logos with different versions for light and dark modes. * Added a user role config to the bpe services in the 3dic-ttp test setup and bpe base url and theme environment configs. * Modified docker-test-setup network ip configs, now using smaller (/29) subnets. * Modified test data generator for bpe rev proxy and bpe ui authentication, now using generated properties file when starting BPE from IDE. * Moved the webservice for static resources (images, css, js) to a new common-ui module, module used by both bpe and fhir servers. * Moved some authorization related code to the common-auth module. * The jetty authentication / authorization code now also sets UserIdentity roles, enabling the use of jakarta.annotation.security.{DenyAll, PermitAll, RolesAllowed} annotations on webservices. Added the RolesAllowedDynamicFeature to the bpe and fhir jersey applications to enable this feature. * The StatusPortAuthenticator now returns with a "STATUS_PORT_USER" that has the "STATUS_PORT_ROLE" role. The StatusService webservice now only allows access by users with this "STATUS_PORT_ROLE" role. * Added a new AuthenticationFilter (in common-auth) implementing the jakarta.ws.rs.container.ContainerRequestFilter interface to the bpe and fhir jersey applications to make sure (on the jersey layer) that access to all webservices is only granted to authenticated users.
dsf-common/dsf-common-ui/src/main/java/dev/dsf/common/ui/webservice/StaticResourcesService.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-ui/src/main/java/dev/dsf/common/ui/webservice/StaticResourcesService.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-ui/src/main/java/dev/dsf/common/ui/webservice/StaticResourcesService.java
Dismissed
Show dismissed
Hide dismissed
dsf-bpe/dsf-bpe-server/src/main/java/dev/dsf/bpe/spring/config/AuthenticationConfig.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-auth/src/main/java/dev/dsf/common/auth/conf/AbstractIdentityProvider.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-auth/src/main/java/dev/dsf/common/auth/conf/AbstractIdentityProvider.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-auth/src/main/java/dev/dsf/common/auth/conf/AbstractIdentityProvider.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-auth/src/main/java/dev/dsf/common/auth/conf/AbstractIdentityProvider.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-auth/src/main/java/dev/dsf/common/auth/conf/AbstractIdentityProvider.java
Dismissed
Show dismissed
Hide dismissed
dsf-common/dsf-common-auth/src/main/java/dev/dsf/common/auth/conf/AbstractIdentityProvider.java
Dismissed
Show dismissed
Hide dismissed
issue/175_Template_Engine_for_HTML_UIs
wetret
approved these changes
Feb 19, 2024
dsf-bpe/dsf-bpe-server/src/main/java/dev/dsf/bpe/webservice/AbstractService.java
Show resolved
Hide resolved
* Removed the default mod.css file from the jar internal static folder. * Generated fhir/bpe html now only links to the mod.css if the file exists in the ui folder of the docker container.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
server. Currently only one role is defined "ADMIN". Access to BPE UI with the organization client certificate is not granted by default, but can be enabled by adding a role config the the "ADMIN" role for the certificate thumbprint.
annotations on webservices.
closes #175
closes #160