Changelog web-styles

Filter x

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
  • 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

Updated

  • 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 to large 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 the linkfieldInput binding)
  • [NSX-224] Added optional parameters searchMethod and details to data-download-action.ts to provide search parameters when exporting data.

2022.0.1 (2022-02-16)

Fixed

  • Fix to size bottom of big dialogs properly

2022.0.0 (2022-02-07)

Added

  • Added command-button-creator to add buttons to execute commands in various ways

2021.2.18 (2022-01-25)

Fixed

  • [linkfieldInput] Fixed bug if displayFields was defined, but empty

2021.2.17 (2022-01-24)

Reverted

  • Reverted deletion of nsx-navbar-fixed.css

2021.2.16 (2022-01-21)

Fixed

  • Fixed missing oxide skin for tinymce
  • [linkfieldInput] Fixed select not showing selected value if selected value is not part of finder result

2021.2.15 (2022-01-18)

Changed

  • [NSX-197] Only load instances when tab in waterfall is visible, and hence a parent element is selected, to reduce page load.

2021.2.14 (2022-01-12)

Fixed

  • [NSX-174] Fix clear button on selectDependent
  • [NSX-204] Added default minimum input length of 1 to trigger autocomplete, fixed some issues with autocomplete

Changed

  • [Old UI] Use nsx-navbar-static.css by default, since it is less buggy. (There is a patch option webstyles.patch.navbar-fixed to revert this)

2021.2.13 (2022-01-04)

  • Revert changes to nsx-navbar-fixed, since it can be replaced with nsx-navbar-static.css

2021.2.12 (2022-01-04)

Re-release 2022.2.11


2021.2.11 (2022-01-04)

Fixed

  • [NSX-204] Show the correct field in the dropdown menu when displayField is enabled for the experimental linkfield.
  • [NSX-204] Show the correct item when observable is changed for the experimental linkfield.
  • [NSX-204] Apply bindings to the selected finder correctly for the experimental linkfield’s picklist.
  • [NSX-204] Fix overlapping text in the case of long display fields for the experimental linkfield.
  • [VEGA-208] Fix several require statements in old js files

Changed

  • Change nsx-navbar-fixed.css to fix issues with responsiveness

2021.2.10 (2021-12-13)

Fixed

  • Downgraded TinyMCE to 5.2.1, because the latest version causes issues
  • Change build to not use npm install, which resulted into libraries being updated automatically, without being checked

2021.2.9 (2021-12-06)

Fixed

  • Fixed webResourcePatch naming conflict

2021.2.8 (2021-12-06)

Fixed

  • [NSX-201] Fixed loading for nsx-knockout-utils.js and nsx-interaction-model.js

Added

  • [VEGA-202] Added patch option webstyles.patch.command-field-types for reverting changes in fieldTypes.js

2021.2.7 (2021-12-01)

Fixed

  • [VEGA-189] Fixed nullable DateTime input field

2021.2.5 (2021-11-24)

Fixed

  • [NSX-198] Fixed tabs to always select the first tab on visibility changes until the user interacts with the tabs. From then on, the selected tab is preferred.

2021.2.4 (2021-11-16)

Changed

  • [NSX-189] LinkFieldInput will now by default include the more... option to show a picklist. In this case, the displayFields of the picklist will be based on the displayField of the dropdown. Set dropdown.includeMore to false to disable it.

Fixed

  • Fixed an issue where selecting none in a linkFieldInput with autocomplete would not actually set the value, but error out.

2021.2.3 (2021-11-10)

Fixed

  • Fixed loading for observableInstanceBuilder.js when minified

2021.2.2 (2021-10-26)

Fixed

  • Added some missing icons for OpenID Connect in the nsxskeleton layout.

2021.2.1 (2021-10-22)

Added

  • [NSX-192] Added support for finderDetails on autocomplete in new linkfieldInput binding
  • [NSX-189] Added support for displayField: "dataRef" in new linkfieldInput binding
  • [NSX-189] Changed default finder to findAll in new linkfieldInput binding

2021.2.0 (2021-10-20)

