@unitybase/adminui-vue #
Added #
5.22.2 2022-01-24 #
UDropdown:customClassprop added - allows set a custom CSS class for u-dropdownUTableEntitystore: new mutationCLEAR_FILTERallows clear current filters set
5.22.1 2022-01-14 #
- new icons:
u-icon-view-versionsandu-icon-create-version - processing module now have
LOAD_COLLECTION_DATAmutation, 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 #
UTableEntityfiltration improved - now allows set several filters at ones
5.22.1 2022-01-14 #
UButton.typeproperty 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 onEnterkeypress
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_DATAmutation, 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 thesortbutton on the toolbar raised an error in case table column has been already selected to sort table rowsUSelectEntitywill render options list withkey = ID || valueAttribute, this prevents rendering errors with duplicate keys whenvalueAttributeis astring. If option does not contain anID, then thevalueAttributewill be the key.
@unitybase/adminui-pub #
Added #
5.22.0 2022-01-09 #
UBStoreManager: adddescriptionto the shortcut attributes
Changed #
5.22.0 2022-01-09 #
UB.ux.Multifilter: for composite attributes infieldListwithout 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.photousesavatarsBLOB 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 #
RepositoryandDataStorenow supports use a replicated read-only database connection for running a'select'queries:Repository.misc({__useReplica: true})andDataStore.runSQL(query, params, useReplica=false)In casereplicatedAsparameter 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.collationComparenow uses valid language in case@unitybase/cs-sharedmodule is loaded twice (prevent resetsglobal._collatorif already defined)
@unitybase/ub-pub #
Added #
5.22.0 2022-01-09 #
UBConnectionwill handle a403 Forbiddenserver-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
ubErrAnotherSessionExistserror message for single session violation ifsecurity.userSessionMode: "Singleton"in config
Fixed #
5.22.0 2022-01-09 #
- nodeJS compatibility: transport.js, account that
readystatechangeevent might be raised after "done" state Thexmlhttprequestmodule, which used in NodeJS environment, in case of errors, such as socket closed, might firereadystatechangewith 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}]
allLocalesinincludeDomainmode (called as/allLocales?lang=LL&includeDomain=1) endpoint now includes localizations fordescriptionanddocumentationof 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_auditwith actionType=SECURITY_VIOLATION and textexisted sessions are displacedSingleton: throws in case user is already logged in. Logs intouba_auditwith actionType=SECURITY_VIOLATION and textubErrAnotherSessionExists, UI shows errorAccess deny. User is already logged in, may be from another browser tab or another computerWARNING - values other whenMultipleshould 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
mStoragemixin are omitted. enlocalization of the caption ofuba_usergroupentity:User Groups=>User Group Membership. The change is made in order to avoid duplication -User Groupscaption is already used byuba_groupentity.
@unitybase/ubcli #
Added #
5.22.0 2022-01-09 #
- Oracle:
ubcli initDBwill createGRANT EXECUTE ON CTXSYS.CTX_DDL(catalogue indexes) ubcli generateDDL: added support forCOLUMNSTOREindexes 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 initDBwill 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
