From 46bd3d0b356766be8e4c9781b0d9774d75ea6b57 Mon Sep 17 00:00:00 2001 From: Edward Gomez Date: Tue, 22 Feb 2022 12:17:30 +0000 Subject: [PATCH] Fixing submission Problems --- Jenkinsfile | 3 +-- app/explorer/static/explorer/js/utils.js | 4 ++-- app/explorer/templates/explorer/challenge-observe.html | 2 +- app/explorer/templates/explorer/challenge-submitted.html | 2 +- app/explorer/views.py | 3 ++- app/status/schedule.py | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9e11a73..91371d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,2 @@ // LCO Jenkins automated docker container build -// dockerPipeline("docker.lco.global/serol") -helmPipeline() +dockerPipeline("docker.lco.global/serol") diff --git a/app/explorer/static/explorer/js/utils.js b/app/explorer/static/explorer/js/utils.js index b587a78..f373d47 100644 --- a/app/explorer/static/explorer/js/utils.js +++ b/app/explorer/static/explorer/js/utils.js @@ -108,8 +108,8 @@ function aggregate_status(rdata, progressid, token){ } }); - if (completed.length > 0){ - update_status(progressid, completed[0]); + if (complete.length > 0){ + update_status(progressid, complete[0]); } else if (pending.length > 0){ pending.forEach((req) => { status_userrequest(req, token); diff --git a/app/explorer/templates/explorer/challenge-observe.html b/app/explorer/templates/explorer/challenge-observe.html index 456b192..bb9d47f 100644 --- a/app/explorer/templates/explorer/challenge-observe.html +++ b/app/explorer/templates/explorer/challenge-observe.html @@ -71,7 +71,7 @@ var challenge_id = '{{object.id}}' var redirect_url = "{% url 'challenge' object.id %}"; var image_file = image_files[category]; -var whatsupurl = "https://whatsup.lco.global/range/?aperture=0m4&format=jsonp"; +var whatsupurl = "https://whatsup.lco.global/range/?aperture=0m4&format=jsonp&full=best"; var target_type; function add_targets(i, data){ diff --git a/app/explorer/templates/explorer/challenge-submitted.html b/app/explorer/templates/explorer/challenge-submitted.html index 823cd1f..5d2d2ce 100644 --- a/app/explorer/templates/explorer/challenge-submitted.html +++ b/app/explorer/templates/explorer/challenge-submitted.html @@ -78,7 +78,7 @@

{% trans "Fun Fact" %}

{% endblock %} {% block script-content %} - +