Commit Graph

1849 Commits (main)

Author SHA1 Message Date
dependabot[bot] 39bedfda87
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.4 (#3358)
Bumps
[org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire)
from 3.5.3 to 3.5.4.

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-16 20:29:40 +02:00
dependabot[bot] 117f99ecb6
Bump org.eclipse.jdt:ecj from 3.42.0 to 3.43.0 (#3353)
Bumps
[org.eclipse.jdt:ecj](https://github.com/eclipse-jdt/eclipse.jdt.core)
from 3.42.0 to 3.43.0.

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 16:36:33 +02:00
dependabot[bot] 3db3b9c2ba
Bump actions/stale from 9 to 10 (#3355)
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10.

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 16:34:26 +02:00
dependabot[bot] def5a7cbde
Bump actions/setup-python from 5 to 6 (#3356)
Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 5 to 6.

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 16:33:06 +02:00
dependabot[bot] 73b6713a03
Bump actions/setup-node from 4 to 5 (#3354)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 16:31:29 +02:00
Mark Herwege 81e0cb6a94
Sitemap editor: Fix sitemap save (#3339)
The fix provided with https://github.com/openhab/openhab-webui/pull/3300
was incomplete. It only removed the parent field from the first level of
the tree.

This fix iterates over the levels.
It also removes the JSON parse/stringify combination as it was used to
copy the object and is replaced by a deepClone.

This should be backported to 5.0 as the backported fix provided did not
work in all cases.

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-08-31 15:14:53 +02:00
jimtng c8e6ea9632
Copy File Definition: Work around the security error in Safari (#3309)
Reported in
https://community.openhab.org/t/copy-dsl-yaml-definition-not-working-for-me/165233

Tests the clipboard copy functionality across browsers.
If the operation fails, e.g. in Safari due to platform restrictions, an
additional dialog is shown after the async fetch completes. This ensures
that when the user clicks the "OK" button, the clipboard action executes
immediately using the pre-fetched data, complying with Safari's
transient activation requirements.

The additional dialog is only shown in browsers that have such
restriction.

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-08-31 15:14:37 +02:00
dependabot[bot] e9a4e07a3c
Bump actions/setup-java from 4 to 5 (#3345)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4
to 5.

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 08:44:19 +02:00
dependabot[bot] b308115fbb
Bump org.eclipse.jdt:ecj from 3.41.0 to 3.42.0 (#3335)
Bumps
[org.eclipse.jdt:ecj](https://github.com/eclipse-jdt/eclipse.jdt.core)
from 3.41.0 to 3.42.0.

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 20:26:28 +02:00
Holger Friedrich bed622f624
Add ecj to Dependabot config (#3333)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-17 10:05:44 +02:00
Artur-Fedjukevits c5048f65f0
[HABot] Add support for configurable HumanLanguageInterpreter (HLI) in HABot (#3316)
This PR enhances the flexibility of HABot by allowing it to use the
system-wide configured HumanLanguageInterpreter (HLI), instead of
relying solely on the built-in OpenNLP interpreter. This allows HABot to
support more languages and custom NLP backends (e.g., ChatGPT), as
OpenNLP does not cover all languages. Additionally, a new optional query
parameter 'hli' is introduced in the /habot/chat REST endpoint, enabling
clients to explicitly select the interpreter.
2025-08-16 20:37:32 +02:00
jimtng c5f0cf6175
[basicui] Recalculate widths for multiline buttons in dynamic Frames (#3331)
Fixes an issue where multiline buttons inside a Frame did not properly
recalculate their widths when the Frame's visibility changed. Ensures
layout updates are triggered to maintain correct button sizing.

Fix #3233

Complements #3237

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-08-16 13:24:42 +02:00
dependabot[bot] c14f7404f5
Bump actions/checkout from 4 to 5 (#3328)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 21:29:23 +02:00
Florian Hotze c53f068934
Update openhab-js tern defs for v5.11.2 (#3327)
This updates the tern defs used for autocompletion to the current
library version included in the add-on (5.11.2).

See https://github.com/openhab/openhab-js/compare/v5.8.1...v5.11.2 for changes.

Last update was in #2911.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-08-10 12:40:42 +02:00
Holger Friedrich 18b086d0ce
Upgrade Karaf from 4.4.7 to 4.4.8 (#3304)
Refs openhab/openhab-core#4932.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-10 10:38:07 +02:00
Florian Hotze 26b493bca4
ESLint: Modify vue/max-attributes-per-line rule (#3324)
Preparation for the upgrade to Vue3, as the Vue3 upgrade work uses this setting.
See https://github.com/openhab/openhab-webui/issues/2151#issuecomment-3169016091.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-08-08 22:42:56 +02:00
Florian Hotze bef8502a2e
oh-sipclient: Add config for authorization user (#3322)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-08-08 22:26:43 +02:00
Nadahar 0b147f929c
Fix ECharts animation regression (#3321)
#3136 led to a strange issue with ECharts animations.
When values are updated, the animations don't animate from the previous value,
but from "zero" (or whatever the initial value is).
This breaks some widgets, like it was reported in https://community.openhab.org/t/barometer-gauge-widget-3-1-0-0-6-0-0-0/161270.

Ultimately, this has been likely traced back to some implementation detail in vue-echarts,
see the PR for more details.

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2025-08-08 22:26:24 +02:00
Mark Herwege 5ccf6d41b9
Sitemap editor: fix missing row parameter (#3320)
The row parameter for buttons in a Buttongrid was missing from the
sitemap editor.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-08-08 18:55:53 +02:00
Mark Herwege 8937e7764e
Semantic tags page: Fix page refresh & delete synonym bugs (#3307)
Fixes https://github.com/openhab/openhab-webui/issues/3275 (page refresh)
Fixes https://github.com/openhab/openhab-webui/issues/3276 (unable to delete synonym)

---------

Also-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-08-04 15:30:17 +02:00
jimtng c32e8236e7
Developer Sidebar: Support advanced search syntax (#3289)
Support extended search syntax as per https://www.fusejs.io/examples.html#extended-search.

Note, the inverse search doesn't seem to work as expected.
See https://github.com/krisk/Fuse/issues/776.

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-08-04 14:16:27 +02:00
jimtng f606cce419
Developer Sidebar: Add rule.trigger.configuration.groupName to the search (#3313)
Fixes #3222.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-08-02 15:16:57 +02:00
jimtng c5321be674
Addon Config: Fix dirty checking (#3311)
Fix #3258.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-08-01 16:46:39 +02:00
Mark Herwege c11ce19a1b
Sitemap parser: Further fixes for icon rules (#3306)
Fixes https://github.com/openhab/openhab-webui/issues/3302.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-08-01 15:15:22 +02:00
Wouter Born 6fa94ddf3f
Use Maven 3.9.11 with wrapper and add checksum verification (#3305)
- Set Maven version to 3.9.11 in .mvn/wrapper/maven-wrapper.properties
- Set SHA-256 checksum for wrapper JAR to ensure integrity

Signed-off-by: Wouter Born <github@maindrain.net>
2025-07-29 09:33:48 +02:00
Florian Hotze 8b8ed5f13a
Rules list: Fix styling leaking into global stylesheet (#3301)
Fixes an issue where rules list tabbar Item styling applied globally to
all tabbars and made all tab links appear active.

Regression from #3232.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-27 19:33:38 +02:00
jimtng 78069a51c7
Rules List: Add select/deselect all (#3216)
Closes #3215.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-27 18:34:40 +02:00
Florian Hotze c1f6271781
Sitemap edit: Fix save button not working due to JSON error (#3300)
Fixes #3290.

Fixes
```
TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property 'slots' -> object with constructor 'Object'
    |     property 'widgets' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'Object'
    --- property 'parent' closes the circle
```
when trying to save a sitemap.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-27 18:05:39 +02:00
Florian Hotze 104af0a4bd
Sitemap edit: Fix validation errors for valid buttongrid (#3299)
Fixes #3285.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-27 18:00:28 +02:00
Florian Hotze d3376da635
Sitemap edit: Fix quotes for icon value not allowed (#3298)
Fixes #3291.

`icon=` or `staticIcon=` values names ending with a number double quotes
around them. Properly parse and generate those.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-27 17:06:01 +02:00
dependabot[bot] 11854930c5
Bump relative-ci/agent-action from 2.2.0 to 3.0.1 (#3293)
Bumps
[relative-ci/agent-action](https://github.com/relative-ci/agent-action)
from 2.2.0 to 3.0.1.

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-27 15:51:00 +02:00
dependabot[bot] 6dcffa53d5
Bump com.mycila:license-maven-plugin from 4.6 to 5.0.0 (#3295)
Bumps
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin)
from 4.6 to 5.0.0.

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-27 15:49:03 +02:00
dependabot[bot] b4bf542b9e
Bump org.codehaus.mojo:build-helper-maven-plugin from 3.6.0 to 3.6.1 (#3296)
Bumps
[org.codehaus.mojo:build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin)
from 3.6.0 to 3.6.1.

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-27 15:47:39 +02:00
dependabot[bot] 2476263597
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.5.0 to 3.6.1 (#3294)
Bumps
[org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer)
from 3.5.0 to 3.6.1.

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-27 15:46:19 +02:00
Holger Friedrich 2b32ec4b58
Enable Dependabot (#3292)
We have Dependabot active in core and distro for quite a while, and
recently introduced it in add-ons repo.

The first part of the config just takes care of keeping _Github Actions_
up to date.
The second part takes care of _Maven plugins_.

Maven standard config will both update the plugins (which it typically
wanted) but also all dependences (which is largely not wanted). This is
why this PR uses only specific names, e.g. everything that matches the
string `plugin`.

I have defined some exclusions. Maybe we overlook some plugins which are
not matching the patterns; maybe we need some more exclusions.

Note: This config is carried over from add-ons without change, maybe a
few allow/ignore statements are not needed.

See also 
openhab/openhab-addons#19029
openhab/openhab-addons#19039

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-27 15:38:57 +02:00
Wouter Born a1a2a42735
Apply Spotless after release (#3282)
Signed-off-by: Wouter Born <github@maindrain.net>
2025-07-21 22:12:15 +02:00
openhab-bot 72b18d5b5d [unleash-maven-plugin] Preparation for next development cycle. 2025-07-21 12:00:10 +00:00
Holger Friedrich a97bf3a586
[BasicUI] Add chart option interpolation (#3279)
Implement new option `interpolation` introduced in
openhab/openhab-core#4610.

Fixes #3277.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-21 08:50:56 +02:00
openhab-bot 63b79784f7
New Crowdin updates (#3261) 2025-07-18 10:34:06 +02:00
Florian Hotze 05bb624775
Item details: Fix top-level semantics value breaks view (#3274)
Top-level semantic values like Point, Equipment, Location broke the
item-details view.

Regression from #3178.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-16 00:11:49 +02:00
Florian Hotze 74da899c8d
Item edit: Fix missing semantic config breaks view (#3271)
Regression from #3178.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-14 21:43:29 +02:00
Florian Hotze b850517c01
Semantic tags maintenance page: Change icon in menu entry (#3270)
To match the icon of the semantic model.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-14 20:05:56 +02:00
Florian Hotze 4604790fcf
Semantic tags maintenance: Fix tooltip icon hardly visible in light mode (#3269)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-14 20:02:05 +02:00
Florian Hotze 9f38099898
oh-slider docs: Fix note box not rendered properly (#3268)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-14 15:51:20 +02:00
Florian Hotze 7f4a8cd6df
Model cards: Fix missing or wrong labels (#3267)
Regression from #3178.
Fixes #3260.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-14 13:12:04 +02:00
Florian Hotze 1441a34571
Config description: Fix external links not opening correctly (#3266)
Fixes #3262.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-14 12:49:16 +02:00
jimtng 4f9ab3508e
Transformation Edit: Fix missing documentation link (#3264)
Documentation link for certain types isn't displayed because the lookup
was done using the wrong key.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-14 12:48:47 +02:00
jimtng ea9cb8501b
Transformations List: Fix incorrect counter title (#3263)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-14 12:45:34 +02:00
openhab-bot 59ac8e259f
New Crowdin updates (#3240) 2025-07-13 23:26:38 +02:00
Florian Hotze 89e1917836 Semantic tags maintenance page: Fix searchbar not sticky
Follow-up for #3165 & #3178.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-13 17:36:49 +02:00