[OFFICIAL RELEASE] 10.1.3 - #2366
Merged
Merged
Conversation
* (@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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HK-Balkontuer_v0.1was exported asHK-Balkontuer_v0_1.js, and importing it back renamed the script to that. The files are now named after the script ([Bug]: Java Script names are incorrectly handled during export and when renaming/copying scripts #2364)PW-TV-Control_v0.6.jscreated a folderPW-TV-Control_v0containing a script named6. Only the directories of the ZIP are folders now ([Bug]: Java Script names are incorrectly handled during export and when renaming/copying scripts #2364)CssBaselinesetsbox-sizing: border-boxthat padding was subtracted from their 20px instead of being added to them. They use a margin now, like the script icons always did (Folder icons in the script tree are rendered much smaller than the script icons #2360)Lampen (Fluraborted the synchronization with aSyntaxError, a folder called e.g.[ab]silently synchronized the scripts of another folder ([Bug]: Potential Denial of Service in script mirror synchronization due to incomplete RegExp escaping #2239)Content-Type: application/jsonno longer needs anexecblock. "automatic" is the default and behaves exactly as before, "own" allows any other type (Add "Content-Type: application/json" to httpPost block #1983)getSchedules()returned the schedules of the time wizard of all scripts, even without the argumenttrue. Now only the schedules of the own script are returned ([Bug]: clearSchedule not clearing schedules #2164)clearSchedule()did not accept the objects thatgetSchedules()returns for schedules of the time wizard, so such a schedule stayed in the script and in the schedule counter ([Bug]: clearSchedule not clearing schedules #2164)clearSchedule()can now clear the CRON jobs of other scripts too, as documented forgetSchedules(true)([Bug]: clearSchedule not clearing schedules #2164)getSchedules()no longer lists the already canceled schedules of the own script in anonStopcallback ([Bug]: clearSchedule not clearing schedules #2164)