ub-server #
Added #
5.22.22 2022-11-30 #
App.els
can accept optional 3d parameterrolesIDs: Array<number>
- if passed - these roles are used to calculate access rightsub-pack
script: added--prefer-offline
parameter fornpm ci
- this should speed up packing process- new method
store.runWithResult('method', {param1, paramN})
- the same asstore.run
, but params, passed to method is returned as a result (and therefore slower). WARNING - recommended way to create a server-side method what should return a result and can be called from both server-side and client-side is to create TWO function - one for server-side usage, and a wrapper for client-side usage:// this is function for server-side usage tst_entity.multiplyInternal = function (a, b) { return a * b } // and this is how we expose a function for client-side tst_entity.multiply = function(ctx) { const a = ctx.mParams.a; const b = ctx.mParams.b; ctx.mParams.multiplyResult = tst_entity.multiplyInternal(a, b) } tst_entity.entity.addMethod('multiply')
5.22.21 2022-11-04 #
- added support for
libldap-2.5-0
(ldap library for Ubuntu 22.04)
5.22.20 2022-11-03 #
ub-server.deb
package - added support for libicu70 (Ubuntu 22.04)- in case of unhandled error in
launchEndpoint
(after transaction is rolled back) and if exception is not about security, server will callApp.transformUnhandledError
function what can transform exception text. Require @unitybase/ub@5.24
Fixed #
5.22.22 2022-11-30 #
- server-side
App.domainInfo
will be created usingroot
instead ofadmin
, so even if some existed entity methods are not allowed toadmin
, it will be visible in extended domain info ubList.WriteToJSON
will wrote BLOB value as string "(BLOB)" instead of 'UNKNOWN' (w/o quotes). This fix audit trail for entities with attributes of type Blob, for exampleuba_userCertificate
5.22.21 2022-11-04 #
- fix potential AV in case
DataStore.setColumnName
is called with column index === columns count (columns array indexes starts from 0, so last column is columnCount-1) DataStore.initialize()
&&DataStore.initFromJSON
(deprecated) will setDataStore.rowCount
property to passed JSON record count. Before this fix property remains untouched ( equal to -1 if this is first store operation, or to result of previous select/insert/update)- prevents AV for
select
execution over entities with ALS mixin in case select overrides in JS withpreventDefault()
@unitybase/adminui-vue #
Added #
5.23.30 2022-11-24 #
UFileScanButton.vue
added translation for scan window titleportal:loader
event, which shall be set or remove global loader (overlay) over UI, so that user won't trigger action in the process loading, for example, big components over a poor network connection. Usage pattern is the following:try { $App.fireEvent('portal:loader', { text: 'portal.loader.form', show: true }) // Do action which takes long. Await for it, if just return unresolved promise, the "finally" block execute // before action finish } finally { // ALWAYS use try-finally to avoid loading overlay hanging in case of errors $App.fireEvent('portal:loader', { text: 'portal.loader.form', show: false }) }
5.23.27 2022-11-08 #
- new optional property
exportFormula
is added intoUTableColumn
definition. Excel exporter uses it to insert a formula into a xls, HTML exporter - to add additional element in html during exporting
5.23.26 2022-11-03 #
- new icon:
u-icon-doc-ocr
Changed #
5.23.29 2022-11-17 #
USidebar
(left side app menu): text "Menu" is replaced by divider; This made menu more compact + fix issue when localized text for "Menu" do not fit sidebar width is sidebar is collapsed
5.23.28 2022-11-16 #
UFormContainer
- native browser validation is disabled by addingnovalidate
parameter for inner<form>
. This prevents unexpected browser hint, for examplePlease Fill Out this Field
on inputs withrequired
attribute
5.23.27 2022-11-08 #
- Notifications widget: delay initial messages loading to allow other UI parts (sidebar menu, etc.) to be loaded ASAP, otherwise UBConnection can buffer this request with, for example, ubm_navshortcut
Fixed #
5.23.31 2022-11-24 #
portal:loader
: fix not clearing timeouts, which led to handed loader in some cases
5.23.27 2022-11-08 #
- Icon
uF00D-book-alt
- remove usage offill-rule
, which is not supported, when incorporate svg to font
5.23.26 2022-11-03 #
- Icon
uF00D-book-alt
- optimized svg (remove "fill" as recommended in icon's README.md) - fixed incorrect TAB button behavior in some cases:
v-hold-focus
directive will skip hidden HTMl elements
@unitybase/adminui-pub #
Added #
5.24.16 2022-11-24 #
- Notify $App about form script loading start/end using
portal:loader
event, so that portal might display or hide loader
Changed #
5.24.14 2022-11-08 #
- allow browser context menu on
input
andtextarea
elements. This allows, for example, to copy/paste text using build-in popup menu on both desktop ant mobile
@unitybase/cdn #
Changed #
5.23.24 2022-11-03 #
cdn_currency.setDescriptionAttribute
- removing empty description attribute for prevent duplication attributes on insertcdn_country
- updated dictionary with new countries and phone codes
Removed #
5.23.28 2022-11-16 #
_initialData/*_call_migrate.js
is removed -ubcli initialize
call migrate programmatically
Fixed #
5.23.27 2022-11-09 #
- cdn_country migration added in 5.23.24 will skip new counties insertion on fails - most likely dictionary is edited by hands
5.23.26 2022-11-08 #
- fix unsuccessful cdn_country migration by updating code = symbol3 before adding new countries, because some customers have code column equal to ID
@unitybase/logview #
Added #
1.0.7 2022-11-03 #
- added parsing of UB logs exported from journald log files using commands like (important params are: --no-hostname -o short-iso-precise _COMM=ub)
journalctl -u unitybase@NAME_OF_APP --no-hostname -o short-iso-precise --since today _COMM=ub > todaysLog.log
@unitybase/org #
Added #
5.23.33 2022-11-24 #
org_execgroup
form: ability to add to the group all members of selected organization/department
5.23.32 2022-11-17 #
- add localization
ubs_settins.org.organization.OKPORequired
to_data/locale
Removed #
5.23.32 2022-11-17 #
- remove localization
ubs_settins.org.organization.OKPORequired
from_initialData/locale
5.23.31 2022-11-16 #
_initialData/*_call_migrate.js
is removed -ubcli initialize
call migrate programmatically
@unitybase/ub-pub #
Added #
5.23.12 2022-11-03 #
- for Postgres and SQL Server values what violates an uniq constraint will be added into <<<VALUE_MUST_BE_UNIQUE>>> exception. This feature is implemented for ub@5.22.20, for ub<5.22.20 old behavior is applied
Changed #
5.23.13 2022-11-24 #
- password changing tip:
You can use digits, latin characters and symbols
replaced withYou can use digits, characters and symbols
(latin removed)
@unitybase/ub #
Fixed #
5.24.2 2022-11-16 #
- aclRls - remove from details of the main entity
5.24.1 2022-11-08 #
@unitybase/ub
model initialization will reset internalApp.domainInfo
cache afterdomainIsLoaded
. This force adding methods, added byentity.addMethod
intoApp.domainInfo.entities['...'].entityMethods
after all models are initialized
@unitybase/uba #
Added #
5.23.25 2022-11-16 #
- new method
uba_els.getRolesAccessRights
- used by access rights report to get methods accessibility for specified roles - new shortcut
Studio->Developer Tools->Permission Analyse
for check how ELS rules is applied for specified set of roles require UB@5.22.22 (3d parameter in App.els)
Changed #
5.23.26 2022-11-24 #
- password changing tip:
You can use digits, latin characters and symbols
replaced withYou can use digits, characters and symbols
(latin removed)
Removed #
5.23.25 2022-11-16 #
_initialData/*_call_migrate.js
is removed -ubcli initialize
call migrate programmatically
Fixed #
5.23.25 2022-11-16 #
uba_role.caption
foren
fixed to be in plural
@unitybase/ubcli #
Added #
5.24.0 2022-11-16 #
ubcli initialize
now callmigrate
programatically (the same as command lineubcli migrate
). It's strongly recommended to remove_initialData/*_callMigrate.js
from models folders
5.23.22 2022-11-03 #
ubcli generateDDL
for MS SQL Server will skip FULLTEXT INDEX creation in case FULLTEXT is not installed for DB instance, for example official SQL Server docker image comes without FTS
Fixed #
5.23.23 2022-11-08 #
- generateDDL: use order for drop policy SQL, so that policy drop happen before column drop to avoid error because policy depends on a removed column
@unitybase/ubm #
Removed #
5.23.28 2022-11-16 #
_initialData/*_call_migrate.js
is removed -ubcli initialize
call migrate programmatically
@unitybase/ubq #
Removed #
5.23.29 2022-11-16 #
_initialData/*_call_migrate.js
is removed -ubcli initialize
call migrate programmatically
Fixed #
5.23.27 2022-11-03 #
ubq_runstat
- Ukrainian localization improved for appName & schedulerName attributes
@unitybase/ubs #
Removed #
5.23.26 2022-11-16 #
_initialData/*_call_migrate.js
is removed -ubcli initialize
call migrate programmatically
Fixed #
5.23.27 2022-11-24 #
- i18n for UK
'Невдачний вхід
->Невдалий вхід
@unitybase/udisk #
Removed #
5.23.21 2022-11-16 #
_initialData/*_call_migrate.js
is removed -ubcli initialize
call migrate programmatically