From 0cfe92db01af0f4b81a2ec79f7eda068acfb98b1 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sun, 27 Sep 2026 14:11:42 +0100 Subject: [PATCH] Tiles submission should be on anyway since we did test that with the team when they added their API --- providers/spot/tiles.py | 3 +-- templates/add-spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 ++-- templates/base.html | 10 +++++----- templates/conditions.html | 2 +- templates/map.html | 4 ++-- templates/spots.html | 4 ++-- templates/status.html | 2 +- 9 files changed, 16 insertions(+), 17 deletions(-) diff --git a/providers/spot/tiles.py b/providers/spot/tiles.py index fcfd441..3c7edc9 100644 --- a/providers/spot/tiles.py +++ b/providers/spot/tiles.py @@ -84,9 +84,8 @@ class Tiles(HTTPSpotProvider): new_spots.append(spot) return new_spots - # Upstream spotting disabled until properly tested def can_submit_spot(self, activity): - return False # return activity == ActivityName.TILES + return activity == ActivityName.TILES def submit_spot(self, spot, credentials): # Tiles on the air currently only supports *self* spots diff --git a/templates/add-spot.html b/templates/add-spot.html index b509896..86cfd29 100644 --- a/templates/add-spot.html +++ b/templates/add-spot.html @@ -142,7 +142,7 @@ const ALLOW_UPSTREAM_SPOTTING = {% raw safe_json_dumps(web_ui_options["allow_upstream_spotting"]) %}; - + diff --git a/templates/alerts.html b/templates/alerts.html index 45ceed6..d52182c 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -87,7 +87,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 1987a87..2e8a449 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -82,8 +82,8 @@ const BANDS = {% raw safe_json_dumps(options["bands"]) %}; - - + + diff --git a/templates/base.html b/templates/base.html index dab7428..74f17e9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -16,10 +16,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 3dc3791..46c4729 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index c1d5b08..922714e 100644 --- a/templates/map.html +++ b/templates/map.html @@ -115,8 +115,8 @@ const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; - - + + diff --git a/templates/spots.html b/templates/spots.html index b7384af..2fa23b2 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -127,8 +127,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index af3f137..51acc50 100644 --- a/templates/status.html +++ b/templates/status.html @@ -96,7 +96,7 @@ - +