Total.js Platform
Total.js Platform

Total.js Platform news and tutorials

January report 2024

January report 2024


New apps

Total.js framework 5

  • added alias Array.TfindIndex (because some of NPM used their own)
  • fixed node_modules path for the NPMINSTALL() method
  • added String.tslash() that removes the trailing slash
  • added support for custom Route API actions
  • fixed Route API params validation
  • fixed String.args() for evaluting keys with $ character
  • fixed loading FlowStreams without identifiers
  • fixed serializing TMS sources in the Flow module
  • fixed ul parsing in the Markdown parser
  • added a new method FlowInstance.remove()
  • added handling of unexpected errors when the FlowStream worker is killed manually
  • fixed minification for already minified files (js/css/html)
  • improved exporting Flow schema
  • added a new config key CONF.$api for declaring a default API endpoint (default value: /admin/)
  • added support for the ? character in the routes (replaced with CONF.$api value)
  • improved F.require() method

Total.js framework 4

  • added alias Array.TfindIndex (because some of NPM used their own)
  • added String.tslash() that removes the trailing slash
  • added error argument in the jsonschemaobject.transform(data, partial, [error]) method
  • removed callback argument in the jsonschemaobject.transform(data, [callback], partial) method
  • added support for custom Route API actions
  • fixed String.args() for evaluting keys with $ character
  • fixed loading FlowStreams without identifiers
  • fixed serializing TMS sources in the Flow module
  • fixed ul parsing in the Markdown parser
  • added a new method FlowInstance.remove()
  • added handling of unexpected errors when the FlowStream worker is killed manually
  • improved exporting Flow schema

Total.js UI Library

  • added exports.format([path]) method in the Plugin scope
  • improved String.args(name, [encode]), the encode argument can be the function(val, key)
  • fixed obtaining of WW and WH variables (found a problem in Firefox in iframes)
  • added NAV.ua property with parsed user agent
  • DEF.api can be a function(url, data) and it must return a string

Total.js icons

We created new icons:

New icons

UI components

  • NEW: added Tangular-RGBA helper
  • fixed x, y config values in the j-Menu
  • added closebutton option for j-FlowEditor
  • added closebutton option for j-UIEditor
  • improved iframe in j-UIEditor
  • improved iframe in j-FlowEditor
  • fixed slug and id types in j-Input
  • added support for paths to j-UIEditor
  • fixed positioning in j-Info
  • improved code in j-ImageView
  • added contextmenu config option to j-Folder
  • added support for response.exec - a custom JS script in j-UIStudio
  • added support for cancel callback argument in j-Approve
  • fixed caller in the j-Exec component
  • fixed indentation in Firefox in j-CloudEditor and j-CloudEditorSimple
  • disabled j-ImageViewer for mobile devices
  • fixed minheight + Firefox shortcuts in j-CodeMirror
  • added DEF.color sending to the iframe in j-UIEditor
  • added DEF.color sending to the iframe in j-FlowEditor
  • extended configuration by adding onrequest and flowoutput in j-UIStudio
  • fixed Set today functionality in the j-DatePicker component
  • improved size of icons in j-DataGrid inline buttons
  • fixed parsing <ul> in j-Markdown
  • added support for uploading via DataURI in the <iframe /> mode in the j-UIEditor component
  • fixed icon argument in the j-Message component

Flow

  • moved to Total.js v5
  • added j-Prompt UI component
  • fixed localization for months/days
  • fixed error highlighting
  • updated icons
  • added support for Total.js Plugins
  • fixed CodeMirror parent option

Flow components:

  • added a new component Total.js Action
  • added a new component Total.js Route
  • added a new component Total.js Response
  • added a new component Total.js API Router
  • added a new component Total.js WebSocket route
  • improved DataSorter added support for the refs keyword

Flow Editor

  • moved to Total.js v5
  • added j-Prompt UI component
  • updated Total.js UI library
  • updated icons
  • added support for ...&color=HEX URL query argument
  • fixed localization for months/days
  • fixed error highlighting
  • fixed CodeMirror parent option

Flow Editor (offline)

  • moved to Total.js v5
  • added j-Prompt UI component
  • updated Total.js UI library
  • updated icons
  • fixed localization for months/days
  • fixed error highlighting
  • fixed CodeMirror parent option

Total.js Code editor

  • updated Total.js UI library
  • updated icons

OpenReports

  • moved to Total.js v5
  • added better error handling

Todomator

  • moved to Total.js v5
  • fixed generating th first login credentials
  • fixed icons in Firefox
  • added period in the form year/month to the ticket list
  • added auto-refreshing parts after idle time
  • added watchers for tickets
  • added backup for the ticket markdown body
  • updated UI components
  • added update SQL script for new changes (must be executed manually in PostgreSQL)
  • added total spent time for folders in the folders section

CMS

  • moved to Total.js v5
  • improved UI in Dashboard plugin
  • added ImageViewer component to the WebUI
  • improved CMS editor by adding select widget button
  • improved list of files
  • improved navigation section
  • disabled HTML minification for CMS pages due to performance

Widgets:

  • added a new widget ImageLinks
  • added a new widget Custom HTML Code
  • added a new widget Bufferwall
  • added support for ImageViewer for Images widget
  • added support for ImageViewer for Picture widget

OpenPlatform

  • moved to Total.js v5
  • removed advanced tags like transparency or allow from iframes
  • added a new documentation section with a FAQ

UI Builder

  • moved to Total.js v5
  • added j-Prompt UI component
  • fixed loader for missing settings file
  • added support for CMS implementation
  • fixed instance.reconfigure() method
  • fixed editor mode
  • improved calling outputs in the compiler
  • added support for auto values in .render and .settings properties in the components
  • added support for ...&color=HEX URL query argument
  • improved generating list of inputs/outputs
  • improved rendering #outputs and #inputs data sources (added a component name)
  • fixed instance.read() with negative values
  • added support for uploading via DataURI in the <iframe /> mode
  • improved Settings form
  • fixed component origin until compilation

Components:

  • NEW: added HiddenValue component
  • fixed sending undefined data in FlowOutput
  • modified exporst.render and exports.settings in all UI Builder components on our CDN