joerg1985
af35487155
Extend HistoricItem to work with Instant instead of ZonedDateTime ( #4384 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-10-16 12:29:55 +02:00
Florian Hotze
389f6a3434
[rest] Persistence: Optionally add current Item state to response ( #4394 )
...
* [rest] Persistence endpoint: Optionally add current Item state to response
This new optional parameter gives the UI additional possibilities for charts.
E.g. it is now possible to display a bar chart with monthly energy consumption, where the consumption is only persisted at the end of the month, that includes the data from this month.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-09 19:32:31 +02:00
openhab-bot
963a8d1a5f
New Crowdin updates ( #4408 )
...
* New translations tags.properties (Hungarian)
* New translations addons.properties (Spanish)
* New translations units.properties (Spanish)
* New translations validation.properties (Norwegian)
* New translations addons.properties (Norwegian)
* New translations voice.properties (Norwegian)
* New translations systemprofiles.properties (Norwegian)
* New translations chart.properties (Norwegian)
* New translations defaultsystemchannels.properties (Norwegian)
* New translations i18n.properties (Finnish)
* New translations i18n.properties (Norwegian)
* New translations automation.properties (Hebrew)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
2024-10-08 01:28:25 +02:00
Cody Cutrer
ea5480d12b
Add ColorUtil.xyToDuv ( #4401 )
...
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-10-08 00:02:25 +02:00
lsiepel
d9e5df0cd9
Extend NetUtils for network range scanning ( #4375 )
...
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-07 23:54:51 +02:00
Florian Hotze
d012d36bba
[automation] Add support for synchronized execution of compiled scripts ( #4402 )
...
* [automation] Synchronize execution of compiled scripts if ScriptEngine implements Lock interface
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-06 19:20:30 +02:00
Wouter Born
9eef587c89
Upgrade Jollyday to 0.32.0 ( #4403 )
...
Upgrades Jollyday from 0.30.0 to 0.32.0.
For release notes, see:
https://github.com/focus-shift/jollyday/releases/tag/v0.31.0
https://github.com/focus-shift/jollyday/releases/tag/v0.32.0
Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-05 17:19:46 +02:00
Holger Friedrich
22eec8c593
Upgrade Xtext/Xtend to 2.36.0
...
* Upgrade Xtext/Xtend from 2.35.0 to 2.36.0, see release notes:
https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/08/25/version-2-36-0
https://eclipse.dev/Xtext/xtend/releasenotes.html#/releasenotes/2024/08/25/version-2-36-0
* Upgrade dependencies
* Guava from 33.2.0 to 33.3.0
* Classgraph from 4.8.172 to 4.8.174
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-10-05 10:46:40 +02:00
Holger Friedrich
49199a4d86
Disable XbaseGenerated annotation where necessary
...
Workaround for issue in xtext code generator in xtext 2.36, see
eclipse/xtext#3182 .
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-10-05 10:46:40 +02:00
Holger Friedrich
c25d67a65b
[persistence] Allow negative filter boundaries ( #4400 )
...
Modify xtext file for textual configuration of persistence.
Fixes #4396 .
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-10-05 09:49:59 +02:00
dependabot[bot]
c7955e9577
Bump org.apache.maven.plugins:maven-archetype-plugin ( #4390 )
...
Bumps [org.apache.maven.plugins:maven-archetype-plugin](https://github.com/apache/maven-archetype ) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/apache/maven-archetype/releases )
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.2.1...maven-archetype-3.3.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-archetype-plugin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 06:50:03 +02:00
jimtng
3a79871072
Ensure timeseries entries have unique timestamps ( #4397 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-10-02 00:07:55 +02:00
Florian Hotze
c454ee2241
Fix input parameter not enabled if label/description provided for discovery services ( #4393 )
...
Fixes an issue from #4389 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-09-30 17:51:35 +02:00
lolodomo
b8b3ec9df0
Add a new optional input parameter to discovery services ( #4389 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-09-29 14:08:29 +02:00
Mark Herwege
47284e5521
[sitemap] Buttongrid with Button components available for main UI configuration ( #4377 )
...
* buttongrid with buttons for UI defined sitemap
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-09-28 21:34:07 +02:00
F. Vollmann
a5c488d8c8
Add XOR ArithmeticGroupFunction ( #4386 )
...
* #4385 add XOR ArithmeticGroupFunction (1 of n)
Signed-off-by: Fabian Vollmann <surmise-metro.0c@icloud.com>
2024-09-26 08:28:08 +02:00
Florian Hotze
437a885d82
[thing] Add toString overrides to ThingImpl & BridgeImpl ( #4382 )
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-09-19 18:53:26 +02:00
Andrew Fiddian-Green
5f14cd1c5f
[ColorUtil] New methods kelvinToXY and xyToKelvin ( #4367 )
...
Signed-off-by: AndrewFG <software@whitebear.ch>
2024-09-17 01:01:51 +02:00
jimtng
3c7b4b89b1
Add offset and timeOnly config in TimerEvent payload ( #4378 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-15 21:20:29 +02:00
openhab-bot
92f5baea10
New Crowdin updates ( #4379 )
...
* New translations defaultsystemchannels.properties (Italian)
* New translations i18n.properties (Italian)
2024-09-15 21:14:45 +02:00
Florian Hotze
e027bb5cb1
[rest] Add caching for transformation resource ( #4376 )
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-09-13 08:54:50 +02:00
jimtng
bcda209ec9
RulesDSL: add DateTimeTrigger offset ( #4272 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-10 21:20:57 +02:00
jimtng
83b069d970
Revert "Insert context keys before compiling UI scripts ( #4372 )" ( #4373 )
...
This reverts commit 6e6f000800
.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-10 07:52:16 +02:00
J-N-K
53889cdcdb
Add a PersistenceService bundle tracker ( #4324 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-09-09 20:06:15 +02:00
jimtng
6e6f000800
Insert context keys before compiling UI scripts ( #4372 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-09 19:23:57 +02:00
jimtng
69dc83237b
Support offset in DateTimeTrigger ( #4271 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-08 07:54:45 +02:00
lolodomo
3e912eca4b
Fix translation of label for system:addons service ( #4306 )
...
The i18n file containing this label is in org.openhab.core bundle.
Fix openhab/openhab-webui#1669
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-09-08 06:13:58 +02:00
lolodomo
edf5b62213
[sitemap] Remove snedFrequency parameter for Slider/Colorpicker widgets ( #4347 )
...
Related to #4338
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-09-07 18:41:52 +02:00
Wouter Born
e3d7885367
Replace deprecated stale bot with stale action ( #4371 )
...
The stale bot is deprecated and no longer maintained.
Instead the stale GHA should be used.
Signed-off-by: Wouter Born <github@maindrain.net>
2024-09-07 18:37:51 +02:00
Kai Kreuzer
b3f710372d
Upgrade to JmDNS 3.5.12 ( #4337 )
...
Also-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-09-07 09:21:00 +02:00
jimtng
5cf91cde1b
Filter out blank lines and comments in a multi-line transformations ( #4357 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-07 06:59:22 +02:00
jimtng
1145613cba
Support space-separated date/time format for DateTimeType ( #4370 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-06 22:44:20 +02:00
jimtng
72753be8cc
Add time series support for script profile ( #4365 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-31 11:49:46 +02:00
jimtng
8a59844451
Add isTransform(), isEmpty() and isPresent() to ChannelTransformation ( #4355 )
...
* Add isEmpty() and isPresent() to ChannelTransformation
* Add isValidTransformation helper method
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-30 18:47:55 +02:00
jimtng
66d55f77b5
Make DateTimeType Comparable ( #4364 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-28 18:11:02 +02:00
jimtng
8d54ccefef
Add MEDIAN group function ( #4344 )
...
* Add MEDIAN group function
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-24 14:39:39 +02:00
jimtng
e8e55443c3
Add tests for null-returning transformations in ChannelTransformationTest ( #4356 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-24 10:59:21 +02:00
jimtng
17ad247519
Rename parameter of ChannelHandler ( #4361 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-24 10:58:19 +02:00
Mark Herwege
b63fa473b3
Median action in persistence extensions ( #4345 )
...
* median persistence extension
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-08-24 10:55:06 +02:00
jimtng
b8e0f94cb0
Add missing ScriptProfile parameter options ( #4360 )
...
for commandFromItemScript and stateFromItemScript
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-21 19:42:12 +02:00
jimtng
506ccd4f4d
Support channel transformation chaining with a list ( #4353 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-18 18:36:36 +02:00
jimtng
bb2a2d10dc
Support channel transformations with parentheses ( #4352 )
...
* Support channel transformations with parentheses
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-18 17:05:32 +02:00
Holger Friedrich
0e1883bdae
Fix CodeQL warnings ( #4348 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-08-17 14:57:45 +02:00
Wouter Born
76597838c4
Fix itests on machines with lots of processors ( #4349 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2024-08-15 22:37:21 +02:00
Wouter Born
5eedd273ba
Upgrade Jollyday to 0.30.0 ( #4343 )
...
Upgrades Jollyday from 0.28.1 to 0.30.0.
For release notes, see:
https://github.com/focus-shift/jollyday/releases/tag/v0.30.0
Signed-off-by: Wouter Born <github@maindrain.net>
2024-08-11 20:14:32 +02:00
Holger Friedrich
fc454883c2
Reduce SAT warnings ( #4339 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-08-11 10:04:26 +02:00
Cody Cutrer
716045a174
Support lists for metadata properties in items files ( #4330 )
...
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-08-05 23:19:30 +02:00
Florian Hotze
6d174a91c2
Fix favicon for authorize/login page ( #4335 )
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-08-04 18:11:01 +02:00
Florian Hotze
1ce5b378d3
Icon servlet: Set Cache-Control header to enable icon caching ( #4336 )
...
I have removed the Modified-Since handling as it did not have an effect due to the missing Cache-Control header,
and instead added Cache-Control with a max-age set.
This enables "forever" caching of icons, which should be fine since they are static assets.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-08-04 17:33:06 +02:00
lolodomo
289f06378d
Config parameter: Change inferred i18n key for add-ons + alternative key ( #4305 )
...
Fix openhab/openhab-webui#2641
The i18n key for add-on configuration parameter should now start with addon.config.<param>.
To maintain compatibility with hundreds of existing translations, an alternative key starting with <type>.config.<param> is still accepted for an add-on parameter
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-04 13:13:15 +02:00