Commit Graph

154 Commits

Author SHA1 Message Date
John Wiseman
c2b2ac23b0 Merge branch 'patch-3' into 'master'
Make this a site-specific install for use post-testing.

See merge request jjwiseman/advisory-circular!4
2020-09-13 21:44:43 +00:00
Andrew Beals
172581800e Make this a site-specific install for use post-testing. Require a site name. 2020-09-13 00:59:05 +00:00
John Wiseman
3264a87c02 Merge branch 'patch-1' into 'master'
add requirement for root user

See merge request jjwiseman/advisory-circular!2
2020-09-13 00:37:41 +00:00
Andrew Beals
e542b32947 add requirement for root user 2020-09-13 00:35:00 +00:00
John Wiseman
7d78e23432 Removed obsolete reference to clean-basesstion.sqb. 2020-08-14 23:27:46 -07:00
John Wiseman
324bc6898d Don't log added aircraft. 2020-08-03 09:37:31 -07:00
John Wiseman
31cfd0a893 Force ICAO hex codes to upper-case.
The V2 ADSBX API returns lower case, so let's get ready.
2020-08-02 16:21:09 -07:00
John Wiseman
3e3beb9eb4 Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-08-02 15:37:31 -07:00
John Wiseman
e2f3479a40 Temporarily log added aircraft. 2020-08-02 15:37:09 -07:00
John Wiseman
fc577cd7e4 Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-08-02 15:31:35 -07:00
John Wiseman
2f7dd3c1b9 Change minimum airport distance from 2.5 km to 3.5 km. 2020-08-02 15:31:13 -07:00
John Wiseman
46f236039e We don't use type or mlat in the API results. 2020-08-02 15:30:26 -07:00
John Wiseman
82baa4509b Add optional attribution to screenshot. 2020-07-23 20:07:21 -07:00
John Wiseman
41d00d5707 Map attribution WIP. 2020-07-23 16:54:42 -07:00
John Wiseman
d75e557ded "recent" track is now the last 5 minutes instead of 10 minutes. 2020-07-21 19:24:29 -07:00
John Wiseman
8869c130c1 Save me from replies regarding negative altitudes. 2020-07-07 12:52:20 -07:00
John Wiseman
6225efcb86 Use geometric/corrected altitude. 2020-07-05 14:11:38 -07:00
John Wiseman
9e603728e6 "Recent" history is now 10 minutes instead of 6. 2020-07-03 20:11:04 -07:00
John Wiseman
6079f238cd Removed 300 foot minimum altitude threshold. 2020-07-01 18:40:53 -07:00
John Wiseman
df8837600a Added ICAO blocklist.
See https://twitter.com/lemonodor/status/1275093309455691776
2020-06-22 10:27:28 -07:00
John Wiseman
a62fd3964e Switched from basestation.sqb to mictronics db. 2020-06-22 09:23:07 -07:00
John Wiseman
663f954410 Updated config examples. 2020-06-11 19:45:11 -07:00
John Wiseman
960700a11d Getting the README up-to-date. 2020-06-11 19:38:25 -07:00
John Wiseman
022e6b86a9 Post thumbnail photo if available from airport-data. 2020-06-11 19:34:36 -07:00
John Wiseman
d7f642cb40 Added LICENSE. 2020-06-12 02:25:56 +00:00
John Wiseman
de67d97223 Preparing to tweet aircraft photos. 2020-06-07 14:56:53 -07:00
John Wiseman
3910ed2bc7 Hit the API every 15 seconds. 2020-06-06 22:51:52 -07:00
John Wiseman
84186f5be4 --airport-geojson now generates a circle for the region of interest. 2020-06-06 22:49:58 -07:00
John Wiseman
421c43c044 Added --airport-geojson. 2020-06-03 15:57:06 -07:00
John Wiseman
9b65ea88dd Added support for airport blocklists.
E.g., this will stop the seaplane base from being considered as a
possible circle blocker:

airport:
  blocklist:
    - New York Skyports Incorporated Seaplane Base
2020-06-02 15:27:43 -07:00
John Wiseman
8b0b1abdb3 Print timing info for pelias requests. 2020-06-02 15:27:28 -07:00
John Wiseman
a45360d806 Added support for ADSBX API whitelist codes.
If an ADSBX API whitelist code is specified, pass it in the headers of
the API request.
2020-05-28 12:35:51 -07:00
John Wiseman
cafbca970e Reduce ADSBX API usage.
By default, run the bot script every 15 seconds instead of every 10.
And if there's an error, wait 30 seconds to restart instead of 10.
2020-05-28 12:35:11 -07:00
John Wiseman
2543fdc5e4 Switch to JSON from EDN. 2020-05-25 17:52:39 -07:00
John Wiseman
4ee19d1a14 Use JSON isntead of EDN for history, 10x speedup. 2020-05-25 15:39:07 -07:00
John Wiseman
7540a35af0 Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-05-25 15:37:04 -07:00
John Wiseman
80095ceed3 Added edn2json. 2020-05-25 15:36:38 -07:00
John Wiseman
7aa8959638 Added RestartSecs to service file. 2020-05-25 14:16:14 -07:00
John Wiseman
dda25dbdc4 Fixed typo. 2020-05-20 15:05:53 -07:00
John Wiseman
46b863fa36 Replace - with _ in hashtags. 2020-05-20 15:04:02 -07:00
John Wiseman
5f078b4e54 Fixed kondo warnings. 2020-05-11 16:59:36 -07:00
John Wiseman
d51ecb1014 Added clj-kondo config. 2020-05-11 16:54:24 -07:00
John Wiseman
0ae3de2a0e Slightly less verbose log messages. 2020-05-11 16:52:00 -07:00
John Wiseman
bc3f3210d7 Filter out aircraft on the ground(!). 2020-05-11 16:51:46 -07:00
John Wiseman
8e095ffd6c Use /var/lib instead of /var/run. 2020-05-11 16:51:27 -07:00
John Wiseman
919cbd7faa Filter out ground positions. 2020-05-09 14:28:04 -07:00
John Wiseman
e1da356608 Use /var/lib instead of /var/run, which is tmpfs. 2020-05-09 14:27:42 -07:00
John Wiseman
3e840690be Added altitude to geojson. 2020-05-09 13:43:05 -07:00
John Wiseman
79e675b263 Accidentally left :headless? false for debugging. 2020-05-07 18:58:35 -07:00
John Wiseman
a46d8d9245 Fixed zoom. 2020-05-07 18:58:24 -07:00