From 03c4ee6640ace1577879934f0f90dfe5fd539ce5 Mon Sep 17 00:00:00 2001 From: Richard Bullington-McGuire Date: Sun, 4 Feb 2024 13:57:23 -0500 Subject: [PATCH 1/4] Fix up menus for Flag and Fire pointless prizes --- freezing/web/templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freezing/web/templates/base.html b/freezing/web/templates/base.html index 5f0904f1..826d2ff6 100644 --- a/freezing/web/templates/base.html +++ b/freezing/web/templates/base.html @@ -139,6 +139,8 @@
  • London Bridge Rides
  • Loopy for Arlington
  • Meh-diocrity
  • +
  • Fire
  • +
  • Flag
  • Michigander Snow Day Rides
  • Monuments and Memorials
  • From 3bfb36b0c8ae9f566587f7c18c1cccaee1cb8ad4 Mon Sep 17 00:00:00 2001 From: Richard Bullington-McGuire Date: Sun, 4 Feb 2024 14:04:11 -0500 Subject: [PATCH 2/4] Add OPM snow day for 2024 --- leaderboards/opmdays.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/leaderboards/opmdays.yml b/leaderboards/opmdays.yml index d61be966..9a9553dd 100644 --- a/leaderboards/opmdays.yml +++ b/leaderboards/opmdays.yml @@ -2,7 +2,8 @@ title: Michigander - You call THAT a snow day?! - Prize description: |

    Riders who have ridden on the most offcial OPM snow days, or if no snow days are declared, on Michigan Day (Monday, January 18th). Ties to be broken by total mileage.

    -

    Current official snow days: None

    + +

    Current official snow days: Jan 16

    fields: - name: athlete_id visible: false @@ -21,6 +22,11 @@ query: | sum(R.distance) as distance from lbd_athletes A join rides R on R.athlete_id=A.id + /* + 2024 had an OPM snow day on Jan 16, so disable this for now. + where date(R.start_date) in (makedate(year(now()), 18)) + /* + where date(R.start_date) in ('2024-01-16') group by athlete_id, athlete_name order by days desc, distance desc; From fe2d3a9ac923fa0e345b30260985928ef156803b Mon Sep 17 00:00:00 2001 From: Richard Bullington-McGuire Date: Sun, 4 Feb 2024 15:33:13 -0500 Subject: [PATCH 3/4] Fix opmdays --- leaderboards/opmdays.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leaderboards/opmdays.yml b/leaderboards/opmdays.yml index 9a9553dd..da57cd67 100644 --- a/leaderboards/opmdays.yml +++ b/leaderboards/opmdays.yml @@ -3,7 +3,7 @@ title: Michigander - You call THAT a snow day?! - Prize description: |

    Riders who have ridden on the most offcial OPM snow days, or if no snow days are declared, on Michigan Day (Monday, January 18th). Ties to be broken by total mileage.

    -

    Current official snow days: Jan 16

    +

    Current official snow days: Tuesday, January 16th

    fields: - name: athlete_id visible: false @@ -26,7 +26,7 @@ query: | 2024 had an OPM snow day on Jan 16, so disable this for now. where date(R.start_date) in (makedate(year(now()), 18)) - /* + */ where date(R.start_date) in ('2024-01-16') group by athlete_id, athlete_name order by days desc, distance desc; From 48096be10eb7f935ce99d6ba33602f8446045f16 Mon Sep 17 00:00:00 2001 From: Richard Bullington-McGuire Date: Sun, 4 Feb 2024 15:38:37 -0500 Subject: [PATCH 4/4] Bump version for release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0526e728..2ab6d5ec 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ __copyright__ = "Copyright 2015 Hans Lellelid" -version = "1.2.1" +version = "1.2.2" long_description = """ The freezing saddles cycling competition website/scoreboard.