@unitybase/adminui-vue #

Added #

5.19.5 2021-03-03 #
  • Checking uiSettings.adminUI.disableScanner config property in UFile and UNavbarUserButton. If true, then scan buttons are hidden in toolbars
  • UCrop: new component for edit images: crop, rotate, flip
  • UFileWebcamButton: drop down menu for choose the working regime: scan to PDF or scan to Picture, scan to PDF: save one or more images to the PDF file, also added ability to edit images after shoot by UCrop editor

Changed #

5.19.5 2021-03-03 #
  • client-side locales reformatted to use a json. Auth page now inject /models/ub-pub/locale/lang-${conn.preferredLocale}.json instead of js.
  • replaceShowList: pass hideActions property to UTableEntity instead of build scopedSlots with empty div for it
  • UTableEntity showSummary action changes:
    • column.attribute.id used instead of column.attribute.code - this allows calc a summary for attributes with dots, like itemID.price
    • allow specifying aggregation function for columns using column.summaryAggregationOperator property - one of 'SUM'|'MIN'|'MAX'|'AVG'|null. By default SUM type is specified for Number columns
    • exporting table to Excel takes into account summaryAggregationOperator for columns
    • summary can be explicitly disabled by sets column.summaryAggregationOperator to null. Example:
<template>
<u-table-entity
  entity-name="shop_OrderItem"
  :columns="columns"
</template>
<script>
export default {
  data () {
    return {
      columns: [
        'ID',
        {
          id: 'price',
          summaryAggregationOperator: 'MIN'
        },
        {
          id: 'orderID.version',
          summaryAggregationOperator: null
        }
      ]
    }
  }
</script>

Fixed #

5.19.5 2021-03-03 #
  • UTableEntity - fix logic for alternate names for hide-actions property for copy and link
  • replaceShowList: pass object properties to a column only if it is defined. Its prevent a bug when column sortable and filters properties is not defined in UTable
  • UTableEntity: allow refreshing an edited row for tables what based on the UBQL with sub-queries
  • USelectEntity: loading display value waits for another loading display value operation for the same control, if it not completed yet, this prevents parallelism bugs, which happens if value of the same control change several times fast enough
  • prevent exception in case client localisation of ub-pub model not found for user preferred language.
  • replaceShowList: fixed incorrect display of the UTableEntity columns header received from the cache
  • "@popperjs/core" version locked to "~2.8.6" - there is unexpected behavior in 2.9.0 (in dev mode)
  • UFile: disable webcam capture button if control is disabled or webcam not available

@unitybase/ub-pub #

Added #

5.8.3 2021-03-03 #
  • UB.xhr.defaults property added - direct access to the default HTTP parameters for xhr. Can be used, for example, to change http request timeout globally:
const UB = require('@unitybase/ub-pub')
UB.xhr.defaults.timeout = 300000 // set all ajax requests timeout to 5 minutes

Changed #

5.8.3 2021-03-03 #
  • client side locales reformatted into JSON
  • BREAKING - for custom authentication pages what use ub-pub localization lang-??.json must be injected instead of lang-??.js
UB.get(`/models/ub-pub/locale/lang-${conn.preferredLocale}.json`).then(resp => {
  UB.i18nExtend(resp.data)
}).catch(e => {console.error(e)})

@unitybase/cdn #

Changed #

5.19.5 2021-03-03 #
  • client side locales reformatted into JSON

Fixed #

5.19.5 2021-03-03 #
  • copy classifier item on the form of classifier

@unitybase/cs-shared #

Added #

5.5.19 2021-03-03 #
  • LocalDataStore.doFiltration accept a 3d optional argument skipSubQueries. If explicitly set to true, then subquery conditions are skipped (instead of throws)

@unitybase/org #

Changed #

5.19.5 2021-03-03 #
  • client side locales reformatted into JSON
  • server-side locales reformatted into JSON

@unitybase/adminui-pub #

Added #

5.19.5 2021-03-03 #
  • Checking uiSettings.adminUI.disableScanner config property in BasePanel. If it's set as true, then scan button would not show in form

Changed #

5.19.5 2021-03-03 #
  • client-side locales reformatted to use a json

@unitybase/ub #

Added #

5.19.4 2021-03-03 #
  • new ubConfig property uiSettings.adminUI.disableScanner- disable a scanner related functionality if true.
  • new property Session.pendingUserName - a username for authentication in pending state. Used for security audit to log a username in case session is not created yet

Changed #

5.19.4 2021-03-03 #
  • allLocales endpoint (client-side localization download) supports JSON files in /public/lang-??.json. Content of such files are wrapped into UB.i18nExtend(....) before passing to client.

This allows using automation tools for preparing other language's localization.

  • server-side localization automatically loads a JSON files from models serverLocale folder. Naming convention is - *-??.json where ?? is a language code. Such convention allows creating of a model with serverLocale folder contains localization to the new language for all other models, for example model for zz language zz-locale with serverLocale/cdn-zz.json, serverLocale/org-zz.json etc.

    It's recommended to split existed serverLocale/*.js into several JSON and remove a require('./serverLocale/*.js') form model initialization using instruction below (remove locales you do not need from touch, replace modelName by lowercased name of your model ):

    cd serverLocale
    touch modelName_sl-en.json modelName_sl-ru.json modelName_sl-uk.json modelName_sl-az.json modelName_sl-id.json modelName_sl-ka.json modelName_sl-tg.json modelName_sl-ky.json
    git add ./*.json
    // for each language move content of the js locale for individual language into modelName-??.json (without language identifier)
    // Use WebStorm 'Fix all JSON problems' action to add a double quoters in new lang files  
    // remove require('./serverLocale/nameOfLocaleFile.js') from initModel.js
    git rm ./serverLocale/nameOfLocaleFile.js
    

@unitybase/uba #

Added #

5.19.4 2021-03-03 #
  • advanced security check failures will be logged into uba_audit (throws UB.ESecurityException instead of Error)

Changed #

5.19.4 2021-03-03 #
  • client side locales reformatted into JSON

@unitybase/ubm #

Changed #

5.19.4 2021-03-03 #
  • client side locales reformatted into JSON

Removed #

5.19.4 2021-03-03 #
  • i18n for FR related scanner (recognition) settings is remover (FR not used anymore)

@unitybase/ubs #

Changed #

5.19.4 2021-03-03 #
  • client side locales reformatted into JSON

@unitybase/udisk #

Changed #

5.19.4 2021-03-03 #
  • client side locales reformatted into JSON
  • server-side locales reformatted into JSON