As currently the only way to add/delete manually Tle objects is
through admin panel, I've replaced Tle signal receivers with custom
admin save/delete methods in order to trigger updating of
LatestTleSet objects more efficently.
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
The script can be used to:
- Expand aliases and anchors
- Set API version
- Set server URL
- Enable API key authentication scheme
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
LatestTle model was a proxy model on Tle one, using it for API adds a
significant delay to respond on the API requests. For this reason
LatestTle model is removed and LatestTleSet model takes its place.
LatestTleSet is updated asynchronously and keeping references to
latest TLE sets of Tle model. This allows to retrieve the TLE sets
faster.
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
Generate API documentation from OpenAPI specification. Also, update
outdated Sphinx documentation and include the generated docs.
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
The 'norad_follow_id' field is used for aquiring TLE sets for a
satellite with a temporary NORAD ID.
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
Various improvements to the stats page:
Added a legend of top chart items to the footer of bands and modes charts. Fixes#408
Added a (cached) count of decoded frames to the Satellites table. Fixes#400
Added a note about the cached nature of stats. Fixes#403
Signed-off-by: Corey Shields <cshields@gmail.com>
Hooray for success - we have tons of contributors in a 24 hr leaderboard!! Making this fit the screen a bit better and scrollable.
Fixes#402
Signed-off-by: Corey Shields <cshields@gmail.com>
Have to make this card a full width, even at col-xl-6 size it can shrink to stretch past the edge of the card. Adjusted a little more to make better visual use of the space as well.
Fixes#426
Signed-off-by: Corey Shields <cshields@gmail.com>
If the satellite has a transmitter that is flagged as 'bad_transmitter' (frequency coordination violation today), then show such in the Status card.
Fixes#250
Signed-off-by: Corey Shields <cshields@gmail.com>
Some accessibility improvements:
* fixed some buttons to be more compatible with keyboard focus
* added labels where missing for tab links where a screenreader might get confused by the fontawesome icon
* added a "Skip to main content" link
* labeled the search box
* added labels for some of our visual indicators for satellite and transmitter statuses
* ensured that "Focusable elements should have interactive semantics"
Fixes#414Fixes#417Fixes#418Fixes#419Fixes#420
Signed-off-by: Corey Shields <cshields@gmail.com>
This patch is a workaround to https://github.com/encode/django-rest-framework/issues/7479
Load and dump YAML using a dumper with disabled aliases in order to
workaround the aforementioned bug.
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
Linting for imported-auth-user to use get_user_model() instead
Pulled unused (old) variables and queries out of views for home, satellites, satellite, stats. Should improve page load a bit.
Relates to #424
Signed-off-by: Corey Shields <cshields@gmail.com>
Adds 2 fields to transmitter model, coordination (fixed set of choices, defaulting to blank) and coordination_url. API, UI, and tests are included.
Also introduces a bad_transmitter property to transmitter that will return true if any 'Uncoordinated' or '..Rejected' status is selected.
Fixes#311
Signed-off-by: Corey Shields <cshields@gmail.com>
Changes the admin email notifications to a backend celery task so that the UI does not block on it.
Also prevents this process from running twice as form_valid gets triggered for validation and saving.
Should fix#421
Signed-off-by: Corey Shields <cshields@gmail.com>
handle deep-linking of anchors into tabbed panes on the satellite and stats pages.
Fixes#399
Also clean up map visibility, only showing if a satellite has not re-entered *and* has a TLE associated with it (note, we are not testing for validity of the TLE).
Fixes#412
Signed-off-by: Corey Shields <cshields@gmail.com>
Image files were not getting uploaded due to the lack of enctype on the form.
Easy fix, hard discovery (sigh)
Fixes#413
Signed-off-by: Corey Shields <cshields@gmail.com>