Commit Graph

1833 Commits (l10n-crowdin)

Author SHA1 Message Date
openhab-bot e8419ed185 New translations en.json (Hebrew) 2025-08-06 10:06:46 +02:00
openhab-bot 1767fa6ffe New translations en.json (Hebrew) 2025-08-06 10:06:45 +02:00
openhab-bot 0f1f021feb New translations basic.properties (Hebrew) 2025-08-06 10:06:43 +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
Mark Herwege 46038c4bf4
Add treeview semantics picker (#3178)
Closes https://github.com/openhab/openhab-webui/issues/3211.

This PR changes the semantics picker to use a treeview.

This treeview is inherited from
https://github.com/openhab/openhab-webui/pull/3165 and enhanced.
It therefore also introduces some enhancements in the semantic treeview maintenance.

The semantics treeview presents a searchable treeview of the semantic
classes/properties, limited to what is relevant in the context. When
used as a picker, radio buttons are used for picking. It has filter and
expand capabilities, options to show the semantic name and synonyms and
tooltips showing the semantic descriptions if available.


---------

Also-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-07-13 17:28:23 +02:00
Mark Herwege 4fc03ae45a
Add to model from Thing: Allow picking existing items and groups (#3200)
Resolves #433.

Adding to the model from thing channels has been enhanced in a few ways:

- Add Points to Model: now allows to pick an existing item already
linked to the channel. The item will get default semantic tags from the
channel defaults if it does not have semantic tags already.
- Add Equipment to Model: ability to pick an existing group for the
equipment. This group will get the default equipment semantic tag from
the thing if it does not have a semantic tag already. Groups tagged as
locations cannot be selected to guard model consistency. Adding points
in this case is enhanced just as above.

When doing this, I ran into some reactivity issues with oh-icon, where
switching icon and state at the same time caused update issues. This was
caused by conflicts in the 2 watchers updating the same properties. I
fixed that by grouping these 2 elements in 1 object with a single
watcher.

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-07-13 16:54:48 +02:00
Nadahar ac96f8b1b7
Regenerate rule templates: Follow up for #3197 (#3232)
Follow-up for #3197.

- Fixes issue with "overcrowded" rules-list selection toolbar on narrow screens.
- Adds ability to regenerate multiple rules at once from the rules-list selection.
- Adds ability to select all rules of a certain template by clicking on the template badge in the rules-list selection.
- Shows the script type in the top bar as subtitle for scripted rules (e.g. JS Scripting).

---------

Also-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2025-07-13 16:33:57 +02:00
Mark Herwege 0020d52ba0
Add page to edit semantic tags tree (#3165)
This adds a page with a treeview of the existing semantic tags in the
development tools and allows adding (and editing) custom semantic tags.
With this, you can maintain custom tags from the UI (it was already
possible from `tags.yaml` files before). Moving around custom tags with
drag and drop is possible.

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-07-13 15:06:02 +02:00
Florian Hotze e4dade77de
oh-slider: Fix display state with decimal comma parsed to integer (#3257)
Fixes #1949.
This monkey patches parseFloat to also handle decimal comma and updates
oh-input to take advantage of that.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-11 11:48:48 +02:00
Florian Hotze 5b95355280
Upgrade Maven plugins (#3252)
This aligns Maven plugin versions with openhab-core.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-11 11:45:07 +02:00
Florian Hotze bd7eeafbba
Add Maven Wrapper & Use for CI builds (#3251)
This improves DX by adding the ability to use ./mvnw, so you aren't
required to manually install Maven anymore.
It also fixes (rare) issues with platform specific Maven builds (e.g.
https://github.com/codehaus-plexus/plexus-compiler/issues/394).

Also use Maven Wrapper in GitHub Actions CI, which eliminates the need
for the stCarols/setup-maven action.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-11 11:41:49 +02:00
Florian Hotze f04c91096e
oh-slider-item: Respect `ignoreDisplayState` config & Improve docs (#3256)
Closes https://github.com/openhab/openhab-webui/issues/1503.

https://github.com/openhab/openhab-webui/issues/1503 is caused by the
display state of the Item formatting the raw state different from the
slider.
With this change, it is possible to make the oh-slider-item ignore the
display state for the displayed state value.
oh-slider also ignores the display state if that value is set.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-11 10:46:09 +02:00
Florian Hotze b001427104
oh-slider: Improve docs wrt to #1949 & Add logging (#3255)
Closes #1949.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-11 10:36:37 +02:00
openhab-bot 67f0b541b0
New Crowdin updates (#3236) 2025-07-06 20:54:10 +02:00
Florian Hotze e99fd1ea51
Use versioned branch for add-on & sidebar docs (#3254)
Closes #2945.

Load the markdown source files used by the add-on details and the
developer sidebar from the versioned git branch instead of always using
the latest docs. This is implemented by loading the docs src from the
website, were Netlify redirects are used to point each version to the
proper branch.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-04 17:17:09 +02:00
Andrew Fiddian-Green 8a012d3107
Location card: Various improvements and fixes (#3245)
This does:

1. The collection methods can now not only include exact Property /
Equipment values but also (_**new**_) children of those values
(optionally). This allows display of not only Lightbulb and Lightstripe,
but also any LightSource or child thereof. And also of doors and windows
that support either OpenState (digital) or OpenLevel (analog) positions;
to name a couple.
2. Aligns the code in this PR with the
[documentation](https://github.com/openhab/openhab-docs/pull/2514) and
vice versa; taking into account
[#556](https://github.com/openhab/openhab-webui/issues/556) and
subsequent PRs related to that. This PR and #3239 added support for
Motion detectors under presence, other displays under screens.
3. Cleans up the collection of lighting points to prevent duplicate
entries in the location card; that may otherwise arise when (say) the
user connects a Switch, a Dimmer, and a Color item to the same light
channel.

Resolves
https://github.com/openhab/openhab-webui/pull/3239#issuecomment-3004118138

---------

Also-by: Mark Herwege <mark.herwege@telenet.be>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-06-29 13:24:13 +02:00
Mark Herwege 9af58f62ba
Model treeview: Fixes for drag and drop (#3223)
This fixes 2 issues:

- When picking items from model, the already checked or selected items
would not appear if these are non-semantic. It would also return a bad
selection (selecting the already selected semantic item twice). This PR
fixes it by enabling showNonSemantic if any of the selected or checked
items are non-semantic and expanding the tree to show all selected or
checked items.
- Drag/drop sometimes fails when moving into a subtree of a sibling of a
node being moved, as the added and removed events where not generated,
but a moved event is created instead. This fix also interprets the moved
event. To make things more easily understood for the users when
dragging, the ghost element is now hidden, as it sometimes showed in
another place than where it would be dropped.
- Drag/drop performance on large models was sometimes very slugish. Some
performance improvements where made that should improve this.

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-06-29 13:01:27 +02:00
Mark Herwege 6669b7366f
Add semantic model warnings to health menu (#3202)
Refs https://github.com/openhab/openhab-core/pull/4827.

All of the semantics warning messages that are written in the log at
startup are made available in the REST API with
https://github.com/openhab/openhab-core/pull/4827.

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-06-29 12:52:53 +02:00
Florian Hotze 5de2702e5b
Item metadata: Use editable field of REST response (#3250)
Follow-up for #3249.
Depends on https://github.com/openhab/openhab-core/pull/4874.

This allows to add and edit editable metadata for uneditable Items, it
only blocks edition of uneditable metadata.
For the `widget` metaddata, it allow to try out changes if not editable,
but does not allow saving them.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-06-29 12:46:42 +02:00
Florian Hotze 005e58dab1
Item metadata: Fix metadata from uneditable Items is editable (#3249)
When viewing an uneditable item, its metadata is shown as editable in
the UI. Use the editable property of the Item to decide whether its
metadata is editable. (Technically seen you can have managed metadata
for an unmanaged item, but this will cause confusing behaviour for the
user).

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-06-27 01:02:53 +02:00