1
0
Fork 0
Commit Graph

60 Commits (b1eebfe0aee9b1833002a5dc1ba3e83f82f9b4f7)

Author SHA1 Message Date
Nikos Roussos b1eebfe0ae
Refactor vetted status
* Renamed verified to good
* Renamed no_data to bad
* Add failed status
* Remove unused data_not_verified
* Expose vetted status to API
* Simplify vetted status template markup
* Simplify vetted methods
* Utilize sass for vetted statuses
* Add option to undo vetting
2017-12-25 19:13:45 +02:00
Nikos Roussos 02f1adcaa7
Archive.org enhancements
* Keep Archive download permalink
* Fetch final url on model method
* Delete payload when archived
* Add archive.org to CSP
2017-12-19 17:17:21 +02:00
Nikos Roussos 39e61949f9
Implement archived observations UI 2017-12-19 01:11:36 +02:00
Nikos Roussos 67ad4e0d99
Add experimental support for archive.org 2017-12-17 02:15:12 +02:00
Pierros Papadeas 61d49568bf
Add future counter for observations in stations page 2017-12-12 17:28:41 +02:00
Nikos Roussos bb5fa1b508
Implement observation permissions 2017-11-26 12:40:38 +01:00
Pierros Papadeas 941a8a667a
Add parasitic lindenblad antenna type 2017-11-20 12:32:53 +02:00
Nikos Roussos 1b37650c12
Fix all bera exceptions
* Use celery tasks for fetching data
2017-11-17 16:35:35 +02:00
Pierros Papadeas 6b77df6252 Add stats and beautify stations page 2017-10-14 11:13:45 +01:00
Nikos Roussos a39792c2ef
Add celery support 2017-09-27 20:10:37 +03:00
Nikos Roussos 9fa50b7afa
Fix non-printable demod data
* Fix DemodData admin inline
2017-09-26 20:16:41 +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 3b432af769
Add support for image payloads 2017-08-27 15:47:44 +03:00
Nikos Roussos 024f71fd79
Delete media files when deleting objects 2017-08-26 01:10:47 +03:00
Corey Shields dd79cde6da New stations active by default
Change station active to default to True so that new stations are active by default.

Fixes #380
2017-08-13 09:01:18 -04:00
Corey Shields 463e727bf2 Add station description
Adds a 500 character limited station description field, displayed above the mapbox in station view.

Also fixes one errant quote in station_edit.html
2017-08-12 21:39:06 -04:00
Nikos Roussos a26c0f56a4
Add Satellite status 2017-08-12 21:56:16 +03:00
Pierros Papadeas c230e03c18
Add success rate info per satellite 2017-06-07 09:46:28 +03:00
Pierros Papadeas 180bc18e1c Update antenna types 2017-05-19 15:44:22 -04:00
Nikos Roussos 6249c4f577
Simplify prediction code
* Simplify upcoming passes code
* Simplify prediction_windows method
* Move overlap_windows method to helpers
* Don't enable profiling by default
* Temporarily increase complexity threshold
2017-03-21 16:04:02 +02:00
Corey Shields b8f336929c Add max freq range to antenna
Continue to use 'frequency' as minimum and displayed frequency. Adds a 'frequency_max' to provide a range we can use for an antenna.

fixes satnogs/satnogs-network#217
2017-03-19 08:54:14 -04:00
Corey Shields a78872f9cc Add pass details to payload frame
Stores the rising azimuth, max altitude, and setting azimuth for each payload scheduled in an observation when an observation is scheduled. This will help in comparing passes (ie: high pass vs low pass, obstructions, etc).

The view will not display anything if this data is missing, so legacy entries in the database that do not have this data will still display fine.

