API Schnittstelle V1.0 #62

Merged
Lars merged 8 commits from develop into main 2026-11-23 17:21:44 +01:00
8 Commits
Author SHA1 Message Date
LarsandCursor 1aeb7136df Align the API admin page with the standard page width.
Deploy Development / deploy (push) Successful in 52s
Test Suite / pytest-backend (push) Failing after 29s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 17s
Test Suite / k6 /health Baseline (push) Successful in 36s
Test Suite / playwright-tests (push) Failing after 7m42s
The distribution screens used a narrow inner column. They now use the same full-width admin frame and spacing as the other administration pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 15:44:59 +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 c08c7c65b5 Close the exercise form tabs so the frontend build parses.
Deploy Development / deploy (push) Successful in 51s
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 54s
Test Suite / playwright-tests (push) Failing after 7m43s
The release tab sat beside the media tab inside one condition. The build stopped because that expression was not wrapped.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 14:10:28 +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