Commit Graph

613 Commits (ea6726d72464af917782f9c7e6ff372d8b55054b)

Author SHA1 Message Date
Holger Friedrich ea6726d724
UI: Thing configuration: Mask passwords in configuration read from files (#1342)
For things configured via configuration files, the UI now masks passwords
by default. The behavior is now similar to things created in
the UI: passwords are only displayed after a click on the icon.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-05 22:43:28 +02:00
eugen 6f383399a8
Add support for additional homekit accessories (#1347)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-04-05 21:12:25 +02:00
stefan-hoehn fbb9a7ff51
[blockly] change help urls to official OH blockly rules docs (#1337)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-04-05 21:04:00 +02:00
Wouter Born 77872f281e
Remove HABot service configuration (#1345)
There is now a HABot service configuration entry without any configuration parameters because those got removed in #1031.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-26 20:30:29 +01:00
Yannick Schaus a181fbbb25
Fix incorrect parameter group definition (#1344)
Bug introduced in #1313 and breaking config sheets in various parts of the UI.

Fixes #1343.
Fixes  https://github.com/openhab/openhab-core/issues/2850.

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-03-21 18:13:43 +01:00
Wouter Born 88b823e06e
Remove openhab-iconset-classic feature (#1340)
The bundle of this feature is now part of the openhab-runtime-ui feature.

See openhab/openhab-distro#1371

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 12:26:19 +01:00
Wouter Born 97f18398d3
Add GitHub Actions CI build (#1341)
* Add GHA CI build (Java 11/17)
* Add GHA build status badge
* Update required Java version range used by the enforcer plugin

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 12:25:22 +01:00
J-N-K 4727a76106
bump compiler tooling (#1339)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-12 21:45:37 +01:00
Gautier 9a19a2549f
Provide another configurable action on oh-label-card and oh-button components upon tap and hold (or contextual menu call on desktop). (#1313)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-03-09 17:54:11 +01:00
Mark Herwege 06221ba59e
Add ignore state update checkbox to expire metadata config (#1325)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-03-08 19:09:45 +01:00
J-N-K b19c17c9f1
Add IntelliJ IDEA metadata directory to gitignore (#1329)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-08 19:00:23 +01:00
J-N-K 4b6f62d078
Add aggregation function for play/pause (#1335)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-08 18:59:29 +01:00
stefan-hoehn f2f7641913
[blockly] move all date blocks to own category, modify some documentation (#1321)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-03-03 23:32:20 +01:00
eugen da7cfce772
[MainUI] New HomeKit group mapping editor (#1317)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-03-03 23:28:47 +01:00
dependabot[bot] e7da516b14
Bump follow-redirects in /bundles/org.openhab.ui/web (#1311)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 23:24:09 +01:00
dependabot[bot] 94e53c0583
Bump ajv from 6.8.1 to 6.12.6 in /bundles/org.openhab.ui/web (#1310)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.8.1 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.8.1...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 23:23:32 +01:00
dependabot[bot] 675faee906
Bump handlebars from 4.3.3 to 4.7.7 in /bundles/org.openhab.ui/web (#1308)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.3.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.3.3...v4.7.7)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 23:22:56 +01:00
Jeremy b0e0e1ea07
Fix alexa cubic symbol uom (#1312)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-03-03 23:22:23 +01:00
J-N-K c3d4743e45
Add ability to link Group items (#1330)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-03 23:21:44 +01:00
Ben Clark db49a0eca8
Use full list of item types for groups (#1128)
Signed-off-by: Ben Clark <ben@benjyc.uk>
2022-03-03 23:15:40 +01:00
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