Commit Graph

1595 Commits

Author SHA1 Message Date
Oliver Jowett c890bb6125
Merge pull request #67 from neheb/st
Make more functions static
2020-08-02 22:42:07 -05:00
Oliver Jowett 5b964f67b8
Merge pull request #66 from jwbernin/master
Add commented-out HTTPS configuration section
2020-08-02 22:38:32 -05:00
Oliver Jowett 92889d3497
Merge pull request #62 from flyingstar16/master
Load lighttpd alias module before using alias.url
2020-08-02 22:36:37 -05:00
eric1tran f2f19d49fb
Update openlayers to v6.3.1 (#73)
* Update openlayers to v6.3.1 and get existing source working with new version

* Organize ol source files a bit

Co-authored-by: erictran <eric.tran@flightaware.com>
2020-07-21 11:32:39 -05:00
biggezy 0dae3e4b4a
Allow custom selection of columns in aircraft table (#72)
* Front-end/styling of window with checkbox options to customize plane table columns

* Toggle checkbox functionality with persistence

* Toggle correct columns for each checkbox

* Add several more column options and fix up logic to show/hide columns

* Functional select/deselect all checkboxes; Needs optimization

* Set overflow-x to scroll on aircraft table

* Select Columns button styling

* Refactor toggleAllColumns()

* Separate legend from table scrolling

* Move aircraft table styling into css file

* Spacing

Co-authored-by: erictran <eric.tran@flightaware.com>
2020-07-21 10:00:32 -05:00
Eric Tran 74ef2e92bd Fix some html syntax 2020-07-16 16:56:00 -05:00
Eric Tran bce7e35e0e Display registration number in aircraft table if ident is not present 2020-07-02 10:43:23 -05:00
Rosen Penev 0df937e9c6
fix -Wmissing-declaration warnings
This should result in a smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-29 16:42:21 -07:00
John Berninger ae12414eed Change SSL certificate and chain location example 2020-06-16 08:17:26 -04:00
John Berninger d3658b9fe6 Add mod_openssl module to avoid warning 2020-06-14 16:33:11 -04:00
John Berninger ba8f3e6af0 Add commented-out HTTPS configuration section
In recent versions of Firefox and (especially) Chrome, ".dev" domains are
force-redirected to a secure connection (HTTPS) instead of HTTP. Not
supporting an HTTPS connection makes for a bad user experience, so we want
to make enabling SSL support easy. Since we don't issue certificates, this
section is commented out by default, and it will require modification.

This is done primarily for PiAware, though it is applicable to just the
Dump1090 project.
2020-06-14 16:16:55 -04:00
Oliver Jowett 651d6a4e0d Build with -fno-common to match GCC 10 behaviour on older
compiler versions, so that linkage problems are more visible.
2020-06-06 22:02:43 +08:00
Oliver Jowett 0793c64ee8 Clean up linkage of struct Modes to actually make sense.
(how did this work before? But it's been unchanged since at least
2013..)

Maybe fixes #65
2020-06-06 21:52:04 +08:00
Eric Tran 79c9877232 Add more ADS-B Category Icon mappings 2020-06-05 14:39:59 +00:00
Oliver Jowett 8879bcac86 Change 2-bit correction option to "--fix-2bit"
--fix --fix was a poor choice for this, as some existing configs
happened to specify --fix twice but only expected 1-bit correction.
So move 2-bit correction to a separate option.

"--fix" or "--fix --fix" now gives 1-bit correction.
"--fix-2bit" or "--fix --fix-2bit" or "--fix-2bit --fix" gives 2-bit correction.

Version bump to 3.8.2~dev
2020-05-02 14:55:36 +08:00
Claudio Moretti 0ff1275bf9 Comment-out the alias module load: disabled by default
Standard lighttpd will refuse to start if modules are loaded more than
once. Turn the module addition into a comment, explain why it's disabled
by default and in which cases you should enable it.
2020-04-03 14:26:25 +02:00
Claudio Moretti f1507d8f2e Load lighttpd alias module before using alias.url
On some instances of lighttpd, like the one that comes with PiHole, the
alias module is not loaded by default. This makes the configuration of
PiAware's lighttpd not work (see e.g.
https://discourse.pi-hole.net/t/pi-hole-and-piaware-lighttpd/9611).

This way we ensure that the alias module is loaded even on non-default
lighttpd configurations.
2020-04-03 11:50:51 +02:00
Eric Tran d6b8065c3b Release 3.8.1 2020-03-19 14:21:17 +00:00
Eric Tran 4241a9f1a0 Update changelog for 3.8.1 2020-03-19 14:20:22 +00:00
Oliver Jowett aa8f3b3c27 Bump script cache bust version 2020-03-17 15:24:51 +08:00
Eric Tran 2efbf20177 Merge branch 'range_rings' into dev 2020-03-03 16:21:41 +00:00
Eric Tran a273f72246 Merge branch 'view_toggle_fix' into dev 2020-03-03 16:20:34 +00:00
Eric Tran bfc45dc81d Handle cases where location is not set 2020-03-02 20:48:45 +00:00
Eric Tran 888e7de16d Text formatting 2020-03-02 19:57:28 +00:00
Eric Tran f13b96dc6b Refactor and reset range rings properly 2020-03-02 19:19:57 +00:00
Eric Tran 8bb95e9956 Put range ring initialization work into a function and populate text fields with currently set values 2020-03-02 17:40:42 +00:00
Eric Tran 08a326eb7c JS code to handle custom range rings in SkyAware 2020-03-01 17:20:53 +00:00
Eric Tran c71c39b0d7 Customizable range rings UI 2020-02-28 20:54:22 +00:00
Eric Tran 263e03f7c2 Add last position age to aircraft detail pane that was removed 2020-02-20 22:27:12 +00:00
Eric Tran 9406fa7a2e Fix js error when setting ShowFlags=false 2020-02-20 21:55:16 +00:00
Eric Tran 070bc9f23c Don't initalize sorting if "Group By Data Type" is checked. Also de-select the box and save state if another sort method is chosen 2020-02-20 20:16:14 +00:00
Eric Tran e5a87e91b7 Fix issue with "Group By Data Type" and "All Aircraft Tails" toggle views were not persisting across browser refreshes 2020-02-20 18:51:10 +00:00
Eric Tran dfbe32559e Adjust width for PiAware SkyAware banner in css file 2020-01-30 16:57:11 +00:00
Eric Tran 439f615552 3.8.1~dev 2020-01-30 15:16:44 +00:00
Oliver Jowett c3541bcbea Release 3.8.0 2019-12-30 22:16:12 +08:00
Oliver Jowett 940c8e47ea Update changelog for 3.8.0 2019-12-16 11:05:07 -06:00
Oliver Jowett 81e6f680ee Update aircraft db to 20191216 2019-12-16 10:22:46 -06:00
Oliver Jowett d471249f17 Track ADS-B version separately for direct ADS-B, TIS-B, ADS-R
(both because direct vs ground station might be different, and
to avoid characterizing ADS-R or TIS-B aircraft as being DO-260B
when they're not)
2019-12-12 09:21:26 -06:00
Oliver Jowett 886b0d3f81 Treat ADS-R as a separate source type (higher priority than TIS-B, lower priority than direct ADS-B) 2019-12-11 12:43:19 -06:00
Jade Michael Thornton 404ac5dced
Update style.css hide scroll bar when not needed (#26)
Update style.css hide scroll bar when not needed
2019-12-11 09:55:24 -06:00
Jade Michael Thornton 4a21198081
fix problems with info box (#51)
fix problems with info box
2019-12-09 13:14:05 -06:00
byronbest f45e657583
no need to ease when not visible 2019-12-09 09:55:09 -08:00
byronbest 497776c642
animate only if already visible 2019-12-09 09:32:03 -08:00
byronbest 0878bd2ddc
change more indents to tab 2019-12-05 17:13:17 -08:00
byronbest 1a0ba50c4a
fadeOut when marker leaves canvas
also move fadeIn to position at new marker before showing infoBox
2019-12-05 17:06:18 -08:00
Oliver Jowett 201cb2f466
Merge pull request #55 from wiedehopf/cpr_fix
CPR / Position update fix / improvement
2019-12-04 18:36:07 +08:00
Oliver Jowett 105ec2098c "unreliable_tracks" -> "unreliable" in stats json as suggested in #56 2019-12-03 14:15:54 +08:00
Oliver Jowett aa59af32aa
Merge pull request #56 from toofishes/patch-1
Fix invalid JSON after addition of unreliable_tracks
2019-12-03 14:07:29 +08:00
Dan McGee 21743b03b7
Fix invalid JSON after addition of unreliable_tracks
When `unreliable_tracks` was added to the JSON output, the trailing `}` after `single_message` should likely have been removed.

Side note: should this just be `unreliable` since it is nested inside `tracks`? `all` and `single_message` don't have the `tracks` suffix.
2019-12-02 20:49:33 -06:00
Oliver Jowett f7123c41e5 When trying to correct a DF11 that had bits set in the top 17 bits of the
residual, use the full 24-bit syndrome.

Previously this would mask off the low 7 bits, which isn't particularly
great - it doesn't really make sense in that it implies a somewhat
random IID value, and it would actually only correct 20 possible bit
errors out of the 51 possible errors, 16 of which were errors in
the top 16 bits of the CRC itself. It is also risky as it will accept
a larger number of possible garbage messages as the lower 7 bits may take
any value.

Instead, use the full syndrome, assuming that the damaged message
had IID=0 - which seems more likely than assuming a random IID, since
IID=0 is used for acquisition squitters and should be arriving regularly.

The reduced rate of corrections for DF11 messages shouldn't have
much of an impact as DF11s carry very little data themselves - they
are mainly used to acquire the aircraft address. Once one good message
for an aircraft turns up (which would require IID=0 anyway before we'd
accept it) it doesn't really matter if we discard more damaged messages,
as they're not contributing to anything useful in the aircraft state
beyond air/ground status, which is also carried in many other messages.
2019-12-02 21:27:18 +08:00