openhab-bot
09f67680be
[unleash-maven-plugin] Preparation for next development cycle.
2025-08-19 14:26:11 +00:00
Kai Kreuzer
f255cf6400
Bump version to 5.0.1-SNAPSHOT
2025-07-21 22:25:06 +02:00
openhab-bot
d2b87e6fe6
Preparation for tag creation (Tag name: '5.0.0').
2025-07-21 07:16:58 +00:00
openhab-bot
b1a68d0012
New Crowdin updates ( #4901 )
...
* New translations audio.properties (Portuguese)
* New translations audio.properties (Portuguese, Brazilian)
* New translations automation.properties (German)
* New translations chart.properties (German)
* New translations defaultsystemchannels.properties (German)
* New translations ephemeris.properties (Portuguese)
* New translations ephemeris.properties (Portuguese, Brazilian)
* New translations firmware.properties (Portuguese)
* New translations firmware.properties (Portuguese, Brazilian)
* New translations inbox.properties (Portuguese)
* New translations inbox.properties (Portuguese, Brazilian)
* New translations jsonstorage.properties (Portuguese)
* New translations jsonstorage.properties (Portuguese, Brazilian)
* New translations jsr223.properties (French)
* New translations jsr223.properties (German)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations messages.properties (German)
* New translations network.properties (Portuguese)
* New translations network.properties (Portuguese, Brazilian)
* New translations persistence.properties (Portuguese, Brazilian)
* New translations scriptprofile.properties (German)
* New translations sitemap.properties (Portuguese)
* New translations sitemap.properties (Portuguese, Brazilian)
* New translations systemprofiles.properties (German)
* New translations tags.properties (French)
* New translations tags.properties (German)
* New translations units.properties (German)
* New translations units.properties (Portuguese, Brazilian)
* New translations validation.properties (German)
* New translations voice.properties (German)
2025-07-15 15:22:05 +02:00
openhab-bot
35dc698215
New Crowdin updates ( #4858 )
...
* New translations tags.properties (Danish)
* New translations jsr223.properties (Spanish)
* New translations tags.properties (Hebrew)
* New translations automation.properties (Italian)
* New translations jsr223.properties (Hebrew)
* New translations firmware.properties (Portuguese, Brazilian)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations audio.properties (Portuguese, Brazilian)
* New translations inbox.properties (Portuguese, Brazilian)
* New translations ephemeris.properties (Portuguese, Brazilian)
* New translations jsonstorage.properties (Portuguese, Brazilian)
* New translations network.properties (Portuguese, Brazilian)
* New translations sitemap.properties (Portuguese, Brazilian)
2025-06-21 08:56:43 +02:00
Holger Friedrich
6eb7d0c9a6
Clean up POM dependencies ( #4855 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-18 20:23:10 +02:00
openhab-bot
575ba25023
New Crowdin updates ( #4853 )
...
* New translations firmware.properties (Portuguese)
* New translations audio.properties (Portuguese)
* New translations inbox.properties (Portuguese)
* New translations ephemeris.properties (Portuguese)
* New translations jsonstorage.properties (Portuguese)
* New translations network.properties (Portuguese)
* New translations sitemap.properties (Portuguese)
2025-06-17 22:48:02 +02:00
Wouter Born
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
Mark Herwege
9ad83bada4
Remove calls to deprecated URL constructor ( #4551 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-01-12 22:18:10 +01:00
Wouter Born
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
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
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
db72021460
Update Eclipse files ( #4514 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-24 07:02:47 +01:00
Holger Friedrich
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
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
Kai Kreuzer
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
fa9cff6be9
GsonBuilder: Explicitly set date format ( #4185 )
...
Between Java 17 and Java 21, serialization of DateTime has changed due to
CLDR 42 which uses a narrow non-breaking space.
To ease switching JDK versions, the seralization format is explicitly
set to the Java 17 format.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-28 17:11:54 +02:00
Jacob Laursen
6867f1e956
[discovery] Fix `Instant` serialization/deserialization regression ( #4029 )
...
* Fix Instant serialization/deserialization regression
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Consolidate serialization and deserialization in same type adapter
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Simplify deserializer
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
---------
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-12 08:39:11 +01:00
Wouter Born
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
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
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
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
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
joerg1985
bdb1e55b58
Use a scheduled thread pool in JsonStorage + Bugfixes ( #3874 )
...
* Use a scheduled thread pool in JsonStorage to avoid one thread per instance
* Removed an incorrect conversion between millis and nanos
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2023-11-22 22:43:44 +01:00
Wouter Born
e8e1c9fe73
Simplify code that creates List, Map and Set objects ( #3836 )
...
Simplifies the code by using List.of, List.copyOf etc. where possible which results in less code and imports.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-09 18:00:00 +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
Holger Friedrich
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
J-N-K
9289fd5a78
Bump spotless and fix formatting ( #3469 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-20 23:14:59 +01:00
J-N-K
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
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
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
Дилян Палаузов
f64874e226
Fix a/an typos ( #3184 )
2022-11-30 21:16:18 +01: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
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
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
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
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
J-N-K
6a75130355
Allow type migrations in JSONStorage ( #2784 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-04-09 15:49:38 +02:00
Wouter Born
e6ddeccd78
Add more null annotations to XML processing classes ( #2775 )
...
This adds null annotations to many XML processing classes and a few others.
Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-10 19:57:31 +01:00
Wouter Born
f411561b70
Flush old JsonStorage to file before recreating a new one ( #2778 )
...
Fixes #2774
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-17 21:41:41 +01:00
Wouter Born
3d7be0ffa7
Avoid throwing raw exception types ( #2747 )
...
* Avoid throwing raw exception types
This fixes all 36 AvoidThrowingRawExceptionTypes SAT findings.
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-14 16:14:25 +01:00
Wouter Born
ad936cd83f
Add more null annotations ( #2742 )
...
* Add more null annotations
* Fix mock name
Adds null annotations to most of the tests as well as a few other classes.
Also fixes a few other SAT findings.
Fixes ~300 SAT findings in total.
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-14 11:33:50 +01:00
Wouter Born
b36f292dcd
Prevent JsonStorage backup corruption when disk is full ( #2746 )
...
Fixes #2267
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-10 19:27:56 +01:00
Christoph Weitkamp
cabb3f7315
Update license headers to 2022 ( #2671 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-07 13:16:42 +01:00