1
0
Fork 0
Commit Graph

37 Commits (f774025a6f1544e1f0e457e3b194cdd69bd5ac19)

Author SHA1 Message Date
Fabian P. Schmidt f774025a6f utils/sync_demoddata_to_db: Raise RequestException if sync fails (W0703)
Let the caller handle the exception in case the sync fails.

Fixes a broad-except (W0703) pylint error.

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2020-01-04 14:08:00 +01:00
Fabian P. Schmidt bfc0fd639b Add absolute_import to all relevant files (W1618)
Fixes no-absolute-import (W1618) pylint error.
Similar commit in db: librespacefoundation/satnogs/satnogs-db@d4fb5189d19aa7fc12e1adcfbc7b3ca07452fed6

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2019-12-31 08:51:04 +00:00
Alfredos-Panagiotis Damkalis edfb25556f Sync demoddata to DB on upload
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-12-21 22:36:28 +02:00
Alfredos-Panagiotis Damkalis 4656347fff Handle pyephem next_pass() ValueError
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-12-02 20:07:03 +02:00
Fabian P. Schmidt 3731be7adf views: Ignore too-many-ancestors error for rest_framework classes (R0901)
Ignoring cases of too many ancestors in API views.py as these
are upstream, not much we can do about it.

Similar commit in db: librespacefoundation/satnogs/satnogs-db@82713517

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2019-12-01 19:51:37 +01:00
Alfredos-Panagiotis Damkalis def332ee3c Reduce SQL queries on API endpoints
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-11-28 15:39:06 +02:00
Alfredos-Panagiotis Damkalis 758c1dfc03 Fix C0111 lint issues
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-11-22 20:38:38 +02:00
Alfredos-Panagiotis Damkalis ee9ce720e7 pylint: resolve C0103 lint issues
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-10-03 10:57:29 +03:00
Vasilis Tsiligiannis d4c26d14cf pylint: Reduce 'return' statements
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-24 20:30:15 +03:00
Vasilis Tsiligiannis 2bf7e8bc1f Reformat code with 'yapf'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-23 15:17:22 +03:00
Vasilis Tsiligiannis 68f90d921c tox: Check imports with 'isort' and apply changes
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-23 14:08:11 +03:00
Alfredos-Panagiotis Damkalis e33f455fa8 Add API endpoint for creating observations
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-09-17 16:43:12 +03:00
Alfredos-Panagiotis Damkalis aa3e91fb01 Fix API viewsets and HTTP methods 2019-04-21 20:50:01 +03:00
Alfredos-Panagiotis Damkalis 9a15b3b77f Stop uploading of the same files in an observation 2019-03-12 15:31:40 +02:00
Alfredos-Panagiotis Damkalis d122eb0548 Update station position on get_jobs request 2019-02-11 13:44:21 +02:00
Pierros Papadeas fa7398ca68
Remove UUID from station and associated settings view and url 2019-01-08 16:59:23 +02:00
Pierros Papadeas 07849f20e4
Add transmitters API endpoint 2018-12-02 16:44:00 +02:00
Pierros Papadeas 1b7a6be535
Add filtering on stations API endpoint 2018-12-01 21:39:18 +02:00
Alfredos-Panagiotis Damkalis e60a785e72 Update client version on update request 2018-11-07 14:29:02 +02:00
Cory Levinson fbe246ea26 Add Station API to network.satnogs.org 2018-04-01 11:52:20 +00:00
Nikos Roussos 33fa7fff99
Limit API pagination to observation endpoint
* Duplicate data endpoint for transioning client
* Fix ObservationFactory
2017-09-17 19:40:50 +03:00
Nikos Roussos a06d6ec13a
Refactor models to remove Data table
* Add on_delete option to all ForeignKey fields
* Adjust all views
* Adjust initialize command
* Refactor tests
* Refactor API to make these changes transparent
* Adjust all templates
* UI refreshment on Observation tepmplate
* Add STRICT_TRANS_TABLES for mariadb
* Minor text changes to tle command
* Update requirements
2017-09-12 18:15:47 +03:00
Nikos Roussos 3624ddc1b0
Fix nested fields for demod payloads 2017-08-12 20:09:41 +03:00
Nikos Roussos 956cf421f8
Add filter by satellite on data endpoint 2017-06-22 15:22:23 +03:00
Nikos Roussos 7f93fd0300 Amend Data serializer to provide nested demodulated payloads 2016-04-26 20:39:47 +03:00
Nikos Roussos 56df2e1f23 Provide all settings client needs through API
* Amend Station model to include Rig and UUID (Re: #162)
* Settings API Endpoint (Re: #163)
2016-03-20 18:19:51 +02:00
Nikos Roussos 833439246b Update all requirements 2016-01-23 17:42:35 +08:00
Nikos Roussos bd00fae6bd Add Station to fix regression on API 2015-07-23 21:59:40 +03:00
Nikos Roussos cc4365969e Hide unused API endpoints 2015-07-23 18:18:10 +03:00
Nikos Roussos cb8ed897c3 Fix last_seen on jobs GET 2015-06-21 17:55:43 -07:00
Nikos Roussos 990c71cbda Update last_seen on Ground Stations on Job object view 2015-05-06 22:13:34 +03:00
Nikos Roussos 987dfa13b6 API permissions
* All endpoints are readonly
* Data endpoint allows authenticated payload PATCH from Ground Station
owners
* Jobs endpoint allows view only from Ground Station Owners
2015-05-06 11:55:54 +03:00
Nikos Roussos 42b8d12256 Update requirements (incl. Django -> 1.8) 2015-04-23 17:38:46 +03:00
Pierros Papadeas f5d9a361ed Fix future only jobs for api. 2015-02-14 23:47:31 +02:00
John Giannelos 900953b26b Add API endpoint for observation jobs. 2015-02-14 21:58:11 +02:00
John Giannelos 3055a9ef7c Enable filtering on DataView. 2015-02-14 16:15:26 +02:00
Nikos Roussos ea178a0a73 Refactor project 2014-12-19 15:06:58 +02:00