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
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
openhab-bot and GitHub
2be44d1cb2
New Crowdin updates ( #4292 )
...
* New translations i18n.properties (Hungarian)
* New translations voice.properties (French)
* New translations addons.properties (French)
* New translations restauth.properties (French)
* New translations i18n.properties (French)
* New translations i18n.properties (Danish)
* New translations defaultsystemchannels.properties (Finnish)
* New translations addons.properties (Finnish)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations i18n.properties (Hebrew)
* New translations i18n.properties (Dutch)
* New translations addons.properties (French)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
2024-07-03 21:20:39 +02:00
openhab-bot and GitHub
1a33e23fef
New Crowdin updates ( #4285 )
...
* New translations validation.properties (Dutch)
* New translations addons.properties (Dutch)
* New translations voice.properties (Dutch)
* New translations automation.properties (Dutch)
* New translations scriptprofile.properties (Dutch)
* New translations units.properties (Dutch)
* New translations systemprofiles.properties (Dutch)
* New translations defaultsystemchannels.properties (Dutch)
* New translations chart.properties (Dutch)
* New translations magic.properties (Dutch)
* New translations jsr223.properties (Dutch)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
2024-06-30 10:38:54 +02:00
openhab-bot and GitHub
f150e8dd50
New Crowdin updates ( #4280 )
...
* New translations units.properties (French)
* New translations chart.properties (French)
* New translations voice.properties (French)
* New translations defaultsystemchannels.properties (French)
* New translations addons.properties (French)
* New translations voice.properties (French)
* New translations voice.properties (Hebrew)
* New translations voice.properties (Hungarian)
2024-06-24 20:04:47 +02:00
GiviMAD and GitHub
2e77bbc6f9
[voice] Avoid text concatenation on speech recognition errors ( #4278 )
...
* [voice] Remove recognition error extra text and skip empty
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2024-06-23 23:06:19 +02:00
GiviMAD and GitHub
5578de155f
[voice] Add hlis argument to interpret command ( #4281 )
...
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2024-06-23 23:02:32 +02:00
openhab-bot and GitHub
945900b52a
New Crowdin updates ( #4243 )
...
* New translations chart.properties (Hebrew)
* New translations voice.properties (Hebrew)
* New translations magic.properties (Hebrew)
* New translations jsr223.properties (Hebrew)
* New translations defaultsystemchannels.properties (Hebrew)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
2024-05-23 15:39:11 +02:00
openhab-bot and GitHub
dcc3842386
New Crowdin updates ( #4236 )
...
* New translations addons.properties (Hungarian)
* New translations scriptprofile.properties (Hungarian)
* New translations systemprofiles.properties (Hungarian)
* New translations chart.properties (Hungarian)
* New translations voice.properties (Hungarian)
* New translations magic.properties (Hungarian)
* New translations jsr223.properties (Hungarian)
* New translations defaultsystemchannels.properties (Danish)
2024-05-22 21:27:54 +02:00
Holger Friedrich and GitHub
352dbf2aaa
Update i18n property files ( #4229 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-05-18 18:43:53 +02:00
GiviMAD and GitHub
e14b0a8d0d
[audio|voice] Add console commands to troubleshoot audio sources and speech-to-text services ( #4202 )
...
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2024-05-12 12:25:46 +02:00
openhab-bot and GitHub
942929973d
New Crowdin updates ( #4138 )
...
* New translations addons.properties (French)
* New translations addons.properties (Finnish)
* New translations addons.properties (Hebrew)
* New translations units.properties (Finnish)
* New translations scriptprofile.properties (Hebrew)
* New translations units.properties (Hebrew)
* New translations addons.properties (Polish)
* New translations voice.properties (Polish)
* New translations units.properties (Polish)
* New translations addons.properties (Russian)
* New translations marketplace.properties (Russian)
* New translations units.properties (Russian)
* New translations addons.properties (Ukrainian)
* New translations validation.properties (Danish)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations addons.properties (Danish)
* New translations scriptprofile.properties (Italian)
2024-03-10 09:41:35 +01:00
Wouter Born and GitHub
85056d9d7b
Some more code cleanup ( #4021 )
...
This cleanup includes:
* Use enhanced for loops
* Use text blocks
* Use Objects.equals
* Fix some typos
* Remove redundant variable initialization
* Remove redundant null checks with instanceof
* Remove redundant thrown Exceptions
* Remove redundant empty String concatenation
Signed-off-by: Wouter Born <github@maindrain.net >
2024-02-04 11:17:55 +01:00
Wouter Born and GitHub
c757819a15
Fix JavaDoc issues ( #4004 )
...
Fixes various issues including wrong parameter names, references, links and dangling JavaDocs.
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-04 00:03:48 +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
6fc7700ea6
Use protected modifier with constructor of abstract classes ( #4010 )
...
Abstract classes should not have public constructors.
Constructors of abstract classes can only be called in constructors of their subclasses.
So there is no point in making them public.
The protected modifier should be enough.
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-03 16:17:14 +01:00
Wouter Born and GitHub
afd1d4726c
Iterate using Map entries ( #4003 )
...
* Iterate using Map entries
Iteration using Map entries is preferred because it is more efficient and helps preventing NPEs.
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-03 14:50:50 +01:00
Wouter Born and GitHub
58a106d36d
Use diamond operator ( #4001 )
...
Often the type can be inferred so the diamond operator can be used to simplify the code.
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-03 08:22:43 +01:00
Wouter Born and GitHub
b08a01c93f
Remove unnecessary parenthesis from lambdas ( #3968 )
...
Signed-off-by: Wouter Born <github@maindrain.net >
2023-12-27 17:52:13 +01:00
Holger Friedrich and GitHub
bada23fdb8
Minor code cleanup ( #3942 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2023-12-23 12:54:29 +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
Holger Friedrich and GitHub
24b1784d44
Reduce SAT warnings ( #3932 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2023-12-19 20:37:57 +01:00
GiviMAD and GitHub
8cc8d8668a
[Voice] Fix match question and allow force command ( #3925 )
...
* [voice] Fix match question and allow force command
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2023-12-16 12:29:45 +01:00
GiviMAD and GitHub
4ace1557f4
[voice] Add interface to represent a remote keyword spotter ( #3564 )
...
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2023-12-16 11:22:38 +01:00
GiviMAD and GitHub
075bcea8c2
[voice] Support custom rules on item metadata ( #3897 )
...
* [voice] Support custom rules on item metadata
* fix isTemplate functionality and test
* fix filter location based for non labeled rules
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2023-12-06 07:18:44 +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
GiviMAD and GitHub
ade531288f
[voice] Support item descriptions in built-in interpreter. ( #3853 )
...
* [voice] Support item descriptions in built-in interpreter
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2023-11-06 21:34:00 -08:00
Wouter Born and GitHub
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
Wouter Born and GitHub
09b3160a55
Simplify code using Stream.toList ( #3831 )
...
Stream.toList was introduced in Java 16 and creates an unmodifiable List so it can be used to simplify code whenever the List is not expected to be modified.
Signed-off-by: Wouter Born <github@maindrain.net >
2023-10-09 09:20:08 +02:00
openhab-bot and GitHub
dda021ae07
New Crowdin updates ( #3807 )
...
* New translations addons.properties (Russian)
* New translations automation.properties (Hebrew)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations scriptprofile.properties (Finnish)
* New translations voice.properties (Finnish)
* New translations voice.properties (Hebrew)
2023-10-02 10:30:39 +02:00
GiviMAD and GitHub
d87ef1f645
[voice] Add dialog group and location ( #3798 )
...
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2023-09-13 21:09:13 +02:00
GiviMAD and GitHub
4364e3b354
[voice] Reduce collisions on exact match and use item synonyms ( #3698 )
...
* [voice] Reduce collisions on exact match and use item synonyms
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2023-09-08 16:32:43 +02:00
openhab-bot and GitHub
a690aeba3d
New Crowdin updates ( #3744 )
...
* New translations voice.properties (Hungarian)
* New translations automation.properties (Hungarian)
2023-08-11 14:08:26 +02:00
openhab-bot and GitHub
b3cc326217
New Crowdin updates ( #3739 )
...
* New translations automation.properties (Italian)
* New translations LanguageSupport.properties (Portuguese, Brazilian)
2023-08-03 14:08:47 +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
openhab-bot and GitHub
2ee85a75f5
New translations voice.properties (French) ( #3709 )
2023-07-17 17:58:47 +02:00
openhab-bot and GitHub
7b7ccba5bb
New translations voice.properties (Italian) ( #3703 )
2023-07-15 22:17:15 +02:00
Gwendal Roulleau and GitHub
07e88234c6
[voice] Add length limit to TTS handled by cache ( #3699 )
...
* [voice] Add length limit to TTS handled by cache
We can safely assume that long TTS are generated for report (meteo, chatGPT ?), probably not meant to be repeated, and so not cached.
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com >
2023-07-15 09:47:59 +02:00
GiviMAD and GitHub
6b914162bf
[voice] Add console commands for register/unregister dialogs and list them ( #3459 )
...
* [voice] Add voice commands for register/unregister dialogs and list dialogs and dialog registrations
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2023-07-02 11:27:10 +02:00