@unitybase/adminui-vue #
Added #
5.20.5 2021-04-13 #
UFormRow: new propreadonly; iftrue- show a small lock symbol after labelUAutoField: in case attribute isreadOnlyin meta file - render a small lock symbol after label; Ifalsmixin 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 andhideDefaultButtonsprop; UsingtoolbarButtonsprop toolbar buttons can be shown as classic text button (not icon only); See example inUToolbardocs;- new provided method
getValidationStatefor getting always the actual validator configured with thevalidation(...)method. The current provided value of$vis not reactive so if we want to have dynamic validation as described below we can inject thegetValidationStatefunction and get the actual$vvalue
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+Fto prevent conflict withCtrl+Factions. UTableEntity: sorting for column based onEntityattributes (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) andrequiredprop 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-buttondoesn't render default slot (which has extra padding) when toolbar button is icon.USelectMultiple: added reaction onvaluechanging 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: fixedselectbutton disabling if row is not selected yet. Adisabledproperty should be passed toUButtonas a html-attribute.USelectEntity: In case of using an entity (other than the default one) in the propertyrepositoryof 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.getEntityAttributesTreeDataHTML 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 stringerror in case caller do not passfileNamein setDocument request (as UB<5 client can do) blobStores.fillResponsereturnstrueinstead ofundefinedin 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.modelNameproperty now contains an original model name instead of last override model name
Fixed #
5.6.4 2021-04-22 #
UBSession.crc32will 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 #
allLocalesendpoint, when loading as JSON files, now merges all models, and return as a normal key-value resources. Add 2 more parameters:includeDomainandincludeData, which would merge appropriate type of resources in:includeDomaincontrols inclusion ofentityCode: captionandentityCode.attribute: captionresources,includeDatacontrols reading and including JSON files from_data/locale/lang-nn.jsonfiles, resources, which are needed for data migration only.
5.21.1 2021-04-13 #
allLocalesendpoint (client-side localization download) supports downloading of JSON files only, without js files Request shall be like/allLocales?lang=en&json=1Response 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.modelNameproperty now contains an original model name instead of last override model name
Deprecated #
5.22.0 2021-04-24 #
UB.nsis deprecated and will be removed soon
Fixed #
5.21.6 2021-04-23 #
- fix
global.UB.getServerConfiguration is not a functionerror (can occur during thread initialization) by prevent override a legacyglobal.UBobject
5.21.4 2021-04-19 #
- fix
global.UB.getDomainInfo is not a function
@unitybase/ubcli #
Added #
5.21.2 2021-04-19 #
ubcli generateDDLcreate a backup script in case previous DDL generation script exists (by adding .bak to file name)
5.21.0 2021-04-13 #
ubcli generateNginxCfgadds in-memory buffering of incoming requests and outgoing responses to nginx config. This prevents nginx to create temp files for buffering in most casetidparameter forubcli migrate, so thatubcli migrate -noddl -tid 199may 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 generateDDLfor 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 generateDDLfixed 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_SEQUENCESsystem view instead ofuser_sequences - prevent to create a sequence multiple times in case it used as
pkGeneratorfor 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,MODEL2generates 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_navshortcutform 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 exist
@unitybase/ubq #
Changed #
5.20.5 2021-04-13 #
- log level for scheduler initiation message
SCHEDULER: Job command for ... sent at ...changed frominfotodebug
