jimtng and GitHub
e16b52d601
Upgrade Groovy to 3.0.23 ( #4621 )
...
* Upgrade Groovy to 3.0.23
* Update header generation to match the new format
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-02-26 18:54:32 +01:00
Wouter Born and GitHub
6bf59605bd
Use Spotless sortpom plug-in ( #4618 )
...
This simplifies the sortpom configuration and also allows for checking and reformatting them using the spotless:check and spotless:apply Maven goals.
Signed-off-by: Wouter Born <github@maindrain.net >
2025-02-23 19:04:47 +01:00
Holger Friedrich and Wouter Born
4da70a2ed8
Upgrade Karaf from 4.4.6 to 4.4.7
...
* Sync runtime dependencies with Karaf 4.4.7, most notably:
* PaxWeb 8.0.30
* Jetty 9.4.57.v20241219
* BouncyCastle 1.78.1
* CXF 3.6.4
* Jackson 2.18.2
* JNA 5.16.0
* JAXB 2.3.9
* commons-io 2.17.0
* commons-lang3 3.17.0
* XBean 4.26
* ASM 9.7.1
* PaxLogging 2.2.8
* Resolve itest runbundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-26 15:15:29 +01:00
Wouter Born and GitHub
f00c7700cb
Start license headers with /* instead of /** ( #4544 )
...
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.
Signed-off-by: Wouter Born <github@maindrain.net >
2025-01-07 21:48:56 +01:00
Holger Friedrich and GitHub
40d079ae80
Java 21 language features ( #4535 )
...
* Java 21 language features
* use getFirst and getLast methods
* replace new Locale by Locale.of
* replace Paths.get by Path.of
* use ThreadLocalRandom.current().nextDouble()
* add @Serial annotations
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-06 23:22:43 +01:00
Wouter Born and GitHub
979e4a7409
Update license headers to 2025 ( #4532 )
...
Signed-off-by: Wouter Born <github@maindrain.net >
2025-01-01 16:40:04 +01:00
Wouter Born and GitHub
db72021460
Update Eclipse files ( #4514 )
...
Signed-off-by: Wouter Born <github@maindrain.net >
2024-12-24 07:02:47 +01:00
Holger Friedrich and GitHub
8d837f9823
Prepare for OH 5.0.0 ( #4496 )
...
* Prepare for OH 5.0.0
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles
* Fix linux-specific pom
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-12-15 18:49:23 +01:00
openhab-bot
0f2e56f39d
[unleash-maven-plugin] Preparation for next development cycle.
2024-12-15 11:41:19 +00:00
openhab-bot and GitHub
0c93cc0456
New Crowdin updates ( #4480 )
...
* New translations addons.properties (Catalan)
* New translations addons.properties (Czech)
* New translations audio.properties (Catalan)
* New translations automation.properties (Catalan)
* New translations automation.properties (Czech)
* New translations chart.properties (Catalan)
* New translations chart.properties (Czech)
* New translations defaultsystemchannels.properties (Catalan)
* New translations defaultsystemchannels.properties (Czech)
* New translations ephemeris.properties (Catalan)
* New translations firmware.properties (Catalan)
* New translations hli.properties (Catalan)
* New translations i18n.properties (Catalan)
* New translations inbox.properties (Catalan)
* New translations jsonstorage.properties (Catalan)
* New translations jsr223.properties (Catalan)
* New translations jsr223.properties (Czech)
* New translations languagesupport.properties (Catalan)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations lsp.properties (Catalan)
* New translations magic.properties (Catalan)
* New translations marketplace.properties (Catalan)
* New translations messages.properties (Catalan)
* New translations network.properties (Catalan)
* New translations persistence.properties (Catalan)
* New translations restauth.properties (Catalan)
* New translations scriptprofile.properties (Catalan)
* New translations scriptprofile.properties (Czech)
* New translations sitemap.properties (Catalan)
* New translations systemprofiles.properties (Catalan)
* New translations systemprofiles.properties (Czech)
* New translations systemthingstatusinfos.properties (Catalan)
* New translations tags.properties (Catalan)
* New translations units.properties (Catalan)
* New translations units.properties (Czech)
* New translations validation.properties (Catalan)
* New translations validation.properties (Czech)
* New translations voice.properties (Catalan)
* New translations voice.properties (Czech)
2024-12-08 11:45:41 +01:00
openhab-bot and GitHub
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
Kai Kreuzer and GitHub
21e605d212
Apply spotless after release, resolve bundles ( #4301 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2024-07-07 23:22:27 +02:00
openhab-bot
07e23eac3c
[unleash-maven-plugin] Preparation for next development cycle.
2024-07-07 16:05:56 +00:00
Holger Friedrich and GitHub
873bb53cbc
Upgrade Karaf from 4.4.5 to 4.4.6 ( #4181 )
...
* Upgrade Karaf from 4.4.5 to 4.4.6
* Sync runtime dependencies with Karaf 4.4.6, most notably:
* Jetty 9.4.54.v20240208, addresses CVE-2024-22201
* Pax Logging 2.2.7
* Pax Web 8.0.27
* ASM 9.7
* BouncyCastle 1.77
* Upgrade xtext to 2.35.0.M1
* Resolve itest runbundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-05-20 17:42:04 +02:00
openhab-bot and GitHub
d7f79ce7d4
New Crowdin updates ( #4189 )
...
* New translations tags.properties (Italian)
* New translations systemprofiles.properties (Finnish)
* New translations systemprofiles.properties (Hebrew)
* New translations systemprofiles.properties (Polish)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
2024-04-28 18:02:53 +02:00
Holger Friedrich and GitHub
3850599163
Upgrade to Karaf 4.4.5 and Xtext 2.34 ( #4133 )
...
* Upgrade to Karaf 4.4.5 and Xtext 2.34
Upgrade Karaf from 4.4.4 to 4.4.5:
* Sync runtime dependencies with Karaf 4.4.5, most notably:
* Jetty 9.4.53.v20231009
* JNA 5.14.0
* Pax Logging 2.2.6
* Pax Web 8.0.24
* ASM 9.6
* Resolve itest runbundles
Upgrade Xtext from 2.32 to 2.34
* Sync depencencies, most notably:
* Guava 33.0.0
* classgraph 4.8.165 changing provider to io.github.classgraph
* Migrate old Xtext generator xtext.generator to xtext.xtext.generator
as xtext.generator has been removed from Xtext, affecting
org.openhab.core.model.lazygen
* resolve runbundles
* Remove org.openhab.core.model.lazygen
No longer in use since 2017, see eclipse-archived/smarthome#4122 .
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-03-17 09:41:15 +01:00
jimtng and GitHub
0efaf23d4e
Fix the recursive group membership check ( #4088 )
...
Allow a group to be a member of its direct parent and also its parent's ancestors without raising an error.
Looping membership is still detected and prevented as before, thus Stack Overflow is still avoided.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2024-02-12 17:21:55 +01:00
Wouter Born and GitHub
2babea4c9a
Update license headers to 2024 ( #4011 )
...
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-03 21:20:34 +01:00
Wouter Born and GitHub
26a958cd4d
Use static inner classes ( #4002 )
...
A static inner class does not keep an implicit reference to its enclosing instance.
This prevents a common cause of memory leaks and uses less memory per instance of the class.
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-03 12:35:26 +01:00
Wouter Born and GitHub
dc5f50db63
Fix assertEquals order ( #3995 )
...
The first parameter should be the expected value and the second parameter the actual value.
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-02 22:27:53 +01:00
Wouter Born and GitHub
ba5647b871
More code cleanups ( #3975 )
...
While cleaning up the code I found a some more code to cleanup:
* Remove unnecessary boxing
* Use `contains(..)` instead of `indexOf(..) != -1`
* Use `assertInstanceOf` in tests
* Make expensive trace logging conditional
* Remove redundant constructor
* Replace `collect(Collectors.toUnmodifiableList())` with `toList()`
* Replace `filter(..).count() == 0L` with `noneMatch(..)`
* Replace `filter(..).count() > 0` with `anyMatch(..)`
Signed-off-by: Wouter Born <github@maindrain.net >
2023-12-28 13:15:50 +01:00
Wouter Born and GitHub
e958d5b46a
Replace lambdas with method references ( #3972 )
...
Method references are more readable because they refer to class names and usually result in less code.
Signed-off-by: Wouter Born <github@maindrain.net >
2023-12-28 09:55:31 +01:00
Holger Friedrich and GitHub
839ba1ab4c
Apply spotless after release, resolve bundles ( #3953 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2023-12-22 23:14:28 +01:00
openhab-bot
3b279587b1
[unleash-maven-plugin] Preparation for next development cycle.
2023-12-22 11:48:43 +00:00
lolodomo and GitHub
070de55b27
Add a YAML file provider for semantic tags ( #3659 )
...
* Add a YAML file provider for semantic tags
Files in folder conf/tags are loaded by this provider.
Related to #3619
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2023-12-10 11:26:03 +01:00
Wouter Born and GitHub
7af02598ef
Small code cleanup ( #3873 )
...
* Removes hyphens from JavaDoc parameters
* Fixes a few 'exists' grammar mistakes
Signed-off-by: Wouter Born <github@maindrain.net >
2023-11-15 16:47:58 +01:00
Holger Friedrich and GitHub
9ad2fef549
Fix javadoc warnings ( #3870 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2023-11-15 09:21:07 +01:00
dependabot[bot] and GitHub
a0eeed9292
Bump org.apache.ivy:ivy in /bundles/org.openhab.core.semantics ( #3773 )
...
Bumps org.apache.ivy:ivy from 2.5.1 to 2.5.2.
---
updated-dependencies:
- dependency-name: org.apache.ivy:ivy
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-28 09:41:50 +02:00
J-N-K and GitHub
caf13da88a
Fix StackOverflowError in SemanticsMetadataProvider ( #3748 )
...
In case of cyclic/recursive membership of groups (i.e. a group has itself or a child as parent) the recursive processing of the items leads to an `StackOverflowError` (reported in the forum and the german Facebook group). Also this is clearly a configuration error it should not result in the bundle not starting.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2023-08-12 11:49:12 +02:00
Kai Kreuzer
5692232e2b
Apply spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2023-07-24 01:11:37 +02:00
openhab-bot
fd93f0a766
[unleash-maven-plugin] Preparation for next development cycle.
2023-07-23 17:14:35 +00:00
J-N-K and GitHub
64fd046266
Bump spifly to 1.3.6 and asm to 9.4 to support records ( #3658 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2023-06-23 10:46:43 +02:00
lolodomo and GitHub
f86635fe96
[rest] Add semantic tag registry + API to manage user tags ( #3646 )
...
* Add semantic tag registry + REST API to manage user tags
Related to #3619
New registry for semantic tags.
New default semantic tags provider for all built-in semantic tags.
New managed provider to add/remove/update user semantic tags.
Storage of user semantic tags in a JSON DB file.
New REST API to add/remove/update user tags in the semantic model.
New REST API to get a sub-tree of the semantic tags.
Semantic tag class annotations are removed.
Semantic tag classes are now created at runtime.
Classes Locations, Equipments, Points and Properties are removed
Static methods SemanticTags.add removed
The adding of semantic tag classes is now managed only by the tag registry.
Avoids calling static method SemanticTags.getById when possible
SemanticsMetadataProvider service now requires semanticTagRegistry to start.
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2023-06-16 16:38:03 +02:00
J-N-K and GitHub
9ef076dc6a
[uom] Add unit metadata for NumberItem ( #3481 )
...
* Add defaultUnit metadata for NumberItem
Signed-off-by: Jan N. Klug <github@klug.nrw >
2023-05-09 22:42:25 +02:00
Wouter Born and GitHub
3c6d855d4b
Remove redundant public and abstract modifiers from interfaces ( #3560 )
...
* Remove redundant public modifiers from interfaces
* Remove redundant abstract modifiers from interfaces
Signed-off-by: Wouter Born <github@maindrain.net >
2023-04-20 20:22:58 +02:00
Holger Friedrich and GitHub
769aa562a1
Code cleanup: Use Java 17 features ( #3522 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2023-04-16 21:43:59 +02:00
jimtng and GitHub
9e334497f9
Add methods to get Semantic tag synonyms and description ( #3553 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2023-04-15 11:24:12 +02:00
jimtng and GitHub
4f2af88e73
Add dynamic creation of semantic tags ( #3519 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2023-04-14 14:35:43 +02:00
jimtng and GitHub
003635dbfa
Fix Semantics default synonyms ( #3511 )
...
Fix incorrect Property id
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2023-04-01 09:32:12 +02:00
J-N-K and GitHub
8d64ecfd8d
Update license header to 2023 ( #3294 )
...
* Update license header to 2023
Signed-off-by: Jan N. Klug <github@klug.nrw >
2023-01-03 09:45:42 +01:00
Wouter Born and GitHub
687688db7e
Update Eclipse .classpath files ( #3250 )
...
Also adds some missing files for recently added projects.
Signed-off-by: Wouter Born <github@maindrain.net >
2022-12-22 14:14:35 +01:00
J-N-K and GitHub
3fc4d23734
Fix spotless and resolve itests ( #3239 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-12-19 11:09:31 +01:00
openhab-bot
35254b3a0a
[unleash-maven-plugin] Preparation for next development cycle.
2022-12-18 23:08:22 +00:00
Дилян Палаузов and GitHub
e556fdf81b
Fix a/an typos ( #3181 )
...
* Typos a/an
* Fix typo generation in generateTagClasses.groovy
Signed-off-by: Wouter Born <github@maindrain.net >
2022-11-29 20:57:48 +01:00
dependabot[bot] and GitHub
440ce2eb6c
Bump ivy from 2.5.0 to 2.5.1 in /bundles/org.openhab.core.semantics ( #3152 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-13 10:53:58 +01:00
openhab-bot and GitHub
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
openhab-bot and GitHub
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
Kai Kreuzer and GitHub
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
J-N-K and GitHub
2a3e2e5567
Reduce Mockito warnings ( #2893 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-03 22:36:55 +02:00