@unitybase/adminui-vue #
Added #
5.22.2 2022-01-24 #
UDropdown
:customClass
prop added - allows set a custom CSS class for u-dropdownUTableEntity
store: new mutationCLEAR_FILTER
allows clear current filters set
5.22.1 2022-01-14 #
- new icons:
u-icon-view-versions
andu-icon-create-version
- processing module now have
LOAD_COLLECTION_DATA
mutation, which contains logic similar toLOAD_DATA
, but for a collection item
5.22.0 2022-01-09 #
USidebar
: show shortcut description as a hint
Changed #
5.22.2 2022-01-24 #
UTableEntity
filtration improved - now allows set several filters at ones
5.22.1 2022-01-14 #
UButton.type
property validator accept only 'submit', 'reset', 'button' according to "type" property doc on MDN Before this fix any value is accepted, and in case developer pass something non-valid, button type is changed tosubmit
(by HTML), so such button react onEnter
keypress
Fixed #
5.22.1 2022-01-14 #
- Vue forms, now after saving collection items, state is changes in vuex store using
the new
LOAD_COLLECTION_DATA
mutation, instead ofLOAD_COLLECTION_PARTIAL
, which is consistent with approach for master entity instance and fixes problem with localized attributes, which saved values were not returned from server, because they are not in thefieldList
, and form remains dirty UDropdown
: popper now hides when tab is closing (for example user click on filter or sort button and close form tab) [UBDF-14766]
5.22.0 2022-01-09 #
UTableEntity
: click on thesort
button on the toolbar raised an error in case table column has been already selected to sort table rowsUSelectEntity
will render options list withkey = ID || valueAttribute
, this prevents rendering errors with duplicate keys whenvalueAttribute
is astring
. If option does not contain anID
, then thevalueAttribute
will be the key.
@unitybase/adminui-pub #
Added #
5.22.0 2022-01-09 #
UBStoreManager
: adddescription
to the shortcut attributes
Changed #
5.22.0 2022-01-09 #
UB.ux.Multifilter
: for composite attributes infieldList
without flagsimpleFilter: true
, build filter based on the full attribute name instead of its first part- allow use non-numeric instanceID in doCommand (string for example)
@unitybase/cdn #
Changed #
5.22.2 2022-01-24 #
- attribute
cdn_person.photo
usesavatars
BLOB store instead of default to store a person photo. Previously uploaded photos still be available from default store.
@unitybase/cs-shared #
Added #
5.22.0 2022-01-09 #
Repository
andDataStore
now supports use a replicated read-only database connection for running a'select'
queries:Repository.misc({__useReplica: true})
andDataStore.runSQL(query, params, useReplica=false)
In casereplicatedAs
parameter is defined for entity connection (EE edition only) server will choose replica, for SE or in case there is no replica for connection parameter is ignored.
Fixed #
5.22.1 2022-01-14 #
-
fix local sorting (
formatByPattern.collationCompare
):- for Dates: takes into account what Date's must be compared using
Date.getTime()
- empty values (null, undefined) is always less when any over
For end user this mean valid sorting of cached data stores.
- for Dates: takes into account what Date's must be compared using
5.22.0 2022-01-09 #
formatByPattern.collationCompare
now uses valid language in case@unitybase/cs-shared
module is loaded twice (prevent resetsglobal._collator
if already defined)
@unitybase/ub-pub #
Added #
5.22.0 2022-01-09 #
UBConnection
will handle a403 Forbidden
server-side error response and raise a UB.UBAbort message instead ofInternalServerError
. This response occurs when a user tries to retrieve data from the server but fails the server's data access validation with status code 403.- translation for
ubErrAnotherSessionExists
error message for single session violation ifsecurity.userSessionMode: "Singleton"
in config
Fixed #
5.22.0 2022-01-09 #
- nodeJS compatibility: transport.js, account that
readystatechange
event might be raised after "done" state Thexmlhttprequest
module, which used in NodeJS environment, in case of errors, such as socket closed, might firereadystatechange
with state "DONE" (4) twice. - Allow pass
{timeout: 0}
to xhr - prevent overriding 0 value with default timeout
@unitybase/ub #
Added #
5.22.25 2022-01-24 #
- '*.meta': added env variable macros support for entity and attribute level mapping with the same syntax as
in ubConfig -
%ENV||default%
. Example:
"name": "my_entity",
"connection": "NON-UB_MAIN",
"attributes": [{
"name": "myAttr",
"mapping": [
{
"name": "Oracle",
"expression": "%UB_MAIN_USER||myuser%.C_ID"
}
]
}],
"mapping": [
{
"name": "Oracle",
"selectName": "%UB_MAIN_USER%.ubs_message",
"execName": "ubs_message"
}
]
Can be used for cross-schema mappings, when entity connection not match actual table schema.
5.22.24 2022-01-14 #
- new method
DataStore.setColumnName(columnIdx, newColumnName)
(require UB@5.22.2). allow set name for column to be used during serializing DataStore into JSON or response
// change column name in HTTP response for select method
entity.on('select:after', ctx => {
const ccIdx = ctx.mParams.fieldList.indexOf('category.code')
if (ccIdx !== -1) {
ctx.dataStore.setColumnName(ccIdx, 'categoryCode')
}
// change column name in HTTP response for custom method
entity.customSelect = function (ctx) {
UB.Repository('tst_document').attrs('ID', 'category.code').limit(10).select(ctx.dataStore)
ctx.dataStore.setColumnName(1, 'categoryCode')
// caller got categoryCode instead of category.code
// change column name for custom SQL
store = new UB.DataStore('my_entity')
store.runSQL('select 1 from dual', {})
store.setColumnName(0, 'dummy')
const obj = store.getAsJsObject() // obj will be [{dummy: 1}]
allLocales
inincludeDomain
mode (called as/allLocales?lang=LL&includeDomain=1
) endpoint now includes localizations fordescription
anddocumentation
of all entities and attributes. That allows using the following constructs inub-migrate
:- bpm_TaskClass: description: {$i18n: bpm_TaskClass#description}
i18n
from @unitybase/ub-pub
also can localize such attrs UB.i18n('bpm_TaskClass#description')
but uses info from domain (more efficient)
@unitybase/uba #
Added #
5.22.0 2022-01-09 #
- new ubConfig security parameter
security.userSessionMode
- allows control user sessions creation(require UB 5.22). Possible values:Multiple
: allow multiple concurrent sessions for the same user (default, the same behavior as before UB 5.22)Displacing
: each new session displace all older sessions for the same user. If older sessions exists - logs intouba_audit
with actionType=SECURITY_VIOLATION and textexisted sessions are displaced
Singleton
: throws in case user is already logged in. Logs intouba_audit
with actionType=SECURITY_VIOLATION and textubErrAnotherSessionExists
, UI shows errorAccess deny. User is already logged in, may be from another browser tab or another computer
WARNING - values other whenMultiple
should be used only on instances what works with end users (clients are browsers)
- new method
App.getUserSessionsCount
- new entity
uba_session
: virtual entity what allows Supervisor view list of the active sessions and remove sessions ; Corresponding shortcut isAdministrative->Security->Users Sessions
- added index by
uba_subject.code
DialogTable.vue
- it is multiselection table in dialog window. Is based onU-Table
Changed #
5.22.0 2022-01-09 #
uba_als-fm.vue
- made new form. Implemented editing of a role that already exists. Task- English (en) localization for desktop description: the words are capitalized according to English rules for captions
- audit trail form will show changes for all mixin-attributes (mi_dateFrom, mi_dateTo and others).
Before this fix, only mi_wfState attribute was displayed. After this only attributes, added by
mStorage
mixin are omitted. en
localization of the caption ofuba_usergroup
entity:User Groups
=>User Group Membership
. The change is made in order to avoid duplication -User Groups
caption is already used byuba_group
entity.
@unitybase/ubcli #
Added #
5.22.0 2022-01-09 #
- Oracle:
ubcli initDB
will createGRANT EXECUTE ON CTXSYS.CTX_DDL
(catalogue indexes) ubcli generateDDL
: added support forCOLUMNSTORE
indexes for SQL Server in casedbExtension.type = 'COLUMNSTORE'
in meta file
Changed #
5.22.2 2022-01-24 #
ubcli generateNginxCfg
: TLS protocols changed- TLSv1.3 is added to the available TLS protocols, since iOS 15 reject andy older TLS version
- TLSv1.0 is REMOVED from available protocols (deprecated in 2008 and MUST NOT be used)
Fixed #
5.22.0 2022-01-09 #
- BREAKING Oracle:
ubcli initDB
will create user with grants for DDL statements ONLY in current schema. For security reasons ANY grantsGRANT ALTER ANY *
andGRANT CREATE ANY *
are removed.
@unitybase/ubs #
Added #
5.22.0 2022-01-09 #
- added "Loading.." mask during exports report to XLSX