[FOSS pivot] Retire demo mode #38

Closed
opened 2026-08-16 15:09:53 +02:00 by myrmidex · 0 comments
Owner

Context

The demo instance existed only as a SaaS funnel. With SaaS gone it's redundant — self-hosters can spin up the app themselves.

Delete

  • app/app/Http/Middleware/DemoMiddleware.php
  • app/app/Console/Commands/PurgeDemoAccountsCommand.php
  • app/src/DishPlanner/Planner/Actions/SeedDemoPlannerAction.php

Edit

  • app/app/Http/Controllers/Auth/LoginController.php — remove is_mode_demo() logout guard
  • app/bootstrap/app.php — remove DemoMiddleware registration
  • app/routes/console.php — remove the demo:purge schedule
  • app/resources/views/components/layouts/app.blade.php — remove demo banner and billing nav links
  • app/resources/views/dashboard.blade.php — remove the "subscription is now active" flash line

Acceptance criteria

  • No demo-mode references remain (grep clean); logout works normally
## Context The demo instance existed only as a SaaS funnel. With SaaS gone it's redundant — self-hosters can spin up the app themselves. ## Delete - `app/app/Http/Middleware/DemoMiddleware.php` - `app/app/Console/Commands/PurgeDemoAccountsCommand.php` - `app/src/DishPlanner/Planner/Actions/SeedDemoPlannerAction.php` ## Edit - `app/app/Http/Controllers/Auth/LoginController.php` — remove `is_mode_demo()` logout guard - `app/bootstrap/app.php` — remove `DemoMiddleware` registration - `app/routes/console.php` — remove the `demo:purge` schedule - `app/resources/views/components/layouts/app.blade.php` — remove demo banner and billing nav links - `app/resources/views/dashboard.blade.php` — remove the "subscription is now active" flash line ## Acceptance criteria - No demo-mode references remain (grep clean); logout works normally
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lvl0/dishplanner#38
No description provided.