@unitybase/adminui-vue #
Added #
5.23.8 2022-07-28 #
- added visualisation for new signature validation attributes (signAlgo, signType, mediaSerial, certificate.certKind)
5.23.6 2022-07-26 #
uiSettingsStorage
: module for storing UI settings. It is recommended to use this module instead of thelocalStorage
. Module is injected intoVue.prototype
as$uiSettings
and exported as@unitybase/adminui-vue
.uiSettings.
// inside vue can be used as this.$uiSettings
// restore some setting
this.videoRatio = this.$uiSettings.get('UFileWebcamButton', 'videoRatio') ?? this.videoRatios[0]
// save setting
this.$uiSettings.put(this.videoRatios[0], 'UFileWebcamButton', 'videoRatio')
// or from adminui-vue exports
const App = require('@unitybase/adminui-vue')
const isCollapsed = App.uiSettings.get('sidebar', 'isCollapsed')
User can clear all settings using User menu
-> Reset GUI Settings
5.23.4 2022-07-14 #
- added compressed bundle for all used FontAwesome CSS's
dist/fonts/fa/css/fa-all4ub.min.css
and use it to generate index page
5.23.3 2022-07-11 #
UAutoField
can accept additional listeners in case it resolves tou-input
(as already done other UAutoField control types)UTableEntity
: ability to hide or replace "Refresh" button, like other buttonsUTableEntity
: addrefresh
method. This method will refresh data in store. It makes it a bit simpler, when control used as the "ref" and instead ofthis.$refs.table.$store.dispatch('refresh')
you can usethis.$refs.table.refresh()
.
5.23.2 2022-07-05 #
UTableEntity
: thetoolbarBeforePagination
slot to append new buttons to toolbar before paginationUFileInput
- added indication of file uploading process using loader icon
Changed #
5.23.6 2022-07-26 #
- Migrate from using the
localStorage
touiSettingsStorage
in appropriate places - Default rendering of boolean columns in
UTableEntity
: use iconu-icon-check
instead ofu-icon-add
, to make it look different from the "Add" action on toolbar. Remove displaying iconu-icon-minus
for negative values - vueJS based form title \ tab title will use
entity.captionSingular
in case form caption is empty. We strongly recommend to add captionSingular for all*.meta
and*.meta.lang
files and keepcaption
inubm_form
empty (simply remove "caption": "..." inpublis/forms/*.ubrow
)
5.23.4 2022-07-14 #
UNavbarUserButton
: replaceel-button
->u-button
for user icon andel-checkbox
->u-checkbox
forKerberosRememberUserMenu
Roboto*
font files is placed into/dist/fonts
for both dev and production builds
5.23.2 2022-07-05 #
UTableEntity
- removed cursor: pointer from table that cannot be editedUToolbar
: for entities with aclRls mixin configured usingsameAs
aclRls editing is not visible
Removed #
5.23.4 2022-07-14 #
- removed deprecated woff, svg, ttf & eof fonts for FontAwesome. Remained woff2 is enough - all modern browsers uses woff2
Fixed #
5.23.8 2022-07-28 #
UMasterDetailView
- clean_unwatchList
correctlyForm
: useentitySchema.captionSingular
if available as default title for form
5.23.7 2022-07-26 #
mountModal
,mountTableEntityAsModal
: remove dialog element from DOM after destroying of Vue instance
5.23.6 2022-07-26 #
UToolbar
: added horizontal autoscroll for small screens
5.23.5 2022-07-21 #
UChart
rewired:@chart-click
handler now works even in case several charts are displayed on page- added date adapter to correctly display time axis (see samples on unitybase.info)
- component now registered by
adminui-vue
, so can be used without require, just<u-chart>....</u-chart>
options
andchartData
properties now NOT reactive (ChartJs is designed for static data. For dynamic data better to used3
)
URadio
- prevent'this' is undefined
error in developer mode (prop validator do not have access to 'this')
5.23.4 2022-07-14 #
USelectMultiple
: regression after allowing the same values fordisplayAttribute
andvalueAttribute
5.23.3 2022-07-11 #
UAutoForm
,aclRls form
- mode v-loading directive above the toolbar, so all form content will be locked while loading. Prevent locking of all opened forms by usev-loading
instead ofv-loading.body
USelectMultiple
: nowdisplayAttribute
may be the same asvalueAttribute
5.23.2 2022-07-05 #
UTableEntity
: title for the delete multiple toolbar button
@unitybase/adminui-pub #
Changed #
5.23.8 2022-07-26 #
- extJS based form title \ tab title will use
entity.captionSingular
in case form caption is empty. We strongly recommend to add captionSingular for all*.meta
and*.meta.lang
files and keepcaption
inubm_form
empty (simply remove "caption": "..." inpublis/forms/*.ubrow
)
5.23.6 2022-07-14 #
- use compiled
/models/adminui-vue/dist/fonts/fa/css/fa-all4ub.min.css
instead of for separate css for FontAwesome
5.23.3 2022-07-05 #
BasePanel
&EntityGridPanel
: for entities with aclRls mixin configured usingsameAs
aclRls editing is not visible
Removed #
5.23.7 2022-07-21 #
- removed obsolete
$App.on('buildMainMenu', ..)
code.buildMainMenu
ExtJS event not fired for a long time,portal:sidebar:defineSlot
andportal:navbar:defineSlot
are used instead
Fixed #
5.23.9 2022-07-26 #
- fixed 5.23.8 regression in EntityGridPanel what cause error
me.domainEntity.mixins is undefined
@unitybase/adminui-reg #
Added #
5.23.8 2022-07-26 #
- added
uiSettings.cspAllow.frameAncestors
rules what controls for what sites our client app can be embedded indo iframe. WARING - @unitybase/ubcli should also be updated andubcli generateNginxCfg
executed to removeadd_header X-Frame-Options sameorigin;
directives in nginx config
Changed #
5.23.8 2022-07-26 #
- accessing to
localhost:8083
andlocalhost:8081
in content security policiesdefault-src
,script-src
connect-src
andobject-src
now allowed only in case some ofiit
Ukraine specific crypto-libraries is used inuiSettings.adminUI.encryptionImplementation
. For instances without IIT these CSP are not added
@unitybase/blob-stores #
Added #
5.23.3 2022-07-11 #
- chunked file upload support (require UB@5.22.11)
Fixed #
5.23.4 2022-07-12 #
- allow chunked file upload for ub 5.22.11 (not 5.22.0011 because of typo in 5.23.3 )
@unitybase/cdn #
Fixed #
5.23.4 2022-07-11 #
city
,classifier
,department
,employee
,organization
,person
,region
forms:- mode v-loading directive above the toolbar, so all form content will be locked while loading
- prevent locking of all opened forms by use
v-loading
instead ofv-loading.body
5.23.3 2022-07-05 #
- Give the "Developer" role full access to the
cdn_classifier
entity
@unitybase/cs-shared #
Added #
5.23.4 2022-07-26 #
- defined new
UBEntity.captionSingular
property; for compatibility in case in i18ncaptionSingular
is empty thencaption
from i18n will be used instead
Fixed #
5.23.3 2022-07-11 #
- patterns registered by
formatByPattern.registerDatePattern
are now listed informatByPattern.datePatterns
. The same is true forformatByPattern.registerNumberPattern
andformatByPattern.numberPatterns
- for unknown pattern names
formatByPattern.getDatePattern
andformatByPattern.getNumberPattern
will returnundefined
instead of empty object{}
@unitybase/org #
Fixed #
5.23.10 2022-07-28 #
- Critical regression typo on
org_emloyeeonstaff
localization
5.23.9 2022-07-28 #
org_employeeonstaff
form:- do not show date_to if year equal 9999
- fixes in 'en' translations
5.23.7 2022-07-26 #
- Synchronization between
uba_user
andorg_employee
now work in 2 ways:- attributes:
- `uba_user.firstName <=> org_employee.firstName'
- `uba_user.lastName <=> org_employee.lastName'
- `uba_user.fullName <=> org_employee.fullFIO'
uba_user
support flag__syncEmployee: false
to skip the syncorg_employee
support flag__syncUser: false
to skip the sync
- attributes:
5.23.4 2022-07-11 #
department
,employee on staff
,execgroup
,profession
,staff unit
,org unit
forms:- mode v-loading directive above the toolbar, so all form content will be locked while loading
- prevent locking of all opened forms by use
v-loading
instead ofv-loading.body
@unitybase/ub-pub #
Added #
5.23.5 2022-07-28 #
- added i18n for new signature validation attributes (signAlgo, signType, mediaSerial, certificate.certKind)
5.23.4 2022-07-26 #
- new property in entity metafile
captionSingular
- an entity caption in singular. If defined it will be used on UI as a form (single row) caption in case form caption is empty (recommended). Require server UB@5.22.12, for versions below 5.22.12captionSingular
is ignored even if defined in meta UB.i18n
can accept#captionSingular
hashtagUB.i18n('uba_audit#captionSingular')
. Ifentity.captionSingular
is defined - returnentity.captionSingular
, else -entity.caption
(the same asUB.i18n('uba_audit')
)
5.23.3 2022-07-11 #
- 'AsyncConnection.setDocument' - can upload large files using chunks.
To activate, chunk size (mb) can be sets in UB config
uiSettings.adminUI.uploadChunkSizeMb
(by default - no chunked upload). Can be set for individualsetDocument
request by passparams.chunkSizeMb
BREAKING - applications what usessetDocument:before
should take care about chunked uploads. - new method
AsyncConnection.setPreferredUData
- store into thelocalStorage
some data, what will be available during next login insideSession.on('login')
asreq.parsedParameters.prefUData
Changed #
5.23.3 2022-07-11 #
- use a global
localStorage
instead of window.localStorage. This allows uselocalStorage
polyfill under nodeJS (for examplenode-localstorage
)
Removed #
5.23.3 2022-07-11 #
CERT
authorization support is remover (in flavor of CERT2)
@unitybase/ub #
Added #
5.23.6 2022-07-26 #
- new property
captionSingular
is added into entity JSON-Schema
5.23.3 2022-07-11 #
"Many" attribute storage entity
: added virtual ID attribute + mStorage mixin to be a subject of DDL generation
5.23.2 2022-07-05 #
- new method
THTTPRequest.appendToFile(fullFilePath, [encoding])
- append request body content (as binary) to existed file (or creates new one). Returntrue
on success. Can be used to bypass moving body content between native<->JS if conversion of the request body is not required. Require UB@5.22.10 - added new method
App.wrapEnterLeaveForUbMethod
for logging method execution with timer and recursion shift - data storage entities for "Many" attributes now added by metadata transformation hook of @unitybase/ub model (instead native server code)
- realisation for mixin what implements ACL RLS is moved from native to JS (@unitybase/ub/mixins/aclRlsStorageMixin.js).
CHANGES
- indexes
IDX_*_IIVI(instanceID, valueID)
are replaced by unique indexesUIDX_*_IIVI(instanceID, valueID)
are added instead audit
mixin now enabled foraclRls
storage and uses main entity asparentIdentifier
, so changes to ACL will be visible in entity changes history- unneeded indexes
UIDX_*_admSubjentity
are removed - complex indexes for subject attributes like
doc_document_acl(ounitid, instanceid, subjid)
are removed, a simple indexes for ref constraint support likedoc_document_acl(ounitid)
are created instead - check constraints about "all onEntity attributes is not null" (CHK_SOMENOTNULL and CHK_NOALLNOTNULL) are removed - this verified by aclRlsStorage mixin
- BREAKING - mixin configuration changed. See https://unitybase.info/api/server-v5/tutorial-entites.html#aclrls---access-control-list-row-level-security
- indexes
- BREAKING entity with aclRsl mixin now MUST have an sqlAlias
Changed #
5.23.2 2022-07-05 #
- Add
TenantUser
built-in role on login of every user, if user is logged in any tenant except the system tenant - improved logging for application initialization:
- wrap blocks in logEnter\logLeave
- all
meta
overrides are logged one-line-per meta file instead of one-line-per-override
Fixed #
5.23.7 2022-07-26 #
- fixed regression for
aclRlsStorage
mixin when entity used from server side asstore.run('insert', {..})
without entity in mParams
5.23.5 2022-07-21 #
RLS
: defaultsubjectIDsFn
function for theaclRls
mixin didn't assign org unit IDs of the current user into result- Logging in
commitBLOBStores
- more consistent and do not output lines for entities without blob attributes.
5.23.2 2022-07-05 #
RLS.allowForAdminOwnerAndAdmTable
uses predefined names for added where conditions. This prevents adding the same conditions several times
@unitybase/uba #
Added #
5.23.7 2022-07-26 #
- localization for server errors in
uba_user
anduba_role
5.23.6 2022-07-21 #
- Localization for server errors in
uba_user
anduba_role
5.23.5 2022-07-12 #
- migration to remove
adm_folder_UI', 'adm_folder_devTools
folders
5.23.3 2022-07-05 #
uba_user
: added username trimming before insert/update. This prevents from creating logins what looks like the same
Changed #
5.23.7 2022-07-26 #
- use key
uba_user_errors.duplicateUserName
instead of 'Duplicate user name (may be in different case)'
5.23.3 2022-07-05 #
- for UB>=5.22.10 migrate hook expect ACL and Many entities HAVE multi-tenancy mixin
- Protected system user accounts from some changes:
- System User accounts are:
root
,admin
andanonymous
(all that are in theuba_common.USERS
)- accounts matching
ubConfig:security.disabledAccounts
regular expressions
- Actions the accounts protected against (action are prohibited except when executed by root):
- update name
- delete account
- System User accounts are:
uba_group
form is rewritten to Vue
Fixed #
5.23.6 2022-07-21 #
uba_group
form fixes:- validation for required fields
- adding user into group in modal window
- fix column name in users table
- auto save new form before adding users into group
5.23.4 2022-07-11 #
getDomainInfo,ubql,rest
are excluded from allowed endpoints forEveryone
role and added forUser
role. Anonymous user should not have asses to these endpointsgroup
,user certificate
forms:- mode v-loading directive above the toolbar, so all form content will be locked while loading
- prevent locking of all opened forms by use
v-loading
instead ofv-loading.body
@unitybase/ubcli #
Changed #
5.23.6 2022-07-26 #
ubcli generateNginxCfg
-add_header X-Frame-Options sameorigin;
directives are removed in flavor ofuiSettings.cspAllow.frameAncestors
content security policy
5.23.3 2022-07-11 #
- DDL for
"Many" attribute storage table
now generated using the same code as for other entities. This allows support for multi-tenancy and other possible future extensions - DDL: prevent create an index on referential column in case this column already used in the first position of some existed (maybe complex) index
- DDL: do not generate comment on column in case it is equal to column name (reduce noise)
5.23.2 2022-07-05 #
ubcli migrate
will disable schedulers in starting server instance. Schedulers execution can break migration process. Feature works for UB@5.22.10 and up.ubcli migrate
for multi-tenant environments: skip virtual tenants (TID in 80..99)
Fixed #
5.23.2 2022-07-05 #
- Fix
ubcli migrate -?
command execution
@unitybase/ubm #
Changed #
5.23.7 2022-07-26 #
- VueJS form template (used when new form is created using UI) -
v-loading="loading"
is moved above the toolbar
Fixed #
5.23.6 2022-07-21 #
- Definition of shortcut
ubm_ui_settings
: set$systemTenantOnly: true
option, so that shortcut won't be created for user tenants, because settings may not be saved per-tenant.
5.23.4 2022-07-11 #
desktop
,shortcut
,query
,sysdictionary
forms:- mode v-loading directive above the toolbar, so all form content will be locked while loading
- prevent locking of all opened forms by use
v-loading
instead ofv-loading.body
5.23.3 2022-07-05 #
umb_navshortcut.update
for non-privileged users now works. Before this fix user got server-side error because RLS conditions added twice - once inselectBeforeUpdate
and once inselectAfterUpdate
[LDOC-2294]
@unitybase/ubq #
Changed #
5.23.3 2022-07-05 #
- Execution schedulers for tenants: skip virtual tenants (TID in 80..99)
Fixed #
5.23.3 2022-07-05 #
- Typo in uk localization of
ubq_runstat
entity caption
@unitybase/ubs #
Added #
5.23.7 2022-07-26 #
Administration
->Maintenance Tools
->Messages
shortcut: added form for viewing message (on double click)
Fixed #
5.23.4 2022-07-11 #
message edit
form:- mode v-loading directive above the toolbar, so all form content will be locked while loading
- prevent locking of all opened forms by use
v-loading
instead ofv-loading.body