Skip to content

Commit

Permalink
chore: release v8.8.0
Browse files Browse the repository at this point in the history
* (@klein0r) Added option to register notifications via scripts
* (@klein0r) Fixed sendTo block with empty name list
  • Loading branch information
klein0r committed Aug 5, 2024
1 parent 72e8deb commit eaa4699
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 45 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG_OLD.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
The newest change log is in README.md
## 8.7.3 (2024-07-25)
* (@klein0r) Fixed script deletion (icon was missing)
* (@klein0r) Fixed some translations and Blockly definitions

## 8.7.2 (2024-07-23)
* (foxriver76) fixed subpath imports with controller v6 (needs js-controller v6.0.9)

Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Executes Javascript, Typescript Scripts.
<!--
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
### 8.8.0 (2024-08-05)
* (@klein0r) Added option to register notifications via scripts
* (@klein0r) Fixed sendTo block with empty name list

Expand All @@ -44,10 +44,6 @@ Executes Javascript, Typescript Scripts.
### 8.7.4 (2024-07-27)
* (foxriver76) added fallback to require the adapters `request` module if no own installed

### 8.7.3 (2024-07-25)
* (@klein0r) Fixed script deletion (icon was missing)
* (@klein0r) Fixed some translations and Blockly definitions

## License
The MIT License (MIT)

Expand Down
10 changes: 5 additions & 5 deletions admin/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"files": {
"main.js": "/static/js/main.e4f5e01c.js",
"main.js": "/static/js/main.d79356b6.js",
"static/css/253.d364a287.chunk.css": "/static/css/253.d364a287.chunk.css",
"static/js/253.90484e41.chunk.js": "/static/js/253.90484e41.chunk.js",
"static/js/253.22103681.chunk.js": "/static/js/253.22103681.chunk.js",
"static/js/498.79fdd20e.chunk.js": "/static/js/498.79fdd20e.chunk.js",
"static/js/160.207f86ee.chunk.js": "/static/js/160.207f86ee.chunk.js",
"static/js/586.cfd14ef3.chunk.js": "/static/js/586.cfd14ef3.chunk.js",
Expand Down Expand Up @@ -145,9 +145,9 @@
"static/media/Garage Doors.svg": "/static/media/Garage Doors.0c2a1cfca7ad1ea59625.svg",
"static/media/Outdoor Blinds.svg": "/static/media/Outdoor Blinds.37b85a9c060a4af48da9.svg",
"static/media/Upstairs.svg": "/static/media/Upstairs.441813e54e0daca0882d.svg",
"main.e4f5e01c.js.map": "/static/js/main.e4f5e01c.js.map",
"main.d79356b6.js.map": "/static/js/main.d79356b6.js.map",
"253.d364a287.chunk.css.map": "/static/css/253.d364a287.chunk.css.map",
"253.90484e41.chunk.js.map": "/static/js/253.90484e41.chunk.js.map",
"253.22103681.chunk.js.map": "/static/js/253.22103681.chunk.js.map",
"498.79fdd20e.chunk.js.map": "/static/js/498.79fdd20e.chunk.js.map",
"160.207f86ee.chunk.js.map": "/static/js/160.207f86ee.chunk.js.map",
"586.cfd14ef3.chunk.js.map": "/static/js/586.cfd14ef3.chunk.js.map",
Expand All @@ -164,6 +164,6 @@
"577.48df0cd2.chunk.js.map": "/static/js/577.48df0cd2.chunk.js.map"
},
"entrypoints": [
"static/js/main.e4f5e01c.js"
"static/js/main.d79356b6.js"
]
}
10 changes: 4 additions & 6 deletions admin/google-blockly/own/blocks_sendto.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Blockly.Blocks['sendto_custom'] = {
mutationToDom: function () {
const container = document.createElement('mutation');

container.setAttribute('items', this.attributes_.join(','));
container.setAttribute('items', this.attributes_.map(a => encodeURIComponent(a)).join(','));

return container;
},
Expand All @@ -153,10 +153,8 @@ Blockly.Blocks['sendto_custom'] = {
this.attributes_ = [];

const names = xmlElement.getAttribute('items');
if (names) {
for (const name of names.split(',')) {
this.attributes_.push(name);
}
for (const name of names.split(',')) {
this.attributes_.push(decodeURIComponent(name));
}

this.itemCount_ = this.attributes_.length;
Expand Down Expand Up @@ -251,7 +249,7 @@ Blockly.Blocks['sendto_custom'] = {
if (!input) {
input = this.appendValueInput('ARG' + i).setAlign(Blockly.ALIGN_RIGHT);
input.appendField(this.attributes_[i]);
} else {
} else if (input.fieldRow.length >= 1) {
input.fieldRow[0].setValue(this.attributes_[i]);
}

Expand Down
2 changes: 2 additions & 0 deletions admin/static/js/253.22103681.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin/static/js/253.22103681.chunk.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions admin/static/js/main.d79356b6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions admin/static/js/main.d79356b6.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit eaa4699

Please sign in to comment.