@unitybase/adminui-vue #

Added #

5.24.25 2024-10-02 #
  • added en-US date picker localization. Used in case application.localization.irregularLangToLocaleMap in ubConfig.json contains {"en": "en-US"} key-value

Changed #

5.24.26 2024-10-28 #
  • URequest2FA.vue and ub-auth.html - changed display condition for secondFactor input element

Removed #

5.24.26 2024-10-28 #
  • map files are removed from published package

@unitybase/adminui-pub #

Fixed #

5.24.101 2024-10-28 #
  • fixed cleaning of filters in the grid that opens from Ext ComboBox
  • add missing tinymce localizations for image tools
5.24.99 2024-10-02 #
  • UBApp: use generateTabId method to generate correct tab ID via direct links and prevent opening second identical tab

@unitybase/blob-stores #

Changed #

5.24.18 2024-10-28 #
  • for FileSystem Blob Stores, when historyDepth parameter is set along with keepOriginalFileNames, a warning is output to the log, on server start up:
    • BLOB store "<blobStoreName>": "historyDepth" is ignored for store with "keepOriginalFileNames"!

Fixed #

5.24.18 2024-10-28 #
  • now BLOB stores without historyDepth parameter will not delete the file, when name, fName and relPath remain the same to prevent file deletion for stores with keepOriginalFileNames set to true

@unitybase/cdn #

Changed #

5.24.27 2024-10-28 #
  • cdn_organization and cdn_corrindex: size for attributes code and OKPOCode increased from 16 to 20 to fit Legal Entity Identifier (LEI)

@unitybase/cs-shared #

Added #

5.24.6 2024-10-02 #
  • UBDomain: added new property description for models. It is taken from the description property of models package.json. For UB server < 5.24.21 property is empty.
  • added new method formatByPattern.addIrregularLangToLocales({lang: locale}) what allow to override default lang -> locale conversion. Called automatically by AsyncConnection and from inside server using value from application.localization.irregularLangToLocaleMap ubConfig section

@unitybase/org #

Changed #

5.24.28 2024-10-28 #
  • org_organization and org_unit: size for attributes code and OKPOCode increased from 16 to 20 to fit Legal Entity Identifier (LEI)

@unitybase/ub #

Added #

5.25.39 2024-10-28 #
  • aclRls mixin: new unique index UIDX_${ENTITY}_VIII(valueID, instanceID) is added in addition to existed UIDX_${ENTITY}_IIVI(instanceID, valueID). New index helps a lot for queries what returns multiple rows (at least on SQL Server). WARNING - new index is big, so require enough free tablespace to be available before migration. Index creation takes several minutes
  • documented new condition property for dbKeys and dbExtension items
5.25.37 2024-10-02 #
  • declarative language to locale: new section in ubConfig.json application.localization.irregularLangToLocaleMap can contain a language to locale transformation rules. For example, by default UB consider en language is en-GB locale, therefore formatByPattern.formatDate('2021-12-30', 'date') returns 30/12/2021 (dd/mm/yy), but if we define "irregularLangToLocaleMap": {"en": "en-US"} in config, the same function will return 12/30/2021 (mm/dd/yy) as in American locale. Prior to these changes, the developer had to use the JS function formatByPattern.setLang2LocaleHook in the model to achieve the same result
  • allLocales endpoint now combine not only /model/locale/lang-${lang}.json files, but also /model/locale/lang-${locale}.json. This allows to define a different localization for different locale, for example by adding locale/lang-en-US.json for US.

Chores #

5.25.38 2024-10-12 #
  • ubConfig.schema.json: improved schema for configuration section security.dstu.iit.additionalKeys

@unitybase/uba #

Added #

5.24.21 2024-10-12 #
  • new optional parameters added for uba_user.changeOtherUserPassword method:
    • @param {boolean} [ctx.mParams.skipOnMatch=false] skip change password in case it match current (to be used in migrations only)
    • @param {boolean} [ctx.mParams.newerExpire=false] set lastChangeDate to infinity, so password newer expire

Changed #

5.24.22 2024-10-28 #
  • ubs_settings.UBA.passwordPolicy.maxDurationDays: description changed - for "unlimited" password duration better to set 36000 days instead of 0 (in case of 0 "used must change password on first login" not work)

@unitybase/ubcli #

Added #

5.25.45 2024-10-28 #
  • DDL generator: added support for conditional indexes. In case new attributes condition in entity metadata dbKey.field.condition, dbExtension.condition and dbExtension.field.condition contains an expression, it will be evaluated, and index/index field is added only in case evaluation result is true. Conditional index example:
  "PIDX_DOC_DOCUMENT_NEW": {
    "type": "INDEX",
    "description": "partial index for NEW documents",
    "definition": {
      "keys": {
        "borderUnitID": {
          "condition": "UB_CONFIG.application.customSettings.multiDepartment===true",
          "sort": "ASC"
        },
        "mi_wfState": {
          "sort": "ASC"
        }
      },
      "filter": "(mi_wfState = 'NEW')"
    }
  },
  "IDX_DOC_REGDATE": {
    "type": "INDEX",
    "description": "index by date in case not multi-border",
    "condition": "UB_CONFIG.application.customSettings.multiDepartment===true",
    "definition": {
      "keys": {
        "regDate": {}
      }
    }
  }

Fixed #

5.25.43 2024-10-02 #
  • ubcli generateNginxCfg: generated config now contains fix for nginx mime.types what not including .mjs extension. In case of multiple UB servers may produce warning during nginx -T, but still works