Jeremy
80ecb997cf
Fix alexa toggle state attribute ( #1328 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-03-03 22:48:14 +01:00
dependabot[bot]
0da62ecd51
Bump lodash from 4.17.20 to 4.17.21 in /bundles/org.openhab.ui/web ( #1267 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
---
updated-dependencies:
- dependency-name: lodash
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 22:19:45 +01:00
Wouter Born
8378aefe7e
Fix more SAT findings ( #1318 )
...
This fixes ~100 SAT findings. It also adds some more null annotations to the HABot classes.
Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-01 09:16:53 +01:00
Frank Seidinger
8b91b2336e
Extract first line from multi-line thing description for the ThingType list item ( #1306 )
...
Fixes #1304 .
Signed-off-by: Frank Seidinger <fs@frank-seidinger.de>
2022-02-10 17:40:01 +01:00
Stewart Cossey
38358a703f
Floor plan features and bugfix ( #1302 )
...
* Add extra Leaflet Tooltip Settings
* Add direction, offset and opacity tooltip configuration.
* Adjustable tooltip colour
* Add icon rotation and iconStyle.
* tooltipStyle Bugfix (Marker code was checking for 'tooltipStyles' instead of 'tooltipStyle')
Closes #825 .
Fixes #1301 .
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2022-02-06 18:25:57 +01:00
Georg Siebke
7648724497
Floorplan: Set tap option to false ( #1297 )
...
Fixes #389 .
Fixes #1296 .
Signed-off-by: Georg Siekbe <mail@georgsiebke.de>
2022-02-06 18:22:22 +01:00
Stewart Cossey
6e060228e1
Add tern definitions for event, items.getItems ( #1292 )
...
Added event terns for the Trigger Types for both nashorn and openhab-js.
Add groupNames to Item (openhab/openhab-js#86 )
Add getItems
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2022-01-31 14:00:57 +01:00
Gautier
39fa259590
oh-label-item: only show state in after slot if not defined with after prop ( #1285 )
...
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-01-24 17:35:40 +01:00
Gautier
79d0a8a844
Location sensitive model tab pages sorting ( #1281 )
...
- When sorting 2 locations (Locations tab), sorting is first performed according to the ancestors widgetOrder, so that locations within the same parent appear grouped according to the choice of the administrator, then use the widgetOrder among all locations of the same parent, before finally using lexicographical comparison.
- When sorting 2 equipment (Equipment tab) or 2 properties (Properties tab), sorting is performed according to the widgetOrder. If undefined (or equal), sorting is performed according to the location (taking into account all ancestors). then only if undefined does lexicographical comparison takes place.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-01-21 19:41:02 +01:00
Gautier
e8bc0bf3f3
Disable user-select on user facing pages (run mode) to prevent text selection issues ( #1283 )
...
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-01-21 19:39:44 +01:00
Jeremy
1bdbdf9d21
Update alexa channel attribute ( #1284 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-01-19 18:16:50 +01:00
Jan Mattner
5b30761d60
[habot] Add german tests and training data ( #1274 )
...
Especially for the activate and deactivate object skills
and various declinsion of locations. Other skills needed more training
data to prevent bias by sole training data amount.
Fixes #1271 .
Signed-off-by: Jan Mattner <jan.mattner@gmail.com>
2022-01-19 17:59:12 +01:00
eugen
8fbf0394b5
fix homekit config - make boolean to text ( #1279 )
...
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-01-16 19:08:49 +01:00
stefan-hoehn
b10409f290
[Blockly] add hsb block, dict get, triggeredEvent, check value, inline script ( #1261 )
...
Merging after finishing this PR following @stefan-hoehn's request.
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
Also-by: Yannick Schaus <github@schaus.net>
2022-01-16 17:27:26 +01:00
Gautier
9533fdfc1c
Labelling of items in Model tab pages (Equipment & Properties) ( #1264 )
...
Improve the relation display in model home cards.
For each Item part of the model, its parent path in model is parsed from API response and relations added to the item. Allows path label to be displayed in Equipment and Properties pages.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Also-by: Yannick Schaus <github@schaus.net>
2022-01-16 16:14:27 +01:00
Jeremy
b6ebb6c328
Update alexa step speaker integration ( #1270 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-01-16 15:48:25 +01:00
Jeremy
bdb7a7f1c3
Add alexa color temperature reset parameter ( #1265 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-01-16 15:47:47 +01:00
Jeremy
0b7d9f0425
Update alexa channel integration ( #1262 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-01-16 15:47:05 +01:00
Wouter Born
f0e5ca8ae1
Upgrade to Karaf 4.3.6 ( #1278 )
...
Syncs the karaf.version so the new Maven plugin is used.
Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-16 12:37:03 +01:00
Wouter Born
eab99f0bfc
Update license headers to 2022 ( #1266 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-08 20:57:16 +01:00
Yannick Schaus
f5c83f8d7c
[Blockly] don't use a shadow block for oh_runrule parameters ( #1260 )
...
Reported in https://community.openhab.org/t/blockly-doesnt-like-the-value-in-key-value-pairs/131049 and other places.
This seems to be an issue with Blockly - shadow blocks with mutations don't work.
Signed-off-by: Yannick Schaus <github@schaus.net>
2022-01-04 18:01:34 +01:00
Wouter Born
67bd0f221f
Make UI configurations translatable ( #1246 )
...
Adds the default translation strings so the UI configuration can be translated with Crowdin.
Other fixes/improvements:
* Adds config for this to crowdin.yml
* Adds the i18n Maven plugin dependency so it can be more easily used
* Fixes a few encoding issues
* Uses the ConfigurableService annotation
Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-04 18:01:08 +01:00
Jeremy
18d7283448
Add alexa semantic mappings parameters visible condition ( #1258 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-01-03 17:14:46 +01:00
Jeremy
c96d5c1bee
Expand alexa range value attribute support ( #1257 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-01-03 17:13:15 +01:00
stefan-hoehn
0a71861d44
[blockly] fix item.getAttributes ( #1254 )
...
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-01-03 17:10:02 +01:00
Jeremy
53f93b5057
Add alexa arabic language parameter option ( #1252 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2021-12-27 14:16:39 +01:00
Kai Kreuzer
9eeb7035e7
Apply spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 08:51:27 +01:00
openhab-bot
de8da844e8
[unleash-maven-plugin] Preparation for next development cycle.
2021-12-20 03:48:16 +00:00
Yannick Schaus
2dad15ae93
More lax translation from script MIME types to CodeMirror modes ( #1248 )
...
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-19 20:02:28 +01:00
stefan-hoehn
fb426697e9
[blockly] context attribute block & move context blocks into Run & Process ( #1239 )
...
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
Also-by: Yannick Schaus <github@schaus.net>
2021-12-19 14:14:43 +01:00
Yannick Schaus
c8f23c55e8
Fix exception on parameter-script editor ( #1247 )
...
Also uses the parameter named "type" as
the mode (for the script automation modules)
so the editor has the same features as the
full-fledged script editor, like syntax highlighting
and hints.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-19 14:12:50 +01:00
openhab-bot
1a0a6bbc80
New Crowdin updates ( #1241 )
...
* New translations en.json (Lithuanian)
* New translations en.json (Lithuanian)
* New translations en.json (Lithuanian)
2021-12-18 20:11:56 +01:00
Yannick Schaus
abb43cfbc9
Check config before allowing oh-icon style customization ( #1243 )
...
Fixes #1242 .
Checking that the oh-icon has a config set is enough to solve both #1242 and #1183 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-18 19:54:50 +01:00
Yannick Schaus
5fa24c4c76
JSScripting tern fixes ( #1240 )
...
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-18 11:47:51 +01:00
Wouter Born
af48d85457
Upgrade to Karaf 4.3.4 ( #1228 )
...
Syncs the karaf.version so the new Maven plugin is used.
Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-18 11:01:04 +01:00
openhab-bot
d6d24cc5aa
New translations en.json (French) ( #1238 )
2021-12-18 09:41:07 +01:00
Yannick Schaus
1d5f4cd21a
Restore JS highlighting for ECMAScript-2021 + Tern autocomplete ( #1237 )
...
Also adds separate "mostly" complete Tern definitions for the JSScripting globals + standard library for JSScripting, assuming they are available as globals (the default).
The old Nashorn definitions or these new ones are loaded depending on the media type.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-17 15:53:31 +01:00
Yannick Schaus
d72e9164a7
Fix Blockly timer code ( #1236 )
...
Fix #1214 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-17 01:29:25 +01:00
Yannick Schaus
7514f4fabf
Add featured add-ons to sections, reorder automation tab ( #1235 )
...
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-17 01:28:58 +01:00
Yannick Schaus
a482051e2b
Add missing style parameter to oh-icon ( #1233 )
...
Fixes #1183 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-16 22:05:55 +01:00
Yannick Schaus
20b8f648c9
Add link: add semantic tags from channel/channel type ( #1232 )
...
Fixes #1130 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-16 22:05:45 +01:00
Yannick Schaus
0e226cf48b
Fix add link "compatible item" logic ( #1231 )
...
The checks on which item types are allowed to be linked introduced with
#1106 & #1043 have a serious issue that prevents the items of the actual
type of the channel to be linked individually.
Fixes #1204 .
Fixes https://github.com/openhab/openhab-core/issues/2568 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-16 22:05:34 +01:00
Jeremy
c5c912fa3d
Update position state action mappings default value ( #1230 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2021-12-13 23:45:45 +01:00
dependabot[bot]
3894f0b2c7
Bump swagger-ui-dist from 3.32.5 to 4.1.3 in /bundles/org.openhab.ui/web ( #1229 )
...
* Bump swagger-ui-dist from 3.32.5 to 4.1.3 in /bundles/org.openhab.ui/web
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui ) from 3.32.5 to 4.1.3.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases )
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v3.32.5...v4.1.3 )
---
updated-dependencies:
- dependency-name: swagger-ui-dist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 23:57:16 +01:00
stefan-hoehn
13cd3003b1
[blockly] add context info block ( #1227 )
...
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
Also-by: Yannick Schaus <github@schaus.net>
2021-12-12 23:29:13 +01:00
dependabot[bot]
2ed7e8d8b7
Bump axios from 0.21.1 to 0.21.2 in /bundles/org.openhab.ui.habot/web ( #1200 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 16:17:20 +01:00
dependabot[bot]
25dcac214e
Bump video.js from 7.10.2 to 7.14.3 in /bundles/org.openhab.ui/web ( #1217 )
...
Bumps [video.js](https://github.com/videojs/video.js ) from 7.10.2 to 7.14.3.
- [Release notes](https://github.com/videojs/video.js/releases )
- [Changelog](https://github.com/videojs/video.js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/videojs/video.js/compare/v7.10.2...v7.14.3 )
---
updated-dependencies:
- dependency-name: video.js
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 16:16:33 +01:00
eugen
c5e204f083
Add missing homekit configurations ( #1226 )
...
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-12-12 16:14:19 +01:00
Yannick Schaus
5bf193dd73
Block Libraries - initial implementation ( #1225 )
...
This adds a new UI component namespace (ui:blocks) allowing to define user-defined Blockly libraries declaratively using the component/config/slots paradigm and templating for code generation, and ultimately to share them on the Marketplace.
Also adds a dedicated editor for them in the developer tools.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-12-12 16:09:28 +01:00
Jeremy
e2979b0302
Update alexa position state and tilt angle attributes ( #1223 )
...
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2021-12-09 21:22:18 +01:00