Added
5.24.42 2025-02-12
- authentication form: for openIDConnect added memorisation of last used provider
UPdfViewerExt
: add possibility to overlap pdfjs translation. Example key for UB.i18n UPdfViewerExt.pdfjs.KEY_FROM_PDFJS
Changed
5.24.43 2025-02-15
UPdfViewerExt
: update some urgent (bad) EN translations
5.24.42 2025-02-12
- Notifications: updated notification text alignment from justified to left-aligned
UInput
: disabled locales form if the connected attribute field is read-only or disabled
Changed
5.24.117 2025-02-15
- update EN locale
scannerSettings
5.24.116 2025-02-12
- changed default rendering for data type Currency in EntityGridPanel (was 1000.00 became 1 000,00)
Changed
5.24.29 2025-02-15
- the BLOB store configuration parameter
newFolderMask
now accepts string values like "755" or "750"
Fixed
5.24.41 2025-02-12
- added missing translation for
Parent
in ro
locale
Fixed
5.23.24 2025-02-19
- fixed server crash with
EAccessViolation
in case Zip reader called with null
instead of String|Buffer
Added
5.24.11 2025-02-12
- added
UBSession.getOidcAuth
method: in case user is logged-in using openID returns an Authorisation
header
value to call external services
UB.connection.authorize().then(session => session.getOidcAuth()).then(UB.logDebug) // 'Bearer .....'
Changed
5.24.12 2025-02-15
- x2 speed-up of
LocalDataStore.selectResultToArrayOfObjects
(and therefore UB.Repository.selectAsObject()) by removing lodash
Fixed
5.24.13 2025-02-17
- Regression bug with
LocalDataStore.doSorting
Added
5.23.32 2025-02-12
UBMail.UBMailImap
: constructor has a new parameter UID
, which forces use "UID" protocol extension and
operate with UID instead of message sequence numbers.
This is a recommended way of message processing, but for backward compatibility, the default value is false
.
const imap = new UBMail.UBMailImap({
host: 'localhost',
port: '8993',
fullSSL: true,
auth: true,
user: cfg.mailUser,
password: cfg.mailPassword,
useUID: true
5.23.31 2025-02-06
TubMailSender.sendMail
now accept optional ccAddr
property - the CC address in email
UBMail.UBMailImap
: new methods:
setFlags
set a flag or set of space-separated flags for a message
addFlags
add a flag or set of space-separated flags for a message
delFlags
remove a flag or set of space-separated flags for a message
copy
copy a message to a destination folder
move
move a message to a destination folder
The new methods are useful for different mail processing scenarios:
- Mark processed messages with a flag (keyword)
- Move processed messages to another folder
const newSNs = imap.search('SINCE 5-Feb-2025 NOT KEYWORD Processed')
if (newSNs.length) {
for (let i = 0; i < newSNs.length; i++) {
const msg = imap.receive(newSNs[i])
const rawMsg = msg.fullText.read()
// ...
imap.addFlags(newSNs[0], 'Processed')
}
}
Changed
5.23.34 2025-02-17
- IMAP and POP3: connection timeout decreased from 60 seconds to 10. This allows exit quickly in case mail server is not accessible
- IMAP will fail immediately or in 10 seconds in case mail server host does not exist or not responds
Fixed
5.23.35 2025-02-19
- fixed server crash with
EAccessViolation
in case mailer function called with null
instead of Object
5.23.34 2025-02-17
5.23.33 2025-02-15
- Send email to CC recipients, not just add to headers
- Add support for Bcc for blind carbon copy
Added
5.24.35 2025-02-12
- Machine2Machine usage for OpenID: provider now can return authorisation token to communicate
between UnityBase server and other services, what uses OpenID. See openid-connect/README.md for details
Fixed
5.24.42 2025-02-12
- added missing translation for
Parent
in ro
locale
Changed
5.24.27 2025-02-15
Added
5.25.55 2025-02-27
@unitybase/ub
now exports THTTPRequest and THTTPResponse types, req\resp types resolves correctly if declareted as
const UB = require(`@unitybase/ub`)
/**
* This ugly `typedef` comment is only for VSCode, WebStorm not need it!
* @typedef {import('@unitybase/ub').THTTPRequest} UB.THTTPRequest
* @typedef {import('@unitybase/ub').THTTPResponse} UB.THTTPResponse
*/
/**
* @param {UB.THTTPRequest} req
* @param {UB.THTTPResponse} resp
*/
function scheduleOperation (req, resp) {
req. // here IDE now understand partameter type
5.25.52 2025-02-12
- a warning is added into log if the model loading time during thread initialization exceeds 200 ms
Chores
5.25.53 2025-02-15
- Fix minor errors in
ubConfig.schema.json
, add newFolderMask
BLOB store parameter
Added
5.25.59 2025-02-15
ubcli mail
: support -bcc
parameter to pass blind carbon copy address
5.25.58 2025-02-12
ubcli mail
: support -cc
parameter to pass carbon copy address
Fixed
5.25.59 2025-02-15
- the "createStore" command now accounts for the "newFolderMask" BLOB store setting
Added
5.24.40 2025-02-12
- Added
displayOrder
column for ubm_navshortcut
grid
Changed
5.24.44 2025-02-27
ubm_navshortcut
: localization for parentID
changed "Shortcut folder" -> "Shortcut group"
Fixed
5.24.43 2025-02-19
ShortcutTree
: added translation for directory searching in shortcut edit
Added
5.24.39 2025-02-12
mailQueue.queueMail
,ubqMailJob
: support cc
param to pass carbon copy address or array of addresses
Changed
5.24.41 2025-02-15
- If email sending job fails to send a message, it will log an error message to the UB log
mailQueue.queueMail
, ubqMailJob
: support bcc
param to pass blind carbon copy address or array of addresses
Fixed
5.24.42 2025-02-17
- CRITICAL: fix regression with mailer