1
0
Fork 0
Commit Graph

42 Commits (master)

Author SHA1 Message Date
Fabian P. Schmidt 97dc4e0652 Update 'satellitetle' dependency
v0.8.0 -> v0.8.1

Fixes broken TLE update due to trailing newline in AMSAT TLE source.

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2019-12-19 11:51:05 +01:00
Fabian P. Schmidt f72bd9a3f3 Update 'satellitetle' dependency
Move 'satellitetle' from 0.7.0 to 0.8.0,
fixes update_satellite management command and update_all_tle task for
satellites which are not part of any list in celestrak but available
via the Celestrak satcat/tle.php endpoint (currently only NARSSCube-1).

Both commands use `fetch_tle_from_celestrak` (directly and indirectly),
which was broken due to an API change by Celestrak.

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2019-12-01 19:41:49 +01:00
Corey Shields 72e5d728a2 Django 2.2(.6) upgrade
This change bumps DB up to django 2.2.6 and resolves dependencies.  No migrations are necessary.  I've tested in my own environment, time to test in db-dev!

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-10-14 02:59:52 -04:00
Corey Shields e7e400e49a Revert "Django 2.2(.6) upgrade"
This reverts commit 8cae425ac9
2019-10-12 14:55:37 +00:00
Corey Shields 8cae425ac9 Django 2.2(.6) upgrade
This change bumps DB up to django 2.2.6 and resolves dependencies.  No migrations are necessary.  I've tested in my own environment, time to test in db-dev!

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-10-10 19:17:23 -04:00
Vasilis Tsiligiannis 8710a2df3b Install and enable Django Debug Toolbar when in debug mode
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-10-07 23:35:42 +03:00
Vasilis Tsiligiannis 9a5f58864e Generate OpenAPI schema
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 22:50:14 +03:00
Vasilis Tsiligiannis 59c3078872 Ignore 'node_modules' for 'flake8', 'isort' and 'yapf'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 19:54:38 +03:00
Alfredos-Panagiotis Damkalis 281913e9f6 Add tox as dev dependency
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-09-25 19:10:05 +03:00
Patrick Dohmen 8c340d9e78 satnogs-decoders: pin version to ~=1.0
Signed-off-by: Patrick Dohmen <dl4pd@darc.de>
2019-09-24 18:42:12 +02:00
Vasilis Tsiligiannis 25059fbeac Update all dependencies
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-22 21:53:50 +03:00
Vasilis Tsiligiannis 8f3666c2a6 Use new name of 'satnogs-decoders' package
'satnogsdecoders' has been renamed to 'satnogs-decoders'.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-22 13:29:17 +03:00
Corey Shields cacef2a91e python3 - finally
Switch from python2 to python3 container

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-09-01 13:02:28 -04:00
Vasilis Tsiligiannis 26662074e5 isort: Declare 'factory' as a third-party import
* Apply changes based on new configuration
* Enable 'C0411' pylint checking

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-07-17 17:51:53 +03:00
Corey Shields dc06369f9a Update celery and dependencies
celery needed updating to avoid a 3.7 bug (see https://github.com/celery/celery/issues/4500 )

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-10 19:55:48 +02:00
Fabian P. Schmidt 723fa19ebb Update 'satellitetle'
In the 0.6.0 release the main CelesTrak source was changed from
'Satellites (active)' to the new 'SatNOGS' list. This list is
composed by CelesTrak by fetching the list of satellites
from satnogs-db.

This doesn't introduce a circular dependency:
As before, if a TLE is not available from the main collections
(which beside the previously discussed CelesTrak list includes
another from AMSAT and CalPoly), the CelesTrak SATCAT API is
questioned for each missing satellite separately.

Signed-off-by: Fabian P. Schmidt <kerel-fs@gmx.de>
2019-07-05 01:58:34 +02:00
Vasilis Tsiligiannis 45abdcd33a tox: Move 'isort' skip lists to 'setup.cfg'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:25:40 +03:00
Vasilis Tsiligiannis cb2c4899a9 tox: Move 'flake8' ignore list to 'setup.cfg'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:03:25 +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
Vasilis Tsiligiannis f0856840f7 Update requirements, fix 'urllib3' version conflict
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-26 15:06:21 +03:00
Vasilis Tsiligiannis a14b2fda6e Update 'django-redis-cache' and 'sentry-sdk'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-03-14 00:07:15 +02:00
Vasilis Tsiligiannis bbdeeead97 Update 'gunicorn' with 'eventlet' extra, update dependencies
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-03-13 21:34:41 +02:00
Vasilis Tsiligiannis fa88e3bf51 flake8: Ignore versioneer and all migrations
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 18:14:10 +02:00
Vasilis Tsiligiannis 877f983075 Update development requirements, refresh requirement files
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:39:00 +02:00
Vasilis Tsiligiannis 479e3a2267 Move 'pytest' config in 'setup.cfg', add 'pytest' tox environment
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:39:00 +02:00
Vasilis Tsiligiannis ef76c1eb5a Add 'dev' extras
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:39:00 +02:00
Vasilis Tsiligiannis def0457c61 flake8: Move exclusion of versioneer to 'setup.cfg', ignore W504
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:38:59 +02:00
Vasilis Tsiligiannis 2bbb276be9 Install 'redis-py' version which is supported by 'django-redis-cache'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-03 00:05:20 +02:00
Vasilis Tsiligiannis 98daf161a6 Remove unused dependencies, refresh requirements file
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-03 00:05:20 +02:00
Vasilis Tsiligiannis 93baff1e1e Add missing 'sgp4' requirement
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-12-30 14:07:28 +02:00
Vasilis Tsiligiannis 0afdb0c19e Move 'sentry-sdk' under logging section in setup configuration
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-12-30 14:07:28 +02:00
Vasilis Tsiligiannis 4f1fb5fe6d Add missing 1st level dependencies in 'setup.cfg', update and freeze new lower level deps in 'requirements.txt'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-12-15 17:16:29 +02:00
Corey Shields 04b8f815c7 case LOGIN_URL for AUTH0
Signed-off-by: Corey Shields <cshields@gmail.com>

The auth0 change forces an auth0 LOGIN_URL. This fixes that with an if statement

See also https://gitlab.com/librespacefoundation/satnogs/satnogs-db/issues/248
2018-12-15 09:33:20 -05:00
Fabian P. Schmidt 923b6780bd Update satellitetle dependency (2)
Restores consistency.
2018-12-11 01:27:28 +01:00
Fabian P. Schmidt c405f781c4 Add additional TLE sources via python-satellitetle 2018-11-29 20:04:19 +00:00
Vasilis Tsiligiannis 1a037d875c Use decoders from 'satnogsdecoders' package
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-08 00:29:20 +02:00
Vasilis Tsiligiannis 88ce67c062 Add requirements on 'satnogs-db' package
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-06 13:32:43 +02:00
Vasilis Tsiligiannis 4d08cdb6e4 Create an initial 'satnogs-db' package with no requirements specified
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-06 13:32:43 +02:00
Corey Shields 8527564089 kaitai decoding and influxdb support
Introduces the following:

- decoding of DemodData through decoders that are compiled from kaitai structs and stored in base/decoders/*.py

- storage of the decoded data will either be in the payload_decoded field (default) or into influxdb if USE_INFLUX=True and the proper settings are met

- A scheduled task is set */15 to look for the last 4 hours of submitted frames for anything not decoded, and then decodes it. (we will want to tweak these numbers as we get a good feel for any race conditions that may occur)

- 2 new commands in the admin console, one that will reset all decoded data for a satellite, and another that will trigger decoding of all frames in the db for a satellite. These could be useful when making fixes or improvements to a decoder, or when a new decoder is initially added to the db.
2018-08-18 20:53:21 -04:00
Nikos Roussos 4608c000f6
Exclude documentation from tests 2017-03-13 20:04:52 +02:00
Nikos Roussos 6828eb315b Initial commit 2015-04-22 18:10:13 +03:00