Commit graph

527 commits

Author SHA1 Message Date
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
Oliver Jowett 1f06abf67d WIP webmap cleanup 2015-01-05 23:20:03 +00:00
Oliver Jowett 99bca13844 Release changelog. 2015-01-04 20:23:30 +00:00
Oliver Jowett 43ec58c78e Remove dead tracking code related to the removed PlanePlotter feed. 2015-01-04 20:09:38 +00:00
Oliver Jowett 76474f58ab Fix warnings. Add -Werror so they break the build in future. 2015-01-04 20:08:33 +00:00
Oliver Jowett 14a8e71629 Version bump to reflect upstream version. 2015-01-04 12:32:36 +00:00
Oliver Jowett 66c088fa70 Release changelog. 2015-01-02 22:53:58 +00:00
Oliver Jowett 69532b3c53 Center the webmap on the receiver location.
Mark config.js as a conffile, so user changes won't get overwritten.
2015-01-02 22:48:27 +00:00
Oliver Jowett 85eee61358 Oops, one unsaved file. 2015-01-02 22:34:35 +00:00
Oliver Jowett 07bc762055 Notice if we lose the RTLSDR device and reconnect.
Fix some of the more glaring pthread bugs.
2015-01-02 22:29:29 +00:00
Oliver Jowett 5dd1c39710 Release changelog. 2014-12-30 17:09:44 +00:00
Oliver Jowett 9d0df29dbb Fix postinst handling of LOG_DECODED_MESSAGES. 2014-12-30 17:08:55 +00:00
Oliver Jowett a9ca260e76 Add support for LOG_DECODED_MESSAGES option to log all messages (disables --quiet). 2014-12-30 16:40:15 +00:00
Oliver Jowett 6e3238d303 Release changelog. 2014-12-30 00:01:58 +00:00
Oliver Jowett 9356c899ad Add Provides: fatsv-data-source 2014-12-29 22:59:47 +00:00
Oliver Jowett 9a1b4f3469 Update for the new repository signing setup 2014-12-28 17:53:13 +00:00
Oliver Jowett 9e0800e00a add pbuilder config notes 2014-12-27 22:35:57 +00:00
Oliver Jowett 0fa383f633 Release changelog. 2014-12-27 22:24:51 +00:00
Oliver Jowett 2aa37f06da Link to github from the webmap. 2014-12-27 21:40:18 +00:00
Oliver Jowett 2db9d62c1c Warn if --modeac is used together with --oversample. 2014-12-27 21:25:32 +00:00
Oliver Jowett 727a59e8eb Oversampling is now less scary. 2014-12-27 21:22:43 +00:00
Oliver Jowett 58dfbdcb6b Add support for controlling the accuracy of the receiver location
written in the JSON metadata used by the webmap.
2014-12-27 20:52:56 +00:00
Oliver Jowett bbcfbb8279 Changelog update. 2014-12-27 20:21:36 +00:00
Oliver Jowett 4cc0094781 Remove copies of headers etc that were only needed by Windows builds. 2014-12-27 20:19:05 +00:00
Oliver Jowett 63303b4d07 Remove legacy makefiles / startup scripts that are unused in the Debian package. 2014-12-27 20:17:53 +00:00
Oliver Jowett fc45eded0b Removing COAA/PlanePlotter stuff (+ binary-only object file) that I can't support or test. 2014-12-27 20:16:56 +00:00
Oliver Jowett 6d61d62a66 Pruning windows-related stuff that I can't build/test. 2014-12-27 20:15:08 +00:00
Oliver Jowett 48986c48cc Remove half-implemented --no-decode option. 2014-12-27 20:11:10 +00:00
Oliver Jowett e2153eccde Agh. another typo. 2014-12-27 19:34:24 +00:00
Oliver Jowett 478122e7a3 more docs 2014-12-27 19:29:54 +00:00
Oliver Jowett fbed55dee7 Doc updates. 2014-12-27 19:25:56 +00:00
Oliver Jowett ff027f009a Release changelog. 2014-12-10 21:58:26 +00:00
Oliver Jowett f04c4d5dde Fix webmap to look for site location under the right names. 2014-12-10 21:34:05 +00:00
Oliver Jowett 1cdfe8db27 Rearrange validation so that the user only ever sees errors
*after* providing input.

In particular if the existing config does not validate then we
should just ensure that the problematic question is displayed
without a confusing error message beforehand; the error should
only appear if the newly entered response doesn't validate.
2014-12-10 21:20:31 +00:00
Oliver Jowett 3af0fb51b5 Raspbian's dpkg-changelog doesn't understand -S, use some sed magic instead. 2014-12-10 21:07:45 +00:00
Oliver Jowett 55ecde9d53 Add input validation to most of the config questions.
> Some people, when confronted with a problem, think "I know, I'll use regular expressions."
> Now they have two problems.

Dongle "device index" actually accepts serial numbers too, document that.
2014-12-10 20:26:51 +00:00
Oliver Jowett 9fa09e0e92 receiver.json support, internal webserver cleanup.
Add data/receiver.json (generated once) and support for it in script.js.

Internal webserver rearrangement to support multiple json files.
2014-12-10 17:05:22 +00:00