1
0
Fork 0
Commit Graph

1018 Commits (1513e998bb5f0f029a35c4ccfb41f7968890e2dc)

Author SHA1 Message Date
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
deckbsd 60f2356c73 migrate url uses to path
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-29 06:25:27 +00:00
Corey Shields b7d2392c35 Use datatables for stats page and other tweaks
Implement datatables for ground stations and satellites stat pages.

Fix ground stations icon

Improve datatables footer spacings all around

Tweak spacing around gravatar

Fixes #380

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-28 20:32:07 -04:00
Corey Shields 4c3147d4c5 Fix transmitter card titles for long titles
Fix the case where a long transmitter title will push the icons down into a wrapped row.

Fixes #271
2020-07-28 19:29:15 -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 122baae403 Improved error pages
Improves the look and feel of 404/500 pages to match with BS4/LTE look and feel.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-26 19:09:10 -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
deckbsd 999bab50c6 add the new sat fields trough the sat api endpoint
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-26 16:28:49 +02: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 63a93fa1ed change used sat id for caching from norad to pk
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-07-25 17:21:52 +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 8c319bfe62 Add browsable API for jsonld format
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-16 06:26:23 +03:00
Alfredos-Panagiotis Damkalis f5e61c0124 Fix broken jsonld endpoint on unauthenticated request
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-16 06:25:47 +03:00
Alfredos-Panagiotis Damkalis 504392d1e7 Allow access to API endpoints for logged in users
API endpoints that are behind authentication check, are now
accessible by logged in users.

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-16 06:11:09 +03:00
Alfredos-Panagiotis Damkalis 6094847432 Fix python warnings
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-13 13:32:45 +03:00
Alfredos-Panagiotis Damkalis aef8d5c33b Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-13 13:32:45 +03:00
Alfredos-Panagiotis Damkalis 118cb7cadc Remove python 2 compatibility code
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-13 13:32:45 +03:00
Alfredos-Panagiotis Damkalis 39befe0dfc Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-13 13:32:45 +03:00
Pierros Papadeas 980ef8abe2 Add custom sorter for frequencies on transmitters list
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-07-12 14:38:33 +03:00
Pierros Papadeas a0d398f129 Add filter control on transmitter table
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-07-12 12:14:26 +03:00
Pierros Papadeas ef1e315984 Add transmitter table view
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-07-09 20:19:23 +03:00
Alfredos-Panagiotis Damkalis 67f229d2ed Add json-ld format on API endpoints
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-01 17:14:46 +03:00
Alfredos-Panagiotis Damkalis 20153300cf Add PyLD library for JSON-LD support
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-01 16:59:20 +03:00
Alfredos-Panagiotis Damkalis 412c2aa085 Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-01 16:59:20 +03:00
Pierros Papadeas c98aea69fc Filter transmitters in admin by description
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-06-21 12:54:53 +03:00
deckbsd ef1c4313aa Remove python3 migration remnants
Signed-off-by: Julien Flawinne <jf.satnogs at protonmail dot com>
2020-05-27 20:54:39 +02:00
Pierros Papadeas d8aef58025 Add artifact model and API endpoint for new waterfall artifacts
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-05-20 19:42:31 +03:00
Alfredos-Panagiotis Damkalis 4891efd75e Remove old exported framesets from filesystem
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-05-20 18:14:23 +03:00
Alfredos-Panagiotis Damkalis 6a81937465 Create ExportedFrameset model and fix exported frames url
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-05-20 18:14:23 +03:00
Alfredos-Panagiotis Damkalis 90d860377c Update .gitignore
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-05-20 18:14:23 +03:00
Alfredos-Panagiotis Damkalis 1736abf6b2 gitlab-ci: Change from "only" to "rules"
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-05-20 17:59:25 +03:00
Pierros Papadeas 9f76d3cb25 Add filters in demod_data admin view
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-04-29 15:35:17 +03:00
Vasilis Tsiligiannis b7d2d4ff95 Fix typo in exported frames notification template
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-04-22 22:49:35 +03:00
Vasilis Tsiligiannis ddf62bf660 Fix download URL of frames exports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-04-22 22:44:53 +03:00
Alfredos-Panagiotis Damkalis fee2c8683e Revert "Remove eslint.failAfterError()"
This reverts commit a088e5d03b.

The commit had been reverted as it was disabling failing the pipeline
in CI on errors. Without the eslint.failAfterError(), the exit status
of gulp was 0.

For solving the issue that the reverted commit was trying to solve,
continue running parallel tasks if one of them fails, gulp needs to
be run with the flag --continue, however note that this flag allows
tasks in series to continue run even if one of them fails.
2020-04-22 12:29:51 +03:00
Vasilis Tsiligiannis 79efc9a1c3 Add support for configuring CSP through environment variables
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-04-21 22:14:50 +03:00
Vasilis Tsiligiannis 2e59bc3acc Allow overriding of static and media URLs through environment variables
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-04-21 20:31:16 +03:00