Files
infoscreen/DEV-CHANGELOG.md
RobbStarkAustria e6c19c189f feat(events): add webuntis event, unify website payload, bump UI to alpha.13
- Add `webuntis` event type; event creation resolves URL from system `supplement_table_url`
- Consolidate settings: remove separate webuntis-url endpoints; use GET/POST /api/system-settings/supplement-table
- Scheduler: emit top-level `event_type` and unified `website` payload (`{ "type":"browser","url":"..." }`) for website/webuntis
- Preserve presentation payloads (page_progress/auto_progress) — presentation messages remain backwards-compatible
- Update defaults (`init_defaults.py`) and remove duplicate webuntis setting
- Docs & metadata: bump program-info to 2025.1.0-alpha.13; update README, copilot-instructions, DEV- and TECH-CHANGELOGs; add MQTT_EVENT_PAYLOAD_GUIDE.md and WEBUNTIS_EVENT_IMPLEMENTATION.md
2025-10-19 11:35:41 +00:00

2.7 KiB
Raw Blame History

DEV-CHANGELOG

This changelog tracks all changes made in the development workspace, including internal, experimental, and in-progress updates. Entries here may not be reflected in public releases or the user-facing changelog.


Unreleased (development workspace)

  • Frontend (Settings → Events): Added Presentations defaults (slideshow interval, page-progress, auto-progress) with load/save via /api/system-settings; UI uses Syncfusion controls.
  • Backend defaults: Seeded presentation_interval ("10"), presentation_page_progress ("true"), presentation_auto_progress ("true") in server/init_defaults.py when missing.
  • Data model: Added per-event fields page_progress and auto_progress on Event; Alembic migration applied successfully.
  • Event modal (dashboard): Extended to show and persist presentation pageProgress/autoProgress; applies system defaults on create and preserves per-event values on edit; payload includes page_progress, auto_progress, and slideshow_interval.
  • Scheduler behavior: Now publishes only currently active events per group (at "now"); clears retained topics by publishing [] for groups with no active events; normalizes naive timestamps and compares times in UTC; presentation payloads include page_progress and auto_progress.
  • Recurrence handling: Still queries a 7day window to expand recurring events and apply exceptions; recurring events only deactivate after recurrence_end (UNTIL).
  • Logging: Temporarily added filter diagnostics during debugging; removed verbose logs after verification.
  • WebUntis event type: Implemented new webuntis type. Event creation resolves URL from system supplement_table_url; returns 400 if not configured. WebUntis behaves like Website on clients (shared website payload).
  • Settings consolidation: Removed separate webuntis_url (if present during dev); WebUntis and Vertretungsplan share supplement_table_url. Removed /api/system-settings/webuntis-url endpoints; use /api/system-settings/supplement-table.
  • Scheduler payloads: Added top-level event_type for all events; introduced unified nested website payload for both website and webuntis events: { "type": "browser", "url": "…" }.
  • Frontend: Program info bumped to 2025.1.0-alpha.13; changelog includes WebUntis/Website unification and settings update. Event modal shows no per-event URL for WebUntis.
  • Documentation: Added MQTT_EVENT_PAYLOAD_GUIDE.md and WEBUNTIS_EVENT_IMPLEMENTATION.md. Updated .github/copilot-instructions.md and README.md for unified Website/WebUntis handling and system settings usage.

Note: These changes are available in the development environment and may be included in future releases. For released changes, see TECH-CHANGELOG.md.