mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-09 03:51:41 +00:00
Replace "WAB/WAI GRID" as a location source. Closes #116
This commit is contained in:
@@ -21,6 +21,7 @@ info:
|
||||
* **Breaking change:** Removed `cleanup` from `/status` response
|
||||
* **Breaking change:** in the `/options` response, renamed `spot_sources` and `alert_sources` to `spot_providers` and `alert_providers`
|
||||
* **Breaking change:** A user's QRZ.com and HamQTH credentials are now supplied as request headers (`X-QRZ-Username`, `X-QRZ-Password`, `X-QRZ-Session-Key`, `X-HamQTH-Username`, `X-HamQTH-Password`, `X-HamQTH-Session-ID`) rather than query parameters, to keep credentials out of server logs.
|
||||
* **Breaking change:** "WAB/WAI GRID" as a location source has been renamed to just "GRID", and also applies to Tiles on the Air spots and grid references from cluster spot comments.
|
||||
* POST `/spot` now supports Google reCaptcha and (if the site owner has set it up) now requires `captcha_token` in order to successfully submit. (This is used to lock down the submit function and prevent submission via Spothole by bots or third-party clients.)
|
||||
* GET `/options` now returns `spot_submit_providers`, a map of SIG names to the names of providers that support upstream spot submission for that SIG. (This allows clients to present the user with options of where a new spot can be sent to.)
|
||||
* Added `sig_ref_data_providers`, `static_data_providers` and `callsign_data_providers` to `/status` response
|
||||
@@ -947,7 +948,7 @@ components:
|
||||
enum:
|
||||
- SPOT
|
||||
- "SIG REF LOOKUP"
|
||||
- "WAB/WAI GRID"
|
||||
- "GRID"
|
||||
- "HOME QTH"
|
||||
- DXCC
|
||||
- NONE
|
||||
@@ -1075,13 +1076,21 @@ components:
|
||||
Where we got the DX location (grid/latitude/longitude) from. If this was from the spot
|
||||
itself, or from a lookup of the SIG ref (e.g. park) it's likely quite accurate, but if
|
||||
we had to fall back to QRZ lookup, or even a location based on the DXCC itself, it will
|
||||
be a lot less accurate.
|
||||
be a lot less accurate. "SPOT" indicates the location source was the spot itself from the
|
||||
spotting service. "SIG REF LOOKUP" indicates that the spot didn't provide a location,
|
||||
but we looked it up from reference data. "GRID" indicates that the spot provided some
|
||||
location data such as a Maidenhead, UK Ordnance Survey or Irish grid reference, but the
|
||||
location is likely less accurate than "SPOT". "HOME QTH" indicates we looked up the DX
|
||||
operator's given location from their QRZ.com or HamQTH profile, which might be
|
||||
accurate unless they have a callsign prefix or suffic. "DXCC" indicates we have
|
||||
nothing to go on but the country their callsign says they're from. Finally, "NONE"
|
||||
indicates there is no location data at all.
|
||||
$ref: "#/components/schemas/LocationSourceForSpot"
|
||||
dx_location_good:
|
||||
type: boolean
|
||||
description: >
|
||||
Does the software think the location is good enough to put a marker on a map? This is
|
||||
true if the source is "SPOT", "SIG REF LOOKUP" or "WAB/WAI GRID", or alternatively if
|
||||
true if the source is "SPOT", "SIG REF LOOKUP" or "GRID", or alternatively if
|
||||
the source is "HOME QTH" and the callsign doesn't have a slash in it (i.e. operator
|
||||
likely at home).
|
||||
example: true
|
||||
|
||||
Reference in New Issue
Block a user