Skip to content

Commit

Permalink
Committing latest code for version 1.3.2
Browse files Browse the repository at this point in the history
Lots of changes
  • Loading branch information
venumx committed Nov 2, 2017
1 parent 77a42cf commit ed700f9
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 36 deletions.
Binary file modified ShufordTechSmartThings/.sdk_delta.info
Binary file not shown.
8 changes: 4 additions & 4 deletions ShufordTechSmartThings/.sign/.manifest.tmp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
app.js__DEL__16lJv5VIzQR0xvaXIqsiiA5+0wYp2vMuZgZ5qc1wGUM=
config.xml__DEL__OUlgEQkhKl/VlkOHkqWdz6RZcBYjrKXRgFqnyQ30/MQ=
app_icon.png__DEL__fjXD1OW9sH9cZY0SlQvI9pjwQhh+q9VhUNqseHXeGN0=
config.xml__DEL__g1Fygnr2lhLkvHLrTDVCrc/vX2HAuPMeNmz9WpK6eV4=
css/images/b_more_option_delete_icon.png__DEL__kU25r00kGKSgA69INIExaB5QhzpvrLK/jXtP81H0FwA=
css/images/b_more_option_human_icon.png__DEL__ogA0tP605qPp5lFS2MUiwogGRtw1Ry6p6zQyn8flwIk=
css/images/b_more_option_show_on_device_icon.png__DEL__UUAzxCBI/wX8RmDB10GqOnhBMqhJW273xtb9I3VqrJc=
Expand All @@ -21,7 +22,6 @@ css/images/tw_toast_popup_delete.png__DEL__n+qpQ6l/BYeO3b9DhheYS1ghBbJm2jLXKZue8
css/images/tw_toast_popup_fail.png__DEL__q2e6rweicCl79ekxBbwAIw6e1+0Hg1HmtI8r75OFDvE=
css/images/unlock_box.png__DEL__i4sjj3WQZXLj2l+qRwADPWdmsx1jCCoFPfasyuz66F8=
css/style.css__DEL__N8RisjRhqMKO7DwF8Phfypyt4EItcgwykIkyXizi0X0=
icon.png__DEL__W8r/+C4XLqvdBAuBckIu2VRJF5oXHNBiButJIrLvavE=
index.html__DEL__6MqV61Dnd5Sp1lE71Y1mwFjJfaKaUyVSfUaKrzhp/Tw=
lib/circle-helper.js__DEL__YyfFS9jKpuiZ7CdImVFaqZJylXHwCaARCvzYta5Kei4=
lib/jquery.js__DEL__cNrkaflPIUtYnVNSG5A4MKCLT7WJ1HpMJpqDx5EWiGo=
Expand Down Expand Up @@ -279,5 +279,5 @@ lib/tau/wearable/theme/default/tau.min.css__DEL__wY788fm+SEyJDUSftWZBcunMSAS9g1Y
lib/tau/wearable/theme/default/tau.min.template__DEL__UTLnyuhkbUUZCANbcpEmVeOqSG9UuwqSStpqdA50kt4=
lib/tau/wearable/theme/default/tau.template__DEL__T6s0/myO8rhFh8Y8NwaR6XrhqLy9v6D99w5p/wp64js=
lowBatteryCheck.js__DEL__SBy21QGrzEgX4g1iEo8CDXC0v76ZZcfYgacfHbDtZmM=
storelogo.png__DEL__JZ3k02ctQAkJrCJ/1Hm136bbQOLuqSz0eY+MEgSZAuc=
author-signature.xml__DEL__1dHbbBTwEUg9qE4tc+xjvIoKWlJudFH4x4aGoG3zJsg=
smarter_things_logo.png__DEL__6YE6VoBscexatOklwdwexx3H02EpGdPIRVavTtR+Eek=
author-signature.xml__DEL__aWoBmIsw/7V+9N/kOQzYqCTQOvG5CMJMLzhR9jZlLHg=
24 changes: 12 additions & 12 deletions ShufordTechSmartThings/.sign/author-signature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>16lJv5VIzQR0xvaXIqsiiA5+0wYp2vMuZgZ5qc1wGUM=</DigestValue>
</Reference>
<Reference URI="app_icon.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>fjXD1OW9sH9cZY0SlQvI9pjwQhh+q9VhUNqseHXeGN0=</DigestValue>
</Reference>
<Reference URI="config.xml">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>OUlgEQkhKl/VlkOHkqWdz6RZcBYjrKXRgFqnyQ30/MQ=</DigestValue>
<DigestValue>g1Fygnr2lhLkvHLrTDVCrc/vX2HAuPMeNmz9WpK6eV4=</DigestValue>
</Reference>
<Reference URI="css%2Fimages%2Fb_more_option_delete_icon.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
Expand Down Expand Up @@ -94,10 +98,6 @@
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>N8RisjRhqMKO7DwF8Phfypyt4EItcgwykIkyXizi0X0=</DigestValue>
</Reference>
<Reference URI="icon.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>W8r/+C4XLqvdBAuBckIu2VRJF5oXHNBiButJIrLvavE=</DigestValue>
</Reference>
<Reference URI="index.html">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>6MqV61Dnd5Sp1lE71Y1mwFjJfaKaUyVSfUaKrzhp/Tw=</DigestValue>
Expand Down Expand Up @@ -1126,9 +1126,9 @@
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>SBy21QGrzEgX4g1iEo8CDXC0v76ZZcfYgacfHbDtZmM=</DigestValue>
</Reference>
<Reference URI="storelogo.png">
<Reference URI="smarter_things_logo.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>JZ3k02ctQAkJrCJ/1Hm136bbQOLuqSz0eY+MEgSZAuc=</DigestValue>
<DigestValue>6YE6VoBscexatOklwdwexx3H02EpGdPIRVavTtR+Eek=</DigestValue>
</Reference>
<Reference URI="#prop">
<Transforms>
Expand All @@ -1139,11 +1139,11 @@
</Reference>
</SignedInfo>
<SignatureValue>
x1et/kRDS45yfdruoFSmG/Hd2TO7s1RwSLIfXZq1NMisONy+gnLhJpvM6IWCF4sbQDMNbfKcorGe
jq3z6gNN8IPNj9gjxuzQ8z/QA97kCid77Lujq4QGd72BGbdui6bAykad8bXlJh+0ZGV2hQgomNcc
QWZbs2h6+xKrJ8io6neld8/j7NnOHPI+FlLQGadprxgQU93LMnAwdDprLM6QvQ7wL5JQyE3O7RDO
1sMwf4kmAGZt4MyuhhCvz06/ewjFwY3MSh5i3qFEE+BFy1s0FJr169UUD9dp9P0246RXhOLb9liw
XVsA64f+S6Q5SmxYbhrOwkESFTYcNh4twszW0A==
wPWGDy6F81JIxnGRa2juQrGq2D7uAddLzywImp7c9+tYGxwQig60nggsVg9P1Xks6FLt/ivMiAhC
SkJbqGF9hTK6ZI29WRmyTFTQsV31kLX1d/Z6inBlFoThRAsmKPZoBztghdQ49khXjueMM2e9AHpJ
cq78KHQ0YL4u3vd4iO+rUNga3zBre48JV9JiWRJZK1bmuqmHwny6WdeC+0RyVTvEssp4/n3lZlIn
c5NNJ4BkD4KQgov9K5IkfegyyPRWINHo8Eb1GBrzoKL4xnL64ntxC6pj633Bz4NbCiu77z7IU/AF
4Y/NPRxAfVN/2LkDdA6Jakf0ATWpPU1MrkBHYg==
</SignatureValue>
<KeyInfo>
<X509Data>
Expand Down
26 changes: 13 additions & 13 deletions ShufordTechSmartThings/.sign/signature1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>16lJv5VIzQR0xvaXIqsiiA5+0wYp2vMuZgZ5qc1wGUM=</DigestValue>
</Reference>
<Reference URI="app_icon.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>fjXD1OW9sH9cZY0SlQvI9pjwQhh+q9VhUNqseHXeGN0=</DigestValue>
</Reference>
<Reference URI="author-signature.xml">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>1dHbbBTwEUg9qE4tc+xjvIoKWlJudFH4x4aGoG3zJsg=</DigestValue>
<DigestValue>aWoBmIsw/7V+9N/kOQzYqCTQOvG5CMJMLzhR9jZlLHg=</DigestValue>
</Reference>
<Reference URI="config.xml">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>OUlgEQkhKl/VlkOHkqWdz6RZcBYjrKXRgFqnyQ30/MQ=</DigestValue>
<DigestValue>g1Fygnr2lhLkvHLrTDVCrc/vX2HAuPMeNmz9WpK6eV4=</DigestValue>
</Reference>
<Reference URI="css%2Fimages%2Fb_more_option_delete_icon.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
Expand Down Expand Up @@ -98,10 +102,6 @@
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>N8RisjRhqMKO7DwF8Phfypyt4EItcgwykIkyXizi0X0=</DigestValue>
</Reference>
<Reference URI="icon.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>W8r/+C4XLqvdBAuBckIu2VRJF5oXHNBiButJIrLvavE=</DigestValue>
</Reference>
<Reference URI="index.html">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>6MqV61Dnd5Sp1lE71Y1mwFjJfaKaUyVSfUaKrzhp/Tw=</DigestValue>
Expand Down Expand Up @@ -1130,9 +1130,9 @@
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>SBy21QGrzEgX4g1iEo8CDXC0v76ZZcfYgacfHbDtZmM=</DigestValue>
</Reference>
<Reference URI="storelogo.png">
<Reference URI="smarter_things_logo.png">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
<DigestValue>JZ3k02ctQAkJrCJ/1Hm136bbQOLuqSz0eY+MEgSZAuc=</DigestValue>
<DigestValue>6YE6VoBscexatOklwdwexx3H02EpGdPIRVavTtR+Eek=</DigestValue>
</Reference>
<Reference URI="#prop">
<Transforms>
Expand All @@ -1143,11 +1143,11 @@
</Reference>
</SignedInfo>
<SignatureValue>
gLd+qY2xr/N5bTlLDjkh6SFOfM1qCZVfRLz6R/v8rHtJcsjO1bhaDeiT3s2S7pS6+kjWEeDCY+Ec
aKcE8hzf4lmuCshtdoUy30i5E5dbqdjDlqijUMm7WOUV8mth0qLks0zndFlJtlyfp/0HUsdB0mwb
5a1iz2b8miZFq8b5HWxAaz4CPbnCec2a5hXVdK5fO/RxiBrlthtydPrH2aVqlcxm9e8O4+P4Pw69
UEo3Ez0mNq2ESZ90w3bhTpu0RW5aKBObQEHq2KRl49EH70XAzatxG70aE0g1Y3J7u06u7VHYClMW
Vcb35K+9WD75pXRpHvEq0WrvvKCVylY03FkZmw==
fZa87AoZwoT+GS9CezZ8c40q6Kxdx4jM8XkH6QeCw3EfOBMkJC0QPUwlbGvSwSFgOewVfG23Vdyz
A5gbJl80F1SqRWoNXBldauMA2UX2pnYNA5lpLlQxzFqsyYk1/2PgW0DPlq/W/0d68qd3yx2ejTx2
+xkH11sHG9H2SoqqZhezhlGrjKakyVo2cFE0fPpJJ4z2SYsA/e/fOprJtzIUn/mz9ZqRz+6HIvDK
mQAwtxe/UeWTSYTTWkF4B9e9Py0hBF+0dPo7QbDjymQEcvLY8o4fxCMKAMK5ZRP/XuQrzAmBMZJZ
Lb/JCNrTFpQOKakkCHAQPa8mA+Nlxyhtl3pSzw==
</SignatureValue>
<KeyInfo>
<X509Data>
Expand Down
Binary file modified ShufordTechSmartThings/SmarterThings.wgt
Binary file not shown.
7 changes: 5 additions & 2 deletions ShufordTechSmartThings/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//minimum smartapp version for functions to work correctly.
var SMARTAPP_VERSION = "1.0.1";

