Skip to content

Commit 8a0cf2e

Browse files
authored
Merge pull request #16 from SEPIA-Framework/dev
update to v0.17.0 see version history for details
2 parents 14ab888 + 11dfadf commit 8a0cf2e

Some content is hidden

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

47 files changed

+1907
-326
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ Features of the app are:
2626

2727
### Quick-start
2828

29-
The latest release version is always online at: https://sepia-framework.github.io/app/index.html
30-
The Android app can be installed via the Google Play Store (currently only German): [German Play Store link](https://play.google.com/store/apps/details?id=de.bytemind.sepia.app.web)
29+
The latest release version is always **online** at: `https://sepia-framework.github.io/app/index.html` (requires server with SSL)
30+
When you've installed **SEPIA-Home** the default link is: `http://[sepia-home-IP]:20721/app/index.html`
31+
The Android app can be installed via the **Google Play Store**: [Play Store link](https://play.google.com/store/apps/details?id=de.bytemind.sepia.app.web) (currently only German)
3132

3233
Note: If you don't operate your own SEPIA server you can still open the app in "demo-mode" (simply skip the log-in) and look around a bit though most of the features will not be active in this mode.
3334
More languages for Android and an iOS app are in beta-test phase and will be release "when they are done" :-p

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<widget id="org.example.sepia.app.web" version="0.16.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
2+
<widget id="org.example.sepia.app.web" version="0.17.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
33
<name>S.E.P.I.A.</name>
44
<description>
55
Prototype of S.E.P.I.A. framework client

create-android-project.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ cordova plugin add cordova-plugin-nativestorage
3939
cordova plugin add cordova-android-support-gradle-release
4040
cordova plugin add phonegap-plugin-media-stream
4141
cordova plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git
42+
cordova plugin add cordova-plugin-eddystone
4243
#
4344
# overwrite plugin mods
4445
sleep 2

create-ios-project-wkwebview.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ cordova plugin add cordova-plugin-audioinput
3939
cordova plugin add plugin_mods/iosbackgroundaudio/nl.kingsquare.cordova.background-audio
4040
cordova plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git
4141
cordova plugin add phonegap-plugin-battery-status
42+
cordova plugin add cordova-plugin-eddystone
4243
#
4344
# overwrite plugin mods
4445
sleep 2

plugin_mods/inappbrowser/android/InAppBrowser.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ public void run() {
644644
//toolbar.setBackgroundColor(android.graphics.Color.rgb(235,235,235));
645645
int toolbarColor;
646646
int blackColor = android.graphics.Color.rgb(0, 0, 0);
647-
int blueColor = android.graphics.Color.rgb(0, 122, 255);
647+
int accentColor = android.graphics.Color.rgb(190, 255, 26); //android.graphics.Color.rgb(0, 122, 255);
648648
if(Build.VERSION.SDK_INT >= 21){
649649
/*
650650
toolbarColor = cordova.getActivity().getWindow().getStatusBarColor();
@@ -663,7 +663,7 @@ public void run() {
663663
back.setId(Integer.valueOf(2));
664664
back.setBackground(null);
665665
if (toolbarColor == blackColor)
666-
back.setColorFilter(blueColor);
666+
back.setColorFilter(accentColor);
667667
back.setImageDrawable(getDrawableFromMyResources("ic_chevron_left_black_24dp"));
668668
back.setScaleType(ImageView.ScaleType.FIT_CENTER);
669669
back.setPadding(this.dpToPixels(8), this.dpToPixels(5), this.dpToPixels(8), this.dpToPixels(5));
@@ -682,7 +682,7 @@ public void onClick(View v) {
682682
forward.setId(Integer.valueOf(3));
683683
forward.setBackground(null);
684684
if (toolbarColor == blackColor)
685-
forward.setColorFilter(blueColor);
685+
forward.setColorFilter(accentColor);
686686
forward.setImageDrawable(getDrawableFromMyResources("ic_chevron_right_black_24dp"));
687687
forward.setScaleType(ImageView.ScaleType.FIT_CENTER);
688688
forward.setPadding(this.dpToPixels(8), this.dpToPixels(5), this.dpToPixels(8), this.dpToPixels(5));
@@ -751,12 +751,12 @@ public boolean onKey(View v, int keyCode, KeyEvent event) {
751751
close.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
752752
close.setBackground(null);
753753
if (toolbarColor == blackColor)
754-
close.setTextColor(blueColor);
754+
close.setTextColor(accentColor);
755755
*/
756756
close.setBackground(null);
757757
close.setPadding(this.dpToPixels(8), this.dpToPixels(5), this.dpToPixels(8), this.dpToPixels(5));
758758
if (toolbarColor == blackColor)
759-
close.setColorFilter(blueColor);
759+
close.setColorFilter(accentColor);
760760
close.setImageDrawable(getDrawableFromMyResources("ic_close_black_24dp"));
761761
close.setScaleType(ImageView.ScaleType.FIT_CENTER);
762762
close.getAdjustViewBounds();
@@ -777,7 +777,7 @@ public void onClick(View v) {
777777
reload.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
778778
reload.setBackground(null);
779779
if (toolbarColor == blackColor)
780-
reload.setTextColor(blueColor);
780+
reload.setTextColor(accentColor);
781781
reload.setPadding(this.dpToPixels(8), this.dpToPixels(5), this.dpToPixels(8), this.dpToPixels(5));
782782
//Drawable reloadIcon = activityRes.getDrawable(android.R.drawable.ic_popup_sync);
783783
//reload.setImageDrawable(reloadIcon);
@@ -804,7 +804,7 @@ public void onClick(View v) {
804804
homeButton.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
805805
homeButton.setBackground(null);
806806
if (toolbarColor == blackColor)
807-
homeButton.setTextColor(blueColor);
807+
homeButton.setTextColor(accentColor);
808808
homeButton.setPadding(this.dpToPixels(8), this.dpToPixels(5), this.dpToPixels(8), this.dpToPixels(5));
809809

810810
homeButton.setOnClickListener(new View.OnClickListener() {
@@ -822,7 +822,7 @@ public void onClick(View v) {
822822
clearAllButton.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
823823
clearAllButton.setBackground(null);
824824
if (toolbarColor == blackColor)
825-
clearAllButton.setTextColor(blueColor);
825+
clearAllButton.setTextColor(accentColor);
826826
clearAllButton.setPadding(this.dpToPixels(8), this.dpToPixels(5), this.dpToPixels(8), this.dpToPixels(5));
827827

828828
clearAllButton.setOnClickListener(new View.OnClickListener() {
@@ -959,7 +959,7 @@ public void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType)
959959
contextButton.setId(Integer.valueOf(9));
960960
contextButton.setBackground(null);
961961
if (toolbarColor == blackColor)
962-
contextButton.setColorFilter(blueColor);
962+
contextButton.setColorFilter(accentColor);
963963
contextButton.setImageDrawable(getDrawableFromMyResources("ic_add_black_24dp"));
964964
contextButton.setScaleType(ImageView.ScaleType.FIT_CENTER);
965965
contextButton.setPadding(this.dpToPixels(8), this.dpToPixels(5), this.dpToPixels(8), this.dpToPixels(5));

win-create-android-project.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ cordova plugin add cordova-plugin-nativestorage |more
3737
cordova plugin add cordova-android-support-gradle-release |more
3838
cordova plugin add phonegap-plugin-media-stream |more
3939
cordova plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git |more
40+
cordova plugin add cordova-plugin-eddystone |more
4041
REM
4142
REM overwrite plugin mods
4243
sleep 2

www/css/sepiaFW-alwaysOn.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@
120120
50% { top: 48%; }
121121
50.25% { top: 23%; }
122122
}
123+
@keyframes flicker {
124+
0% { opacity:1; }
125+
50% { opacity:0.33; }
126+
100% { opacity:1; }
127+
}
123128

124129
#sepiaFW-alwaysOn-avatar .avatar-pupil {
125130
position: absolute;
@@ -159,6 +164,9 @@
159164
#sepiaFW-alwaysOn-avatar .avatar-mouth.sad {
160165
border-radius: 0%;
161166
}
167+
#sepiaFW-alwaysOn-avatar .avatar-mouth.speaking {
168+
animation: flicker 1.5s infinite;
169+
}
162170

163171
#sepiaFW-alwaysOn-avatar .avatar-activity {
164172
position: absolute;

www/css/sepiaFW-frames.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,27 @@
7373
.sepiaFW-frames-page.dark button {
7474
background: #ceff1a !important;
7575
color: #000 !important;
76+
}
77+
78+
.sepiaFW-frames-page .group-container {
79+
display: flex;
80+
justify-content: center;
81+
flex-wrap: wrap;
82+
}
83+
.sepiaFW-frames-page .group {
84+
width: 100%;
85+
display: flex;
86+
justify-content: space-between;
87+
align-items: center;
88+
margin: 8px;
89+
}
90+
.sepiaFW-frames-page .group label {
91+
margin: 0 8px;
92+
}
93+
.sepiaFW-frames-page .group input {
94+
width: auto !important;
95+
}
96+
.sepiaFW-frames-page .group .sepiaFW-toggle-btn {
97+
border: 1px solid;
98+
border-color: inherit;
7699
}

www/css/sepiaFW-skin-bytemind.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,15 @@ html {
4444
color: #fff;
4545
}
4646
.sepiaFW-notouch-device #sepiaFW-main-window button:hover {
47-
background: #fff;
48-
color: #262629;
47+
background: transparent;
48+
color: #44c8be;
4949
}
5050
#sepiaFW-assist-btn-area {
5151
border-color: #262629;
5252
}
5353
#sepiaFW-assist-btn {
5454
background: #44c8be !important;
55+
color: #fff !important;
5556
}
5657

5758
#sepiaFW-chat-controls-speech-box > div {
@@ -72,6 +73,9 @@ html {
7273
background: #262629;
7374
color: #44c8be;
7475
}
76+
.sepiaFW-notouch-device #sepiaFW-chat-menu button:hover {
77+
background-color: #fff !important;
78+
}
7579
#sepiaFW-chat-controls-more-menu button {
7680
background: #262629;
7781
color: #fff;

0 commit comments

Comments
 (0)