Commit Graph

101 Commits

Author SHA1 Message Date
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
03d691f6bf Renamed unit file. 2020-05-03 23:56:15 -07:00
John Wiseman
cb4b2d149f WIP. 2020-05-03 20:10:54 -07:00
John Wiseman
f6963b99b4 Added advisorycircular.sh. 2020-05-03 17:16:17 -07:00
John Wiseman
e9badb3a2f Adding install infrastructure. 2020-05-03 17:02:26 -07:00
John Wiseman
406f1e9013 WIP. 2020-05-03 17:00:24 -07:00
John Wiseman
0c0962bc4f intervalexec -> intervalexec.py 2020-05-03 16:44:50 -07:00
John Wiseman
c3fdde4819 Renaming circlebot -> advisorycircular. 2020-05-03 16:22:08 -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
a385513f48 Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-04-04 16:37:52 -07:00
John Wiseman
4d95ee73c1 Call write-file with correct number of args. 2020-04-04 16:37:32 -07:00
John Wiseman
603761ae6f Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-04-04 16:33:53 -07:00
John Wiseman
f954104de3 Ignore screenshots. 2020-04-04 16:33:26 -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
1ffeffb44c Added db-fixes.sql 2020-03-04 22:01:19 -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
dd2c646e3f Updated shadow-cljs. 2020-02-05 21:24:20 -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
159e74b748 Fixed typo. 2020-02-03 16:39:10 -08:00
John Wiseman
ab491406c3 Be explicit about the bot's name. 2020-02-03 16:38:27 -08:00
John Wiseman
fdbd345682 Added a default basestation.sqb path. 2020-02-03 16:37:38 -08:00
John Wiseman
4fc7215a02 Updated README. 2020-02-03 16:37:29 -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