1
0
Fork 0
Commit Graph

25 Commits (ef1c4313aa2efc56f4b33f2e330ae80884c309f0)

Author SHA1 Message Date
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
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
Vasilis Tsiligiannis 7ebc04e534 Fix filter argument of model field name
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-22 21:53:50 +03:00
deckbsd 965a4f3658 add filters on satnogs db telemetry api
remove unset schema filter

fix flake8 remark

Signed-off-by: flawinne julien  <deckbsd@protonmail.com>
2019-07-20 07:31:24 -07:00
Vasilis Tsiligiannis 5abb3553f9 Do not call return in 'if' and 'else'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-07-17 17:52:10 +03: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 9989efb453 linting for R0201
Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-13 19:12:54 -04:00
Corey Shields f7c4df84f1 Fix broken API filter view
Linting W0613 led to the discovery that we filter on status entries that do not exist. Changing "functional" to "active" will fix https://db.satnogs.org/api/transmitters/?alive=true

fixes satnogs-db#298

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-13 16:14:40 -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
Pierros Papadeas 48ea435093
Add transmitter service field
Fix issue 310

Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-07-11 14:10:47 +03: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 4bb87e2e6a isort: Do not skip install in order to correctly detect third-party imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 20:49:10 +03: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 f3977c27ea Filter trasnmitters API by uuid
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-04-24 15:59:11 +03:00
Corey Shields 5e5296f154 fix dependencies for moving up to Django 2
this fixes for 2.0, will be one step toward 2.2

Fixes #278
2019-04-20 21:49:33 -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
Nikos Roussos 41d2559ed5
Fix Telemetry API filtering 2017-05-14 15:29:29 +03:00
Nikos Roussos da3af1ed8a
Update requirements 2017-01-20 00:37:13 +02:00
Nikos Roussos afcaf5493c Create API endpoint for decoded telemetry data 2016-05-08 18:44:22 +03:00
Nikos Roussos b433bc6238 s/transponders/transmitters 2015-07-23 15:48:58 +03:00
Nikos Roussos 34ba268e5b Add API filtering 2015-07-20 21:21:44 +03:00