Commit graph

223 commits

Author SHA1 Message Date
Oliver Jowett c144507471 Actually serve data on 8080, not just a redirect.
(This is not ideal but plenty of people seem to be confused by the
redirect and how it interacts with NAT)
2016-09-22 16:49:45 +01:00
Oliver Jowett 802f1f9404 Add a redirect for map URLs with no trailing slash 2016-09-22 16:49:23 +01:00
Oliver Jowett cfb02c1a7c Try to avoid conflicting with other lighttpd config that
touches the stat cache settings.
2016-09-22 16:45:28 +01:00
Oliver Jowett 2a2c1a805e Changelog updates. 2016-09-20 12:22:11 +01:00
Oliver Jowett bef563b8a3 More hacking on the Makefile to get it working nicely on both jessie + wheezy. 2016-09-16 17:16:28 +01:00
Oliver Jowett d3d0912f03 Merge branch 'master' into dev 2016-09-14 17:38:02 +01:00
Oliver Jowett c0de65fe21 Bump the version to 3.1.0~dev 2016-09-14 17:36:44 +01:00
Oliver Jowett ab8cc6be58 Release 3.0.5 (no changes) 2016-08-31 13:03:08 +01:00
Oliver Jowett 56397d6d78 Release 3.0.3 2016-08-01 12:24:09 +01:00
Oliver Jowett e136f30e32 Release 3.0.2 2016-07-27 17:13:28 +01:00
Oliver Jowett 1887386149 Version bump. 2016-07-25 13:07:39 +01:00
Oliver Jowett b0452ab556 Preparing for 3.0.1 release. 2016-07-15 13:05:21 +01:00
Oliver Jowett 4c6f0f156b Seems to work better on wheezy if we do a full lighttpd restart in postinst. 2016-07-12 18:58:42 +01:00
Oliver Jowett ebd066d883 wheezy packaging and initscript 2016-07-11 18:49:52 +01:00
Oliver Jowett 238b9d9e22 Plan C: Back to dynamic linking! We'll build a separate wheezy package. 2016-07-11 18:46:28 +01:00
Oliver Jowett 1272f6ba0a We also need the module blacklist. 2016-07-11 16:58:01 +01:00
Oliver Jowett 0aa404b928 Plan B: include a copy of librtlsdr's udev rules directly. 2016-07-11 13:24:21 +01:00
Oliver Jowett 29dd58c2f8 Add a Recommends: for librtlsdr0 to pick up the udev rules.
This was an implicitly added shared library dependency previously,
but static linking means that dependency is no longer present.
2016-07-11 12:46:11 +01:00
Oliver Jowett 0dde884ac7 Turn on static linking of librtlsdr
(an experiment to see if we can use the same packages on jessie and wheezy)
2016-07-11 11:38:43 +01:00
Oliver Jowett d6e42290de Add a transitional dump1090 package to help upgrades. 2016-07-11 11:03:51 +01:00
Oliver Jowett de94839339 Add a CORS header to data json files. 2016-07-10 15:26:44 +01:00
Oliver Jowett 1cb3e81989 Remove old cron stuff. 2016-07-10 15:26:33 +01:00
Oliver Jowett bf2b8efee6 Merge branch 'upstream' 2016-07-10 14:59:53 +01:00
Oliver Jowett b2aaa23984 Remove the last vestiges of the update-aircraft-db cronjob. 2016-07-10 12:22:32 +01:00
Oliver Jowett ad3d0e4d74 Upgrade the lighttpd dependency to Recommends 2016-07-10 12:13:49 +01:00
Oliver Jowett 9012b46ee1 Make the lighttpd enable/disable a bit more automatic. 2016-07-10 12:12:09 +01:00
Oliver Jowett ebfa6f63be Strip out the config options for the internal webserver. 2016-07-10 11:58:46 +01:00
Oliver Jowett 9a10ef4886 Remove a stray "fi" in the initscript. Should fix #127. 2016-07-10 11:41:02 +01:00
Oliver Jowett a2d5d4abf7 Merge branch 'upstream' 2016-07-05 22:30:31 +01:00
Oliver Jowett 6e1372708c Switch to OL 3.17.1; include a copy locally. 2016-07-05 22:07:26 +01:00
Oliver Jowett 2e68341106 Layer switching support, ChartBundle, Bing maps. 2016-07-02 21:12:31 +01:00
Oliver Jowett b1acfcf26a Switch to latest stable jquery/jqueryui. Include a local copy. 2016-07-02 11:00:27 +01:00
Oliver Jowett d9408f96d3 Version bump. 2016-06-06 00:25:57 +01:00
Oliver Jowett 88cbd0acf7 Tweak the defaults a little. 2016-05-31 13:34:28 +01:00
Oliver Jowett e175e6593d piaware -> PiAware 2016-05-31 13:30:24 +01:00
Oliver Jowett 43e380912d Merge branch 'upstream' 2016-05-31 12:58:44 +01:00
Oliver Jowett 56e80581f1 Remove --phase-enhance from the initscript. 2016-05-31 12:25:00 +01:00
Oliver Jowett 8f82e61f17 Remove the 2MHz demodulator.
Now that the 2.4MHz demodulator does 3A/C there's no real reason
to keep the old demodulator around.
2016-05-31 12:23:58 +01:00
Oliver Jowett d419b62a65 Always use phase enhancement; silently ignore --phase-enhance if given. 2016-05-31 11:47:57 +01:00
Oliver Jowett 824954aeca Call it 3.0~flightfeeder for consistency. 2016-04-12 18:20:45 +01:00
Oliver Jowett 2b292ca224 Version bump to 3.0 for FF image. 2016-04-11 17:55:30 +01:00
Oliver Jowett 7987598a72 Listen on port 8080 and redirect to port 80 for backwards compatibility. 2016-04-11 11:58:51 +01:00
Oliver Jowett 5f237db650 Version bump. 2016-03-24 22:56:00 +00:00
Oliver Jowett bbb0e4553b Static link against librtlsdr. 2016-02-29 14:20:34 +00:00
Oliver Jowett b19c1f9dd2 Merge branch 'upstream' 2016-02-17 19:42:39 +00:00
Oliver Jowett ad3e4facb4 Merge pull request #102 from rgeissert/debian-copyright
Debian copyright
2016-02-16 21:20:38 +00:00
Raphael Geissert 008c1ee51b Add copyright information about markers.js 2016-02-16 21:35:13 +01:00
Raphael Geissert 7e317eac23 Add copyright information about clock_nanosleep 2016-02-16 21:05:14 +01:00
Raphael Geissert 2ea2181f30 Add copyright information about clock_gettime 2016-02-16 21:03:57 +01:00
Raphael Geissert 5b746d1414 Add copyright information about the flags-tiny pngs 2016-02-16 20:58:22 +01:00
Raphael Geissert 2dfd1320a6 Add copyright information about coolclock.js 2016-02-16 20:43:36 +01:00
Raphael Geissert 1c1b496a7a Remove duplicate crc.h copyright entry 2016-02-16 20:25:40 +01:00
Raphael Geissert ce38ddf127 Remove references to --aggressive from the maint scripts
Commit 577fe9b removed the debconf template for the option but the
maintainer scripts were still referencing it. This prevented the package
configuration from working.
2016-02-16 19:48:43 +01:00
Oliver Jowett 108b402918 Directly include the VRS-derived json db since the underlying DB
is not being updated any more.
2016-02-16 10:33:18 +00:00
Oliver Jowett 577fe9b52e Remove --aggressive from config options as the standard build will ignore it. 2016-02-16 10:12:22 +00:00
Oliver Jowett 20effc8cb8 Turn off --stats-every 2016-02-07 19:22:16 +00:00
Oliver Jowett c510adbc94 $a is a literal sed command, avoid shell var expansion. 2016-01-25 15:23:59 +00:00
Oliver Jowett f9aa0398e5 Avoid creating a config file with all blank values if postinst configure fails. 2016-01-25 15:16:41 +00:00
Oliver Jowett 4711eaf741 Remove reference to net-fatsv-port in postinst.
Fixes #92.
2016-01-25 15:13:51 +00:00
Oliver Jowett cd86032be2 Fix return value sense of is_port_list
Probably fixes #91
2016-01-24 22:11:48 +00:00
Oliver Jowett 2b466535de Support multiple listening ports per listener type.
Beast input defaults to listening on both 30004 and 30104.
Drop the FATSV listener entirely (use faup1090 for that)
Ignore --net-beast.
2016-01-24 18:47:58 +00:00
Oliver Jowett b433a521bf Start trimming dump1090-mutability down for use in piaware. 2016-01-13 00:00:08 +00:00
Dan Schaper 72e511594d Add nginx configs to packaging. 2015-10-25 10:23:51 -07:00
Dan Schaper a6cb388eef Add nginx config file 2015-10-25 09:20:22 -07:00
Oliver Jowett 05c8bc5d9f Merge pull request #45 from saiarcot895/add-curl-recommends
Add curl as recommends.
2015-08-31 22:59:52 +01:00
Raphael Geissert 5eaa62d59c Use invoke-rc.d to restart lighttpd as per Debian policy 2015-08-08 13:47:05 +02:00
Oliver Jowett 12a7d45e75 Mlat synthetic message detection.
Notice synthetic mlat messages by looking for messages with a magic
timestamp value. If they arrive, tag the derived data as mlat-derived.

