Commit Graph

1846 Commits

Author SHA1 Message Date
Jacob Laursen
9bb88a1b7b
[oauth] Migrate usage of LocalDateTime to Instant (#3066)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-22 08:13:52 +02:00
jimtng
8f745b0d3d
Fix timezone handling in DateTimeTrigger (#3060)
* [DateTimeTrigger] Adjust to system timeline
* [DateTimeTrigger] Add tests for DateTimeTriggerHandler

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-12 08:47:06 +02:00
Flole998
6758aacba5
Add "time only"-Option for DateTimeTrigger in rules (#3051)
Signed-off-by: Flole <flole@flole.de>
2022-08-06 17:26:08 +02:00
openhab-bot
c4f0ab44df
New Crowdin updates (#3054)
* New translations units.properties (Portuguese)

* New translations units.properties (Portuguese, Brazilian)

* New translations firmware.properties (Slovenian)

* New translations units.properties (Slovenian)

* New translations validation.properties (Slovenian)

* New translations messages.properties (Slovenian)

* New translations tags.properties (Danish)

* New translations tags.properties (Slovenian)

* New translations DefaultSystemChannels.properties (Slovenian)

* New translations LanguageSupport.properties (Slovenian)

* New translations SystemProfiles.properties (Slovenian)

* New translations jsonStorage.properties (Slovenian)

* New translations network.properties (Slovenian)

* New translations i18n.properties (Slovenian)

* New translations voice.properties (Slovenian)

* New translations chart.properties (Slovenian)

* New translations persistence.properties (Slovenian)

* New translations addons.properties (Slovenian)

* New translations restauth.properties (Slovenian)

* New translations ephemeris.properties (Slovenian)

* New translations inbox.properties (Slovenian)

* New translations audio.properties (Slovenian)

* New translations hli.properties (Slovenian)

* New translations lsp.properties (Slovenian)

* New translations marketplace.properties (Slovenian)

* New translations sitemap.properties (Slovenian)

* New translations SystemThingStatusInfos.properties (Slovenian)

* New translations magic.properties (Slovenian)

* New translations automation.properties (Hebrew)

* New translations automation.properties (Slovenian)
2022-08-03 18:03:28 +02:00
J-N-K
193da095a8
fix javadoc (#3047)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-21 11:27:25 +02:00
J-N-K
1276932c29
Fix build warnings in addons (#3046)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-21 11:26:24 +02:00
J-N-K
ae3d7c749c
Add REST support for deleting links and removing orphaned links (#2970)
* add link remove for item to registry

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-19 09:24:47 +02:00
J-N-K
b6acaf7887
[rest] Allow bulk deletion of metadata (#2984)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-18 08:50:30 +02:00
J-N-K
836ae89489
Wait for thing-type available in PersistentInbox (#2981)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-17 21:15:48 +02:00
J-N-K
603988a963
Enrich distribution add-on with configDescriptionURI (#3045)
When changing to addon.xml later, this can be extended to all add-ons. It is necessary to improve the UI code for changing add-on log levels.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-17 21:04:25 +02:00
openhab-bot
13beca58ce
New translations hli.properties (Danish) (#3044) 2022-07-17 13:14:47 +02:00
openhab-bot
f84d72d449
New Crowdin updates (#3043)
* New translations messages.properties (Danish)

* New translations audio.properties (Danish)

* New translations inbox.properties (Danish)

* New translations addons.properties (Danish)

* New translations persistence.properties (Danish)

* New translations lsp.properties (Danish)

* New translations sitemap.properties (Danish)

* New translations SystemThingStatusInfos.properties (Danish)
2022-07-15 19:16:14 +02:00
J-N-K
16cf5a8ae1
Fix marketplace add-on uninstall (#3042)
Instead of using the full id (`marketplace:123456`) the id without service prefix was used to lookup installed add-ons. This is not an issue if the network is available because then the information is request from the forum. If no network connection is present it obviously fails.

This also reduces the log level in the case of connection issues. ERROR is to much and the stack trace is not necessary.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-14 22:49:37 +02:00
J-N-K
0b7fc242d4
Enhance transformation configuration (#3036)
* Enhance transformation configuration

This is needed to give the users the best experience when editing transformations in UI.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-14 21:00:53 +02:00
openhab-bot
2909945998
New Crowdin updates (#3038)
* New translations ephemeris.properties (Danish)

* New translations automation.properties (Hungarian)
2022-07-14 18:10:38 +02:00
J-N-K
2ad0b731bf
Log a warning when item for trigger/condition is missing or removed (#3007)
* Log a warning when item for trigger/condition is missing or removed

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-10 19:15:16 +02:00
Wouter Born
9984237ce8
Add default translations for automation module types (#3035)
These were generated using openhab/openhab-core#2966.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 09:27:40 +02:00
Patrick Fink
2b8bccb8fd
Add missing & refactor existing button toggle profiles (#3027)
* Add missing & refactor existing button toggle profiles
* ToggleProfileTest improvements

Signed-off-by: Patrick Fink <mail@pfink.de>
2022-07-09 19:53:30 +02:00
Wouter Born
03b13bd31e
Move Eclipse m2e configuration to a profile (#3034)
This prevents the following warnings when executing: `mvn i18n:generate-default-translations`

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 was not found in https://openhab.jfrog.io/openhab/libs-snapshot during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of openhab-snapshot has elapsed or updates are forced

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-09 17:38:12 +02:00
openhab-bot
205b5bad84
New translations firmware.properties (Danish) (#3031) 2022-07-08 18:42:09 +02:00
Kai Kreuzer
2e7fd9d72a
Upgrade to JmDNS 3.5.8 (#3029)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-07-04 21:52:34 +02:00
openhab-bot
d92a2c6945
New Crowdin updates (#3028)
* New translations units.properties (Portuguese)

* New translations DefaultSystemChannels.properties (Norwegian)

* New translations tags.properties (Norwegian)

* New translations SystemProfiles.properties (Norwegian)

* New translations audio.properties (Norwegian)

* New translations voice.properties (Norwegian)

* New translations ephemeris.properties (Norwegian)

* New translations inbox.properties (Norwegian)

* New translations restauth.properties (Norwegian)

* New translations addons.properties (Norwegian)

* New translations persistence.properties (Norwegian)

* New translations jsonStorage.properties (Norwegian)

* New translations chart.properties (Norwegian)

* New translations i18n.properties (Norwegian)

* New translations network.properties (Norwegian)

* New translations lsp.properties (Norwegian)

* New translations sitemap.properties (Norwegian)

* New translations hli.properties (Norwegian)

* New translations marketplace.properties (Norwegian)

* New translations magic.properties (Norwegian)

* New translations validation.properties (Norwegian)

* New translations SystemThingStatusInfos.properties (Norwegian)

* New translations units.properties (Portuguese, Brazilian)
2022-07-04 15:31:54 +02:00
J-N-K
37429e9b41
Remove OH2 leftover in Karaf Add-On service (#3026)
OH1 add-ons are not present in the OH3 distribution as they are not supported anyway, so we do not to filter them.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-03 14:07:41 +02:00
J-N-K
c5d9c90971
Fix symlinks not followed (#3023)
Reported on the forum https://community.openhab.org/t/custom-icons-disappears-in-openhab-3-3/136957/4

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-29 21:55:00 +02:00
J-N-K
f79f8c348e
Improve UID error message (#3022)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-29 21:54:31 +02:00
Wouter Born
ca1711a2ea
Upgrade i18n-maven-plugin to 3.3.0 (#3019)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-28 21:11:05 +02:00
Kai Kreuzer
61fd47c853
Apply spotless and resolver (#3018)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 13:41:28 +02:00
openhab-bot
8944bdbbe4 [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 16:37:00 +00:00
Wouter Born
6b224b7002
GitHub Actions workflow improvements (#3015)
* Upgrade actions to latest versions
* Upgrade Maven to 3.8.6
* Use Temurin JDK instead of Zulu JDK

The Temurin JDK is preinstalled in the [Ubuntu image](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#java) whereas the Zulu JDK first need to be downloaded.
It should also perform better because the Temurin JDK is linked to glibc 2.12 whereas the Zulu JDK is linked to glibc 2.5.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-26 17:15:26 +02:00
Kai Kreuzer
2cf875fdd8
Fix ConcurrentModificationException in WatchQueueReader (#3016)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-26 17:14:51 +02:00
openhab-bot
cdeda77322
New Crowdin updates (#3013) 2022-06-24 18:19:02 +02:00
J-N-K
453857770a
Fix grep console not working (#3012)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-22 22:38:48 +02:00
J-N-K
0562ffe95e
Fix config validation for integer values (#3010)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-22 20:14:14 +02:00
Wouter Born
5545004e09
Fix null analysis error in ThingMigrationOSGiTest (#3008)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-20 22:10:24 +02:00
Wouter Born
916b6e9db1
Remove redundant @NonNullByDefault In Integration test (#3009)
Nullness default is redundant with a default specified for the enclosing type AutomationIntegrationJsonTest.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-20 22:09:30 +02:00
J-N-K
c2ec97cfaf
Add ability to name timers / scheduled jobs (#2911)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-18 15:04:35 +02:00
J-N-K
e2958331e8
Refactor thing update handling of ThingManagerImpl (#2940)
Also code clean-up.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-18 14:53:58 +02:00
J-N-K
d74277f798
Use ThingStorageEntity instead of ThingImpl/BridgeImpl for storage (#2914)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-18 14:31:45 +02:00
Wouter Born
2b4e5af21e
Revert "Exclude org.osgi.service.prefs to fix build (#3001)" (#3005)
This reverts commit af0566af95.
2022-06-17 12:50:35 +02:00
J-N-K
cdf876c17e
Fix SSE topic filters (#2986)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-16 21:17:25 +02:00
J-N-K
84d5d38606
Fix dangling SSE subscriptions (#2983)
Unlike the sitemap SSE subscriptions generic event subscriptions did not implement a connection lost monitor.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-16 19:41:05 +02:00
Wouter Born
af0566af95
Exclude org.osgi.service.prefs to fix build (#3001)
Someone added a dependency on a non-existing artifact in the new Equinox release and now many builds are broken because Xtext defines a version range for Equinox 😞, see:

* https://github.com/eclipse-equinox/equinox.bundles/issues/54
* https://github.com/eclipse/xtext/issues/2077

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-15 22:24:21 +02:00
J-N-K
293de9d6db
Allow DSL scripts for script transformation (#2990)
* Allow DSL scripts for script transformation

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-14 21:15:28 +02:00
openhab-bot
663240b040
New translations magic.properties (Polish) (#2997) 2022-06-11 15:02:05 +02:00
Kai Kreuzer
e69b9a7e7d
Fix DateTime trigger syntax to not break the equals function in the execution script (#2996)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-06 21:11:32 +02:00
J-N-K
1074e59183
[persistence] Extend PersistenceExtensions with "between" methods (#2931)
* Extend PersistenceExtensions with "between" methods

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-06 11:46:20 +02:00
J-N-K
0d0b64b8f6
Add option for formatting the y-axis labels in charts (#2937)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-04 19:02:10 +02:00
lolodomo
c61baf7600
[sitemap] Allow default color condition for labelcolor and valuecolor (#2995)
Closes openhab/openhab-webui#1298

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 18:22:27 +02:00
J-N-K
2ae3137fec
Bump maven-plugin-plugin to 3.6.4 (#2993)
Needed for Java 17 source level. This also removes build errors with wrong scope and an unused dependency.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-02 10:50:07 +02:00
J-N-K
ffba442225
Bump maven-shade-plugin to 3.3.0 (#2992)
This is necessary for Java 17 source level.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-02 10:49:42 +02:00