1
0
Fork 0
Commit Graph

18 Commits (spacecruft)

Author SHA1 Message Date
Corey Shields cbb169e5de package and dependency updates
Upgrade to Django 3.2 LTS

add DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' for Django 3.2

un-pin urllib3 and requests as the newer releases work with auth0 now

Signed-off-by: Corey Shields <cshields@gmail.com>
2021-05-14 20:24:23 -04: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
Corey Shields 5e03f7c759 Epic API (doc) changes for SatNOGS DB
I've decided to change things up in API schema and doc generation.

Work is not quite complete but its enough for testing in dev and feedback.

Major changes:
* Renaming of api.view classes to match ViewSet inheritance (minor annoyance)
* Introduce drf-spectacular for schema generation and doc UI via swagger-ui
* lots of doc changes for the API to provide a good experience with the above.

New schema generation should work seamlessly in gitlab ci, as well as via /api/schema dynamically.

The new swagger ui view is available via /api/schema/docs/

Signed-off-by: Corey Shields <cshields@gmail.com>
2021-01-09 20:44:19 -05:00
Corey Shields 17f4ab100b Update packages and libraries
Updating pretty much everything but django itself, ahead of a jump to Django 3 real soon.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-12-29 22:46:51 +00:00
Pierros Papadeas 2835df9553 Add transmitters chart
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-10-03 15:35:16 +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
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 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
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 b852ed8372 Update stylelint javascript library to 11.0.0
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-09-25 19:24:24 +03: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
muarachmann c01cdb1aa7 Removed backbone js dependency from satnogs-db
Signed-off-by: Mua N. Laurent <muarachmann@gmail.com>
2019-08-28 16:32:41 +01:00
Alfredos-Panagiotis Damkalis d3501fd8f3 Update to gulp v4.0.0
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-04-27 17:39:37 +03:00
Alfredos-Panagiotis Damkalis 756aca8ad9 Update github dependencies entries in package.json
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-04-27 17:35:29 +03:00
Nikos Roussos b8a51dda47
Update requirements
* Django
* django-csp
* django-allauth
* mapbox-gl
* pytest
* Replace Mysql-python with mysqlclient
2018-03-24 15:36:39 +02:00
Nikos Roussos f3a1735c35
Minor cosmetic changes to mapbox-gl refactor
* Fix indentation typos
* Remove console.log instances
* Update package.json with mapbox-gl changes
2017-11-13 18:47:21 +02:00
Nikos Roussos 6aa5b4fe77
Replace bower with yarn 2017-09-08 18:27:16 +03:00
Nikos Roussos 091a4bce3e
Check in bower main files
* Use gulp for handling static and testing
* Remove django-bower
2017-03-30 21:05:05 +03:00