//smarterauth connector api - if you are a developer, request an access token to - [email protected]
var SC_API_KEY = "";

//Page Views
var MainPageRan = false;
var SwitchPageRan = false;
Expand All @@ -19,7 +22,7 @@ var changeBright;
//Polling interval in ms for token
var pollingInt = 10000;

//Encrypt Key (This should be set by the user)
//Encrypt Key
var EncryptKey = 2092342;

//Databases
Expand Down Expand Up @@ -138,7 +141,7 @@ function SetupPage(){
type: "POST",
data: { },
headers: {
"Authorization": "Token 98b7d003-4701-40fb-8295-b2dded696f26"
"Authorization": "Token " + SC_API_KEY
},
success: function(json){
//assign it to the local variable
Expand Down
Binary file added ShufordTechSmartThings/app_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions ShufordTechSmartThings/config.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns:tizen="http://tizen.org/ns/widgets" xmlns="http://www.w3.org/ns/widgets" id="https://timothyfenton.com/smarterauth" version="1.3.0" viewmodes="maximized">
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="https://smarterauth.com" version="1.3.2" viewmodes="maximized">
<access origin="*" subdomains="true"></access>
<tizen:application id="HLLvo0px34.ShufordTechSmartThings" package="HLLvo0px34" required_version="2.3"/>
<author href="https://timothyfenton.com/smarterauth" email="[email protected]">Timothy Fenton</author>
<author href="https://www.smarterauth.com" email="[email protected]">Timothy Fenton</author>
<content src="index.html"/>
<feature name="http://tizen.org/feature/screen.size.normal"/>
<feature name="http://tizen.org/feature/network.internet"/>
<feature name="http://tizen.org/feature/download"/>
<icon src="icon.png"/>
<name>SmarterThings</name>
<icon src="app_icon.png"/>
<name>smarter things</name>
<tizen:privilege name="http://tizen.org/privilege/power"/>
<tizen:privilege name="http://tizen.org/privilege/unlimitedstorage"/>
<tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
Expand Down
Binary file removed ShufordTechSmartThings/icon.png
Binary file not shown.
2 changes: 1 addition & 1 deletion ShufordTechSmartThings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 class="ui-title">Token:</h2>
<div class="ui-content content-padding">
<div id="SmT">
<span id="smarterauthtoken"></span>
<p>Visit goo.gl/PNjY6z on another device and follow the instructions</p>
<p>Visit https://smarterauth.com on another device and follow the instructions</p>
</div>
</div>
</div>
Expand Down
Binary file added ShufordTechSmartThings/smarter_things_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed ShufordTechSmartThings/storelogo.png
Binary file not shown.

0 comments on commit ed700f9

Please sign in to comment.