Commit Graph

171 Commits

Author SHA1 Message Date
John Wiseman
632fb472e9 Updated to latest version of shadow-cljs and winston. 2020-10-12 13:48:13 -07:00
John Wiseman
0b0217976c pelias-api isn't a required config option. 2020-10-12 13:29:05 -07:00
John Wiseman
6d99f5fa18 Install java in gitlab CI. 2020-10-12 13:22:34 -07:00
John Wiseman
236d392980 Added .gitlab-ci.yml. 2020-10-12 13:12:24 -07:00
John Wiseman
2787f8959f Added validate-config tests. 2020-10-12 12:51:23 -07:00
John Wiseman
f601f272d4 Tests pass. 2020-10-12 12:19:31 -07:00
John Wiseman
c72d24dcbf Cleaning up tests. This is just embarrassing. 2020-10-12 11:48:23 -07:00
John Wiseman
c3c384d030 Added --stats which (for now) just prints the number of twitter followers.
Refactored config handling a bit.
2020-09-28 17:05:43 -07:00
John Wiseman
0f07b705c1 Fixed issue where callsign was redundantly tweeted. 2020-09-26 22:09:56 -07:00
John Wiseman
05b96b612b Strip leading and trailing whitespace from registration, squawk, callsign. 2020-09-26 17:36:45 -07:00
John Wiseman
2321468260 Merge branch 'add-rapidapi-support' into 'master'
add rapidapi support

Closes #30

See merge request jjwiseman/advisory-circular!5
2020-09-23 21:38:36 +00:00
John Wiseman
80aa4486cc tar1090.adsbexchange.com -> globe.adsbexchange.com. 2020-09-21 22:35:03 -07:00
John Wiseman
71922dd369 Use globe.adsbexchange.com instead of tar1090. 2020-09-19 23:18:15 -07:00
Michael Crenshaw
e0b021fe5b Apply 1 suggestion(s) to 1 file(s) 2020-09-15 18:43:34 +00:00
Michael Crenshaw
0b4a825917 add rapidapi support 2020-09-15 18:14:37 +00:00
John Wiseman
a78ef85b3e Merge branch 'patch-2' into 'master'
Update README.md

See merge request jjwiseman/advisory-circular!3
2020-09-13 21:45:34 +00:00
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
Andrew Beals
97d162f7ce Update README.md 2020-09-13 00:47:59 +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