From 17a4e44203c1d785a198e0b1ba81fe8c4953a9cb Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Sat, 29 May 2021 18:07:48 +0200 Subject: [PATCH] version boost, travis test --- config.xml | 9 ++++++--- package.json | 14 ++++++++++---- version.json | 6 +++--- www/index.html | 4 ++-- www/js/index.js | 13 +++++++++++++ 5 files changed, 34 insertions(+), 12 deletions(-) diff --git a/config.xml b/config.xml index c787639..bd86f60 100644 --- a/config.xml +++ b/config.xml @@ -1,7 +1,7 @@ - - rdzSondyGO + rdzSonde A sample Apache Cordova application that uses rdzwx-plugin. @@ -29,7 +29,10 @@ - + + + + diff --git a/package.json b/package.json index df1392a..4602d02 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "de.dl9rdz", "displayName": "rdzwx-go", - "version": "1.0.5", + "version": "1.0.6", "description": "A sample Apache Cordova application that uses rdzwx-plugin.", "main": "index.js", "scripts": { @@ -15,12 +15,13 @@ "devDependencies": { "cordova-android": "^9.0.0", "cordova-browser": "^6.0.0", + "cordova-electron": "^2.0.0", "cordova-plugin-badge": "^0.8.8", "cordova-plugin-device": "^2.0.3", "cordova-plugin-inappbrowser": "^4.1.0", "cordova-plugin-local-notification": "^0.9.0-beta.2", "cordova-plugin-whitelist": "^1.3.4", - "de-dl9rdz-rdzwx": "https://github.com/dl9rdz/rdzwx-plugin.git" + "rdzwx-plugin": "file:../../AndroidStudioProjects/rdzwx-plugin" }, "cordova": { "plugins": { @@ -31,7 +32,12 @@ }, "platforms": [ "android", - "browser" + "browser", + "electron" ] + }, + "dependencies": { + "net": "^1.0.2", + "xmlhttprequest": "^1.8.0" } -} +} \ No newline at end of file diff --git a/version.json b/version.json index 2d4137a..082de6a 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "1.0.5", - "url": "https://github.com/dl9rdz/rdzwx-go/releases/tag/v1.0.4", - "apkurl": "https://github.com/dl9rdz/rdzwx-go/releases/download/v1.0.4/rdzSondyGO-v1.0.4.apk" + "version": "1.0.6", + "url": "https://github.com/dl9rdz/rdzwx-go/releases/tag/v1.0.6", + "apkurl": "https://github.com/dl9rdz/rdzwx-go/releases/download/v1.0.6/rdzSonde-v1.0.6.apk" } diff --git a/www/index.html b/www/index.html index 23c2d45..8c0b334 100644 --- a/www/index.html +++ b/www/index.html @@ -48,13 +48,13 @@ - rdzSondyGO V1.0.5 + rdzSonde v1.0.6
X -

rdzSondyGO v1.0.5

+

rdzSonde v1.0.6

Copyright © 2021 Hansi Reiser, dl9rdz

see https://github.com/dl9rdz/rdzwx-go for details

Apache License Version 2.0

diff --git a/www/js/index.js b/www/js/index.js index 04677e1..aee5396 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -831,3 +831,16 @@ function createButton(label, container) { btn.innerHTML = label; return btn; } + +// radiosondy.info +function reqauth() { + var xhr = new XMLHttpRequest(); + xhr.open("POST", "https://radiosondy.info/user/login.php?", true); + xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); + xhr.onreadystatechange = function() { + if(http.readyState == 4 && http.satus == 200) { + alert(http.resonseText); + } + } + xhr.send('submitted=1&username=DL9RDZ&password=ct1jzmhr&Submit=Login'); +}