Commit Graph

359 Commits

Author SHA1 Message Date
Konstantin Wohlwend
a0917f5e0a 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-10-23 08:35:55 -07:00
Zai Shi
7ce2e8ac19
Fixed some hidden fields in docs (#318) 2024-10-23 02:32:29 +02:00
Zai Shi
1bcdcaee59
Added Team SDK docs (#316)
Added SDK docs for
- Team
- TeamProfile
- TeamUser
- TeamPermission
2024-10-23 01:05:51 +02:00
Konstantin Wohlwend
935e4eb065 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-10-22 10:46:15 -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
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
a26619cf70 chore: update package versions 2024-10-19 11:04:47 -07:00
Konstantin Wohlwend
8643f04486 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-10-18 16:35:48 -07:00
Konstantin Wohlwend
48a5b07a31 Improve wait(...) input validation error message 2024-10-18 11:57:33 -07:00
Konstantin Wohlwend
787d6ecce4 wait(...) no longer requires integers 2024-10-18 11:44:18 -07:00
Zai Shi
ad5efd947a
Fixed custom account setting page routing problems (#305)
Use hash routing for account setting page
2024-10-18 20:28:29 +02:00
Konstantin Wohlwend
9ec4433cf5 Input validation on wait(...) function
setTimeout picks 0 whenever the input doesn't fit in a 32-bit integer, so we reject such values

(see: https://news.ycombinator.com/item?id=41872010 )
2024-10-18 11:21:35 -07:00
Zai Shi
f62754003c chore: update package versions 2024-10-17 17:25:09 -07: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
18432c56c1 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-10-11 17:54:39 -07:00
Konstantin Wohlwend
cd4c259f0f JWKS endpoint now uses base64url 2024-10-11 17:09:24 -07:00
Konstantin Wohlwend
37de59a615 chore: update package versions 2024-10-09 22:16:54 -07:00
Konstantin Wohlwend
59f111db95 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-10-09 16:18:28 -07:00
Konstantin Wohlwend
9d7c8ce405 chore: update package versions 2024-10-09 13:42:32 -07:00
Zai Shi
7818293274 chore: update package versions 2024-10-08 17:23:38 -07:00
Konstantin Wohlwend
aa32113cdb 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-10-07 14:28:22 -07: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
Konstantin Wohlwend
a9722eec23 chore: update package versions 2024-10-06 15:18:33 -07: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
Konstantin Wohlwend
ce46c16e6d chore: update package versions 2024-09-30 20:05:45 -07:00
Konstantin Wohlwend
e446c31d50 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-09-26 10:01:42 -07:00
Zai Shi
ce1a931710
Fixed yup union error message (#278) 2024-09-26 03:07:30 +02:00
Konstantin Wohlwend
f1bffee8b9 userIdOrMe support on all yup validations 2024-09-24 19:42:10 -07:00
Zai Shi
70a1e65723 fixed env vars
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-24 16:05:46 -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
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
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
9168c3162f 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-09-19 13:46:20 -07:00
Zai Shi
0f9a560bdd removed deprecated code 2024-09-18 12:32:55 -07: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
7d84ad1225 chore: update package versions 2024-09-16 13:54:07 -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
Konstantin Wohlwend
6e535453bd chore: update package versions 2024-09-14 17:03:01 -07:00
Zai Shi
5977262329
Added Linkedin OAuth (#249)
Co-authored-by: Manoj Kumar <ms8460149@gmail.com>
2024-09-14 22:49:26 +02:00
Fahad Khan
0c3a3b8bae
Fix/172 by removing selected_team_id from create user CRUD schema. (#248)
* 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

* Removed 'selected_team_id' from create user schema

---------

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-09-14 21:43:05 +02:00
Konstantin Wohlwend
c12624465c chore: update package versions 2024-09-13 10:27:56 -07: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
Konstantin Wohlwend
a9ebbccecd Ignore unhandled Promise rejections 2024-09-10 11:59:48 -07:00
Konstantin Wohlwend
783db05946 chore: update package versions 2024-09-09 20:10:58 -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
Konstantin Wohlwend
b565e0b173 chore: update package versions 2024-09-07 14:07:49 -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
Konstantin Wohlwend
8e03e5039e chore: update package versions 2024-09-01 13:39:33 -07:00
Konstantin Wohlwend
7a75b3fb9a Better error logging for unexpected HTTP status codes 2024-08-31 17:42:40 -07:00
Zai Shi
3d2be1f84c
Supabase docs & examples (#219)
* added supabase example

* removed unused files

* added jwt endpoint

* supabase server action

* removed unused

* updated dependencies

* reverted package changes

* fixed bugs

* added supabase docs

* updated docs

* updated pnpm lock
2024-09-01 02:32:07 +02: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
1ac8b3013a Fix network diagnostics in non-browser environments 2024-08-31 16:51:01 -07: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
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
e2a754b3b7 Improve docs 2024-08-22 19:33:48 -07:00
Konstantin Wohlwend
9d1a57134d Individual users 2024-08-22 18:07:18 -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
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
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
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
757dea48c0
Team account settings (#186)
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 team setting to account setting

* updated account setting

* updating style

* improved update password

* updated style

* added path navigation

* added route to selected team switcher

* removed unused

* added user invitation form

* added team name update
2024-08-14 22:24:20 +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
700034ca01 Fix project deletion ISE 2024-08-12 16:56:16 -07:00
Jasveer Singh
ed44d7588b
feat:Add delete project functionality in Project,Project-settings Issue Is:-No option to delete a project #111 (#127)
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
* Add delete project functionality in Project,Project-settings

* removed changes to the old dashboard

* added onDelete and backend endpoints

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-12 03:46:25 +02:00
Zai Shi
e5965cf977
Team frontend components (#178)
* 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

* added create user button (#173)

* added basic team settings

* Create SECURITY.md

* added editable text

* added more team settings

* Export button in tables

* Export all pages of tables

* Update security policy

* Fix docs typo

* More docs typos

* Improved user creation handlers

* added list users on client

* updated team-settings

* hide team setting component for now

* 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>

* added ensureClientUserAuthenticated

* improved error handling

* removed unused imports

* fixed bug

* added member list

* Sign up restriction button on dashboard

Fix #66, #74

* moved data table to stack-ui

* added remove user modal

* fixed chokidar

* updated ui

* fixed merge

* fixed merge

* fixed merge

* updated settings component

* improved mobile styles

* added user invitation ui

* added team creation page

* added team creation to team component

* added setting icon to team switcher

* added settings sections

* added client_team_creation_enabled

* added frontend team creation enabled checks

* updated demo page

* added member profile update

* fixed profile editing

* added leave team button

* added create/delete team redirect

* fixed column header, updated team setting

* fixed account setting padding

* updated tests

---------

Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Fahad Khan <62707456+kfahad5607@users.noreply.github.com>
Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
2024-08-12 02:11:42 +02:00
Konstantin Wohlwend
c182cebec6 MFA for non-password apps 2024-08-11 13:30:05 -07:00
Konstantin Wohlwend
e6e120db4c 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
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-08-10 09:45:49 -07:00
Konstantin Wohlwend
d01471acfc TOTP MFA components 2024-08-10 09:45:49 -07:00
Konstantin Wohlwend
1b550e7e48 TOTP 2FA endpoints 2024-08-10 09:45:48 -07:00
Konstantin Wohlwend
c64fbf4fcd Sign up restriction button on dashboard
Fix #66, #74
2024-08-10 09:45:48 -07:00
Fahad Khan
4792aa53f8 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>
2024-08-10 09:45:48 -07:00
Zai Shi
fc9826aaa2 added create user button (#173) 2024-08-10 09:45:48 -07:00
Stan Wohlwend
5072f14891 OAuth token tests 2024-08-10 09:45:47 -07:00
Stan Wohlwend
29c488863f Hide unsupported properties from docs 2024-08-10 09:45:47 -07:00
Stan Wohlwend
df7073c199 Remove unnecessary console.warn 2024-08-10 09:45:47 -07:00
Zai Shi
4bbead0ef9 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
2024-08-10 09:45:47 -07:00
Stan Wohlwend
902973766c 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-04 13:01:11 -07:00
Konsti Wohlwend
dfb51b8346
Auth methods and connected accounts (#164) 2024-08-04 11:39:26 -07:00
Konsti Wohlwend
94a3edd77d
Svix concurrency workaround (#167)
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-03 21:05:24 -07:00
Stan Wohlwend
a86788d924 OAuth callback tests 2024-08-03 18:28:32 -07:00
Zai Shi
0c31d6a9ff fixed list current user team permission bug and permission editing bug
Some checks are pending
Runs E2E API Tests / build (20.x) (push) Waiting to run
Lint & build / lint_and_build (18.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-03 15:46:37 -07:00
Stan Wohlwend
e51d839a42 Retry OAuth endpoints 2024-08-03 13:13:23 -07:00
Stan Wohlwend
f549b95390 chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (18.x) (push) Has been cancelled
Lint & build / lint_and_build (20.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-03 11:46:03 -07:00
Stan Wohlwend
4e267784f7 chore: update package versions
Some checks are pending
Runs E2E API Tests / build (20.x) (push) Waiting to run
Lint & build / lint_and_build (18.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (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-02 15:49:42 -07:00