Don't include mlat-derived output in FATSV output to avoid loops.
2015-06-28 20:04:09 +01:00
Oliver Jowett 4f861f653a Track age of heading/speed/altitude; use this when deciding what to emit in FATSV format. 2015-06-15 23:13:04 +01:00
Oliver Jowett f58ff14d7c Fix queueing/resending very old Mode A/C messages.
Fixes #47.
2015-06-07 23:00:24 +01:00
Saikrishna Arcot 05469fbff8
Add curl as recommends. 2015-05-04 11:11:06 -05:00
Oliver Jowett e9378fb1c5 Fix endian issues in timestamp input/output.
This affected Beast input/output, and AVR output in --mlat mode.

Works on a little-endian host, should work on a big-endian host but
I don't have one to test with.

Probably fixes #44.
2015-04-18 11:05:12 +01:00
Oliver Jowett 15ea5ba3da Rearrangements to the receive thread.
Magnitude conversion now happens immediately when sample data is
received, so there is no risk of newly received data clobbering old
data under CPU overload.
2015-04-09 18:51:31 +01:00
Oliver Jowett e6c81251bf Fix timestamp correction when sample blocks are dropped.
(Fixes #43)
2015-04-08 19:13:40 +01:00
Oliver Jowett 6148a05cef Raspbian doesn't do ${python:Depends} 2015-02-25 13:51:47 +00:00
Oliver Jowett 89ac9ad107 Mark this version as ~dev. 2015-02-25 13:17:20 +00:00
Oliver Jowett 60eab2284f Package changes to support the aircraft DB. 2015-02-25 13:16:54 +00:00
Oliver Jowett 87bd16812a Add formatter.js to conffiles. 2015-02-22 17:03:47 +00:00
Oliver Jowett 7fbdde156a Change map icon based on aircraft category.
This only has different icons for the "rotorcraft" and "light"
categories at the moment - all others are the default plane icon
at different scales.
2015-02-22 17:02:23 +00:00
Oliver Jowett ab8c4db85b Fix edge cases when specifying the user to run as.
* check the username fits the format expected by adduser;
 * don't allow root;
 * if the user exists, don't try to create it; usually, this is
   harmless, but it fails if the user exists with a UID outside the
   normal range for system users.

Fixes #24.
2015-02-19 22:41:39 +00:00
Oliver Jowett f391bf4b22 Release changelog. 2015-02-19 19:41:44 +00:00
Oliver Jowett f6d2f3dfff More CPR stats. 2015-02-19 18:53:11 +00:00
Oliver Jowett 46ad97da15 More changelogging. 2015-02-19 12:11:30 +00:00
Oliver Jowett 65e7d32390 Mark all HTML/Javascript as conffiles.
Closes #15.
2015-02-19 12:05:53 +00:00
Oliver Jowett 8fa7209aa1 Changelog updates for 1.14. 2015-02-19 12:02:45 +00:00
Oliver Jowett aee837c903 Start with --nicelevel -5 to reduce the chance of dropped buffers, except in --net-only mode.
Closes #19.
2015-02-11 21:20:31 +00:00
Oliver Jowett f9ed7e4a97 More time_t -> milliseconds conversions.
This lets us support fractional net flush times among other things, which is handy.
2015-02-10 22:24:22 +00:00
Oliver Jowett 07a39331c9 Changelog mostly to bump the version to reduce confusion. 2015-02-08 23:11:50 +00:00
Oliver Jowett b313834338 Make the is_number regex accept numbers beginning with -0
Also ends up simpler, too - originally I was trying to avoid accepting
e.g. "+0" or "-0" but that's not really a big deal.

Fixes #14
2015-02-08 22:44:02 +00:00
Oliver Jowett 02f07ac7bf Release changelog. 2015-01-25 16:45:05 +00:00
Oliver Jowett 4b0bc4cee9 Make 2.4MHz sampling the default for new installs. 2015-01-25 16:11:34 +00:00
Oliver Jowett 09b6b3aa8c Fix some lintian warnings. 2015-01-24 01:08:05 +00:00
Oliver Jowett c1ac4d1036 Update GPL coverage. 2015-01-24 01:04:45 +00:00
Oliver Jowett 5ac90e30a8 Changelog. 2015-01-23 21:26:57 +00:00
Oliver Jowett af3eb3df2b Move to a simpler versioning scheme (the one derived from upstream
is going to break the ordering that Debian expects very soon).

When building from source not via debian/rules, derive a version from
git describe.
2015-01-22 13:19:15 +00:00
Oliver Jowett e02a2cdd44 GPL. 2015-01-20 16:49:01 +00:00
Oliver Jowett 721412dc9b Changelog. 2015-01-19 23:29:07 +00:00
Oliver Jowett 881cb8167d Release changelog. 2015-01-17 21:04:10 +00:00
Oliver Jowett 971e5754ff Try to work around a libusb crash on exit after SIGINT. 2015-01-17 19:23:57 +00:00
Oliver Jowett d1f274d469 Avoid a (rare) divide-by-zero crash in 2MHz --phase-enhance. 2015-01-17 18:26:06 +00:00
Oliver Jowett 4a66a31839 Changelog. 2015-01-17 12:31:52 +00:00