Commit Graph

977 Commits

Author SHA1 Message Date
Zai Shi
38c486f575 Handle unauthorized OAuth scope errors with descriptive error message 2025-03-05 14:19:54 -08:00
Zai Shi
337f8b08e6 fixed github user info api 2025-03-05 13:54:08 -08:00
Konstantin Wohlwend
af89dc7321 Remove automatic prefetch warning 2025-03-05 13:50:48 -08:00
Konstantin Wohlwend
b973a52cd4 chore: update package versions
Some checks failed
Update pull request branches / Update pull request branches (push) Has been cancelled
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
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-03-05 09:42:18 -08:00
devin-ai-integration[bot]
271ea9b175
[DEVIN: Konsti] Add userCount property to Project table with automatic update trigger (#506)
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2025-03-05 09:27:40 -08:00
Konstantin Wohlwend
bb8e28a275 Add Python SDK tab to docs 2025-03-04 18:24:32 -08:00
Konstantin Wohlwend
f6c2bdcd6a chore: update package versions
Some checks failed
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
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-03-03 22:05:36 -08:00
Konstantin Wohlwend
09da514f29 Add several spans 2025-03-03 20:24:23 -08:00
Konstantin Wohlwend
d6cc73a278 Fix tests 2025-03-03 19:16:50 -08:00
Konstantin Wohlwend
1b0f25cd7f Improve inner OAuth cookie error description 2025-03-03 19:08:13 -08:00
Konstantin Wohlwend
18e68300a4 chore: update package versions 2025-03-03 18:06:45 -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
Konstantin Wohlwend
61a27c40ea More spans 2025-03-03 01:15:53 -08:00
Konstantin Wohlwend
672de18418 Add span for decoding access token 2025-03-03 00:03:58 -08:00
Konstantin Wohlwend
a9b90dfb0a Allow transaction retries in dev mode 2025-03-02 17:57:03 -08:00
Konstantin Wohlwend
3e381bdaee Fix tests 2025-03-02 17:31:33 -08:00
Konstantin Wohlwend
f1c722a6e2 Make 10% of all transactions serializable 2025-03-02 17:15:20 -08:00
Konstantin Wohlwend
b340be49ce Log concurrent requests per process in OpenTelemetry 2025-03-02 16:38:47 -08:00
Konstantin Wohlwend
2ac8cb8542 Add stack.process-id to OpenTelemetry attributes 2025-03-02 16:34:14 -08:00
Konstantin Wohlwend
30e27906ec Include status in result log 2025-03-02 16:31:14 -08:00
Konstantin Wohlwend
042745a4be Log request ID with internal server errors
Some checks failed
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
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-28 16:56:50 -08:00
Konstantin Wohlwend
d77961b96d chore: update package versions
Some checks failed
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
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-28 11:55:38 -08:00
Konstantin Wohlwend
0fc6839751 Skip event logs in CI
Some checks failed
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
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-27 22:17:53 -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
CactusBlue
8b88c7a258
Add E2E tests for the JS library (#487)
* Add dependency on @stackframe/js to e2e tests

* add more

* add some additional logic for issuing api key

* more

* fix window dependency

* roll it back

* chore: update package versions

* Make Project description field non-nullable (#483)

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>

* Run E2E API tests on Node v22 too

* Run E2E tests on latest Node.js version

* Codegen + macros for SDK docs (#456)

* add extra body

* Add link to Docker image to docs

* Permit signUpWithCredential in non-browser environments

* get the tests running

* remove

* fix

* update the interface

* Update apps/e2e/tests/js/js-helpers.ts

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

---------

Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2025-02-27 16:32:41 -08:00
Zai Shi
427ab34adb
Codegen + macros for SDK docs (#456) 2025-02-27 23:12:30 +01: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
Konstantin Wohlwend
0def869ee7 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-27 10:50:41 -08:00
CactusBlue
eb618a4596
add timeout for sending test emails (#486) 2025-02-26 18:10:33 -08:00
Konstantin Wohlwend
01014ed901 chore: update package versions 2025-02-26 11:04:13 -08:00
devin-ai-integration[bot]
eec01632b1
Add clean scripts to all packages/apps (#478)
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>
2025-02-26 06:34:11 +01:00
CactusBlue
b48172e337
Add cascade to sentEmail (#463)
* add delete cascade

* add cascade to both
2025-02-25 12:14:01 -08:00
Konstantin Wohlwend
06746d8831 No longer log environment variables
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2025-02-21 18:25:08 -08:00
Konstantin Wohlwend
582aadf480 Fix environment variables on the dashboard 2025-02-21 18:22:33 -08:00
Zai Shi
b465dddcee
Fix MS OAuth (#457) 2025-02-21 19:39:22 +01: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
CactusBlue
1f069ef096
first (#459) 2025-02-21 10:05:08 -08:00
Zai Shi
dbf061fb8e
Fix webhook tests (#458) 2025-02-21 18:55:39 +01:00
Konstantin Wohlwend
aa41bfc637 Add jsx-indent rule 2025-02-20 20:14:09 -08:00
Konstantin Wohlwend
d6193fd565 Refresh globe on count property error 2025-02-20 18:25:45 -08:00
Konstantin Wohlwend
fbbec19cbd Auto-format Prisma files on save 2025-02-20 17:57:16 -08:00
Zai Shi
dc5de208fc Handle Prisma foreign key constraint error in createAuthTokens 2025-02-20 17:25:39 -08:00
Konstantin Wohlwend
7cfb164e92 chore: update package versions 2025-02-20 16:05:36 -08:00
Konstantin Wohlwend
c3d0fe952f Less flakey webhook tests 2025-02-20 15:44:14 -08:00
Konstantin Wohlwend
fc811c8f15 chore: update package versions 2025-02-20 15:17:44 -08:00
Konsti Wohlwend
157f722417
Vanilla JS init script (#454) 2025-02-20 15:11:06 -08:00
Zai Shi
4df77497a0 Update GitHub repository links in documentation 2025-02-20 10:14:55 -08:00
Zayd Krunz
a02801f3e3
Update page-client.tsx (#451)
Co-authored-by: CactusBlue <thecactusblue@gmail.com>
2025-02-20 09:53:38 -08:00
Zai Shi
6080862f76
Added magic link, OTP, and OAuth examples to JS docs (#448) 2025-02-20 18:27:54 +01:00
Zai Shi
f81d1c0e04 fix creator id (#449)
Some checks failed
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
Zai Shi
9a75d60f99 added writeFileSyncIfChanged to all the codegen 2025-02-19 12:11:17 -08:00
CactusBlue
6692194250
Improve auth method selection (#442)
* move brand icons

* add icons

* modify the auth page

* change how dialog works

* preview

* improve the auth methods page

* better predicate types

* convert to table

* fix more stuff

* refactor

* add default case

* edit table

* add config

* add brand colors

* icon refresh

* fix a bug with shared tooltips

* Refactor auth methods page and preview with UI improvements

* Simplify provider update confirmation with async/await

* Update packages/stack-ui/src/components/brand-icons.tsx

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

* update deps

* more fixes

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-18 20:54:24 -08:00
Konstantin Wohlwend
018b04e825 chore: update package versions 2025-02-18 15:54:13 -08:00
Konstantin Wohlwend
c99b170954 Fix tests 2025-02-18 15:31:21 -08:00
Konstantin Wohlwend
2f4108975e Fix tests 2025-02-18 15:25:44 -08:00
Konstantin Wohlwend
b4b3e4dd1d Temporarily fix tests 2025-02-18 15:16:22 -08:00
Konstantin Wohlwend
006a0dcc4e Send sign up emails synchronously 2025-02-18 15:10:00 -08:00
Konstantin Wohlwend
269e138c34 Neon transformation confirmation note 2025-02-18 14:43:45 -08:00
Konstantin Wohlwend
135b2b9dcf Add note to Neon transfer confirmation 2025-02-18 14:43:02 -08:00
Konstantin Wohlwend
4c562fb345 Revert teams test 2025-02-18 13:42:56 -08:00
Konstantin Wohlwend
9ba2482d3a Team test fixes 2025-02-18 10:21:27 -08:00
Konstantin Wohlwend
0466308a57 Team membership fixes 2025-02-18 09:23:28 -08:00
Konstantin Wohlwend
7475d7c8de Fix tests 2025-02-18 00:22:19 -08:00
Konstantin Wohlwend
20488cffb7 Replace some 400 status codes with 409
Some checks failed
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
Konstantin Wohlwend
0672c01739 Fix STACK-BACKEND-77 2025-02-17 12:23:54 -08:00
Konstantin Wohlwend
5824eae0a6 Fix STACK-BACKEND-6V 2025-02-17 11:46:14 -08:00
Konstantin Wohlwend
21454eb23a Fix STACK-SERVER-QN 2025-02-17 11:25:03 -08:00
Konstantin Wohlwend
6c62888360 Fix STACK-SERVER-QP 2025-02-17 11:12:34 -08:00
CactusBlue
816d64c850
In-source unit tests (#429)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-14 11:47:52 -08:00
Konstantin Wohlwend
c452f9c584 chore: update package versions 2025-02-14 10:19:08 -08:00
Konstantin Wohlwend
354adeb1b5 Add several Postgres indices 2025-02-14 09:55:24 -08:00
Konstantin Wohlwend
6074e267bc More extensive logs
Some checks failed
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-13 17:49:18 -08:00
Zai Shi
a444e13342
Local emulator fixes (#437) 2025-02-14 02:02:24 +01:00
Konstantin Wohlwend
be05819e8b Reword Add Domain dialog 2025-02-13 12:56:06 -08:00
Zai Shi
f5566a1570
Webhook E2E tests (#428)
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-13 20:29:05 +01:00
Zai Shi
e9f8704934 updated email password for local emulator 2025-02-13 11:24:49 -08:00
Zai Shi
e55b42f848
Local emulator (#422) 2025-02-13 18:57:02 +01:00
CactusBlue
495645a22a
add OTP to the subject line (#435)
* add OTP to the subject line

* strip sign in codes
2025-02-12 19:27:48 -08:00
Zai Shi
be203283f5 Fixed dashboard trusted domain 2025-02-12 17:18:55 -08:00
Konstantin Wohlwend
66a7cc6571 Sentry x PostHog integration 2025-02-12 15:23:18 -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
8bdc6bb3ae verify-data-integrity can now start at a specified project 2025-02-12 14:16:09 -08:00
Zai Shi
05295714c6 removed unused code 2025-02-12 11:56:46 -08:00
Zai Shi
4daf8cce2c capture errors for sentry 2025-02-12 10:45:41 -08:00
Zai Shi
2999f99c9a improved trusted domain ui 2025-02-12 10:41:30 -08:00
Konstantin Wohlwend
2e8d5edcfc chore: update package versions 2025-02-12 10:35:56 -08:00
Konstantin Wohlwend
45b5911f6e Neon /transfer GET endpoint 2025-02-12 10:14:08 -08:00
Konstantin Wohlwend
622f9f6f0d Fix loading button indicator positioning 2025-02-11 20:36:43 -08:00
Konstantin Wohlwend
ce3221f67f "More sign-in methods available later" info 2025-02-11 20:29:00 -08:00
Zai Shi
0da892de19 Revert "updated next.js version"
This reverts commit 5a82349827.
2025-02-11 14:21:39 -08:00
Zai Shi
0b67e74fca added more error handling for oauth 2025-02-11 12:09:39 -08:00
Zai Shi
5a82349827 updated next.js version 2025-02-11 12:06:12 -08:00
Zai Shi
5535fbb832 added port range constraint 2025-02-11 11:53:24 -08:00
Zai Shi
6c75d12cc7 fixed verification code handler error when user is deleted 2025-02-11 11:43:43 -08:00
CactusBlue
b28eadb035
fix tests from PR #403 (#427)
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-10 19:06:09 -08:00
Zai Shi
7d975c8f44 added theme switch for monaco editor 2025-02-10 15:43:24 -08:00
CactusBlue
064b52267c
add advanced setting for enabling plain HTTP domains (#403) 2025-02-10 19:07:00 +01:00
Konstantin Wohlwend
1c873a1f33 Fix Fern docs 2025-02-09 21:11:15 -08:00
CactusBlue
84ffe3b4f1
User page redesign (#405)
* Squash

* fixes

* change router

* correct it again

---------

Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2025-02-09 20:57:55 -08:00
Konstantin Wohlwend
a733a4e276 chore: update package versions 2025-02-09 14:36:44 -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
Zai Shi
13f0d440c9
Fixed process.env.NEXT_PUBLIC_... not loaded after docker build (#420)
Some checks failed
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-09 01:26:46 +01:00
Zai Shi
9d21b9df16 fixed seed script docker 2025-02-08 15:48:43 -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
ccdbb314ea Capitalization 2025-02-05 18:36:11 -08:00
Konstantin Wohlwend
238dca3310 Add react-scan to dev environment 2025-02-05 18:20:53 -08:00
Konstantin Wohlwend
14fb28fadf Move /api/v1 to /api/latest 2025-02-05 17:24:43 -08:00
Zai Shi
4a10162035 improved code structure
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-05 14:40:19 -08:00
Zai Shi
edc4231865 added templates for oauth mock server 2025-02-05 14:35:30 -08:00
Zai Shi
84ba75895e
Better mock oauth server (#416) 2025-02-05 21:10:41 +01:00
Konstantin Wohlwend
8bd73f0d99 chore: update package versions
Some checks failed
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-04 16:50:47 -08:00
Konstantin Wohlwend
ba494fc27e chore: update package versions 2025-02-04 16:42:42 -08:00
Konstantin Wohlwend
7115f21980 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-04 16:17:26 -08:00
Zai Shi
7298c69865 added error details to inner oauth callback 2025-02-04 10:06:36 -08:00
Zai Shi
34a1a08beb added comments 2025-02-04 09:42:50 -08:00
Zai Shi
a857251ab9 throw no project error in smart request 2025-02-03 18:01:05 -08:00
Konstantin Wohlwend
18d4371db0 chore: update package versions 2025-02-03 15:03:38 -08:00
Konstantin Wohlwend
38323ce660 Neon Identity -> Auth rebrand 2025-02-03 13:15:37 -08:00
Konsti Wohlwend
c857003f9c
Glassy dashboard style (#411) 2025-02-03 10:03:35 -08:00
Konsti Wohlwend
3c013cc105
nicify(...) now formats multiline strings nicely (#415)
Some checks failed
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-02 19:22:06 -08:00
Konstantin Wohlwend
df9cb4a321 Add OTel when CRUD handlers are invoked programmatically 2025-02-01 18:10:03 -08:00
Konsti Wohlwend
447eee0def
Migrations toolkit (#409) 2025-02-01 17:46:21 -08:00
Konstantin Wohlwend
4554112241 Fix types
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-01-31 18:33:16 -08:00
Konstantin Wohlwend
59d4d4d338 Fix build 2025-01-31 18:28:47 -08:00
Konstantin Wohlwend
66bf1d0494 Show JWT expiresAt in 401 error message 2025-01-31 18:24:45 -08:00
Konstantin Wohlwend
fca9f57f11 Better user ID search 2025-01-31 17:35:36 -08:00
Zai Shi
d90128e44a added EENVELOPE error 2025-01-31 17:11:42 -08:00
Zai Shi
38494003f0 added ETIMEOUT for email errors 2025-01-31 16:39:59 -08:00
CactusBlue
e27f7746c2
User ID Search, Again (#414) 2025-01-31 19:54:16 +01:00
Konsti Wohlwend
d6ece57cc6
Revert "Very basic user id filtering (#412)" (#413)
Some checks failed
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
This reverts commit de33a8d5db.
2025-01-30 16:34:31 -08:00
CactusBlue
de33a8d5db
Very basic user id filtering (#412) 2025-01-30 16:25:29 -08:00
Konstantin Wohlwend
3fc6a7147b Neon API project provisioning defaults 2025-01-30 09:56:58 -08:00
Konsti Wohlwend
f869c93563
Use Depot for GitHub Actions (#402) 2025-01-29 10:08:16 -08:00
CactusBlue
1ad4173e2a
add autocomplete for emails as well (#407)
Some checks failed
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-01-28 18:37:40 -08:00
CactusBlue
d591a24129
adjust sidebar layout for minimum width (#404) 2025-01-28 18:36:28 -08:00
Konstantin Wohlwend
1c35695a66 Update .env.development 2025-01-27 15:24:35 -08:00
Konstantin Wohlwend
f2bf3faa2b chore: update package versions 2025-01-27 14:58:18 -08:00
Konstantin Wohlwend
21f5cd7e6a Bugfixes 2025-01-27 14:57:58 -08:00
Konstantin Wohlwend
2f0ec414fe chore: update package versions 2025-01-27 14:34:09 -08:00
Konstantin Wohlwend
3d6cf7314c Fix spelling
Some checks failed
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
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
2025-01-22 22:06:30 -08:00
Zai Shi
77cce58f92
Neon api keys UI improvement (#398) 2025-01-23 07:05:34 +01:00
Konstantin Wohlwend
05e7b5fa1b More project transfer tests 2025-01-22 16:07:49 -08:00
CactusBlue
6c0d414a8e
Adjust padding on Globe live 2025-01-22 15:00:49 -08:00
Zai Shi
30cd64cca4 renamed domains & handlers to domains 2025-01-21 14:57:09 -08:00
Zai Shi
3a73338a10 chore: update package versions 2025-01-21 13:11:53 -08:00
Zai Shi
2206d9d782 fixed custom smtp server UI bug 2025-01-21 13:10:15 -08:00
Zai Shi
e62559c52f fixed domain list problem 2025-01-21 10:40:39 -08:00
Konstantin Wohlwend
cbf6c7083f Fix build 2025-01-14 18:17:33 -08:00
Konstantin Wohlwend
56251ccc15 Fewer transaction retries 2025-01-13 17:05:07 -08:00
Konstantin Wohlwend
0f55c18e98 Fix STACK-BACKEND-2J 2025-01-13 17:02:05 -08:00
Konstantin Wohlwend
6272cdf8dc Fix STACK-BACKEND-69 2025-01-13 16:57:41 -08:00
Konstantin Wohlwend
3cd66c4c58 Fix STACK-BACKEND-67 2025-01-13 11:06:36 -08:00
Konstantin Wohlwend
20e3922390 Better unknown errors for test emails 2025-01-13 10:58:47 -08:00
Konstantin Wohlwend
072d4ecf98 Fix STACK-BACKEND-6A 2025-01-13 10:58:10 -08:00
Konstantin Wohlwend
4e03a16f4b Fix STACK-BACKEND-63 2025-01-13 10:51:56 -08:00
Konstantin Wohlwend
b7d4277510 Error when sending email takes too long 2025-01-13 10:36:40 -08:00
Konstantin Wohlwend
f15de038fe More descriptive error message when invalid scopes are requested 2025-01-13 10:25:07 -08:00
Konstantin Wohlwend
ff7c72798b chore: update package versions
Some checks failed
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
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
2025-01-11 23:05:20 -08:00
Zai Shi
8cb4f01782 added default project name when creating neon project
Some checks failed
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
TOC Generator / TOC Generator (push) Has been cancelled
2025-01-07 14:30:13 -08:00
Zai Shi
8f7e3c54d5 added create and connect button on neon oauth 2025-01-07 11:24:47 -08:00
Zai Shi
67f7b6d052 added automatic api creation open from url 2025-01-07 11:11:46 -08:00
Zai Shi
b85b91f307 removed lodash 2025-01-07 10:54:57 -08:00
Konstantin Wohlwend
bca8202fee chore: update package versions
Some checks failed
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
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
2025-01-03 18:01:00 -08:00
Konstantin Wohlwend
ab26bc8d3a Use 30d intervals for metrics page 2025-01-03 17:52:43 -08:00
Konstantin Wohlwend
c1a2c9da89 Move metrics page to Overview
Some checks failed
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
TOC Generator / TOC Generator (push) Has been cancelled
2024-12-30 16:08:42 -08:00
Konstantin Wohlwend
f11bd9ec49 Make onboarding dialog non-blocking
Some checks failed
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
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-12-29 20:22:34 -08:00
Konstantin Wohlwend
dc91c25937 Improve metrics page chart sizing on Safari 2024-12-29 19:07:35 -08:00
Konstantin Wohlwend
4acc91fc29 chore: update package versions 2024-12-29 12:28:53 -08:00
Konstantin Wohlwend
6e0d6b9890 Better support for Supabase Studio index advisor 2024-12-29 12:20:35 -08:00
Konstantin Wohlwend
2b09cfb841 Fix indentation 2024-12-29 11:34:14 -08:00
Konstantin Wohlwend
e25394bb62 Wrap API page main in <div> 2024-12-29 11:34:04 -08:00
Konstantin Wohlwend
6b0353635f Remove verify-data-integrity test 2024-12-28 21:42:36 -08:00
Konstantin Wohlwend
cc8aebea04 Remove unnecessary log statement 2024-12-28 21:42:14 -08:00
Konstantin Wohlwend
1bce908c7d PgAdmin & Supabase Studio 2024-12-28 21:33:30 -08:00
Konsti Wohlwend
cf95bb707f
Raw project query (#382) 2024-12-28 11:47:09 -08:00
Konstantin Wohlwend
2aa6c31566 Require pagination cursor to be UUID 2024-12-28 10:01:46 -08:00
Konstantin Wohlwend
4d5df15d6a Fix unit tests
Some checks failed
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
TOC Generator / TOC Generator (push) Has been cancelled
2024-12-27 14:20:08 -08:00
Konstantin Wohlwend
871dbb934c Fix users query 2024-12-27 13:44:16 -08:00
Konstantin Wohlwend
8f710fb388 Log error when selected team member has no team 2024-12-27 12:13:25 -08:00
Konstantin Wohlwend
ca8fa28d15 chore: update package versions
Some checks failed
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
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-12-27 11:49:14 -08:00
Konsti Wohlwend
8ce7c9f079
Raw SQL query for fetching users (#381) 2024-12-27 11:31:12 -08:00
Konstantin Wohlwend
42c5e2fe49 Fix STACK-SERVER-NH 2024-12-27 11:17:51 -08:00
Konstantin Wohlwend
640026c89e Only fetch keys that are required for the access type 2024-12-26 11:47:14 -08:00
Konstantin Wohlwend
9fca293199 Improved OTel spans 2024-12-26 11:42:08 -08:00
Konstantin Wohlwend
e5374acca6 Better traceSpan signature
Some checks failed
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
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-12-24 23:45:40 -08:00
Konstantin Wohlwend
1232d2b26c Even more OTel spans 2024-12-24 23:43:34 -08:00
Konstantin Wohlwend
723e307c7e Add display name to span attributes 2024-12-24 22:20:39 -08:00
Konstantin Wohlwend
8080134595 More OTel spans 2024-12-24 17:45:19 -08:00
Konstantin Wohlwend
f0cc81ec9e Update backend TypeScript target 2024-12-24 16:44:59 -08:00
Konstantin Wohlwend
9afde9f0d6 chore: update package versions 2024-12-24 10:53:36 -08:00
Zai Shi
d540db0b56 removed GET team transaction 2024-12-24 10:46:38 -08:00
Konstantin Wohlwend
a183bcca07 Address TODO next-release comments 2024-12-23 20:03:50 -08:00
Konstantin Wohlwend
74ea96bfd9 Remove unused dependencies 2024-12-23 19:58:34 -08:00
Konstantin Wohlwend
4199f929bf object-curly-spacing rule 2024-12-23 19:37:05 -08:00