1
0
Fork 0
Commit Graph

1106 Commits (spacecruft)

Author SHA1 Message Date
Alfredos-Panagiotis Damkalis e1b859887f Add API endpoint for TLE
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-11 15:11:51 +03:00
Alfredos-Panagiotis Damkalis e2b916f3ed Add task for fetching and saving TLE sets
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-11 15:11:51 +03:00
Alfredos-Panagiotis Damkalis ce1c189f02 Add Tle and LatestTle models
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-11 15:11:51 +03:00
Corey Shields fda7defc8b Pull dnt-helper from dependencies
We were not implementing dnt-helper, instead should use django-dnt.

Relates to #330
Relates to #406
2020-08-09 13:41:17 +00:00
Alfredos-Panagiotis Damkalis 00e9cb1cc3 Fix update transmitter bug and new suggestion email
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-09 16:04:05 +03:00
Corey Shields 75ad7ecd35 Update api client six version to avoid conflict with parent's req's
Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-08 20:52:46 -04:00
Alfredos-Panagiotis Damkalis 2c97ff4f58 Use cache for satellite property "telemetry_data_count"
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-09 02:28:04 +03:00
Alfredos-Panagiotis Damkalis 41cb47f9ff Improve performance and reduce SQL queries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-09 01:05:01 +03:00
Corey Shields 771aa22ecd Some more performance improvements for home page
Add index to DemodData.timestamp

prefetch suggestions

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-08 13:30:44 -04:00
Corey Shields 931e0893d5 change latest demod query to pk instead of timestamp
should help query load, pk is indexed.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-08 10:44:52 -04:00
Corey Shields 567df49a8f quick fix for prod stats page, account for blank noradid
Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-08 09:47:46 -04:00
Corey Shields 46c73722c4 change status look and feel to match rest of satellite page
Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-07 19:39:12 -04:00
Corey Shields 07a4904ff8 Move recent_decoded_cnt to ajax view
Move the new recent_decoded_cnt out of api and into the base view

fixes #398

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-06 18:14:08 -04:00
Pierros Papadeas 1fd8406ab5 Fix minor spelling mistake
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-05 14:15:29 +00:00
Pierros Papadeas 01c581ea8a Change satellite table wordings
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-05 13:11:42 +00:00
Alfredos-Panagiotis Damkalis ed6ac366fb Change TLE panel in satellite page
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-05 11:59:27 +03:00
Corey Shields f6d2bcdc93 Fix control-sidebar toggling
Fix a regression in control-sidebar toggling

Sets a fixed top navbar for all window sizes

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-04 21:28:36 -04:00
Corey Shields 44daf627be control-sidebar fixes and help html formatting
Fix the toggling of the control-sidebar, the text coloring of the control-sidebar, and clean up html on the help page.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-04 19:09:07 -04:00
Corey Shields 8b90fd1ff9 Fill in help page and tweak about page
Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-04 18:42:51 -04:00
Corey Shields f05658476f Django 2.2.15 upgrade
Quick version bump before prod release

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-04 17:05:40 -04:00
Corey Shields 3149c91e56 Add decoded data recent history chart to satellite view
Adds a chart card showing the last month of decoded data as currently stored in influxdb.

Unfortunately there's no native way to count the number of 'entries' for a measurement across a given time, so we have to do a count(*) across all points. This returns a blob of <timestamp>, <count(pointa)>, <count(pointb)>, <...> and in almost (but not all) cases those counts will be identical but we have to account for it not, so I iterate over each timestamp (client side) and take the max count to assign to that point in time. Since we are doing a 30d query from influx with 1d aggregation this should not be too intensive.

Also cleaned up the coloring of the profile link buttons.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-04 08:33:22 -04:00
Corey Shields b198e188d3 Add text to search not found
Fixes #371

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-02 16:11:36 -04:00
Pierros Papadeas 9ad52c8da8 Fix logo on nav bar mobile and titles
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-02 22:13:10 +03:00
Corey Shields 488fd9d7b4 Add migration for model validators and help_text
Fixes #397

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-02 14:07:19 -04:00
Corey Shields 5d0df9ac8f Update satellite data panel to match info panel cards
Update the card look and feel from the Data panel to match everything else in the Info/Profile panel.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-02 13:41:33 -04:00
Corey Shields 2f51df5337 Adjust top navbar for mobile
Make adjustments to the responsiveness of the app, especially for mobile navigation.

