1
0
Fork 0
Commit Graph

36 Commits (spacecruft)

Author SHA1 Message Date
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 d1eab762fa Update satellite models introducing Satellite Identifier
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-04-29 08:35:49 +03:00
Alfredos-Panagiotis Damkalis 0d81ecbe77 Rename Satellite model to SatelliteEntry
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-04-29 08:35:49 +03:00
Alfredos-Panagiotis Damkalis 4ea55fa1cc Fix error when there are no TLE for new satellite
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-03-11 08:29:38 +02: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
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
Corey Shields b704454486 Linting for R0914
A couple of functions in tasks and utils were refactored with new helper functions to reduce the number of local variables per function.

In addition, fetch_data.py was flagged with R0914 but this is a relic of the original attempt at decoding data into DB, and is unused - so I am removing rather than fixing it.

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-27 12:10:47 -04:00
Corey Shields f6e61f158f review fixes for !393
per acinonyx review, fix comment spacing, add missing citation to TransmitterEntryForm, and standardize pylint disable messages

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-17 09:26:13 -04:00
Corey Shields 6bc64e9217 linting for W0703
broad-except, I added explicit exceptions where I felt safe doing so - but we do have a lot of broad exceptions accepted.

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-13 18:08:55 -04:00
Corey Shields 2ec2fd2a4d pylint C0111 docstrings
phew, fixed all of the missing-docstring and found some other things along the way (for future changes)
2019-07-12 22:36:18 -04:00
Corey Shields dcccb1770e Remove old decode_data.py manage command
Found while documenting for C0111, this was old code for the initial "decode" functionality that was replaced by decode_data in utils.py

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-12 19:12:43 -04:00
Corey Shields b7ec119853 pylint C0103
Linting for Pylint C0103

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-12 12:41:21 +00:00
Corey Shields d4fb5189d1 future imports and remove unicode strings
adds from __future__ import unicode_literals, absolute_import, division, print_function to all files, removes unicode strings from RTD conf.py (none other were found in our codebase)

See also https://docs.djangoproject.com/en/1.11/topics/python3/#unicode-literals

fixes #290

tested locally in docker
2019-06-30 19:23:55 -04:00
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
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
Vasilis Tsiligiannis 7f16a16ee2 Add telemetry fixtures
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-09 17:51:26 +02:00
Fabian P. Schmidt c405f781c4 Add additional TLE sources via python-satellitetle 2018-11-29 20:04:19 +00: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 cd1ac73845
Allow decode_data to take arguments 2017-05-14 15:29:17 +03:00
Nikos Roussos f257ab5fd1
Merge pull request #156 from satnogs/gulp
Check in bower main files
2017-03-31 11:35:22 +03:00
Nikos Roussos 0b366c9faa
Don't update name from TLE 2017-03-27 14:46:38 +03:00
Nikos Roussos d692a48ab3
Fetch and keep on TLE per Satellite 2017-03-25 16:50:27 +02:00
Nikos Roussos 3058c0f1f1
Amend telemetry data commands to fetch and decode correctly 2017-03-02 19:58:01 +02:00
Fabian P. Schmidt 80fb7b474a Replace BaseCommand.option_list with add_arguments in commands/fetch_satellites
BaseCommand.option_list is deprecated in Django 1.8
and was removed in Django 1.10.

Fixes #121.
2017-02-09 16:33:43 +01:00
Nikos Roussos 2a50624edd
Add bower to initialize script 2016-11-23 14:21:24 +02:00
Nikos Roussos fecab8c98b Add management command to fetch Network data and decode it 2016-05-08 18:43:46 +03:00
Nikos Roussos d49bc53b28 Intagrate migrate and loaddata to initialize command 2015-08-26 14:02:09 +03:00
Nikos Roussos 14fd11489e Rm update command
We'll maintain manually the Satellite names, so this command is
destructive
2015-08-13 15:59:17 +03:00
Nikos Roussos e9e56b7ab2 Add command to update Satellites names 2015-07-17 16:39:46 +03:00
Nikos Roussos 3f300c4fed Expose norad_cat_id to API for Transponders 2015-05-07 11:28:03 +03:00
Nikos Roussos b02aa0634a [Fixes #7] Create initial fixtures 2015-05-05 11:21:01 +03:00
Nikos Roussos 1d3fda269c Bring custom Manager for approved Transponders 2015-04-26 17:28:49 +03:00
Nikos Roussos 4d4662f509 Inherit Transponder model for Suggestions 2015-04-25 21:51:25 +03:00
Nikos Roussos 2134f44b49 First iteration on suggestions forms 2015-04-25 19:47:22 +03:00
Nikos Roussos 6828eb315b Initial commit 2015-04-22 18:10:13 +03:00