Skip to content

Commit

Permalink
source code for community
Browse files Browse the repository at this point in the history
  • Loading branch information
axzae committed Feb 11, 2018
1 parent dcc1593 commit 4e5f364
Show file tree
Hide file tree
Showing 426 changed files with 26,136 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
.externalNativeBuild
/app/fabric.properties
22 changes: 22 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 55 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
HomeAssist
==========
HomeAsisst is a clean & colourful Home-Assistant dashboard for Android.

Download
--------
You can find the latest HomeAssist app on GooglePlay Store:
<a href="https://play.google.com/store/apps/details?id=com.axzae.homeassistant">
<img alt="Android app on Google Play" src="https://developer.android.com/images/brand/en_app_rgb_wo_45.png" />
</a>

Developement
------------
Use Android Studio 3.0.1 or above.

Getting Help
------------
To report a specific problem, feature request, questions, suggestions, or anything else, [open a new issue on Github](https://github.com/axzae/HomeAssist/issues).
Or you can also try [our legacy Trello page][3].

Contributing
------------
Just send in your pull request! :) For consolidation and release to PlayStore, I don't have a schedule yet. But most likely I will do it on a weekly basis.

Thanks
------
* **Никита Якунин** for the Russian translation.
* **Paul de Wit** for the Dutch translation.
* **Squall Chua** for the Japanese translation.
* Everyone who has contributed code and reported issues!

Donation
--------
I would be glad receiving any amount via paypal thru [this link][1].

License
-------
Copyright (C) 2018 Axzae

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


[1]: https://www.paypal.me/axzae/5
[2]: http://webchat.freenode.net/?channels=homeassist
[3]: https://trello.com/b/C0YnMv3L/homeassist
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
178 changes: 178 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.google.com' }
jcenter()
}

dependencies {
classpath 'io.fabric.tools:gradle:1.24.4'
//classpath 'com.google.firebase:firebase-plugins:1.1.1'
}

}

import org.ajoberstar.grgit.Grgit

ext {
git = Grgit.open(currentDir: projectDir)
gitVersionName = "-community-public" //git.describe()
gitVersionCode = "0.0.1" //git.tag.list().size()
gitVersionCodeTime = "community-time" //git.head().time
}

task printVersion() << {
println("Version Name: $gitVersionName")
println("Version Code: $gitVersionCode")
println("Version Code Time: $gitVersionCodeTime")
}

apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
//apply plugin: 'com.google.firebase.firebase-perf'

repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
}


import java.text.SimpleDateFormat

def buildTime() {
def df = new SimpleDateFormat("YYYY-MM-dd HH:mm:ss")
df.setTimeZone(TimeZone.getTimeZone("GMT+08:00"))
return df.format(new Date())
}

def buildTimestamp() {
def df = new SimpleDateFormat("yyyyMMddHHmmss")
df.setTimeZone(TimeZone.getTimeZone("GMT+08:00"))
return df.format(new Date())
}

android {
compileSdkVersion 27
buildToolsVersion "27.0.1"
defaultConfig {
applicationId "com.axzae.homeassistant"
minSdkVersion 17
targetSdkVersion 27
versionCode 1
versionName "0.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true

multiDexEnabled true
renderscriptTargetApi 22
renderscriptSupportModeEnabled true

buildConfigField('String', 'signatureHash', '"97:55:C7:8F:FB:36:FF:45:2A:21:87:01:47:B0:DD:AB:16:4F:C4:0D"')
buildConfigField('String', 'buildTime', "\"${buildTime()}\"")
}

flavorDimensions "default"

productFlavors {
dev {
dimension "default"
versionName gitVersionName
}
}

buildTypes {
debug {
buildConfigField('String', 'signatureHash', '"97:55:C7:8F:FB:36:FF:45:2A:21:87:01:47:B0:DD:AB:16:4F:C4:0D"')
}
}

lintOptions {
checkReleaseBuilds false
}

}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})

compile('com.afollestad.material-dialogs:core:0.9.1.0') {
exclude group: 'com.android.support'
}

compile('com.crashlytics.sdk.android:crashlytics:2.7.1@aar') {
transitive = true;
}

compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:support-v4:27.0.1'
compile 'com.android.support:appcompat-v7:27.0.1'
compile 'com.android.support:cardview-v7:27.0.1'
compile 'com.android.support:customtabs:27.0.1'
compile 'com.android.support:design:27.0.1'
compile 'com.android.support:gridlayout-v7:27.0.1'
compile 'com.android.support:support-vector-drawable:27.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'

compile 'com.google.android.gms:play-services-location:11.6.0'
compile 'com.google.android.gms:play-services-maps:11.6.0'
//compile 'com.google.firebase:firebase-core:11.6.0'
compile 'com.google.firebase:firebase-config:11.6.0'
compile 'com.google.firebase:firebase-ads:11.6.0'
compile 'com.google.firebase:firebase-messaging:11.6.0'
//compile 'com.google.firebase:firebase-perf:11.4.2'

compile 'com.google.code.gson:gson:2.8.1'

compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-scalars:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.squareup.okhttp3:okhttp:3.9.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.9.0'

compile('com.takisoft.fix:preference-v7:27.0.1.0') {
exclude group: 'com.android.support', module: 'support-annotations'
}

compile 'com.yqritc:recyclerview-flexibledivider:1.2.9'
compile 'com.koushikdutta.async:androidasync:2.1.9'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'me.zhanghai.android.materialprogressbar:library:1.3.0'

compile 'com.getkeepsafe.taptargetview:taptargetview:1.9.1'
compile 'org.adw.library:discrete-seekbar:1.0.1'

compile 'com.jaeger.statusbarutil:library:1.4.0'

compile 'nl.dionsegijn:konfetti:1.1.0'
compile 'com.github.QuadFlask:colorpicker:0.0.13'
compile 'fr.tvbarthel.blurdialogfragment:lib:2.2.0'
compile 'com.wdullaer:materialdatetimepicker:3.4.0'

compile 'com.miguelcatalan:materialsearchview:1.4.0'
compile 'com.github.lecho:hellocharts-library:1.5.8@aar'
compile 'com.github.tiagohm.MarkdownView:library:0.17.0'
compile 'de.hdodenhof:circleimageview:2.1.0'

compile 'com.jaeger.statusbarutil:library:1.4.0'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'io.reactivex.rxjava2:rxjava:2.1.5'

compile 'com.koushikdutta.async:androidasync:2.1.9'

compile 'com.github.bumptech.glide:glide:4.4.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
compile ('com.github.bumptech.glide:okhttp3-integration:4.4.0'){
exclude group: 'glide-parent'
}

testCompile 'junit:junit:4.12'
androidTestCompile 'com.squareup.retrofit2:retrofit-mock:2.1.0'
androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.8.1'
debugCompile 'com.amitshekhar.android:debug-db:1.0.1'

}

apply plugin: 'com.google.gms.google-services'
Loading

0 comments on commit 4e5f364

Please sign in to comment.