Commit Graph

1111 Commits

Author SHA1 Message Date
Gaël L'hopital
20ee4b8fe0 Added change and update timestamp profiles (#732)
* Added change and update timestamp profiles

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2019-04-18 12:59:15 +02:00
Wouter Born
f4348cd6e8 Attach source JARs without forking to fix Jenkins warnings (#741)
This fixes the following warnings on Jenkins builds:

[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo

See also: https://issues.jenkins-ci.org/browse/JENKINS-27372

Signed-off-by: Wouter Born <github@maindrain.net>
2019-04-17 06:55:41 +02:00
Wouter Born
fb972f385a Configure LanguageServer exit behavior (#742)
Xtext 2.17 allows for configuring the LanguageServer exit behavior so the SecurityManager workaround can be removed.

Fixes: https://github.com/eclipse/smarthome/issues/6291
Undos: https://github.com/openhab/openhab-core/pull/409

See also:
* "Configurable Server Exit Behavior" in the Xtext 2.16.0 release notes:
  https://www.eclipse.org/Xtext/releasenotes.html#/releasenotes/2018/12/04/version-2-16-0
* https://github.com/eclipse/xtext-core/issues/885

Signed-off-by: Wouter Born <github@maindrain.net>
2019-04-17 06:52:42 +02:00
Markus Rathgeb
32845ef36d differ between min. karaf version (OSGi) und karaf compilation tooling (#740)
Related to: https://github.com/openhab/openhab-core/pull/723#issuecomment-483595667

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-04-16 22:41:27 +02:00
David Gräff
8819eb6ef9 add default constructor to MetadataKey (Gson deserialization support) (#727)
Signed-off-by: David Gräff <david.graeff@web.de>
2019-04-15 15:42:46 +02:00
Christoph Weitkamp
309a1af45f Deprecated method - could be removed because of superflous code (#720)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-15 14:35:48 +02:00
Christoph Weitkamp
0aa7661764 Revert ThingImpl and BridgeImpl changes as the storage uses those implementations (#719)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-14 23:09:09 +02:00
Kai Kreuzer
48ce8357f5 remove build path entries for non-existent folders (#716)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-04-14 09:55:32 +02:00
Scott Rushworth
5f880e1062 Added ScriptModuleTypeProvider (#635)
Added ScriptModuleTypeProvider, which dynamically adds available script
languages to the ParameterOptions used in Paper UI when configuring a
ScriptAction or ScriptCondition.

Signed-off-by: Scott Rushworth <openhab@5iver.com>
2019-04-11 06:57:39 +02:00
Christoph Weitkamp
48a97c1ac2 Improved thing / bridge performance (#693)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-10 08:50:04 +02:00
Markus Rathgeb
33cfb5dbac mapdb storage: minor cleanups (#707)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-04-09 21:23:25 +02:00
Thomas Weißschuh
82b7ff6db9 Channel groups should not require static channels (#696)
* channel groups should not require static channels
* Added unit tests

Also-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2019-04-08 21:44:52 +02:00
David Gräff
7838a6a46f Update Metadata.java (#704)
Fixes #699 

Signed-off-by: David Gräff <david.graeff@web.de>
2019-04-08 21:07:33 +02:00
Hilbrand Bouwkamp
1d8b7be59b Added units kvarh and kvar. (#695)
Also simplified gravity unit.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-04-07 11:12:06 +02:00
Gaël L'hopital
c6a9085a74 Adding DataAmount (bit and derivatives) and DataTransferRates (bits per second) (#681)
* Adding DataAmount (bit and derivatives) and DataTransferRates (bits per second) to UoM

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2019-03-30 21:43:15 +01:00
Scott Rushworth
d1a343d8b2 Add DynamicImport-Package for scripted automation (#663)
Fixes #610

Signed-off-by: Scott Rushworth <openhab@5iver.com>
2019-03-30 19:55:01 +01:00
Wouter Born
cbb96945f0 Ignore and remove Eclipse project specific settings (#677)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-26 13:04:09 +01:00
Wouter Born
1acb9c8ff2 [core] Increase DateTimeType parsing and formatting precision (#668)
Since Java 9 (JDK-8164428) the maximum resolution from the underlying clock is used.
Instead of just milliseconds the resolution can now even be tenth of microseconds.

According to the Type JavaDocs toFullString() should return the full string representation of the type to be consumed by 'valueOf(String)'.

With the changes in this PR toFullString() may return higher resolution date time strings on newer Java versions and valueOf(value) is able to parse these.

Code depending on a certain resolution returned by toFullString() should use the format(pattern) method instead so the resolution will not change.

Fixes #667

Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-17 13:18:30 +01:00
Wouter Born
7e94df1656 Print message instead of null on console when specified play volume is invalid (#670)
The fix helps users and also ensures the unit test works on both Java 8 and 11.

Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-17 13:00:35 +01:00
Wouter Born
2c7ca348ef Upgrade Xtext to 2.17 for full Java 11 support (#650)
* Upgrade Xtext to 2.17 for full Java 11 support

Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-15 09:13:24 +01:00
Markus Rathgeb
fdb23778dc improve nullness of events (#657)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-03-15 09:10:52 +01:00
Michael Riess
797a78e718 fix synchronisation and equals() in Configuration (#642)
Signed-off-by: Michael Riess <michael.riess@telekom.de>
2019-03-11 21:23:32 +01:00
Markus Rathgeb
2913d75e56 remove PDE left overs from core.karaf project (#639)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-03-08 23:22:00 +01:00
Andre Fuechsel
00edae4539 Do not use Paths to concatenate resource paths as on Windows it will convert "/" to "\\" and this is not a valid resource path for bundle.getResource() (#633)
Signed-off-by: Andre <afuechsel@gmail.com>
2019-03-06 21:32:45 +01:00
Wouter Born
48d873a32b Use openHAB license headers (#632)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-06 16:10:00 +01:00
David Gräff
e508e8e4af ConfigDescriptionParameter: javadoc getContext() (#623)
Improve javadoc by explaining the different defined context values. 
I have added "rule", "channel", "channeltype" and "cronexpression" as those are used within the automation module.
The i18n service uses "location" as context value and expects a map to be rendered.

Signed-off-by: davidgraeff <david.graeff@web.de>
2019-03-05 12:59:08 +01:00
Markus Rathgeb
bf4eac7d78 migrate tests for storage.json (#624)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-03-05 11:53:02 +01:00
David Gräff
4c9a5aa291 [Automation] GenericCronTrigger (#622)
A cron trigger module is actually not that "Generic" and a useful trigger type for a lot of rules.

Therefore I suggest to remove the visibility "HIDDEN" with this PR.
I have also added a context "cronexpression" to the TEXT configuration value, so that UI's can offer a cron expression
selection widget.
(we currently have: 'time','item','script','channel','dayOfWeek','rule')

Signed-off-by: davidgraeff <david.graeff@web.de>
2019-03-05 06:46:48 +01:00
David Gräff
eacb019e39 [Automation] DayOfWeekCondition (#621)
Remove inconsistent visibility "PUBLIC". This value is not documented (there is only HIDDEN and VISIBLE) and this is the only module type that uses PUBLIC instead of just not setting this value at all.

Signed-off-by: davidgraeff <david.graeff@web.de>
2019-03-04 11:19:47 +01:00
Kai Kreuzer
2d92336d72 added Guava version constraint
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-03-04 09:08:09 +01:00
Kai Kreuzer
227707c67a made package imports explicit
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-03-04 09:08:09 +01:00
Hilbrand Bouwkamp
caa9b71c21 Added new parent class for units to fix import problems. (#618)
The change with unit classes parent (#617) causes it to report missing imports of tec.uom.se when using static import. Before the change this was not a problem because the parent class was SmartHomeUnits. This change adds a new parent class for all units.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-03-02 14:26:01 +01:00
Hilbrand Bouwkamp
4517f3959b Added standard gravity and dBm units.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-03-01 23:50:13 +00:00
Hilbrand Bouwkamp
21bf4d9ef0 Reordered units alphabetical, changed extends on SmartHomeUnits
The classes ImperialUnits and SIUnits both extended SmartHomeUnits. But the classes are used a singletons.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-03-01 23:50:13 +00:00
Markus Rathgeb
45858f2dd2 model.core: respect OSGi lifecycle (#592)
Fixes: https://github.com/openhab/openhab-core/issues/591

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-21 10:13:54 +01:00
Gaël L'hopital
32bee0e22c Small UoM evolutions (#588)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2019-02-20 09:41:29 +00:00
Kai Kreuzer
fb0470c6d1 removed dashboard bundle as it has moved to https://github.com/openhab/openhab-webui (#586)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-20 05:37:41 +00:00
Hilbrand Bouwkamp
09e2292a58 Replaces 'Eclipse SmartHome' with 'openHAB' in text (#581)
Adapted CONTRIBUTING.md file.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-02-15 10:46:37 +01:00
Hilbrand Bouwkamp
d342afbc4e Updated NOTICE files to openHAB (#578)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-02-15 10:46:18 +01:00
David Gräff
ee466da9bc [automation] Unify types - itemsActions (#579)
Unify types - Second try
See also types in automation/moduletypes/ItemTriggers.json

Signed-off-by: davidgraeff <david.graeff@web.de>
2019-02-15 09:31:11 +00:00
Markus Rathgeb
e9a3701417 migrate tests for model.thing
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-14 14:22:33 +01:00
Markus Rathgeb
fa8a368873 handle different possible service PID types (#560)
* handle different possible service PID types

The property value "service.pid" can use different types:
* String
* String[]
* Collection of String

Only "String" has been supported.

https://github.com/openhab/openhab-core/pull/557 adds support for
String[]

https://github.com/openhab/openhab-core/pull/559 removes the support for
String[] again and adds support for the Collection type List only.

This commit ensures that String arrays and every collection type is
supported, regardless which (valid) type is used by the OSGi framework
implementation.

Fixes: https://github.com/eclipse/smarthome/issues/6710

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-13 17:09:32 +01:00
Markus Rathgeb
afd1770da2 ensure rules can access joda time packages (#572)
Fixes: https://github.com/openhab/openhab-core/issues/553

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-13 09:29:53 +01:00
Markus Rathgeb
04bbd2e847 remove obsolete plugin configuration (#573)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-13 09:26:27 +01:00
Henning Treu
3c8e3efa93 Extend ChannelType by command options (#540)
This addresses https://github.com/eclipse/smarthome/issues/5099 by adding a command description with command options along with the state description.
Command options will give a hint to UIs about the specific commands a channel provides. Command options could be rendered as a drop down and also represent the current state or rendered as push buttons to simply send a command to the ThingHandler.
The infrstructure basically copies the StateDescription infrastructure with CommandDescriptionProviders and an `DynamicCommandDescriptionProvider` interface for bindings to hook in and provide dynamic command options.

Signed-off-by: Henning Treu <henning.treu@googlemail.com>
2019-02-12 13:41:01 +00:00
Markus Rathgeb
2535d3dd50 make optional import that's optionally used by Class.forName (dbus lib) (#562)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-11 18:19:47 +01:00
Kai Kreuzer
0197896f5f check for lists instead of arrays (#559)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-11 05:03:42 +00:00
Kai Kreuzer
e96aa523fc handle arrays for pids (#557)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-10 20:57:23 +00:00
Kai Kreuzer
4d9de63ca6 added missing versions for features and fixed assembly of jetty certificate bundle (#547)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-08 18:17:16 +00:00
Markus Rathgeb
223a371628 update Maven project settings (Eclipse IDE)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
fd95b86b36 centralize the bundle identifier construction
The ready marker logic is created to hide the real usage. The ready
marker uses an "identifier" that is not specific or limited to bundles.

Currently the bundle symbolic name is used as bundle identifier.
That "convention" needs to be known at several different places.

There should be one method that created an identifier for a bundle and
"no one" needs to care about the implementation details.

Another point is that the bundle symbolic name that has been used is
optional. It may be null e.g. for bundles that has been installed by the
synthetic bundle installer mechanism etc.

The runtime assigns a bundle ID to an installed bundle that remains the
same for the bundle (see JavaDoc). The bundle ID is present all the
time.

The implementation of the "get identifier for bundle" has been choosen
to use the BSN -- if available -- (as before) but fallback to a custom
one using also the bundle ID (to be unique).
So we can provide always a non null identifier for a bundle.
It should be easily to change the identifier creation now if there is
every any need for.

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
92b71f1712 provide a better uninstall method for synthetic bundles
If a bundle misses a BSN the bundle cannot be installed.
We should provide a method to uninstall the bundle that has been created
by the synthetic installer itself.

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
23809b0cbd add provided storage capability to test bundle itself
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:55:59 +01:00
Markus Rathgeb
034e38d3e1 add test: org.openhab.core.config.core (#516)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-04 17:37:10 +01:00
Scott Rushworth
a65efe062d Add registration (#520)
Signed-off-by: Scott Rushworth <openhab@5iver.com>
2019-02-03 18:50:57 +01:00
Markus Rathgeb
93ef47c4a7 add test: org.openhab.core.id (#514)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 19:32:39 +01:00
Markus Rathgeb
7a1982e785 harden against missing bundle symbolic name (#510)
Fixes: https://github.com/openhab/openhab-core/issues/508

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 14:53:38 +01:00
Markus Rathgeb
68c8db8227 add missing no-arg constructors (#509)
* FirmwareUpdateProgressInfo
* FirmwareStatusInfo
* FirmwareUpdateResultInfo

Fixes: https://github.com/openhab/openhab-core/issues/507

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 14:24:25 +01:00
Markus Rathgeb
9475025cf7 at missing no-arg constructor for Gson deserialization (#505)
Fixes: https://github.com/openhab/openhab-core/issues/504

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 11:01:40 +01:00
Markus Rathgeb
6260f8e8ae fix scope (#502)
* fix scope

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 10:05:25 +01:00
Markus Rathgeb
4c856476a0 attach source artifact of "bundles" (#500)
Fixes: https://github.com/openhab/openhab-core/issues/496

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 09:04:17 +01:00
Kai Kreuzer
9f27727e09 REST API: (Optionally) include hidden widgets in sitemap API response (#499)
Also-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-31 15:46:25 +00:00
Kai Kreuzer
0d1828f819 Extend usb serial discovery service to contain product ID (#497)
For better differentiation between different USB devices `UsbSerialDiscoveryService` is extended to add `usb_vendor_id` and `usb_product_id` properties to every thing which represents USB device.

Also-by: YordanDZhelev <zhelev.yordan@gmail.com>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-31 12:45:10 +00:00
Kai Kreuzer
53096ba08f removed Groovy support from tests (#490)
Also-by: Markus Rathgeb <maggu2810@gmail.com>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-31 05:15:43 +00:00
Markus Rathgeb
014cc6c708 MapDB storage: fix deserialization bug and add test (#486)
Fixes: https://github.com/eclipse/smarthome/issues/6877

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-30 17:17:23 +01:00
Kai Kreuzer
3b6dfbeddb Keep persisted disabled status when thing is removed (#493)
Also-By: Florian Stolte <fstolte@itemis.de>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-30 11:37:51 +01:00
Markus Rathgeb
76dd62623f make a first step to split between pure JUnit and integration tests (#488)
* make a first step to split between pure JUnit and integration tests

Related to: https://github.com/openhab/openhab-core/issues/482

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-30 08:57:06 +01:00
Markus Rathgeb
f7eec48c76 fix classpath (ESH-INF have been moved already) (#484)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-29 11:19:45 +01:00
Markus Rathgeb
fbca7e806f remove project specific JDT settings (#481)
Done per request by @wborn.
Related to: https://github.com/openhab/openhab-core/pull/476#discussion_r251566034

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-29 10:24:39 +01:00
Markus Rathgeb
64dccd32dd tests: run pure JUnit tests (bugfix), add MapDB tests (migrated to JUnit) (#476)
* tests: run pure JUnit tests (bugfix), add MapDB tests (migrated to JUnit)
* remove project specific JDT settings

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-29 10:05:47 +01:00
Markus Rathgeb
12a5273cc8 mapdb storage: fix nullness handling (#479)
The `MapDbStorageService` calls the constructor with a `null`
classloader if there has been no one supplied.

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-28 23:14:39 +01: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
45a7ce27cb Removed addons from core (#469)
* removed addons from core
* removed homebuilder folder
* removed io.sound bundle

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-21 12:50:14 +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
openhab-bot
61e21d4866 [unleash-maven-plugin] Preparation for next development cycle. 2018-12-16 21:49:16 +00:00
openhab-bot
cf2b23013a New Crowdin translations (#443)
* New translations dashboard.properties
2018-12-12 20:15:18 +01:00
Angelos Fountoulakis
20a460c744 Update dashboard / place 1st the Standard package (#442)
Closes: https://github.com/openhab/openhab-core/issues/441
2018-12-03 12:17:14 +01:00
Kai Kreuzer
b51bf275b9 leave non-numeric qualifiers in place for version (#439)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-11-28 10:51:24 +01:00
Martin van Wingerden
d83abb698b Do not install node in target directory to make sure we do not package node in our jar (#434)
Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
2018-11-21 21:54:54 +01:00
Martin van Wingerden
deb2437a6b Some updates to the HomeBuilder (#417)
* Added semantic labels to tags Floors, Rooms and objects
* Added a Cellar as a Floor
* Added support for more languages which where already available as translation
* Integrated the webpack build inside Maven
* Only allow minor updates in the package.json to make sure new version will not easily break the build, if semver fails again
* Remove dist folder because it should be generated through the build
* Switched from 'hidden-xs-up' to 'd-none' as proposed in bootstrap migration guide
* Switched from 'scope' to 'slot-scope' as suggested by vue 2.5 migration
* Added some additional parents in the vue schema because they were needed
* Removed osgi import from manifest
* Switched to a computed setup and the build in fieldMultiselect
* Switched to a 'computed' setup
* Remove the package fieldMultiselect and switch to the build-in
* Applied changes from review.
* Formatted JS files
* Re-introduced (customized) fieldMultiselect and minor fixes
* Re-introduce custom multiselect because this is the one that offers the icons
* Add the floor name to the label of room-based object selector
* Make sure that generating tags can be switched off
* Switched from floor-count to choosing custom floors
* Add no-save and corrected some js warnings

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
2018-11-13 22:53:18 +01:00
Kai Kreuzer
511a1e4d9f prevent NPEs if persistence service does not play nice (#426)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-11-05 16:34:17 +01:00
Kai Kreuzer
24d32f877c temporarily remove ui.start bundle from distro again (#424)
* temporarily remove ui.start bundle from distro again
* correctly unregister services again
* also unset the handlerRef field

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-11-03 22:59:25 +01:00
Kai Kreuzer
38a2624df6
register static context handler (#423)
* register static context handler

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-11-03 12:57:12 +01:00
Kai Kreuzer
bfd03fd889 added missing dependencies and response code
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-11-01 14:40:28 +01:00
Kai Kreuzer
c07a5ddd9c delegate calls to /static/ to the Jetty default servlet
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-11-01 14:40:28 +01:00
Kai Kreuzer
39f0e17002
Introduced new ui.start bundle, which brings custom lifecycle status … (#419)
* Introduced new ui.start bundle, which brings custom lifecycle status HTTP pages as well as an 404 error page.

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-10-31 09:16:10 +01:00
Kai Kreuzer
d3ffb2db5a prevent System.exit() calls (#409)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-10-01 21:18:46 +02:00
Markus Rathgeb
cd920a3c5e satisfy bundle requirements on Maven compilation
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2018-09-21 21:04:23 +02: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
b48e50b7a1 replaced last DS XML by annotations (#397)
Correctly register ItemRegistry service

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-09-11 11:43:01 +02:00
Wouter Born
8091914a4b Apply POM Code Convention (#392)
Applies the POM Code Covention as used in OH2/ESH projects.

See also: https://maven.apache.org/developers/conventions/code.html

The executed command is:

mvn \
  com.github.ekryd.sortpom:sortpom-maven-plugin:sort \
  -Dsort.keepBlankLines=true \
  -Dsort.predefinedSortOrder=recommended_2008_06

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-09-10 13:45:11 +02:00
Wouter Born
dbed3db57d Remove Eclipse project specific settings and some Groovy leftovers (#391)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-09-08 17:38:56 +02:00
Kai Kreuzer
47c2e33624 adapted AutoUpdateDelegate to the new ESH auto update infrastructure (#390)
* adapted AutoUpdateDelegate to the new ESH auto update infrastructure
Related to https://github.com/eclipse/smarthome/pull/5011

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-09-06 09:33:47 +02:00
Kai Kreuzer
11acfbad82 Removed circular dependency in Home Builder and switched tiles to DS annotations (#386)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-08-20 21:14:50 +02:00
Wouter Born
fe1a0b9f40 Remove unused bundle properties (#385)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-08-17 21:51:26 +02:00
openhab-bot
deb888476b New Crowdin translations (#349) 2018-07-23 14:10:52 +02:00
Hilbrand Bouwkamp
ad3f6df25a Changed constructors DecimalType to work the same as ESH DecimalType (#372)
The constructors of DecimalType in ESH use BigDecimal.valueOf instead of new BigDecimal. Using valueOf is better because the new constuctors causes undesired rounding. For example the value 0.32 becomes: 0.320000000000000006661338147750939242541790008544921875. With valueOf this doesn't happen.
This change will make it work the same as the ESH DecimalType
Closes #371

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2018-07-23 13:11:05 +02:00
Wouter Born
33c7f838fc Add Automatic-Module-Name entry to manifests (#369)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-07-21 16:07:17 +02:00
Chris Carman
f748afdd19 Don't lose stacktrace when rethrowing (#359)
* Don't lose stacktrace when rethrowing

Don't destroy the stacktrace information of a caught exception that's about to be rethrown.
2018-06-14 17:37:43 +02:00
Kai Kreuzer
0eec30045e removed ignored groovy test (#358)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-06-09 20:46:08 +02:00
CloudBees DEV@Cloud
cabe7c4528 [unleash-maven-plugin] Preparation for next development cycle. 2018-05-28 01:54:21 +02:00
Wouter Born
aa6f0e0a1b Update Home Builder documentation links (#350)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-05-26 13:17:02 +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
openhab-bot
6a4f410fa1 New translations dashboard.properties (Hebrew) (#348) 2018-05-22 22:06:31 +02:00
openhab-bot
6c5050e8ac New Crowdin translations (#331)
* New translations dashboard.properties (Czech)

* New translations en-UK.json (Czech)

* New translations dashboard.properties (Hungarian)

* New translations en-UK.json (Hungarian)

* New translations dashboard.properties (Hebrew)

* New translations dashboard.properties (Hebrew)

* New translations en-UK.json (Hebrew)

* New translations en-UK.json (Hebrew)

* New translations dashboard.properties (Hebrew)

* New translations en-UK.json (Hebrew)

* New translations dashboard.properties (Hebrew)

* New translations dashboard.properties (Russian)

* New translations dashboard.properties (Polish)

* New translations dashboard.properties (Tagalog)

* New translations dashboard.properties (Turkish)

* New translations dashboard.properties (Czech)

* New translations dashboard.properties (Hungarian)

* New translations dashboard.properties (Hebrew)

* New translations dashboard.properties (Dutch)

* New translations dashboard.properties (French)

* New translations dashboard.properties (German)
2018-05-21 19:44:29 +02:00
Kai Kreuzer
c247f1683d updated links to documentation website (#346)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-05-21 14:08:56 +02:00
Kai Kreuzer
9a4c8d74ae replace ESH p2 update site dependency by plain Maven dependencies (#341)
* replace ESH p2 update site dependency by plain Maven dependencies
* added special dependencies for core bundles
* added dependencies to feature projects as well

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-05-14 14:33:24 +02:00
Kai Kreuzer
47bfddeecd
added new methods for breaking ESH change (#339)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-05-03 19:21:40 +02:00
Kai Kreuzer
c02826f882 added proper logging in error case (#333)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-04-13 15:40:31 +02:00
Kai Kreuzer
55afd3e74e only regard ESH main type when mapping to OH types (#326)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-04-01 21:50:44 +02:00
Kai Kreuzer
9b0bf26c09
added support for QuantityType in the compatibility layer (#319)
This specifically makes the QuantityType backward compatible and makes it treated as a simple DecimalType in any 1.x add-ons, such as specifically the persistence services.

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-03-26 14:29:19 +02:00
openhab-bot
aa899d7f4d New Crowdin translations (#280)
* New translations
2018-03-13 06:59:30 +01:00
Tanya Georgieva
8a3b3d1074 Changed the indentation for some XML files from spaces to tabs (#310)
Signed-off-by: Tanya D. Georgieva <tanya.dancheva.georgieva@gmail.com>
2018-03-12 18:17:58 +01:00
Henning Treu
8988baba82 Add OSM source service (#224)
Also: update logo pointer to new openHAB logo

Signed-off-by: Henning Treu <henning.treu@telekom.de>
2018-02-13 15:25:44 +01:00
pali
c330398320 [Dashboard] Fix illegal tile caused NPE (#282)
* [Dashboard] Fix illegal tile caused NPE
* [Dashboard] Improve error handling in DashboardServlet

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2018-01-23 14:11:13 +01:00
Martin van Wingerden
c43d970f09 Fixed missing spacing and removed unused duplicate CSS (#279)
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2018-01-16 11:16:35 +01:00
Thomas Dietrich
0d7b270a3f Capitalize Dashboard in log messages (#277)
😶
2018-01-15 08:30:47 +01:00
pali
9e324e1cbf [Dashboard] support special words in dashboard tile URL's. (#274)
HOST, HOSTNAME special words are supported.

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2018-01-13 12:05:30 +01:00
Svilen
97fbe5e4e8 Update header in HomeBuilder UI (#276)
Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
2018-01-12 13:57:45 +01: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
CloudBees DEV@Cloud
5c6bfba450 [unleash-maven-plugin] Preparation for next development cycle. 2017-12-17 23:40:22 +01:00
Kuba Wolanin
884b261260 [HomeBuilder] Usage documentation updated (#263)
* [HomeBuilder] Usage documentation updated

Signed-off-by: kubawolanin <hi@kubawolanin.com>
2017-12-15 19:15:27 +01:00
Kai Kreuzer
08fef96ea6
reverted app icon change (#261)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-12-15 15:07:13 +01:00
Kai Kreuzer
1288309779
aligned app icon with Android and iOS app (#260)
fixes #250

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-12-14 23:49:10 +01:00
Kai Kreuzer
371d743bff
Preparations towards a reproducible release build (#259)
- using an ESH release build (0.10.0.b1)
- added ESH release p2 repos for release builds
- removed targetplatform, which afaics isn't used at all anymore

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-12-14 23:48:55 +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
559bc4afea correctly unregister dashboard servlet (#255)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-12-12 05:19:32 +01:00
Thomas Dietrich
d3d56d2072 Improve dashboard README (#254)
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
2017-12-10 16:39:55 +01:00
VelinYordanov
0cbb237e7b Changed the poms hierarchy (#225)
Signed-off-by: VelinYordanov <velin.iordanov@gmail.com>
2017-12-10 01:04:42 +01:00
Kuba Wolanin
d3293f9524 [HomeBuilder] Making Create Items button more prominent. Also hide the JSON request data. Closes #249 (#251)
Signed-off-by: kubawolanin <hi@kubawolanin.com>
2017-12-08 14:41:35 +01:00
Thomas Dietrich
9250ffe0cc
Fix crowdin incompatibility (#245)
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
2017-12-05 13:57:36 +01:00
Wouter Born
af3466513e Fix logo inconsistencies (#246)
* Updates some overlooked Classic UI icons to the new logo
* Updates the Home Builder favicon to the new logo

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2017-12-05 08:38:33 +01:00
Kuba Wolanin
3d811ecede HomeBuilder - Initial contribution (#172)
openHAB Home Builder - home structure generator

Also-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
Also-by: Demyan Rogozhin <dmitriy.rogozhin@gmail.com> (github: demyanrogozhin)
Signed-off-by: Kuba Wolanin <hi@kubawolanin.com> (github: kubawolanin)
2017-12-03 00:13:10 +01:00
Wouter Born
714bc1d2a8 Fix logo inconsistencies (#240)
* Use new icon in REST docs (Fixes #232)
* Use updated favicon in Paper UI
* Update logo in dashboard tiles

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2017-12-02 18:13:26 +01:00
Kai Kreuzer
73688b7bd2
adapted DataTimeType mapping to new ESH type (#239)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-12-01 18:05:38 +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
Kai Kreuzer
008a67486e
fixed dashboard localization (#233)
- included ESH-INF to binary
- simplified getLocalizedText method as it was now only called with a null locale

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-11-19 00:25:17 +01:00
lolodomo
3fa30c1fba Dashboard internationalization (#217)
French version included
Fixes #214

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2017-11-18 23:36:41 +01:00
Kai Kreuzer
5be5bc8284
reduced logging level as the util class cannot judge the severity (#227)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-11-05 22:06:47 +01:00
Kai Kreuzer
597b986199
added a round white background to the favicon
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-10-27 18:07:13 +02:00
Vlad Ivanov
bdd56bd628 BasicUI: update icons with new logo (#221)
Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2017-10-15 14:38:31 +02:00
Kai Kreuzer
52835948c5 logo update (#220)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-10-15 01:21:24 +02:00
Kai Kreuzer
fcfdfbfbe7 adapted to changed ESH API (#218)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-10-10 07:44:12 -07:00
Holger Reichert
d5841d354c [compat1x] Fix ChartProvider API break (#215)
The ESH PR 4291 introduced a change in the ChartProvider API.
This commit changes the compat1x ChartProviderDelegate to work with these changes.

Signed-off-by: Holger Reichert <mail@h0lger.de>
2017-09-26 11:59:13 +02:00
Markus Rathgeb
e57044e13c Rework / formatted manifest (#211)
* reworked and formatted manifest
* added missing jdt.annotation

Related to: https://github.com/eclipse/smarthome/pull/4308

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2017-09-21 08:16:38 +02:00
VelinYordanov
54cc26d4a4 Removed unnecessary inheritDoc. (#210)
See openhab/static-code-analysis#103

Signed-off-by: VelinYordanov <velin.iordanov@gmail.com>
2017-09-19 14:40:43 +02:00
Kai Kreuzer
321d6ca5d8 also consider Group items for binding configuration delegation (#205)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-08-31 18:12:55 +02:00
VelinYordanov
2fa6689b3d Added the lib folder to build.properties. (#199)
Signed-off-by: VelinYordanov <velin.iordanov@gmail.com>
2017-08-31 17:57:50 +02:00
Kai Kreuzer
a2b2e8e997 added jdt annotations to import (#203)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-08-30 10:21:52 +02:00
Kai Kreuzer
cd9d02ab94 removed auto-approve service as this is now contained in ESH (#202)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-08-29 11:13:36 +02:00
Kai Kreuzer
f4d2c1ac6b updated m2e ignore settings to avoid errors in the IDE (#201) 2017-08-29 09:52:15 +02:00
Vlad Ivanov
7afc0e16a1 ClassicUI: add favicon and webapp manifest (#198)
Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2017-08-28 18:55:17 +02: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
pali
ef8d0df10b Added support for dashboard links to external services. (#185)
* Added dashboard support for links to external services.


Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2017-08-18 17:17:24 +02:00
Kai Kreuzer
b8266fac97 changed cardinality for tiles back to 0..n (#195)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-08-15 18:28:53 +02:00
Stefan Triller
f8f8c29f84 Dashboard: Add DS annotations as optional dependency (#192)
Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
2017-08-15 13:51:31 +02:00
Kuba Wolanin
7359c43b2b Dashboard cosmetic fixes: non-relative REST url + css folder created (#186)
Signed-off-by: kubawolanin <hi@kubawolanin.com>
2017-08-15 13:13:24 +02:00
Stefan Triller
b24ff4675d Use new NetworkAddressService for Dashboard (#191)
Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
2017-08-15 12:14:54 +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
16bfd38548 removed httpclient dependency (#168)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-07-19 10:08:41 +07:00
Kai Kreuzer
b5c11780c2 adapt to changed ESH Audio API (#167)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-07-19 09:58:52 +07:00
Henning Treu
ece43ffeae Provide openHAB specific location pin. (#162)
openHAB follow up for https://github.com/eclipse/smarthome/pull/3730.

Signed-off-by: Henning Treu <henning.treu@telekom.de>
2017-07-06 11:24:29 +07:00
Martin van Wingerden
6fcb85b311 Version bump to version 2.2.0-SNAPSHOT (#160)
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2017-06-29 08:45:25 +02:00
Kai Kreuzer
9c2e581d5b moved location retrieval from setup to dashboard (#159)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-06-24 23:24:10 +02:00
Henning Treu
82d7afc397 Retrieve location on first openHAB setup (#158)
Signed-off-by: Henning Treu <henning.treu@telekom.de>
2017-06-24 18:20:35 +02:00
Kai Kreuzer
8797846be3 moved the swagger servlet registration to its own component (#156)
This should avoid potential circular dependencies at startup as the dashboard tile does not depend on HttpService anymore.

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-06-09 12:38:46 +02:00
Kai Kreuzer
83d1217a69 Made dashboard component to be activated immediately and improved logging (#155)
There is now a line with an absolute Url using the primary IPv4 interface about where openHAB is accessible (both for http & https).

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-06-09 12:17:05 +02:00
Kai Kreuzer
14e503736c code cleanup to match expectations of static analysis tool (#151)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-06-02 16:40:55 +02:00
Kai Kreuzer
841f238eea add openHAB version and build info to dashboard footer (#149)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-05-16 12:54:20 +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
Martin van Wingerden
1ccb558db6 Corrected spelling error occured => occurred (#138)
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2017-04-15 11:53:49 +02:00
Stefan Triller
541b3e3444 Set Groovy compiler level to "i don't care" so eclipse can choose a groovy compiler to build the project without errors (#139)
Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
2017-04-13 21:39:07 +02:00
Chris Jackson
40b553f61d Add openHAB logo icon (#134)
Signed-off-by: Chris Jackson <chris@cd-jackson.com>
2017-04-10 18:38:17 +02:00
Kai Kreuzer
f089cd912f
added about files
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-07 16:26:59 +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
c8486db1a0 restructured poms (#131)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-07 03:42:23 -07:00
Kai Kreuzer
3be8099728 switched to Java8 (#130)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-05 01:06:43 -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
d1cfcb5918 fixed dangling audio streams if files are played in between (#115)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-01-29 00:26:51 +01:00
Kai Kreuzer
ceef9a9fe0
moved on to 2.1.0-SNAPSHOT
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-01-20 10:48:55 +01:00
Vlad Ivanov
0a70f9e5cb BasicUI: add webapp manifest and icons (#107)
Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2017-01-09 12:56:56 +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
Vlad Ivanov
b178eca4f4 Dashboard: remove html5 icon, remove z-index for overlay (#109)
Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2017-01-07 17:50:43 +01:00
Kai Kreuzer
b1e0a71795
added warning message to the dashboard for exposed hosts
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-30 22:40:15 +01:00
Kai Kreuzer
99b64815c9 replaced io.transport.serial bundle by nrjavaserial bundle in the target platform (#104)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-28 13:10:41 +01:00
Kai Kreuzer
fcc1bcb2ec Revert "Update nrjavaserial, Fixes #101"
This reverts commit ba9ff5389f.
2016-12-27 10:03:52 +01:00
Chris Van Orman
ba9ff5389f Update nrjavaserial, Fixes #101
Signed-off-by: Chris Van Orman <vanorman.chris@gmail.com>
2016-12-24 14:58:48 +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
aounhaider1
20f802a981 Use cutom label from module config (#98)
Signed-off-by: Aoun Bukhari <bukhari@itemis.de>
2016-12-21 14:31:32 +01:00
Kai Kreuzer
4089e5d828 only show spinner if package selection hasn't been skipped and thus UIs are expected to be installed (#97)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-20 18:43:45 +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
aounhaider1
238ba3d695 Custom label for extensions menu entry (#95)
Signed-off-by: Aoun Bukhari <bukhari@itemis.de>
2016-12-16 23:06:24 +01:00
Kai Kreuzer
33dfe7af99 improved wording (#91)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-09 15:06:17 +01:00
Kai Kreuzer
b9b4e08694 Several Dashboard enhancements: (#90)
- replaced minimal package by skip button
- added background images for packages
- added spinner in case of empty Dashboard

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-08 18:44:18 +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
c10bc77858 removed outdated component descriptor (#77)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-12 19:22:16 +01:00
Kai Kreuzer
ae4cf5a208 changed label to be not identical to the one of the host bundle (#75)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-11 18:50:08 +01:00
Kai Kreuzer
fbb210b970 removed ESHCallType and added correct mapping to new CallItem and StringListType in ESH (#73)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-10 11:49:27 +01:00
Kai Kreuzer
703b2f043d adapted code to ESH API change (#72)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-01 09:09:05 +01:00
Georg Sawtschuk
f16c5836d7 Takeover Dimmer.getStateAs implementation from eclipse's core (#70)
Fix for https://github.com/openhab/openhab/issues/4707. DimmerItem.getStateAs returns 0 if PercentType requested. Tested together with influxdb persistence.
2016-10-18 21:07:59 +02:00
Kai Kreuzer
ac7b3c795e added toFullString() method (#68)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-10-12 09:05:23 +02:00
Kai Kreuzer
8c7bd006dd re-added ConsoleInterpreter for openHAB 1 build (#67)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-10-12 09:03:24 +02:00
Kai Kreuzer
9128539c0a
added io.sound to p2 repo
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-10-10 14:13:04 +02:00
Kai Kreuzer
2a62dea2d5 fixed playback issue due to stream being closed too early (#65)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-10-05 16:06:39 +02:00
Kai Kreuzer
7087ea3582 Added new enhanced sound fragment, which brings mp3 support on top of ESH. (#63)
Remove the old audio action as all features should now be covered through ESH itself.

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-09-30 23:00:30 +02:00
Kai Kreuzer
8a7f5561b1 readded old TTS interface so that 1.x compiles (#62)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-09-13 18:12:47 +02:00
Kai Kreuzer
74550d6528 removed lazy bundle activation to avoid circular dependencies (#59)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-08-30 15:26:37 +02:00
Kai Kreuzer
a819b25ff5 changed audio action to implement ESH interface (#58)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-08-29 23:45:32 +02:00
Kai Kreuzer
33b6032405 adapted Audio action to new ESH TTS interfaces (#53)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-08-20 20:49:39 +02:00
Chris Jackson
795aab9b19 Add new persistence method (#55)
* Updated to include new persistence method getItems

Signed-off-by: Chris Jackson <chris@cd-jackson.com>
2016-08-02 22:45:23 +02:00
Kai Kreuzer
0d640910de Delete .project
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-07-20 16:20:29 +02:00
Kai Kreuzer
a2ca9c590a removed dependency on ThingSetupManager (#52)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-06-27 18:12:52 +02:00
Kai Kreuzer
ae2d55f9d4 replaced classic icon set by ESH version of it (#50)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-06-20 10:20:08 +02:00
Kai Kreuzer
3e051a4f85 adapt to ESH changes of ItemRegistry (#47)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-06-05 14:24:45 +02:00
Kai Kreuzer
25cd02baf4 Sitemap (#46)
* updated default sitemap provider to new ESH concept

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-21 22:14:21 +02:00
Kai Kreuzer
c55513a8c0 switched to snapshot
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-21 14:00:58 +02:00
Kai Kreuzer
8bd77e32c5 Releasing 2.0.0.b3
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-21 13:51:10 +02:00
Kai Kreuzer
542d550f63 added link to online documentation to dashboard
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-21 12:48:09 +02:00
Kai Kreuzer
c9845400db changed groupId of ui bundles and fragments and updated paper ui fragment (removed md-icons, corrected default path and enabled control ui) (#45)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-18 22:00:25 +02:00
Kai Kreuzer
ee40acfa5f activated rule menu entry
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-09 18:29:12 +02:00
Kai Kreuzer
f641c2ba8a changed footer on dashboard
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-09 18:29:06 +02: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
c9650f149f Merge pull request #34 from kaikreuzer/packagemgr
registered feature installer as a service so that it appears in the P…
2016-04-15 17:57:49 +02:00
Kai Kreuzer
a1bda50055 registered feature installer as a service so that it appears in the Paper UI
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-14 18:03:36 +02:00
Markus Rathgeb
7b0651ccde drop multiple karaf version declarations
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2016-04-13 18:31:57 +02:00
Kai Kreuzer
e6107153e2 Merge pull request #30 from reitermarkus/master
Add signal icon to script to avoid duplicates.
2016-03-27 23:27:28 +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
Markus Reiter
9aae7b3c01 Add signal icon to script to avoid duplicates.
Signed-off-by: Markus Reiter <me@reitermark.us>
2016-03-27 06:43:48 +02:00
Kai Kreuzer
dc79b2a815 Merge pull request #26 from digitaldan/backport_of_1460
Backport of https://github.com/openhab/openhab/pull/1460
2016-03-14 22:36:49 +01:00
Kai Kreuzer
485f7a26df adapted to new tts interface location in ESH
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-03-14 19:05:04 +01:00
Gaël L'hopital
3e51a8071d In order to study and correct Issue #1034, I felt on some missing category icons.
Signed-off-by: Gaël L'hopital <glhopital@gmail.com>
2016-03-01 15:58:35 +01:00
digitaldan
8c15096a10 Backport of https://github.com/openhab/openhab/pull/1460
This allows group items who are not exactly the same base item to be included in logic operations, for example a dimmer can now be included in a group switch item.
2016-02-22 15:13:10 -08:00
Kai Kreuzer
51d1e95150 removed logging of version on bundle start&stop
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-02-22 19:45:36 +01:00
Kai Kreuzer
1b9af5d70e fixes NPE if parameters are null and removed toString calls in logging statements
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-02-22 19:33:09 +01:00
Markus Reiter
87670943a3 Fix office icon.
Signed-off-by: Markus Reiter <me@reitermark.us>
2016-02-19 17:19:21 +01:00
Markus Reiter
b6ed251c88 Add new icons and delete legacy icons.
- Camera
- CO2
- Flow
- Gas
- Line (decline/incline/stagnation)
- Microphone
- Motion
- Move
- Pressure
- Rain
- Signal (0-4)
- Smoke
- Television (on/off)
- Zoom
2016-02-18 19:43:24 +01:00
Kai Kreuzer
49ef22b90c Merge pull request #20 from kaikreuzer/agbp
Introduced concurrency fixes as done in https://github.com/openhab/op
2016-02-17 09:47:21 +01:00
Kai Kreuzer
6f0a7acbf6 Introduced concurrency fixes as done in https://github.com/openhab/openhab/pull/3016
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-02-17 09:46:30 +01:00
Kai Kreuzer
6d04f2d042 added location item support in config reader delegate
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-02-16 18:27:00 +01:00
Kai Kreuzer
0f19cc341f map the types by cloning the internal calendar
fixes #16

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-02-07 22:25:33 +01:00
Kai Kreuzer
e43106ab87 apply code formatter
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-02-07 22:21:43 +01:00
Thomas Eichstädt-Engelen
2ebfed2f23 add additional package exports
Signed-off-by: Thomas Eichstädt-Engelen <thomas@openhab.org>
2016-01-14 15:23:55 +01:00
Kai Kreuzer
081b1f4b70 updated PointType to match openHAB 1.8 codebase
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-10 22:24:58 +01:00
Kai Kreuzer
2f7be5a2e1 removed manifest builder to avoid errors in workspace
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-10 19:03:48 +01: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
ce67d9e5f0 removed the core.init bundle as it is no longer required
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-08 20:53:38 +01:00
Kai Kreuzer
3e7f44b45c hiding groups in Paper UI
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-01-05 23:11:13 +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
Kai Kreuzer
78a586b378 changed groupId to org.openhab.core
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2015-12-27 23:48:19 +01:00
Kai Kreuzer
a5b86617a6 initial commit of openhab core components
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2015-12-26 23:22:23 +01:00