caelum0x 1bc04fa81b feat(insights): the Insights fork behind the add-on, site entries, tenant summaries, caps that say what happens (PY1.3)
Railyard side of PY1.3 (RYP-D2, RYP-E1, SC-E3). Acceptance:
1. apps/insights: umami-software/umami v3.4.0 (MIT, commit ec0ff503),
   vendored --depth 1, LICENSE kept, NOTICE added. Fork additions only:
   src/railyard/{ingest,summary,tenancy,api-only}.ts, /v1/ingest/batch (the
   edge collector contract v1, bearer INSIGHTS_INGEST_TOKEN, no IP ever,
   retried batches de-duplicated by migration 90_railyard_ingest_receipts),
   /api/v1/tenants/{org}/summary (bearer INSIGHTS_API_TOKEN), src/proxy.ts
   (INSIGHTS_API_ONLY=1 serves only the Railyard API and the heartbeat).
   Tenant isolation is tested at the API level (an app id owned by another org
   is refused) and at the SQL level (upstream migrations 01-26 plus 90 on a
   throwaway cluster: org B never reads org A's rows, even naming its app).
   Upstream vitest suite: not run on the Mac (pnpm 12.3.4 pinned upstream,
   disk floor); it runs in the image build on box 2 or CI.
2. No upstream product name in anything a customer loads: the page tag, the
   console pages and the fork's additions (tests); the upstream dashboard is
   never served in API-only mode.
3. The console writes the collector's site entry on "Add app", on
   auto-created apps from deploys, and rewrites every entry on add-on, plan or
   pause changes (lib/sites.ts, SITES KV binding). The bridge gains
   `sites` (the project's app, site key, page tag and collector URLs, entry
   written) and the analytics proof is the first event from Insights. The
   console's Insights page shows visitors, events, first event and the
   visit -> signup -> first action funnel.
5. insights-edge/src/caps.ts: at 100% of the cap events are still counted and
   not stored until the next UTC month; the console shows the same message
   from a byte-identical copy (lib/caps.ts, tested).
4 (384 MB at 50 events a second for 10 min) is measured on staging before deploy.

Env: INSIGHTS_API_URL, INSIGHTS_API_TOKEN, SITES KV binding (console);
INSIGHTS_INGEST_TOKEN, INSIGHTS_API_TOKEN, INSIGHTS_API_ONLY (Insights).

Tests: console 54/54 (tsc clean), insights fork 7/7 (incl. SQL isolation),
insights-edge caps + collector + sim 14/14, tests/contract 3/3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 21:23:38 +03:00

185 lines
4.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"ab": "Abxaz dili",
"aa": "Afar dili",
"af": "Afrikaans dili",
"ak": "Akan dili",
"sq": "Alban dili",
"am": "Amhar dili",
"ar": "Ərəb dili",
"an": "Araqon dili",
"hy": "Erməni dili",
"as": "Assam dili",
"av": "Avar dili",
"ae": "Avesta dili",
"ay": "Aymara dili",
"az": "Azərbaycan dili",
"bm": "Bambara dili",
"ba": "Başqırd dili",
"eu": "Bask dili",
"be": "Belarus dili",
"bn": "Benqal dili",
"bh": "Bihari dili",
"bi": "Bislama dili",
"bs": "Bosniya dili",
"br": "Breton dili",
"bg": "Bolqar dili",
"my": "Birma dili",
"ca": "Katalan dili",
"ch": "Çamorro dili",
"ce": "Çeçen dili",
"ny": "Çiçeva dili",
"zh": "Çin dili",
"cv": "Çuvaş dili",
"kw": "Korn dili",
"co": "Korsika dili",
"cr": "Kri dili",
"hr": "Xorvat dili",
"cs": "Çex dili",
"da": "Danimarka dili",
"dv": "Divehi dili",
"nl": "Holland dili",
"en": "İngilis dili",
"eo": "Esperanto dili",
"et": "Eston dili",
"ee": "Eve dili",
"fo": "Farer dili",
"fj": "Fici dili",
"fi": "Fin dili",
"fr": "Fransız dili",
"ff": "Fula dili",
"gl": "Qalisiya dili",
"ka": "Gürcü dili",
"de": "Alman dili",
"el": "Yunan dili (müasir)",
"gn": "Qvarani dili",
"gu": "Qucarat dili",
"ht": "Haiti dili",
"ha": "Hausa dili",
"he": "İvrit dili (müasir)",
"hz": "Herero dili",
"hi": "Hind dili",
"ho": "Hiri Motu dili",
"hu": "Macar dili",
"ia": "İnterlingua dili",
"id": "İndoneziya dili",
"ie": "İnterlingue dili",
"ga": "İrland dili",
"ig": "İqbo dili",
"ik": "İnupiak dili",
"io": "İdo dili",
"is": "İsland dili",
"it": "İtalyan dili",
"iu": "İnuktitut dili",
"ja": "Yapon dili",
"jv": "Yava dili",
"kl": "Qrenland dili",
"kn": "Kannada dili",
"kr": "Kanuri dili",
"ks": "Kəşmir dili",
"kk": "Qazax dili",
"km": "Kxmer dili",
"ki": "Kikuyu dili",
"rw": "Kinyaruanda dili",
"ky": "Qırğız dili",
"kv": "Komi dili",
"kg": "Konqo dili",
"ko": "Koreya dili",
"ku": "Kürd dili",
"kj": "Kvanyama dili",
"la": "Latın dili",
"lb": "Lüksemburq dili",
"lg": "Luqanda dili",
"li": "Limburq dili",
"ln": "Lingala dili",
"lo": "Lao dili",
"lt": "Litva dili",
"lu": "Luba-Katanqa dili",
"lv": "Latış dili",
"gv": "Men dili",
"mk": "Makedon dili",
"mg": "Malaqasiya dili",
"ms": "Malay dili",
"ml": "Malayalam dili",
"mt": "Malta dili",
"mi": "Maori dili",
"mr": "Marathi dili",
"mh": "Marşal dili",
"mn": "Monqol dili",
"na": "Nauru dili",
"nv": "Navaho dili",
"nb": "Norveç bokmal dili",
"nd": "Şimal ndebele dili",
"ne": "Nepal dili",
"ng": "Ndonqa dili",
"nn": "Norveç nynorsk dili",
"no": "Norveç dili",
"ii": "Nuosu dili",
"nr": "Cənub ndebele dili",
"oc": "Oksitan dili",
"oj": "Ocibve dili",
"cu": "Qədim kilsə slavyan dili",
"om": "Oromo dili",
"or": "Oriya dili",
"os": "Osetin dili",
"pa": "Pəncab dili",
"pi": "Pali dili",
"fa": "Fars dili",
"pl": "Polyak dili",
"ps": "Puştu dili",
"pt": "Portuqal dili",
"qu": "Keçua dili",
"rm": "Romanş dili",
"rn": "Kirundi dili",
"ro": "Rumın dili",
"ru": "Rus dili",
"sa": "Sanskrit dili",
"sc": "Sardiniya dili",
"sd": "Sindhi dili",
"se": "Şimal sami dili",
"sm": "Samoa dili",
"sg": "Sanqo dili",
"sr": "Serb dili",
"gd": "Şotland qael dili",
"sn": "Şona dili",
"si": "Sinhal dili",
"sk": "Slovak dili",
"sl": "Sloven dili",
"so": "Somali dili",
"st": "Cənub soto dili",
"es": "İspan dili",
"su": "Sunda dili",
"sw": "Suahili dili",
"ss": "Svati dili",
"sv": "İsveç dili",
"ta": "Tamil dili",
"te": "Teluqu dili",
"tg": "Tacik dili",
"th": "Tay dili",
"ti": "Tiqrinya dili",
"bo": "Tibet dili",
"tk": "Türkmən dili",
"tl": "Taqaloq dili",
"tn": "Tsvana dili",
"to": "Tonqa dili",
"tr": "Türk dili",
"ts": "Tsonqa dili",
"tt": "Tatar dili",
"tw": "Tvi dili",
"ty": "Tahiti dili",
"ug": "Uyğur dili",
"uk": "Ukrayna dili",
"ur": "Urdu dili",
"uz": "Özbək dili",
"ve": "Venda dili",
"vi": "Vyetnam dili",
"vo": "Volapük dili",
"wa": "Valon dili",
"cy": "Uels dili",
"wo": "Volof dili",
"fy": "Qərbi friz dili",
"xh": "Xosa dili",
"yi": "İdiş dili",
"yo": "Yoruba dili",
"za": "Çjuan dili"
}