Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
a125ebb
leaflet first attempt
LukePrior Jun 25, 2021
363733d
sondehub final
LukePrior Jun 26, 2021
a5f39f3
switch to local files
LukePrior Jun 26, 2021
96f9c41
Merge branch 'master' of https://github.com/LukePrior/sondehub-tracke…
Jun 26, 2021
4e8e553
Switch to minified code
LukePrior Jun 26, 2021
72f739e
Merge pull request #14 from LukePrior/patch-5
TheSkorm Jun 26, 2021
f6af18f
various bug fixes
LukePrior Jun 27, 2021
cbfba04
Update README.md
LukePrior Jun 27, 2021
a19baa1
new photo
LukePrior Jun 27, 2021
515e7c2
Merge branch 'master' of https://github.com/LukePrior/sondehub-tracker
LukePrior Jun 27, 2021
121c0ed
Update README.md
LukePrior Jun 27, 2021
79aff43
Merge pull request #15 from LukePrior/master
darksidelemm Jun 27, 2021
cbf29db
fixes and changes
LukePrior Jun 27, 2021
16745ab
Merge branch 'master' of https://github.com/LukePrior/sondehub-tracker
LukePrior Jun 27, 2021
5c69030
stray if statements
LukePrior Jun 27, 2021
82cb921
Merge pull request #16 from LukePrior/master
darksidelemm Jun 27, 2021
9dfe49c
switch to circle marker
LukePrior Jun 27, 2021
7c5b513
Merge pull request #17 from LukePrior/master
darksidelemm Jun 27, 2021
6b7bd71
big performance improvement
LukePrior Jun 28, 2021
e8ff403
include files
LukePrior Jun 28, 2021
c536d7e
Merge pull request #18 from LukePrior/master
TheSkorm Jun 28, 2021
533c911
hopefully fixed the marker issue
LukePrior Jun 28, 2021
ebe31b9
Merge pull request #19 from LukePrior/testing
darksidelemm Jun 28, 2021
e56c6ac
Merge pull request #1 from projecthorus/testing
LukePrior Jun 28, 2021
3bad502
Maybe enable GZIP?
LukePrior Jun 28, 2021
99336f0
use detailed API on select
LukePrior Jun 28, 2021
fcabe66
Merge branch 'testing' of https://github.com/LukePrior/sondehub-track…
LukePrior Jun 28, 2021
9d32363
Merge pull request #21 from LukePrior/testing
TheSkorm Jun 28, 2021
5b59626
PWA Support
LukePrior Jun 29, 2021
b8d42fe
Merge pull request #22 from LukePrior/testing
TheSkorm Jun 29, 2021
c9d8c3a
fix API switching
LukePrior Jun 29, 2021
4b946a8
nyan mode is back!
LukePrior Jun 29, 2021
72113f8
Merge pull request #23 from LukePrior/testing
TheSkorm Jun 29, 2021
22457f4
small fixes
LukePrior Jun 30, 2021
05a9ecf
The marker is back!
LukePrior Jun 30, 2021
a6f3814
Merge pull request #24 from LukePrior/testing
TheSkorm Jun 30, 2021
931f818
scale, fixes
LukePrior Jul 4, 2021
8b3b6f1
Merge pull request #25 from LukePrior/testing
darksidelemm Jul 4, 2021
c4f8d96
PWA manifest improvements
LukePrior Jul 5, 2021
8d371bf
PWA show number balloons in taskbar
LukePrior Jul 5, 2021
f15ac68
Share button
LukePrior Jul 5, 2021
dddbf5a
fix screenshots
LukePrior Jul 5, 2021
10beb0d
Merge pull request #26 from LukePrior/testing
darksidelemm Jul 5, 2021
b988600
support for displaying old sonde
LukePrior Jul 6, 2021
dfe69bd
lock time select when historical
LukePrior Jul 6, 2021
57ea969
fix edge case
LukePrior Jul 6, 2021
6cc0f5b
remove console.log()
LukePrior Jul 6, 2021
2f9a377
Merge pull request #27 from LukePrior/testing
darksidelemm Jul 6, 2021
d43d304
bug fixes
LukePrior Jul 6, 2021
18abf06
Update manifest.json
LukePrior Jul 6, 2021
b6966ed
Merge pull request #28 from LukePrior/testing
darksidelemm Jul 6, 2021
94d1c83
Fix mobile formatting
LukePrior Jul 7, 2021
ca3892d
Merge branch 'testing' of https://github.com/LukePrior/sondehub-track…
LukePrior Jul 7, 2021
30f9f72
css fix for sidebar
LukePrior Jul 7, 2021
aa4e66e
timeout message, Sondehub V1 data support
LukePrior Jul 7, 2021
2de652e
filtering support
LukePrior Jul 7, 2021
8232233
page update
LukePrior Jul 7, 2021
c593c2e
title fix
LukePrior Jul 7, 2021
aaa6039
Merge pull request #29 from LukePrior/testing
darksidelemm Jul 7, 2021
664f82f
bug fixes
LukePrior Jul 8, 2021
cdba6f9
Merge pull request #30 from LukePrior/testing
darksidelemm Jul 8, 2021
22e1ef4
small fix
LukePrior Jul 10, 2021
314ed55
fix
LukePrior Jul 10, 2021
af657c7
Merge pull request #31 from LukePrior/testing
darksidelemm Jul 10, 2021
92d6a5f
Merge branch 'master' into testing
darksidelemm Jul 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs (only needed for ancient browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>

AddType text/cache-manifest .manifest
Expand Down
25 changes: 5 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,30 @@
# SondeHub Tracker
# SondeHub Tracker Beta (leaflet edition)

A fork of [habitat-mobile-tracker](https://github.com/rossengeorgiev/habitat-mobile-tracker) for use with the [SondeHub v2 ElasticSearch](https://github.com/projecthorus/sondehub-infra/wiki/ElasticSearch-Kibana-access) database. Huge credits to [Rossen Georgiev](https://github.com/rossengeorgiev/) for developing the mobile-tracker.

![mobile tracker screenshot](resources/mobiletracker-screencap.png "mobile tracker screenshot")

A webapp for tracking radiosondes. Works an desktop and mobile devices.
The habhub tracker is a continuation of [spacenear.us/tracker](http://spacenear.us/tracker).
The SondeHub tracker is a continuation of [spacenear.us/tracker](http://spacenear.us/tracker).

## Features

* Radiosonde Tracking using [SondeHub V2](https://github.com/projecthorus/sondehub-infra/wiki/ElasticSearch-Kibana-access) data.
* Telemetry graph for each balloon
* Chase Car functionality (TODO for SondeHub)
* Chase Car functionality
* Near realtime weather overlays
* [Daylight cycle overlay](https://github.com/rossengeorgiev/nite-overlay), for long flights
* Available to embed on any website
* Map tracker with Google Maps API 3
* Map tracker with Leaflet API
* Run the app natively on `iOS` or with Chrome's 'add to screen' on `Android`

### Geo position

Available only on mobile devices.

The app will ask for permission to use your location.
This is required for some of the features. It is **important** to note that
your location will not be made available or send to anyone. Unless, you enable
the `chase car mode`, which will periodically upload it to habitat. _The app
the `chase car mode`, which will periodically upload it to SondeHub. _The app
will always start with `chase car mode` disabled._

### Offline storage

The app will ask to use offline storage. You will need to accept, in order to
use the offline capabilities. The app will cache all files making it available
even when there is no network coverage. Latest position data will also be stored
and used when you start up with no network. When you get back online, the app
will fetch the latest position data.

## Browser requirements

Any modern browser should be able to run the app. Including the latest version of IE.
Expand All @@ -46,7 +35,6 @@ This is also true for mobile, some build-in browsers may not work.
Don't hesitate to report any issues, or suggest improvements. Just visit the [issues page](https://github.com/projecthorus/sondehub-tracker/issues).
Pull requests are welcome.


## Installation

Requirements: __Java__ and (Linux or Cygwin environment)
Expand All @@ -61,9 +49,6 @@ For __applicationCache__ to work your server needs to send the correct MIME type

Author: Daniel Saul [@danielsaul](https://github.com/danielsaul)

[See concept for phone portrait mode](https://github.com/rossengeorgiev/habitat-mobile-tracker/blob/master/resources/concept-app-portrait.png)
[See concept for tablets](https://github.com/rossengeorgiev/habitat-mobile-tracker/blob/master/resources/concept-app-tablet.png)




2 changes: 0 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ cat jquery* >> mobile.js
VERSION="`git rev-parse --short HEAD`"

# compile the rest
java -jar "../tools/yuicompressor-2.4.8.jar" --type=js --disable-optimizations --nomunge gmaps_extentions.js >> mobile.js
java -jar "../tools/yuicompressor-2.4.8.jar" --type=js --disable-optimizations --nomunge iscroll.js >> mobile.js
java -jar "../tools/yuicompressor-2.4.8.jar" --type=js --disable-optimizations --nomunge chasecar.lib.js | sed "s/{VER}/$VERSION/" >> mobile.js
java -jar "../tools/yuicompressor-2.4.8.jar" --type=js --disable-optimizations --nomunge nite-overlay.js >> mobile.js
java -jar "../tools/yuicompressor-2.4.8.jar" --type=js --disable-optimizations --nomunge tracker.js >> mobile.js
java -jar "../tools/yuicompressor-2.4.8.jar" --type=js --disable-optimizations --nomunge app.js >> mobile.js

Expand Down
Binary file added css/fullscreen.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 added css/fullscreen@2x.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 added css/images/layers-2x.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 added css/images/layers.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 added css/images/marker-icon-2x.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 added css/images/marker-icon.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 added css/images/marker-shadow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading