Commit Graph

183 Commits

Author SHA1 Message Date
John Wiseman b2141c9a00 Use node:15.0.1 instead of node:latest. 2020-10-29 11:37:01 -07:00
John Wiseman 5b0d8ff9f5 Added libgif-dev as test dependency. 2020-10-29 11:25:56 -07:00
John Wiseman 885255774c Added libjpeg-dev as dependency for tests. 2020-10-29 11:22:13 -07:00
John Wiseman f33207191e Update CI container dependencies.
It suddenly started getting the following error:

npm ERR! Package pangocairo was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing `pangocairo.pc'
npm ERR! to the PKG_CONFIG_PATH environment variable
npm ERR! No package 'pangocairo' found
npm ERR! gyp: Call to 'pkg-config pangocairo --cflags-only-I | sed s/-I//g' returned exit status 0 while in binding.gyp. while trying to load binding.gyp

Trying some advice from
https://github.com/Automattic/node-canvas/issues/200
2020-10-29 11:18:28 -07:00
John Wiseman dc943d135e README tweak. 2020-10-29 11:12:59 -07:00
John Wiseman 9b784526af Polygonize airport circles in geojson. Support add'l airports in config. 2020-10-28 20:46:31 -07:00
John Wiseman 214e025af7 Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-10-15 22:12:44 -07:00
John Wiseman 3a68965f11 Added --oauth flag to authorize a bot for another account. 2020-10-15 22:12:00 -07:00
John Wiseman 4b035bd50a Back off the radius-nm check. Somehow it gets set to 0 when not in config. 2020-10-12 16:02:45 -07:00
John Wiseman d5c325493e Fixed validate-config to handle planet mode. 2020-10-12 15:44:39 -07:00
John Wiseman 6a55807542 Added support for planet-queries that are then locally filtered.
This is just for *me* right now.

If you don't specify lat, lon and radius-km in the config, then we
assume we should do a planet-scale query to adsbx-api-proxy and filter
the returned aircraft to include only the ICAOs specified in the icaos
collection in config.
2020-10-12 15:08:29 -07:00
John Wiseman 02ee1c5050 Factored out adsbx-url and adsbx-headers, with tests. 2020-10-12 14:11:39 -07:00
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