Commit Graph

153 Commits

Author SHA1 Message Date
Konstantin Wohlwend
ffc7845efc Vercel OpenTelemetry 2024-09-07 18:39:49 -07:00
Konstantin Wohlwend
eb51c4d63c pnpm run restart-deps 2024-09-07 18:21:11 -07: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
Konstantin Wohlwend
b565e0b173 chore: update package versions 2024-09-07 14:07:49 -07:00
Zai Shi
e324ed4ecb fixed small problem 2024-09-07 13:56:37 -07: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
d15b2f018e chore: update package versions 2024-09-06 23:00:49 -07:00
Konstantin Wohlwend
128cfc9cc1 JWKS file 2024-09-06 16:25:26 -07:00
Konstantin Wohlwend
aada9d0797 chore: update package versions
Some checks failed
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
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-09-05 18:31:33 -07:00
Manoj Kumar
bba2b1884d
add bitbucket oauth (#223)
* add bitbucket oauth

* updated button style

* fixed docs

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-06 00:20:38 +02:00
Zai Shi
f60508031e
Added Microsoft Tenant ID in OAuth option (#224)
* added ms tenant id

* fixed types
2024-09-05 23:10:31 +02:00
Konstantin Wohlwend
58c146cdf2 chore: update package versions
Some checks failed
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
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-09-02 22:23:41 -07:00
Zai Shi
33f0b47e94 fixed email template 2024-09-02 13:50:24 -07:00
Zai Shi
25d58f09ae fixed discord avatar 2024-09-02 13:38:34 -07:00
Konstantin Wohlwend
703e6ea01d Fix empty projects
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-09-01 14:46:07 -07:00
Konstantin Wohlwend
8e03e5039e chore: update package versions 2024-09-01 13:39:33 -07:00
Konstantin Wohlwend
9d0cb86677 Improve error messages 2024-08-31 17:48:28 -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
Konstantin Wohlwend
ad8d918014 chore: update package versions
Some checks are pending
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
2024-08-29 22:12:57 -07:00
Konstantin Wohlwend
5b8f5be950 chore: update package versions
Some checks are pending
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
2024-08-29 18:53:09 -07:00
Zai Shi
6591dbcd89 capture more info for email sending error 2024-08-28 13:07:18 -07:00
Fahad Khan
57bc32d063
Fix/179 pass allowed errors to nested crud handlers (#208)
* Team invitation (#171)

* team invitation wip

* implemented handler

* team invitation callback wip

* added team invitation frontend

* fixed listCurrentUserTeamPermissions

* added team invitation email template

* fixed bugs

* fixed verification code handler

* added more checks to team invitation verification

* fixed team invitation page

* restructured verification code handler

* fixed frontend

* fixed team invitation tests

* added more team invitation test

* fixed bug

* added migration file

* removed unused code

* Allow Next.js version `latest` in package.json

* Fix typo

* Update error message

* Remove unnecessary console.warn

* Updated "edit this page" button

* Hide unsupported properties from docs

* OAuth token tests

* Fix typo

* added create user button (#173)

* Create SECURITY.md

* Export button in tables

* Export all pages of tables

* Update security policy

* Fix docs typo

* More docs typos

* Improved user creation handlers

* Fix: Improve error handling for Server API (#170)

* Added entity checks to provide better errors in API for 'server' access type

* Removed 'ensureUserTeamPermissionExist', changed permissionId type to string in 'ensureUserHasTeamPermission'

* added different error types for user team permission

---------

Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
Co-authored-by: Zai Shi <zaishi00@outlook.com>

* Sign up restriction button on dashboard

Fix #66, #74

* Fix type error

* TOTP 2FA endpoints

* TOTP MFA components

* Improved description for disabling sign ups

* Added 'allowedErrorTypes' for error propagation

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
2024-08-28 20:40:46 +02:00
Zai Shi
ec5c4c8afb fixed permission edit bug 2024-08-28 11:01:46 -07:00
Zai Shi
15760e9b4e continue sign up even if verification email is not sent successfully
Some checks are pending
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
2024-08-27 20:03:26 -07:00
Zai Shi
41afba8264
Read email verification from providers, added default expiration time for access tokens (#209)
Some checks are pending
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
* added emailVerified to userInfo

* fixed expires in

* updated facebook email verified

* added gitlab email verification

* updated emailVerified for all providers

* added default access token expiration
2024-08-28 03:26:24 +02:00
Varun Guleria
18e5a8fe3b
Profile Image Avatar Editor (#100)
Some checks failed
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
71ffdc81fa chore: update package versions
Some checks failed
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
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-08-24 16:36:30 -07:00
Manoj Kumar
165fe4bbc2
Add Gitlab OAuth as standard provider (#201)
* add gitlab oauth

* updated docs format

* updated error message

* Code formatting

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-24 22:36:52 +02:00
Konstantin Wohlwend
25fc625f7d 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-08-22 20:28:07 -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
Konstantin Wohlwend
b7061e2b8b 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-08-21 13:00:21 -07:00
Konstantin Wohlwend
448c45fca4 Project owner packs 2024-08-21 12:55:26 -07:00
Zai Shi
82e0cf505a
Fix windows build (#198)
Some checks are pending
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
* added absolute path to doc gen

* check platform
2024-08-21 07:02:11 +02:00
Konstantin Wohlwend
610c1cf410 More PostHog groups 2024-08-20 19:15:50 -07:00
Konstantin Wohlwend
afdaf0824e chore: update package versions
Some checks are pending
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Waiting to run
Publish Docs / run (push) Waiting to run
2024-08-20 13:04:32 -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
Zai Shi
b2f92625da
updated health check db (#195)
Some checks are pending
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
* updated health check db

* improved code style
2024-08-18 01:43:57 +02:00
Konstantin Wohlwend
32d352b32b 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-08-17 15:13:24 -07:00
Konstantin Wohlwend
716e0ad1ae Fix build 2024-08-17 14:51:52 -07: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
Nuno Morais
d6756f6fa2
Implement Discord oauth provider (#187)
* Implement Discord oauth provider

* Add Discord OAuth setup guide and callback URL to the docs

* removed changes in dashboard, only add discord as standard provider

* fixed small problems

* fixed types

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-17 20:54:42 +02:00
Konstantin Wohlwend
5b6116e57e 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-08-15 16:02:46 -07:00
Zai Shi
fa8463db15
fixed create team on sign up (#188) 2024-08-15 20:59:13 +02:00
Konstantin Wohlwend
a7c2f2b3a0 Group events by project ID 2024-08-15 11:50:48 -07:00
Konstantin Wohlwend
b99efd675b Fix event capture
Some checks are pending
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-14 12:49:35 -07:00
Zai Shi
203778f5a3
added managedProjectIds delete and tests (#182)
Some checks are pending
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
5011b499ee 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-08-12 21:55:17 -07:00
Konstantin Wohlwend
64ac7091a3 Add invalid project ID to seed script
Some checks are pending
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-12 17:09:13 -07:00