ub-server #
Added #
5.6.1 2018-11-28 #
- introduce new OTP based authorization schema
ROOT
for a super-userroot
(used internally for a while)
5.4.9 2018-11-27 #
runAs*
functions allow maximum of 2 level depth of recursion. The code below now work correctly:
Session.runAsAdmin(function () {
return Session.runAsUser(UserID, doSomethingAsUser)
})
Before this patch inner call to Session.runAsUser
throws 'Recursive call to Session.runAs* is not allowed'
5.4.7 2018-11-16 #
Buffer.from(str, 'base64')
can decode MIME Base64 - a base64 separated by\r\n
, and base64 without padding (without necessary=
in the end)
Changed #
5.6.2 2018-11-29 #
- simplify logging output by removed internal class names and instance pointers
- 5-10% speed-up for real life operations
- remove unnecessary property getters and prevent memory reallocation for String/Int46 arrays access
- remove stack checking for production builds
- ubConfig parsed will keep environment variables AS IS instead of JSON-Escaping it. For example in %LANGS% macros is used in the config, when it can be passed as:
LANGS='["en","ru"]' ub -cd
5.4.8 2018-11-26 #
- all server-side core_modules now embedded into program as a resources
5.4.6 2018-11-05 #
- SQL builder will add field alias for long (>20 chars) fields even if select clause contains only one field for all DBMS except MS SQL. Example:
UB.Repository('tst_maindata').attrs(['manyValue']).limit(12).selectAsObject()
// before this patch
SELECT (SELECT group_concat(A01.destID) FROM tst_maind_dict
// after this patch
SELECT (SELECT group_concat(A01.destID) AS C1 FROM tst_maind_dict
This feature should fix Oracle shared statement cache
Fixed #
5.6.2 2018-11-29 #
- fix internal JSON parser for *.meta custom settings [unitybase/ub-server#20]
5.4.8 2018-11-26 #
- remove 1 second delay for non-GET
http.xhr
(POST, PUT) requests on Linux by adding emptyExpect:
header to libCURL calls.
5.4.7 2018-11-16 #
Buffer.from(str, 'base64')
will correctly decode base64 string if it is in 2-byte representation. This may happens in case string is extracted from another string with non-latin characters, for example from XMLs- x5 speed up of
Buffer.from(str, 'base64')
- SQL builder for PostgreSQL will not lost scale when selecting float attribute form related many entity.
- New many expression template:
SELECT string_agg(ATTRIBUTE::text, ',')
- Previous many template:
SELECT string_agg(to_text(ATTRIBUTE, '99999999'), ',')
- New many expression template:
- Unix: release memory mapped files ASAP
@unitybase/adminui-vue #
Changed #
1.0.31 2018-11-19 #
- adminui-vue auth form will hide ub auth under
options
if Kerberos or CERT2 is enabled
1.0.27 2018-11-03 #
- change webpack configuration to decrease bundle for production build (from 847Kb to 630Kb)
Fixed #
1.0.32 2018-11-29 #
- error with hidden UB auth in case this is only one possible auth method
1.0.27 2018-11-03 #
- let's ElementUI popups be above all Ext popups by setting initial ElementUI.zIndex to 300000
@unitybase/adminui-pub #
Added #
5.6.12 2018-11-28 #
- vue based form
mount
function acceptcommandConfig
as a parameter
$App.doCommand({
"cmdType": "showForm",
"formCode": "ubdev_metadata",
"cmdData": {
"entityCode": objectCode
}
5.6.8 2018-11-16 #
- add UbExtension.crx to the adminui-pub/ub-extension folder. Used by a client who do not have access to the internet but need to install extension into Google Chrome.
Changed #
5.6.8 2018-11-16 #
- in case default form for entity is not defined and exists several forms
UB.core.UBFormLoader.getFormByEntity
will return form with the smallest code (in alphabetic order)
Fixed #
5.6.10 2018-11-20 #
- add nonce for unhandled rejection polyfill script to bypass a CSP rules in production mode
5.6.9 2018-11-19 #
- BasePanel toolbar icon appearance for tool buttons without text but with drop-down
5.6.8 2018-11-16 #
- add polyfill for Promise unhandledrejection event (for FireFox browser). Without this polyfill Admin-ui can't show unhandledrejection's reason in message box
5.6.6 2018-11-13 #
- EntityGridPanel - prevent monkey request in Refresh action by removing reloading of EntityGridPanel.stores, because they already will be reloaded by UBStore.linkedItemsLoadList
@unitybase/adminui-reg #
Changed #
5.0.68 2018-11-20 #
- Content Security Policy for WebSocket is limited to (optional) URL from
application.customSettings.amqpNotificationUrl
Fixed #
5.0.69 2018-11-21 #
- Content Security Policy for WebSocket should be limited to
uiSettings.adminUI.amqpNotificationUrl
instead of server-sideapplication.customSettings.amqpNotificationUrl
setting
@unitybase/blob-stores #
Added #
5.0.23 2018-11-01 #
getDocument
endpoint will put error to log in case user don't have ELS rights for requested entityselect
method
Fixed #
5.0.23 2018-11-01 #
- historical BLOB stores will try to estimate revision number using select from ub_blobHistory in case previous
BLOB store content is clean (use clear content for example).
Previous implementation set the revision to
1
and if such revision already exists database onub_blobHistory
constraint fails.
@unitybase/cdn #
Changed #
5.0.66 2018-11-17 #
- cdn_city: allow to select Country as a parent admin unit for city (filter on the form)
- cdn_region: allow to select any admin unit as a region parent (in prev implementation select was limited by COUNTRY). See #19 for changes reasons
@unitybase/draw-service #
Changed #
5.0.4 2018-11-28 #
- allow to configure custom font
PORT=8883 FONT=path/to/your/font.ttf node ./node_modules/@unitybase/draw-service
@unitybase/hmr #
Added #
1.0.21 2018-11-03 #
- small FAQ added to README
Changed #
1.0.21 2018-11-03 #
- only
change
file system event will be transmitted to browser
Fixed #
1.0.24 2018-11-19 #
- fixed hmr server shutdown after file is changed (bug in version 1.0.21)
@unitybase/org #
Added #
5.1.24 2018-11-04 #
- auto generation of
org_employeeonstaff.tabNo
attribute. Length of generated code id defined inubs_settings
ubs.numcounter.autoIncrementalCodeLen
key. Default is 6 (codes like000001
)
Changed #
5.1.25 2018-11-19 #
org_employeeonstaff.caption
generation algorithm: in caseorg_employeeonstaff.tabNo
is empty or whitespace - don't use it in formingorg_employeeonstaff.caption
5.1.24 2018-11-04 #
org_staffunit.caption
generation algorithm: take a parent name from first parent with type !== 'STAFF' (instead of org_staffunit.parent)
@unitybase/pdf #
Added #
5.0.12 2018-11-27 #
- Font SylfaenNormal with georgian characters
@unitybase/ub-pub #
Added #
5.2.19 2018-11-13 #
- If quite the same request repeated 2 or more times in the last 100ms (so called monkey request) then
it putted into the
console.error
@unitybase/uba #
Fixed #
5.1.3 2018-11-27 #
- uba_user.name attribute Georgian translation changed
5.1.1 2018-11-15 #
- fix update/insert of uba_usercertificate (setBlob method)
@unitybase/ubcli #
Added #
5.2.0 2018-11-19 #
npx ubcli
will display short commands descriptions in addition to command names- new command
meta-tr
added toubcli
to be used to transform *.meta attributes from Object to Array as required by latest Entity JSON schema:
npx ubcli meta-tr -m /home/mpv/dev/ubjs/apps/autotest/models/TST/tst_document.meta
Changed #
5.2.2 2018-11-22 #
npx ubcli generateNgingCfg
will enable HTTP 2.0 in case external URL is HTTPSln -s
sample for nginx config will change config file name to the site host name. This help to manage a big productions configs.
Fixed #
5.2.2 2018-11-22 #
npx ubcli generateNgingCfg
will generate correctssl_ciphers
listnpx ubcli generateNgingCfg
will addlisten 443 ssl;
in case external URL is HTTPS
@unitybase/ubm #
Added #
5.0.66 2018-11-18 #
- In PRODUCTION mode form editor will show warning box about page reloading for applying changes
@unitybase/ubq #
Changed #
5.2.0 2018-11-28 #
- schedulers initialization rewritten using
root
auth schema
Fixed #
5.2.0 2018-11-28 #
- schedulers jobs will continue to work even if
runAs
user for job is blocked or his password is expired - text logs produced by scheduler worker is decreased (thanks to
root
auth schema)
@unitybase/ubs #
Changed #
5.1.26 2018-11-04 #
ubs.numcounter.autoIncrementalCodeLen
default value decreased from 12 to 6 - codes length000001
is enough in most case
@unitybase/xlsx #
Added #
5.0.31 2018-11-15 #
- preserve spaces is cells by default (required for creating indents)
Fixed #
5.0.31 2018-11-15 #
- columns properties was applied in incorrect order