1
0
Fork 0
Commit Graph

283 Commits (2a90bad4b2a39ec80a37703fe755034598d5054e)

Author SHA1 Message Date
Pierros Papadeas 2a90bad4b2
Add sentry-sdk for logging 2018-12-11 17:21:19 +02:00
Fabian P. Schmidt 221f2b6f1f Fetch TLEs only for officially assigned NORAD IDs
Due to Celestrak returning the TLE of 00005 when asked for TLEs for
satellites with NORAD IDs in the 999xx range, satellites with
temporary NORAD IDs get assigned a wrong TLE.
This commit adds a workaround by skipping satellites with temporary
NORAD IDs when updating TLEs.
2018-12-10 20:42:21 +01:00
Fabian P. Schmidt c405f781c4 Add additional TLE sources via python-satellitetle 2018-11-29 20:04:19 +00:00
Fabian P. Schmidt 8cb0f12077 fixtures: Remove duplicated satellite introduced in 50f6b93 2018-11-25 20:13:30 +01:00
Vasilis Tsiligiannis c99ac79487 Allow configuration of static and media root directories via environment variables
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-22 21:36:21 +02:00
Vasilis Tsiligiannis 96fd370157 Clean up settings and 'env-dist'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-21 13:49:16 +02:00
Corey Shields 704bc18e76 initial auth0 support for db 2018-11-18 12:55:13 -05:00
Fabian P. Schmidt cfede128e5 Remove unused satellite_position endpoint
Endpoint unused since 30dd47cc.
2018-11-12 16:06:08 +01:00
Fabian P. Schmidt 801596a60d Remove satellite progration with pyephem in satellite_postion endpoint
This endpoint is legacy as of 30dd47cc.

Fixes #234.
2018-11-12 16:06:08 +01:00
Fabian P. Schmidt d8c3c9a348 Remove unused attribute data-url from satellite view
Commit 30dd47cc remove the usage of the value in this attribute.
This commit removes the attribute itself, as it's no longer used.
2018-11-12 14:01:46 +01:00
Vasilis Tsiligiannis a138bc7d15 Fix relative paths of templates and static files directories
This makes static files and templates source paths relative to the
application instead of current working directory.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-09 19:41:12 +02: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
Pierros Papadeas c1bdf25613 Enhance email for satellite suggestions 2018-11-07 13:09:41 +00:00
Pierros Papadeas 84d4a76e88 Add counters on stats page 2018-11-07 13:09:41 +00:00
Fabian P. Schmidt 0e10569938 Update requirements
Steps performed:
```
npm install
./node_modules/.bin/gulp
```

Update of gpredict.js to 0.2.0 included, fixes #214.
2018-11-07 13:59:24 +01: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
Ansgar Schmidt f4dca9a787 Kaitai decoder for QBEE (NORAD 42708)
Signed-off-by: Ansgar Schmidt <ansgar.schmidt@gmx.net>
2018-10-30 23:05:03 +01:00
Patrick Dohmen 753be85dcd Add AMSAT FOX DUV decoder struct
Signed-off-by: Patrick Dohmen <dl4pd@darc.de>
2018-10-26 20:26:41 +02:00
Patrick Dohmen a66df2eb43 Switch frametypes on known length and opcode, ignore unknown 2018-10-21 20:58:57 +02:00
Patrick Dohmen 6c898a167c Replace the regex parsing by binary data parsing 2018-10-14 10:05:57 +02:00
Patrick Dohmen 5b7dba4d6e Add ELFIN housekeeping telemetry struct and fix endianess 2018-10-11 23:22:15 +00:00
Patrick Dohmen 34b13e2312 Remove 'str' and encoding from data field as it is not just ASCII 2018-10-11 23:34:50 +02:00
Patrick Dohmen f109edfd4a Fix python capitalization requirements 2018-10-11 19:52:46 +02:00
Patrick Dohmen f03d549f76 Add AX.25 text frame parser 2018-10-09 17:49:34 +02:00
Patrick Dohmen 410539a3e8 Change ACB sense endianess, change some signed to unsigned vals 2018-10-08 17:47:26 +02:00
Patrick Dohmen 06a44c952e Change 16 bit int values to signed 2018-10-07 11:26:23 +02:00
Patrick Dohmen 58ae85523b Change some vals to signed, add bool-flags, update doc-refs 2018-10-05 17:18:40 +02:00
Patrick Dohmen e3492aaa60 Flatten kaitai struct to get seperated json objects 2018-10-03 11:21:53 +02:00
Patrick Dohmen 88dd0b058d Update documentation on using 'process:' 2018-10-03 11:20:49 +02:00
Patrick Dohmen 141597e392 Add external process to kaitai struct to preprocess ELFIN telemetry frames 2018-10-02 23:32:04 +02:00
Alfredos-Panagiotis Damkalis fc7b7e98fa Update elfin.py decoder 2018-10-02 16:27:25 +03:00
Patrick Dohmen faaed92d63 Added checks for python 3 for compatibility.
The code to preprocess the ELFIN telemetry frames to remove escape sequences throws

```
TypeError: Odd-length string
```

when executed in a python 2 environment.

Fixes #229
2018-10-01 10:24:55 +02:00
Patrick Dohmen 0dc7a7f4db Add regex to remove escape sequences \x2727, ,\x275e and \x2793 2018-09-30 21:22:32 +02:00
Corey Shields 2300e6ff1e adding elfin decoder
Thanks to DL4PD for contributing!!
2018-09-28 17:43:00 -04:00
Fabian P. Schmidt 50f6b936c8 Add re-entered satellite LIGHTSAIL-1 to fixtures 2018-09-23 16:58:02 +02:00
Fabian P. Schmidt d915dac971 Hide map in satellite view if status of satellite is re-entered
Fixes #226.
2018-09-23 16:57:44 +02:00
Corey Shields 9cc9c352f5 DB changes to allow for network-sourced sids submissions 2018-09-03 14:19:42 -04:00
Corey Shields 9f1d7b69f9 improve kaitai display
show a message in place of the struct if the struct happens to be missing
2018-09-02 21:11:42 -04:00
Corey Shields 244cf3dd3f show kaitai structs in db 2018-09-01 11:02:14 -04:00
Corey Shields 817459cc71 decoders for skcube and strand1
Kudos to kerel!!
2018-08-31 17:06:33 -04:00
Corey Shields 3098490633 add decoder for siriussat
Decoder for siriussat, thanks to kerel!
2018-08-26 09:33:49 -04:00
Corey Shields 162c1e45d2 add recursion to the decode processes
refactored


Refactored db decoding for recursion

Should cover all cases for kaitai generated decoder files.
2018-08-25 12:04:36 -04:00
Corey Shields ad94d1bf12 keep going if a decode worker comes across a missing raw file 2018-08-19 19:15:09 -04: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
Pierros Papadeas 63b69d7746
Expose mode of transmitter in admin list 2018-08-18 13:10:57 +03:00
Pierros Papadeas 44026c120f
Expose baud rate on admin and filters 2018-08-18 10:53:52 +03: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
Corey Shields aa8c143408 Remove decoded telemetry box
Remove the decoded telemetry box, and backbone and d3 js.

fixes #224
2018-08-02 18:11:29 -04:00
Fabian P. Schmidt 5efae6745f about page: Fix link to documentation
The link to the db was updated.
This fix was already done to the README in d6b959d.
2018-07-15 14:51:02 +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