@unitybase/adminui-vue #
Added #
1.15.0 2021-01-28 #
UAutoField.vue
: all listeners of the parent component are now concatenates with a child component listeners, and parent events will work without specifying the.native
modifier. This allows to create au-auto-field
descendants as such:
Before this changes// DocAutoField.vue <template> <u-auto-field v-if="!isHidden(attributeName)" :required="isRequired(attributeName)" v-bind="$attrs" :attribute-name="attributeName" v-on="$listeners" /> </template> // using <doc-auto-field @input="setJournalIDs(false)" />
setJournalIDs
never called.FileRenderer
component support preview of video content. Warning - reverse proxy MUST be enabled in application config on production environment ( see Reverse proxy tutorial ) to support partial (using Content-Range HTTP header) download of huge video files.
Changed #
1.15.1 2021-01-30 #
- for
video
content FileRendered disable a preload to decrease a server load. User should press aplay
button to view a video.
1.15.0 2021-01-28 #
- UFile in
previewMode: true
(FileRenderer component) uses direct URL (generated by UB.connection.getDocumentURL) to display a BLOB content. Before this changes BLOB content are loaded into browser memory into Blob object, so huge files (video for example) can't be displayed. With a direct URL HTMLElement can decide how much of content should be loaded, for example:<video>
element loads a file by a small chunks (using Content-Range HTTP header)- PDF renderer can load PDF page-by-page in some case
<img>
element can start to display content while it not fully loaded, for example for jpeg format and so on.
Download
action of BasePanelDocument
menu uses new methodUBApp.downloadDocument
to save a document to the file system without loading it into browser memory.
1.14.4 2021-01-26 #
UNavbarSearchButton
: full text search do not split query on tokens (lexemes) if first character is "№"
Removed #
1.15.0 2021-01-28 #
- UFile/helpers/FileLoader.js is removed (contains one-line functions what duplicate existed
AsyncConnection
methods)
Fixed #
1.15.1 2021-01-30 #
- UTableEntity filter for attributes of type
ID
now uses the same set of available conditions as for type BigInteger. Before this fix available conditions areequal
andcontains
. The second one dose not make sense at all - PDF file are previewed correctly (fixed in @unitybase/blob-stores@5.6.0)
1.14.4 2021-01-26 #
- user authentication and re-login form will trim a user name before pass it to UBConnection. This fix login error in case user type a space in the end of then user name.
@unitybase/adminui-pub #
Added #
5.15.0 2021-01-28 #
- new method
UBApp.downloadDocument
- Download a document from BLOB store directly into a file without loading it into memory as withgetDocument
. Can be used to download a huge documents what do not fit in the browser memory.
5.14.5 2021-01-26 #
BasePanel
usesAsyncConnection.prototype.emitEntityChanged
to emit${entityCode}:changed
event.
Changed #
5.15.0 2021-01-28 #
Download
action of BasePanelDocument
menu uses new methodUBApp.downloadDocument
to save a document to the file system without loading it into browser memory.
Fixed #
5.15.1 2021-01-30 #
- for dirty documents
UBApp.downloadDocument
adds afileName
parameter to URL, so server can add a correctContent-Type
header - PDF file are previewed correctly (fixed in @unitybase/blob-stores@5.6.0)
5.15.0 2021-01-28 #
- set default width for multi-filter combobox
@unitybase/blob-stores #
Changed #
5.5.12 2021-01-30 #
- BREAKING
getDocument
endpoint return a BLOB content withoutContent-Disposition
header. To download a BLOB store content with original file name new method of @unitybase/adminui-pub$App.downloadDocument
should be used.
For frontends without adminui-pub download
attribute of a
HTML element can be used: <a href=... download="origFileName">
@unitybase/cs-shared #
Fixed #
5.5.16 2021-01-17 #
- improved JSDoc
@unitybase/mailer #
Added #
5.5.0 2021-01-17 #
- TubMailSender.login method - must be called in case deferLogin === true in a constructor.
- TubMailReceiver.login method - must be called in case deferLogin === true in a constructor.
- temporary added a
Mailer:..
debug messages to locate a source of AV in sending mail - if compiled with -dMAILAV_TEST POP3/ST wrote additional logs into /tmp/ub_mailerlog.txt
Changed #
5.5.0 2021-01-17 #
- Linux: recompile module with FPC_SYNCMEM support (aligned memory allocations)
Fixed #
5.5.0 2021-01-17 #
- attachment
contentID
property(if specified) handled for bothText
kind of attachment andFile
kind, not only for Text kind as before this fix. contentID property is used in HTML e-mails to identify pictures in HTML what placed in attachments.
@unitybase/openid-connect #
Changed #
5.1.57 2021-01-30 #
- use
req.getHeader('origin')
to get aOrigin
header value
@unitybase/ub-pub #
Added #
5.8.1 2021-01-30 #
AsyncConnection.getDocumentURL
- fileName parameter added - must be set for dirty documents to get a valid Content-Type header from server.
5.8.0 2021-01-28 #
- new method
AsyncConnection.prototype.getDocumentURL
- return a http link to the "Document" attribute content which is valid for the duration of the user session
5.7.0 2021-01-17 #
UB.LocalRepository
- client side UB.Repository analogue for local data. Can be used as a repository for Vue based data controls:<template> <u-select-multiple v-model="mappings" valueAttribute="code" :repository="getLocalDataRepository" entityName="frm_Attribute" displayAttribute="name" /> </template> <script> module.exports.default = { methods: { getLocalDataRepository() { return UB.LocalRepository( {data: [['01', 'Jon'], ['02', 'Bob']], fields: ['code', 'name'], rowCount: 2}, 'frm_Attribute' }).orderBy('name') } } } </script>
Fixed #
5.7.2 2021-01-26 #
LocalRepository.clone()
will copy a private_localData
of source repository to destination (as reference!)
@unitybase/uba #
Fixed #
5.4.57 2021-01-26 #
- copying of master record and all collection items - collection item attributes are assigned with ID of the copy of the master record in case they point to the master entity record (not just entity)
- correct
ru
andtg
localization of the caption forModels versions
shortcut - Audit Trail form: fixed
Cannot read property 'dataType' of undefined
for audit records what contains a multi-language column diffs [UBDF-12673] - Audit Trail form: exclude
mi_wfState
from attributes hidden in diff (ID && mi_* except mi_wfState are hidden) [UBDF-12673]
@unitybase/ubm #
Added #
5.4.46 2021-01-19 #
- shortcut editor - added template (Ctrl + Q) for Vue based
showList
command
@unitybase/ubq #
Added #
5.4.29 2021-01-17 #
- e-mail sending job uses deferred SMTP log-in (helps to locate a source of AV during sending some mails)
Changed #
5.4.29 2021-01-17 #
- e-mail sending job pass a path to the blob store file into UBMailSender instead of reading a file content into JS memory and pass it as base64. This decrease JS memory usage and breaks a long BASE64 string into 78-char lines as required by RFC-5322
Fixed #
5.4.32 2021-01-28 #
- ubqMailjob (e-mail sender) will add a fake attachment with text
File not exists, please forward this message to administrator
in case attached file not exists in file-based BLOB store
5.4.30 2021-01-19 #
- mail sending job: fix attachments (should use isBase64: false when attached from file)
5.4.29 2021-01-17 #
- mail sending job calls a logout from mail server in finally block. This force closing POP3 connection in case MTA returns an error.
@unitybase/ubs #
Fixed #
5.4.50 2021-01-11 #
- Default report script now does not crash report execution with error 500
@unitybase/xlsx #
Changed #
5.1.58 2021-01-11 #
- improve building of
xf
andalignment
tags (not add excessive spaces in the end) in order to provide safe parsing it by xlsx Earlier:<xf xfId="0" applyFont="1" ></xf>
, now:<xf xfId="0" applyFont="1" ></xf>