Fixes satnogs/satnogs-network#278
2017-03-16 19:56:22 -04:00
Nikos Roussos 50fdc96d4b Merge pull request #300 from faulteh/delete-obs-button
[Fixes #296] Delete observation button for admin when no data
2017-02-11 16:03:33 +02:00
Scott Bragg b62b5dd75d [Fixes #296] Delete observation button for admin when no data 2017-02-11 09:08:48 +11:00
Pierros Papadeas c6ca6ac1ee Rearrange data view in observation view with tabs. 2017-02-10 20:47:08 +02:00
Scott Bragg da05322095 [Fixes #303] Empty obs view caused by bug in test factories FuzzyChoice 2017-02-10 07:51:43 +11:00
Scott Bragg 0ef8aca640 [Fixes #294] Adds smarter paginator and server side good/bad/unvetted filtering to Observation list view 2017-02-06 18:49:08 +11:00
Nikos Roussos 1a7ca746bb
Add waterfall to observation data 2017-01-26 19:29:13 +02:00
Nikos Roussos 6cd1a49dd7 Merge pull request #252 from satnogs/fixtures
Fixtures and API improvements
2016-05-08 16:49:10 +03:00
Nikos Roussos 6cc56733f3 Provide better help texts on Station form fields 2016-05-08 16:47:35 +03:00
Nikos Roussos 7f61bf9582 [Re #148] Add option for adding TLEs manually 2016-05-07 19:19:41 +03:00
Nikos Roussos 15092425ce Allow empty image on Satellites 2016-05-06 11:54:59 +03:00
Nikos Roussos 28f1d29859 Add DemodData model to handle multiple demodulated payload 2016-04-25 17:59:55 +03:00
Nikos Roussos 5756d7b935 [Re #139] Satellite modal 2016-04-08 13:15:59 +03:00
Nikos Roussos 4403697fa8 [Re #229] Add a new payload field on Data model 2016-04-06 15:08:34 +03:00
Corey Shields 1a1635d8b8 Fix for has_no_data
my new function for has_no_data in the Observation model was backward
this fix returns true iff all data in an observation is marked bad,
as was originally intended
2016-04-02 13:03:55 -04:00
Corey Shields 06ff9469c2 Initial data vetting/verification system
Model change (with migration 0006) adds 3 fields to Data:
vetted_status (charfield with options for data status, default "unknown")
vetted_user (who vetted the data)
vetted_datetime (when it was vetted)

In addition, various boolean functions are added for the Data model
to check statuses. More functions are added to the Observation model
to check status of verification within an observation as well, assuming
multiple data entries in an Observation. With these, I also changed
"has_data" to "has_submitted_data" to be more specific alongside the
others.

For UX, we add a green check sign or red removal sign to the data
header in Observation view (along with green/red datetime in the footer)
if a data is verified good or bad, respectively. If there is an unknown
status, the data header is given a thumbs-up and thumbs-down button to
verify the data good or bad. These icons are only offered to is_staff,
the observation requestor, and any station owner in the observation.
These buttons trigger new URLs/functions in view:
data_verify(id)
data_mark_bad(id)
Returning the user back to the originating Observation page.

In the observation lists I changed the coloring of the ID button to be:
Future: light blue (same)
No uploaded data and/or all vetted bad data: red
Some or all unvetted data with no verified good data: orange
Some or all verified good data: green

These changes are reflected in the observations.html, home.html, and
user_detail.html templates.

solves satnogs/satnogs-network#171
2016-03-26 16:54:09 +02: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
Corey Shields b9f549cf0c Implement a configurable minimum horizon in network
This commit adds a "horizon" configuration item to stations. This
allows station owners to set a minimum horizon to avoid a noisy
or obstructed floor level.

The default minimum horizon is set to 10, which is still fairly
low for a satellite pass that could be captured but given the
appropriate setup someone may be successful setting it lower.

The horizon field is honored in both the calculation of upcoming
passes in the station view as well as excluding any "below horizon"
passes in prediction_windows.

In addition, the db migration will set a minimum horizon of "10"
for all existing stations in the network. This is the horizon that
was hard-coded for the upcoming passes view so the only change to
the end user will be the behavior of window prediction matching
the upcoming passes (along with the ability to configure their
minimum horizon, of course).
2016-03-18 21:59:59 -04:00
Nikos Roussos d60725e92f Handle no TLEs for satellites 2016-01-26 08:55:55 +01:00
Nikos Roussos 297cf1a48c Minor fixes
* Don't use namespace on urls
* Handle exception when no TLE exists
2016-01-25 23:04:49 +08:00
Nikos Roussos 789106265b Show TLEs used on Observations 2016-01-25 21:09:37 +08:00
Nikos Roussos d620b95197 Keep TLE historical data 2016-01-23 17:42:35 +08:00
Pierros Papadeas f808e6a180 Add vertical antenna type in Antenna model. 2015-10-11 18:44:59 +03:00
Nikos Roussos 36adb39dfb [Re #146] Exclude overlapped timeframe from observations 2015-09-02 18:35:07 +03:00
Nikos Roussos 3569047599 Hide Station success rate if None 2015-08-24 15:02:15 +03:00
Nikos Roussos c6ab485753 [Fixes #99] Allow user to delete Scheduled Observations 2015-08-14 21:58:54 +03:00
Nikos Roussos 5806f4f0c2 [Fixes #150] Create model for MODES and sync them from DB 2015-08-14 17:06:25 +03:00
Nikos Roussos 9e0e53cbb8 [Fixes #31] Create helper for success rates on stations 2015-08-11 12:19:10 +03:00
Nikos Roussos f63285a288 s/transponders/transmitters/ 2015-07-23 18:18:01 +03:00