You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
(@GermanBluefox) The plain text export named its files after the script ID instead of the script name, so every dot of a name came out as an underscore - HK-Balkontuer_v0.1 was exported as HK-Balkontuer_v0_1.js, and importing it back renamed the script to that. The files are now named after the script (#2364)
(@GermanBluefox) Importing a plain text export treated a dot inside a file name as a folder level, so PW-TV-Control_v0.6.js created a folder PW-TV-Control_v0 containing a script named 6. Only the directories of the ZIP are folders now (#2364)
(@GermanBluefox) The folder icons in the script tree were drawn at less than half the size of the script icons next to them: they spaced themselves with a padding, and since CssBaseline sets box-sizing: border-box that padding was subtracted from their 20px instead of being added to them. They use a margin now, like the script icons always did (#2360)
(@GermanBluefox) The log below the editor could not be resized while a script was open: the editor area guessed its height from the height the tabs and the toolbar were expected to have, hung over the bottom edge of its pane and covered the 8px splitter with the horizontal scrollbar of the editor, which swallowed the mouse click. The three parts now share the height as a flex column (#2351)
(@GermanBluefox) The script list cut off long names, although there was still free space next to them: the space for the buttons at the end of a row was a fixed 185px, which is more than the three buttons occupy, and it did not account for the icon column
(@GermanBluefox) Fixed the Blockly comment block: the text was written in white on the yellow block and could not be read, the editor opened somewhere else on the page instead of over the block, and on a smartphone or tablet it did not open at all and left the whole workspace unusable until the page was reloaded (#2348)
(@GermanBluefox) Fixed the script mirror for folder names containing regular expression characters: a folder called e.g. Lampen (Flur aborted the synchronization with a SyntaxError, a folder called e.g. [ab] silently synchronized the scripts of another folder (#2239)
(@GermanBluefox) The Blockly block "http (POST)" got a "content type" selector, so an API that insists on Content-Type: application/json no longer needs an exec block. "automatic" is the default and behaves exactly as before, "own" allows any other type (#1983)
(@GermanBluefox) getSchedules() returned the schedules of the time wizard of all scripts, even without the argument true. Now only the schedules of the own script are returned (#2164)
(@GermanBluefox) clearSchedule() did not accept the objects that getSchedules() returns for schedules of the time wizard, so such a schedule stayed in the script and in the schedule counter (#2164)
(@GermanBluefox) clearSchedule() can now clear the CRON jobs of other scripts too, as documented for getSchedules(true) (#2164)
(@GermanBluefox) getSchedules() no longer lists the already canceled schedules of the own script in an onStop callback (#2164)