githubnext/chopinPublic

Let's compose rich plans together

Keep GitHub credentials in process memory

KCKrzysztof Cieslak authored committed by Krzysztof Cieślak
41d195aPatch
Parent7ebebe0
38 files changed+853-395
StackedSplit
.env.example+3 −1
Dockerfile+1 −1
agents.md+5 −5
apps/server/src/agent/hosted.test.ts+21 −0
apps/server/src/agent/repository.ts+4 −2
apps/server/src/auth/routes.test.ts+6 −1
apps/server/src/auth/routes.ts+1 −1
apps/server/src/auth/session.test.ts+77 −31
apps/server/src/auth/session.ts+220 −176
apps/server/src/channels/routes.test.ts+1 −1
apps/server/src/chat/hosted.test.ts+1 −1
apps/server/src/chat/service.ts+31 −7
apps/server/src/config.ts+1 −1
apps/server/src/main.ts+9 −2
apps/server/src/socket/admission.test.ts+9 −1
apps/server/src/socket/admission.ts+3 −1
apps/server/src/start.ts+15 −0
apps/server/src/storage/contract.ts+18 −32
apps/server/src/storage/memory/adapter.ts+10 −24
apps/server/src/storage/model.ts+1 −3
apps/server/src/storage/port.ts+6 −8
apps/server/src/storage/postgres/adapter.test.ts+24 −1
apps/server/src/storage/postgres/adapter.ts+27 −42
apps/server/src/storage/postgres/migrations.test.ts+79 −0
apps/server/src/storage/postgres/migrations.ts+43 −1
apps/server/src/storage/postgres/migrations/002_process_local_sessions.sql+20 −0
apps/server/src/storage/postgres/startup.test.ts+45 −1
apps/web/src/api.ts+1 −0
apps/web/src/app.tsx+1 −0
apps/web/src/wire.test.ts+85 −2
apps/web/src/wire.ts+19 −7
docs/authentication.md+27 −14
docs/channels.md+1 −1
docs/hosted-agent.md+4 −2
docs/storage.md+14 −7
e2e/collab.e2e.ts+1 −1
e2e/github.ts+1 −1
readme.md+18 −16