1
0
Fork 0
Commit Graph

227 Commits (da58d39357475a71315bd7726f81107657a080bb)

Author SHA1 Message Date
Ansgar Schmidt 81549264cf Adding UTC in header, fixing #267
Signed-off-by: Ansgar Schmidt <ansgar.schmidt@gmx.net>
2019-02-12 11:27:25 +01:00
Corey Shields a05a614dd9 hack our way around the django cache
Signed-off-by: Corey Shields <cshields@gmail.com>

In django cache we are storing a full queryset of the satellites with their data count and last payload time. By trying to filter on this (sat_cache = sats_cache.filter(norad_cat_id=norad)) we cause django to re-evaluate the queries for that specific satellite. For CAS-4a this results in 2 queries that exceed 5 mins each.

This does not impact the /stats/ page as it iterates through the whole list of satellites in cache. This change mimics that behavior to find the satellite cache we care about in the template.  Its a huge hack but its the only way we can show a count and bring the page view back for !237 quickly...  This needs refactoring, big time..

I also pulled an unused has_telemetry_data which caused a db count

This leaves behind a query to pull the last payload to show who submitted the last payload, as without this query there is no connection between the cached satellite info and the actual observer (because the /stats/ page was not meant to make that connection). If this query continues to be prohibitive we may just need to remove the "last frame submitted by.." blob.
2019-01-12 14:00:59 -05:00
Pierros Papadeas a8f5e53647 Add UI for transmitter UUID 2019-01-07 18:21:39 +00:00
Pierros Papadeas c2efc8cee2
Use case for home page statistics 2019-01-07 14:23:12 +02:00
Corey Shields f8496b5899 use cached payload count in satellite view 2019-01-06 15:40:54 -05:00
Pierros Papadeas afd69f13ac
Remove unused view counts from Satellite view 2019-01-06 10:38:50 +02:00
Pierros Papadeas a1d8357763
Change model of transmitter to include drift and type 2018-12-25 21:15:18 +02:00
Corey Shields 2277dd5f97 fix logouturl
Auth0 logout does not clear the session. This fixes.

