Commit Graph
8 Commits
Author SHA1 Message Date
LarsandCursor 68ae82a5e5 Load the distribution reference fixture from the API image.
Deploy Development / deploy (push) Successful in 49s
Test Suite / pytest-backend (push) Successful in 51s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 17s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Failing after 7m41s
Pytest runs inside the backend container, which only contains the backend tree. The reference case lived two directories above that tree, so collection stopped before any test ran.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 18:43:48 +01:00
LarsandCursor b408e8fd7a Turn the production distribution API on by default.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Failing after 29s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Canceled after 2s
Test Suite / k6 /health Baseline (push) Canceled after 0s
Test Suite / playwright-tests (push) Canceled after 0s
The production compose file now forwards DISTRIBUTION_ENABLED into the API container and enables the catalog unless the env file turns it off. Cursor signatures fall back to the existing database password so a missing extra secret does not hide the catalog.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 18:40:24 +01:00
LarsandCursor b59b7eae16 Offer the current exercise through an explicit API switch.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Failing after 29s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 16s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m42s
The exercise list turns the live catalog on or off for the caller's edit rights. A distribution key reads that current selection and the changes since its last cursor.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 15:37:25 +01:00
LarsandCursor 4ad62b6e38 Show which exercises differ from their last published release.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Failing after 30s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 17s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m42s
The release tab names the changed areas, and an admin list collects those exercises so a new release stays a deliberate publication.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 14:56:15 +01:00
LarsandCursor 4b33b17b2d Read the API key list before the next query replaces it.
Deploy Development / deploy (push) Successful in 54s
Test Suite / pytest-backend (push) Failing after 29s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 23s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m41s
The exercise release screen asked which keys match and then looked up club roles on the same cursor. The key rows were discarded, so a valid key looked missing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 14:34:15 +01:00
LarsandCursor b824115e9b Let one API key carry every area the holder may still grant.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Failing after 29s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 17s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m49s
A key belongs to one application and can include global exercises, several clubs, and the holder's own exercises. Lost roles stop that area from being delivered, and the key stays copyable.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 14:25:57 +01:00
LarsandCursor 1527a430b9 Let each tenant create named API keys with content and visibility scope.
Deploy Development / deploy (push) Failing after 32s
Test Suite / pytest-backend (push) Failing after 26s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Failing after 6s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Canceled after 1m34s
Superadmins enable a club for the interface. Club admins and members create the keys. Exercise release lives on its own tab and picks one of those keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 14:07:31 +01:00
LarsandCursor fe3633ba8b Publish frozen exercise releases and report whether they stay offerable.
Deploy Development / deploy (push) Successful in 1m12s
Test Suite / pytest-backend (push) Failing after 30s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 16s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m42s
Recipients can ask whether a released exercise is still offerable. Archiving or removing the source stops new offers; the frozen copy stays fetchable until withdrawal.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 13:07:47 +01:00