Commit Graph

759 Commits (dd49b62a3383faf8d2ae5e65703a42a41e66230a)

Author SHA1 Message Date
Florian Hotze 043abf4aad
[MainUI] Explain how to build the component docs (#1546)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-27 20:47:25 +01:00
lolodomo 23fc572a62
[BasicUI] Consider item state for the color picker (#1547)
It was not working if you added a label pattern to your color item

Related to discussion in #427

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-19 20:17:46 +01:00
stefan-hoehn f1db954f76
Add searching rules/scripts by id and rule status (#1540)
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2022-11-16 23:04:44 +01:00
eugen 322263a336
add support for further HomeKit parameters (#1543)
Signed-off-by: Eugen <eugen@relotrust.com>
2022-11-16 23:02:49 +01:00
Jeremy 26c3e35356
Update alexa camera stream basic auth parameters (#1544)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2022-11-16 23:02:02 +01:00
Alwin Lohrie 587994b7ff
Add-on store: put boxes around addon cards for better separation (#1524)
Co-authored-by: Yannick Schaus <github@schaus.net>
Signed-off-by: niwla23 <46248939+niwla23@users.noreply.github.com>
2022-11-08 19:01:35 +01:00
Mark Herwege 4ef291ee1b
Improve sitemap validation (#1530)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Also-by: Yannick Schaus <github@schaus.net>
2022-11-08 17:36:57 +01:00
Gautier 4d1a94ac48
Reverts equipment accordion link styling (#1436)
Fix problem where accordion items caused issue in the events handling, preventing promoted widgets from working (e.g. oh-toggle).

Add styling to present equipment as accordion as activable items (pointer, hover and active states), in a similar fashion as regular link list items.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-11-08 14:51:59 +01: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 b1affe017b
Move Eclipse m2e configuration to a profile (#1446)
This prevents the following warnings when executing: `mvn i18n:generate-default-translations`

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 was not found in https://openhab.jfrog.io/openhab/libs-snapshot during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of openhab-snapshot has elapsed or updates are forced

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 15:14:53 +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