Fixes #391

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-02 13:25:47 -04:00
Pierros Papadeas 657260ed9f Add satellite status info box
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-02 17:56:54 +03:00
deckbsd 72b1a4abad enlarge mapbox on a sat page
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-08-02 15:13:03 +02:00
Pierros Papadeas 86d1bd6abc Group satellite profile items in cards
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-02 12:36:16 +00:00
Pierros Papadeas 96e971d614 Remove unused CSS file and reference
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-02 12:36:16 +00:00
deckbsd 01d9602693 fix map button remains active issue
Fixes #396

Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-08-02 09:35:02 +02:00
Alfredos-Panagiotis Damkalis 7938239120 Remove python 2 combatibility code
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-02 09:05:41 +03:00
Corey Shields 0ba46f0913 More transmitter submission improvements
Relates to #233
Fixes #364

More improvements to the transmitter submission process to auto-convert PPB to Hz and back, as well as popover.js tooltips from help_text in the model.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-01 23:08:13 -04:00
Corey Shields 2b80a3a88f make transmitter creation and edit forms dyanmic based on type
Re-implementing the case-on-type of the prior db UI.

To keep CSP happy along with the fact that we dynamically load the modal with django-bootstrap-modal, the javascript for these modals is in a new file, and that file's hash is kept in the CSP.

Also re-introduces child_src to test fixing a safari mapbox bug

Relates to #233
Fixes #387
2020-08-01 18:50:17 -04:00
Corey Shields b41b77be94 Remove news link (for now)
Pushing off the idea of SatNOGS DB having a 'news' component to > 1.0, removing this link for now.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-01 10:59:54 -04:00
deckbsd 768779ec6a add stage notice for -dev #392
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-08-01 14:44:48 +00:00
deckbsd ee7c8fdcef fix dashboard link on sat page
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-08-01 14:31:27 +00:00
Pierros Papadeas c444bf3645 Cleanup unused images and html
Fix #393

Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-01 11:06:29 +03:00
deckbsd 461c8af026 include search as initial data in search box
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-08-01 07:23:17 +00:00
Corey Shields c1d57a79cb Fix recent data submitters in satellite page
The intent of the "5 recent submitters" on the satellite page is to show the 5 most recent stations and their last submitted time, whereas this was showing the last 5 submissions regardless of the ground station.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-31 20:52:14 -04:00
Corey Shields 95e89dc4b5 Fix up js dependencies
Use upstream admin-lte 'plugins' instead of managing these js/css dependencies ourselves.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-31 23:17:11 +00:00
Corey Shields 508a22acf0 Show transmitter submission only for logged in users
Fixes regression where 'submit transmitter' link and modal were visible and partly accessible when not authenticated. Also tightens the satellite edit modal similarly.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-31 17:38:07 -04:00
Pierros Papadeas c17c7104f8 Replace SatNOGS DB logo
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-07-31 21:38:36 +03:00
Pierros Papadeas a1fe08f352 Remove uneeded JS
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-07-31 10:02:26 +03:00
Corey Shields ff3d88001e Refacter transmitter_card fields and kaitai struct decoder info
Removes the field.html include - and the frequent inclusion of that in the transmitter cards.

Fix a bug in satellite.js where input not recognized as an integer

Add gitlab links to the version info

Removes the manually-entered kaitai struct field from view (will need removed from db in a later change) - replacing with a procedurally generated list of fields from the class imported through satnogsdecoders.

Fixes #385

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-30 18:51:48 -04:00
deckbsd faa38e3960 add unit on frequency fields on transmitter modal
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-30 10:54:23 +00:00
deckbsd f9baf45aa1 Add checks for high and low freq on transmitter model
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-30 07:31:01 +00:00
Pierros Papadeas 1f6f74be64 Consolidate all info in About page
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-07-30 00:33:10 +03:00
deckbsd ead89b6d03 add model validators
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-29 13:12:54 +00:00
deckbsd f0bee6eda9 fix exception when accessing search page without q parameter
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-29 12:01:23 +00:00