-
2.31.0
Stablereleased this
2026-09-06 21:39:52 +02:00 | 91 commits to main since this releaseExpand {{ standings }} token in admin emails to a styled table
What
Adds a
<!-- STANDINGS -->token to the admin custom-email composer. When present in the Markdown body, it expands to the current standings as an inline-styled HTML table that mirrors the/standingspage — gray header, zebra rows, maroon names — styled inline so it survives email clients (no external CSS, no<style>block).No UI change to the compose page beyond one new row in the Markdown cheat sheet documenting the token.
How
app/standings_email.py(new):standings_markdown(session)builds a Markdown pipe table from active players (same query/sort as/standings);style_email_table(html)injects inline styles into markdown-it's table output.app/mailer.py:custom_email_bodydoes the token substitution — it renders the standings fragment in isolation and styles it before the outer email template wraps everything in layout tables, so the styler never touches the presentation tables.send_custom_emailforwards the pre-built markdown.- Preview (
v2.py) and background send (send_admin_email.py) each build the standings lazily — only when a message uses the token — so a token-free batch never depends on a current week existing (which would raise between seasons).
Testing
tests/test_mailer.py: token present → styled<table>/<th>; token absent → body unchanged.- flake8 clean, pylint 10.00/10.
- Note: the 7
test_admin_email_routes.pyfailures are pre-existing onmain, unrelated to this change.
resolves #233
Issues closed
- #233 Create a form page for sending out the standings
- #178 Have body of standings email be 'proper' HTML body of real standings
Pull request: #483
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
2.30.1
Stablereleased this
2026-09-06 19:53:12 +02:00 | 93 commits to main since this releaseMake drop_team_data_source migration idempotent
resolves #480
Problem
Production crashed running migrations:
sqlalchemy.exc.ProgrammingError: (psycopg.errors.UndefinedColumn) column "data_source" of relation "team" does not exist [SQL: ALTER TABLE team DROP COLUMN data_source]The migration
a390332fa722ran an unconditionalop.drop_column('team', 'data_source'), but no migration in the chain ever creates that column. The Alembic baseline (0c2ed4448b99) was auto-generated on 2026-08-31, after the Tank01 refactor (302663c, 2026-08-28) removeddata_sourcefrom theTeammodel — so the baseline codifies ateamtable without the column. Any database built from the chain createsteamwithoutdata_sourceand then tries to drop it → crash.Fix
Use
ALTER TABLE team DROP COLUMN IF EXISTS data_source, which:- drops the column on pre-baseline snapshots that still carry the ESPN-era field, and
- is a safe no-op on any database built from the current baseline.
Version bumped 2.30.0 → 2.30.1. Tests: 314 passed, pylint 10.00/10.
🤖 Generated with Claude Code
Issues closed
- #480 Migration a390332fa722 crashes: drops non-existent team.data_source column
Pull request: #479
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
2.30.0
Stablereleased this
2026-09-06 19:36:31 +02:00 | 95 commits to main since this releaseCreate a release on every merge to main
Adds a Forgejo workflow that cuts a release + tag whenever a PR merges to
main.- Fires on
pull_request: closedwhenmerged == true - Reads the version from
pyproject.tomlat the merge commit (via the/raw/API, no checkout) - Tag = plain version, so git tag / image tag / pyproject version are one string
- Release notes = PR title + body + a bulleted list of issues closed (scanned from the PR body and its commit messages for
resolves/closes/fixeskeywords) - Skips (green, with a warning) if a release for that version already exists, covering a PR that forgot to bump
Note: this PR itself will not produce a release — the closed-PR event runs the workflow as it exists on
main, which does not have the file until after this lands. The first real release will be the next PR merged after this.resolves #477
🤖 Generated with Claude Code
Issues closed
- #477 Create a new 'release' every time a PR lands
Pull request: #478
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Fires on
-
v1.4.8 Stable
released this
2025-02-08 02:42:07 +01:00 | 306 commits to main since this releaseWhat's Changed
- Moved the probowl adjustment to below the setting of the week by @johnsturgeon in https://github.com/TheGreatFootballPool/tgfp-web/pull/192
Full Changelog: https://github.com/TheGreatFootballPool/tgfp-web/compare/v1.4.5...v1.4.8
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2025-02-08 02:37:04 +01:00 | 308 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v1.4.5 Stable
released this
2025-01-12 17:23:52 +01:00 | 310 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
Updated `tgfp-nfl` library Stable
released this
2025-01-08 23:07:14 +01:00 | 312 commits to main since this releaseUpdated
tgfp-nfllibraryFull Changelog: https://github.com/TheGreatFootballPool/tgfp-web/compare/v1.4.3...v1.4.4
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v1.4.2 - Performance Fix Stable
released this
2024-09-15 17:14:38 +02:00 | 315 commits to main since this releaseWhat's Changed
- Fixed performance of the
allpickspage by @johnsturgeon in https://github.com/TheGreatFootballPool/tgfp-web/pull/181
Full Changelog: https://github.com/TheGreatFootballPool/tgfp-web/compare/v1.4.1...v1.4.2
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Fixed performance of the
-
v1.4.1 Stable
released this
2024-09-15 04:25:29 +02:00 | 317 commits to main since this releaseWhat's Changed
- Added the SVG team logos by @johnsturgeon in https://github.com/TheGreatFootballPool/tgfp-web/pull/180
Full Changelog: https://github.com/TheGreatFootballPool/tgfp-web/compare/v1.4.0...v1.4.1
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v1.4.0 - Added Profile Page! Stable
released this
2024-09-15 00:51:24 +02:00 | 319 commits to main since this releaseWhat's Changed
- Added player profile page by @johnsturgeon in https://github.com/TheGreatFootballPool/tgfp-web/pull/179
Full Changelog: https://github.com/TheGreatFootballPool/tgfp-web/compare/v1.3.17...v1.4.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads