Commit Graph

2228 Commits (d909543415f7396c0618fea9c4431152cb8d5cd4)

Author SHA1 Message Date
J-N-K 38a6d1e87b
# This is a combination of 2 commits. ()
Bump commons-fileupload

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-02 12:09:35 +02:00
Wouter Born 4851bfbcae
Fix recently introduced SAT issues ()
* Fix recently introduced SAT issues

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-01 17:18:22 +02:00
Wouter Born b745d70d6d
Add issue and pull request templates and configuration ()
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-01 14:39:25 +02:00
J-N-K d557a64532
Fix AbstractDependencyTracker ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-01 14:15:01 +02:00
Wouter Born 41ff466d65
Upgrade maven-surefire-plugin to 3.0.0 ()
This fixes deprecation warnings when runnings tests with Maven 3.9.x:

`[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.`

See: https://issues.apache.org/jira/browse/SUREFIRE-2154

Related to 

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-01 13:36:43 +02:00
J-N-K 8aa9e11342
Fix resource leak in SysfsUsbSerialScanner ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-01 11:32:53 +02:00
Holger Friedrich 74052e7bcd
Code cleanup: Use Java17 features ()
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-01 09:51:12 +02:00
jimtng 003635dbfa
Fix Semantics default synonyms ()
Fix incorrect Property id

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-01 09:32:12 +02:00
J-N-K 4182980ec8
Add ItemStateUpdatedEvent and enable group channel-links ()
* Add (Group)ItemStateUpdatedEvent

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-31 23:01:40 +02:00
GiviMAD 4d0dba1abc
Fix OOBE in item metadata descriptions providers ()
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-30 20:33:21 +02:00
J-N-K 6294c48be4
Use try-with-resources on Files.walk/Files.list ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-29 09:54:41 +02:00
jimtng c8cc05d24b
[REST] Sort profile-type resources by their label ()
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-29 08:49:04 +02:00
openhab-bot 8df40bc940
New Crowdin updates ()
* New translations scriptprofile.properties (Hungarian)

* New translations voice.properties (Hungarian)
2023-03-29 08:47:45 +02:00
jimtng 30bbc95506
Clarify the script profile config description ()
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-29 08:41:38 +02:00
GiviMAD b6c8aeaf10
Allow using quotes in metadata state/command description value/label ()
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-26 19:30:21 +02:00
Mark Herwege 850a9239de
Add inputHint parameter to sitemap Input element ()
* Add inputHint param to sitemap Input element

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-03-26 11:15:56 +02:00
Andrew Fiddian-Green 4cbc0e613e
Integration tests for org.openhab.core.io.net ()
* [org.openhab.core.io.net] add itests

Co-authored-by: Wouter Born <github@maindrain.net>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-25 17:44:15 +01:00
J-N-K 8494bf1199
[config] Fix ConvigValidationMessage in ThingManagerImpl ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-24 10:13:59 +01:00
openhab-bot ae895790ac
New Crowdin updates ()
* New translations automation.properties (Hebrew)

* New translations validation.properties (German)

* New translations validation.properties (Hebrew)

* New translations scriptprofile.properties (German)

* New translations scriptprofile.properties (Finnish)

* New translations scriptprofile.properties (Hebrew)

* New translations scriptprofile.properties (Polish)
2023-03-23 20:51:43 +01:00
openhab-bot 700b0e81ea
New Crowdin updates ()
* New translations scriptprofile.properties (Danish)

* New translations scriptprofile.properties (Italian)
2023-03-22 19:50:43 +01:00
J-N-K 9289fd5a78
Bump spotless and fix formatting ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-20 23:14:59 +01:00
J-N-K 7bad9baa85
Introduce a profile for the generic SCRIPT transformation ()
* Introduce a generic script profile

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-20 21:59:48 +01:00
jimtng cb38d19360
Fix variable binding in ScriptTransformationService ()
by setting all attributes before compiling

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-19 20:05:49 +01:00
jimtng 1e55914e55
Improve AbstractScriptFileWatcher initialization order and file handling ()
* Remove initialImport from the constructor of AbstractScriptFileWatcher
- Calling initialImport inside the constructor may cause an NPE in child class.
* Refactor processWatchEvent in AbstractScriptFileWatcher
- Remove directory deletion handling and adapt test to check
for file removals instead.
- Include hidden files in deletions in case they were previously
loaded while not hidden, set to hidden, and then deleted.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-18 09:15:20 +01:00
mueller-ma 79c7ec8379
Add issue template for Sitemap changes ()
This makes sure all maintainers are notified.

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-18 09:12:51 +01:00
J-N-K a32f1e0253
Add ColorUtil for better support of xyY conversion ()
* Add ColorUtil for better support of xyY conversion

