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
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
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
be05819e8b
Reword Add Domain dialog
2025-02-13 12:56:06 -08:00
Zai Shi
f5566a1570
Webhook E2E tests ( #428 )
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
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
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
CactusBlue
b28eadb035
fix tests from PR #403 ( #427 )
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
CactusBlue
064b52267c
add advanced setting for enabling plain HTTP domains ( #403 )
2025-02-10 19:07:00 +01: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
Konsti Wohlwend
f2f1b9df82
Tenancies ( #418 )
...
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2025-02-07 22:54:04 -08:00
Konstantin Wohlwend
38323ce660
Neon Identity -> Auth rebrand
2025-02-03 13:15:37 -08:00
Konsti Wohlwend
3c013cc105
nicify(...) now formats multiline strings nicely ( #415 )
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
Konsti Wohlwend
447eee0def
Migrations toolkit ( #409 )
2025-02-01 17:46:21 -08:00
Konstantin Wohlwend
66bf1d0494
Show JWT expiresAt in 401 error message
2025-01-31 18:24:45 -08:00
Konstantin Wohlwend
3fc6a7147b
Neon API project provisioning defaults
2025-01-30 09:56:58 -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
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
Konsti Wohlwend
cf95bb707f
Raw project query ( #382 )
2024-12-28 11:47:09 -08:00
Konstantin Wohlwend
4d5df15d6a
Fix unit tests
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
Konsti Wohlwend
8ce7c9f079
Raw SQL query for fetching users ( #381 )
2024-12-27 11:31:12 -08:00
Konstantin Wohlwend
b46bdc8f04
Fix STACK-BACKEND-5K
2024-12-23 19:16:24 -08:00
Konstantin Wohlwend
e7044080c5
Create fewer projects in unit tests
2024-12-23 14:03:00 -08:00
Konstantin Wohlwend
415dc2df42
Remove empty profile image strings from database
2024-12-23 13:08:36 -08:00
Konstantin Wohlwend
ef935e24d8
Fix STACK-BACKEND-5Q
2024-12-23 12:36:27 -08:00
CactusBlue
cd35e8cdc4
Dashboard Metrics ( #361 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-12-22 12:02:21 -08:00
Konstantin Wohlwend
ac0d657243
Prepend mailbox ID to generated email addresses
2024-12-21 12:19:24 -08:00
Konstantin Wohlwend
501269daa3
Cleanup logs during tests
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-17 18:33:38 -08:00
Konstantin Wohlwend
3e1a901c37
Turbopack for backend
2024-12-17 18:12:03 -08:00
Konstantin Wohlwend
e039c2c4aa
Fix tests
2024-12-17 13:34:18 -08:00
Zai Shi
e07142f086
Neon webhook create ( #368 )
2024-12-12 19:18:25 +01:00
Konstantin Wohlwend
257ec46244
Fix build
2024-12-11 20:37:42 -08:00
Konstantin Wohlwend
11e131fd16
Fix build
2024-12-10 09:33:11 -08:00
Jakub Kołodziejczak
ee48d2b7c0
chore: update known errors to correct URL ( #356 )
...
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2024-12-10 00:14:21 -08:00
Konsti Wohlwend
0413706c39
Upgrade backend to Next.js 15 ( #360 )
2024-12-10 00:11:13 -08:00
Konsti Wohlwend
22676c563b
Neon project provision ( #358 )
2024-12-08 11:44:35 -08:00
Konstantin Wohlwend
79dec9f3c2
Smaller Neon fixes
2024-12-06 13:04:18 -08:00
Konstantin Wohlwend
b8b4ab98c1
Neon OAuth "Create new project" flow
2024-12-05 19:54:59 -08:00
Konsti Wohlwend
cec718f542
Identity Provider/External OAuth ( #323 )
...
Co-authored-by: moritz <moritsch@student.ethz.ch>
2024-11-30 23:27:55 -08:00
Zai Shi
45ef89d936
integration -> integration/neon
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-11-27 12:46:20 +01:00
Zai Shi
8f73e99389
Endpoints for Neon integration ( #351 )
...
/integrations/api-keys
/integrations/oauth-providers
2024-11-27 12:30:20 +01:00
Konstantin Wohlwend
c1b8601341
Advanced team invitations
2024-11-26 17:12:57 +01:00
Konstantin Wohlwend
ac9a85317c
Stricter email input validation
2024-11-21 22:41:22 +01:00
Konstantin Wohlwend
26b09b0947
Fix build
2024-11-20 03:41:21 +01:00
Konstantin Wohlwend
1f84ff59aa
Create users endpoint can now take a password hash
2024-11-20 03:26:22 +01:00
Konstantin Wohlwend
6a0ca7531c
Disallow invalid emails
2024-11-20 00:12:20 +01:00
Konstantin Wohlwend
bc24b41f61
Replace required() of yup schemas with defined()
2024-11-18 20:08:55 +01:00
Zai Shi
b6f0276ac1
improve redirect url error log
2024-11-13 19:42:53 +01:00
Konsti Wohlwend
c2bc80bda5
Support create-next-app@15 with the setup wizard ( #340 )
2024-11-13 13:58:42 +01:00
Zai Shi
18d6e77ca2
Fixed user email update bug ( #329 )
2024-11-05 22:21:27 +01:00
Zai Shi
fd8d166e04
Query/filtering with list users endpoint ( #314 )
2024-10-30 02:16:39 +01:00
Moritz Schneider
93a1fcf7cb
Passkey support ( #321 )
...
* passkeys
* add passkey tests
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-28 16:56:46 -07:00
Zai Shi
363bfa9bed
OTP auth on the client SDK and dashboard ( #309 )
...
Fixed the bug that user creation doesn't check the otp/password configs correctly
UX improvement: added otp auth to user creation on the dashboard
Improved user creation docs
Added otp auth to user creation SDK
2024-10-22 00:03:56 +02:00
Zai Shi
7b0d955792
added jwt tests again
2024-10-21 09:37:45 -07:00
Konstantin Wohlwend
a79add4103
TOTP retry
2024-10-21 08:47:35 -07:00
Zai Shi
e6b898126e
Contact channel client ( #290 )
...
Added contact channels to stack-app
Added emails, OTP, and password settings to the account settings page
Added /api/v1/auth/password/set
Added otp_auth_enabled to users endpoints
2024-10-20 01:01:25 +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
Konstantin Wohlwend
9da481b2cd
Require newline at the end of each file
2024-10-13 13:06:38 -07:00
Konstantin Wohlwend
cd4c259f0f
JWKS endpoint now uses base64url
2024-10-11 17:09:24 -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
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
Zai Shi
28c3f57f31
New contact channels ( #287 )
...
* 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
* removed contact channel from user object
2024-10-01 06:22:12 +02:00
Zai Shi
d0b3d6e620
Fix team creation on the server not automatically adding the current user ( #266 )
...
* add_current_user => creator_user_id
* added more tests
* added error checks
* removed getIdFromUserIdOrMe
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-01 06:11:00 +02:00
Zai Shi
85b33f6497
added list user tests
2024-09-28 15:33:24 -07:00
Zai Shi
430b27d06f
fixed email update ( #284 )
2024-09-29 00:30:00 +02:00
Zai Shi
06fcca6fe6
OTP ( #263 )
...
* fixed otp send email template
* added version
* added send response type
* updated email template
* added otp email
* added otp page
* fixed bugs
* fixed bugs, added back button on otp page
* otp works
* added max attempts per nonce code
* fixed error return type
* fixed tests
* fixed bugs
* updated button text
* added tests
* added totp code error handling
* removed console.log
* fixed verification code length
* fixed code length
* moved otp inside magic link sign in component
* changed version back, updated ui wording
* added old version otp email tests
* fixed tests
2024-09-24 20:02:06 +02:00
Zai Shi
8ea8ff383e
Added handling for user canceling the oauth process ( #260 )
...
* added oauth cancel handling
* added translation
* fixed tests
* fixed reviews
2024-09-20 22:45:06 +02:00
Zai Shi
8587e87778
fixed verification code, added tests ( #259 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-09-20 02:22:06 +02:00
Zai Shi
36a4edd93a
Added client side account deletion, team ids in user delete webhooks, and updated account setting UI design ( #257 )
...
* added user delete team relation webhook
* added delete account setting
* added translations
* updated translation
* added account delete button and functions
* added center to sidebar layout
* added new section layout
* updated sections
* updated styles
* updated setting styles
* improved account settings
* fixed account delete
* added tests
* fixed tests
2024-09-18 06:27:36 +02:00
Zai Shi
84e30eead0
Remove shared Facebook ( #238 )
...
* removed facebook shared
* updated test
* added migration file
* facebook enabled var
* fixed migration file
* fixed connected account migration file
2024-09-11 02:25:18 +02:00
Zai Shi
5bd08de6ed
fixed project deletion ( #236 )
2024-09-09 22:36:55 +02:00
Zai Shi
bb7074a29e
Team membership webhook ( #234 )
...
* fixed webhook docs type
* fixed docs
* added team memberships webhook
* changed docs sidebar width
* updated tests
2024-09-08 23:52:10 +02:00
Zai Shi
57a33b2dd6
Query optimization ( #230 )
...
* removed v1 api
* added new database schema
* fixed small problems
* fixed import errors
* fixed small problems in schema
* fixed missing metadata
* fixed totp db
* updated user
* added check auth data, updated cc primary
* added user update
* added comments
* updated project create
* fixed bugs
* updated seed script
* updated verification code handler
* updated sign in
* updated imports
* updated projects
* updated sign in route
* remove credential and magic link fields from ProjectConfig model
* fixed type bugs
* updated otp sign-in
* fixed seed script
* fixed password update
* updated credential and magic link enable
* fixed projects credential and magic link
* fixed oauth provider update
* added otp and password config update
* fixed db fkey
* fixed circular dependency
* fixed seeding
* fixed auth method fkey constraint
* password type => identifierType
* fixed seed
* fixed bugs
* fixed circular import
* deterministic auth methods order
* fixed bug
* fixed credential enabled default
* fixed bugs
* fixed credential enabled update bug
* updated tests
* fixed small bugs
* fixed connected account bugs
* updated test
* fixed password update bug
* fixed bug
* fixed tests
* fixed redirect bugs
* added migration file
* Update migration SQL
* Fix stuff
* improved get user speed
* fixed crud, improved smart-request
* improved smart request further
* improved smart request
* added prisma preview features
* fixed smart request
* fixed prisma
* added otel
* fixed bugs
* fixed small problem
* added jaeger and delay
* fixed small things
* updated parse auth structure
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-09-08 01:28:20 +02:00
Zai Shi
fe1fdc4c11
Connected account & auth methods DB migration ( #204 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-09-07 13:03:31 -07:00
Konstantin Wohlwend
ee68c03d93
Fix linter
2024-09-06 21:36:12 -07:00
Konstantin Wohlwend
128cfc9cc1
JWKS file
2024-09-06 16:25:26 -07:00
Zai Shi
b1a59de1ea
Last active ( #215 )
...
* added last active at
* fixed team member users
* updated tests
2024-09-01 02:28:43 +02:00
Zai Shi
c26c40b793
Removed dashboard apis ( #211 )
...
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.6) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.6) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
* removed dashboard apis
* redirect route -> page
2024-08-29 19:32:14 +02:00
Varun Guleria
18e5a8fe3b
Profile Image Avatar Editor ( #100 )
...
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.6) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.6) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
* profile_image_uploader
* feat: upload_link_value_change_and_refresh
* Migrate to v2
* avatar editor v2
* added back missing pieces
* fixed dependencies
* fixed tests
* fixed component structure
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-27 02:13:37 +02:00
Konstantin Wohlwend
b119b7a640
Stricter expectToBeSignedIn
2024-08-22 20:27:52 -07:00
Konstantin Wohlwend
2c55d689a9
Refresh token revocation tests
2024-08-22 20:25:00 -07:00
Konstantin Wohlwend
c0ddab5e73
Revoke refresh tokens
2024-08-22 19:28:53 -07:00
Zai Shi
7b5d0ed793
Team metadata & client read only metadata ( #196 )
...
* added team metadata
* added client readonly metadata
* updated tests
* added team client meta data tests
* added user metadata tests
* added client read only metadata to stack-app
* added client read only metadata
2024-08-20 20:39:13 +02:00
Konstantin Wohlwend
aec2024fbe
Artificial backend delay during dev mode
2024-08-17 14:27:33 -07:00
Zai Shi
64c9a1cef1
Fix domain duplication error message ( #194 )
...
* check if domain already exists
* added duplicated domain error
2024-08-17 23:16:37 +02:00
Zai Shi
fa8463db15
fixed create team on sign up ( #188 )
2024-08-15 20:59:13 +02:00
Zai Shi
203778f5a3
added managedProjectIds delete and tests ( #182 )
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-13 07:28:09 +02:00
Konstantin Wohlwend
700034ca01
Fix project deletion ISE
2024-08-12 16:56:16 -07:00
Zai Shi
f7740b2a7f
added more tests for team permissions ( #181 )
2024-08-12 23:46:09 +02:00
Zai Shi
8cff34edcd
added project deletion tests
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-11 20:57:56 -07:00