summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/icalcoursebackend.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [locationinfo] Revert HisInOne calendar workaroundHEADmasterSimon Rettberg2026-01-281-4/+3Star
| | | | | | The hack introduced in 87686da817dfd349c9f89a01065f799408e29f10 to work around HisInOne returning incomplete data in ical files is obsolete, now that HisInOne seems to have fixed this bug.
* [locationinfo] Overhaul caching and prefetching of calendarsSimon Rettberg2025-08-071-1/+2
| | | | | | | | | Prefetching of calendars now happens asynchronously in the background, for all calendars that are still being displayed somewhere, and where a certain age threshold is reached. This avoids slow and seemingly hanging requests for updated calendar data, and for panels that are often requested ad-hoc by users it increases chances that the calendar can be served from cache.
* [locationinfo] Fix saving DEFAULT panel name; bail out if timeout exceededSimon Rettberg2025-07-241-0/+2
|
* [locationinfo] Work around HisInOne returning incomplete iCal filesSimon Rettberg2025-07-011-9/+14
| | | | | | | | | | | | | | While the HisInOne help text says: Die Permalinks zu Raumbelegungsplänen und Veranstaltungen enthalten den Semesterbezug (currentTimeId oder periodId). Bei Bedarf entfernen Sie diese Einschränkung inklusive "&" vorne und aller Zeichen dahinter. This is evidently not true. Requesting the iCal URL without the periodId leaves out random courses/events/lectures, and event requesting with the current periodId might not give you the full results as displayed by the web interface. Add crude brute-force approach that will request multiple periodIds and merge all the lectures found.
* [locationinfo] Change $forceCached to a flexible timeout approachSimon Rettberg2025-02-131-4/+7
| | | | | | We can now give a precise deadline until which the backend(s) will try to update stale calendar data, and just return cached data for all the entries where no time was left.
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-13/+8Star
|
* [locationinfo] text-muted for "inherited" up-arrowSimon Rettberg2023-10-061-1/+1
|
* [locationinfo] Add typesSimon Rettberg2022-05-231-3/+4
|
* [locationinfo] His: Remove lecture IDs from event namesSimon Rettberg2022-05-131-3/+4
|
* [locationinfo] Add generic ical backendSimon Rettberg2021-01-191-0/+151
Closes #3824