Skip to content

Commit 672c3a4

Browse files
authored
Merge pull request #32 from projecthorus/testing
Move to Leaflet
2 parents 84a6b49 + 92d6a5f commit 672c3a4

Some content is hidden

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

48 files changed

+4098
-1620
lines changed

β€Ž.htaccessβ€Ž

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
<IfModule mod_deflate.c>
2-
SetOutputFilter DEFLATE
2+
# Compress HTML, CSS, JavaScript, Text, XML and fonts
3+
AddOutputFilterByType DEFLATE application/javascript
4+
AddOutputFilterByType DEFLATE application/rss+xml
5+
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
6+
AddOutputFilterByType DEFLATE application/x-font
7+
AddOutputFilterByType DEFLATE application/x-font-opentype
8+
AddOutputFilterByType DEFLATE application/x-font-otf
9+
AddOutputFilterByType DEFLATE application/x-font-truetype
10+
AddOutputFilterByType DEFLATE application/x-font-ttf
11+
AddOutputFilterByType DEFLATE application/x-javascript
12+
AddOutputFilterByType DEFLATE application/xhtml+xml
13+
AddOutputFilterByType DEFLATE application/xml
14+
AddOutputFilterByType DEFLATE font/opentype
15+
AddOutputFilterByType DEFLATE font/otf
16+
AddOutputFilterByType DEFLATE font/ttf
17+
AddOutputFilterByType DEFLATE image/svg+xml
18+
AddOutputFilterByType DEFLATE image/x-icon
19+
AddOutputFilterByType DEFLATE text/css
20+
AddOutputFilterByType DEFLATE text/html
21+
AddOutputFilterByType DEFLATE text/javascript
22+
AddOutputFilterByType DEFLATE text/plain
23+
AddOutputFilterByType DEFLATE text/xml
24+
25+
# Remove browser bugs (only needed for ancient browsers)
26+
BrowserMatch ^Mozilla/4 gzip-only-text/html
27+
BrowserMatch ^Mozilla/4\.0[678] no-gzip
28+
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
29+
Header append Vary User-Agent
330
</IfModule>
431

532
AddType text/cache-manifest .manifest

β€ŽREADME.mdβ€Ž

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,30 @@
1-
# SondeHub Tracker
1+
# SondeHub Tracker Beta (leaflet edition)
22

33
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.
44

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

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

1010
## Features
1111

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

2120
### Geo position
2221

23-
Available only on mobile devices.
24-
2522
The app will ask for permission to use your location.
2623
This is required for some of the features. It is **important** to note that
2724
your location will not be made available or send to anyone. Unless, you enable
28-
the `chase car mode`, which will periodically upload it to habitat. _The app
25+
the `chase car mode`, which will periodically upload it to SondeHub. _The app
2926
will always start with `chase car mode` disabled._
3027

31-
### Offline storage
32-
33-
The app will ask to use offline storage. You will need to accept, in order to
34-
use the offline capabilities. The app will cache all files making it available
35-
even when there is no network coverage. Latest position data will also be stored
36-
and used when you start up with no network. When you get back online, the app
37-
will fetch the latest position data.
38-
3928
## Browser requirements
4029

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

49-
5038
## Installation
5139

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

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

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

6853

6954

β€Žbuild.shβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ cat jquery* >> mobile.js
2020
VERSION="`git rev-parse --short HEAD`"
2121

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

β€Žcss/fullscreen.pngβ€Ž

299 Bytes
Loading

β€Žcss/[email protected]β€Ž

420 Bytes
Loading

β€Žcss/images/layers-2x.pngβ€Ž

1.23 KB
Loading

β€Žcss/images/layers.pngβ€Ž

696 Bytes
Loading
2.41 KB
Loading

β€Žcss/images/marker-icon.pngβ€Ž

1.43 KB
Loading

β€Žcss/images/marker-shadow.pngβ€Ž

618 Bytes
Loading

0 commit comments

Comments
Β (0)