Added

  • Support for the general OpenID Connect implementation added to base-components 2021.4.0.

Removed

  • Removed support for the proprietary Google authentication implementation for OpenID Connect.

Fixed

  • [NSX-120] access-rights.js: Update approved variable before triggering granted
  • Fixed webstyles.patch.unminify option

2021.1.1 (2021-09-24)

Updated

  • Updated build to use latest metamodel expansion
  • Updated Expanders dependency 4.5.0 -> 5.1.0
  • Removed dependencies on elements layers (replaced with prime-core)

2021.1.0 (2021-09-22)

Added

  • Added knockout binding for selecting linkFields:
    • linkfieldInput: Inserts an <input> with autocompletion and picklists. Designed to replace selectDataRef in the near future.
  • Added support for bulk delete in knockout v1 (NSX KNOCKOUT OG)

Changed

  • RequireConfig.js is now expanded by default
  • Nsx js files are now minified. Add ApplicationInstance option webstyles.patch.unminify to instead expand original unminified files.
  • Cleanup of js/lib directory, excluding several unused files
  • requireConfig’s urlArgs changed from '' to 'v=${build.cache.version}'
    • this is filtered by maven with a current datetime (in format yyyyMMddHHmmss)
    • can be overridden from root pom, or via command line by explicitly setting build.cache.version property
  • dataElement’s perform command is no longer executed synchronously [NSX-182]
  • page should keep active tabs active instead of always selecting the first one [NSX-173]
  • renamed default favicon from pageIcon.ico to favicon.ico

Fixed

  • Fixed instance-id only replacing the first whitespace character
  • Added some missing builtin valueTypes to fieldTypes.js (note: the observableInstanceBuilder is not actively supported)

Removed

  • Removed obsolete/unused jqplot and all associated/dependent code
    • for custom code loading compatibility, several empty files (requireConfig-jqplot.js, etc.) are preserved

2021.0.4 (2021-06-07)

Fixed

  • Removed Helvetica default fonts from nsxbootstrap and nsxskeleton as changes to access of system fonts in Firefox 89 may cause issues when the entire font family is not present.
  • Packaged Raleway font with webstyles.

2021.0.3 (2021-05-04)

Fixed

  • Fixed fileDownload file name not being url-safe encoded

2021.0.2 (2021-02-22)

Fixed

  • Add patch to revert change to tagValue.js in v2021.0.0. Can be activated with applicationInstance option webstyles.patch.tag-value-search.

2021.0.1 (2021-02-10)

Fixed

  • The contents of duplicateSession.jsp were expanded over login.jsp for the nsxbootstrap theme. duplicateSession.jsp is now expanded correctly.

2021.0.0 (2021-01-14)

Fixed

  • tagValue.js now uses modern search api, so that it does not break with expanders 4.12.0 (where searchDataRef methods are no longer included by default)

2020.7.1 (2020-11-27)

Fixed

  • Fixed css for pageSize selector in nsxskeleton

2020.7.1 (2020-11-27)

Added

  • Use translation in pageSize-picker
  • Provide translations for bulk delete
  • Allow format() to be used in combination with translate() (e.g. format(translate('my.message'), { ... })). In this case, escape the {} characters in the properties files by adding single quotes (e.g. '{'count'}')

2020.7.0 (2020-11-24)

Added

  • Added multiselect-list-view
  • nsx-knockout-bindings is now an expanded artifact with a feature and custom anchor
  • Added clickCombination ko binding that allows you to bind different callbacks for clicking in combination with holding ctrl, alt or shift:
      <div data-bind="clickCombination: {
                base: doX,
                ctrl: doY,
                alt: doZ
            }">
        ...
      </div>
    

Changed

  • Refactored project structure to better allow unit testing

Updated

  • Updated jquery v3.4.1 => v3.5.1

2020.6.6 (2020-10-09)

  • Updated nsx-parent 2019.5 -> 2020.9.1

2020.6.5 (2020-09-24)

  • Set nsx-shared-testing to test scope

2020.6.4 (2020-09-24)

  • merged 2020.5.x branch

