Skip to content

Releases: axelor/axelor-open-platform

v7.3.1

05 Feb 10:40
bf17aa7
Compare
Choose a tag to compare

7.3.1 (2025-02-05)

Feature

  • Add support for OpenAPI scan include/exclude classes/packages

    Introduced new configuration properties to include/exclude classes/packages from OpenAPI scanning with following
    rules : class-level settings take precedence over package-level settings, exclusions take precedence over inclusions
    and the longest matching rule applies for packages.
    By default all classes are scanned (allow all, exclude some), except if some inclusions are defined (exclude all,
    include some).

    Added properties: application.openapi.scan.exclude.packages, application.openapi.scan.exclude.classes,
    application.openapi.scan.packages, application.openapi.scan.classes

  • Support application settings application.sign-in.logo-dark

    Set a custom dark logo for the login page if require a different one from application.logo-dark.

  • Allow to overwrite entity logUpdates attribute

    This allows to overwrite logUpdates attributes of entities. It can only enable
    change tracking feature for an entity.

  • Display notification if the audit log isn't available for an entity

    Entities with logUpdates="false" doesn't have change tracking enabled. So the
    created(On|By) and updated(On|By) fields aren't available. When showing audit log popup,
    rely on createdOn field to check if change tracking is available for the entity. If not,
    display a notification instead of showing a popup with empty data.

  • Support application settings application.logo-dark and application.icon-dark

    ws/public/app/logo and ws/public/app/logo accept mode query parameter (light or dark).
    Application configuration context.appLogo and context.appIcon accept String mode parameter.
    Removed logo and icon from ws/public/app/info.

Change

  • Use theme-builder as form widget

    Previously, theme-builder used in template with custom component support.
    Now theme-builder is implemented as form widget and can used in form-view directly.

Fix

  • Fix relational field target-name support in grid-view

  • Fix save action handler in details-view

  • Upgrade Swagger from 2.2.26 to 2.2.28

    This fix API Swagger documentation error due to jackson version mismatch

  • Fix close dms popup on file open in tab

    When dms popup view is opened through custom process action-view then
    on clicking on file to view in tab, it should close popup view (same as
    attachment click behavior on form-view)

  • Fix validate action in form view

  • Fix gap between line and summary-view in tree-grid

  • Fix event injection from child constructor

    When constructor injection is used, search for events in the injection point class hierarchy.

  • Fix pass action context to calendar view action

  • Fix refresh record in details-view

v7.2.6

05 Feb 10:31
8b86daf
Compare
Choose a tag to compare

7.2.6 (2025-02-05)

Fix

  • Fix relational field target-name support in grid-view

  • Fix switch select widget selection issue

  • Fix validate action in form view

  • Display personal name in recipient field of MailMessage form

  • Fix task sequence support in gantt view

  • Fix event injection from child constructor

    When constructor injection is used, search for events in the injection point class hierarchy.

  • Fix pass action context to calendar view action

  • Fix search emails address in recipient field in MailMessage form by adding current selected emails

  • Format multi-select fields values in mail message

  • Fix focused tab with showIf in panel-tabs

    On a form view, when first tab of panel-tabs contains showIf/hideIf expression,
    so initially it will be hidden and staring focus will be on tab which doesn't contain
    showIf/hideIf expression.
    In this case, it should re-focus active tab to starting tab if starting tab is accessible.

v7.1.12

05 Feb 10:27
565c5fd
Compare
Choose a tag to compare

7.1.12 (2025-02-05)

Fix

  • Fix validate action in form view
  • Display personal name in recipient field of MailMessage form
  • Fix pass action context to calendar view action
  • Fix html widget sanitize issue

v6.1.7

05 Feb 10:20
0076fa7
Compare
Choose a tag to compare

6.1.7 (2025-02-05)

Fixed

  • Fix broken formatting on HTML widget because of sanitization

    DOMPurify sanitization reverses attributes order,
    creating discrepancy with view value and causing issue with HTML widget.
    Now update value if it was actually sanitized only.

Security

  • Sanitize HTML on grid HTML widget

v7.3.0

14 Jan 15:47
2ad777c
Compare
Choose a tag to compare

7.3.0 (2025-01-14)