This has been refactored to align with the usually used conversion by a lot of ZigBee products like Hue or Deconz.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-16 22:25:03 +01:00
lolodomo 52e36a0216
[sitemap] Add new color keyword "itemValue" ()
Closes 

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-16 18:59:10 +01:00
GiviMAD 11e29c45f7
[voice] Fix default interpreter selection ()
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-16 09:05:10 +01:00
Andrew Fiddian-Green 8a0fdfc173
Add jetty-alpn-java-client dependency ()
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-16 09:04:22 +01:00
J-N-K 4390d515d6
Fix file processing in FileTransformationProvider ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-16 08:52:30 +01:00
GiviMAD f529a7b77f
[CLI/voice] use parameters for cli voice commands startDialog and listenAndAnswer ()
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-16 08:07:06 +01:00
Jacob Laursen 3e1c0b3259
Fix InaccessibleObjectException ()
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-16 08:05:37 +01:00
J-N-K c05fe8ad4d
Fix ready marker ordering on late subscriptions ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-13 21:15:55 +01:00
Andrew Fiddian-Green 73b8a3ae32
Fix channel order in REST API ()
* Fix sort order of Things in UI
* Add itest for channel order

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-13 17:26:34 +01:00
Wouter Born 0894d25448
Upgrade JUnit to 5.9.2 and Mockito to 4.11.0 ()
For release notes, see:

* https://junit.org/junit5/docs/current/release-notes/#release-notes-5.9.2
* https://github.com/mockito/mockito/releases/

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 20:47:54 +01:00
Wouter Born 0c792ec89a
Upgrade XStream to 1.4.20 ()
This addresses CVE-2022-40151 and CVE-2022-41966, see:

https://x-stream.github.io/changes.html#1.4.20

This version also fixes an issue with closing streams so the workaround in GenerateDefaultTranslationsMojoTest is no longer needed.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 12:22:33 +01:00
J-N-K 95e04fccbd
Allow inline scripts in SCRIPT transformation ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-12 12:00:06 +01:00
Andrew Fiddian-Green a5d65ce2ad
Add support for Jetty HTTP/2 clients ()
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-12 10:22:50 +01:00
lolodomo a3a95b5bb9
AbstractCachedTTSService: make synthesize method non final ()
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-08 22:57:26 +01:00
openhab-bot 07ffc11c87
New Crowdin updates ()
* New translations automation.properties (Polish)
* New translations automation.properties (Slovenian)
* New translations DefaultSystemChannels.properties (Slovenian)
* New translations LanguageSupport.properties (Portuguese, Brazilian)
* New translations magic.properties (Slovenian)
* New translations restauth.properties (Norwegian)
* New translations restauth.properties (Slovenian)
* New translations validation.properties (Norwegian)
* New translations validation.properties (Polish)
* New translations validation.properties (Slovenian)
* New translations voice.properties (Norwegian)
* New translations voice.properties (Slovenian)
2023-03-08 22:09:07 +01:00
Wouter Born 56f5550e6b
Fix broken ProxyServletService ()
Reverts the partially working Whiteboard config changes of  back to a working implementation using the HttpService.
The configurable threading makes this a non-trivial Servlet for use with the Whiteboard.

Fixes 

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 20:07:59 +01:00
J-N-K d0a0e6d399
Add support for channel-groups to update instructions ()
* Add support for channel-groups to update instructions

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-07 21:57:39 +01:00
jimtng f9751448c1
Fix ISE during WatchService disposal ()
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-07 15:43:45 +01:00
lolodomo 6d989ea6e2
Remove List element from sitemap syntax ()
Related to 
Related to 

This sitemap widget is not documented.

It is not implemented neither in Android app nor iOS app.

It was implemented in BasicUI but was buggy.
Support in BasicUI has been removed.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-05 20:48:06 +01:00
Wouter Born ac5bbb90b8
Upgrade JUPnP to 2.7.0 ()
Fixes 

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-05 09:55:06 +01:00
J-N-K 81accafbe4
Fix i18n-maven-plugin dependencies ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-05 09:50:20 +01:00
J-N-K 278e99b461
Fix IllegalStateException in WatchServiceImpl ()
Added a check to prevent attempts to unregister already unregistered service

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-05 09:44:58 +01:00
J-N-K 07e8ff56c7
Prevent duplicate events in WatchService ()
On Samba shares a single MODIFY event may result in different sequences of CREATE/DELETE/MODIFY events. Unfortunately this is not properly handled by the underlying library and we have to re-introduce our ugly workaround. The solution itself is a bit improved over the old one as it not only keeps the last event but determines the correct event by examining the sequence of received events.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-05 09:44:23 +01:00
Gwendal Roulleau ac88faa5dc
[serial] Ability to use /dev/serial/ symlinks for usb serial device ()
The rxtx serial port provider is now able to scan symlink in /dev/serial/by-id and use them as valid identifier.
Benefit : users won't have to fix the path of their USB serial device  with udev anymore, they can now use the explicit and stable symlink directly.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
[serial] Ability to use /dev/serial/ links

Revert previous commit (rewriting to use discovery serial service to provide the symlinks to all serial provider, and not only rxtx).
Workaround for the rxtx provider which can resolve symlink before using the native code (limit path to 80 char).

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-03-04 14:43:46 +01:00
J-N-K 52380b7fbe
[rest] List transformation services ()
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-02 21:36:50 +01:00