Kai Kreuzer
5a667cc868
applied spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-06-27 23:22:02 +02:00
Kai Kreuzer and GitHub
6a6e201ac7
Revert "Ignore relative library directories for scripts ( #2408 )" ( #2414 )
...
This reverts commit 241a4f6ebf .
2021-06-25 11:11:18 +02:00
Kai Kreuzer and GitHub
f58fce3500
[rest] Make UUID available to users ( #2402 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-06-14 22:19:51 +02:00
Kai Kreuzer and GitHub
3cac330c5f
[rest] Fix links to group members in REST response ( #2399 )
...
* Fix links for to group members in REST response
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-06-08 21:41:51 +02:00
Kai Kreuzer and GitHub
f8c2def130
upgrade to JUPnP 2.6.0 ( #2396 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-06-02 09:21:15 +02:00
Kai Kreuzer and GitHub
17f95768a4
Update to new JmDNS release 3.5.7 ( #2391 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-05-30 18:42:50 +02:00
Kai Kreuzer and GitHub
0343f44601
[automation] add tags to item modules ( #2378 )
...
* add tags to item modules
* made state/command configuration optional
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-05-25 16:39:31 +02:00
Kai Kreuzer and GitHub
6cfa359d33
Adapted url for Artifactory ( #2303 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-04-20 18:57:29 +02:00
Kai Kreuzer and GitHub
79edf2b9e6
Upgrade org.apache.servicemix.specs.activation-api-1.2.1 to fix mail sending ( #2292 )
...
Fixes #2273
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-04-14 23:32:56 +02:00
Kai Kreuzer and GitHub
6568dc1478
Merged semantics packages in order to make API consistent ( #2263 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-03-30 20:35:06 +02:00
Kai Kreuzer and GitHub
ee1d3f3a73
Removed outdated basic auth classes ( #2245 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-03-20 12:46:30 +01:00
Kai Kreuzer and GitHub
f72e3b239d
Update outdated group id for antlr ( #2240 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-03-13 18:42:51 +01:00
Kai Kreuzer
62c74da0c0
Applied spotless fix
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-03-02 21:38:34 +01:00
Kai Kreuzer and GitHub
44c280e249
Make absolute color temperature channel type advanced ( #2183 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-02-08 20:13:16 +01:00
Kai Kreuzer and GitHub
87211d2439
[REST] Prevent internal server error on invalid link requests on REST API ( #2179 )
...
Closes https://github.com/openhab/openhab-webui/issues/878
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-02-06 11:27:58 +01:00
Kai Kreuzer and GitHub
a0d58006e8
Also return command line execution result in case of error return code ( #2104 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-01-12 10:54:12 +01:00
Kai Kreuzer and GitHub
97e2782875
[automation] Avoid disappearing rules by correctly checking the model and its type ( #2077 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-01-06 14:29:49 +01:00
Kai Kreuzer and GitHub
531a478a45
Cache parsed script in order to improve performance ( #2057 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-01-03 13:18:53 +01:00
Kai Kreuzer and GitHub
d11ec3ef64
Include group label in warn log message ( #2059 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-01-03 13:17:53 +01:00
Kai Kreuzer and GitHub
4b8546b599
Prevent errors in log when client closes the HTTP connection ( #2049 )
...
Fixes openhab/openhab-distro#1188
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2021-01-02 09:04:05 +01:00
Kai Kreuzer and GitHub
1c3e4318df
Correctly handle file extension when looking up script ( #2020 )
...
Fixes #1990
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-29 10:50:31 +01:00
Kai Kreuzer
a91f8c657b
Align all threads to naming convention ( #2018 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-28 09:22:13 +01:00
Kai Kreuzer and GitHub
cea96b3d81
[automation] Do not consider disabled things for start level 80 ( #1968 )
...
Fixes #1967
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-20 09:44:45 +01:00
Kai Kreuzer and GitHub
8f13b99122
[automation] Correctly trigger rules with start level 50 trigger ( #1962 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-18 22:07:19 +01:00
Kai Kreuzer and GitHub
4a108e5c80
Reintroduce delayed rule initialization ( #1960 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-18 20:04:28 +01:00
Kai Kreuzer and GitHub
69b18e5a70
Introduce ready marker to correctly set start level 80 ( #1953 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-17 11:16:56 +01:00
Kai Kreuzer and GitHub
5d87c1def4
[automation] Fixed startup rules being triggered more than once
...
Fixes #1943
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-16 23:21:47 +01:00
Kai Kreuzer and GitHub
4059ea2422
[automation] Correctly return the evaluation result of DSL scripts
...
Fixes #1946
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-16 23:20:37 +01:00
Kai Kreuzer and GitHub
ad189bd4f1
[automation] Make quantity types available in scripts ( #1940 )
...
Fixes #1763
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-16 15:11:46 +01:00
Kai Kreuzer and GitHub
2b9f890831
Stabelized automation integration test ( #1944 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-16 14:13:04 +01:00
Kai Kreuzer and GitHub
0dd4cc97fe
Let StartLevelService only start once its configuration is available ( #1942 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-16 12:47:03 +01:00
Kai Kreuzer and GitHub
8290306348
Fixed SAT issues ( #1925 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-13 13:17:35 +01:00
Kai Kreuzer and GitHub
ec6ac00742
increase the rule refresher delay ( #1920 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-13 11:05:23 +01:00
Kai Kreuzer and GitHub
0a719cca83
Always set the value of implicit vars ( #1922 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-13 09:32:25 +01:00
Kai Kreuzer and GitHub
313fb496ce
Added config options for start level trigger ( #1923 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-13 09:31:34 +01:00
Kai Kreuzer and GitHub
1a2c81d9e2
Improved startup logging and avoid scripts being loaded in start level service thread ( #1919 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-13 09:31:09 +01:00
Kai Kreuzer and GitHub
076ac3fe15
Implemented start level service ( #1914 )
...
Fixes #1637
Fixes #1777
Fixes #1734
Fixes #1823
Fixes #1808
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-12 14:34:37 +01:00
Kai Kreuzer and GitHub
e075df30f8
Moved modbus transport from addons to core ( #1892 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-08 12:55:52 +01:00
Kai Kreuzer and GitHub
f99135ae3d
Reverted the introduction of an automation threadpool ( #1890 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-05 11:50:16 +01:00
Kai Kreuzer and GitHub
85fcb7b141
Cache safe call proxies for profiles instead of continuously recreating them ( #1880 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-03 09:28:07 +01:00
Kai Kreuzer and GitHub
c5f133b3e9
[automation] Provide triggering item name in the rule context ( #1770 )
...
* introduced implicit variable "triggeringItemName"
Fixes #1768
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-12-01 20:29:50 +01:00
Kai Kreuzer and GitHub
a892c7bcac
Synchronize the executions of each rule ( #1870 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-30 10:31:33 +01:00
Kai Kreuzer and GitHub
575f744a43
Request automation thread pool as a scheduled pool ( #1869 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-30 10:18:56 +01:00
Kai Kreuzer and GitHub
f2e1dea5bf
Adapted event handler thread names to naming convention ( #1858 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-29 11:12:03 +01:00
Kai Kreuzer and GitHub
fe62a4fdae
Make maps thread safe ( #1856 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-29 11:02:00 +01:00
Kai Kreuzer and GitHub
1e2fd7b447
Make rule engine use a threadpool ( #1857 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-29 10:56:01 +01:00
Kai Kreuzer and GitHub
a301e96b6c
sync Jetty versions between compile and runtime ( #1845 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-29 10:54:24 +01:00
Kai Kreuzer and GitHub
9e89a4dbda
[magic] Added a trigger channel for easier tests ( #1853 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-27 15:02:04 +01:00
Kai Kreuzer and GitHub
89767cee9e
removed deprecated author information from bindings ( #1844 )
...
* removed deprecated author information from bindings
* removed author tag from itests
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-24 19:01:50 +01:00
Kai Kreuzer and GitHub
5330de0473
Avoid potential NPE ( #1839 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-19 20:13:23 +01:00
Kai Kreuzer and GitHub
63ec4342f2
Added expire functionality as core framework feature ( #1803 )
...
* Added expire functionality as core framework feature
Closes #1620
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-19 14:15:02 +01:00
Kai Kreuzer and GitHub
70ca7655a2
Harden item creation by checking for validity of name ( #1825 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-18 00:18:00 +01:00
Kai Kreuzer and GitHub
94d6a80493
Create separate DSLScriptEngine instances for every handler ( #1819 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-14 20:16:19 +01:00
Kai Kreuzer and GitHub
7d2a505e13
[automation] Correctly map the state context variable of the ItemStateEvent to the implicit var newState ( #1809 )
...
Fixes #1802
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-13 07:29:56 +01:00
Kai Kreuzer and GitHub
c2b3885e9e
Do not provide unit information for plain number items ( #1811 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-12 22:13:28 +01:00
Kai Kreuzer and GitHub
48209e4a45
[automation] Fixes NPE when no command is given in a member-of-group trigger ( #1806 )
...
Fixes #1793
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-11 16:27:31 +01:00
Kai Kreuzer and GitHub
35b0a1275e
[charts] Add support for QuantityTypes to DefaultChartProvider ( #1789 )
...
Fixes #1781
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-02 10:45:31 +01:00
Kai Kreuzer and GitHub
5a9c5e7d87
strip unit from historic states ( #1782 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-11-01 01:53:02 +01:00
Kai Kreuzer and GitHub
749b8f17fe
[automation] Allow dashes in rule file names ( #1750 )
...
* Allow dashes in rule file names
Fixes #1728
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-10-25 20:19:00 +01:00
Kai Kreuzer and GitHub
8a3d438c4f
upgraded JmDNS to version 3.5.6 ( #1721 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-10-16 12:52:25 +02:00
Kai Kreuzer and GitHub
5d830d64f0
Fixed missing item resolution of DSL scripts created through the UI ( #1720 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-10-15 23:04:30 +02:00
Kai Kreuzer and GitHub
70fed5a9c2
Fixed initialization of group items with aggregation functions ( #1718 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-10-15 23:03:22 +02:00
Kai Kreuzer and GitHub
e9ffff9f01
Fixed name of measurement systems ( #1717 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-10-14 22:46:55 +02:00
Kai Kreuzer and GitHub
351fcb1852
Include measurement system in REST root resource ( #1710 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-10-10 20:04:25 +02:00
Kai Kreuzer and GitHub
fa18610d77
[core] Make logger in QuantityType transient ( #1652 )
...
This makes QuantityType serialisable
Fixes #1651
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-09-19 09:57:42 +02:00
Kai Kreuzer and GitHub
57d4487f36
Removed ChannelItemProvider ( #1643 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-09-14 09:21:55 +02:00
Kai Kreuzer and GitHub
b5fd603eed
cleaned up some null handling ( #1625 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-09-07 10:45:15 +02:00
Kai Kreuzer and GitHub
9070539a1a
Improved add-on installation logic ( #1617 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-09-03 12:13:25 +02:00
Kai Kreuzer and GitHub
f069994ab7
added further system information to rest resources ( #1610 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-25 00:41:17 +02:00
Kai Kreuzer and GitHub
bcee357829
[rest] added systeminfo rest resource ( #1608 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-23 10:48:03 +02:00
Kai Kreuzer and GitHub
3ada0d0148
cleaned up some remainders ( #1607 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-23 10:40:04 +02:00
Kai Kreuzer and GitHub
b06d466774
ensure that DSLScriptContextProvider is injected whenever available ( #1606 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-22 23:12:38 +02:00
Kai Kreuzer and GitHub
0de7ed3f49
fixed reading master volume on macOS ( #1605 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-22 22:13:36 +02:00
Kai Kreuzer and GitHub
d426d3b8f1
fixed m3u and pls audio stream support ( #1604 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-22 22:12:45 +02:00
Kai Kreuzer and GitHub
c0ad2a4011
[audio] ported audio sinks from addons to core ( #1597 )
...
Also-by: Wouter Born <github@maindrain.net >
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-22 08:10:37 +02:00
Kai Kreuzer and GitHub
545608dab3
registered static methods as extensions ( #1594 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-14 16:54:55 +02:00
Kai Kreuzer and GitHub
8c83b60044
fixed item links in rest api ( #1591 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-14 12:37:40 +02:00
Kai Kreuzer and GitHub
b7193a0acb
re-added log action to script scope and cleaned up imported extensions ( #1590 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-14 10:06:42 +02:00
Kai Kreuzer and GitHub
3c83e8a8eb
switched PersistenceExtensions to ZonedDateTime ( #1588 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-12 21:59:55 +02:00
Kai Kreuzer and GitHub
bab473016c
reduced log levels of ExecUtil ( #1584 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-08-11 17:42:44 +02:00
Kai Kreuzer and GitHub
0f134996f2
removed boot bundle ( #1559 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-07-24 13:11:56 +02:00
Kai Kreuzer and GitHub
e228d490d8
Made swagger visible in the RootResource (/rest) ( #1568 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-07-24 10:23:48 +02:00
Kai Kreuzer and GitHub
8218f44667
[cleanup] refactored Extension to Addon ( #1560 )
...
* refactored Extension to Addon
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-07-22 21:08:10 +02:00
Kai Kreuzer and GitHub
173c93081d
Replaced "classic" rule engine by a DSLRuleProvider for the NGRE ( #1451 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-06-14 10:36:25 +02:00
Kai Kreuzer and GitHub
e37c28cfc9
[dsl] Model loading improvements ( #1514 )
...
* Model loading improvements
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-06-09 09:37:47 +02:00
Kai Kreuzer and GitHub
1fdede0f61
[automation] Removed superfluous file
...
- Removed superfluous file
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-06-08 12:40:06 +02:00
Kai Kreuzer and GitHub
840335bbd5
[automation] Moved constants to top and made them public for reference ( #1513 )
...
* Moved constants to top and made them public for reference
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-06-07 23:03:53 +02:00
Kai Kreuzer and GitHub
d8c4ea1c74
[mdns] Use hostname as JmDNS client name ( #1510 )
...
Fixes #1472
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-06-04 18:05:05 +02:00
Kai Kreuzer and GitHub
d265e16e67
[automation] Added group and system triggers to automation component ( #1509 )
...
* Added group and system triggers to automation component
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-06-04 07:24:42 +02:00
Kai Kreuzer and GitHub
bb81ed27e5
[REST] Added "editable" info to rules in REST API ( #1508 )
...
* Added "editable" info to rules in REST API
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-06-03 08:35:41 +02:00
Kai Kreuzer and GitHub
97d7ef65a8
removed unused mapdb storage bundle ( #1488 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-05-22 09:52:22 +02:00
Kai Kreuzer and GitHub
427e969ef9
[persistence] Allow persistence services to define default strategies ( #1387 )
...
* Allow persistence services to define default strategies
* Added null annotations
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-03-09 21:57:44 +01:00
Kai Kreuzer and GitHub
857679f66b
removed ThingLinkManager and with it the auto-linking feature and "Simple Mode" ( #1385 )
...
* removed ThingLinkManager and with it the auto-linking feature and "Simple Mode"
Signed-off-by: Kai Kreuzer <kai@openhab.org >
* removed feature from REST API as well
Signed-off-by: Kai Kreuzer <kai@openhab.org >
* removed tests
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-03-03 00:23:04 +01:00
Kai Kreuzer and GitHub
d89fd33472
removed legacy add-on support ( #1386 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-03-03 00:19:11 +01:00
Kai Kreuzer and GitHub
0182ce567d
fixed service pids ( #1382 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-03-01 16:40:01 +01:00
Kai Kreuzer and GitHub
2bb50f8255
fixed default service pid and removed esh traces in service configuration ( #1380 )
...
* fixed default service pid and removed esh traces in service configuration
* fixed default service.cfg location
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-02-27 12:49:56 +01:00
Kai Kreuzer and GitHub
76153dcab0
Revert "Enabled spotless:check by default ( #1303 )" ( #1366 )
...
This reverts commit bb9308d8f5 .
2020-02-13 21:41:35 +01:00
Kai Kreuzer and Wouter Born
86899daf1a
replaced Joda Time by Java Time ( #1342 )
...
* replaced Joda Time by Java Time
Signed-off-by: Kai Kreuzer <kai@openhab.org >
* removed joda from target platform feature
Signed-off-by: Kai Kreuzer <kai@openhab.org >
* updated tests
Signed-off-by: Kai Kreuzer <kai@openhab.org >
* fixed persistence extension tests
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-01-25 22:44:03 +01:00
Kai Kreuzer and Christoph Weitkamp
32c1978a1a
Added hashCode and equals method to StringListType to fix object comparison ( #1341 )
...
* Added hashCode and equals method to StringListType to fix object comparison
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-01-25 20:35:24 +01:00
Kai Kreuzer and Wouter Born
9a6a54f113
switched to SAT 0.9.0 ( #1331 )
...
* switched to SAT 0.9.0
* added sat extension
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2020-01-18 11:07:18 +01:00