Commit Graph

1080 Commits

Author SHA1 Message Date
Konstantin Wohlwend
8643f04486 chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-10-18 16:35:48 -07:00
Konstantin Wohlwend
48a5b07a31 Improve wait(...) input validation error message 2024-10-18 11:57:33 -07:00
Konstantin Wohlwend
787d6ecce4 wait(...) no longer requires integers 2024-10-18 11:44:18 -07:00
Zai Shi
ad5efd947a
Fixed custom account setting page routing problems (#305)
Use hash routing for account setting page
2024-10-18 20:28:29 +02:00
Konstantin Wohlwend
9ec4433cf5 Input validation on wait(...) function
setTimeout picks 0 whenever the input doesn't fit in a 32-bit integer, so we reject such values

(see: https://news.ycombinator.com/item?id=41872010 )
2024-10-18 11:21:35 -07:00
Zai Shi
f62754003c chore: update package versions 2024-10-17 17:25:09 -07:00
Zai Shi
932d55a25e fixed visual bugs 2024-10-16 22:42:43 -07:00
Zai Shi
a47736cdd7 fixed overflows 2024-10-16 22:41:20 -07:00
Zai Shi
73641dd0d0 removed test code 2024-10-16 19:36:48 -07:00
Zai Shi
2ad9247ab0
Added waitUtil for analytics/webhooks so it is non-blocking (#303)
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-17 04:15:21 +02:00
Zai Shi
efaf6db3f7 fixed translation 2024-10-15 18:22:27 -07:00
Zai Shi
e9a9bef7e7
SDK docs (#300)
* trigger changes

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/stack-handler.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/selected-team-switcher.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/credential-sign-in.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/use-user.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/credential-sign-up.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/sign-in.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/sign-up.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/password-reset.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/account-settings.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/use-stack-app.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/user-button.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/auth-page.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/message-card.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/magic-link-sign-in.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/stack-provider.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/oauth-button-group.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/oauth-button.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/email-verification.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/forgot-password.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/stack-theme.mdx

* Patched /tmp/tmp3hhqor8i/docs/fern/docs/pages/sdk/stack-handler.mdx

* improved docs

* updated docs

* improved docs

* added credential sign in component image

* updated docs

* updated docs

* updated docs

* updated docs

* improved docs

* improved docs

* added user-button image

* improved docs

---------

Co-authored-by: patched.codes[bot] <298395+patched.codes[bot]@users.noreply.github.com>
2024-10-15 20:11:44 +02:00
Zai Shi
f61bd74337 updated email domain text on dashboard 2024-10-15 09:51:22 -07:00
Zai Shi
70d0e1038b removed button and input shadow 2024-10-14 17:12:51 -07:00
Zai Shi
952fa0bb5c only show "sign-in" after email verification if the user is not authenticated 2024-10-14 15:17:59 -07:00
Manoj Kumar
74e5fd0f6b
fix team name overflow (#281)
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
* fix team name overflow

* fix selected team switcher team name overflow

---------

Co-authored-by: = <=>
2024-10-14 04:16:11 +02:00
Zai Shi
18d75fbf21
Contact channel APIs (#288)
* removed contact channels from otp

* fixed types

* fixed bugs

* fixed bug

* fixed bugs

* updated user contact channel

* updated tests

* updated tests

* added unique key to otp and password auth

* added contact channel api

* added new send-verification-code route

* updated tests

* added contact channel create tests, fixed bug

* added more tests, removed update

* added more tests

* added more tests

* added more tests

* fixed typecheck

* fixed route structure

* fixed bugs, fixed tests

* added more tests

* added more tests

* fixed tests

* fixed tests

* implemented new merge account logic

* moved user create of otp sign in to after the first email verification

* added cc updates

* fixed bugs

* added more tests

* added more flows

* uncomment tests

* added primary updates

* Update apps/e2e/tests/backend/endpoints/api/v1/contact-channels/legacy-send-verification-code.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update apps/e2e/tests/backend/endpoints/api/v1/auth/otp/sign-in.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* updated test names

* Update apps/e2e/tests/backend/endpoints/api/v1/auth-flows.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update apps/e2e/tests/backend/endpoints/api/v1/auth-flows.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update apps/backend/src/app/api/v1/auth/oauth/callback/[provider_id]/route.tsx

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* fixed lint

* fixed lint

* fix lint

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-14 02:12:56 +02:00
Zai Shi
95ab828f14
removed client id unique constraint (#299) 2024-10-13 22:29:34 +02:00
Konstantin Wohlwend
9da481b2cd Require newline at the end of each file 2024-10-13 13:06:38 -07:00
Konstantin Wohlwend
e762832938 ensureTeamExist -> ensureTeamExists 2024-10-13 13:03:22 -07:00
Konstantin Wohlwend
f7e56a8f34 Replace typo in function name (ensureUserExist -> ensureUserExists) 2024-10-13 13:01:24 -07:00
Konstantin Wohlwend
e33afeaedc Fix component width
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-13 11:45:19 -07:00
Konsti Wohlwend
7f4537aec5
Consistent app url 2024-10-12 14:34:16 -07:00
Konstantin Wohlwend
58402dee42 Improve version alert message
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-11 18:02:58 -07:00
Konstantin Wohlwend
18432c56c1 chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-11 17:54:39 -07:00
Konstantin Wohlwend
f10f03c3b3 Add otel spans for sent emails 2024-10-11 17:52:47 -07:00
Konstantin Wohlwend
cd4c259f0f JWKS endpoint now uses base64url 2024-10-11 17:09:24 -07:00
Zai Shi
d66900b9d0
Update README.md 2024-10-10 18:57:16 +02:00
Konstantin Wohlwend
4e195934d5 Version alerter now uses HTTPS 2024-10-09 22:31:31 -07:00
Konstantin Wohlwend
37de59a615 chore: update package versions 2024-10-09 22:16:54 -07:00
Konstantin Wohlwend
419d0038f5 Update version alerter URL 2024-10-09 22:15:17 -07:00
Konstantin Wohlwend
36f627d411 Alerts when running outdated versions 2024-10-09 21:59:37 -07:00
Zai Shi
7e622e7d9e
Auto detect https for cookies (#296)
* added auto https detection

* not catch all

* improved cookie logic

* fixed bugs

* Update packages/stack/src/lib/cookie.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update packages/stack/src/lib/cookie.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* improve logic flow

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-10 06:35:59 +02:00
Konsti Wohlwend
36c9935a53
Add newsletter link
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-09 17:07:02 -07:00
Konstantin Wohlwend
59f111db95 chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-09 16:18:28 -07:00
Konstantin Wohlwend
d2572c2b9e Fix typo 2024-10-09 16:15:50 -07:00
Zai Shi
a9c09c6d5d updated NEXT_PUBLIC_STACK_ALLOW_INSECURE_COOKIES 2024-10-09 16:14:32 -07:00
Zai Shi
bd9f2f7daf suppress cookie error -> NEXT_PUBLIC_ALLOW_INSECURE_COOKIES 2024-10-09 15:51:49 -07:00
Zai Shi
ce857fb0ac
fixed send team invitation api (#295)
* fixed send team invitation api

* added team invitation tests
2024-10-09 22:43:15 +02:00
Konstantin Wohlwend
9d7c8ce405 chore: update package versions 2024-10-09 13:42:32 -07:00
Zai Shi
c7aa0e8cc6 fixed typo 2024-10-09 13:03:39 -07:00
Zai Shi
ecc26427b8 fixed github action 2024-10-08 17:48:54 -07:00
Zai Shi
bcd2e73223 updated logo 2024-10-08 17:45:47 -07:00
Zai Shi
4dd9bcd11f removed proxy 2024-10-08 17:42:30 -07:00
Zai Shi
7818293274 chore: update package versions 2024-10-08 17:23:38 -07:00
Zai Shi
4570fd3fc8 fixed editable text translation 2024-10-08 17:09:34 -07:00
Zai Shi
6564d46dd9 added suppress https cookie env var 2024-10-08 16:54:03 -07:00
Konstantin Wohlwend
aa32113cdb chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-10-07 14:28:22 -07:00
Zai Shi
a785d47417
Project specific JWKs (#293)
* added per project signing

* added well-known/jwks.json

* fixed bugs

* fixed bugs

* fixed tests

* fixed not found error
2024-10-07 21:27:55 +02:00
Konstantin Wohlwend
a9722eec23 chore: update package versions 2024-10-06 15:18:33 -07:00