ub-server #

Fixed #

5.22.17 2022-09-23 #
  • MS SQL Server: fix many attribute caption truncation for expressions manyAttr.caption. On SQL Server expression cast to varchar without length works as cast(caption as varchar(30)). This fix generates cast(caption as varchar(2000)) instead of cast(caption as varchar)
  • addNew method: prevents strings from being converted to numbers if the string contains only digits
 await UB.connection.addNewAsObject({
   entity: 'uba_user',
   fieldList: ['ID', 'name'],
   execParams: {name: '22'}
 })
 // before fix: Object { ID: 335996451454977, name: 22 }
 // after  fix: Object { ID: 335996451454977, name: "22" }

@unitybase/adminui-vue #

Added #

5.23.21 2022-09-30 #
  • UMasterDetailView - now supports a new property hideViewModes. It allows hiding some default view modes in the toolbar dropdown menu, such as: table, card, previewForm.
5.23.20 2022-09-26 #
  • UFileInput - new property maxFileSizeKb to set limit of uploaded file size (in Kb)
  • UCheckbox - added v-on="$listeners" for checkbox label
  • UDropdown - added documentation for public methods show() and close()
  • UCron: new prop verbalize-fn - function, what transform cron expression into human-readable string. Default is $App.verbaliseCronExpression
5.23.18 2022-09-11 #
  • USelectEntity, USelectMultiple: the placeholder-no-i18n prop to not localize the placeholder prop
  • UFormRow: the label-no-i18n prop to not localize the label prop
  • UCheckbox - added default slot - allows insert some content inside a checkbox label
5.23.17 2022-09-02 #
  • UTableEntity: filter notIsNull to get not empty attribute values

Changed #