2020.6.3 (2020-08-05)

Fixed

  • Fixed isApplicable condition on stylesheet expander for nsxskeleton layout

2020.6.2 (2020-08-04)

  • cherry-picked fix from 2020.5.2

2020.6.1 (2020-07-17)

Fixed

  • Implicit option refactor in base-components bundle was not refactored in web-styles, causing some parts of files not to be expanded correctly.

2020.6.0 (2020-07-16)

Fixed

  • Renamed attachment-generic-* icons to attachment-generic-*.

Added

  • You may expand requireConfig.js with option webstyles.require.expandconfig. this will replace the static requireConfig file and provide harvest and feature anchors.
  • The option webstyles.require.bustcache will insert the application version as extra argument to each requirejs call, so that changed files will be automatically reloaded.
  • Support for Google Authentication in both the nsxbootstrap and nsxskeleton styles when the baseComponents.authentication.enableGoogleAuth option is found on the ApplicationInstance.
  • Support for Google Authentication in both the nsxbootstrap and nsxskeleton styles when the baseComponents.authentication.disableInternalAuth option is found on the ApplicationInstance.

Changed

  • login.jsp, relogin.jsp and duplicateSession.jsp files have been converted to expanders with several anchors in both the nsxbootstrap and nsxskeleton styles.
  • The nsxbootstrap and nsxskeleton styles have a newly designed login page.

2020.5.3 (2020-08-25)

Fixed

  • Fixed race condition in dropdowns that could lead to a locked dropdown menu and confused tests

Added

  • Added mechanism for patches
  • Created patch to convert <span> tags with icons back to <i> tags, activated with the applicationInstance option webstyles.patch.icon-tags
  • Web-styles will now generate a report file in the root expansion directory that shows the web-resources, layout-resources and patches that have been installed.
  • Patches are applied before layout-resources, preventing overlap with layouts. This means that any patch does not work if a layout overwrites a file patched by a web-styles patch.

2020.5.2 (2020-08-17)

Fixed

  • Fixed issue with dates changing on edit

2020.5.1 (2020-07-07)

Changed

  • Web-styles now depends on elements 2020.6.7 and expanders 4.5.0. This will force users to update to these versions in their projects, but will make web-styles buildable for the NLBD.
  • This version is functionally equivalent to 2020.5.0

2020.5.0 (2020-07-02)

Added

  • Created enter shortcut to submit dialogs to global-shortcuts.js
  • ApplicationInstance option webstyles.shortcuts.global will activate global shortcuts on each page

Fixed

  • Fixed an issue where nsx-forms was trying to modify a boolean value

2020.4.1 (2020-06-11)

Fixed

  • Fixed WebStylesDirectoryCopierStep file copying not being thread-safe

2020.4.0 (2020-05-29)

  • Updated dependencies

2020.3.5 (2020-05-27)

Fixed

  • Fixed issues related to the recent switch to strict mode for JS
  • Duplicated jqplot css files to dist subdirectory until expanders and custom code is migrated

2020.3.4 (2020-05-11)

Fixed

  • Fixed broken upload form

2020.3.3 (2020-05-07)

Fixed

  • Fixed dateInput icon

2020.3.2 (2020-05-04)

Added

  • Added html view to StringLong editor

Fixed

  • Fixed jqplot JS require paths
  • Fixed accessRights canCreate being mapped to canEdit

2020.3.1 (2020-04-29)

Changed

  • Convert <i/> tags to <span/> for icons because this can cause issues with duplicated icons

2020.3.0 (2020-04-24)

Changed

  • Web-styles are now an expansion-resource
  • richText.js now uses tinyMCE version 5.2

2020.2.0 (2020-04-10)

Fixed

  • An issue with csrfSecurity in combination with a file upload has been fixed

Changed

  • Knockout has been updated to 3.4.67
  • JQuery has been updated to 3.5.1

Removed

  • Several js files that were added for a refactoring, but never used, have been deleted.
  • Common directories for struts and cocoon have been removed as they are no longer used or supported by the expanders