1
0
Fork 0
Commit Graph

23 Commits (084694b02cd5e29f61f75660d508b0d74a9685f1)

Author SHA1 Message Date
Vasilis Tsiligiannis 655f98f39c Use 'isort' to fix order of imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 14:08:11 +03:00
Vasilis Tsiligiannis 140180b6b3 Reformat code with 'yapf', check format using 'tox'
Use configration based on Django coding style guidelines

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 12:32:33 +03:00
Corey Shields ff21847b52 rename demoddata.source to demoddata.app_source
We have a field in demoddata called "source" which stores the application source of the data (network, sids, manual). This causes a lot of confusion with the SiDS API format which has a "source" parameter (that we convert to "station")

As I'm working through documenting the API (and getting us ready for feature expansion), I'd like this field renamed to avoid future confusion.
2019-04-20 19:15:29 -04:00
Alfredos-Panagiotis Damkalis c2e378da4e Refactor transmitter model
Transmitter model has been refactored by changing the current schema
from Transmitter and Suggestion models to TransmitterEntry model and
two proxy models TransmitterSuggestion and Transmitter:

* TransmitterEntry model will hold all the entries and changes on
transmitter entries in db.

* TransmitterSuggestion model will be the proxy model of the unreviewed
transmitter entries.

* Transmitter model will be the proxy model of the latest approved and
reviewed transmitter entries.

There are also change on Transmitter model fields:

* alive field is now change to status field

* there are new fields: citation, user, reviewed and created
2019-04-08 21:21:46 +03:00
Pierros Papadeas 6d5e1db09c
Add decayed field in Satellite model 2019-01-19 19:27:48 +02:00
Pierros Papadeas a1d8357763
Change model of transmitter to include drift and type 2018-12-25 21:15:18 +02:00
Corey Shields 9cc9c352f5 DB changes to allow for network-sourced sids submissions 2018-09-03 14:19:42 -04:00
Corey Shields 44fee695b5 fix bare excepts
Upon fixing CI we now have a slew of PEP8 722 issues (bare excepts).  This MR fixes all of those by excepting Exception, which should catch anything the program generates while allowing systemexit exceptions.
2018-07-14 14:50:07 -04:00
Nikos Roussos 41940a749b
Expose status on Sateliite endpoint 2017-08-12 22:45:13 +03:00
Nikos Roussos 7c7115f9be
Expose more fields to Telemetry API endpoint
* Rename decoded API fields for clarity
2017-03-28 22:00:05 +03:00
Nikos Roussos 74002958f2
API endpoint for SiDS submission 2017-03-02 19:56:42 +02:00
Nikos Roussos afcaf5493c Create API endpoint for decoded telemetry data 2016-05-08 18:44:22 +03:00
Nikos Roussos d38b5e60ed pep8 2015-09-17 16:01:41 +03:00
Nikos Roussos 79a5bcdc1c API minor fixes
* Expose mode_id instead of mode
* Expose satellite names and image
2015-08-14 16:57:39 +03:00
Nikos Roussos 473727e309 Add Modes to the API 2015-08-13 15:57:04 +03:00
Nikos Roussos b433bc6238 s/transponders/transmitters 2015-07-23 15:48:58 +03:00
Nikos Roussos 1424fd3a2b Use significant fields as API lookup detail fields 2015-07-20 21:21:45 +03:00
Nikos Roussos 1071e663eb Change norad API field to proper name 2015-05-09 12:52:24 +03:00
Nikos Roussos 814792c9df Add UUID field to Transponders 2015-05-09 11:38:39 +03:00
Nikos Roussos 3f300c4fed Expose norad_cat_id to API for Transponders 2015-05-07 11:28:03 +03:00
Nikos Roussos 0350e464e4 Expose Satellites on API 2015-05-03 23:23:07 +02:00
Nikos Roussos 1befe28bb1 Expose Transponders only to API 2015-04-25 18:17:59 +03:00
Nikos Roussos 6828eb315b Initial commit 2015-04-22 18:10:13 +03:00