CactusBlue
ef6248dd87
Option for merging/blocking account creations with same email but different oauth provider ( #502 )
...
* Add SettingSelect component and sign-up mode configuration
* update schema
* update schema
* add merge oauth schema fields
* update test snapshots
* reformat the file
* add mergeOauthMethods in the UI
* Improve documentation with minor enhancements and fixes (#466 )
* Improve PATCH /users/me performance
* Neon domain (#488 )
* React setup docs (#491 )
* chore: update package versions
* Update branding from Stack to Stack Auth in documentation (#504 )
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: zai@stack-auth.com <zai@stack-auth.com>
* Improve inner OAuth cookie error description
* Fix tests
* Add several spans
* Fix Next.js navigation
* chore: update package versions
* add handler config
* Fix conditional hooks in account settings page
* Add `pnpm run claude-code`
* Fixed docs image ratio (#507 )
* Documentation Updates (#508 )
* add links
* moar
* fix broken links
* fixed images
* updated readme
* Add Python SDK tab to docs
* Fix broken links
* Prefix `pnpm pre` before `pnpm dev`
* Automatically update pull request branches (#509 )
* Give PR updater more permissions
* Ignore PR merge conflicts in GH Actions
* [DEVIN: Konsti] Add userCount property to Project table with automatic update trigger (#506 )
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
* chore: update package versions
* rewrite as toMatchobject
* fix test
* test again
* fix
* update claude
* fix migrations
* fix migration
* fix types
* Update CLAUDE.md
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
* more instructions
* fix
* what was i on
* wew
* factor things
* correct the flow
* Update apps/backend/src/app/api/latest/auth/oauth/callback/[provider_id]/route.tsx
Very good catch
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* rename everything
* fix more
* fix typeerror
* update all the tests
* modify migration for legacy projects
* add loading state
* enable email verification for tests
* update test
* get a failing test
* the test works now
* remove debug console log
* change error
* no lowercase
* use typedToUpper/Lowercase
* capture err
* fix types
* modify error throw
* fixed
* add working tests
* documentation update
* Update apps/e2e/tests/backend/endpoints/api/v1/auth/oauth/merge-strategy.test.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* remove eslint rule
* fix json args
* documentation update
---------
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: zai@stack-auth.com <zai@stack-auth.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-10 21:25:12 +00:00
Moritz Schneider
da79285e7f
add opentelemetry log function and telemetry for primary_email_auth_enabled usage ( #523 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-03-10 08:46:36 -07:00
Konstantin Wohlwend
1b0f25cd7f
Improve inner OAuth cookie error description
2025-03-03 19:08:13 -08:00
Zai Shi
d89a4e3442
Neon domain ( #488 )
2025-03-04 02:48:38 +01:00
Konstantin Wohlwend
f3f508cbf1
Improve PATCH /users/me performance
2025-03-03 17:03:44 -08:00
CactusBlue
6353baa486
Disallow template updates without custom SMTP server ( #447 )
...
* add some rudimentary checks
* add some checks on email providers as well
* add warning
* Update apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/emails/page-client.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* added writeFileSyncIfChanged to all the codegen
* JS lib docs (#444 )
* fix creator id (#449 )
* Added magic link, OTP, and OAuth examples to JS docs (#448 )
* fixed syntax error
* Update page-client.tsx (#451 )
Co-authored-by: CactusBlue <thecactusblue@gmail.com>
* Add custom pages/contact channel docs (#438 )
* add some description about contact channels
* add some examples of password reset
* update the doc
* rename things
* split examples
* remove custom for now
* fix error message
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
* add warning
* move the check
* add warning popup
* a
* fix more
* remove dead function
* start adding some tests
* add a test case
* moar tests
* fix tests
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Zayd Krunz <70227235+ShrootBuck@users.noreply.github.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-27 19:05:27 -08:00
devin-ai-integration[bot]
9a76d10c2a
[DEVIN: Konsti] Add in-source unit tests to stack-shared utilities ( #485 )
...
* Add in-source unit tests to stack-shared utilities
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix type checking and linting issues
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix lint errors in results.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix remaining lint errors in results.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix lint warnings in results.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix wait function mocking in results.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix retry function test in results.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix React.forwardRef mock in react.tsx test
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix trailing spaces in react.tsx and results.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Revert to DependenciesMap and wrap rejected promise in ignoreUnhandledRejection
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix
* Revert changes to known-errors.tsx constructor
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Make rotateRight call rotateLeft per review feedback
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Remove redundant @ts-expect-error directive in known-errors.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix import order in promises.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Fix
* Fix CI failures: add back @ts-expect-error in known-errors.tsx and revert mapResult implementation in results.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Remove unused @ts-expect-error directive in known-errors.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Add back @ts-expect-error directive with explanation in known-errors.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* Change @ts-expect-error to @ts-ignore in known-errors.tsx
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
* be honest
* vocabulary
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2025-02-28 01:47:37 +00:00
devin-ai-integration[bot]
46f388342e
Make Project description field non-nullable ( #483 )
...
Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
2025-02-27 11:32:29 -08:00
CactusBlue
eb618a4596
add timeout for sending test emails ( #486 )
2025-02-26 18:10:33 -08:00
CactusBlue
180b455d4f
Remove global legacy JWT ( #450 )
...
* remove all legacy jwt references
* fix creator id (#449 )
* update snapshots
* Added magic link, OTP, and OAuth examples to JS docs (#448 )
* fixed syntax error
* re-add legacy jwt on prisma schema
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-21 10:10:56 -08:00
CactusBlue
23497e5303
Log emails into database ( #455 )
...
* log email send into database
* update the model
* rename models
* properly wrap everything
* migrate
* remove password from logging
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-21 10:07:18 -08:00
Zai Shi
f81d1c0e04
fix creator id ( #449 )
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-19 19:16:30 -08:00
Zai Shi
ef7e666656
JS lib docs ( #444 )
2025-02-20 00:48:05 +01:00
Konstantin Wohlwend
006a0dcc4e
Send sign up emails synchronously
2025-02-18 15:10:00 -08:00
Konstantin Wohlwend
20488cffb7
Replace some 400 status codes with 409
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-17 18:11:32 -08:00
Konstantin Wohlwend
2c32e0cb7f
Fix STACK-BACKEND-78
2025-02-17 16:55:14 -08:00
CactusBlue
de30697779
Add validation for expired Neon transfer codes ( #430 )
...
* add validation for neon project transfers and expose GET handler
* complete the rest of it
* fix requested changes
* add tests
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-12 15:04:30 -08:00
Konstantin Wohlwend
45b5911f6e
Neon /transfer GET endpoint
2025-02-12 10:14:08 -08:00
Zai Shi
6c75d12cc7
fixed verification code handler error when user is deleted
2025-02-11 11:43:43 -08:00
Konstantin Wohlwend
b94b995ef6
Fix compile errors
2025-02-09 14:11:57 -08:00
Konstantin Wohlwend
9fa558589c
Activity events use projectId again
2025-02-09 14:06:07 -08:00
Konsti Wohlwend
f2f1b9df82
Tenancies ( #418 )
...
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2025-02-07 22:54:04 -08:00
Konstantin Wohlwend
14fb28fadf
Move /api/v1 to /api/latest
2025-02-05 17:24:43 -08:00