Feature

  • Add canNew/canEdit/canDelete support for panel-dashlet

    • canEdit param : canEdit="true" is already working for grid view,
      which signify editing of dashlet grid is allowed in readonly mode as well.
      canEdit="false" will disabled creation/editing of row in grid.
      For other data views it will enable/disable edit option.

    • canNew/canDelete : it will enable/disable new/delete option for data view.

  • Add Barcode widget

    This widget provides the ability to display a string value as a barcode in readonly mode.
    To customize the Barcode, use optional attributes height, x-barcode-width, x-barcode-line-color,
    x-barcode-display-value, x-barcode-background-color and x-barcode-format.
    The barcode is only displayed if the value is accepted by the format.

    Barcode is also supported on viewers with the same attributes.

  • Add x-step to Integer and Decimal widgets

    Add the ability to customize the increment and decrement amount using x-step attribute.
    Decimal and negative values are accepted. The default value is determined by the scale attribute if it exists, otherwise it is set to 1.

  • Add editable support in grid dashlet

    The linked grid view should have editable="true" to allow edit records in
    grids. To disable this behavior, you have to pass canEdit="false".

  • Improve mail message form

    On MailMessage form, render recipient as SelectionTag. Allow to remove recipient
    from Tag.

    When adding followers, validate recipients is filled, else it will display warning
    notification. Without any recipients, nothing will be done. The process only send
    message to the newest recipients.

  • Add QrCode widget

    This widget provides the ability to display a string value as a QR Code in readonly mode.
    To customize the QrCode size in px, use height attribute with a number value. Default to 140.

    QrCode is also supported on viewers with attribute value.

  • Add support to hide view popup header and footer

    Two new view params are added: popup.show-header and popup.show-footer.

    This is for advance use cases where we want to show custom views
    inside a popup with it's own header and footer.

  • Introduce help widget variant attribute

    The help variant is extracted from the css attributes values. Now, help widget has a new attribute variant that
    can be used, Accepted values are info, success, warning and error. Default value is info.

Change

  • Upgrade Gradle from 8.7 to 8.11.1

  • Upgrade backend dependencies

    Here is the list of backend dependencies upgraded :

    • Upgrade ASM from 9.7 to 9.7.1
    • Upgrade byte-buddy from 1.14.17 to 1.15.10
    • Upgrade commons-cli from 1.7.0 to 1.9.0
    • Upgrade commons-csv from 1.11.0 to 1.12.0
    • Upgrade commons-io from 2.16.1 to 2.18.0
    • Upgrade GraalJS from 22.0.0.2 to 22.3.5
    • Upgrade guava from 33.2.1-jre to 33.3.1-jre
    • Upgrade groovy from 3.0.22 to 3.0.23
    • Upgrade hazelcast from 5.3.7 to 5.3.8
    • Upgrade jackson from 2.17.1 to 2.18.2
    • Upgrade hsqldb JDBC from 2.7.3 to 2.7.4
    • Upgrade postgresql JDBC from 42.7.3 to 42.7.4
    • Upgrade jsoup from 1.17.2 to 1.18.3
    • Upgrade junit5 from 5.10.3 to 5.11.3
    • Upgrade junit-platform-launcher from 1.10.3 to 1.11.3
    • Upgrade pac4j from 5.7.5 to 5.7.7
    • Upgrade Quartz from 2.3.2 to 2.4.0
    • Upgrade Redisson/Hibernate 5.3.x+ from 3.29.0 to 3.38.1
    • Upgrade slf4j from 2.0.13 to 2.0.16
    • Upgrade snakeyaml from 2.2 to 2.3
    • Upgrade swagger-jaxrs2 from 2.2.22 to 2.2.26
    • Upgrade tomcat from 9.0.90 to 9.0.97
    • Upgrade undertow from 2.2.33.Final to 2.2.37.Final
    • Upgrade woodstox-core from 6.6.2 to 6.7.0
    • Upgrade xstream from 1.4.20 to 1.4.21

Deprecate

  • help widget css attribute deprecated

    The help variant is extracted from the css attributes values. Now, help widget has a new attribute variant that
    can be used, css attribute usage to determinate the variant is deprecated.

Fix

  • Fix switch select widget selection issue

  • Fix number increment/decrement when changing sign

    On number fields, when changing sign, 0.5 was decremented to -1.5 instead of -0.5.

  • Add toolbar support in grid details view

  • Fix lost focus on editable grid discard

  • Translate boolean fields values in mail message email

  • Fix gantt line alignment

    The gantt line should be aligned to table task row.

  • Display personal name in recipient field of MailMessage form

  • Fix task sequence support in gantt view

  • Fix fetch editor nested related fields

    When any nested field of editor field is defined in form then
    it should fetched as editor field instead of form field.

  • Fix search emails address in recipient field in MailMessage form by adding current selected emails

  • Format multi-select fields values in mail message

  • Fix focused tab with showIf in panel-tabs

    On a form view, when first tab of panel-tabs contains showIf/hideIf expression,
    so initially it will be hidden and staring focus will be on tab which doesn't contain
    showIf/hideIf expression.
    In this case, it should re-focus active tab to starting tab if starting tab is accessible.

v7.2.5

08 Jan 10:19
0d62e31
Compare
Choose a tag to compare

7.2.5 (2025-01-08)

Feature

  • Allow TenantAware to not start transaction by default

    Allow TenantAware to not start transaction by default.

    This is required when the thread task need to manage
    multiple transactions on it's own.

