Commit Graph

88 Commits (main)

Author SHA1 Message Date
Wouter Born a1a2a42735
Apply Spotless after release (#3282)
Signed-off-by: Wouter Born <github@maindrain.net>
2025-07-21 22:12:15 +02:00
openhab-bot 72b18d5b5d [unleash-maven-plugin] Preparation for next development cycle. 2025-07-21 12:00:10 +00:00
openhab-bot 1a24e8bc50
New Crowdin updates (#3115) 2025-04-05 15:27:53 +02:00
Wouter Born de89b6fc27
Use Spotless sortpom plug-in (#3073)
This simplifies the sortpom configuration and also allows for checking
and reformatting them using the spotless:check and spotless:apply Maven
goals.

Similar to openhab/openhab-core#4618

Signed-off-by: Wouter Born <github@maindrain.net>
2025-02-23 19:05:22 +01:00
Holger Friedrich 0041fb699f
[cometvisu] Upgrade openapi generator to 7.0.1 (#2975) 2025-01-26 17:01:19 +01:00
Holger Friedrich 12f24d4f70
Upgrade plugins (#2974) 2025-01-26 16:59:47 +01:00
Wouter Born 824bbc4711
Start license headers with `/*` instead of `/**` (#2988)
Prevents JavaDoc tooling issues because these tools check comments
starting with `/**`.

Depends on #2987

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 18:49:02 +01:00
Wouter Born 4610a15ad1
Update license headers to 2025 (#2963)
Updates the license headers to 2025.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-01 17:09:54 +01:00
openhab-bot ad971dc8bc
New Crowdin updates (#2916) 2024-12-28 13:21:56 +01:00
Holger Friedrich b54f9d2297
Prepare for OH 5.0.0 (#2924)
* Fix spotless after unleash

Depends on https://github.com/openhab/openhab-core/pull/4496

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 19:41:01 +01:00
openhab-bot f5a4bb3388 [unleash-maven-plugin] Preparation for next development cycle. 2024-12-15 17:12:57 +00:00
Wouter Born f5f3a3e837
Upgrade lastnpe EEA to 2.4.0 (#2813)
For release notes, see:

https://github.com/lastnpe/eclipse-null-eea-augments/releases/tag/v2.4.0

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-20 10:56:22 +02:00
Tobias Bräutigam 51d28119a9
[cometvisu] fix path check regressions (#2719)
1. Fix serving the index.html when "/" (or empty) path is requested
2. Fix allowing files beeing served from special cometvisu config folder

Signed-off-by: Tobias Bräutigam <tbraeutigam@gmail.com>
2024-08-21 22:14:16 +02:00
Tobias Bräutigam 5e53b21626
[cometvisu] add more path checks (#2696)
also deny external xml schema loading (avoid XXE attacks)

Signed-off-by: Tobias Bräutigam <tbraeutigam@gmail.com>
2024-08-08 10:51:19 +02:00
Tobias Bräutigam 2056367b55
[cometvisu] Security fixes & cleanup for cometvisu backend (#2671)
add required authentication for some rest endpoints, add some sanity
checks to improve security.

Remove code that has been marked as deprecated.

---------

Signed-off-by: Tobias Bräutigam <tbraeutigam@gmail.com>
2024-07-17 22:00:00 +02:00
Kai Kreuzer 99ad4ff997
Apply spotless after release (#2653)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-07-08 02:03:57 +02:00
openhab-bot 3ce7fc1507 [unleash-maven-plugin] Preparation for next development cycle. 2024-07-07 23:43:10 +00:00
Holger Friedrich d23f407b2a
Upgrade Karaf from 4.4.5 to 4.4.6 (#2547)
Refs https://github.com/openhab/openhab-core/pull/4181.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-20 19:45:24 +01:00
openhab-bot 262dc22e8f
New Crowdin updates (#2286) 2024-02-05 18:20:02 +01:00
Wouter Born ef523642a9
Cleanup Java code (#2263)
This cleanup includes:

* Fix deprecations
* Fix JavaDocs
* Remove redundant toString calls
* Remove redundant semicolons
* Simplify boolean expressions
* Use diamond operator
* Use enhanced for loops
* Use instanceof pattern matching
* Use isEmpty instead of 0 comparisons
* Use lambdas
* Use static inner classes
* Use StandardCharsets

Also adds the SA_LOCAL_SELF_COMPARISON suppression similar as used in
other repositories for https://github.com/spotbugs/spotbugs/issues/1992.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-17 19:10:16 +01:00
Wouter Born afdfa01b07
Update license headers to 2024 (#2254)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-03 21:17:55 +01:00
Kai Kreuzer 4eda3ac170 Apply spotless after release
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-12-22 23:33:18 +01:00
openhab-bot f4cf9535f3 [unleash-maven-plugin] Preparation for next development cycle. 2023-12-22 18:16:31 +00:00
Kai Kreuzer 1a0ea55d9a Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:19:34 +02:00
openhab-bot 871e5ea618 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 22:08:15 +00:00
openhab-bot 6a31b54b02
New Crowdin updates (#1950) 2023-07-17 12:43:21 +02:00
Tobias Bräutigam 7b3490d613
[cometvisu] make sure that folder paths always end with a slash... (#1826)
... this fixes wrong backup/trash file creation

Signed-off-by: Tobias Bräutigam <tbraeutigam@gmail.com>
2023-05-13 19:20:42 +02:00
Wouter Born 0fd9b15fe6
Remove redundant modifiers from interfaces (#1847)
This removes redundant modifiers from the interfaces similar to
openhab/openhab-core#3560.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-20 19:00:03 +02:00
J-N-K e012d946c6
Adapt to core changes (addon.xml) (#1468)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:33:22 +01:00
Wouter Born c8c3b8c113
Update license headers to 2023 (#1624)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-01-06 09:51:00 +01:00
Tobias Bräutigam 87e1d78705
remove deprecated cometvisu-php binding (#1594)
* remove deprecated cometvisu-php binding

closes #1592

Signed-off-by: Tobias Bräutigam <tbraeutigam@gmail.com>
2022-12-30 19:50:10 +01:00
Wouter Born 466566e6ea
Update Eclipse .classpath files (#1603)
Related to #1588

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 16:55:26 +01:00
Wouter Born fd24db8526
Use HTTPS in pom.xml where possible (#1602)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-22 21:53:36 +01:00
Wouter Born f97323690f
Apply spotless to fix build (#1593)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-19 17:33:45 +01:00
openhab-bot e39ce7f6bf [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 03:05:38 +00:00
Wouter Born 5e18cb3047
Use HTTPS links in Markdown (#1589)
* Use HTTPS links in Markdown
* Fix broken link

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 20:05:32 +01:00
Wouter Born 3f7a1d3d04
Show Basic UI and CometVisu intros in Main UI (#1587)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 15:20:42 +01:00
Wouter Born e11bf7e219
Karaf feature improvements (#1541)
* Aggregate features like in the openhab-addons repository
* Verify features in bundle projects
* Add basicui.cfg file for Basic UI in openhab-ui-external
* Fix CometVisu rrd4j/jackson dependency version mismatch

Also-by: Sebastian Gerber <git@sgerber.de>
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-05 23:04:41 +01:00
Tobias Bräutigam 531dabfa83
Fix cometvisu backend (#1535)
* update dependencies and files needed for code generation
* Fix parsing arrays - cache being overwritten. Remove redundant array evaluate. (#1531)
* Add missing features to cometvisu rest api backend, refactor some coding
mark old backend implementation as deprecated
* only download a real release (skip drafts/pre-releases),
fix zip asset detection
* update documentation
* remove obsolete header
* fix version comparison, handle equal versions correctly
* Revert "Fix parsing arrays - cache being overwritten. Remove redundant array evaluate. (#1531)"

Co-authored-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Tobias Bräutigam <tbraeutigam@gmail.com>
2022-11-05 17:51:06 +01:00
openhab-bot 6e9cc922fe
New Crowdin updates (#1442)
* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations iconset.properties (Norwegian)

* New translations basic.properties (Norwegian)

* New translations opennlphli.properties (Norwegian)

* New translations basic.properties (Swedish)

* New translations iconset.properties (Finnish)

* New translations en.json (Hebrew)

* New translations cometvisu.properties (Vietnamese)

* New translations basic.properties (Vietnamese)

* New translations opennlphli.properties (Hebrew)

* New translations en.json (Chinese Simplified)

* New translations opennlphli.properties (Chinese Simplified)

* New translations iconset.properties (Chinese Simplified)

* New translations basic.properties (Chinese Simplified)

* New translations cometvisu.properties (Chinese Simplified)

* New translations en.json (German)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations cometvisu.properties (Italian)

* New translations basic.properties (Italian)

* New translations en.json (Italian)

* New translations opennlphli.properties (Italian)

* New translations iconset.properties (Italian)

* New translations en.json (Polish)
2022-10-09 14:50:46 +02:00
Wouter Born 7cad8b2f5b
Update jaxb2-maven-plugin dependencies to fix Windows build issues (#1438)
On Windows org.openhab.ui.cometvisu fails to build:

`Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.5.0:xjc (default) on project org.openhab.ui.cometvisu: "file:\C:\Users\runneradmin\.m2\repository\org\glassfish\jaxb\jaxb-xjc\2.3.2\jaxb-xjc-2.3.2.jar!\META-INF\versions\9" is not a valid file name: {1}: Invalid file path -> [Help 1]`

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 15:11:38 +02:00
Kai Kreuzer 74666a102b
Apply spotless (#1437)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:20:54 +02:00
openhab-bot 210ab3058c [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 23:10:41 +00:00
openhab-bot be5f2ee88c
New Crowdin updates (#1429)
* New translations en.json (Portuguese)

* New translations en.json (Portuguese)

* New translations opennlphli.properties (Portuguese)

* New translations en.json (Portuguese)

* New translations en.json (Latvian)

* New translations en.json (Bulgarian)

* New translations en.json (German)

* New translations en.json (Portuguese)

* New translations en.json (Turkish)

* New translations en.json (Latvian)

* New translations en.json (Latvian)

* New translations en.json (German)

* New translations en.json (Lithuanian)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Hebrew)

* New translations en.json (Lithuanian)

* New translations en.json (Hebrew)

* New translations en.json (Turkish)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations cometvisu.properties (Bulgarian)

* New translations cometvisu.properties (Catalan)

* New translations cometvisu.properties (Czech)

* New translations cometvisu.properties (German)

* New translations cometvisu.properties (Hebrew)

* New translations cometvisu.properties (Hungarian)

* New translations en.json (Turkish)

* New translations cometvisu.properties (Dutch)

* New translations cometvisu.properties (Russian)

* New translations opennlphli.properties (Catalan)

* New translations opennlphli.properties (Czech)

* New translations opennlphli.properties (German)

* New translations opennlphli.properties (Hebrew)

* New translations opennlphli.properties (Hungarian)

* New translations opennlphli.properties (Dutch)

* New translations opennlphli.properties (Russian)

* New translations opennlphli.properties (Bulgarian)

* New translations basic.properties (Bulgarian)

* New translations basic.properties (Dutch)

* New translations basic.properties (Hungarian)

* New translations basic.properties (Hebrew)

* New translations basic.properties (German)

* New translations basic.properties (Czech)

* New translations basic.properties (Catalan)

* New translations iconset.properties (German)

* New translations iconset.properties (Russian)

* New translations iconset.properties (Dutch)

* New translations iconset.properties (Hungarian)

* New translations iconset.properties (Hebrew)

* New translations iconset.properties (Czech)

* New translations iconset.properties (Catalan)

* New translations iconset.properties (Bulgarian)

* New translations basic.properties (Russian)
2022-06-24 12:27:42 +02:00
Wouter Born 8378aefe7e
Fix more SAT findings (#1318)
This fixes ~100 SAT findings. It also adds some more null annotations to the HABot classes.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-01 09:16:53 +01:00
Wouter Born eab99f0bfc
Update license headers to 2022 (#1266)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-08 20:57:16 +01:00
Wouter Born 67bd0f221f
Make UI configurations translatable (#1246)
Adds the default translation strings so the UI configuration can be translated with Crowdin.

Other fixes/improvements:

* Adds config for this to crowdin.yml
* Adds the i18n Maven plugin dependency so it can be more easily used
* Fixes a few encoding issues
* Uses the ConfigurableService annotation

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-04 18:01:08 +01:00
Kai Kreuzer 9eeb7035e7 Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 08:51:27 +01:00
openhab-bot de8da844e8 [unleash-maven-plugin] Preparation for next development cycle. 2021-12-20 03:48:16 +00:00
Wouter Born 36170518cb
Fix/suppress PMD CompareObjectsWithEquals findings (#1190)
Newer PMD versions discover more CompareObjectsWithEquals findings.

Related to https://github.com/openhab/static-code-analysis/pull/423

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-14 17:29:32 +01:00