githubnext/chopinPublic

Let's compose rich plans together

Migrate authentication to GitHub App

KCKrzysztof Cieslak authored committed by Krzysztof Cieślak
7ebebe0Patch
Parentc66a2b1
38 files changed+2272-442
StackedSplit
.env.example+4 −3
agents.md+9 −8
apps/server/src/agent/hosted.test.ts+4 −4
apps/server/src/auth/config.ts+10 −4
apps/server/src/auth/routes.test.ts+90 −17
apps/server/src/auth/routes.ts+75 −10
apps/server/src/auth/session.test.ts+165 −7
apps/server/src/auth/session.ts+250 −14
apps/server/src/channels/routes.test.ts+32 −5
apps/server/src/channels/routes.ts+12 −8
apps/server/src/chat/hosted.test.ts+111 −10
apps/server/src/chat/service.ts+201 −39
apps/server/src/config.test.ts+7 −5
apps/server/src/github/client.test.ts+153 −34
apps/server/src/github/client.ts+290 −38
apps/server/src/main.ts+61 −27
apps/server/src/plan/service.ts+1 −1
apps/server/src/socket/admission.test.ts+42 −5
apps/server/src/socket/admission.ts+16 −7
apps/server/src/storage/contract.ts+39 −0
apps/server/src/storage/memory/adapter.ts+21 −0
apps/server/src/storage/port.ts+7 −0
apps/server/src/storage/postgres/adapter.ts+31 −0
apps/server/src/storage/postgres/startup.test.ts+3 −2
apps/server/src/wire.ts+3 −1
apps/web/src/api.ts+40 −3
apps/web/src/repository-picker.tsx+271 −74
apps/web/src/wire.test.ts+18 −0
compose.yaml+3 −2
docs/authentication.md+111 −45
docs/channels.md+4 −3
docs/hosted-agent.md+16 −7
docs/storage.md+6 −3
e2e/github.ts+63 −5
e2e/hosted.e2e.ts+60 −18
e2e/playwright.config.ts+3 −2
readme.md+37 −29
scripts/e2e.ts+3 −2