feat: the iCal contingent feed for the booking portals is back
/contingents/<hotel>.ical (page type 1710) serves the same events as on TYPO3 10: every run of BLOCKED or ON_REQUEST days with one status is one "Unavailable" event. External booking portals import it. The availability comes from MyE&P contingents/availability, the bpn-connect snapshot without the price rule of contingents/calendar (days without a price stay free here, as they did on TYPO3 10). TYPO3 10 read bpn-connect directly. Compared for SVS, DPW and DGS: the events are identical; the header differs only by the iCalcreator version (2.41 instead of 2.39) and its TZUNTIL, both RFC-conform. When MyE&P cannot answer, the feed returns 503 with Retry-After instead of an empty calendar, so the portals keep their last import rather than seeing every day as free. The response is sent past the page cache, which would drop Content-Disposition, and staticfilecache is off for the page type. Requires the MyE&P endpoint on my.ep-reisen.de before deploying; until then every feed answers 503. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9aabff6b5b
commit
63e3ed4a78
7 files changed
+296
-7
No files matched your search
Generated
+109
-1
@@ -907,9 +907,10 @@
|
||||
"dist": {
|
||||
"type": "path",
|
||||
"url": "./packages/ep_products",
|
||||
"reference": "291793cfe2a2d5f50bf5bee13f286e501d633a49"
|
||||
"reference": "996ab0f6fc00a993ca97984d512bd2de6a8eabeb"
|
||||
},
|
||||
"require": {
|
||||
"kigkonsult/icalcreator": "^2.41",
|
||||
"league/oauth2-client": "^2.9",
|
||||
"league/period": "^4.12",
|
||||
"php": "^8.2",
|
||||
@@ -1634,6 +1635,113 @@
|
||||
],
|
||||
"time": "2026-10-17T23:57:19+00:00"
|
||||
},
|
||||
{
|
||||
"name": "kigkonsult/icalcreator",
|
||||
"version": "v2.41.92",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/iCalcreator/iCalcreator.git",
|
||||
"reference": "a4d35d7a58c08b816dc8a7778db19f461c1429bd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/iCalcreator/iCalcreator/zipball/a4d35d7a58c08b816dc8a7778db19f461c1429bd",
|
||||
"reference": "a4d35d7a58c08b816dc8a7778db19f461c1429bd",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-intl": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-openssl": "*",
|
||||
"ext-simplexml": "*",
|
||||
"ext-zlib": "*",
|
||||
"php": ">=8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"degraciamathieu/php-arguments-detector": ">=0.5.0",
|
||||
"ext-xdebug": "*",
|
||||
"phpcompatibility/php-compatibility": ">=9.3.5",
|
||||
"phpmd/phpmd": ">=2.13.0",
|
||||
"phpstan/phpstan": ">=0.9.3",
|
||||
"phpunit/phpunit": ">=6.5.13",
|
||||
"squizlabs/php_codesniffer": ">=3.5.5",
|
||||
"vimeo/psalm": "*"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"autoload.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Kigkonsult\\Icalcreator\\": [
|
||||
"src/"
|
||||
]
|
||||
},
|
||||
"classmap": [
|
||||
"src/"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-3.0-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Kjell-Inge Gustafsson",
|
||||
"email": "[email protected]"
|
||||
}
|
||||
],
|
||||
"description": "iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information",
|
||||
"keywords": [
|
||||
"alarm",
|
||||
"availability",
|
||||
"calendar",
|
||||
"daylight",
|
||||
"event",
|
||||
"ical",
|
||||
"json",
|
||||
"location",
|
||||
"management",
|
||||
"participant",
|
||||
"resource",
|
||||
"rfc2445",
|
||||
"rfc5545",
|
||||
"rfc5870",
|
||||
"rfc6321",
|
||||
"rfc6868",
|
||||
"rfc7529",
|
||||
"rfc7808",
|
||||
"rfc7953",
|
||||
"rfc7986",
|
||||
"rfc9073",
|
||||
"rfc9074",
|
||||
"standard",
|
||||
"todo",
|
||||
"vCalendar",
|
||||
"valarm",
|
||||
"vevent",
|
||||
"vfreebusy",
|
||||
"vjournal",
|
||||
"vtimezone",
|
||||
"vtodo",
|
||||
"xml"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/iCalcreator/iCalcreator/issues",
|
||||
"source": "https://github.com/iCalcreator/iCalcreator/tree/v2.41.92"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://paypal.me/kigkonsult",
|
||||
"type": "other"
|
||||
},
|
||||
{
|
||||
"url": "https://www.buymeacoffee.com/kigkonsult",
|
||||
"type": "other"
|
||||
}
|
||||
],
|
||||
"time": "2025-01-17T10:06:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "league/oauth2-client",
|
||||
"version": "2.9.1",
|
||||
|
||||
Reference in new issue
Block a user