Commit Graph

77 Commits

Author SHA1 Message Date
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
80095ceed3 Added edn2json. 2020-05-25 15:36:38 -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
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
919cbd7faa Filter out ground positions. 2020-05-09 14:28:04 -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
John Wiseman
184cb14aa8 Added screenshot config, with zoom and layer selection. 2020-05-07 13:01:34 -07:00
John Wiseman
9d9e9ba59e Added reverse geocode description fallback: name.
Previously the bot couldn't generate a description or tweet if the
centroid wasn't in a locality or localadmin. Now there's a "name"
fallback so it will always tweet if it can reverse geocode at all.
Typically this means you'll see something like "over Los Angeles
County".
2020-05-06 13:36:37 -07:00
John Wiseman
9ab7b0616f Handle localadmin and log-prefix. 2020-05-05 17:52:11 -07:00
John Wiseman
b9c2e02ecb More unitization. 2020-05-04 14:13:48 -07:00
John Wiseman
2e0ad025a9 We don't use vrs-settings.json anymore. 2020-05-04 07:39:16 -07:00
John Wiseman
cb4b2d149f WIP. 2020-05-03 20:10:54 -07:00
John Wiseman
78dc03e970 Renaming circlebot -> advisorycircular. 2020-05-03 16:19:45 -07:00
John Wiseman
dd92df15f9 Renaming circlebot -> advisorycircular. 2020-05-03 16:18:10 -07:00
John Wiseman
de7c72b2f6 Renamed circlebot -> advisorycircular. 2020-05-03 15:29:42 -07:00
John Wiseman
579a180d51 Renaming circlebot -> advisorycircular. 2020-05-03 15:26:25 -07:00
John Wiseman
fcbb023a5e FIxed altitude filtering.
(I forgot to store altitude in history, duh.)
2020-04-11 14:06:53 -07:00
John Wiseman
6246a9d3ab Filter out positions that are too low.
Related to issue #25.
2020-04-10 17:23:55 -07:00
John Wiseman
f1738938b8 Write recent and old track to geojson. 2020-04-05 14:10:36 -07:00
John Wiseman
4d95ee73c1 Call write-file with correct number of args. 2020-04-04 16:37:32 -07:00
John Wiseman
ac56fb0b61 Write geojson of each track. 2020-04-04 16:32:33 -07:00
John Wiseman
4573e421d5 Added 1 second delay before taking screenshot to let tiles load. 2020-03-05 11:58:04 -08:00
John Wiseman
2be3df79c4 Delete AdSense element from screenshot. 2020-03-04 13:51:30 -08:00
John Wiseman
e910eddc4a Log tar1090 url. 2020-03-03 16:29:47 -08:00
John Wiseman
e06f82a73f Headless! 2020-03-02 22:59:14 -08:00
John Wiseman
70474938ac Fixed screenshots.
adsbexchange.com switched from VRS to tar1090 and broke the screenshot
code.
2020-03-02 22:26:35 -08:00
John Wiseman
567cf8a4f9 Added variable "paths" to templates, like {person.age}. 2020-02-05 21:24:33 -08:00
John Wiseman
0eb2a425f7 Fixed filter-landmarks tests. 2020-02-05 11:01:05 -08:00
John Wiseman
8e88b8771f Fixed bug in template. Fixes #20. 2020-02-04 17:35:08 -08:00
John Wiseman
fdbd345682 Added a default basestation.sqb path. 2020-02-03 16:37:38 -08:00
John Wiseman
eee2acbc5e Fixed landmark handling. 2020-01-29 13:28:23 -08:00
John Wiseman
2ed77de13e Removed unneeded debug logging. 2020-01-29 10:08:47 -08:00
John Wiseman
709b8b7d25 Added landmark blocklist. Fixes issue #8. 2020-01-29 07:04:18 -08:00
John Wiseman
29f9030413 Show info if we can't generate a description. 2020-01-25 10:57:37 -08:00
John Wiseman
7037c04ba2 Fixed typo. 2020-01-22 11:32:29 -08:00
John Wiseman
704c856387 Fix for config validation. 2020-01-21 20:33:45 -08:00
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
14c743e53d Minor test tweaks. 2020-01-08 22:58:17 -08:00