J-N-K and GitHub
52cb6f22da
Add .gradle to .gitignore ( #2913 )
...
While openHAB uses Maven, under some circumstances IntelliJ creates files in the .gradle/ directory.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-14 00:07:15 +02:00
J-N-K and GitHub
f83049ae71
Log a message if a model is parsed and no thing handler factory can be found ( #2754 )
...
* Log a message if a model is parsed and no thing handler factory can be found
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-12 22:43:14 +02:00
J-N-K and GitHub
785d3e5ae5
Fix hanging build ( #2910 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-11 18:52:04 +02:00
J-N-K and GitHub
53dcf48a17
Add a registry for transformation configurations and allow editing them ( #2821 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-11 08:18:14 +02:00
J-N-K and GitHub
6a75130355
Allow type migrations in JSONStorage ( #2784 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-09 15:49:38 +02:00
J-N-K and GitHub
df978f434a
Fix memory leak in ScriptedRuleProvider ( #2897 )
...
* Fix memory leak in ScriptedRuleProvider
The Rule was never removed from the internal tracking map and therefore allocated resources were never freed.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-07 08:19:05 +02: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
J-N-K and GitHub
eec80f0e20
Fix ScriptEngine not removed if created by ScriptAction ( #2886 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-04-01 22:56:27 +02:00
J-N-K and GitHub
5629a38e1a
Fix null annotations on PersistenceItemConfiguration ( #2876 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-27 14:47:41 +02:00
J-N-K and GitHub
41abd57161
Increase allowed deviation in PeriodicSchedulerImplTest ( #2867 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-22 20:46:50 +01:00
J-N-K and GitHub
5746a1ff2c
Fix enabling/disabling CommunityMarketplace ( #2864 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-21 22:02:34 +01:00
J-N-K and GitHub
4577562f08
[addonservices] Add version filtering ( #2811 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-20 18:43:07 +01:00
J-N-K and GitHub
c2ba4dcd16
Fix build in localized environments ( #2855 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-20 10:28:28 +01:00
J-N-K and GitHub
45b5c6772a
Improve ThingManagerOSGiTest ( #2858 )
...
This change ensures that the storage of bridge and thing are done before the initialization is reported.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-19 21:09:02 +01:00
J-N-K and GitHub
79e070c7ac
Improve ScriptFileWatcherTest ( #2857 )
...
Most of the tests add a timeout of 1s to account for small delays in async processing in the AbstractWatchService. This adds some more timeouts for tests which were missing those.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-19 21:08:00 +01:00
J-N-K and GitHub
3d17049d52
Improve PeridodicSchedulerImplTest ( #2856 )
...
* Improve PeridodicSchedulerImplTest
The old implementation truncated timestamps to 1/10 s. Under some circumstances this could result in a failed tests:
offset = 201 -> truncatedOffset = 2
200ms delay expected, adjustment calculation results in an actual delay of 198ms
time = 399 -> truncatedTime = 3
expected: truncatedOffset + expected => 2 + 2 = 4
actual: truncatedTime = 3
The new implementation allows for an error of +/- 10ms which is far more than needed.
* increase tolerance
* fix consecutive executions build up errors
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-19 21:07:08 +01:00
J-N-K and GitHub
91614c2b12
Fix ServiceException when add-on handlers are not fully initialized ( #2830 )
...
* Fix ServiceException when add-on handlers are not fully initialized
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-18 07:47:27 +01:00
J-N-K and GitHub
2686102f20
[thing] Show config validation messages in thing status ( #2829 )
...
* Show config validation messages in thing status
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-17 11:49:08 +01:00
J-N-K and GitHub
dd5df810c8
Fix config validation for decimal parameters with limited options ( #2844 )
...
* Fix config validation for decimal parameters with limited options
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-17 10:02:23 +01:00
J-N-K and GitHub
0dcd57e7d8
Fix KAR installed check ( #2845 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-16 09:24:43 +01:00
J-N-K and GitHub
437b31dbe9
Fix things in REMOVING state initialize instead of getting removed ( #2828 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-14 15:49:26 +01:00
J-N-K and GitHub
ea68ae0163
[rest] Allow binary MediaType for RawType item states ( #2825 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-13 16:27:26 +01:00
J-N-K and GitHub
794e925253
[discovery] keep format of thing properties ( #2740 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-13 15:54:05 +01:00
J-N-K and GitHub
0c73547046
Fix exception during startup when kar is not yet loaded ( #2753 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-13 14:33:23 +01:00
J-N-K and GitHub
c6fe634b0a
[test] Fix PersistenceExtensionTest ( #2835 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-13 11:52:19 +01:00
J-N-K and GitHub
73b76fa01d
[profile] Add accepted types to ProfileContext ( #2814 )
...
* Add accepted types to ProfileContext
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-13 11:21:02 +01:00
J-N-K and GitHub
e64c06c22b
Upgrade build tools and allow building on macOS 12 / M1 ( #2836 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-12 21:05:37 +01:00
J-N-K and GitHub
c7aec15290
Fix missing STARTLEVEL_COMPLETE ReadyMarker ( #2755 )
...
Since no requirements are defined for `STARTLEVEL_COMPLETE´ no `ReadyMarker` was added to the map of `ReadyMarker`s.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-09 22:05:30 +01:00
J-N-K and GitHub
11c0ed53d0
Fix PersistentInbox tries to updated unmanaged things ( #2824 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-03-09 08:59:33 +01:00
J-N-K and GitHub
f79d85da87
Re-introduce removed DecimalType ctors to maintain compatibility ( #2803 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-26 13:30:56 +01:00
J-N-K and GitHub
c267e8f876
Fix missing feature ( #2804 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-26 12:51:56 +01:00
J-N-K and GitHub
0ba4de3594
Fix deadlock when removing ScriptEngine ( #2785 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-26 10:29:38 +01:00
J-N-K and GitHub
013e317b6b
Log the remote address of failed login attempts ( #2800 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-26 10:00:00 +01:00
J-N-K and GitHub
7c3f49ab42
Fix proxy can't handle requests with forwarded host list ( #2799 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-25 18:20:50 +01:00
J-N-K and GitHub
44f7b00c45
[rest] Add ability to change loggers and expose package names of addons ( #2772 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-25 16:34:37 +01:00
J-N-K and GitHub
2565b5cbe4
[expiry] extend ExpiryManager to allow ignoring state updates ( #2739 )
...
* [expiry] extend ExpiryManager to allow ignoring state updates
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-24 21:21:23 +01:00
J-N-K and GitHub
e420cf1647
Make ConfigDescription for thing and channels available to ThingHandler ( #2773 )
...
* Make ConfigDescription for thing and channels available to ThingHandler
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-24 21:18:55 +01:00
J-N-K and GitHub
192e4a2347
Add a profile for linking trigger channels to String items ( #2769 )
...
* Add a profile for linking trigger channels to String items
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-23 21:17:11 +01:00
J-N-K and GitHub
dd537c21cb
Fix dispose is called on handlers for disabled things ( #2762 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-17 21:36:03 +01:00
J-N-K and GitHub
69069270a9
Fix context being re-used for next execution ( #2760 )
...
Trigger information is inserted in the execution context. This information is changed to the new information each time the context is updated with the same keys. If the context of the next execution does not contain values for each key, the old key is re-used, leading e.g. to wrong event information in the context.
The solution is to re-set the individual context after each execution.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-17 20:32:58 +01:00
J-N-K and GitHub
8f5d703ceb
Improve log message for invalid configuration updates by handler ( #2766 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-15 12:31:18 +01:00
J-N-K and GitHub
9a9217eab8
Expose three classes used as bindings in JSR-223 rules as interfaces ( #2723 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-13 09:57:22 +01:00
J-N-K and GitHub
c0b033b95c
Fix WatchQueueReader cancelling jobs too early ( #2745 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-12 10:10:23 +01:00
J-N-K and GitHub
719f66835e
[rest] show start level in /systeminfo ( #2749 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-12 10:08:36 +01:00
J-N-K and GitHub
d6f63e7500
[thing] Fix removal of thing properties (single and bulk) ( #2735 )
...
* fix removal of thing properties (single and bulk)
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-07 19:32:22 +01:00
J-N-K and GitHub
ea6f21f74d
allow multiple listeners for same directory in WatchService ( #2724 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-07 10:14:41 +01:00
J-N-K and GitHub
e1962843d5
fix recursive membership throws StackOverflowException on REST API call ( #2736 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-06 21:19:36 +01:00
J-N-K and GitHub
c4e1b14d00
[addonservices] allow uninstalling of removed addons and fix other issues ( #2607 )
...
* [addonservices] allow uninstalling of removed addons
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-06 09:48:55 +01:00
J-N-K and GitHub
8c16cb6e93
[config] Enable missing validations ( #2720 )
...
* enable validation for multipleLimit
* remove unused validation messages
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-01 16:41:56 +01:00
J-N-K and GitHub
61f5e7f57d
[config] Enable config validation for updates by handler ( #2712 )
...
* Enable config validation for updates by handler
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-02-01 10:10:37 +01:00
J-N-K and GitHub
6193aa966e
[config] improve type validation message ( #2713 )
...
* [config] improve type validation message
The message did not contain the detected wrong type which makes it harder to define what the actual error is.
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-01-30 09:42:31 +01:00
J-N-K and GitHub
fd16210ee6
[config] Added log message with validation errors for things ( #2711 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-01-29 10:57:31 +01:00
J-N-K and GitHub
5a067ec55b
[config] make configuration value parser available for export ( #2703 )
...
* Refactor and expose `ConfigMapper` to `ConfigParser`
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-01-26 08:27:25 +01:00
J-N-K and GitHub
1fff165cb0
[thing] Enable config validation for thing creation and update ( #2682 )
...
* Enable config validation for thing creation and update
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-01-20 10:20:16 +01:00
J-N-K and GitHub
dff5fde979
Fix broken config validation for required parameters ( #2683 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2022-01-15 14:25:04 +01:00
J-N-K and GitHub
d420bee30e
[addonservices] allow offline mode ( #2633 )
...
* allow offline mode
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de >
2022-01-01 11:43:26 +01:00