* Add on_delete option to all ForeignKey fields
* Adjust all views
* Adjust initialize command
* Refactor tests
* Refactor API to make these changes transparent
* Adjust all templates
* UI refreshment on Observation tepmplate
* Add STRICT_TRANS_TABLES for mariadb
* Minor text changes to tle command
* Update requirements
2 big changes here:
1 - provides filtering capabilities on station view to not show satellites missing transmitters that station is capable of receiving
2 - prediction_windows will now return only stations that are capable of receiving the selected transmitter.
fixessatnogs/satnogs-network#88
The satellite modal that was tested in the observation view works
great! This commit adds the similar link everywhere else a
satellite is listed in a table so we have a consistent UX.
In the observation view there is only one satellite referenced,
making the modal a 1:1 mapping. As there are multiple satellites
in the table view we pull this modal in multiple times. To cut
down on possible load times getting out of hand I'm limiting the
number of rows you'll see in the home page and observations view.
I don't quite feel this iterative import approach is the best.
Feel free to decline this if there is a better way (.js it?)
This commit adds a "horizon" configuration item to stations. This
allows station owners to set a minimum horizon to avoid a noisy
or obstructed floor level.
The default minimum horizon is set to 10, which is still fairly
low for a satellite pass that could be captured but given the
appropriate setup someone may be successful setting it lower.
The horizon field is honored in both the calculation of upcoming
passes in the station view as well as excluding any "below horizon"
passes in prediction_windows.
In addition, the db migration will set a minimum horizon of "10"
for all existing stations in the network. This is the horizon that
was hard-coded for the upcoming passes view so the only change to
the end user will be the behavior of window prediction matching
the upcoming passes (along with the ability to configure their
minimum horizon, of course).
This change sends all of the upcoming "next passes" for
satellites with operational transmitters to the station_view. In
addition the pass must be at or above 10 degrees and within the
next 6 hours (maybe we want this to be configurable later?).
These are passed as the "nextpasses" array, an array of dicts for
each pass that include the pass details and satellite name & id,
sorted by rise time.
Also adds upcoming passes to station_view
When loading a station, show a table of the upcoming satellite
passes