Commit Graph

328 Commits

Author SHA1 Message Date
Ishaan (OpenClaw)
7b4c40ae0b fix(auth): use redirectToSignIn in Clerk middleware 2026-02-07 20:04:23 +00:00
Arjun (OpenClaw)
ed2556c871 fix(frontend): await auth() before protect
Fix TS2339 by awaiting Clerk auth() (returns Promise<SessionAuthWithRedirect>) before calling protect().
2026-02-07 19:55:29 +00:00
Kunal
fce12698d8 fix(frontend): call auth().protect() in Clerk middleware 2026-02-07 19:41:37 +00:00
Arjun (OpenClaw)
9184ebed25 fix(frontend): satisfy Clerk auth() types in middleware
Avoid calling protect() on a Promise by awaiting auth() first.
2026-02-07 19:36:52 +00:00
Arjun (OpenClaw)
260e0815a8 fix(frontend): await auth().protect in middleware
Clerk middleware auth() is async in current types; await protect() to satisfy TS and avoid runtime issues.
2026-02-07 19:34:21 +00:00
Ishaan (OpenClaw)
05a83b765b fix(auth): enable Clerk middleware and make /sign-in public 2026-02-07 19:31:53 +00:00
abhi1693
a2627e36b0 E2E: make /sign-in catch-all and public in Clerk middleware 2026-02-07 19:30:21 +00:00
Arjun (OpenClaw)
52fcde5be8 Merge remote-tracking branch 'origin/master' into kunal/remove-e2e-auth-bypass 2026-02-07 19:25:41 +00:00
Arjun (OpenClaw)
e73b6c0f8c Merge master into fix/next-allowed-dev-origins 2026-02-07 19:17:53 +00:00
Kunal
81a4135347 fix(e2e): provide Clerk test creds + derive origin from publishable key 2026-02-07 19:16:47 +00:00
Abhimanyu Saharan
527cc13c63 refactor: improve code formatting and readability across multiple files 2026-02-08 00:46:15 +05:30
Abhimanyu Saharan
fa5b7dd271 feat: remove unused lead agent attributes from onboarding chat 2026-02-08 00:46:15 +05:30
Abhimanyu Saharan
40b0be7540 feat: add board group integration to boards page 2026-02-08 00:46:15 +05:30
Abhimanyu Saharan
91e4c069cc feat: enhance agent identity profile with purpose and personality attributes 2026-02-08 00:46:15 +05:30
abhi1693
d860298046 E2E: derive Clerk origin from publishable key; default test creds 2026-02-07 19:15:02 +00:00
abhi1693
33b413ebde E2E: implement /sign-in page with Clerk SignIn 2026-02-07 19:10:10 +00:00
Arjun (OpenClaw)
4d898dbb59 docs(frontend): clarify dev origin restrictions
Update frontend README note to explain host/origin mismatch and allowedDevOrigins when seeing proxy ECONNRESET in next dev.
2026-02-07 19:10:05 +00:00
Arjun (OpenClaw)
a50813931b fix(frontend): allow localhost dev origins
Expands Next.js allowedDevOrigins to include localhost/127.0.0.1 to reduce dev proxy ECONNRESET when binding next dev to 127.0.0.1.
2026-02-07 19:07:02 +00:00
abhi1693
8a2f792541 E2E: add /sign-in redirect; use it in Clerk Cypress login helper 2026-02-07 19:06:47 +00:00
Kunal
388402b834 fix(e2e): keep localhost baseUrl; bind dev server to 0.0.0.0 2026-02-07 19:02:17 +00:00
Kunal
f44f715e62 test(e2e): reuse shared cy.loginWithClerkOtp helper 2026-02-07 17:57:49 +00:00
Riya
6645b49a7c Merge master into kunal/remove-e2e-auth-bypass 2026-02-07 17:48:03 +00:00
Kunal
fd2c272824 chore(e2e): run Cypress in Chrome; use 127.0.0.1 baseUrl 2026-02-07 17:46:47 +00:00
Kunal
9eb6162771 fix(e2e): wrap Clerk redirect-origin interactions in cy.origin 2026-02-07 17:40:29 +00:00
Riya
d556269fa9 Merge remote-tracking branch 'origin/master' into riya/clerk-otp-cypress-helper 2026-02-07 17:38:06 +00:00
Kunal
e31b2b180b test(e2e): use Clerk redirect flow for stable Cypress login 2026-02-07 17:34:45 +00:00
Riya
8f08a8e9dc test(e2e): add Clerk OTP login helper (cy.origin) 2026-02-07 17:33:52 +00:00
Kunal
211308ef13 fix(e2e): pass Clerk publishable key into Cypress env 2026-02-07 17:33:23 +00:00
abhi1693
cad1cfbd09 E2E: pass Clerk publishable key into Cypress env 2026-02-07 17:33:09 +00:00
abhi1693
b82845aa42 E2E: use cy.origin for Clerk modal sign-in 2026-02-07 17:33:09 +00:00
abhi1693
ecee7ecaf5 E2E: remove Clerk bypass and sign in via Clerk in Cypress 2026-02-07 17:32:39 +00:00
Arjun (OpenClaw)
574c2fa93d Merge remote-tracking branch 'origin/master' into fix/compose-smoke-dockerfiles 2026-02-07 17:32:23 +00:00
Kunal
c4a5d8dd48 test(e2e): add negative auth case (wrong OTP) 2026-02-07 17:31:42 +00:00
Kunal
ac1c90c742 e2e: remove auth bypass; use real Clerk sign-in in Cypress 2026-02-07 17:31:37 +00:00
Abhimanyu Saharan
7d407b073e Merge pull request #41 from abhi1693/riya/frontend-activity-auth-boundary-test
Frontend: regression test for /activity Clerk auth boundary
2026-02-07 22:55:25 +05:30
Riya
8660f0ffce ci(e2e): run Cypress in Chrome against 127.0.0.1 2026-02-07 17:21:11 +00:00
Riya
709cd07a72 test(e2e): make activity_feed spec compatible with signed-out CI 2026-02-07 17:17:45 +00:00
Riya
8a88b33805 chore: resolve package-lock conflict 2026-02-07 17:12:14 +00:00
Riya
6a9df88eb6 Merge remote-tracking branch 'origin/master' into riya/frontend-activity-auth-boundary-test 2026-02-07 17:11:22 +00:00
Anya
15bc7ae833 test(frontend): add ActivityFeed component tests + expand coverage slice 2026-02-07 16:52:56 +00:00
Kunal
b716422b73 chore(frontend): add cypress devDependency for TS typings 2026-02-07 16:51:12 +00:00
Kunal
df732518f3 fix(e2e): add scoped Cypress typings for .cy.ts 2026-02-07 16:45:42 +00:00
Kunal
7856331377 Merge remote-tracking branch 'origin/master' into kunal/e2e-activity 2026-02-07 16:45:42 +00:00
Kunal
0f9d040792 test(e2e): stubbed /activity feed scenarios (auth bypass) 2026-02-07 16:29:14 +00:00
Riya
94dd8e439d test(e2e): add Cypress scaffold + CI job 2026-02-07 16:01:13 +00:00
Arjun (OpenClaw)
c65b225ba7 fix: dockerfiles build in compose context
- backend: copy dependency lockfiles from backend/ when build context is repo root
- frontend: don't copy public/ when it doesn't exist
2026-02-07 15:57:25 +00:00
Riya
f3ae10da26 chore(frontend-tests): fix lint in next/link mock 2026-02-07 15:55:25 +00:00
Kunal
f87cc1f7fb ci: scoped 100% coverage gates + policy doc 2026-02-07 15:54:42 +00:00
Riya
16f58af0c2 test(frontend): add /activity auth-boundary regression test 2026-02-07 15:53:07 +00:00
Nikhil (OpenClaw)
e9d39ff476 docs(frontend): add contributor guide 2026-02-07 15:38:22 +00:00