Fix

  • Fix downloading of DMS file with content instead of meta file

    This fixes downloading of DMS file with string content, that are not associated with a meta file.

  • Fix default min/max size of json fields

    Doesn't provide default min/max size to 0 for json fields. It is up to the user
    to define the values.

  • Add support for Mayotte in phone widget

  • Fix persist query string params in tab url

    When app is opened through url let say search-view url like this {demoURL}/#/ds/sale.search/search?customer=Miss then
    query parameters should be persist with url and also when switching between tabs it should also
    restored query string url for that associated tab.

  • Fix use context for toolbar button for panel-dashlet

    It should use context of dashlet action view to evaluate expression like showIf/hideIf/readonlyIf defined on toolbar button instead of tab action view context.

  • Fix X-Forwarded-Host that may contain port

    X-Forwarded-Host may contain port number, so server name should strip out the port from X-Forwarded-Host.
    It also means that port can either come from X-Forwarded-Host or X-Forwarded-Port.
    If both X-Forwarded-Host and X-Forwarded-Port are present, port from X-Forwarded-Port will take precedence.

  • Fix search view error when using search-form

  • Fix pass _ids in relational field grid

  • Fix hidden/readonly attr on view toolbar button

    When hidden="true" is set on menubar item or toolbar button it should hide the item or
    when readonly="true" is set on item, it should make item readonly.
    Currently hidden/readonly is only working when any of showIf/hideIf/readonlyIf is also defined on item.

  • Fix logout with form submission cases

    When extending, some logout (ex, SAML central logout) is typically
    not a redirection but returns a form that the front-end needs to submit.

    Fixed by using full page request for logout instead of AJAX.

  • Pass context to editable grid onNew action

  • Fix skip passing fields in form record save

  • Fix set action attrs on reference field

  • Fix placeholder support in html widget

  • Fix html widget sanitize issue

v7.2.4

29 Nov 16:13
d92dee4
Compare
Choose a tag to compare

7.2.4 (2024-11-29)

Fix

  • Fix SwitchSelect widget overflowing in vertical mode

  • Fix untranslated buttons titles in view switcher toolbar

  • Fix missing support of colors and shades config in charts

    Colors and shades config support was not implemented.
    This also add missing pre-build set of colors : material, roma, chartjs,
    roma, macarons. For example : <config name="colors" value="roma" />

  • Fix save record in popup editor for m2o/o2o/m2m(selection)

    We can edit the record through popup editor, it will save record as following :

    • m2o/o2o/m2m(selection) : It will only save record when form is dirty
    • o2m/m2m(grid) : It will save record when any changes (also including non dirty dummy fields) in record
  • Fix exclude duplicate record in data store search

  • Fix cache a view/fields when data is exist

  • Show error when view is not found

  • Allow to generate empty changelog release

    If no changelog entries are found, there is no changelog release generated. This
    is the default behavior. New properties allowNoEntry and defaultContent can
    be used to determine if it is allowed to generate changelog without entries and
    to specify the changelog release content (for example, No notable changes).

  • Fix Slider tooltip position

    The position of the tooltip is now aligned with the slider thumb even after scrolling or zooming.

  • Add server-side view type mismatch check

    When a view is requested, check if the requested view type matches.
    If not, an error message is logged and no view is returned.
    This prevents front-end from processing views with wrong type and causing unexpected errors.

  • Fix onSave action in grid details view

  • Fix helper tooltip not accepting html elements

  • Fix Quick Menu dynamic width

    Quick menus no longer have a dynamic width so typing on text input is not flipping the menu anymore.

  • Fix rendering of object values in grid

  • Small changes to refine UI

  • Fix dirty record on MetaFile widgets

    Some MetaFile widgets, ie Image/Drawing/BinaryLink shouldn't mark
    the main record dirty when updating an existing associated file.

  • Fix grid resizing lags

  • Enhance Gantt toolbar actions style

  • Fix login popup after expired SSO profile

    SSO profile may expire before the session expires, creating a situation where session exists
    with no valid profile. In that case, login popup could appear instead of being redirected to SSO.

    Now, log out subject when profile expires.

Security

  • Fix XSS vulnerability

v7.1.11

29 Nov 15:59
bca9caa
Compare
Choose a tag to compare

7.1.11 (2024-11-29)

Fix

  • Fix untranslated buttons titles in view switcher toolbar

  • Fix save record in popup editor for m2o/o2o/m2m(selection)

    We can edit the record through popup editor, it will save record as following :

    • m2o/o2o/m2m(selection) : It will only save record when form is dirty
    • o2m/m2m(grid) : It will save record when any changes (also including non dirty dummy fields) in record
  • Fix helper tooltip not accepting html elements

Security

  • Fix XSS vulnerability

v7.2.3

13 Nov 11:06
47d7e6d
Compare
Choose a tag to compare

7.2.3 (2024-11-13)

Fix

  • Fix ImageSelect alignment in tree view

  • Fix JS TypeError when action adds rows in one-to-many widget

    Page would crash (error 500) in case an action adds rows in one-to-many widget.

v7.1.10

13 Nov 11:00
eb3b5d3
Compare
Choose a tag to compare

7.1.10 (2024-11-13)

Fix

  • Fix JS TypeError when action adds rows in one-to-many widget

    Page would crash (error 500) in case an action adds rows in one-to-many widget.