@unitybase/adminui-vue #
Added #
1.13.20 2020-11-19 #
- new optional column property
filterablefor column configuration of UTableEntity. To disable filtration by column setscolumn.filterable = false UFormContainer: providesisDisabledproperty to child controls. This property disables child "U-controls" when itstrue.UBaseInput,UAutoFieldandUSelectEntityinheritisDisabledfrom parentUForm.processing: callbackerrorNotificationis added. Allows override a default error notification behavior.
1.13.19 2020-11-15 #
processing.load: added.misc({ ID: ID })which allows to make a request with ID bypassing caching, soft deletion and history. This solves the problem with the opening of forms of records that are no longer relevant.
1.13.18 2020-11-14 #
- UTableEntity: new prop
bordered(true by default) - display a border around table and toolbar. See for example cdn_person form - with border around Contacts its looks better.
Changed #
1.13.22 2020-11-23 #
- user menu
Settingsnow contains a sub-menuScanner settingswhat shows a scanner settings form. Ext basedubm_desktop-userSettingsform (was shown on setting menu click before these changes) is removed.
1.13.20 2020-11-19 #
UTableEntity- prevent hangs on huge text attributes content:- in case columns is not specified will exclude attributes of type
Text,JSONandDocumentfrom autogenerated columns list (before this fix attributes of typeTextare included) UTableEntity: in case attributes or Repository not specified will exclude from autogenerated Repository attributes of typesText,JSONandDocumenteven in case defaultView for such attributes is true in metadata
- in case columns is not specified will exclude attributes of type
1.13.18 2020-11-14 #
UCodeMirror- useesversion: 8(async functions) as default for linter
1.13.17 2020-11-10 #
USidebarsidebar width to0pxin collapsed state and screen less than768px(mobile)
1.13.14 2020-11-01 #
USelectEntity: propreadonlydoes not disable actioneditin dropdown anymore, butdisabledstill does
Fixed #
1.13.23 2020-11-25 #
UBaseInput: fixdisabledprop in case need to disable only this field and not the entire form containerUTableEntity<entity-name>:changedevents (does not try to refresh) in case payload not contains a validresultDatawith IDUTableEntity: fixed disabling of sorting by clicking on a column header if the column configured as not sortableUTableEntityfilter - use correct translation for multiple condition -Multipleinstead ofContains
1.13.22 2020-11-23 #
UBaseInput,UAutoField,USelectEntity: fixed missing injection in case when the control is outside theUFormContainerUTableEntity: sorting now replaces theorderListrather than adding a new condition to the existing one
1.13.21 2020-11-20 #
UTableEntity: fixed attributes filtration for tables initialized with columns (introduced in 1.13.20)
1.13.20 2020-11-19 #
UFile: prevent download document in casepreview-modenot setsUTableEntityerror on click column which has no filters
1.13.16 2020-11-08 #
UDialog- ifCancelbutton not available - sets focus to the first available button.
1.13.14 2020-11-01 #
store.canRefreshgetter returnstruefor any non-new record (before this fix - for non-new and dirty). This allows calling "Refresh" action on the non-dirty forms.
@unitybase/adminui-pub #
Changed #
5.13.51 2020-11-14 #
UBCodeMirror- useesversion: 8(async functions) as default for linter
@unitybase/base #
Added #
5.4.6 2020-11-15 #
DBConnection.selectParsedAsObjectfor Postgres warning added: Postgres return all field name in lower case ifAS "normalName"is not specified, so better to write a query as suchselect ID as "ID", modelName AS "modelName" from ..instead ofselect ID, modelName from ..
5.4.5 2020-11-14 #
ServerRepository.selectAsArrayOfValues()- for Repository with ONE attribute returns a flat array of attribute valuesconst usersIDs = UB.Repository('uba_user').attrs('ID').limit(100).selectAsArrayOfValues() // usersIDs is array of IDs [1, 2, 3, 4]
5.4.3 2020-11-10 #
argv.establishConnectionFromCmdLineAttributes: default value for -host parameter is changed toauto. if-host autoor UB_HOST=auto env variable is defined then host will be taken from application config
5.4.2 2020-11-08 #
DBCOnnection.selectParsedAsObjectfor Oracle warning added: Oracle return all field name in UPPER case ifAS "normalName"is not specified, so better to write a query as suchselect ID, modelName AS "modelName" from ..instead ofselect ID, modelName from ..
5.4.0 2020-11-05 #
createDBConnectionPooladds connection with nameDEFAULTfor easy access to default DB connection- in case
DBConnection.genIDcalled withundefinedit return ID for connection. If with entity code - for specified entity. argv.establishConnectionFromCmdLineAttributeswill always uses 'ROOT' auth schema if user is 'root'. Before this fix 'ROOT' schema is used if user is root AND server is started by this session.
Changed #
5.4.6 2020-11-15 #
ServerRepository.selectScalar()optimized to use less JS memory
5.4.1 2020-11-08 #
options.parseVerbose( a command line parameters parser) will throw in case of invalid / missed parameters. This returns a 1 exit code to caller and, for example, can prevent batch script from further execution.
5.4.0 2020-11-05 #
createDBConnectionPoolwill re-use previously created pool
Fixed #
5.4.0 2020-11-05 #
- added missing {ubRequest} type definition
@unitybase/blob-stores #
Added #
5.5.0 2020-11-15 #
-
BLOB stores: new
storeSizeHourly- asDailybut with sub-folder for each hour inside a day folder -
BLOB sores: new property
LUCount- a count of Logical Units BLOB stores divided into. If > 0 then files are stored insideLogical Unitsub-folders/LU01,/LU02,.Write operations works with last LU folder. Each LU folder can be mounted to his own partition. In this case
tempPathshould point to the same partition as last LU.
5.4.17 2020-11-14 #
@unitybase/blob-stores/storesPerfTest.js- BLOB store performance testing endpoints implementation. See doc inside astoresPerfTest.jsfor usage sample.
5.4.11 2020-11-01 #
App.blobStores.getContentPathmethod - retrieve full path to a file with BLOB content (in case store is file-based)
Changed #
5.5.2 2020-11-20 #
-
mdbBLOB store: if reverseProxy isnginxthengetDocumentrequest for permanently stored items will redirect tosendFileLocationRoot/modelsinternal location to unify retrieving of models and cmodels.On the production
cmodelsis located in then/var/opt/unitybase/..while models - in the/opt/unitybase/...Since linkStatic links both to theinetpub/clientRequire/models, so better to get allmdbitems from there.ubcli generateNginxCfgshould be executed after upgrade to this version (ub-app-upgradelifecycle script is doing this)
5.4.16 2020-11-12 #
- mdb store now stores MD5
Fixed #
5.4.12 2020-11-05 #
- MdbBlobStore do not throw an error on deletion
@unitybase/cdn #
Changed #
5.4.43 2020-11-10 #
cdn_profession.meta: addeddefaultView: falsefor attributedescription
Removed #
5.4.43 2020-11-10 #
-cdn_profession-fm.def: better to use autoform
Fixed #
5.4.49 2020-11-23 #
cdn_organization- deny ANY update for organizations with government organization type (orgBusinessTypeID.isGovAuthority=true) by roles not incdn.organization.accessAddGovByRoleslist.
Before this fix updating was possible if orgBusinessTypeID is not changed. Also, was possible to change an org type from
government to non-government.
5.4.39 2020-11-01 #
cdn_contact-fm.vue: fixed form opening without parentContext [UBDF-12453]
@unitybase/cs-shared #
Added #
5.5.11 2020-11-20 #
UBEntityAttribute.privateSettings&UBEntity.privateSettingsproperties. Can be defined in meta file and available in server-side domain. not available on client-side. Require UB server 5.18.20 and up.
5.5.9 2020-11-14 #
CustomRepository.selectAsArrayOfValues()- for Repository with ONE attribute returns a flat array of attribute values
5.5.8 2020-11-05 #
- new properties
UBDomain.customerModels&UBDomain.vendorModels- array of customer/vendor models names. Require UB server to be >= 5.18.17. For earlier versions returns empty arrays.
Changed #
5.5.7 2020-11-01 #
- ClientRepository Object result will force converting Enums attributes values to String. This fix a problem when enum value is number like (1 for example) and client got a numeric response. General recommendations is to set enum values to alphanumeric string.
Fixed #
5.5.8 2020-11-05 #
- DBConnectionConfig type definition: added missing
isDefaultproperty
@unitybase/mailer #
Added #
5.4.0 2020-11-23 #
- notes in the README about SSL setup for Linux
UBMail.UBMailImapclass - receive mail using IMAP protocolUBMail.TubMailReceiverImap- a direct replacement forUBMail.TubMailReceiverbut uses IMAP instead of POP3fullSSLproperty added forTubMailReceiver,TubMailSenderandTubMailImap. Iftrue- setup TLS before any command to mail server. See README for OpenSSL requirements.
@unitybase/org #
Changed #
5.4.20 2020-11-25 #
-
allow log-in for user who not assigned to employee for members of Admin group (in addition to
adminandrootuser). This fix regression introduced in @unitybase/org@5.4.0.The source of regression is so called "local administrators" - a regional administrator`s in a huge organizations.
5.4.13 2020-11-10 #
org_unit-fm,org_staffunit-fm,org_profession-fm,org_department-fm: rewritten to vue
Fixed #
5.4.20 2020-11-25 #
org_staffunit-fm: fixed typo in parent context of org_employeeonstaff grid
5.4.17 2020-11-19 #
org_staffunit-fm,org_profession-fm,org_department-fm: fixed form saving without a requiredcaptionfield by addingmasterFieldList[UBDF-12721]
@unitybase/ub-pub #
Added #
5.5.30 2020-11-14 #
ClientRepository.selectAsArrayOfValues()- for Repository with ONE attribute returns a flat array of attribute valuesconst usersIDs = await UB.Repository('uba_user').attrs('ID').limit(100).selectAsArrayOfValues() // usersIDs is array of IDs [1, 2, 3, 4]
@unitybase/ub #
Added #
5.7.8 2020-11-20 #
- new
privateSettingsproperty for entity and attribute added to the JSON schema for entity metadata
5.7.0 2020-11-05 #
ub_migration&ub_versionentities added
5.6.8 2020-11-01 #
App.blobStores.getContentPath- retrieve full path to a file with BLOB content- EE & DE edition: added
dstu.iit.strictModeparameter. If true (default) - force server-side signature format to CADES_X_LONG (enable TSP if disabled)
Fixed #
5.7.7 2020-11-19 #
UB.UBAbortserver side abort error now logged asERRlog level instead ofEXC(as should be) for UBServer@5.18.20. For UBServer < 5.18.20 nothing changed and UB.UBAbort will be logged asEXC.
@unitybase/uba #
Added #
5.4.37 2020-11-05 #
- Nav Shortcuts:
Migrationsfolder withModels versionsandApplied filesshortcuts
@unitybase/ubcli #
Added #
5.10.0 2020-11-23 #
ubcli execSql:-withResultoption added - if passed then expect last statement in the batch to be a statement what returns a result, exec it using runSQL and returns a result as JSON
ubcli execSql -sql 'select * from uba_user' -withResult
# run a statement and output colored beautified result
ubcli execSql -sql 'select * from uba_user' -withResult -noLogo | sed -n "/--BEGIN/,/--END/p" | tail -n +2 | head -n -2 | jq -r .
5.9.8 2020-11-20 #
ubcli generateNginxCfg- added internal locationlocation /{{sendFileLocationRoot}}/modelsmdb BLOB store redirect to it agetDocumentrequests. This fix problem on production deployment whencmodelsis located in the/var/opt/...
5.9.5 2020-11-14 #
ubcli generateNginxCfg: new parameter-nginxPort- a port for nginxlistendirective. If not specified then equal tohttpServer.externalURLport (if specified, like http://server.com:8083, of 80/443 for short notation of externalUrl). Use this parameter in 2-proxy configurations.
5.9.3 2020-11-10 #
- all
ubclicommand what accept -host parameter now automatically discovers a server URL from ubConfig if-host auto(or UB_HOST=auto env var) is not explicitly defined. This helps to useubcliin CI script.
5.9.0 2020-11-05 #
ubcli execSql: new option-sql scriptadded for execute SQL script from string. Usage sample:
ubcli execSql -sql
###### ~5.8.0~ ~2020-11-01~
- new `generateDDL` parameter `-c connectionName`. If passed DDL generator works only for entities for specified connection.
- new command `ubcli execSql -c connectionName -f path/to/script.sql`.
Exec a multi-statement SQL script in specified connection without starting a server, so can be used to apply some patches.
Can be used as a module:
```javascript
const execSql = require('@unitybase/ubcli/lib/execSql')
execSql({
connection: 'main',
file: './myScript.sql',
optimistic: true
})
- In case UB > 5.18.15 DDL generator will execute result script using
@unitybase/ubcli/lib/execSql- split a result file into parts and directly execute SQL statements instead of using runSQL endpoint.
Changed #
5.9.4 2020-11-12 #
ubcli generateNgingCfg: a final message for CentOS propose to link config to/etc/nginx/conf.dinstead of/etc/nginx/sites-availablefor Ubuntu
5.9.3 2020-11-10 #
ubcli execSqlwill log first 30 chars of statement for-sqlmode instead of-sqlword
5.9.2 2020-11-08 #
- removed many unnecessary logging messages form
ubclitools output.
5.9.1 2020-11-08 #
ubcli createStore: minimize console output by notify only for newly created directory pathubcli execSqlmute per-statement exception in case it contains--@optimisticcomment somewhere in text. In example below in case table1 already exists exception wil be muted. For table2 - will be raised (--@optimisticnot in statement text).
--@optimistic
create table1 ....
create table2...
5.9.0 2020-11-05 #
linkStaticcommand uses realpath for a config to search fornode_modules. This allows usinglinkStaticin product based apps, where config is sym-linked from/opt/unitybase/products.- generateDDL: prevent unnecessary warning for SQLite3 default constraint changing
- generateDDL: removed unnecessary logout after generateDDL function is ends. Consider generateDDL always executed as local root (-u root)
5.8.0 2020-11-01 #
- DDL generator result will join all object annotation (comment on) into one SQL statement - this speed up database generation a lot
- DDL generator for Oracle moves sequence incrementation calls into annotation block, so all of them are executed as a single call
Fixed #
5.9.6 2020-11-15 #
ubcli migrate- prevent duplicate model insertion intoub_versionfor Postgres. For Postgres direct query execution usingDBConnection.selectParsedAsObjectwithout filed aliases in SQL returns field names in lower case, soselect ID, modelName...returns[{id: 1, modelname: "}, ..]). The solution is to specify aliasselect ID ad "ID", modelName as "modelName" ....- in this case result will be as expected[{ID: 1, modelName: "}, ..]. Notes - for Oracle fields without aliases is UPPERCASE'S, so alias is mandatory for cross-db solutions.
5.9.1 2020-11-08 #
ubcli migrate: command line doc addedubcli linkStatic: skip creation of.entryPoint.jsfor modules with folder entry-point For example:"main": "./src"in package.json. Such links create a file system loop. In any case they can't be required from client side by systemJS.- if invalid arguments is passed to the
ubclicommand it exits with exit code 1. This prevents a batch script from further execution in case of invalid command.
5.9.0 2020-11-05 #
- DDL generator will skip attributes mapped to another existed attribute BEGIN\n import_users.do_import;\n END;--\n delete from aa where 1=0;'
- `ubcli migrate` - see [Version migrations tutorial](https://unitybase.info/api/server-v5/tutorial-migrations.html)
- `ubcli initialize` will fill `ub_version` table by versions of the models on the moment of initialization
###### ~5.8.0~ ~2020-11-01~
- `genSuffixesIndexInitScript` fixed to generate an SQL with valid argument for `dbo.strTails`
- DDL generator: remove warning from a console in case entity metadata is congruence with the database for connection
# [@unitybase/ubm](https://git-pub.intecracy.com/unitybase/ubjs/tree/master/packages/ubm)
#### Fixed
###### ~5.4.26~ ~2020-11-12~
- fix last used scanner and supplement type for UBScan on scanner settings form
###### ~5.4.25~ ~2020-11-10~
- `ubm_desktop-scanerSettings-fm`: fixed correct settings saving and localization [UBDF-12670], [LDOC-1010],
[LDOC-1041], [LDOC-1011], [LDOC-1015]
# [@unitybase/ubq](https://git-pub.intecracy.com/unitybase/ubjs/tree/master/packages/ubq)
#### Added
###### ~5.4.18~ ~2020-11-23~
- `mailerConfig.fullSSL` parameter added to UBQ partial config - use a TLS tunnel for SMTP.
Environment variable - `UB_SMTP_FULL_SSL` (false by default)
# [@unitybase/ubs](https://git-pub.intecracy.com/unitybase/ubjs/tree/master/packages/ubs)
#### Fixed
###### ~5.4.36~ ~2020-11-19~
- a client-side report builder `UBReport` uses a `/clientRequire` endpoint instead of `/getDocument` to obtain a report template.
This fix 404 report template response on production deployment where models can be either inside
app folder (`/opt/unitybase/apps/appName`) or inside appData folder (`var/opt/unitybase/apps/appName`)
