- 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
2.7 KiB
2.7 KiB
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") inserver/init_defaults.pywhen missing. - Data model: Added per-event fields
page_progressandauto_progressonEvent; 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 includespage_progress,auto_progress, andslideshow_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 includepage_progressandauto_progress. - Recurrence handling: Still queries a 7‑day 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
webuntistype. Event creation resolves URL from systemsupplement_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 sharesupplement_table_url. Removed/api/system-settings/webuntis-urlendpoints; use/api/system-settings/supplement-table. - Scheduler payloads: Added top-level
event_typefor all events; introduced unified nestedwebsitepayload for bothwebsiteandwebuntisevents:{ "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.mdandWEBUNTIS_EVENT_IMPLEMENTATION.md. Updated.github/copilot-instructions.mdandREADME.mdfor 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.