Commit Graph

1101 Commits (f912de509c504ab2619bbcbca58fe959f0eb6ebf)

Author SHA1 Message Date
Wouter Born 466566e6ea
Update Eclipse .classpath files (#1603)
Related to #1588

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 16:55:26 +01:00
Wouter Born fd24db8526
Use HTTPS in pom.xml where possible (#1602)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-22 21:53:36 +01:00
J-N-K 38f44af1e1
Raise minimum JDK version to 17 (#1588)
* Raise minimum JDK version to 17

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 23:20:09 +01:00
Wouter Born f97323690f
Apply spotless to fix build (#1593)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-19 17:33:45 +01:00
openhab-bot e39ce7f6bf [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 03:05:38 +00:00
Wouter Born 5e18cb3047
Use HTTPS links in Markdown (#1589)
* Use HTTPS links in Markdown
* Fix broken link

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 20:05:32 +01:00
Wouter Born 3f7a1d3d04
Show Basic UI and CometVisu intros in Main UI (#1587)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 15:20:42 +01:00
stefan-hoehn 4ce4200921
[blockly] fix help urls (#1585)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-12-16 10:55:51 +01:00
Hilbrand Bouwkamp 4be2af400e
Moved label to item to util, and added normalization/underscore support (#1578)
The util function adds additional support:
* Use normalize to allow for channel names to contain subscript characters like in units; CO2.
* Convert spaces to underscore.
* Allow underscore in name.

Fixes https://github.com/openhab/openhab-addons/issues/13909

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-12-16 10:48:41 +01:00
Yannick Schaus e2f06a2cd6
Add context parameter to rule action (#1582)
Signed-off-by: Yannick Schaus <github@schaus.net>
2022-12-15 19:29:09 +01:00
openhab-bot 18b040fbff
New Crowdin updates (#1580)
* New translations basic.properties (German)

* New translations en.json (Hungarian)

* New translations opennlphli.properties (Hungarian)

* New translations basic.properties (Hungarian)

* New translations basic.properties (Hungarian)
2022-12-15 19:17:47 +01:00
Yannick Schaus 5dd12dbb0f
Fix inconsistent cell max-width (#1583)
Fixes #1567 (sort of)

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-12-15 19:13:44 +01:00
openhab-bot 40f85c7d37
[habpanel] Upgrade Gulp to v4 & new Crowdin updates (#1572)
* New translations admin.pot (Romanian)

* New translations admin.pot (French)

* New translations admin.pot (Spanish)

* New translations admin.pot (Afrikaans)

* New translations admin.pot (Arabic)

* New translations admin.pot (Bulgarian)

* New translations admin.pot (Catalan)

* New translations admin.pot (Czech)

* New translations admin.pot (Danish)

* New translations admin.pot (German)

* New translations admin.pot (Greek)

* New translations admin.pot (Finnish)

* New translations admin.pot (Hebrew)

* New translations admin.pot (Hungarian)

* New translations admin.pot (Italian)

* New translations admin.pot (Japanese)

* New translations admin.pot (Korean)

* New translations admin.pot (Lithuanian)

* New translations admin.pot (Dutch)

* New translations admin.pot (Norwegian)

* New translations admin.pot (Polish)

* New translations admin.pot (Portuguese)

* New translations admin.pot (Russian)

* New translations admin.pot (Serbian (Cyrillic))

* New translations admin.pot (Swedish)

* New translations admin.pot (Turkish)

* New translations admin.pot (Ukrainian)

* New translations admin.pot (Chinese Simplified)

* New translations admin.pot (Vietnamese)

* New translations admin.pot (Portuguese, Brazilian)

* New translations admin.pot (Indonesian)

* New translations admin.pot (Tagalog)

* New translations admin.pot (Luxembourgish)

* New translations main.pot (Romanian)

* New translations main.pot (French)

* New translations main.pot (Spanish)

* New translations main.pot (Afrikaans)

* New translations main.pot (Arabic)

* New translations main.pot (Bulgarian)

* New translations main.pot (Catalan)

* New translations main.pot (Czech)

* New translations main.pot (Danish)

* New translations main.pot (German)

* New translations main.pot (Greek)

* New translations main.pot (Finnish)

* New translations main.pot (Hebrew)

* New translations main.pot (Hungarian)

* New translations main.pot (Italian)

* New translations main.pot (Japanese)

* New translations main.pot (Korean)

* New translations main.pot (Lithuanian)

* New translations main.pot (Dutch)

* New translations main.pot (Norwegian)

* New translations main.pot (Polish)

* New translations main.pot (Portuguese)

* New translations main.pot (Russian)

* New translations main.pot (Serbian (Cyrillic))

* New translations main.pot (Swedish)

* New translations main.pot (Turkish)

* New translations main.pot (Ukrainian)

* New translations main.pot (Chinese Simplified)

* New translations main.pot (Vietnamese)

* New translations main.pot (Portuguese, Brazilian)

* New translations main.pot (Indonesian)

* New translations main.pot (Tagalog)

* New translations main.pot (Luxembourgish)

* New translations widgets.pot (Romanian)

* New translations widgets.pot (French)

* New translations widgets.pot (Spanish)

* New translations widgets.pot (Afrikaans)

* New translations widgets.pot (Arabic)

* New translations widgets.pot (Bulgarian)

* New translations widgets.pot (Catalan)

* New translations widgets.pot (Czech)

* New translations widgets.pot (Danish)

* New translations widgets.pot (German)

* New translations widgets.pot (Greek)

* New translations widgets.pot (Finnish)

* New translations widgets.pot (Hebrew)

* New translations widgets.pot (Hungarian)

* New translations widgets.pot (Italian)

* New translations widgets.pot (Japanese)

* New translations widgets.pot (Korean)

* New translations widgets.pot (Lithuanian)

* New translations widgets.pot (Dutch)

* New translations widgets.pot (Norwegian)

* New translations widgets.pot (Polish)

* New translations widgets.pot (Portuguese)

* New translations widgets.pot (Russian)

* New translations widgets.pot (Serbian (Cyrillic))

* New translations widgets.pot (Swedish)

* New translations widgets.pot (Turkish)

* New translations widgets.pot (Ukrainian)

* New translations widgets.pot (Chinese Simplified)

* New translations widgets.pot (Vietnamese)

* New translations widgets.pot (Portuguese, Brazilian)

* New translations widgets.pot (Indonesian)

* New translations widgets.pot (Tagalog)

* New translations widgets.pot (Luxembourgish)

* Upgrade to Gulp 4

Fix incompatibility between Gulp 3 & Node 12.
Allows to regenerate the translations.

Signed-off-by: Yannick Schaus <github@schaus.net>

* Generate JSON i18n assets

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-12-15 19:10:06 +01:00
Yannick Schaus 7f1b5feb81
Speed up devserver hot reload, CSS cache invalidation (#1581)
Only use CompressionPlugin in production mode as it was slowing down the
hot reloading in development mode to a crawl.

Add hashs to built CSS files to avoid caching problems
(and be consistent with the naming scheme of JS files).

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-12-15 14:32:19 +01:00
Mark Herwege e7b5f9745f
Improved sitemap handling in editor (#1574)
Closes #1538.
Closes #748.
Closes 862.

This PR improves sitemap handling for strings with blanks and special characters.
It also fixes attributes with value 0.

Signed-off-by: Yannick Schaus <github@schaus.net>
Also-by: Yannick Schaus <github@schaus.net>
2022-12-15 10:52:36 +01:00
Florian Hotze 5052597b0d
oh-sipclient: Fix microphone access stays active when foreground is left on iOS (#1575)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-12 09:27:12 +01:00
Florian Hotze b4aff86c84
[MainUI] Update openhab-js tern defs (#1576)
This updated the tern definitions for the openhab-js version included
in the addon (3.1.2).

Reference
https://github.com/openhab/openhab-js/compare/v3.0.0...v3.1.2.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-12 09:19:39 +01:00
Wouter Born e77e3f48d5
GitHub Actions workflow upgrades (#1573)
* Upgrade actions to fix deprecation warnings
* Use ubuntu-22.04 for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-11 16:56:56 +01:00
Florian Michel 73d4935c7d
Consider semantics for default standalone/item/cell widget selection (#1558)
See https://github.com/openhab/openhab-webui/pull/1558#issuecomment-1345574684 for details.

Closes #1494.

Signed-off-by: Florian Michel <florianmichel@hotmail.de>
Also-by: Yannick Schaus <github@schaus.net>
2022-12-11 16:30:00 +01:00
Gautier 962de8a426
Fixes to canvas layout display in full screen (#1554)
Popups are now properly displayed above canvas layouts in full screen and switching to full screen is faster.
Uses the shared page fullscreen button
Button is now visible even if navigation bar is not hidden (should fix it for grid layouts as well)
Small typos in parameters' description fixed.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-12-11 14:11:28 +01:00
Florian Michel 1d7a3a9875
Add possibility to edit JSON variable keys in widgets (#1556)
Implements a possibility to work with nested JSON objects/arrays in widget variables. It allows to set the value of a custom key of the variable. The key can be nested in any depth to allow more complex scenarios. 

Adds a new action configuration `actionVariableKey` which allows to set the key of the object. The configuration syntax is like this:
```
actionVariableKey: name
actionVariableKey: user.name
actionVariableKey: user[0].address[1].street
actionVariableKey: [0]
actionVariableKey: [0].label
```

If you want to edit the key `user.name` but the key `user` is missing in the object, the parent hierarchy is automatically created. (Same applies if you want to add an value to an array but the array is not existing) This should make it easier for not so advanced users.

Signed-off-by: Florian Michel <florianmichel@hotmail.de>
Also-by: Yannick Schaus <github@schaus.net>
2022-12-11 12:35:11 +01:00
openhab-bot b5b783033a
New Crowdin updates (#1526)
* New translations en.json (Italian)

* New translations basic.properties (German)

* New translations opennlphli.properties (German)

* New translations iconset.properties (Danish)

* New translations basic.properties (Dutch)

* New translations opennlphli.properties (Dutch)

* New translations en.json (Dutch)
2022-12-11 11:05:30 +01:00
dependabot[bot] 9bf2051b08
Bump qs from 6.5.2 to 6.5.3 in /bundles/org.openhab.ui.basic (#1569)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  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-12-11 11:02:21 +01:00
Wouter Born 63e842697a
Update bnd to 6.4.0 (#1568)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-6.4.0

Related to openhab/openhab-core#3205

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-10 13:31:43 +01:00
dependabot[bot] 891baccdd7
Bump ejs and webpack-bundle-analyzer in /bundles/org.openhab.ui/web (#1515)
Removes [ejs](https://github.com/mde/ejs). It's no longer used after updating ancestor dependency [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer). These dependencies need to be updated together.


Removes `ejs`

Updates `webpack-bundle-analyzer` from 3.9.0 to 4.6.1
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases)
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/commits/v4.6.1)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
- dependency-name: webpack-bundle-analyzer
  dependency-type: direct:development
...

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-12-10 12:06:57 +01:00
dependabot[bot] 4fe70a73ca
Bump decode-uri-component in /bundles/org.openhab.ui.basic (#1560)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  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-12-10 11:54:46 +01:00
dependabot[bot] a46328cbc5
Bump decode-uri-component in /bundles/org.openhab.ui.habpanel/web (#1561)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  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-12-10 11:53:40 +01:00
dependabot[bot] 4f7ac329c0
Bump express from 4.17.1 to 4.18.2 in /bundles/org.openhab.ui/web (#1570)
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  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-12-10 11:53:11 +01:00
dependabot[bot] 9827ca0c3a
Bump simple-plist and cordova-ios in /bundles/org.openhab.ui/web/cordova (#1512)
Bumps [simple-plist](https://github.com/wollardj/simple-plist) to 1.3.1 and updates ancestor dependency [cordova-ios](https://github.com/apache/cordova-ios). These dependencies need to be updated together.


Updates `simple-plist` from 0.2.1 to 1.3.1
- [Release notes](https://github.com/wollardj/simple-plist/releases)
- [Commits](https://github.com/wollardj/simple-plist/compare/0.2.1...v1.3.1)

Updates `cordova-ios` from 4.5.5 to 6.2.0
- [Release notes](https://github.com/apache/cordova-ios/releases)
- [Changelog](https://github.com/apache/cordova-ios/blob/master/RELEASENOTES.md)
- [Commits](https://github.com/apache/cordova-ios/compare/4.5.5...6.2.0)

---
updated-dependencies:
- dependency-name: simple-plist
  dependency-type: indirect
- dependency-name: cordova-ios
  dependency-type: direct:production
...

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-12-10 11:45:01 +01:00
stefan-hoehn 8d60efb8e8
[blockly] add new list, item, persistence, text blocks (#1549)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2022-12-10 11:40:50 +01:00
dependabot[bot] d53fcede25
Bump decode-uri-component in /bundles/org.openhab.ui.habpanel/web (#1561)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  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-12-10 11:26:39 +01:00
dependabot[bot] 8546d43bc8
Bump decode-uri-component in /bundles/org.openhab.ui/web (#1562)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  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-12-10 11:26:14 +01:00
dependabot[bot] 25ad205c21
Bump decode-uri-component in /bundles/org.openhab.ui.habot/web (#1563)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  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-12-10 11:25:35 +01:00
dependabot[bot] 71cfdf0f0c
Bump qs from 6.5.2 to 6.5.3 in /bundles/org.openhab.ui/web (#1566)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  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-12-10 11:24:21 +01:00
Florian Michel b913dae7d1
fix oh-trend sampling property (#1564)
Signed-off-by: Florian Michel <florianmichel@hotmail.de>
2022-12-10 10:18:34 +01:00
Wouter Born e11bf7e219
Karaf feature improvements (#1541)
* Aggregate features like in the openhab-addons repository
* Verify features in bundle projects
* Add basicui.cfg file for Basic UI in openhab-ui-external
* Fix CometVisu rrd4j/jackson dependency version mismatch

Also-by: Sebastian Gerber <git@sgerber.de>
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-05 23:04:41 +01:00
Michael Krug fd40fea0c5
Update GA metadata to current state (#1539)
Signed-off-by: Michael Krug <michi.krug@gmail.com>
2022-12-05 00:22:49 +01:00
Gautier 3ca7ba08fb
New sub-component for oh-cards footers to allow several text layouts (#1545)
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
2022-12-05 00:15:16 +01:00
Florian Michel 6b486ccd48
add robots.txt to disallow search crawler (#1557)
Signed-off-by: Florian Michel <florianmichel@hotmail.de>
2022-12-04 23:59:12 +01:00
Florian Michel f42a36f3e7
Fix items disappearing from model if stateDescription is added (#1559)
Signed-off-by: Florian Michel <florianmichel@hotmail.de>
2022-12-04 23:55:34 +01:00
Florian Hotze 6e3aad16ec
[MainUI] Update JS Scripting tern definitions (#1552)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-04 23:37:16 +01:00
lolodomo 4eedb63384
[BasicUI] Fix the color picker (#1548)
* [BasicUI] Color picker: fix when clicking outside the main circle

Fix #1140

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-12-04 20:14:45 +01:00
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