Commit Graph
30 Commits
Author SHA1 Message Date
mr.zeroandClaude Opus 5 9255a11254 Carry a store's configuration in the registry record
A store's `config.json` lived in a repository the desktop client fetched over HTTP,
which made a store's behaviour depend on a second thing existing and staying
reachable. The registry already answers what a store *is*; it now answers how it
behaves too, in the same shape that file had, so this record is the one source of
truth and a store can be configured from the admin alone.

`storeRepositoryUrl` stays, demoted to a pointer for a person — where the store's
own repository is, when it has one. Clients released before this field still fetch a
`config.json` from it, so nothing has to move at once.

The column is nullable because a store that configures nothing is still a store: the
client falls back to the engine's built-in defaults, which need only a name and a
catalog. The admin edits it as JSON text through a pair of accessors, so the column
holds real JSON and invalid input comes back with the text kept and a message rather
than a 500.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 06:43:09 +02:00
mr.zeroandClaude Opus 5 466aeac6ca A store registry record needs no repository
The client only ever took identity from a store repository — a slug, a name, a catalog —
and the store engine's own defaults cover everything else: the host-to-asset mapping, the
install modes, the platforms, the behaviour. So `store_repository_url` is now optional:
nullable in the schema, no presence validation, the format check only when a value is
given, and the serializer answers null rather than an empty string, because the client
branches on its absence.

Adding a store is therefore a row with two fields filled in. Given a repository the
client still reads its config.json, and that file remains the authority on how the store
behaves — the admin form and the endpoint's documentation say so.

The frontend's /stores page gains a section of its own for the graphical client on the
desktop tab: what it does, that it sets the store up itself, that it is the way in on
Windows where `curl … | sh` does not exist, and links to the releases, the repository and
the documentation — now under stores/warp-engine-client, which is where that repository
lives after the rename.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 16:53:33 +02:00
mr.zero 4dccb9a815 Store resource 2026-08-18 13:04:21 +02:00
mr.zero 254d339656 warp_engine: CiRepository -> Pipeline rename everywhere, ci_ service prefixes dropped, unknown platform allowed
ci/woodpecker/push/woodpecker Pipeline was successful
2026-08-06 19:46:06 +02:00
Zsolt Tasnadi f499b7f2af schema update 2026-08-06 14:00:13 +02:00
mr.zero 0c981b4590 build endpoints
ci/woodpecker/push/woodpecker Pipeline was successful
2026-08-05 20:12:35 +02:00
mr.zero a217bcc14e Add DB-backed application tokens for the update endpoint
ci/woodpecker/push/woodpecker Pipeline was successful
2026-08-05 18:30:20 +02:00
Zsolt Tasnadi 0f13c19fc8 schema update 2026-08-04 15:47:49 +02:00
mr.zero 724e5bc748 refact round 2026-08-04 15:45:13 +02:00
Zsolt Tasnadi 27feec9b8a schema update 2026-08-04 10:52:00 +02:00
mr.zero 46c51bb317 platform links 2026-08-04 10:49:02 +02:00
mr.zero 242c808add web payable and asset view 2026-08-02 22:54:37 +02:00
mr.zero 1a92978df4 drop legacy path columns 2026-08-02 18:31:55 +02:00
mr.zero c630278e42 release assets 2026-08-02 18:26:29 +02:00
Zsolt Tasnadi 59ce21583e lock files update 2026-07-29 08:21:18 +02:00
mr.zero b8e3c64868 more tweaks 2026-07-29 08:10:59 +02:00
Zsolt Tasnadi 563f09c06e schema update 2026-07-28 18:15:33 +02:00
mr.zero ba91b6c5e1 cascade foreign keys 2026-07-28 18:13:04 +02:00
Zsolt Tasnadi bd71e81609 schema update 2026-07-28 11:17:27 +02:00
mr.zero 85dfe67d2f member-user connection, download stats menu label 2026-07-28 11:11:56 +02:00
Zsolt Tasnadi 1604ae7a90 schema update 2026-07-28 10:56:30 +02:00
mr.zero 4afa440b12 rss feed and download stats 2026-07-28 10:42:39 +02:00
mr.zero bf5643df85 schema update 2026-07-27 08:27:10 +02:00
mr.zero b193ac6caf advanced image management 2026-07-27 08:19:48 +02:00
mr.zero a473657806 schema update 2026-05-05 23:04:47 +02:00
mr.zero 4aaed0607c image admin 2026-05-05 22:53:55 +02:00
mr.zero d544b4da76 member model 2026-05-05 22:15:07 +02:00
mr.zero d4da06a6fd schema update 2026-05-05 20:05:29 +02:00
mr.zero 130be14c59 events api 2026-05-05 19:49:24 +02:00
mr.zero 93849795e3 replace catalog service to api 2026-05-05 19:27:29 +02:00