1
0
Fork 0
Commit Graph

107 Commits (24aa35d90440ce24ec70b6bfe0feaa082fb2eb01)

Author SHA1 Message Date
George Sfoungaris 24aa35d904 Add warning when old TLE is shown
Closes https://gitlab.com/librespacefoundation/satnogs/satnogs-db/-/issues/557

Signed-off-by: George Sfoungaris <sfou@libre.space>
2022-10-07 18:17:06 +03:00
George Sfoungaris 8dbea1c47e Hide invalid transmitters by default
Closes https://gitlab.com/librespacefoundation/satnogs/satnogs-db/-/issues/411

Signed-off-by: George Sfoungaris <sfou@libre.space>
2022-10-04 17:06:57 +03:00
George Sfoungaris 4eb3a9cce6 Remove schema field from telemetry model and API
Closes https://gitlab.com/librespacefoundation/satnogs/satnogs-db/-/issues/319

Signed-off-by: George Sfoungaris <sfou@libre.space>
2022-10-03 13:24:03 +03:00
George Sfoungaris ae5bbb962d Fix typo in satelite.html template
Fixes https://gitlab.com/librespacefoundation/satnogs/satnogs-db/-/issues/529

Signed-off-by: George Sfoungaris <sfou@libre.space>
2022-09-28 13:51:09 +03:00
Alfredos-Panagiotis Damkalis 0188846f0f Add TLE updated field in satellite view
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-07-08 17:59:21 +03:00
Alfredos-Panagiotis Damkalis 97dc2b8d79 Update UI/UX for norad_follow_id
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-07-08 17:00:20 +03:00
Alfredos-Panagiotis Damkalis 3b98e66dc8 Remove export data functionality for frequency violators
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-06-14 05:10:47 +03:00
deckbsd 52d23bc7e0 Prevent unwanted modal close
fixes #484

Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2021-11-03 09:26:31 +00:00
Papadeas Pierros f8ca235faa Add Satellite ID on UI elements.
Signed-off-by: Papadeas Pierros <pierros@papadeas.gr>
2021-07-20 12:22:47 +03:00
Alfredos-Panagiotis Damkalis 3b05184d14 Add review functionality for satellite suggestions
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-05-11 20:27:05 +03:00
Alfredos-Panagiotis Damkalis 2f11e6b8e8 Separate aprrove permission for satellite and transmitter
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-05-11 20:27:05 +03:00
Alfredos-Panagiotis Damkalis c75b491b9b Replace SatelliteEntry with Satellite in models
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-05-11 20:27:05 +03:00
Alfredos-Panagiotis Damkalis a97f9666db Add reviewer and reviewed fields in TransmitterEntry
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-03-11 08:29:38 +02:00
Corey Shields 2b17d32a67 Replace gpredict.js with satellite.js
package.json: Add satellite.js dependency

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>

Move to satellite.js in map, drop satellite footprint

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>

Remove gpredict.js dependency

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>

Replace gpredict.js with satellite.js

Builds on the work of kerel-fs in !596 and #440, implements satellite.js for core TLE and SGP4 handling, deprecating and removing gpredict.js

fixes #440
does NOT fix #204
 
Signed-off-by: Corey Shields <cshields@gmail.com>
2021-02-13 14:56:14 -05:00
Alfredos-Panagiotis Damkalis 87d5329c36 Fix tle_source field in satellite view template
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-09-22 22:18:17 +03:00
Pierros Papadeas 5c01c5d72b Add satellite status 'future'
fixes issue 409

Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-09-21 18:26:13 +03:00
Alfredos-Panagiotis Damkalis dd10892eaf Use new model for TLE sets
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-09-15 21:05:43 +03:00
Corey Shields b5dd2eb4ea Fix TLE formatting in Satellite Data tab
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>
2020-09-12 14:03:45 -04:00
Corey Shields eb859b7a44 show status text if satellite has uncoordinated transmitter
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>
2020-09-12 11:00:50 -04:00
Pierros Papadeas fa32a0ebb4 Fix broken links to Dashboards and Network Observations
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-09-09 12:13:25 +03:00
Corey Shields d6f6ff0c2e Accessibility improvements
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 #414
Fixes #417
Fixes #418
Fixes #419
Fixes #420

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-09-07 12:38:59 -04:00
Corey Shields b7e82848d5 Add ability to link to tabbed panes and fix map visibility
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>
2020-08-30 16:17:08 -04:00
Pierros Papadeas 87ab59c738 Fix datetime format displaying
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-14 16:33:50 +03: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
Pierros Papadeas 1fd8406ab5 Fix minor spelling mistake
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-08-05 14:15:29 +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 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
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 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
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
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
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
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
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 05d4f8a705 make large badge number human readable
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-28 10:06:29 +02:00
Corey Shields cbd0ec096a Bring back transmitter uuid
Bring transmitter uuid and copy-to-clipboard back to new UI.