Signed-off-by: Corey Shields <cshields@gmail.com>
2018-12-15 16:10:17 +00:00
Pierros Papadeas 1a84e97c6c
Add wiki link to header 2018-12-15 12:43:28 +02:00
Pierros Papadeas bc878d2419
Remove stats counters 2018-12-13 11:07:49 +02:00
Corey Shields 704bc18e76 initial auth0 support for db 2018-11-18 12:55:13 -05: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
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 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 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 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 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
Fabian P. Schmidt 83562a7a54 Set maxlength to 255 for citation url input 2017-11-16 09:45:47 +00:00
Nikos Roussos f3a1735c35
Minor cosmetic changes to mapbox-gl refactor
* Fix indentation typos
* Remove console.log instances
* Update package.json with mapbox-gl changes
2017-11-13 18:47:21 +02:00
Fabian P. Schmidt 050df7ff4d
Remove unused mapbox-js libary import 2017-11-13 18:07:14 +02:00
Fabian P. Schmidt 2094426f8f
Remove unused mapbox_map_id 2017-11-13 18:07:14 +02:00
Fabian P. Schmidt 30dd47cc3d
Remove unncessary ajax call from satellite view 2017-11-13 18:07:14 +02:00
Fabian P. Schmidt 861782ce35
Add mapbox-gl.js 2017-11-13 18:07:14 +02:00
Nikos Roussos fc8e8531e6
Cache statistics through a celery task 2017-11-13 12:27:24 +02:00
Corey Shields 4e4247fcbc Add a link to the observations page on network
from the satellite view I want to quickly get to the observations page for that satellite on network. This link does the trick.
2017-10-21 18:51:30 -04:00
Hugh Brown (Saint Aardvark the Carpeted) 7cab0a6bc0 Update github links to gitlab 2017-10-06 19:48:32 -07:00
Nikos Roussos bae488a7ea
Update configuration for Gitlab transition
* Add CI config
* Update README
* Remove Changelog (moving to CD)
* Split docker to dev and test
2017-09-08 18:42:21 +03:00
Nikos Roussos 6aa5b4fe77
Replace bower with yarn 2017-09-08 18:27:16 +03:00
Nikos Roussos 9026ba0943
Show telemetry frames on all devices 2017-09-03 21:18:37 +03:00
Fabian P. Schmidt 5dc27ec994
Add gpredict.js for showing satellites orbits 2017-08-14 18:17:37 +03:00
Eleftherios Kosmas 45d06383a0 Updated faq.html
Fixed URL to New Community Forum
2017-07-22 15:39:32 +03:00
Nikos Roussos d72c438e55
Fix UI for satellites with no frames 2017-05-29 19:03:25 +03:00
Nikos Roussos 48fe087c4c
Add period on export frames
* Add a new panel for telemetry frames
2017-05-28 22:23:17 +03:00
Nikos Roussos da4372643d
Add description field on Satellites 2017-05-17 00:22:04 +03:00
Nikos Roussos 6331f9e6f7
Fix homepage stats spacing 2017-05-10 12:56:44 +03:00
Nikos Roussos edbae9237d Merge pull request #173 from satnogs/status
[Fixes #129] Track satellite status
2017-05-08 19:10:34 +03:00
Roboneet 9313ee8231
[Fixes #129] Track satellite status 2017-05-08 18:53:39 +03:00
Pierros Papadeas d3289869e5 Add payload count on front page 2017-05-06 21:38:09 +03:00
Nikos Roussos e8892d4b59
Add task to export satellite frames on csv 2017-05-04 22:12:08 +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
Nikos Roussos 091a4bce3e
Check in bower main files
* Use gulp for handling static and testing
* Remove django-bower
2017-03-30 21:05:05 +03:00
Pierros Papadeas 86190ca581 Add total count of payloads in stats page 2017-03-25 23:51:08 +02:00
Nikos Roussos 7be4efa8f1 Merge pull request #148 from satnogs/enhancements
Enhancements
2017-03-25 19:27:13 +02:00
Nikos Roussos 632b1adf89
Calculate Satellite position from local TLEs
* Refresh satellite position in real time
2017-03-25 16:52:01 +02:00
Nikos Roussos d602f27931
Update home page UI 2017-03-25 14:39:55 +02:00
Pierros Papadeas b18a43ac47 Counts of payloads on satellite page 2017-03-25 02:35:17 +02:00
Pierros Papadeas 33aee31793 Add latest datetime on payloads 2017-03-23 18:44:45 +02:00
Nikos Roussos 5c58347919
Fix analytics static files 2017-03-22 12:36:31 +02:00
Pierros Papadeas 0ce757a54f Add payload statistics on stats page 2017-03-21 18:23:30 +02:00
Nikos Roussos c5157cd450
Add API Key Tokens 2017-03-02 19:57:12 +02:00
Nikos Roussos 2c48c02cfd
Simplify GA code 2017-02-22 17:39:26 +02:00
Nikos Roussos 3c65aaebfc
Add CSP support 2017-02-21 19:22:39 +02:00
Nikos Roussos d8c6fe35f7
Add dnd-helper for Do-Not-Track 2017-02-21 19:22:14 +02:00
Nikos Roussos 1db7dad819
Add stylelint 2017-02-12 19:47:28 +02:00
Fabian P. Schmidt 7f8b84980c Show only the first five transmitters in satellite list
Fixes #106.
2017-02-01 10:54:26 +01:00
Nikos Roussos cb2b6a43b9
Hide Telemetry block when Satellite has no relevent data 2017-01-28 22:56:03 +02:00
Nikos Roussos 0f4e0f548f
Add map for Satellite current position
* minor UI adjustments on Satellite view
2017-01-28 22:52:19 +02:00
keikreutler 46013fcc8a
Updated no telemetry data available display state and set default telemetry data date range to the previous week. 2017-01-05 15:49:30 +02:00
keikreutler 323a1a4b17
Added display state for when no telemetry data is available. 2017-01-05 15:49:30 +02:00
keikreutler 4839647c56
Add bootstrap daterangepicker for telemetry 2017-01-05 15:49:30 +02:00
keikreutler 7d980359d8
Updated to sort telemetry data by datetime, moved telemetry data API call to collection for sorting, and clarified variables. 2017-01-05 15:49:02 +02:00
keikreutler 9d01e58fef
Readded status indicator to graph, adjusted y axis domain to account for negative ranges. 2017-01-05 15:49:01 +02:00
keikreutler e1d6273eea
Removed custom hover function 2017-01-05 15:49:01 +02:00
keikreutler 3bb519421d
Removed status option from telemetry graph menu list 2017-01-05 15:49:01 +02:00
keikreutler f7aa39dbf7
Added unit to Y axis label on telemetry graph 2017-01-05 15:46:52 +02:00
Pierros Papadeas 84b5d7e8e0 Add stats visualizations.
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2016-11-26 16:43:44 +02:00
Nikos Roussos b509e87c82
[Re #86] Increase frq precision and tooltip 2016-11-11 17:32:30 +02:00
Nikos Roussos 193760e1ef
Update requirements
* Move bower requirements on bower.json
2016-10-28 21:25:33 +03:00
Nikos Roussos d6cffa245e Bower cleanup changes
* Move existing frontend libraries to bower
* Add bower support to Docker
* Move bowser_components to lib
2016-08-11 14:51:58 +03:00
keikreutler c442537d6a Created telemetry-descriptors menu using Backbone 2016-08-11 14:50:58 +03:00
keikreutler 4e904d4dc0 Moved Javascript file includes to satellite.html template 2016-08-02 15:23:58 +02:00
keikreutler bf9b3505a1 Redesigned DOM structure on satellite.html template. 2016-08-02 14:56:16 +02:00
keikreutler 2120608fd2 Installed django-bower package and included Underscore, Backbone, and D3 components. 2016-08-02 14:44:27 +02:00
Nikos Roussos a6a9a94a8a [Re #78] Indicate inactive transmitters 2016-05-06 23:34:35 +03:00
requires.io 5b0fe34c52 Dependencies update 2016-02-08 14:44:24 +02:00
Nikos Roussos f50845066b [Re #60] Fix suggestion modals for multiple transmitters 2015-09-27 09:59:48 -04:00
Nikos Roussos 40708cb9ac Fix home grid 2015-09-27 09:59:21 -04:00
Nikos Roussos 5bfe690cee Grid fix
* Add loop check for rows on home page
2015-09-19 18:19:40 +03:00
Nikos Roussos d2a986e4b1 Gray out original values on suggestions 2015-09-18 12:47:14 +03:00
Nikos Roussos 40b6d72817 Add Citation to frontend suggestions 2015-09-18 00:27:55 +03:00
Nikos Roussos 62e48dc659 [Re: #52] Email admins on new suggestion 2015-09-17 15:59:09 +03:00
Nikos Roussos 853a43a5ff [Re: #37] Add suggestions to frontend for admins 2015-09-17 15:27:53 +03:00
Nikos Roussos a3ce00c956 Compress static files 2015-09-15 13:32:07 +03:00
Nikos Roussos 446a439726 Make satellite filtering case insensitive (Re: #51) 2015-09-09 00:02:19 +03:00
Nikos Roussos 0f7791087b UI changes on satellite view
* Show (bigger) image
* Show additional names
* Hide empty transmitter fields (Re: #19)
2015-09-08 23:56:59 +03:00
Nikos Roussos a0c696d39f Fix mode selection on form 2015-08-25 17:18:15 +03:00
Nikos Roussos 2ba3b7fe53 Fix mobile UI 2015-08-16 13:31:45 +03:00
Nikos Roussos 7b0e8cee7d [Fixes #43] Redesign homepage 2015-08-12 23:31:25 +03:00
Nikos Roussos ac441be80d Show all satellites on home view 2015-08-11 12:50:48 +03:00
Nikos Roussos b433bc6238 s/transponders/transmitters 2015-07-23 15:48:58 +03:00
Pierros Papadeas 26359a6062 Change transponder to transmitter on UI. 2015-07-22 17:49:33 +03:00
Alfredos-Panagiotis Damkalis aa54a34632 Fix typo in FAQ template page 2015-07-21 22:38:09 +03:00
Nikos Roussos c99d3823bc Fix typo 2015-07-21 11:44:11 +03:00
Nikos Roussos 6d31d9e991 Add robots.txt 2015-07-17 20:56:23 +03:00
Nikos Roussos 7fa5f55f50 [Fixes #25] Notify user when their suggestion is approved 2015-07-17 20:56:11 +03:00
Nikos Roussos 5b9d5d21b1 Small text changes 2015-07-17 20:23:09 +03:00
Nikos Roussos 5cae7503cb Add custom 404/500 pages 2015-07-17 20:21:35 +03:00
Nikos Roussos 8b36918c67 Hide suggestions if None 2015-07-15 14:12:47 +03:00
Pierros Papadeas ecd4718be2 Merge pull request #24 from satnogs/fix-frq-tag
Fix frq tag filter usage.
2015-07-15 14:02:48 +03:00
Nikos Roussos 1c5526ca87 Mv favicon to static root 2015-07-15 12:36:48 +03:00
Pierros Papadeas 9ecd6cf165 Fix frq tag filter usage. 2015-07-15 11:19:02 +03:00
Nikos Roussos 416320e859 [Fixes #20] Show pending suggestions counter per Satellite 2015-07-14 20:20:06 +03:00
Nikos Roussos 36468cb59e Hide home stats from mobile 2015-07-12 19:09:41 +03:00
Nikos Roussos 25ca9c507d Show total suggestions on homepage 2015-07-12 19:09:27 +03:00
Nikos Roussos 824b3c1d8a [Fixes #16] Add frq filter to display MHz 2015-07-11 21:26:49 +03:00
Nikos Roussos f4b3ec8dbe Fix stage notice 2015-07-11 21:26:49 +03:00
Nikos Roussos b3e404f6fb Add active template tag 2015-07-11 21:26:49 +03:00
Nikos Roussos 1aca09a0e1 Merge pull request #15 from satnogs/14-fix-title
Fix issue 14 titles of account templates.
2015-07-08 12:24:25 +03:00
Eleftherios Kosmas 72bf17ebe1 Fix about text errors 2015-07-08 12:12:12 +03:00
Pierros Papadeas 188d2b481f Fix issue 14 titles of account templates. 2015-07-08 12:07:34 +03:00
Nikos Roussos 9e420d0fca Add suggestions approval admin action 2015-07-07 15:09:34 +03:00
Nikos Roussos 680a708f79 Add FAQ 2015-07-07 15:09:02 +03:00
Nikos Roussos ad2c80b157 Simplify suggest template 2015-06-11 00:17:09 +03:00
Nikos Roussos 7c0b11faf8 Add about page 2015-06-11 00:16:52 +03:00
Eleftherios Kosmas 67de05deaa Updated home.html
Fixed some minor spelling errors
2015-05-17 00:58:08 +03:00
Nikos Roussos ec456995e9 Add context processors
* Analytics
* Stage notice
2015-05-10 13:53:58 +03:00
Nikos Roussos 5c4937f9ed Make citation required 2015-05-09 11:38:50 +03:00
Nikos Roussos 4c8dc5611e Expose all Transponder data on template 2015-05-03 23:23:52 +02:00
Nikos Roussos ef0c37c29a Relax citation field url validation 2015-04-26 17:30:33 +03:00
Nikos Roussos facc1f4d35 Prevent search from displaying local history 2015-04-26 17:27:54 +03:00
Nikos Roussos 4d4662f509 Inherit Transponder model for Suggestions 2015-04-25 21:51:25 +03:00
Nikos Roussos 2134f44b49 First iteration on suggestions forms 2015-04-25 19:47:22 +03:00
Nikos Roussos 1befe28bb1 Expose Transponders only to API 2015-04-25 18:17:59 +03:00
Nikos Roussos 6828eb315b Initial commit 2015-04-22 18:10:13 +03:00