Commit Graph

620 Commits (3.4.0.M4)

Author SHA1 Message Date
openhab-bot ddcf5ccbae Preparation for tag creation (Tag name: '3.4.0.M4'). 2022-11-06 16:19:39 +00:00
Tobias Bräutigam 531dabfa83
Fix cometvisu backend (#1535)
* update dependencies and files needed for code generation
* Fix parsing arrays - cache being overwritten. Remove redundant array evaluate. (#1531)
* Add missing features to cometvisu rest api backend, refactor some coding
mark old backend implementation as deprecated
* only download a real release (skip drafts/pre-releases),
fix zip asset detection
* update documentation
* remove obsolete header
* fix version comparison, handle equal versions correctly
* Revert "Fix parsing arrays - cache being overwritten. Remove redundant array evaluate. (#1531)"

Co-authored-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Tobias Bräutigam <tbraeutigam@gmail.com>
2022-11-05 17:51:06 +01:00
Boris Krivonog 4cdb037177
Fix parsing arrays - cache being overwritten. Remove redundant array evaluate. (#1531)
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2022-10-20 21:01:24 +02:00
Yannick Schaus 5960cbe55f
Temporarily remove state options check in analyzer (#1527)
Close #1523.

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-10-14 19:53:05 +02:00
Dan Cunningham 5c6a1572c8
Use a custom servlet for serving files to support caching of files (#1521)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-10-14 18:03:06 +02:00
Mark Herwege b47ed942e6
input widgets: fix datetime-local and add datepicker time (#1525)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-10-13 21:48:23 +02:00
JustinGeorgi 79f5a6e730
Update widget expression capabilities (#1522)
- Add @ & @@ operators to insert item states.
- Add `user` context object.
- Allow expressions to specify the component type.
- Allow HTML elements as component types to build HTML structures with components & slots.
- Add 'Content' element (add the `text` config parameter inline).

Signed-off-by: justin <justin.georgi@gmail.com>
2022-10-11 19:42:09 +02:00
openhab-bot 6e9cc922fe
New Crowdin updates (#1442)
* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations iconset.properties (Norwegian)

* New translations basic.properties (Norwegian)

* New translations opennlphli.properties (Norwegian)

* New translations basic.properties (Swedish)

* New translations iconset.properties (Finnish)

* New translations en.json (Hebrew)

* New translations cometvisu.properties (Vietnamese)

* New translations basic.properties (Vietnamese)

* New translations opennlphli.properties (Hebrew)

* New translations en.json (Chinese Simplified)

* New translations opennlphli.properties (Chinese Simplified)

* New translations iconset.properties (Chinese Simplified)

* New translations basic.properties (Chinese Simplified)

* New translations cometvisu.properties (Chinese Simplified)

* New translations en.json (German)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations cometvisu.properties (Italian)

* New translations basic.properties (Italian)

* New translations en.json (Italian)

* New translations opennlphli.properties (Italian)

* New translations iconset.properties (Italian)

* New translations en.json (Polish)
2022-10-09 14:50:46 +02:00
Florian Hotze bf59452a6a
Access screen info in expressions context (#1510)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Also-by: Yannick Schaus <github@schaus.net>
2022-10-09 14:45:16 +02:00
Florian Hotze e0b95d6764
[MainUI] Evaluate expressions in configuration Arrays & Update `actionPhotos` docs (#1519)
* [MainUI] Improve docs for the `actionPhotos` prop & Make Item start with uppercase

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* [MainUI] Regenerate component docs

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* [MainUI] widget-mixin:  Evaluate expressions in Arrays

This adds support for evaluating expressions in Arrays of the configuration of a component.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-10-09 02:40:07 +02:00
dependabot[bot] 6e45e04934
Bump terser from 4.8.0 to 4.8.1 in /bundles/org.openhab.ui/web (#1457)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 18:45:06 +02:00
dependabot[bot] 24c94c4037
Bump css-what from 2.1.2 to 2.1.3 in /bundles/org.openhab.ui/web (#1508)
Bumps [css-what](https://github.com/fb55/css-what) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/fb55/css-what/releases)
- [Commits](https://github.com/fb55/css-what/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: css-what
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 18:43:52 +02:00
Mateusz Bronk 9246175911
Thing "actions" config param handling made generic (#1498)
For Main UI's Thing-Details view.
Matching is by group param context ("actions") first, then falls back to
"by name" for Z-Wave binding backwards-compatibility.

Closes #1491.

Signed-off-by: Mateusz Bronk <bronk.m+gh@gmail.com>
Also-by: Yannick Schaus <github@schaus.net>
2022-10-08 18:41:52 +02:00
Mark Herwege 72fe51ea1d
Add missing sitemap attributes (#1487)
Closes #324.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-10-08 18:36:47 +02:00
Dan Cunningham 09adec507b
Monitor SSE Connection Health (#1499)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-10-07 22:15:52 +02:00
Yannick Schaus ce8d46a66c
Fix config sheet & parameter group padding (#1501)
Fixes #1500.

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-10-05 21:05:44 +02:00
jsjames 7feb536391
Adjust z-index for the oh-masonry component (#1472)
This was necessary to ensure that when an f7-card was expanded, the focus was on the expanded card.

Signed-off-by: Jeff James <jeff@james-online.com>
2022-09-24 21:46:50 +02:00
EngiNearEngiFar a42d176a9d
fixed link for f7 icons (#1497) 2022-09-24 21:43:42 +02:00
EngiNearEngiFar 9a8ff85c6a
Update oh-icon.md (#1493)
wrong link for f7 icons -> fixed
2022-09-24 21:43:04 +02:00
stefan-hoehn c86f196b68
[blockly] refactor implementation for parsing date formats (#1496)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-09-24 21:36:26 +02:00
Vitaliy Gergel f496671e39
Allowing overview page to contain fixed layout page (#1490)
Signed-off-by: Vitalii Gergel <president603@gmail.com>
2022-09-24 15:08:32 +02:00
Jerome Luckenbach fe0e2db56f
Blockly: Fix date comparison (#1495)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-09-20 19:53:09 +02:00
Jeremy 201cef7949
Readd alexa camera stream basic auth parameters (#1489)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-09-14 20:47:14 +02:00
Florian Hotze e8dee7a7fc
`oh-sipclient`: refactor ring & ring back tone to catch exception (#1474)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-09-14 19:12:03 +02:00
Florian Hotze b618d87f2b
Update `oh-sipclient` docs (#1473)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-09-14 18:51:13 +02:00
Dan Cunningham 73c79451f7
Add poster image option to video widget (#1469)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-08-23 20:33:31 +02:00
Wouter Born ad7f70e385
Change lazy loading config (#1470)
The add-on image downloading is a lot faster when using non-sequential lazy loading.

Signed-off-by: Wouter Born <github@maindrain.net>

Signed-off-by: Wouter Born <github@maindrain.net>
2022-08-21 16:56:53 +02:00
DarkC 5bc9b2feff
[BasicUI] create dynamic manifest, fixes #8 (#1011)
* add dynamic manifest servlet
* add manifest to main_static snippet

Signed-off-by: Kevin Haunschmied <darkc.futarialone@gmail.com>
2022-08-15 15:28:54 +02:00
Wouter Born ba45055f66
[Basic UI] Add support for webaudio (#1426)
* [Basic UI] Add support for webaudio
* Add Web Audio configuration option

Signed-off-by: Wouter Born <github@maindrain.net>
2022-08-15 10:43:19 +02:00
Dan Cunningham 49a6000c02
Fixes the stepper from making phantom commands when a value is outside of the min/max (#1462)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-08-09 19:50:01 +02:00
Jeremy c9d912d8d8
Fix alexa power state default attribute (#1461)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-08-04 18:17:27 +02:00
Dan Cunningham f222794377
Fix forground service with modal pop-ups (#1459)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-30 19:46:15 +02:00
Florian Hotze 1d5b1719a9
New SIP client component & widget (#1453)
Update components docs.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Also-by: Dan Cunningham <dan@digitaldan.com>
2022-07-29 22:23:45 +02:00
Cody Cutrer 420c3ed0dd
Fix identification of ruby scripts in editor (#1458)
moduleError is not used, so don't even bother setting it, and
just always assign the script if it's set up in the module's configuration.
this makes it easier for different scripting tools to expose their data
in the editor

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-07-29 21:59:34 +02:00
Dan Cunningham c387337c19
Use the new foregroundService for the image widget (#1454)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-24 12:15:07 +02:00
Cody Cutrer 2fda59a1ff
allow loading file-based ruby scripts in rule editor (#1450)
file-based scripts use SimpleRule, which use jsr223.ScriptedAction,
not script.ScriptAction. so detect them, and allow the script to be loaded.
also use the proper comment character for ruby. syntax highlighting already
works

https://github.com/boc-tothefuture/openhab-jruby/pull/617 will update
the ruby scripting library to provide the additional necessary metadata.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-07-11 18:55:34 +02:00
Gautier 5be19352e3
Hide 'NULL' group labels in oh-label-item, second take (#1435)
Hides 'NULL' labels in oh-label-item while not preventing display of labels for Group where the item to display option has been set.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-07-11 18:49:43 +02:00
Wouter Born 7409f60296
Fix running the dev server (#1447)
Fixes #1443

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-11 18:46:49 +02:00
Wouter Born 4c501d7bdb
[habot] Add default translations for WebPushNotificationAction (#1445)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-11 18:45:51 +02:00
Wouter Born 7cad8b2f5b
Update jaxb2-maven-plugin dependencies to fix Windows build issues (#1438)
On Windows org.openhab.ui.cometvisu fails to build:

`Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.5.0:xjc (default) on project org.openhab.ui.cometvisu: "file:\C:\Users\runneradmin\.m2\repository\org\glassfish\jaxb\jaxb-xjc\2.3.2\jaxb-xjc-2.3.2.jar!\META-INF\versions\9" is not a valid file name: {1}: Invalid file path -> [Help 1]`

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 15:11:38 +02:00
Wouter Born 21490fc8ed
Add support for webaudio (#1422)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-09 17:14:25 +02:00
Yannick Schaus 34c59ecc2d
Allow actions on chart series (#1417)
Add optional performAction args to accept an arbitrary config and/or context.

Supersedes #1392.
Closes #1391.

Signed-off-by: Yannick Schaus <github@schaus.net>
Also-by: Łukasz Dywicki <luke@code-house.org>
2022-07-06 21:12:30 +02:00
Sami Salonen 1094d4b16d
item expire metadata: clarify ignore state update reset rules (#1444)
As discussed in
https://github.com/openhab/openhab-webui/pull/1388#issuecomment-1123902788

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-07-06 20:37:01 +02:00
Kai Kreuzer 74666a102b
Apply spotless (#1437)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:20:54 +02:00
openhab-bot 210ab3058c [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 23:10:41 +00:00
Yannick Schaus dd9e29eea1
[habpanel] Remove ES6 syntax in dummy widget (#1433)
#1380 introduced new code with ES6 syntax (arrow functions) that isn't supported in older browsers.
See https://github.com/openhab/openhab-webui/pull/1380#issuecomment-1166344112

Reimplement using the code from the selection widget to determine the option
(uses angularJS helpers)

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-06-26 02:03:17 +02:00
Florian Hotze d0df331442
Update autocompletion for ECMAScript2021 (#1421)
This updates `addItem(...)` and `updateItem(...)` for the breaking
changes from https://github.com/openhab/openhab-js/pull/109.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Also-by: Yannick Schaus <github@schaus.net>
2022-06-24 12:36:14 +02:00
openhab-bot be5f2ee88c
New Crowdin updates (#1429)
* New translations en.json (Portuguese)

* New translations en.json (Portuguese)

* New translations opennlphli.properties (Portuguese)

* New translations en.json (Portuguese)

* New translations en.json (Latvian)

* New translations en.json (Bulgarian)

* New translations en.json (German)

* New translations en.json (Portuguese)

* New translations en.json (Turkish)

* New translations en.json (Latvian)

* New translations en.json (Latvian)

* New translations en.json (German)

* New translations en.json (Lithuanian)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Hebrew)

* New translations en.json (Lithuanian)

* New translations en.json (Hebrew)

* New translations en.json (Turkish)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations cometvisu.properties (Bulgarian)

* New translations cometvisu.properties (Catalan)

* New translations cometvisu.properties (Czech)

* New translations cometvisu.properties (German)

* New translations cometvisu.properties (Hebrew)

* New translations cometvisu.properties (Hungarian)

* New translations en.json (Turkish)

* New translations cometvisu.properties (Dutch)

* New translations cometvisu.properties (Russian)

* New translations opennlphli.properties (Catalan)

* New translations opennlphli.properties (Czech)

* New translations opennlphli.properties (German)

* New translations opennlphli.properties (Hebrew)

* New translations opennlphli.properties (Hungarian)

* New translations opennlphli.properties (Dutch)

* New translations opennlphli.properties (Russian)

* New translations opennlphli.properties (Bulgarian)

* New translations basic.properties (Bulgarian)

* New translations basic.properties (Dutch)

* New translations basic.properties (Hungarian)

* New translations basic.properties (Hebrew)

* New translations basic.properties (German)

* New translations basic.properties (Czech)

* New translations basic.properties (Catalan)

* New translations iconset.properties (German)

* New translations iconset.properties (Russian)

* New translations iconset.properties (Dutch)

* New translations iconset.properties (Hungarian)

* New translations iconset.properties (Hebrew)

* New translations iconset.properties (Czech)

* New translations iconset.properties (Catalan)

* New translations iconset.properties (Bulgarian)

* New translations basic.properties (Russian)
2022-06-24 12:27:42 +02:00
Bastiaan 3e7f49b657
Dummy and Clock widget improvements (#1380)
* Add color picking to dummy and clock widget
* Add state description option to dummy widget

Closes: #1349
Closes: #1293
Closes: #1294

Signed-off-by: Bastiaan van Haastrecht <b.vanhaastrecht@gmail.com>
2022-06-23 23:23:57 +02:00
Dan Cunningham 9305080c7b
Adds WebRTC support to video widget (#1386)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-06-23 23:17:37 +02:00