Also fixes tooltips in new UI

Also fixes a typo in new 404 screen.

Fixes #382

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-26 21:21:36 -04:00
Corey Shields 68e1e20a4e New UI fixes: data export, transmitters count, sat data leaderboard
Fixes #384 - by cleaning up the data export links

Fixes #379 - simple fontawesome change

Fixes #308 - adds 'most recent 5' observation submitters (regardless of number of submissions or staggering of submissions)

Changes the queryset for satellites to pull the properly 'approved'/valid transmitters as approved_transmitters which can be used to count transmitters with |length and reduce queries at the same time. As such:

Fixes #365
Fixes #381

Thanks to @deckbsd and @adamkalis for their assistance on these!

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-26 17:21:05 -04:00
Corey Shields a7141c5b30 New SatNOGS DB user interface
Initial commit of new UI. There is still some work to be done before this goes into dev, but here is the work so far:

* Updated dependencies to latest 2.x django
* Updated to Bootstrap 4
* New home screen to display most recent satellite entries, most recent data, and contributors
* Adopted django-bootstrap-modal-forms for handling satellite and transmitter creation and update, with more of an emphasis on django's model/view/form model - and a dynamic flow where the modals and details are only loaded when the proper icon is clicked, reducing the overall page size
* Adopted AdminLTE 3.x framework atop Bootstrap 4
* Created reusable cards for satellite and transmitters
* Cards and Modals are organized into subdirectories for template includes and base templates, respectively
* New stats display widgets using BS4 and AdminLTE 3
* Satellite search is redesigned and now accessible from any page of the site
* Introduced datatables for an "All Satellites" view and a modification of the new "All Transmitters" view
* Focus on all UI scaling down to mobile devices
* New model created for Operator (/ Owner): name, names, description, website
* Added django-countries for support of CountryField
* Satellite model expanded to include: Operator, (satellite) website, countries, launched datetime, deployed datetime
* Transmitter suggestions can now be approved in the UI by superusers
* Satellite entries can now be edited in the UI by users with the change satellite permission
* Satellite page is now broken into 'tabbed' panels (Profile, Map, Transmitters, etc) - with the tab menu options appearing in the sidebar or at the top depending on screen size
* Other cleanup and changes that I'm missing for sure.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-25 22:08:44 +00:00
deckbsd 5122729752 create one stats cache per satellites
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>

replace the for loop by one big query

Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>

Undo the modification made for test

Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-25 17:21:52 +00:00
deckbsd 317eed5a34 fix bad login redirection on new trans modal
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-19 07:20:51 +00:00
Alfredos-Panagiotis Damkalis 1f0f0767f9 Fix dashboard URL
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-04-10 11:53:59 +03:00
deckbsd 1d1c72edf4 Add link to the dashboard on satellite page
remove migration tests

Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>

use urlfield instead of texfield on sat model

Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>

remove the initialization of the url field

Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-04-09 12:22:06 +00:00
Fabian P. Schmidt 4278c6caa0 Add latest TLE to UI if possible
Fixes #264.

[v2:- Added docstrings]
Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2019-12-07 22:33:25 +01:00
deckbsd 062152aeec add uplink_mode field for transciever and transponder transmitter type
Signed-off-by: Flawinne Julien flawinne.julien at protonmail dot com

add uplink_mode field for transciever and transponder
Signed-off-by: Flawinne Julien flawinne.julien@protonmail.com

adapt unit test for transmitter model

Update migration for taking account of the invert value

update uplink_mode migration condition

Not request TLE with NORAD ID above 99000

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>

rename mode transmitter field to downlink_mode

adapt unit test for transmitter model

update uplink_mode migration condition

add uplink_mode field for transciever and transponder transmitter type
Signed-off-by: Flawinne Julien flawinne.julien at protonmail dot com

keep mode id

add forgotten field mode id

add missing ,

fix yapf error
2019-12-01 09:43:44 +00:00
deckbsd fbd0fbf34e change transmitter panel color regarding sat
Signed-off-by: Flawinne Julien flawinne.julien@protonmail.com
2019-10-18 11:41:59 -07:00
Alfredos-Panagiotis Damkalis ef40817f61 Update javascript libraries
Updates:
* gulp to 4.0.2
* gulp-eslint to 6.0.0
* stylelint to 4.3.1
* bootstrap to 3.4.1
* chart.js to 2.8.0
* jquery to 3.4.1
* mapbox-gl to 1.3.1
* moment to 2.24.0

Removals:
* bootstrap-daterangepicker
* backbonejs(code parts that weren't removed)
* d3
* underscore

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-09-24 22:46:25 +03:00