proper auth gating
2 months ago
24 files changed
- apps/web/app/(home)/layout.tsx+4−8
- apps/web/app/[username]/[repository]/layout.tsx+5−9
- apps/web/app/[username]/page.tsx+3−2
- apps/web/app/api/campfire/ref-details/route.ts+5−1
- apps/web/app/api/campfire/refs/route.ts+5−1
- apps/web/app/api/campfire/ws-token/route.ts+2−2
- apps/web/app/api/ci/jobs/[jobId]/cancel/route.ts+5−0
- apps/web/app/api/ci/jobs/[jobId]/logs/route.ts+6−0
- apps/web/app/api/ci/jobs/[jobId]/rerun/route.ts+5−0
- apps/web/app/api/ci/repos/[repoId]/runner-registration-token/route.ts+5−0
- apps/web/app/api/repos/[repoId]/commits/[sha]/checks/route.ts+5−1
- apps/web/app/api/repos/[repoId]/pulls/[prId]/autopilot/route.ts+5−1
- apps/web/app/api/repos/[repoId]/pulls/[prId]/diff/route.ts+5−1
- apps/web/app/api/repos/[repoId]/pulls/[prId]/files/[fileId]/diff/route.ts+5−1
- apps/web/app/api/repos/[repoId]/pulls/[prId]/files/route.ts+5−1
- apps/web/app/api/repos/[repoId]/pulls/[prId]/route.ts+5−1
- apps/web/app/ci/runs/[runId]/jobs/[jobId]/page.tsx+4−0
- apps/web/app/onboarding/actions.ts+7−10
- apps/web/app/onboarding/ensure-onboarded.ts+26−0
- apps/web/app/onboarding/username-availability/route.ts+3−3
- apps/web/app/settings/layout.tsx+4−1
- apps/web/app/sign-up/page.tsx+7−0
- apps/web/app/workspace/layout.tsx+5−6
- apps/web/lib/auth.ts+5−0