Alfredos-Panagiotis Damkalis
2e13954fef
Increase cache time and update interval for stats
...
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-02-07 16:27:43 +02:00
Alfredos-Panagiotis Damkalis
b31d40809f
Fix race condition in DemodData decoding
...
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-09-27 22:43:44 +03: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
Alfredos-Panagiotis Damkalis
e2b916f3ed
Add task for fetching and saving TLE sets
...
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-11 15:11:51 +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
Alfredos-Panagiotis Damkalis
4891efd75e
Remove old exported framesets from filesystem
...
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-05-20 18:14:23 +03:00
Vasilis Tsiligiannis
e9334d89e1
tox: Bump environment dependencies version
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-03-28 22:43:08 +02:00
Vasilis Tsiligiannis
fc90760e7c
pylint: Remove W0603 warning on 'args' and 'kwargs', remove unused Python 2 configuration
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-02 01:49:51 +03:00
Corey Shields
61f9137aae
Fix celery cyclical dependency
...
Fixes the cyclical dependency between celery.py and tasks.py when update_all_tle is called outside of celery by switching to autodiscovered tasks
Signed-off-by: Corey Shields <cshields@gmail.com>
[acinonyx@openwrt.gr: use @shared_task decorator and wrapper tasks to workaround celery bug]
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-08-19 01:13:28 +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
3596ebfb9f
flake / lint fixes
...
Signed-off-by: Corey Shields <cshields@gmail.com>
Fix some spacing issues brought up in a full tox run (that were not identified in my prior linting flows)
2019-07-17 09:26:13 -04:00
Corey Shields
0d4701b100
linting W0612, W0613
...
Mostly disabling the alerts on django signals and filter attributes that go unused.
Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-13 16:24:43 -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
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
Corey Shields
f8496b5899
use cached payload count in satellite view
2019-01-06 15:40:54 -05: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
Corey Shields
4a3eaf90ee
remove opbeat from db
...
opbeat is no longer in service, so our attempts to send data to them just clutters our logs with failures.
See also librespacefoundation/ops/org/#2
2018-08-03 16:38:51 -04:00
Nikos Roussos
37598fc74d
Switch from dotenv to decouple
2018-01-06 13:25:23 +02:00
Nikos Roussos
fc8e8531e6
Cache statistics through a celery task
2017-11-13 12:27:24 +02:00
Nikos Roussos
391d8fa3f0
Fix celery timezones
2017-09-08 18:42:38 +03:00
Nikos Roussos
d1d6f07139
Enable opbeat logging on Celery tasks
2017-05-31 21:18:03 +03:00
Nikos Roussos
a50c975745
Add dotenv on celery
2017-05-29 16:33:47 +03:00
Nikos Roussos
05d2defafe
Simplify settings
2017-05-08 18:22:20 +03:00
Nikos Roussos
caff9ca794
Fix celery settings config
2017-04-23 12:42:15 +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