Commit Graph

2960 Commits

Author SHA1 Message Date
Zai Shi
ce1a931710
Fixed yup union error message (#278) 2024-09-26 03:07:30 +02:00
Manoj Kumar
d14804d0b4
Made password repeat on sign up configurable (#273)
* add noPasswordRepeat props

* fix sign up schema

* fixed small problems

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-25 19:44:00 +02:00
Zai Shi
24a9f0b86c fixed visual bugs 2024-09-24 20:24:30 -07: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
Manoj Kumar
6273a45352
fix team name overflow (#262) 2024-09-24 19:35:37 +02:00
Zai Shi
e1a0ee2ea0 fixed self-host docs 2024-09-23 12:58:52 -07:00
Zai Shi
eae26dfa91 fixed sidebar layout style 2024-09-22 18:05:29 -07: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
8663670c21 added team metadata to the client library 2024-09-20 17:12:38 -07:00
Zai Shi
c473742526 fixed docs tag 2024-09-20 16:33:32 -07:00
Zai Shi
7712473201 fixed sign in with XYZ button translation 2024-09-20 16:17:33 -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
e3a8b43fd5 fixed account-setting styling issues 2024-09-20 13:28:20 -07:00
Zai Shi
e71b7c2974 fixed <p> in <p> problem in extra info
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-19 19:07:56 -07:00
Zai Shi
82647e0321 added password update 2024-09-19 17:39:52 -07: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
f5c549a520 redirect to team page after team creation 2024-09-19 14:01:38 -07:00
Zai Shi
2d4eab798a fixed account-setting mobile style 2024-09-19 13:57:44 -07: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
e72de791fa fixed delete client error 2024-09-19 13:29:36 -07:00
DJKnaeckebrot
50d0046d5b
fix(typo): Remove the t('') wrapping the "Click here" (#256)
* fix: remove t'(

Removed t'( as it has been renderes as text on the redirect page leading to this text being shown:

If you are not redirected automatically, t('click here')

New format:

If you are not redirected automatically, click here

* fix(typo): remove t'() around the click here

* fix(format): make format same as remote

* added translation

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-19 21:58:27 +02: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
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
7d84ad1225 chore: update package versions 2024-09-16 13:54:07 -07:00
Zai Shi
da0112ca5a fixed google oauth 2024-09-16 13:48:29 -07:00
Zai Shi
0ef5bcaa12
Update typo in docs 2024-09-16 00:44:03 +02:00
Zai Shi
1af805e5d4 fixed browser script color scheme 2024-09-15 15:40:23 -07:00
Zai Shi
f61d23ce7e added facebook profile image url 2024-09-15 15:04:28 -07:00
Luke
c20bba6060
Update user-onboarding.mdx (#251) 2024-09-15 23:08:44 +02: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
f18ce6fb44 Improved development locale error 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
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-14 17:09:39 -07:00
Konstantin Wohlwend
440e2b2671 proxied-server-example package should be private 2024-09-14 17:04:41 -07: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
Zai Shi
ae411b70e9
Onboarding docs (#246)
* added user onboarding docs

* added custom user data page

* updated user onboarding docs

* updated user onboarding docs

* added user metadata page

* fixed typos
2024-09-14 02:41:44 +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
c12624465c chore: update package versions 2024-09-13 10:27:56 -07:00
Zai Shi
ac36a698f4 removed quetzal api key from tests 2024-09-13 10:02:15 -07:00
Zai Shi
c8c6a3f460 added password auth unique key migration 2024-09-12 11:55:28 -07:00
Konsti Wohlwend
197c1be2b7
i18n with Quetzal (#228)
* Quetzal setup stuff

* Custom translation function

* CI

* Update stuff

* Revert components

* Various fixes

* Hook

* New IDs

* Add auto-gen info header

* Fix CI

* Fix CI

* Update translations

* Update script

* More fixes

* Overrides

* fixed quetzal

* added more translations

* added more translation

* updated translation

* added i18n docs

* updated pnpm lock

* fixed build

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-12 20:21:45 +02:00
Zai Shi
89696a40ef
Stack Auth Proxy (#237)
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 proxy

* updated pnpm lock

* removed package lock

* added readme

* updated readme

* updated readme

* fixed bugs

* added development env

* added template engine

* updated dependencies

* fixed github action
2024-09-12 00:31:39 +02:00
Zai Shi
ba69acd374
added button to remove totp from the dashboard (#243) 2024-09-11 22:46:16 +02:00