Commit Graph

58 Commits

Author SHA1 Message Date
John Wiseman
fe17c489d9 Validate config. 2020-01-21 20:29:18 -08:00
John Wiseman
ea0bb782dc Quit on promise rejections. 2020-01-21 18:32:19 -08:00
John Wiseman
e5dc170ca5 Tweaks to config file handling.
If --config config.yaml wasn't specified, don't error out if
config.yaml doesn't exist.
2020-01-21 17:10:28 -08:00
John Wiseman
220067c980 Fixed :radius -> :radius-km. 2020-01-20 22:42:07 -08:00
John Wiseman
b22a403651 Fixed typo. 2020-01-20 21:45:13 -08:00
John Wiseman
4c230226bb Don't die on an empty config.yaml. 2020-01-20 21:44:29 -08:00
John Wiseman
074f7c77c3 Now reads config.yaml.
Configuration now comes from config.yaml.  Command line flags override
config.yaml values.

Added --config and --secrets to specify the path to config.yaml and
secrets.yaml.
2020-01-20 21:30:50 -08:00
John Wiseman
807b5d7d44 Added note about minimum Node version being 10.0.0. 2020-01-18 15:27:43 -08:00
John Wiseman
14c743e53d Minor test tweaks. 2020-01-08 22:58:17 -08:00
John Wiseman
4daf50d9ce Take a more granular approach to checking descriptions. 2020-01-07 15:29:27 -08:00
John Wiseman
4c2786ce56 Add link to tar1090.adsbexchange.com in tweets. 2020-01-07 15:22:06 -08:00
John Wiseman
041c07e782 Forgot to use the new SQB record. 2020-01-03 16:52:12 -08:00
John Wiseman
4183048c3c Cleaning up use of SQB info. 2020-01-03 16:39:59 -08:00
John Wiseman
817e632326 Final fix? for issue #4, use SQB for backup registration info. 2020-01-03 15:58:52 -08:00
John Wiseman
2099bac9bf Fixed bug in attempt to use sqb registration info. 2020-01-01 21:08:57 -08:00
John Wiseman
61cc57fe4f Use basestation.sqb for backup registration info. 2019-12-31 13:45:14 -08:00
John Wiseman
3c7d1c25f6 Fix generation bug: "...a MD-50..." 2019-12-28 22:26:47 -08:00
John Wiseman
516ec4bd24 Logging tweaks. 2019-12-28 22:26:38 -08:00
John Wiseman
259159e838 Foldes SUBSITITUTIONS into RE_SUBSTITUTIONS. 2019-12-27 16:42:36 -08:00
John Wiseman
7d983c6910 Clean Notar -> NOTAR. 2019-12-27 13:53:16 -08:00
John Wiseman
9b6d402ba2 Removed debug logging. 2019-12-26 22:34:55 -08:00
John Wiseman
825b29144e Fixes for AS 350 helicopters. 2019-12-26 22:33:25 -08:00
John Wiseman
24ab89d6a6 Back off twitter logging now that geotagging seems to work. 2019-12-21 12:17:58 -08:00
John Wiseman
9c17f86f53 Fix geo-taging. 2019-12-20 21:33:21 -08:00
John Wiseman
19ca5c4735 Geo-tag tweets. 2019-12-20 21:31:49 -08:00
John Wiseman
5e70b3233b Less log spam. 2019-12-19 17:06:26 -08:00
John Wiseman
5228f02507 Fixed a/an generation for, for example, "Eurocopter". 2019-12-19 16:57:26 -08:00
John Wiseman
af40b86410 Less verbose logging of adbsx screenshot. 2019-12-19 13:54:17 -08:00
John Wiseman
062e963456 Fixed "a Airbus" problem (issue #7).
* Added generation filters, e.g. {var|a-an}
* Added an a-an filter.
* Used a-an filter in template.
2019-12-19 13:48:02 -08:00
John Wiseman
c2a56ce98b Fix McDonnell. 2019-12-18 23:06:58 -08:00
John Wiseman
6b01d921d9 Increase writer batch size. Drops time from 61 secs to 42. 2019-12-18 23:01:25 -08:00
John Wiseman
5046c14693 Minor formatting edits. 2019-12-18 17:08:45 -08:00
John Wiseman
f529e8bcd3 Added intervalexec.py 2019-12-18 16:51:52 -08:00
John Wiseman
b93c2f71d4 Renamed --url to --adsbx-url, added --pelias-url. Config cleanup. 2019-12-18 14:14:55 -08:00
John Wiseman
0f9dddacee Working toward varref psths in generation. 2019-12-18 09:21:51 -08:00
John Wiseman
3ab099d9ef Preserve already OKish entries. 2019-12-18 09:21:15 -08:00
John Wiseman
8cc08d0ebc Can now use basestation.sqb for aircraft type info. 2019-12-17 11:01:35 -08:00
John Wiseman
6d80d0e77c Improved filtering when computing recent centroid. 2019-12-15 16:39:21 -08:00
John Wiseman
63a22d8618 Fixed units. 2019-12-14 17:16:44 -08:00
John Wiseman
f7d1701054 Fixed landmark logging. 2019-12-14 17:16:36 -08:00
John Wiseman
7a6567af88 Distance reports now limited to 2 digits after the decimal point. 2019-12-14 14:20:54 -08:00
John Wiseman
9f859ee204 Fixed landmark distance units. 2019-12-14 14:01:16 -08:00
John Wiseman
7a5139d449 Added note about implementation language & platform. 2019-12-14 13:48:50 -08:00
John Wiseman
bb89e13737 Increased refractory period from 20 minutes to 30 minutes. 2019-12-14 13:48:02 -08:00
John Wiseman
54ef13d817 Added TODO: aircraft images. 2019-12-14 10:20:59 -08:00
John Wiseman
f9f689828b Added --no-tweeing flag. 2019-12-14 10:20:42 -08:00
John Wiseman
7a5db5ab19 Re-enabled airport filter. 2019-12-14 02:39:06 -08:00
John Wiseman
34c4337040 Clarified bearing changes. 2019-12-14 00:46:19 -08:00
John Wiseman
2f94be7da3 Added quick intro to how the bot works. 2019-12-14 00:45:28 -08:00
John Wiseman
a065653013 Removed TODO.md. 2019-12-14 00:42:54 -08:00