[FOSS pivot] Remove APP_MODE plumbing; single self-hosted mode #39

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

Context

With SaaS and demo modes retired, the APP_MODE enum and helpers are dead plumbing.

Delete

  • app/app/Enums/AppModeEnum.php
  • app/app/helpers.php (contains only is_mode_* helpers)

Edit

  • app/config/app.php — remove mode and demo_subscribe_url keys and the "Application Mode" doc block
  • app/composer.json — remove "files": ["app/helpers.php"] from autoload, regenerate

Acceptance criteria

  • No AppModeEnum / is_mode_* / APP_MODE references remain; app boots with no mode config
## Context With SaaS and demo modes retired, the APP_MODE enum and helpers are dead plumbing. ## Delete - `app/app/Enums/AppModeEnum.php` - `app/app/helpers.php` (contains only `is_mode_*` helpers) ## Edit - `app/config/app.php` — remove `mode` and `demo_subscribe_url` keys and the "Application Mode" doc block - `app/composer.json` — remove `"files": ["app/helpers.php"]` from autoload, regenerate ## Acceptance criteria - No `AppModeEnum` / `is_mode_*` / `APP_MODE` references remain; app boots with no mode config
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#39
No description provided.