Skip to content

Commit 829ef07

Browse files
committed
Initial commit with UI code base as of 2019-02-17
Also-by: Wouter Born <[email protected]> Also-by: Martin van Wingerden <[email protected]> Signed-off-by: Kai Kreuzer <[email protected]>
1 parent 42cb2a4 commit 829ef07

File tree

3,521 files changed

+381452
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,521 files changed

+381452
-0
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.iml
2+
.DS_Store
3+
target/
4+
src-gen/
5+
bin/
6+
.metadata/
7+
features/*/src/main/history
8+
npm-debug.log
9+
node_modules/

.travis.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
sudo: required
2+
dist: trusty
3+
4+
language: java
5+
jdk: oraclejdk8
6+
7+
cache:
8+
directories:
9+
- $HOME/.m2
10+
- $HOME/.p2
11+
- extensions/ui/org.eclipse.smarthome.ui.paper/npm_cache
12+
13+
before_install: echo "MAVEN_OPTS='-Xms1g -Xmx2g -XX:PermSize=512m -XX:MaxPermSize=1g'" > ~/.mavenrc
14+
15+
install:
16+
- echo 'mvn clean verify -B -V -Dspotbugs.skip=true 1> .build.stdout 2> .build.stderr' > .build.sh
17+
- chmod 0755 .build.sh
18+
script:
19+
- travis_wait 60 ./.build.sh
20+
after_success:
21+
- tail -n 200 .build.stdout
22+
after_failure:
23+
- tail -n 300 .build.stderr
24+
- tail -n 2000 .build.stdout

CODEOWNERS

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This file helps Github doing automatic review requests for new PRs.
2+
# It should always list the active maintainers of certain add-ons.
3+
4+
# As a fallback, if no specific maintainer is listed below, assign the PR to the repo maintainers team:
5+
* @openhab/webui-maintainers
6+
7+
# Add-on maintainers:
8+
/iconset/ @kaikreuzer
9+
/org.openhab.ui.basic/ @lolodomo @resetnow
10+
/org.openhab.ui.classic/ @lolodomo @kaikreuzer
11+
/org.openhab.ui.cometvisu/ @peuter
12+
/org.openhab.ui.cometvisu.php/ @peuter
13+
/org.openhab.ui.dashboard/ @kaikreuzer
14+
/org.openhab.ui.habmin/ @cdjackson
15+
/org.openhab.ui.habot/ @ghys
16+
/org.openhab.ui.habpanel/ @ghys
17+
/org.openhab.ui.homebuilder/ @kubawolanin
18+
/org.openhab.ui.paper/
19+
/org.openhab.ui.restdocs/ @kaikreuzer

features/pom.xml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>org.openhab.ui</groupId>
8+
<artifactId>pom</artifactId>
9+
<version>2.5.0-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>openhab-webui</artifactId>
13+
<packaging>feature</packaging>
14+
15+
<name>openHAB 2 Feature Addons</name>
16+
<description>openHAB 2 Addons</description>
17+
18+
<build>
19+
<plugins>
20+
<plugin>
21+
<groupId>org.apache.karaf.tooling</groupId>
22+
<artifactId>karaf-maven-plugin</artifactId>
23+
<version>${karaf.version}</version>
24+
<extensions>true</extensions>
25+
<configuration>
26+
<startLevel>80</startLevel>
27+
<aggregateFeatures>true</aggregateFeatures>
28+
<checkDependencyChange>true</checkDependencyChange>
29+
<failOnDependencyChange>false</failOnDependencyChange>
30+
<logDependencyChanges>true</logDependencyChanges>
31+
<overwriteChangedDependencies>true</overwriteChangedDependencies>
32+
</configuration>
33+
</plugin>
34+
</plugins>
35+
</build>
36+
37+
</project>

features/src/main/feature/feature.xml

+126
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (c) 2010-2019 Contributors to the openHAB project
5+
6+
See the NOTICE file(s) distributed with this work for additional
7+
information.
8+
9+
This program and the accompanying materials are made available under the
10+
terms of the Eclipse Public License 2.0 which is available at
11+
http://www.eclipse.org/legal/epl-2.0
12+
13+
SPDX-License-Identifier: EPL-2.0
14+
15+
-->
16+
<features name="${project.artifactId}-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
17+
18+
<feature name="openhab-ui-dashboard" description="Dashboard UI" version="${project.version}">
19+
<feature>openhab-core-base</feature>
20+
<bundle>mvn:org.openhab.ui/org.openhab.ui.dashboard/${project.version}</bundle>
21+
</feature>
22+
23+
<feature name="openhab-ui-basic" description="Basic UI" version="${project.version}">
24+
<feature>openhab-iconset-classic</feature>
25+
<feature>openhab-core-io-rest-sitemap</feature>
26+
<feature>openhab-ui-dashboard</feature>
27+
<bundle>mvn:org.openhab.ui/org.openhab.ui.basic/${project.version}</bundle>
28+
<config name="org.eclipse.smarthome.basicui">
29+
iconType = svg
30+
</config>
31+
</feature>
32+
33+
<feature name="openhab-ui-classic" description="Classic UI" version="${project.version}">
34+
<feature>openhab-iconset-classic</feature>
35+
<feature>openhab-ui-dashboard</feature>
36+
<bundle>mvn:org.openhab.ui/org.openhab.ui.classic/${project.version}</bundle>
37+
<config name="org.eclipse.smarthome.classicui">
38+
defaultSitemap = _default
39+
</config>
40+
</feature>
41+
42+
<feature name="openhab-ui-cometvisu" description="CometVisu Backend" version="${project.version}">
43+
<feature>openhab-core-model-item</feature>
44+
<feature>openhab-core-model-sitemap</feature>
45+
<feature>openhab-core-ui-icon</feature>
46+
<feature>openhab-core-ui</feature>
47+
<feature>openhab-ui-dashboard</feature>
48+
<bundle>mvn:org.openhab.ui/org.openhab.ui.cometvisu/${project.version}</bundle>
49+
<bundle dependency="true">mvn:org.rrd4j/rrd4j/3.4</bundle>
50+
<config name="org.openhab.cometvisu">
51+
webFolder=../../../CometVisu/src/
52+
webAlias=/cometvisu
53+
54+
icons>enableMapping=true
55+
56+
icons.mapping>firstfloor=control_building_int_og
57+
icons.mapping>groundfloor=control_building_int_eg
58+
icons.mapping>cellar=control_building_int_kg
59+
icons.mapping>garden=scene_garden
60+
icons.mapping>sun=weather_sun
61+
icons.mapping>video=scene_livingroom
62+
icons.mapping>kitchen=scene_dinner
63+
icons.mapping>bath=scene_bath
64+
icons.mapping>corridor=scene_hall
65+
icons.mapping>office=scene_office
66+
icons.mapping>boy1=scene_childs_room
67+
icons.mapping>bedroom=scene_sleeping
68+
icons.mapping>heating=sani_heating
69+
icons.mapping>temperature=temp_temperature
70+
icons.mapping>contact=fts_window_1w
71+
</config>
72+
</feature>
73+
74+
<feature name="openhab-ui-cometvisu-php" description="PHP support for CometVisu" version="${project.version}">
75+
<feature>openhab-core-base</feature>
76+
<feature>openhab-ui-cometvisu</feature>
77+
<bundle>mvn:org.openhab.ui/org.openhab.ui.cometvisu.php/${project.version}</bundle>
78+
<bundle>mvn:org.openhab/com.caucho.quercus/4.0.45</bundle>
79+
</feature>
80+
81+
<feature name="openhab-ui-habmin" description="HABmin" version="${project.version}">
82+
<feature>openhab-ui-dashboard</feature>
83+
<bundle>mvn:org.openhab.ui/org.openhab.ui.habmin/${project.version}</bundle>
84+
<bundle dependency="true">mvn:commons-codec/commons-codec/1.10</bundle>
85+
</feature>
86+
87+
<feature name="openhab-ui-habot" description="HABot" version="${project.version}">
88+
<feature>openhab-ui-dashboard</feature>
89+
<feature>openhab-core-automation</feature>
90+
<bundle>mvn:org.openhab.ui/org.openhab.ui.habot/${project.version}</bundle>
91+
<bundle>mvn:org.openhab.core.bundles/org.openhab.core.semantics/${project.version}</bundle>
92+
<bundle>mvn:org.openhab.core.bundles/org.openhab.core.io.rest/${project.version}</bundle>
93+
<bundle dependency="true">mvn:org.bouncycastle/bcprov-jdk15on/1.54</bundle>
94+
<bundle dependency="true">mvn:org.apache.opennlp/opennlp-tools/1.8.3</bundle>
95+
<bundle dependency="true">mvn:org.bitbucket.b_c/jose4j/0.6.3</bundle>
96+
</feature>
97+
98+
<feature name="openhab-ui-habpanel" description="HABPanel" version="${project.version}">
99+
<feature>openhab-ui-dashboard</feature>
100+
<bundle>mvn:org.openhab.ui/org.openhab.ui.habpanel/${project.version}</bundle>
101+
</feature>
102+
103+
<feature name="openhab-ui-homebuilder" description="Home Builder" version="${project.version}">
104+
<feature>openhab-ui-dashboard</feature>
105+
<bundle>mvn:org.openhab.ui/org.openhab.ui.homebuilder/${project.version}</bundle>
106+
</feature>
107+
108+
<feature name="openhab-ui-paper" description="Paper UI" version="${project.version}">
109+
<feature>openhab-io-javasound</feature>
110+
<feature>openhab-io-webaudio</feature>
111+
<feature>openhab-ui-dashboard</feature>
112+
<bundle>mvn:org.openhab.ui/org.openhab.ui.paper/${project.version}</bundle>
113+
</feature>
114+
115+
<feature name="openhab-ui-restdocs" description="REST Documentation" version="${project.version}">
116+
<feature>openhab-ui-dashboard</feature>
117+
<feature>openhab.tp-swagger-jax-rs-provider</feature>
118+
<bundle>mvn:org.openhab.ui/org.openhab.ui.restdocs/${project.version}</bundle>
119+
</feature>
120+
121+
<feature name="openhab-iconset-classic" version="${project.version}">
122+
<feature>openhab-core-ui-icon</feature>
123+
<bundle>mvn:org.openhab.ui.iconset/org.openhab.ui.iconset.classic/${project.version}</bundle>
124+
</feature>
125+
126+
</features>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="optional" value="true"/>
17+
<attribute name="maven.pomderived" value="true"/>
18+
<attribute name="test" value="true"/>
19+
</attributes>
20+
</classpathentry>
21+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
22+
<attributes>
23+
<attribute name="maven.pomderived" value="true"/>
24+
</attributes>
25+
</classpathentry>
26+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
27+
<attributes>
28+
<attribute name="maven.pomderived" value="true"/>
29+
</attributes>
30+
</classpathentry>
31+
<classpathentry kind="output" path="target/classes"/>
32+
</classpath>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.openhab.ui.iconset.classic</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This content is produced and maintained by the openHAB project.
2+
3+
* Project home: https://www.openhab.org
4+
5+
== Declared Project Licenses
6+
7+
This program and the accompanying materials are made available under the terms
8+
of the Eclipse Public License 2.0 which is available at
9+
https://www.eclipse.org/legal/epl-2.0/.
10+
11+
== Source Code
12+
13+
https://github.com/openhab/openhab2-addons

0 commit comments

Comments
 (0)