ub-server #

Added #

4.1.0-beta.8 2017-10-29 #
  • getDomainInfo will return a JSON-encoded appConfig.connection.advSettings (allow to use a special chars, for example to define apath to Postgres DB driver)
4.1.0-beta.7 2017-10-28 #
  • VS Code debugging support
4.1.0-beta.6 2017-10-27 #
  • Session.on('logon') event now take a req: THTTPRequest input param
  • advanced security (Associating a user with a keyMedia, IP address & device fingerprint) + new version 1.0.0.7 of IITCrypto feature [UB-1817] [UB-1818] [UB-1819]
4.1.0-beta.5 2017-10-26 #
4.1.0-beta.4 2017-10-25 #
  • more verbose console error in case URL is not registered in HTTP.SYS table
4.1.0-beta.3 2017-10-24 #
  • App global object now accessible inside WebSocket thread
  • folderMD5 optimization - in case folder contains package.json calc only MD5 for this file (not for all files in folder)
4.1.0-beta.2 2017-10-23 #
  • JavaScript engine upgraded to SpiderMonkey 52 (required vcredist 15 to be installed (included in UnityBaseSetup.exe)

Changed #

4.2.0 2017-10-30 #
  • rules for cache files with meta and def extension using ETag are removed from defHeadersPostprocessors.json
4.1.0-beta.7 2017-10-28 #
  • improved UI authentication nonce algorithm (prev. implementation fails in case service alive > 49 days)
  • session deprecation will be checked once per second instead of every HTTP request (speed up a little for a big amount of clients)

Fixed #

4.2.0 2017-10-30 #
  • PostgreSQL: fix port parsing from connection config (prev implementation ignore port and always use a default 5432)
  • getDomainInfo in extended mode will return entity definition even if entity don't have methods (virtual entity for example)
4.1.0-beta.7 2017-10-28 #
  • in case UB setup executed with /VERYSILENT option do not show a VC++ redistributable installation messages
4.1.0-beta.6 2017-10-27 #
  • UnityBaseSetup.exe will override a existing setup even if UB.exe version has not changed
  • prevent AV in case JS throw plain value instead of Error object
4.1.0-beta.5 2017-10-26 #
  • fix authentication in case both Negotiate and UBIP schema are enabled
  • raise error in case of recursive calls to Session.runAs*
  • correctly handle server-side Error inheritance in JS (assert.AssertionError, UB.UBAbort)
  • remove call to Session.runAs* in App.domainInfo getter to prevent recursion
4.1.0-beta.4 2017-10-25 #
  • broken Negotiate authentication
4.1.0-beta.3 2017-10-24 #
  • In case socket for JavaScript debugger is busy - put corresponding error to console with explanation
4.0.0-beta.1 2017-10-22 #
  • Buffer.from(text, 'base64')

@unitybase/adminui-pub #

Added #

4.2.35 2017-10-25 #
  • BasePanel.on('manualsaving') events added. Fires just after USER manually call save action (press save button or Ctrl+S shortcut) but before data passed to a server for update/insert.
4.2.34 2017-10-24 #
  • Developer can intercept data, returned from server as a result to select method, executed by BasePanel. To do this BasePanel.on('recordloaded') event handler now called with 2 parameters (record, data), where record is instance of Ext.data.Model for current form and data is a raw server result
  • Developer can intercept data, passed by BasePanel to entity insert/update method just before it's going to server by subscribe to BasePanel.on('beforesave') event. Event handler accept 2 parameters (me: BasePanel, request: UBQL). Developer can modify request inside handler.
4.2.33 2017-10-13 #
  • UBBadge control, pulled and adopted code originally developed for "bpm" subsystem. Display an enum attribute as a badge on a form:
    {attributeName: 'status', xtype: 'ub-badge'}
    
    When need to use badge as a static label, not linked to attribute and / or enum, use configuration like the following:
    {
      xtype: 'ub-badge',
      itemId: 'overdueBadge',
      text: UB.i18n('bpm_Task_overdue'),
      invert: true,
      cssClass: 'red'
    
    For this to work, an initModel.js file (there must be one for your model) shall contain the following initialization code:
    UB.ux.UBBadge.setCssMap(
      'MY_ENTITY_STATUS',
      {
        'pending': 'blue',
        'in-progress': 'yellow',
        'error': 'red',
      },
      // Use invert style
      true
    )
    
    To use it in grid:
    initComponent: function () {
      var myGridComponent = this.items[5] // reference to grid
      var fieldList = UB.Utils.convertFieldListToExtended(myGridComponent.fieldList)
      UB.ux.UBBadge.setupRenderer(fieldList, 'status', 'MY_ENTITY_STATUS')
      this.callParent(arguments)
    },
    

@unitybase/base #

Added #

4.2.23 2017-10-26 #
  • FileBaseStoreLoader now use a CRC32(fileDate.toString()) to calculate a cache version (UB only). Prev. implementation based on max file modification date fails in case we updated something backwards.
4.2.21 2017-10-05 #
  • argv.establishConnectionFromCmdLineAttributes can accept a -timeout command line which set a connection receive timeout. Default timeout increased to 120 sec to allow a long-live script execution.

@unitybase/ub-pub #

Changed #

4.4.11 2017-10-12 #
  • In case of session persistent clear the session key only for 401 response status (instead of all > 300)

Fixed #

4.4.13 2017-10-17 #
  • UBNotifierWSProtocol do not connect with server after UBConnection restore session. The session can be restored when configuration parameter allowSessionPersistent = true.
  • Bug with parsing message of UBError: string caught by regexp is caught from JSON representation, not from original error message, therefore, the error message is JSON encoded string, which means the double-quotes would be encoded with backslashes, which does not look good
  • i18n now recognizes entity and attribute names so that UB.i18n('uba_user') or UB.i18n('uba_role.description') would be resolved to localized entity caption or entity attribute caption

@unitybase/uba #

Changed #

4.1.32 2017-10-12 #
  • uba_als.code length increased to 128 to allow developer to create a unique ELS rule codes based on code = role.name + entity.name + method.name pattern

@unitybase/ubcli #

Added #

1.2.0 2017-10-23 #
  • DDL generation for PostgreSQL including latest PostgreSQL 10 release. Required UB >= 4.1.0beta.8

Changed #

1.0.41 2017-10-07 #
  • ublci createCodeInsightHelper command now generate entities stubs using standard JS code style