Wouter Born
61e17ce39e
Upgrade SAT and Spotless, apply Spotless and enable check ( #1446 )
...
* Update SAT and Spotless dependencies
* Apply Spotless and enable check
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-26 11:15:24 +02:00
Christoph Weitkamp
d371a34321
Removed dependency on 'org.apache.commons.lang' ( #1433 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-04-22 14:32:31 +02:00
Wouter Born
92027ca922
Use .equals() on constants and literals to prevent NPEs ( #1420 )
...
* Use .equals() on constants and literals to prevent NPEs
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-16 07:40:49 +02:00
Yannick Schaus
15b3b07614
Add the Karaf jaas feature as runtime prerequisite ( #1398 )
...
* Add the Karaf jaas feature as runtime prerequisite
* Remove LoginModule reference from ManagedUserRealm
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-03-25 12:40:59 +01:00
Yannick Schaus
fe4e276b68
Implementation of a JWT-based OAuth2 flow for the admin API ( #1389 )
...
* Initial implementation of a JWT-based OAuth2 flow for the admin API
Implements #1388 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-03-23 22:36:11 +01:00
Kai Kreuzer
d89fd33472
removed legacy add-on support ( #1386 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-03-03 00:19:11 +01:00
Christoph Weitkamp
08da8de5cf
Moved "ESH-INF/" folders to "OH-INF/" folders ( #1328 )
...
* Moved ESH-INF folders to OH-INF folders
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-01-17 15:29:18 +01:00
Wouter Born
3811cb9560
Update copyright headers to 2020 ( #1309 )
...
* Update copyright headers to 2020
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-01 18:06:34 +01:00
Christoph Weitkamp
800956598b
Applied spotless formatter ( #1302 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-30 22:55:19 +01:00
Christoph Weitkamp
59675788e0
Renamed packages
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
Christoph Weitkamp
2d14814549
Reduce logging level in FeatureInstaller for uninstalling a binding ( #1247 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-29 17:24:43 +01:00
Christoph Weitkamp
fc929c22c1
Added links for (available) docs of all Add-Ons ( #1186 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-06 10:44:50 +01:00
Wouter Born
be69d2254e
Use !isEmpty() instead of "size() > 0" or "size() != 0" ( #1155 )
...
* Use !isEmpty() instead of "size() > 0" or "size() != 0"
!isEmpty() expresses the intent more clearly and is therefore preferred.
Counting the number of elements can also be an expensive operation e.g. when using linked lists.
Co-Authored-By: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-21 09:00:52 +02:00
Wouter Born
627007d32e
Fix InstallServiceCommand SAT findings ( #1124 )
...
Suppresses the SystemPrintln SAT findings because this class is a Karaf shell command which prints to the console.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-13 21:52:44 +02:00
Wouter Born
3d52c72a91
Fix SAT AuthorContributionDescriptionCheck findings ( #1110 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-10 11:36:05 +02:00
Wouter Born
90005e4a56
Fix NoEmptyLineSeparatorCheck and NewlineAtEndOfFileCheck SAT findings ( #1108 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-08 22:19:54 -07:00
Wouter Born
08a1f9a86d
Fix SAT constant/variable name findings ( #1106 )
...
Fixes wrong names identified by the following rules:
* ConstantNameCheck
* LocalFinalVariableNameCheck
* LocalVariableNameCheck
* StaticVariableNameCheck
Most mismatches identified by the MemberNameCheck have also been fixed except for those where the variables are used in events/DTOs etc which would cause issues.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-08 22:19:00 -07:00
Wouter Born
12b3c1030f
Fix SAT "Initial contribution" warnings ( #1100 )
...
Fixes the SAT warning: First javadoc author should have "Initial contribution" contribution description.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-07 21:25:40 -07:00
Christoph Weitkamp
31760bf3a7
Updated xml schema locations to openhab ( #769 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-29 19:15:24 +02:00
Markus Rathgeb
a37cceab67
mavenize openHAB and integrate mavenized ESH repository ( #467 )
...
* mavenize openHAB and integrate mavenized ESH repository
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-28 13:07:31 +01:00
Kai Kreuzer
10acf5cf46
Changed license from EPL v1 to EPL v2 ( #466 )
...
* updated license headers
* added NOTICE files
* moved about.html to NOTICE files
* changed main project license
* updated build.properties
* added files to check to prevent error about missing about.html
* removed license info on p2 feature
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-16 22:59:49 +01:00
Kai Kreuzer
eb8abdc894
updated to 2019 ( #464 )
...
* updated to 2019
* updated checkstyle check to 2019
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-07 22:53:19 +01:00
Wouter Born
b1aeb17ee6
Log failed feature installation on error ( #459 )
...
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-31 11:46:09 +01:00
Kai Kreuzer
1a8dc2618e
fixes potential NPE in async execution ( #398 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-09-12 23:42:46 +02:00
Kai Kreuzer
75c1796d92
adapted links to documentation to new website layout ( #347 )
...
* adapted links to documentation to new website layout
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-05-24 22:36:07 +02:00
Martin van Wingerden
5a21ca6b02
Updated copyrights to 2018 ( #271 )
...
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2018-01-03 09:26:13 +01:00
Kai Kreuzer
50c01f2098
Improved the feature installation logic ( #256 )
...
- wait for config update when online status has changed
- removed static methods and logger
- proper handling of "minimal" feature
- introduced a sync job that checks if everything is installed as expected (which serves as a retry mechanism in case of failed downloads)
fixes https://github.com/openhab/openhab-distro/issues/602
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-12-12 09:04:25 +01:00
Kai Kreuzer
3f1af862bc
improved feature installer logic ( #238 )
...
- upgraded to Java 8
- reduced calls to listInstalledFeatures, which is very expensive
- properly do the calculation of current/target/diff list of addons, when the config changes
- don't log errors when uninstallation fails as this can happen if it is a dependent feature that must not be uninstalled
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-11-28 09:30:58 +01:00
Martin van Wingerden
6bb1ba1057
Updated outdated copyrights ( #197 )
...
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2017-08-20 09:56:41 +02:00
Svilen
4005121e6c
Fix errors found by the static analysis tool ( #182 )
...
Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
2017-08-10 12:46:30 +02:00
Kai Kreuzer
465b237d0b
implemented new method of ExtensionService interface ( #145 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-29 20:51:46 +02:00
Kai Kreuzer
485a65e739
applied code formatter ( #132 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-07 03:42:37 -07:00
Kai Kreuzer
dcc48f1219
added further links to documentation pages ( #116 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-02-17 18:10:49 +01:00
Kai Kreuzer
25375e6dc4
adapted feature installer to new remote repo locations, moved package definitions to distro and improved setup page ( #110 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-01-09 11:09:38 +01:00
Kai Kreuzer
f3750ec48c
only send installed events for new addons ( #100 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-22 15:41:37 +01:00
Kai Kreuzer
138d73533e
Feature installation improvements ( #99 )
...
- switched to Karaf 4.0.8
- used bulk feature installation
- synchronised methods to avoid concurrent operations
- fixed issue where dashboard bundle might bind the addons configuration
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-22 00:05:12 +01:00
Kai Kreuzer
a72b1c9af2
adapted to changed ESH API and added links to binding documentation ( #96 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-17 14:04:48 +01:00
Kai Kreuzer
d3a81fe8c7
allow spaces in the list of add-ons in addons.cfg ( #85 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-26 12:17:48 +01:00
Kai Kreuzer
053c073d9e
Refactoring of package handling ( #81 )
...
* adapted FeatureInstaller to adapt addons info in ConfigAdmin, so that this info is stored in a file
* removed experimental features
* removed package selection from UI as it is meant to be only set once
* introduced new packages: minimal, simple and expert
* introduced a setup page on the dashboard, if no package is set (and thus openHAB is uninitialized)
* added auto-refresh of dashboard to have new entries appear automatically
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-24 20:09:52 +01:00
Kai Kreuzer
01c44a5223
renamed tts addons to voice ( #42 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-26 21:14:30 +02:00
Kai Kreuzer
235c82b023
added esh repos for online mode ( #41 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-25 20:57:18 +02:00
Kai Kreuzer
07e75b7e96
enhanced feature installer to also handle remote repos for legacy and experimental features ( #39 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-25 18:16:14 +02:00
Kai Kreuzer
8209e72ba6
fixes https://github.com/openhab/openhab-distro/issues/176
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-16 09:20:38 +02:00
Kai Kreuzer
667df5ceca
improved robustness of feature/package installer
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-15 21:36:24 +02:00
Kai Kreuzer
04cfa9cee3
applied updated and neutral copyright header
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-03-27 22:14:00 +02:00
Kai Kreuzer
ded1a0c51a
updated year to 2016
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-08 22:17:05 +01:00
Kai Kreuzer
bf23b738a0
only install features if they are not already installed
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-05 00:30:12 +01:00
Kai Kreuzer
c426779005
only install if name is not blank
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-03 23:41:14 +01:00
Kai Kreuzer
4e88685bd8
added possibility to select an installation package
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-01 22:59:35 +01:00
Kai Kreuzer
d367060853
Applied changes from https://github.com/openhab/openhab2/pull/585
...
Also-By: Davy Vanherbergen davy.vanherbergen@gmail.com
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2015-12-29 21:48:00 +01:00