Added
5.24.22 2024-08-28
- new component
UPdfViewerExt
- advanced PDF viewer with features:
- manage toolbar buttons; - add a watermark to a PDF document;
- highlight key-value pairs, tables and annotations in the PDF document;
- add and remove annotations in a PDF document;
- search for text in a PDF document (with highlighting);
Can be enabled by set
ubConfig.uiSettings.adminUI.pdfViewer.extendedPdfViewer: true
.
Recommended config section with ENV variables is:
"uiSettings": {
"adminUI": {
//....
"pdfViewer": {
"uriSuffix": "%UB_PDF_URI_SUFFIX||#view=FitH%",
"extendedPdfViewer": %UB_USE_EXTENDED_PDF_VIEWER||false%,
"allowPrint": %UB_PDF_ALLOW_PRINT||true%,
"allowDownload": %UB_PDF_ALLOW_DOWNLOAD||true%,
"allowAnnotations": %UB_PDF_ALLOW_ANNOTANION||false%
}
}
5.24.21 2024-08-16
- webDav:
openInApp
in case options.forEdit===false
now adds a /ro/
part into URL. Such part is handled by @ub-e/web-dav@5.3.3
as a read-only mark. This fixes the behavior in Microsoft Office on Windows that allows you to switch to edit
mode (and, accordingly, apply a lock on the document) even if the URI has the form ofv
Fixed
5.24.22 2024-08-28
- in case password in expired, hint on password change dialog during login will display correct min password
length (a value of
UBA.passwordPolicy.minLength
UBS setting key), instead of 3
lookups
: keep the ID
attribute for next loading after removing the last subscription.
Previously after first unsubscribing every next subscription loads data without ID
.
On some DB dialects it fails since limiting query without order by or ID in fieldList is prohibited
or after success loading the mapById
was not filled rightly at all {undefined: {...}}
Changed
5.24.94 2024-08-16
- ExtJS grid: "favorites" and "categories" columns now add
{expression: aa, condition: bb, value: XX}
where item
instead of deprecated {expression: aa, condition: bb, values: { value: XX}}
5.24.93 2024-08-09
- UBExtension.crx upgraded to Chrome Manifest V3
Added
5.24.13 2024-08-09
- new BLOB store parameter
checkForMaliciousPDF
. If true
- server do not allow uploading PDFs with JavaScript code inside.
Because such PDFs cant still any sensitive data from UB frontend, but validation consume additional memory and CPU - default is false
Changed
1.1.41 2024-08-28
- files panel: sort folders - alphabetically in reverse order (newer date first)
Changed
5.0.4 2024-08-28
- pdfjs updated 3.7.107 -> 4.5.136
Added
5.24.14 2024-08-09
- added localization for
attemptToUploadBadPDF
error "Uploading PDF files containing embedded JavaScript is prohibited"
Added
5.25.34 2024-08-28
- added documentation for new parameters in
ubConfig.uiSettings.adminUI.pdfViewer
section:
extendedPdfViewer
: false by default, if true - use our new extended PDF viewer)
allowDownload
: for extended PDF viewer - show (by default) or hide Download
button
allowPrint
: for extended PDF viewer - show (by default) or hide Print
button
allowAnnotations
: for extended PDF viewer - show or hide (by default) Add annotation
button
5.25.32 2024-08-09
- added documentation for new
checkForMaliciousPDF
BLOB store parameter
Added
5.24.17 2024-08-28
changePassword
endpoint now can return password policies (displayed in hint on password change dialog during login),
if called as /changePassword?getPasswordPolicy=true
Added
5.25.40 2024-08-28
- added ability to pass a certificate (parameter [-cert /part/to/signing.cer]) into
ubcli crypt hash
command.
In case certificate is passed - hashing parameters are taken from cer
file.
- new
ubcli
command signAsic
- create an ASiC-E-CAdES container for file(s). Example:
ubcli crypt signAsic "./TestDoc2.docx;/./test.txt" -k ./Key-6.dat -i # create signature for 2 files into ./TestDoc2.docx.asice
ubcli crypt verify ./TestDoc2.docx.asice # verify signature