Commit Graph
5 Commits
Author SHA1 Message Date
MarkusandDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com> 57832d5e86 Retry Beds24 data calls on 401 by invalidating the cached access token.
When a data endpoint rejects the token with 401, the cached token is now
cleared and one retry is attempted with a fresh token. This prevents a
stale token from causing a cascade of 401s while still failing cleanly if
refresh itself is rate-limited.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-24 22:28:13 +02:00
MarkusandDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com> 48b44f6ccd Fix 3-month availability by raising Beds24 chunk limit and balancing chunks.
The /inventory/rooms/offers endpoint allows up to 99 nights, but the
chunking threshold was set to 90. This caused 90-99 night stays to be
split unnecessarily, often leaving a 1- or 2-night final chunk that fell
below the room's minimum stay and produced a false "unavailable" result.

Now the limit is 99 and chunks are split into equal-sized pieces, so
stays around 3 months (and longer) avoid tiny trailing chunks.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-24 22:04:47 +02:00
MarkusandDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com> 74592a9e14 Fix Beds24 token race condition.
Deduplicate in-flight /authentication/token requests per house so
that concurrent page loads do not each trigger a separate token
refresh, which was exhausting the Beds24 rate limit on first load.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-24 21:40:24 +02:00
MarkusandDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com> 2b24334bfa Initial upload of BB-Apartment 2026 website.
Adds the complete Next.js website including i18n routing, house and
apartment pages, Beds24 v2 integration for live availability/pricing,
Stripe checkout, contact forms, Docker setup and deployment docs.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-19 22:54:49 +02:00
Markus 232770afe7 Initial commit from Create Next App 2026-08-09 21:32:04 +02:00