5.23.21 2022-09-30 #
  • UFileInput - validation notification set duration to 30 seconds
  • UCodeMirror - el-tooltip component replaced by HTML title attribute; decreased tooltip icon size
  • @unitybase/adminui-vue package now can be used in projects without UB server (example is logview project) - fixes are done in fonts and css`s loading
5.23.20 2022-09-26 #
  • UCron - improved localization for uk, ru & de (cases are taken into account)
5.23.18 2022-09-11 #
  • UToolbar: button definitions passed in the toolbarButtons prop may override not only the buttons on the main panel, but the buttons from the dropdown menu as well.
  • UAutoField: the forceCmp prop accepts Object type values alongside String. This extension is required because locally registered components (i.e. application custom components) cannot be passed as a forceCmp by name.
  • UCron - rewrite:
    • added non-standard 7-part cron expression syntax, where last seven field @n mean - fires on every n occurrence
    • added "Estimated executions" - first 5 dates what match cron expression. Uses server-side ubq_scheduler.estimateCronSchedule method (if available)
    • added two-way binding support
    • added hints for cron expression fields of Expresion
    • correct implementation of step modifier - allow construct field like 1-10/3, 3,4,5,6/2 etc.
    • BREAKING UCron do no longer emits change event with expression + it's explanation. $App.verbaliseCronExpression(value) should be used to get expression explanation.

Removed #

5.23.21 2022-09-30 #
  • removed unneeded files from /dist/fonts/fa/css: fontawesome.min.css, regular.min.css, solid.min.css and v4-shims.min.css - all these files already bundled into fa-all4ub.min.css
  • fontawesome - removed unnecessary fallbacks from woff2 to woff ttf and svg - woff2 is supported by all browsers

Fixed #

5.23.21 2022-09-30 #
  • UDropdown, UNavbar - fixed view on horizontal screens (mainly mobile)
  • UTableEntityRoot - fixed table layout with sidebar on small screen. Sidebar placed on top of the table
  • UMasterDetailView - fixed table layout with preview-mode on small screen. Preview box placed on top of the table
5.23.20 2022-09-26 #
  • filters isNull and notIsNull - localised description
  • UToolbar: enable dropdown if there are slots dropdown or dropdown-prepend
5.23.19 2022-09-12 #
  • u-body.css - set the maximum width for the dropdown element to the width of the screen - - mostly for mobile devices
  • UCron: fixed localization and 2-way binding
5.23.17 2022-09-02 #
  • all modal dialogs max width now limited screen width - mostly for mobile devices
  • desktop selection popup on mobile moved closer to the left of screen
  • added styles for datepicker on mobile device to fit it into small screen
  • fixed popup positioning for sub-menu on mobile devices
  • buttons openInApp and copyFileLink are set to 'disabled' if action cannot be performed due to non-WebDAV environment

@unitybase/adminui-pub #

Added #

5.24.6 2022-09-11 #
  • $App.verbaliseCronExpression - added support for non-standard 7-part cron expression syntax, where last field @occurrence mean - fires on every x occurrence. Example: 0 0 1 * * 1 @2 = At 01:00 AM, only on Monday, once per 2 occurrence (every second Monday)
5.24.5 2022-09-02 #
  • BaePanel.loadInstance: return promise, resolved to select result, instead of undefined
5.24.4 2022-09-01 #
  • EntityGridPanel: allow to open form from EntityGridPanel in non-modal mode even in case base form have a parent (by passing isModal: false into form opening config)
  • EntityGridPanel: do not disable grid actions (edit, del, showPreview, lock, unLock, itemLink) got grids with recordCount === 0. This fix situation when new record is added into empty grin via smartRefresh but actions for it are still disabled.

Changed #

5.24.6 2022-09-11 #
  • EntityGridPanel: if smartExtGridRefresh is enabled, adding newly added rows are inserted to the beginnigng of the grid instead of appending to the end. This improve UX

Fixed #

5.24.6 2022-09-11 #
  • $App.scan(): fix zIndex of dialogs in case some ElementUI dialog is already active
5.24.5 2022-09-02 #
  • EntityGridPanel isModal 5.24.4 regression

@unitybase/logview #

Added #

1.0.1 2022-09-26 #
  • initial release. Limited to file based logging (journald and docker are in plans)

Changed #

1.0.2 2022-09-30 #
  • ULogView moved from UB form into separate component - to be used in standalone app

@unitybase/org #

Added #

5.23.21 2022-09-26 #
  • org_employee: building fullFIO and shortFIO depending on the user language (surname at the beginning or at the end) in case they didn't come from client side

Changed #

5.23.21 2022-09-26 #
  • org_employee: org_employee.userID is sets to NULL before deletion - this allows removing uba_user later
5.23.18 2022-09-01 #
  • org_employee entity: gender attribute set as non-required

Fixed #

5.23.22 2022-09-30 #
  • org_employee: building fullFIO and shortFIO now takes into account parameters with explicitly specified language (i.e. fullFIO_de^). Before the fix such parameters were ignored.
5.23.21 2022-09-26 #
  • updateEmployeeAttributes from org_employee.js: do not try to update not-null attributes of the org_employee entity in case they are null in the uba_user entity
5.23.20 2022-09-12 #
  • fixed sync between multilingual fields of org_employee and non-multilingual fields of uba_user

@unitybase/ub-pub #

Changed #

5.23.9 2022-09-30 #
  • BREAKING await UBCache.createStorage must be called before any UBCache operations. UBConnection.initCache already did it during connection creation, so nothing changed for UBConnection.cache usage

Fixed #

5.23.9 2022-09-30 #
  • fixed application start for Firefox in incognito mode (fallback UBCache to in-memory storage)

@unitybase/uba #

Added #

5.23.18 2022-09-26 #
  • uba_user: building fullName depending on the user language (surname at the beginning or at the end) in case it didn't come from client side

Changed #

5.23.18 2022-09-26 #
  • Navigation shortcut Administration -> Users And Groups -> Users Sessions is moved to Administration -> Maintenance Tools folder

@unitybase/ubcli #

Added #

5.23.16 2022-09-02 #
  • linkStatic command copy existed favicon.ico into cust model (if cust model do not already contains it) and when made a symlink into inetpub. This allows to set custom favicon using UI settings form.

@unitybase/ubm #

Added #

5.23.18 2022-09-02 #
  • UI Settings form: added ability to change application favicon (linkStatic from ubcli@5.23.16 should be executed, what normally happens during application update)

Changed #

5.23.17 2022-09-01 #
  • ubm_desktop, ubm_navshortcut - reorder and remove some unnecessary attributes in grids

@unitybase/ubq #

Added #

5.23.19 2022-09-12 #
  • ubq_scheduler.calculateNextCronTerm - added optional parameter isFirstExecution; In case today is monday, and we need each second (@2) monday, then first occurrence should be today (initialDate should be 00:00:01)
5.23.17 2022-09-11 #
  • new method ubq_scheduler.calculateNextCronTerm - return next cnt execution dates for specified cronExpression; Supports non-standard 7-part cron expression syntax, where last field @occurrence mean - fires on every x occurrence. Example - 0 0 1 * * 1 @2 = At 01:00 AM, only on Monday, once per 2 occurrence (every second Monday)
  • new entity-level method ubq_scheduler.estimateCronSchedule - wrapper for ubq_scheduler.calculateNextCronTerm for client-side execution. Used by UCron to show "Estimated executions"

Fixed #

5.23.18 2022-09-12 #
  • use exactly cron-parser@4.4.0 (last version what uses require) instead of ^4.4.0