Oliver Jowett
b1bfb4d520
Rationalization of JSON output. Pass actual URL path to URL handler.
...
(cherry picked from commit becce8d69a6e6cee38d4fdb78b5a4e25d570baea)
2015-01-16 20:30:41 +00:00
Oliver Jowett
63fb121d1c
Status messages in HTTP responses.
...
(cherry picked from commit 820528b4ad7f3963199718205724cdf3ac97b113)
2015-01-16 20:28:36 +00:00
Oliver Jowett
10c372f528
Display stats on exit in --net-only mode.
...
(cherry picked from commit ec252d77deb2b345a8561cba13965d5ef8ab0a83)
2015-01-16 20:27:48 +00:00
Oliver Jowett
e701f883b3
Do tuner gain setting properly.
...
(cherry picked from commit c06a537c8143af8e363fde677043053cefff1612)
2015-01-16 20:25:45 +00:00
Oliver Jowett
e54b290601
Release changelog.
2015-01-14 01:17:57 +00:00
Oliver Jowett
62ec7796d0
Require that the JSON refresh interval is at least 1, as it is used
...
to control the webmap refresh rate even if JSON files are not being written.
2015-01-14 01:15:54 +00:00
Oliver Jowett
dc92cfb927
Restart lighttpd on package upgrade if we changed its config files.
2015-01-14 00:34:06 +00:00
Oliver Jowett
371f6bb5d4
Changelog.
2015-01-13 22:02:39 +00:00
Oliver Jowett
72bfc31458
Display message rate (30 sec average) on the webmap.
...
(cherry picked from commit 848af78be685c6e2a26d0b30e9f385696201a2c4)
2015-01-13 22:01:53 +00:00
Oliver Jowett
41d8a79041
Changelog.
2015-01-13 21:53:48 +00:00
Oliver Jowett
fefce7b4bd
Add --max-range parameter. Use it for relative position limits, and to discard bad position results.
...
(cherry picked from commit 0d725508f78cb2fd7759efbb66b45b867d6f7722)
2015-01-13 21:53:12 +00:00
Oliver Jowett
8b56cd104f
Changelog.
2015-01-13 21:41:23 +00:00
Oliver Jowett
4c8993865e
Everything depends on dump1090.h, tell make about it.
...
(cherry picked from commit e1693ebe39a92422a0b6af56f307fc6c9288ad73)
2015-01-13 21:39:40 +00:00
Oliver Jowett
165f98a567
Fix hanging exit on control-C.
...
(cherry picked from commit e6f8283946cc3150bcba2d8b3cbab11f5d509308)
2015-01-13 21:37:45 +00:00
Oliver Jowett
2627933963
Changelog.
2015-01-12 16:31:22 +00:00
Oliver Jowett
8d0d16c30a
When sanity-checking relative CPR results, use the correct relative
...
location (which may not be the aircraft location).
I suspect this sanity check is, in fact, redundant now that the
rest of the algorithm has had some bugs fixed; it should only
produce results within half a cell by definition.
2015-01-12 16:29:24 +00:00
Oliver Jowett
583984af8a
Use floor() not trunc() in relative CPR decoding.
...
The comment saying to use trunc() is wrong; the original algorithm
is correct.
2015-01-12 16:28:10 +00:00
Oliver Jowett
bebc00c257
Fix quadrant selection for global CPR surface position decoding.
2015-01-12 16:26:05 +00:00
Oliver Jowett
e1d2af42bb
CPR relative decoding: avoid truncation when finding the fractional
...
position of the reference position within a lat/lng zone.
2015-01-12 16:16:32 +00:00
Oliver Jowett
2febe75ce7
Changelog.
2015-01-12 01:19:43 +00:00
Oliver Jowett
fa4c85eba5
Another bug found by valgrind.
2015-01-12 01:19:25 +00:00
Oliver Jowett
272efcbdc4
Fix thinko in skipping over decoded message samples.
2015-01-12 01:00:05 +00:00
Oliver Jowett
f72fc3dbee
Fix a couple of problems found by valgrind.
2015-01-12 00:56:51 +00:00
Oliver Jowett
0b5aac47c4
Change plane color if we have not seen a recent position update
...
(previously, any type of message was enough).
2015-01-11 12:15:54 +00:00
Oliver Jowett
55a10e6685
Changelog.
2015-01-11 12:12:58 +00:00
Oliver Jowett
019fd1fb06
Tweak the column widths in the infoblock slightly.
2015-01-11 12:12:28 +00:00
Oliver Jowett
0ccb5cc48e
Tweak wordwrap on the infoblock.
2015-01-11 12:02:25 +00:00
Oliver Jowett
2f2803a775
Fix UTC clock display in non-UTC timezones.
2015-01-11 11:54:17 +00:00
Oliver Jowett
35e5088529
Fix initial map centering thinkos.
2015-01-07 23:54:54 +00:00
Oliver Jowett
94f62e5b5f
Simplify sort functions, fix stable sort in the descending case.
2015-01-07 22:16:49 +00:00
Oliver Jowett
b639fb9107
Don't display a track of "0" for aircraft with no heading data.
2015-01-07 22:14:50 +00:00
Oliver Jowett
4a04e4d46d
Changelog updates.
2015-01-07 21:42:57 +00:00
Oliver Jowett
86b59e7bd9
Don't need to stash ICAO on the marker now that we're binding the event listener function directly.
2015-01-07 21:15:56 +00:00
Oliver Jowett
b4de83090d
Don't update icao in updateData, it should never change.
2015-01-07 21:15:34 +00:00
Oliver Jowett
25ff88c252
Only reset marker title if it changes.
2015-01-07 21:03:26 +00:00
Oliver Jowett
0f1c0778f2
Disable lighttpd's stat cache in the sample config.
2015-01-07 19:01:56 +00:00
Oliver Jowett
2c0fb752e1
Add the missing div used to display errors.
2015-01-07 18:44:45 +00:00
Oliver Jowett
93aedbe15c
Tell the user about AJAX errors.
...
Set AJAX options: 5s timeout, no caching.
Don't spool up a second request while the previous one is in progress.
If we repeatedly see the same receiver timestamp, warn the user that the JSON isn't being updated.
2015-01-07 18:43:08 +00:00
Oliver Jowett
97ca1c77e7
Add some notes to config.js
2015-01-07 18:41:38 +00:00
Oliver Jowett
0976d12b88
Ditch any query strings in HTTP requests before handling them,
...
to allow AJAX requests to tack on a query string to avoid caching.
2015-01-07 18:40:55 +00:00
Oliver Jowett
b2b0aa9afe
Rearrangements to clock layout.
...
Provide UTC and last-receiver-update clocks.
2015-01-07 18:39:19 +00:00
Oliver Jowett
e6a70345b5
Remove options / extension support (no plans to work on those in the current form).
2015-01-07 17:37:34 +00:00
Oliver Jowett
139ed5cb36
Turn on strict mode, fix a few errors.
2015-01-07 17:35:32 +00:00
Oliver Jowett
df79f7c989
Fix up selected vs is_selected.
2015-01-07 17:32:20 +00:00
Oliver Jowett
29509d9633
Make PlaneObject a class.
...
Rearrange internal storage of positions.
Maintain sitedist within PlaneObject, not externally.
Clean up speed/dist/etc formatting.
Show both metric & imperial values in the plane detail infobox.
2015-01-07 17:18:33 +00:00
Oliver Jowett
58e5485c2a
Stylistic cleanups. Unify special squawk data.
2015-01-07 16:32:58 +00:00
Oliver Jowett
feb8c55bac
Display the number of history points stored.
...
Rejuggle how markers are handled so that we avoid creating lots of new icons all the time.
Rearrange reaping / update times so that it is all based on timestamps from the receiver.
2015-01-07 01:19:05 +00:00
Oliver Jowett
9996b7c9fb
Zoom in a bit more by default.
2015-01-07 01:18:36 +00:00
Oliver Jowett
43d29389f2
Lots more map work, mostly around switching from "construct a big HTML string"
...
to working directly with the DOM to update the table / selected plane info.
Seems to speed things up (and deflicker them) a lot.
Also stable sorts, allow disabling the clocks, draw ground tracks in a different
color, put "last seen" info on the selected plane infobox, if position updates
are infrequent then combine them into a single estimated line so that dash
placement works properly, probably a bunch of other things..
2015-01-06 20:15:25 +00:00
Oliver Jowett
e8a62293c2
More WIP on the webmap, mostly fixing up track history.
2015-01-06 01:00:44 +00:00