@unitybase/adminui-vue #
Added #
5.20.5 2021-04-13 #
UFormRow
: new propreadonly
; iftrue
- show a small lock symbol after labelUAutoField
: in case attribute isreadOnly
in meta file - render a small lock symbol after label; Ifals
mixin is defined for entity - uses read only fromals
; Can be explicitly defined using a new propreadonly
;UToolbar
: new proptoolbarButtons
. Allows adding new buttons into toolbar and override/hide default buttons; Can be used with slots andhideDefaultButtons
prop; UsingtoolbarButtons
prop toolbar buttons can be shown as classic text button (not icon only); See example inUToolbar
docs;- new provided method
getValidationState
for getting always the actual validator configured with thevalidation(...)
method. The current provided value of$v
is not reactive so if we want to have dynamic validation as described below we can inject thegetValidationState
function and get the actual$v
value
module.exports.mount = cfg => {
Form(cfg)
.store()
.processing()
.validation({
computed: {
...mapState('form', ['applyCustomValidation']),
formDataValues() {
return {...}
}
},
validations() {
// dynamic validation config
return this.applyCustomValidation
? { formDataValues: {...} }
: {}
}
})
.mount()
export default {
inject: [
'getValidationState'
],
computed: {
codeError() {
const $v = this.getValidationState()
return $v?.formDataValues?.code.$error
}
}
Changed #
5.20.7 2021-04-19 #
- Full Text Search shortcut is changed to
Ctrl+Shift+F
to prevent conflict withCtrl+F
actions. UTableEntity
: sorting for column based onEntity
attributes (lookups) use description attribute of the associated entity instead ofID
5.20.5 2021-04-13 #
UFileInput
: set text alignment to center, if many files are selected displayed filenames are truncated to 3 linesUAutoField
: hide asterisk for boolean attributes with defaultValue specified (as should be in most case) andrequired
prop for UAutoField is not specified explicitlyUDropdown
: popup animation (transition) is removedUSelectEntity
: use a UDropdown instead of ElDropdown for actions popup; dropdown animation (transition) is removedUSelectEntity
: added background color and border to dropdown block
Fixed #
5.20.8 2021-04-22 #
-UForm
: fix messages for errors what can be thrown inside UForm.mount
5.20.7 2021-04-19 #
UCodeMirror
- returned visibility of help (?
) mark
5.20.6 2021-04-16 #
USelectEntity
: fix focused/hovered border color to wrap an action button (using :focus-within since div with border can't be focused)UToolbar
: nowu-button
doesn't render default slot (which has extra padding) when toolbar button is icon.USelectMultiple
: added reaction onvalue
changing from outside the component.UFileInput
: made file types validation case-insensitive (for example to accept both *.XLSX and *.xlsx for Excel filter).
5.20.5 2021-04-13 #
USelectEntity.buildShowDictionaryConfig
: fixedselect
button disabling if row is not selected yet. Adisabled
property should be passed toUButton
as a html-attribute.USelectEntity
: In case of using an entity (other than the default one) in the propertyrepository
of the component and when user press F9 (or click onSelect from the dictionary
): old behavior: error about the absence of attributes specified in the request fieldList. new behavior: opening a formSelection from the dictionary
.
@unitybase/adminui-pub #
Changed #
5.20.7 2021-04-19 #
UB.core.UBUtil.getEntityAttributesTreeData
HTML for attribute label improved for better UX
@unitybase/base #
Changed #
5.20.5 2021-04-24 #
- ub server 5.20 compatibility - avoid global UB usage
@unitybase/blob-stores #
Fixed #
5.20.3 2021-04-01 #
- UB<5 regression: fix
Path must be a string
error in case caller do not passfileName
in setDocument request (as UB<5 client can do) blobStores.fillResponse
returnstrue
instead ofundefined
in case file successfully scheduled to send
@unitybase/cs-shared #
Added #
5.6.1 2021-04-02 #
- new property
UBEntity.overriddenBy
- comma separated model names where entity is overridden
Changed #
5.6.1 2021-04-02 #
- BREAKING for overridden entities
UBEntity.modelName
property now contains an original model name instead of last override model name
Fixed #
5.6.4 2021-04-22 #
UBSession.crc32
will transform a string to UTF8 array before calc crc32. This allows to calc a CRC32 for string with non-english characters (used for example by CERT2 auth in non-simple mode)
@unitybase/ub-pub #
Added #
5.9.3 2021-04-16 #
- Dutch and Uzbek languages added
@unitybase/ub #
Added #
5.21.0 2021-04-02 #
- new property
UBEntity.overriddenBy
- comma separated model names where entity is overridden
Changed #
5.21.3 2021-04-19 #
allLocales
endpoint, when loading as JSON files, now merges all models, and return as a normal key-value resources. Add 2 more parameters:includeDomain
andincludeData
, which would merge appropriate type of resources in:includeDomain
controls inclusion ofentityCode: caption
andentityCode.attribute: caption
resources,includeData
controls reading and including JSON files from_data/locale/lang-nn.json
files, resources, which are needed for data migration only.
5.21.1 2021-04-13 #
allLocales
endpoint (client-side localization download) supports downloading of JSON files only, without js files Request shall be like/allLocales?lang=en&json=1
Response body will contain model name as a key and JSON file content as a value:{ "ub-pub": {...}, "UBM": {...} }.
5.21.0 2021-04-02 #
- BREAKING for overridden entities
UBEntity.modelName
property now contains an original model name instead of last override model name
Deprecated #
5.22.0 2021-04-24 #
UB.ns
is deprecated and will be removed soon
Fixed #
5.21.6 2021-04-23 #
- fix
global.UB.getServerConfiguration is not a function
error (can occur during thread initialization) by prevent override a legacyglobal.UB
object
5.21.4 2021-04-19 #
- fix
global.UB.getDomainInfo is not a function
@unitybase/ubcli #
Added #
5.21.2 2021-04-19 #
ubcli generateDDL
create a backup script in case previous DDL generation script exists (by adding .bak to file name)
5.21.0 2021-04-13 #
ubcli generateNginxCfg
adds in-memory buffering of incoming requests and outgoing responses to nginx config. This prevents nginx to create temp files for buffering in most casetid
parameter forubcli migrate
, so thatubcli migrate -noddl -tid 199
may be used for tenant initialization (will require @unitybase/ub-migrate@1.20+, with 1.19 will just ignore the param)
Changed #
5.21.2 2021-04-19 #
ubcli generateDDL
for Oracle - dramatically speed up by reset a connection NLS_SORT and NLS_COMP to BINARY - this allows Oracle to use indexes for queries over system views.
Fixed #
5.21.2 2021-04-19 #
ubcli generateDDL
fixed for Oracle sequences defined in metadatapkGenerator
:- prevents to create a sequence what accessible for connection but don't owned by it (synonyms etc).
Fixed by read available sequences using
ALL_SEQUENCES
system view instead ofuser_sequences
- prevent to create a sequence multiple times in case it used as
pkGenerator
for several entities - prevent generate a DDLs for External/Virtual entities what referenced from models DDL generator is executed for
- prevents to create a sequence what accessible for connection but don't owned by it (synonyms etc).
Fixed by read available sequences using
ubcli generateDDL
- added table and field names to exception message in case of invalid or unsupported default value for Date/DateTime attribute is defined in metadata
5.20.5 2021-04-02 #
- BREAKING
ubcli generateDDL -m MODEL1,MODEL2
generates a DDL for entities what initially defined in the MODEL1 and MODEL2. Before this fix DDL generator skip entities defined in MODEL1 but overridden in MODEL_X (what not in -m list)
@unitybase/ubm #
Changed #
5.20.7 2021-04-19 #
ubm_navshortcut
form layout changed tou-grid
+ attributes tree UI improved
Fixed #
5.20.4 2021-04-02 #
- ubm_query JSON to clob migration (for Oracle) not fails during migration from a version where ubm_query table does not exists
@unitybase/ubq #
Changed #
5.20.5 2021-04-13 #
- log level for scheduler initiation message
SCHEDULER: Job command for ... sent at ...
changed frominfo
todebug