Repository navigation
Fix: allow the community calendar embed - #419
Conversation
The events page iframe is blocked because frame-src does not include calendar.google.com. Add that host only.
|
Round 1. Reviewer: Codex gpt-5.6-sol, xhigh, read-only. Reviewed SHA: d01b3f4. REVIEW_VERDICT=APPROVE Findings: None.
END_OF_REVIEW |
|
REVIEW_VERDICT=APPROVE Codex gpt-5.6-sol xhigh, read-only, round 1. Reviewed SHA d01b3f4 matches the PR head. Findings: none. frame-src is the only policy change, and that host is enough for the calendar iframe. Not merged. A merge to main runs Publish Cloudberry Site and updates cloudberry.apache.org. That publish needs a separate go. |
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
No open issues 🎉
What changed in this PR
Updates the site’s Content Security Policy to allow embedding the community Google Calendar, resolving Chrome iframe blocking on the events page.
Changes:
- Add
https://calendar.google.comto the CSPframe-srcdirective. - Update the inline policy documentation comments to reflect the new allowed embed source.
| File | Description |
|---|---|
| static/.htaccess | Extends CSP frame-src to include Google Calendar so the community calendar iframe can load. |
Review effort: Lite
Change logs
The events page embeds the community Google Calendar. Chrome blocks that iframe because
static/.htaccesssetsframe-srcand does not includecalendar.google.com.This adds
https://calendar.google.comtoframe-srconly. No other directive changes.Verified locally with the same iframe and the policy line from this file: the old policy shows "This content is blocked. Contact the site owner to fix the issue." The new policy loads Apache Cloudberry Community Calendar.
Contributor's checklist