From 6bfe7b964ae7fa4a155beb94e2be25c31468ab54 Mon Sep 17 00:00:00 2001 From: David Cain Date: Tue, 16 Apr 2024 21:48:06 -0600 Subject: [PATCH] Restore the stats endpoint (mostly!) This largely reverts commit cdddc39488c6a343a9db510464cebd15f17e72fd. Reading from a CSV is something of a one-time hack that's meant to buy me some time while we build a real API endpoint over in the geardb. This "temporary" disabling nearly made it 2 years, hah. --- ws/templates/stats/membership.html | 17 ++------ ws/tests/utils/test_geardb.py | 8 ---- ws/utils/geardb.py | 65 ++++++++++++++++++++++++++++-- 3 files changed, 64 insertions(+), 26 deletions(-) diff --git a/ws/templates/stats/membership.html b/ws/templates/stats/membership.html index 87ba521d..4f12f748 100644 --- a/ws/templates/stats/membership.html +++ b/ws/templates/stats/membership.html @@ -6,8 +6,8 @@ {{ block.super }} {# For now, use the Vega charting library for fast-and-easy charts #} {# I may substitute this later for raw D3 #} - - + +