Commit Graph
12 Commits
Author SHA1 Message Date
salman 9d88fa5d65 Harden the scan pipeline: input validation, RNG freeze, and re-entrancy guard
- Expand From/Step/To scans count-based so descending (negative-step)
  scans work, reject zero/unreachable ranges, and cap points at 5000
- Give parse_formula an unbalanced-bracket guard instead of an infinite
  loop and use direct recursion
- Return {ok:false,error} from CreateInpFile and validate projectile,
  layer composition, density, and thickness instead of the erroneous
  ErrMsg/$ErrMsg path
- Freeze the RNG backend after prep_cfg refreshes All and pass it through
  writeAsciiFileAsync so scans never mix generators mid-flight
- Wrap startSequence with a run-in-progress guard, disable the Run button,
  and snapshot runWorkPath for all output writes
- Unify web/Electron readAsciiFileAsync to throw instead of returning 0
- Make checkDir synchronous (mkdirSync) and honor its return value
- Fix setValues/template substitution parsing and write web input files
  byte-identical to Electron
- Track deferred seed-validation and input-cap work in ToDo.txt
2026-09-26 16:08:44 +02:00
salman 737666cea7 Make cgi non-blocking and borrow more ideas from muSRFlow 2026-09-18 23:06:01 +02:00
salman 4236f9450a Release Workbench 1.5.0 with sharing help 2026-08-28 15:04:02 +02:00
salman 8061f389fe Improve web results and diagnostics 2026-08-27 21:42:31 +02:00
salman cae1271788 Update names following the modernized version and associated paper. 2026-08-14 16:03:27 +02:00
salman dffbd1f6ea Adapt the web backend for the rng selection. 2026-06-25 23:53:10 +02:00
salman aa2766a69d Use POST instead of GET to exchange info with webservers and load ascii data with the correct mimetype. 2023-04-07 16:15:49 +02:00
salman 58e3b44706 Fix bug with html link not being updated. 2023-01-12 10:19:56 +01:00
salman 79b35a9f78 Cleanup. 2023-01-11 23:56:27 +01:00
salman 0bf513a9ad Bug fixes and final modifications. 2023-01-11 23:54:19 +01:00
salman 7fce9c5d12 Unified web and standalone versions done. 2023-01-11 22:40:43 +01:00
salman ac3e1ea0d6 First working version for both web and node.js 2023-01-11 21:53:42 +01:00