1
0
Fork 0
Commit Graph

194 Commits (68f90d921ce268ebe95d81b8ec74d320625373da)

Author SHA1 Message Date
Corey Shields e12313d006 Merge pull request #240 from cshields/satmodal_everywhere
Adding satellite modal links everywhere
2016-04-24 17:26:54 -04:00
Corey Shields 2f23bba762 Adding satellite modal links everywhere
The satellite modal that was tested in the observation view works
great! This commit adds the similar link everywhere else a
satellite is listed in a table so we have a consistent UX.

In the observation view there is only one satellite referenced,
making the modal a 1:1 mapping. As there are multiple satellites
in the table view we pull this modal in multiple times. To cut
down on possible load times getting out of hand I'm limiting the
number of rows you'll see in the home page and observations view.

I don't quite feel this iterative import approach is the best.
Feel free to decline this if there is a better way (.js it?)
2016-04-24 17:13:49 -04:00
Nikos Roussos bf0a252fd1 Merge pull request #243 from satnogs/validation
[Re #186] Add some basic validation to Station form
2016-04-24 13:37:32 +03:00
Nikos Roussos 586bf9e102 [Re #196] Add some basic validation for Observation datetimes 2016-04-23 20:14:50 +03:00
Nikos Roussos aaef6bbb4e [Re #186] Add some basic validation to Station form 2016-04-23 18:05:57 +03:00
Nikos Roussos e4122d5a0c Add selector for prefilling satellite on new observations 2016-04-08 13:14:19 +03:00
Nikos Roussos 8cb165888f Filter observations by satellite 2016-04-08 01:05:50 +03:00
Nikos Roussos 6bee63ae2f UI changes on Data panels 2016-03-26 16:54:10 +02: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
Nikos Roussos 3c8d7ac53a Merge pull request #218 from cshields/config_horizon
Implement a configurable minimum horizon in network
2016-03-20 18:05:17 +02:00
Corey Shields aac2970a67 Fix for duplicate entries in upcoming observations
Due to a bug in pyephem when a satellite is overhead it will be
returned as a "next_pass" but with a mix of data between the
current and true next passes. This change tosses out any pass
that is currently overhead from being listed in the "upcoming
observations" list of station view. This should have no adverse
impact to the user as we are assuming the list to be "upcoming"
and not include what is currently overhead, nor would SatNogs be
able to schedule anything currently overhead.

fixes satnogs/satnogs-network#199
2016-03-19 16:45:13 -04: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
Rob Berwick ef2a39d5f6 Remove invalid properties from SatelliteFactory 2016-02-20 17:55:04 +00:00
Nikos Roussos f048e333e8 Fetch TLEs on Site Settings 2016-01-26 17:05:17 +02:00
Nikos Roussos b0522d3b47 Handle all TLE exceptions 2016-01-26 15:52:06 +02: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
Corey Shields 7a30312c91 Next satellites to pass for station view
This change sends all of the upcoming "next passes" for
satellites with operational transmitters to the station_view. In
addition the pass must be at or above 10 degrees and within the
next 6 hours (maybe we want this to be configurable later?).

These are passed as the "nextpasses" array, an array of dicts for
each pass that include the pass details and satellite name & id,
sorted by rise time.

Also adds upcoming passes to station_view

When loading a station, show a table of the upcoming satellite
passes
2015-11-20 18:50:32 +02:00
Nikos Roussos 6601a2da11 Fix multiple overlaps 2015-09-21 18:57:44 +03:00
Nikos Roussos 36adb39dfb [Re #146] Exclude overlapped timeframe from observations 2015-09-02 18:35:07 +03:00
Nikos Roussos f204d36fb2 Show Observation discussion only on production 2015-09-02 18:34:37 +03:00
Nikos Roussos eb692f433f [Re #140] Add Discussion button on Observations 2015-09-02 18:23:07 +03:00
Nikos Roussos 3719805cde Add ability to delete a Ground Station 2015-08-24 15:13:59 +03:00
Nikos Roussos c6ab485753 [Fixes #99] Allow user to delete Scheduled Observations 2015-08-14 21:58:54 +03:00
Nikos Roussos 9e0e53cbb8 [Fixes #31] Create helper for success rates on stations 2015-08-11 12:19:10 +03:00
Nikos Roussos f3bff2451d Add Stations serialized view for home map 2015-08-11 11:31:03 +03:00
Nikos Roussos f63285a288 s/transponders/transmitters/ 2015-07-23 18:18:01 +03:00
Nikos Roussos 5760c6a459 Add site settings for fetching data 2015-07-22 14:16:15 +03:00
Nikos Roussos e8e5bf34a3 Add robots and custom 404/500 pages 2015-07-21 11:42:23 +03:00
Nikos Roussos 192959f3d2 Fix Satellite list on observations 2015-06-25 15:19:22 -07:00
Nikos Roussos 3845cf998d Keep working even if no featured station exists 2015-05-11 20:05:31 +03:00
Nikos Roussos 3ea0da8933 Add last_seen feature to Ground Stations 2015-05-06 11:54:20 +03:00
Nikos Roussos 5dce60c854 Add settings for min/max observations datetimes 2015-04-23 19:03:22 +03:00
Nikos Roussos 54bf12f6e3 Catch prediction window exceptions
* In case an observer doesn't pick a valid satellite
* In case there is no valid observation window
2015-04-23 17:40:04 +03:00
Nikos Roussos 1d8b7c40ff [Fixes #85] Always use timezone aware datetimes 2015-04-23 17:40:04 +03:00
Nikos Roussos fe358ae01e Add Mapbox settings to env 2015-04-11 20:32:44 +03:00
Nikos Roussos 41b850c466 Exclude Satellites with no Transponders 2015-02-03 22:55:14 +02:00
Nikos Roussos fca9008a26 Bring new form under the project structure 2014-12-19 16:46:31 +02:00
Nikos Roussos 44e37d3651 Add new Station form to Stations view 2014-12-19 16:26:33 +02:00
Nikos Roussos 2976bd5d4e Prepopulate edit Station form 2014-12-19 16:26:32 +02:00
Nikos Roussos 37b5f1bb1a Refactor Edit/Add Station form 2014-12-19 16:11:44 +02:00
Nikos Roussos ea178a0a73 Refactor project 2014-12-19 15:06:58 +02:00