Files
poli0981-dev/CONTENT-LICENSE.md
poli0981andClaude Opus 5.5 1b1e922fe2 Docs for v2.0, plus widget and CSP fixes (#100)
* docs: README, CHANGELOG and the docs suite brought up to v2.0

- README.md (new): what the site is, stack, how the Worker fits together,
  getting started on Node 26, commands, deploying with Workers Builds, the
  admin, security and licensing.
- CHANGELOG.md (new): v2.0.0 in Keep a Changelog form, plus a summary of the
  untagged 1.x months.
- SECURITY.md: admin.poli0981.dev, the bot gate and the widgets worker are in
  scope; tagged releases; reports go to a private repository; what the admin
  stores.
- THIRD-PARTY-NOTICES.md: every infrastructure service, with what each one is
  used for. CONTENT-LICENSE.md: the content submodule and /media images.
- poli0981.dev-docs v2.0: decision log D16–D19; architecture (worker entry,
  stack, repo layout, dev setup, ADR 09–11); design system (Glacier Teal
  tokens, theme modes, a11y rules); security (headers, single-key CIDR
  denylist, body limits, secrets table, supply chain on a public repo,
  admin hardening and Access recommendations, structured logs); Cloudflare
  setup (correct Workers Builds commands and the deploy incident, ADMIN_EMAILS,
  Access settings, observability); CI/CD as it runs today; bug reports,
  widgets, error pages, routes, roadmap with status and next steps,
  maintenance (TypeScript 7 bumps, rollback, R2/KV backup).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(changelog): link the documentation PR

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(widgets): Steam icons via Steam's Cloudflare CDN; optional GitHub token

Found by watching the first cron run of the new worker in production: no
image had been mirrored and two sources were stale.

- media.steampowered.com answers requests from Workers with 403, so every
  Steam icon mirror failed. cdn.cloudflare.steamstatic.com serves the same
  files to Workers (probed from Cloudflare's network).
- The GitHub events API allows 60 unauthenticated requests an hour per IP and
  Workers share egress IPs, so the feed was 403 for hours at a time. The
  worker now sends GITHUB_TOKEN when that optional secret exists (a
  fine-grained token with no permissions is enough for public data).
- YouTube's feeds/videos.xml currently answers 404 for both the channel and
  the uploads-playlist URL, from Cloudflare and from elsewhere; the worker
  already keeps the last good feed, so nothing changes there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(csp): callout styles were blocked; the CSP check now covers styles

Lighthouse flagged a CSP violation on the one MDX post. Astro hashes the
styles of the components a page renders, but not of a component that only
appears inside MDX content: Callout's inline <style> shipped without its hash
and the browser refused it, so callouts were unstyled in production.

- Callout's rules move to src/styles/prose.css (the stylesheet Prose loads on
  every long-form page); the component has no <style> block any more.
- scripts/check-csp-hashes.mjs now hashes every inline <style> block against
  the page's policy and fails on any style attribute (a policy without
  'unsafe-inline' never allows one), with self-tests for both matchers. The
  build reports 339 style blocks across 64 pages, all hashed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(og): Number.parseInt in the colour mixer (Sonar S7773)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 11:48:47 +07:00

3.3 KiB

Content License

This file covers content, not code. The two are licensed differently on purpose.

Scope License File
Source code — every code, config, style and script file GPL-3.0-only LICENSE
Content — posts, stories, photographs, original media (src/content/**, src/assets/**, images served from /media/) All Rights Reserved this file
Third-party packages and fonts their own licenses THIRD-PARTY-NOTICES.md

package.json declares "license": "SEE LICENSE IN LICENSE" precisely so nobody reads the GPL as covering the stories and photographs. It does not.

English

All written content, stories, photographs, and other original media in this repository and on poli0981.dev are © Kokone (SkullMute), all rights reserved.

You may not reproduce, republish, or redistribute them, and you may not use them to train machine-learning systems, without prior written permission. Short quotations with attribution and a link are permitted (see Terms of Use §4). An individual page may state a different license for that page's content, in which case the page's own license prevails.

Cloning this repository does not grant a content license. src/content is a git submodule of the separate poli0981/content repository, under the same terms. If you fork, remove src/content/** and src/assets/** or replace them with your own.

Permissions: copyright@poli0981.dev · Copyright infringement (DMCA): dmca@poli0981.dev · Other removal requests: takedown@poli0981.dev

Tiếng Việt

Toàn bộ bài viết, truyện, ảnh và media gốc trong repo này và trên poli0981.dev thuộc bản quyền © Kokone (SkullMute), bảo lưu mọi quyền.

Không sao chép, đăng lại, phân phối lại, và không dùng để huấn luyện hệ thống máy học khi chưa có sự cho phép bằng văn bản. Được phép trích ngắn có ghi nguồn kèm link (xem Điều khoản §4). Một trang cụ thể có thể ghi giấy phép khác cho nội dung của trang đó — khi ấy giấy phép ghi tại trang được ưu tiên.

Việc clone repo này không đồng nghĩa với việc được cấp phép nội dung. src/content là submodule của repo riêng poli0981/content, cùng điều khoản này. Nếu bạn fork, hãy xoá src/content/** và src/assets/** hoặc thay bằng nội dung của chính bạn.

Xin phép: copyright@poli0981.dev · Vi phạm bản quyền (DMCA): dmca@poli0981.dev · Yêu cầu gỡ khác: takedown@poli0981.dev


Rendered on the site at /legal/licenses. See also /legal/ai-usage for how AI is used to build this site — a separate question from training on its content.