Skip to content

Fixed defects found - #68

Merged
petersirka merged 2 commits into
totaljs:masterfrom
totaljs-es:master
Nov 16, 2026
Merged

petersirka merged 2 commits into
totaljs:masterfrom
totaljs-es:master

Conversation

@Gera-G-Guiles

Copy link
Copy Markdown
Contributor
  • cron: */n and a/n step values (*/5 in the minutes ran every minute)
  • WebSocketClient.sendcustom(): undefined self
  • RESTBuilder: robot()/mobile() add their token to the User-Agent, error() with an empty array, maxlength() (REQUEST options limit, redirects and nocookies were never applied)
  • operations: $.DB()
  • CALL().language()
  • String.count(), String.args(obj, encode, def), U.set() with a function, U.toURLEncode() with dates
  • NoSQL builder: hour(), minute(), log(), gridfields(), autoquery() sorting, relation()
  • mail: high(), low(), confidential(), mail_api, the callback with several messages and on a reused SMTP connection
  • WebSocket controller: secured
  • inline &middleware in FILE and WebSocket routes
  • SESSION(name, [ondata]) and session.clear() count

Each fix has a runnable test in tests/ (cd tests && node .js) that fails on the previous code.

- cron: `*/n` and `a/n` step values (`*/5` in the minutes ran every minute)
- WebSocketClient.sendcustom(): undefined `self`
- RESTBuilder: robot()/mobile() add their token to the User-Agent, error() with an empty array, maxlength() (REQUEST options limit, redirects and nocookies were never applied)
- operations: $.DB()
- CALL().language()
- String.count(), String.args(obj, encode, def), U.set() with a function, U.toURLEncode() with dates
- NoSQL builder: hour(), minute(), log(), gridfields(), autoquery() sorting, relation()
- mail: high(), low(), confidential(), mail_api, the callback with several messages and on a reused SMTP connection
- WebSocket controller: secured
- inline &middleware in FILE and WebSocket routes
- SESSION(name, [ondata]) and session.clear() count

Each fix has a runnable test in tests/ (cd tests && node <file>.js) that fails on the previous code.
- images: trim(), minify(), measure() with a stream, HttpFile.image() with ImageMagick
- HTML parser find(), NEWMACRO() with if/else in names, the debug watcher of .html components
- API: apicall.done(), TotalAPI output to a file
- INMEMORY(): clear(), drop(), clean(), find2()
- cluster: request()/response() and on() with more listeners
- JSON schemas: $MAKE()/make() with schema.jsonschema(), $ref to #/definitions, tuple items, maxItems, maxProperties
- SQL and NoSQL: gridfields(), gridfilter() dates
- cache: persistent items, removeAll() with an array
- workers: F.worker.is/isfork, pool.count, replacing lost workers
- PROXY() and res.proxy() with a unix socket, CORS() preflight with header flags, @{breadcrumb}
- FlowStream: restart/reload without a worker, flowstream_error and stats events, the unix socket of worker flows (F.OS)

Each fix has a runnable test in tests/ (cd tests && node <file>.js) that fails on the previous code.
@petersirka
petersirka merged commit 2c735a9 into totaljs:master Nov 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants