Commit Graph

144 Commits

Author SHA1 Message Date
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
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
f10f03c3b3 Add otel spans for sent emails 2024-10-11 17:52:47 -07:00
Konstantin Wohlwend
36f627d411 Alerts when running outdated versions 2024-10-09 21:59:37 -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
430b27d06f
fixed email update (#284) 2024-09-29 00:30:00 +02:00
Konstantin Wohlwend
f1bffee8b9 userIdOrMe support on all yup validations 2024-09-24 19:42:10 -07: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
eb27604f16 fixed team invitation detail docs
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-09-20 17:41:43 -07:00
Zai Shi
c473742526 fixed docs tag 2024-09-20 16:33:32 -07: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
Konstantin Wohlwend
d8568069bd Fix team invitation docs 2024-09-19 17:12:22 -07:00
Zai Shi
3c20bf609f remove slack oauth, allow no email in oauth 2024-09-19 16:35:17 -07:00
Manoj Kumar
c4ae4fc4ed
feat: Add twitter oauth provider (#206)
* add twitter oauth

* add slack oauth

* add emailVerified field

* twitter -> x

* fixed x user info

* add slack authed user type & fix token set

* fix endpoint

* fix slack button

* fix slack oauth

* Fix merge conflicts

* merge dev

* fix merge conflicts

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-20 01:28:58 +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
a7584f05ad fixed linkedin oauth
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-09-16 14:54:34 -07:00
Zai Shi
747e0ebbbe added openid to facebook 2024-09-16 14:26:29 -07:00
Zai Shi
da0112ca5a fixed google oauth 2024-09-16 13:48:29 -07:00
Zai Shi
f61d23ce7e added facebook profile image url 2024-09-15 15:04:28 -07:00
Zai Shi
f8258af7aa
Apple OAuth (#250)
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
* added apple oauth

* fixed oauth callback

* removed unused

* added apple icon

* fixed bugs

* fixed apple oauth

* added id token, apple login works

* fixed facebook

* removed no pkce for apple

* fixed mock oauth
2024-09-15 02:50:06 +02:00
Zai Shi
5977262329
Added Linkedin OAuth (#249)
Co-authored-by: Manoj Kumar <ms8460149@gmail.com>
2024-09-14 22:49:26 +02:00
Zai Shi
b9e2486f52
Improved "sign up enabled" UX (#245)
* added signUpEnabled confirmation

* added disableSignUpByDefault

* fixed typo

* don't show sign up in user button if disabled

* removed use project in user-button
2024-09-14 00:06:45 +02:00
Konstantin Wohlwend
a9ebbccecd Ignore unhandled Promise rejections 2024-09-10 11:59:48 -07:00
Konstantin Wohlwend
9a3fb13b38 Fix typo
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-09-10 09:13:19 -07:00
Zai Shi
8ba72fb32a patch vercel unhandled promise error 2024-09-10 09:12:40 -07:00
Zai Shi
29ae8a7e3e fixed otp/password config update logic
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-09-09 19:11:06 -07:00
Zai Shi
eccebc2850 update auth method config with enabled 2024-09-09 18:51:38 -07:00
Zai Shi
c57d139c0c added github error logging 2024-09-09 17:38:13 -07:00
Zai Shi
fb3250d646 fixed permission listing 2024-09-09 17:27:46 -07:00
Zai Shi
271a85b258
fixed otp check (#235)
* fixed otp config bug

* check passwordAuth duplication
2024-09-09 21:33:10 +02:00
Zai Shi
dadc86d879 fixed primaryEmailAuthEnabled update 2024-09-08 15:39:50 -07: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
af53d0ca98
fixed otp config bug (#233) 2024-09-08 20:35:15 +02:00
Konstantin Wohlwend
fed0d8c3ba Remove contributors route 2024-09-07 19:21:09 -07:00
Konstantin Wohlwend
ffc7845efc Vercel OpenTelemetry 2024-09-07 18:39:49 -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
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
128cfc9cc1 JWKS file 2024-09-06 16:25:26 -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
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