Commit Graph

4 Commits

Author SHA1 Message Date
Claude
0a390f6cc9 Add Elsa.Studio.Authentication.ElsaIdentity.UI so the WASM shell renders the login page and redirects unauthenticated users instead of stopping at 'Unauthorized' 2026-09-02 08:54:17 +00:00
Claude
189b8d48c1 Fix admin login and API 404s
- appsettings.json: bake in the reference HashedPassword/HashedPasswordSalt so
  admin/password actually validates (the previous empty strings could never match)
- Program.cs: pin the SQLite DB into App_Data so the mounted volume persists it,
  and route /elsa/api/{**rest} to a JSON 404 so unknown API paths stop returning
  the Studio SPA HTML with a 200
2026-09-02 08:45:36 +00:00
Claude
1047f1e0b8 Embed Elsa Studio Blazor WASM in the same host
- Elsa.Studio.Wasm project (net9.0): WASM shell with Login/Dashboard/Workflows modules,
  reads its backend URL from a JS-injected window.getClientConfig() so the same build
  can point at any origin without a rebuild.
- Elsa.CustomServer:
    - references Elsa.Studio.Wasm as a project so `dotnet publish` emits its wwwroot/
    - UseBlazorFrameworkFiles + MapFallbackToPage('/_Host') serve the WASM app + SPA routes
    - Pages/_Host.cshtml renders the Studio shell and injects apiUrl at request time
- Bumped Elsa server packages to 3.5.3, Studio packages to 3.7.0 (Studio release train
  moved ahead of server; 3.7 Studio is compatible with 3.5 server API)
- Dockerfile: SDK/runtime 9.0, restores both csprojs before copying sources
2026-09-02 08:35:20 +00:00
Claude
75d250b7f7 Initial scaffold: Elsa 3.5 custom API server with sample Shout activity
- src/Elsa.CustomServer: minimal ASP.NET Core 8 host referencing Elsa 3.5 NuGets
- Activities auto-registered via AddActivitiesFrom<Program>() — drop new files under Activities/
- Sqlite persistence for workflow definitions + runtime
- Multi-stage Dockerfile targeting linux/amd64, ASP.NET 8 runtime, port 8080
- Forwarded-headers configured so URLs come out https:// behind Traefik
- CORS wide-open so the standalone Studio (different origin) can talk to us
2026-09-02 08:09:20 +00:00