@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.prototypeas$uiSettingsand 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.cssand use it to generate index page
5.23.3 2022-07-11 #
UAutoFieldcan 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: addrefreshmethod. 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: thetoolbarBeforePaginationslot 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
localStoragetouiSettingsStoragein appropriate places - Default rendering of boolean columns in
UTableEntity: use iconu-icon-checkinstead ofu-icon-add, to make it look different from the "Add" action on toolbar. Remove displaying iconu-icon-minusfor negative values - vueJS based form title \ tab title will use
entity.captionSingularin case form caption is empty. We strongly recommend to add captionSingular for all*.metaand*.meta.langfiles and keepcaptioninubm_formempty (simply remove "caption": "..." inpublis/forms/*.ubrow)
5.23.4 2022-07-14 #
UNavbarUserButton: replaceel-button->u-buttonfor user icon andel-checkbox->u-checkboxforKerberosRememberUserMenuRoboto*font files is placed into/dist/fontsfor 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 usingsameAsaclRls 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_unwatchListcorrectlyForm: useentitySchema.captionSingularif 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 #
UChartrewired:@chart-clickhandler 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> optionsandchartDataproperties now NOT reactive (ChartJs is designed for static data. For dynamic data better to used3)
URadio- prevent'this' is undefinederror in developer mode (prop validator do not have access to 'this')
5.23.4 2022-07-14 #
USelectMultiple: regression after allowing the same values fordisplayAttributeandvalueAttribute
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-loadinginstead ofv-loading.bodyUSelectMultiple: nowdisplayAttributemay 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.captionSingularin case form caption is empty. We strongly recommend to add captionSingular for all*.metaand*.meta.langfiles and keepcaptioninubm_formempty (simply remove "caption": "..." inpublis/forms/*.ubrow)
5.23.6 2022-07-14 #
- use compiled
/models/adminui-vue/dist/fonts/fa/css/fa-all4ub.min.cssinstead of for separate css for FontAwesome
5.23.3 2022-07-05 #
BasePanel&EntityGridPanel: for entities with aclRls mixin configured usingsameAsaclRls editing is not visible
Removed #
5.23.7 2022-07-21 #
- removed obsolete
$App.on('buildMainMenu', ..)code.buildMainMenuExtJS event not fired for a long time,portal:sidebar:defineSlotandportal:navbar:defineSlotare 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.frameAncestorsrules what controls for what sites our client app can be embedded indo iframe. WARING - @unitybase/ubcli should also be updated andubcli generateNginxCfgexecuted to removeadd_header X-Frame-Options sameorigin;directives in nginx config
Changed #
5.23.8 2022-07-26 #
- accessing to
localhost:8083andlocalhost:8081in content security policiesdefault-src,script-srcconnect-srcandobject-srcnow allowed only in case some ofiitUkraine 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,regionforms:- 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-loadinginstead ofv-loading.body
5.23.3 2022-07-05 #
- Give the "Developer" role full access to the
cdn_classifierentity
@unitybase/cs-shared #
Added #
5.23.4 2022-07-26 #
- defined new
UBEntity.captionSingularproperty; for compatibility in case in i18ncaptionSingularis empty thencaptionfrom i18n will be used instead
Fixed #
5.23.3 2022-07-11 #
- patterns registered by
formatByPattern.registerDatePatternare now listed informatByPattern.datePatterns. The same is true forformatByPattern.registerNumberPatternandformatByPattern.numberPatterns - for unknown pattern names
formatByPattern.getDatePatternandformatByPattern.getNumberPatternwill returnundefinedinstead of empty object{}
@unitybase/org #
Fixed #
5.23.10 2022-07-28 #
- Critical regression typo on
org_emloyeeonstafflocalization
5.23.9 2022-07-28 #
org_employeeonstaffform:- do not show date_to if year equal 9999
- fixes in 'en' translations
5.23.7 2022-07-26 #
- Synchronization between
uba_userandorg_employeenow work in 2 ways:- attributes:
- `uba_user.firstName <=> org_employee.firstName'
- `uba_user.lastName <=> org_employee.lastName'
- `uba_user.fullName <=> org_employee.fullFIO'
uba_usersupport flag__syncEmployee: falseto skip the syncorg_employeesupport flag__syncUser: falseto skip the sync
- attributes:
5.23.4 2022-07-11 #
department,employee on staff,execgroup,profession,staff unit,org unitforms:- 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-loadinginstead 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.12captionSingularis ignored even if defined in meta UB.i18ncan accept#captionSingularhashtagUB.i18n('uba_audit#captionSingular'). Ifentity.captionSingularis 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 individualsetDocumentrequest by passparams.chunkSizeMbBREAKING - applications what usessetDocument:beforeshould take care about chunked uploads. - new method
AsyncConnection.setPreferredUData- store into thelocalStoragesome data, what will be available during next login insideSession.on('login')asreq.parsedParameters.prefUData
Changed #
5.23.3 2022-07-11 #
- use a global
localStorageinstead of window.localStorage. This allows uselocalStoragepolyfill under nodeJS (for examplenode-localstorage)
Removed #
5.23.3 2022-07-11 #
CERTauthorization support is remover (in flavor of CERT2)
@unitybase/ub #
Added #
5.23.6 2022-07-26 #
- new property
captionSingularis 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). Returntrueon 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.wrapEnterLeaveForUbMethodfor 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 auditmixin now enabled foraclRlsstorage and uses main entity asparentIdentifier, so changes to ACL will be visible in entity changes history- unneeded indexes
UIDX_*_admSubjentityare 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
TenantUserbuilt-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
metaoverrides are logged one-line-per meta file instead of one-line-per-override
Fixed #
5.23.7 2022-07-26 #
- fixed regression for
aclRlsStoragemixin when entity used from server side asstore.run('insert', {..})without entity in mParams
5.23.5 2022-07-21 #
RLS: defaultsubjectIDsFnfunction for theaclRlsmixin 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.allowForAdminOwnerAndAdmTableuses 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_useranduba_role
5.23.6 2022-07-21 #
- Localization for server errors in
uba_useranduba_role
5.23.5 2022-07-12 #
- migration to remove
adm_folder_UI', 'adm_folder_devToolsfolders
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.duplicateUserNameinstead 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,adminandanonymous(all that are in theuba_common.USERS)- accounts matching
ubConfig:security.disabledAccountsregular expressions
- Actions the accounts protected against (action are prohibited except when executed by root):
- update name
- delete account
- System User accounts are:
uba_groupform is rewritten to Vue
Fixed #
5.23.6 2022-07-21 #
uba_groupform 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,restare excluded from allowed endpoints forEveryonerole and added forUserrole. Anonymous user should not have asses to these endpointsgroup,user certificateforms:- 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-loadinginstead 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.frameAncestorscontent security policy
5.23.3 2022-07-11 #
- DDL for
"Many" attribute storage tablenow 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 migratewill disable schedulers in starting server instance. Schedulers execution can break migration process. Feature works for UB@5.22.10 and up.ubcli migratefor 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: trueoption, 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,sysdictionaryforms:- 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-loadinginstead ofv-loading.body
5.23.3 2022-07-05 #
umb_navshortcut.updatefor non-privileged users now works. Before this fix user got server-side error because RLS conditions added twice - once inselectBeforeUpdateand 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_runstatentity caption
@unitybase/ubs #
Added #
5.23.7 2022-07-26 #
Administration->Maintenance Tools->Messagesshortcut: added form for viewing message (on double click)
Fixed #
5.23.4 2022-07-11 #
message editform:- 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-loadinginstead ofv-loading.body
