web-styles
2024.7.0 (2024-10-16)
Changed
- [NSX-425] Added support for collection link fields in knockout UI with jaxrs-standard-api.
2024.6.1 (2024-09-12)
Fixed
- Use
maven.groupId
option to determine application level packageName. - [NSX-522] Fixed issue with login page when using the combination JAX-RS Standard API and Struts to render pages.
- Do not use jQuery bundled with TinyMCE to load TinyMCE.
- Fixed id for TinyMCE field to avoid the knockout binding from randomly failing.
Changed
- Updated TinyMC from
6.8.1
to6.8.4
. (CVE-2023-6378
,CVE-2024-38357
,CVE-2024-38356
) - Enabled
convert_unsafe_embeds
in TinyMCE.
2024.6.0 (2024-09-09)
Added
- Added
after-login-options
anchors on the login pages after additional login methods.
Changed
- Updated TinyMCE to
6.8.1
. (CVE-2024-29881
,CVE-2024-29203
,CVE-2024-38357
,CVE-2024-38356
)
2024.5.0 (2024-08-09)
Changed
- [NSX-449] Changed implementation for HTML pages to use expanded servlets, which can manage authentication and authorization.
Fixed
- [NSX-511] Fixed issue with pagination caused by NaN values.
- Fixed issues in nsx/menu causing user and account pages to break.
2024.4.2 (2024-07-08)
Fixed
- [NSX-490] Fixed pagination offset issues by forcing all agent implementations to always use 0-based pagination.
- Fixed a number of issues with the linkfieldInput binding, which is enabled by default with JAX-RS:
- Fixed console errors caused by trying to retrieve
findall
finder instead of the actual findall finder. - Correctly implemented disable for linkfieldInput. Parent fields should now be correctly disabled in child forms.
- Fixed error breaking pagination for multi-select picklists.
- Fixed undefined errors caused by selection being undefined.
- Fixed finder button not showing.
- Fixed console errors caused by trying to retrieve
- Improved error handling in JAX-RS agent:
- Prevent find requests if page is
NaN
, which would often cause an infinite loop. - Check content-type of error response. If it is not json, default to
something went wrong
. This should fix the UI breaking when a response returns an html body.
- Prevent find requests if page is
- Map
ns:label
toname
if no name is present in jax-rs agent, fixing issues with empty dropdowns and empty select fields. - Fixed expander comment and basic html properties for index.html
2024.4.1 (2024-06-17)
Fixed
- Fixed same infinite refresh in multi-select picklist when using
view.knockout.linkFieldInput
with JAX-RS standard api.
2024.4.0 (2024-06-14)
Added
- Added
perform(command)
method to javascript agent. - Added
getAgent(element)
method tonsx-agent
, an async method which returns the expanded agent class or the old implementation if the former is not available. - Added
(create|modify|delete)-before
anchors to the JAX-RS javascript agent.
Changed
perform-command-action
now uses expanded agent class if available.
Fixed
- Fixed
deleteInstance()
andgetProjection()
on JAX-RS javascript agent not taking into account that the id of an instance could be a number. - Fixed infinite refresh in picklist when using
view.knockout.linkFieldInput
with JAX-RS standard api.
2024.3.2 (2024-05-21)
Fixed
- Fixed issue where changing the focus using tab jumps over fields of type markupString
2024.3.1 (2024-05-16)
Fixed
- [NSX-475] Fixed tag on KnockoutToJaxrsClient, which caused the Feature to apply to Struts as well, in turn causing issues with features like assets.embeddedUpload.
- [NSX-328] Automatically close dropdowns when opening other dropdowns.
2024.3.0 (2024-05-13)
Added
- Added new
knockout-jaxrs-stdapi-expanders
expansion resource that contains core expanders to enable the Knockout UI to integrate with the standard JAX-RS API.
Changed
web-styles
is now a stack resource and the original contents have been moved toweb-styles-expanders
.
2024.2.0 (2024-04-26)
Added
- linkFieldInput binding:
picklist.displayFields
can now contain objects{ name: 'someField', displayFunction: (item) => '...'}
to change how fields are shown in the picklist.
Fixed
- [NSX-390] Fixed disabled field for data-picker data-binding, which is used by the timezone fix.
2024.1.1 (2024-04-16)
Added
- [NSX-460] Added logic to pages to refresh tokens when using OIDC tokens to authenticate.
Fixed
- Fixed duplicated custom code in login JSP files
2024.1.0 (2024-04-08)
Changed
command-button-builder#define{*}Button()
now has a new optionrequiredAccessRight
. The button no longer checks for access-rights if the option is not defined. To keep the behaviour the same, therequiredAccessRight
should be equal to thename
option. However, keep in mind that since version 2024.0.4, undefined access-rights are rejected.
2024.0.4 (2024-04-03)
Added
- Added features to expose static files and pages with the option
experimental.control.web.defaultServlet
. - Added HTML alternatives to replace JSP files when we cannot rely on Struts2 to render the JSP files.
- Added OIDC implementation that logs in to the OpenId issuer and uses the resulting token to authenticate each request.
Fixed
- Added compatibility script for logic where JqXHR objects were replaced with Promise objects.
Changed
- Merged several expanders for login, relogin and duplicateSession jsp files.
- Access-rights now uses app-actions, and rejects action right requests which are not defined.
2024.0.2 (2024-03-21)
Fixed
- Fix error on login screen if there is no login screen (e.g. with OpenID Connect)
2024.0.1 (2024-03-18)
Changed
- [NSX-453] Changed the condition for using the new pagination. It now activates only when the standard JAX-RS API is
used or if the option
experimental.view.pagination.v2
is added.
Fixed
- [NSX-453] Fixed broken pagination for Struts backend by activating compatibility feature in agent.js.
2024.0.0 (2024-03-15)
Added
- [NSX-285] Added implementation for pagination that makes use of links provided by JAXRS api.
Changed
WebStylesDirectoryCopierStep
now also works without presentationSettings- 'items' in pagination is now translated to 'artikelen' in Dutch
- web-styles javascript files now require
es6
- [NSX-442] Static files are now copied to
view/gen/*
instead ofstruts/
2023.2.1 (2023-11-09)
Changed
WebStylesDirectoryCopierStep
was changed to only copy web-styles ifVIEW_LAYER
is present in the program type.- Updated expander dependencies:
net.democritus:Expanders
:5.38.1 -> 5.39.0
net.democritus:prime-core
:2023.9.2 -> 2023.9.3
2023.2.0 (2023-11-08)
Added
- Added icon for ForgeRock to show on login page.
Changed
- Updated expander dependencies (minimum version) to address security vulnerabilities:
net.democritus:Expanders
:5.21.1 -> 5.38.0
net.democritus:prime-core
:2023.2.2 -> 2023.9.2
net.democritus:prime-data
:2023.0.3 -> 2023.1.2
Fixed
- [VEGA-314] Fixed maven build warning around war-default-timestamp
2023.1.2 (2023-05-17)
Fixed
- Fixed formatting in data-picker data-binding and set default datetime format to
dd-MM-yyyy HH:mm:ss
2023.1.0 (2023-04-20)
Added
Added Application option view.date.fixTimezone
. This fixes some inconsistencies regarding timezones:
- It provides a better time format to struts, so that timestamps in json include the correct timezone.
- It replaces the input and display knockout bindings with bindings that can display times in local time.
- It also provides the option
valueType.date.utc
, which you can add to a new timestamp valueType. This option changes the behaviour to always display the values in UTC.
2023.0.5 (2023-04-07)
Fixed
linkfieldInput
binding now properly updates if the parameters are observable.
2023.0.3 (2023-03-23)
Changed
- Updated jquery
3.6.0
=>3.6.4
- Updated moment-js
2.29.1
=>2.29.4
- Updated pubsub-js
1.9.3
=>1.9.4
- Updated tinymce
5.2.1
=>5.10.7
2023.0.2 (2023-02-23)
Changed
- Changed fieldTypes.js to expander to automatically create list of builtin types.
- Reverted changes to fieldMarkupBuilder.js
2023.0.0 (2023-02-01)
Fixed
- Added missing versioning of require for
scripts-before.jspf
.
Changed
- Updated prime-core 2023.0.2
Removed
- Removed deprecated ValueFieldTypes, which were no longer supported or even caused errors on expansions:
IntSpinner
LongSpinner
StringDate
StringLink
StringMail
2022.4.3 (2022-10-17)
Added
- Added an option to nsx-notification to add a close button to the notification
Fixed
- Added missing favicon in
header.jspf
for old UI
2022.4.2 (2022-09-14)
Fixed
- [NSX-310][richText] Fixed issue with editor keeping old values
- [VEGA-221] Changed nsx-form.js to also attach errorMessages to custom ValueFieldType fields
2022.4.1 (2022-06-22)
Fixed
- Fixed shortcuts not triggering because tag-names were checked in lowercase
2022.4.0 (2022-05-30)
Changed
- Updated 3rd party dependencies in expanders project (not in expanded code):
- Libraries:
commons-io:commons-io
:2.6 -> 2.11.0
(2.6
has known vulnerabilities)
- Maven plugins:
org.apache.maven.plugins:maven-jar-plugin
:3.0.2 -> 3.2.2
org.apache.maven.plugins:maven-resources-plugin
:2.7 -> 3.2.0
org.codehaus.mojo:build-helper-maven-plugin
:3.0.0 -> 3.3.0
- Libraries:
- Updated NSX Maven plugin in expanders project (not in expanded code):
net.democritus.maven.plugins:expanders-maven-plugin
:2021.5.13 -> 2022.1.6
- Updated expander dependencies (minimum version) to address security vulnerabilities:
net.democritus:Expanders
:5.1.0 -> 5.9.3
net.democritus:prime-data
:2021.3.1 -> 2021.3.8
net.democritus.metamodel:metamodel-stack
:4.1.1 -> 4.7.3
2022.3.1 (2022-05-16)
Fixed
- Fixed bug in data-download-action resulting in undefined error
Changed
- Updated typescript
3.9.10
=>4.6.4
2022.3.0 (2022-03-16)
Added
- [NSX-221] Added support for multiselect picklist to
linkfieldInput
binding
2022.2.0 (2022-02-25)
Added
- Added option
size
to popup, which can be set tolarge
to make the popup bigger. - [command-button-creator] Added messages from successful Commands to the notification popup
- [command-button-creator] Fixed issue with ButtonType SINGLE_INSTANCE when the table does not support multi-select
2022.1.0 (2022-02-17)
Added
- [NSX-214] Added possibility to add
jsToFormModel
method to finder mapper to add additional options to the viewModel of the finder form. (e.g. options for thelinkfieldInput
binding) - [NSX-224] Added optional parameters
searchMethod
anddetails
todata-download-action.ts
to provide search parameters when exporting data.